wmp: Add seeking and duration.
[wine.git] / configure
blobe3676438ff513ac081813bd08412474f622af64e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.6.
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.6'
584 PACKAGE_STRING='Wine 3.6'
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_authz
1111 enable_avicap32
1112 enable_avifil32
1113 enable_avrt
1114 enable_bcrypt
1115 enable_bluetoothapis
1116 enable_browseui
1117 enable_bthprops_cpl
1118 enable_cabinet
1119 enable_capi2032
1120 enable_cards
1121 enable_cdosys
1122 enable_cfgmgr32
1123 enable_clusapi
1124 enable_combase
1125 enable_comcat
1126 enable_comctl32
1127 enable_comdlg32
1128 enable_compstui
1129 enable_comsvcs
1130 enable_concrt140
1131 enable_connect
1132 enable_credui
1133 enable_crtdll
1134 enable_crypt32
1135 enable_cryptdlg
1136 enable_cryptdll
1137 enable_cryptext
1138 enable_cryptnet
1139 enable_cryptui
1140 enable_ctapi32
1141 enable_ctl3d32
1142 enable_d2d1
1143 enable_d3d10
1144 enable_d3d10_1
1145 enable_d3d10core
1146 enable_d3d11
1147 enable_d3d12
1148 enable_d3d8
1149 enable_d3d9
1150 enable_d3dcompiler_33
1151 enable_d3dcompiler_34
1152 enable_d3dcompiler_35
1153 enable_d3dcompiler_36
1154 enable_d3dcompiler_37
1155 enable_d3dcompiler_38
1156 enable_d3dcompiler_39
1157 enable_d3dcompiler_40
1158 enable_d3dcompiler_41
1159 enable_d3dcompiler_42
1160 enable_d3dcompiler_43
1161 enable_d3dcompiler_46
1162 enable_d3dcompiler_47
1163 enable_d3dim
1164 enable_d3drm
1165 enable_d3dx10_33
1166 enable_d3dx10_34
1167 enable_d3dx10_35
1168 enable_d3dx10_36
1169 enable_d3dx10_37
1170 enable_d3dx10_38
1171 enable_d3dx10_39
1172 enable_d3dx10_40
1173 enable_d3dx10_41
1174 enable_d3dx10_42
1175 enable_d3dx10_43
1176 enable_d3dx11_42
1177 enable_d3dx11_43
1178 enable_d3dx9_24
1179 enable_d3dx9_25
1180 enable_d3dx9_26
1181 enable_d3dx9_27
1182 enable_d3dx9_28
1183 enable_d3dx9_29
1184 enable_d3dx9_30
1185 enable_d3dx9_31
1186 enable_d3dx9_32
1187 enable_d3dx9_33
1188 enable_d3dx9_34
1189 enable_d3dx9_35
1190 enable_d3dx9_36
1191 enable_d3dx9_37
1192 enable_d3dx9_38
1193 enable_d3dx9_39
1194 enable_d3dx9_40
1195 enable_d3dx9_41
1196 enable_d3dx9_42
1197 enable_d3dx9_43
1198 enable_d3dxof
1199 enable_davclnt
1200 enable_dbgeng
1201 enable_dbghelp
1202 enable_dciman32
1203 enable_ddraw
1204 enable_ddrawex
1205 enable_devenum
1206 enable_dhcpcsvc
1207 enable_dhtmled_ocx
1208 enable_difxapi
1209 enable_dinput
1210 enable_dinput8
1211 enable_dispex
1212 enable_dmband
1213 enable_dmcompos
1214 enable_dmime
1215 enable_dmloader
1216 enable_dmscript
1217 enable_dmstyle
1218 enable_dmsynth
1219 enable_dmusic
1220 enable_dmusic32
1221 enable_dnsapi
1222 enable_dplay
1223 enable_dplayx
1224 enable_dpnaddr
1225 enable_dpnet
1226 enable_dpnhpast
1227 enable_dpnlobby
1228 enable_dpvoice
1229 enable_dpwsockx
1230 enable_drmclien
1231 enable_dsound
1232 enable_dsquery
1233 enable_dssenh
1234 enable_dswave
1235 enable_dwmapi
1236 enable_dwrite
1237 enable_dx8vb
1238 enable_dxdiagn
1239 enable_dxerr8
1240 enable_dxerr9
1241 enable_dxgi
1242 enable_dxguid
1243 enable_dxva2
1244 enable_esent
1245 enable_evr
1246 enable_explorerframe
1247 enable_ext_ms_win_authz_context_l1_1_0
1248 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1249 enable_ext_ms_win_dwmapi_ext_l1_1_0
1250 enable_ext_ms_win_gdi_dc_create_l1_1_1
1251 enable_ext_ms_win_gdi_dc_l1_2_0
1252 enable_ext_ms_win_gdi_devcaps_l1_1_0
1253 enable_ext_ms_win_gdi_draw_l1_1_1
1254 enable_ext_ms_win_gdi_render_l1_1_0
1255 enable_ext_ms_win_kernel32_package_current_l1_1_0
1256 enable_ext_ms_win_kernel32_package_l1_1_1
1257 enable_ext_ms_win_ntuser_draw_l1_1_0
1258 enable_ext_ms_win_ntuser_gui_l1_3_0
1259 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1260 enable_ext_ms_win_ntuser_message_l1_1_1
1261 enable_ext_ms_win_ntuser_misc_l1_5_1
1262 enable_ext_ms_win_ntuser_mouse_l1_1_0
1263 enable_ext_ms_win_ntuser_private_l1_1_1
1264 enable_ext_ms_win_ntuser_private_l1_3_1
1265 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1266 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1267 enable_ext_ms_win_ntuser_window_l1_1_1
1268 enable_ext_ms_win_ntuser_window_l1_1_4
1269 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1270 enable_ext_ms_win_oleacc_l1_1_0
1271 enable_ext_ms_win_ras_rasapi32_l1_1_0
1272 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1273 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1274 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1275 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1276 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1277 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1278 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1279 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1280 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1281 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1282 enable_ext_ms_win_security_credui_l1_1_0
1283 enable_ext_ms_win_security_cryptui_l1_1_0
1284 enable_faultrep
1285 enable_fltlib
1286 enable_fltmgr_sys
1287 enable_fntcache
1288 enable_fontsub
1289 enable_fusion
1290 enable_fwpuclnt
1291 enable_gameux
1292 enable_gdi32
1293 enable_gdiplus
1294 enable_glu32
1295 enable_gphoto2_ds
1296 enable_gpkcsp
1297 enable_hal
1298 enable_hhctrl_ocx
1299 enable_hid
1300 enable_hidclass_sys
1301 enable_hlink
1302 enable_hnetcfg
1303 enable_httpapi
1304 enable_iccvid
1305 enable_icmp
1306 enable_ieframe
1307 enable_ieproxy
1308 enable_imaadp32_acm
1309 enable_imagehlp
1310 enable_imm32
1311 enable_inetcomm
1312 enable_inetcpl_cpl
1313 enable_inetmib1
1314 enable_infosoft
1315 enable_initpki
1316 enable_inkobj
1317 enable_inseng
1318 enable_iphlpapi
1319 enable_iprop
1320 enable_irprops_cpl
1321 enable_itircl
1322 enable_itss
1323 enable_joy_cpl
1324 enable_jscript
1325 enable_jsproxy
1326 enable_kerberos
1327 enable_kernel32
1328 enable_kernelbase
1329 enable_ksuser
1330 enable_ktmw32
1331 enable_l3codeca_acm
1332 enable_loadperf
1333 enable_localspl
1334 enable_localui
1335 enable_lz32
1336 enable_mapi32
1337 enable_mapistub
1338 enable_mciavi32
1339 enable_mcicda
1340 enable_mciqtz32
1341 enable_mciseq
1342 enable_mciwave
1343 enable_mf
1344 enable_mf3216
1345 enable_mfplat
1346 enable_mfreadwrite
1347 enable_mfuuid
1348 enable_mgmtapi
1349 enable_midimap
1350 enable_mlang
1351 enable_mmcndmgr
1352 enable_mmdevapi
1353 enable_mountmgr_sys
1354 enable_mpr
1355 enable_mprapi
1356 enable_msacm32_drv
1357 enable_msacm32
1358 enable_msadp32_acm
1359 enable_msasn1
1360 enable_mscat32
1361 enable_mscms
1362 enable_mscoree
1363 enable_msctf
1364 enable_msctfp
1365 enable_msdaps
1366 enable_msdelta
1367 enable_msdmo
1368 enable_msdrm
1369 enable_msftedit
1370 enable_msg711_acm
1371 enable_msgsm32_acm
1372 enable_mshtml_tlb
1373 enable_mshtml
1374 enable_msi
1375 enable_msident
1376 enable_msimg32
1377 enable_msimsg
1378 enable_msimtf
1379 enable_msisip
1380 enable_msisys_ocx
1381 enable_msls31
1382 enable_msnet32
1383 enable_mspatcha
1384 enable_msports
1385 enable_msrle32
1386 enable_msscript_ocx
1387 enable_mssign32
1388 enable_mssip32
1389 enable_mstask
1390 enable_msvcirt
1391 enable_msvcm80
1392 enable_msvcm90
1393 enable_msvcp100
1394 enable_msvcp110
1395 enable_msvcp120
1396 enable_msvcp120_app
1397 enable_msvcp140
1398 enable_msvcp60
1399 enable_msvcp70
1400 enable_msvcp71
1401 enable_msvcp80
1402 enable_msvcp90
1403 enable_msvcr100
1404 enable_msvcr110
1405 enable_msvcr120
1406 enable_msvcr120_app
1407 enable_msvcr70
1408 enable_msvcr71
1409 enable_msvcr80
1410 enable_msvcr90
1411 enable_msvcrt
1412 enable_msvcrt20
1413 enable_msvcrt40
1414 enable_msvcrtd
1415 enable_msvfw32
1416 enable_msvidc32
1417 enable_mswsock
1418 enable_msxml
1419 enable_msxml2
1420 enable_msxml3
1421 enable_msxml4
1422 enable_msxml6
1423 enable_mtxdm
1424 enable_ncrypt
1425 enable_nddeapi
1426 enable_ndis_sys
1427 enable_netapi32
1428 enable_netcfgx
1429 enable_netprofm
1430 enable_newdev
1431 enable_ninput
1432 enable_normaliz
1433 enable_npmshtml
1434 enable_npptools
1435 enable_ntdll
1436 enable_ntdsapi
1437 enable_ntoskrnl_exe
1438 enable_ntprint
1439 enable_objsel
1440 enable_odbc32
1441 enable_odbccp32
1442 enable_odbccu32
1443 enable_ole32
1444 enable_oleacc
1445 enable_oleaut32
1446 enable_olecli32
1447 enable_oledb32
1448 enable_oledlg
1449 enable_olepro32
1450 enable_olesvr32
1451 enable_olethk32
1452 enable_openal32
1453 enable_opencl
1454 enable_opengl32
1455 enable_packager
1456 enable_pdh
1457 enable_photometadatahandler
1458 enable_pidgen
1459 enable_powrprof
1460 enable_printui
1461 enable_prntvpt
1462 enable_propsys
1463 enable_psapi
1464 enable_pstorec
1465 enable_qcap
1466 enable_qedit
1467 enable_qmgr
1468 enable_qmgrprxy
1469 enable_quartz
1470 enable_query
1471 enable_rasapi32
1472 enable_rasdlg
1473 enable_regapi
1474 enable_resutils
1475 enable_riched20
1476 enable_riched32
1477 enable_rpcrt4
1478 enable_rsabase
1479 enable_rsaenh
1480 enable_rstrtmgr
1481 enable_rtutils
1482 enable_samlib
1483 enable_sane_ds
1484 enable_sapi
1485 enable_sas
1486 enable_scarddlg
1487 enable_sccbase
1488 enable_schannel
1489 enable_schedsvc
1490 enable_scrobj
1491 enable_scrrun
1492 enable_scsiport_sys
1493 enable_secur32
1494 enable_security
1495 enable_sensapi
1496 enable_serialui
1497 enable_setupapi
1498 enable_sfc
1499 enable_sfc_os
1500 enable_shcore
1501 enable_shdoclc
1502 enable_shdocvw
1503 enable_shell32
1504 enable_shfolder
1505 enable_shlwapi
1506 enable_slbcsp
1507 enable_slc
1508 enable_snmpapi
1509 enable_softpub
1510 enable_spoolss
1511 enable_srclient
1512 enable_sspicli
1513 enable_stdole2_tlb
1514 enable_stdole32_tlb
1515 enable_sti
1516 enable_strmbase
1517 enable_strmdll
1518 enable_strmiids
1519 enable_svrapi
1520 enable_sxs
1521 enable_t2embed
1522 enable_tapi32
1523 enable_taskschd
1524 enable_tdh
1525 enable_tdi_sys
1526 enable_traffic
1527 enable_twain_32
1528 enable_ucrtbase
1529 enable_uiautomationcore
1530 enable_uiribbon
1531 enable_unicows
1532 enable_updspapi
1533 enable_url
1534 enable_urlmon
1535 enable_usbd_sys
1536 enable_user32
1537 enable_userenv
1538 enable_usp10
1539 enable_uuid
1540 enable_uxtheme
1541 enable_vbscript
1542 enable_vcomp
1543 enable_vcomp100
1544 enable_vcomp110
1545 enable_vcomp120
1546 enable_vcomp140
1547 enable_vcomp90
1548 enable_vcruntime140
1549 enable_vdmdbg
1550 enable_version
1551 enable_virtdisk
1552 enable_vssapi
1553 enable_vulkan_1
1554 enable_wbemdisp
1555 enable_wbemprox
1556 enable_wdscore
1557 enable_webservices
1558 enable_wer
1559 enable_wevtapi
1560 enable_wiaservc
1561 enable_wimgapi
1562 enable_windowscodecs
1563 enable_windowscodecsext
1564 enable_winealsa_drv
1565 enable_wineandroid_drv
1566 enable_winebus_sys
1567 enable_winecoreaudio_drv
1568 enable_winecrt0
1569 enable_wined3d
1570 enable_winegstreamer
1571 enable_winehid_sys
1572 enable_winejoystick_drv
1573 enable_winemac_drv
1574 enable_winemapi
1575 enable_wineoss_drv
1576 enable_wineps_drv
1577 enable_winepulse_drv
1578 enable_wineqtdecoder
1579 enable_winevulkan
1580 enable_winex11_drv
1581 enable_wing32
1582 enable_winhttp
1583 enable_wininet
1584 enable_winmm
1585 enable_winnls32
1586 enable_winscard
1587 enable_winspool_drv
1588 enable_winsta
1589 enable_wintab32
1590 enable_wintrust
1591 enable_winusb
1592 enable_wlanapi
1593 enable_wldap32
1594 enable_wmasf
1595 enable_wmi
1596 enable_wmiutils
1597 enable_wmp
1598 enable_wmphoto
1599 enable_wmvcore
1600 enable_wnaspi32
1601 enable_wpc
1602 enable_wpcap
1603 enable_ws2_32
1604 enable_wsdapi
1605 enable_wshom_ocx
1606 enable_wsnmp32
1607 enable_wsock32
1608 enable_wtsapi32
1609 enable_wuapi
1610 enable_wuaueng
1611 enable_x3daudio1_0
1612 enable_x3daudio1_1
1613 enable_x3daudio1_2
1614 enable_x3daudio1_3
1615 enable_x3daudio1_4
1616 enable_x3daudio1_5
1617 enable_x3daudio1_6
1618 enable_x3daudio1_7
1619 enable_xapofx1_1
1620 enable_xapofx1_2
1621 enable_xapofx1_3
1622 enable_xapofx1_4
1623 enable_xapofx1_5
1624 enable_xaudio2_0
1625 enable_xaudio2_1
1626 enable_xaudio2_2
1627 enable_xaudio2_3
1628 enable_xaudio2_4
1629 enable_xaudio2_5
1630 enable_xaudio2_6
1631 enable_xaudio2_7
1632 enable_xaudio2_8
1633 enable_xaudio2_9
1634 enable_xinput1_1
1635 enable_xinput1_2
1636 enable_xinput1_3
1637 enable_xinput1_4
1638 enable_xinput9_1_0
1639 enable_xmllite
1640 enable_xolehlp
1641 enable_xpsprint
1642 enable_xpssvcs
1643 enable_fonts
1644 enable_include
1645 enable_port
1646 enable_wine
1647 enable_wpp
1648 enable_loader
1649 enable_po
1650 enable_arp
1651 enable_aspnet_regiis
1652 enable_attrib
1653 enable_cabarc
1654 enable_cacls
1655 enable_clock
1656 enable_cmd
1657 enable_conhost
1658 enable_control
1659 enable_cscript
1660 enable_dpnsvr
1661 enable_dxdiag
1662 enable_eject
1663 enable_expand
1664 enable_explorer
1665 enable_extrac32
1666 enable_findstr
1667 enable_fsutil
1668 enable_hh
1669 enable_hostname
1670 enable_icacls
1671 enable_icinfo
1672 enable_iexplore
1673 enable_ipconfig
1674 enable_lodctr
1675 enable_mofcomp
1676 enable_mshta
1677 enable_msiexec
1678 enable_msinfo32
1679 enable_net
1680 enable_netsh
1681 enable_netstat
1682 enable_ngen
1683 enable_notepad
1684 enable_oleview
1685 enable_ping
1686 enable_plugplay
1687 enable_powershell
1688 enable_presentationfontcache
1689 enable_progman
1690 enable_reg
1691 enable_regasm
1692 enable_regedit
1693 enable_regsvcs
1694 enable_regsvr32
1695 enable_rpcss
1696 enable_rundll32
1697 enable_sc
1698 enable_schtasks
1699 enable_sdbinst
1700 enable_secedit
1701 enable_servicemodelreg
1702 enable_services
1703 enable_shutdown
1704 enable_spoolsv
1705 enable_start
1706 enable_subst
1707 enable_svchost
1708 enable_systeminfo
1709 enable_taskkill
1710 enable_tasklist
1711 enable_taskmgr
1712 enable_termsv
1713 enable_uninstaller
1714 enable_unlodctr
1715 enable_view
1716 enable_wevtutil
1717 enable_wineboot
1718 enable_winebrowser
1719 enable_winecfg
1720 enable_wineconsole
1721 enable_winedbg
1722 enable_winedevice
1723 enable_winefile
1724 enable_winemenubuilder
1725 enable_winemine
1726 enable_winemsibuilder
1727 enable_winepath
1728 enable_winetest
1729 enable_winhlp32
1730 enable_winver
1731 enable_wmic
1732 enable_wmplayer
1733 enable_wordpad
1734 enable_write
1735 enable_wscript
1736 enable_wusa
1737 enable_xcopy
1738 enable_server
1739 enable_tools
1740 enable_sfnt2fon
1741 enable_widl
1742 enable_winebuild
1743 enable_winedump
1744 enable_winegcc
1745 enable_winemaker
1746 enable_wmc
1747 enable_wrc
1749 ac_precious_vars='build_alias
1750 host_alias
1751 target_alias
1753 CFLAGS
1754 LDFLAGS
1755 LIBS
1756 CPPFLAGS
1758 CXXFLAGS
1761 XMKMF
1762 XML2_CFLAGS
1763 XML2_LIBS
1764 XSLT_CFLAGS
1765 XSLT_LIBS
1766 DBUS_CFLAGS
1767 DBUS_LIBS
1768 HAL_CFLAGS
1769 HAL_LIBS
1770 GNUTLS_CFLAGS
1771 GNUTLS_LIBS
1772 SANE_CFLAGS
1773 SANE_LIBS
1774 GPHOTO2_CFLAGS
1775 GPHOTO2_LIBS
1776 GPHOTO2_PORT_CFLAGS
1777 GPHOTO2_PORT_LIBS
1778 LCMS2_CFLAGS
1779 LCMS2_LIBS
1780 FREETYPE_CFLAGS
1781 FREETYPE_LIBS
1782 PULSE_CFLAGS
1783 PULSE_LIBS
1784 GSTREAMER_CFLAGS
1785 GSTREAMER_LIBS
1786 UDEV_CFLAGS
1787 UDEV_LIBS
1788 SDL2_CFLAGS
1789 SDL2_LIBS
1790 CAPI20_CFLAGS
1791 CAPI20_LIBS
1792 CUPS_CFLAGS
1793 CUPS_LIBS
1794 FONTCONFIG_CFLAGS
1795 FONTCONFIG_LIBS
1796 KRB5_CFLAGS
1797 KRB5_LIBS
1798 GSSAPI_CFLAGS
1799 GSSAPI_LIBS
1800 JPEG_CFLAGS
1801 JPEG_LIBS
1802 PNG_CFLAGS
1803 PNG_LIBS
1804 TIFF_CFLAGS
1805 TIFF_LIBS
1806 MPG123_CFLAGS
1807 MPG123_LIBS
1808 NETAPI_CFLAGS
1809 NETAPI_LIBS
1810 LDAP_CFLAGS
1811 LDAP_LIBS'
1814 # Initialize some variables set by options.
1815 ac_init_help=
1816 ac_init_version=false
1817 ac_unrecognized_opts=
1818 ac_unrecognized_sep=
1819 # The variables have the same names as the options, with
1820 # dashes changed to underlines.
1821 cache_file=/dev/null
1822 exec_prefix=NONE
1823 no_create=
1824 no_recursion=
1825 prefix=NONE
1826 program_prefix=NONE
1827 program_suffix=NONE
1828 program_transform_name=s,x,x,
1829 silent=
1830 site=
1831 srcdir=
1832 verbose=
1833 x_includes=NONE
1834 x_libraries=NONE
1836 # Installation directory options.
1837 # These are left unexpanded so users can "make install exec_prefix=/foo"
1838 # and all the variables that are supposed to be based on exec_prefix
1839 # by default will actually change.
1840 # Use braces instead of parens because sh, perl, etc. also accept them.
1841 # (The list follows the same order as the GNU Coding Standards.)
1842 bindir='${exec_prefix}/bin'
1843 sbindir='${exec_prefix}/sbin'
1844 libexecdir='${exec_prefix}/libexec'
1845 datarootdir='${prefix}/share'
1846 datadir='${datarootdir}'
1847 sysconfdir='${prefix}/etc'
1848 sharedstatedir='${prefix}/com'
1849 localstatedir='${prefix}/var'
1850 runstatedir='${localstatedir}/run'
1851 includedir='${prefix}/include'
1852 oldincludedir='/usr/include'
1853 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1854 infodir='${datarootdir}/info'
1855 htmldir='${docdir}'
1856 dvidir='${docdir}'
1857 pdfdir='${docdir}'
1858 psdir='${docdir}'
1859 libdir='${exec_prefix}/lib'
1860 localedir='${datarootdir}/locale'
1861 mandir='${datarootdir}/man'
1863 ac_prev=
1864 ac_dashdash=
1865 for ac_option
1867 # If the previous option needs an argument, assign it.
1868 if test -n "$ac_prev"; then
1869 eval $ac_prev=\$ac_option
1870 ac_prev=
1871 continue
1874 case $ac_option in
1875 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1876 *=) ac_optarg= ;;
1877 *) ac_optarg=yes ;;
1878 esac
1880 # Accept the important Cygnus configure options, so we can diagnose typos.
1882 case $ac_dashdash$ac_option in
1884 ac_dashdash=yes ;;
1886 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1887 ac_prev=bindir ;;
1888 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1889 bindir=$ac_optarg ;;
1891 -build | --build | --buil | --bui | --bu)
1892 ac_prev=build_alias ;;
1893 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1894 build_alias=$ac_optarg ;;
1896 -cache-file | --cache-file | --cache-fil | --cache-fi \
1897 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1898 ac_prev=cache_file ;;
1899 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1900 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1901 cache_file=$ac_optarg ;;
1903 --config-cache | -C)
1904 cache_file=config.cache ;;
1906 -datadir | --datadir | --datadi | --datad)
1907 ac_prev=datadir ;;
1908 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1909 datadir=$ac_optarg ;;
1911 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1912 | --dataroo | --dataro | --datar)
1913 ac_prev=datarootdir ;;
1914 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1915 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1916 datarootdir=$ac_optarg ;;
1918 -disable-* | --disable-*)
1919 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1920 # Reject names that are not valid shell variable names.
1921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1922 as_fn_error $? "invalid feature name: $ac_useropt"
1923 ac_useropt_orig=$ac_useropt
1924 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1925 case $ac_user_opts in
1927 "enable_$ac_useropt"
1928 "*) ;;
1929 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1930 ac_unrecognized_sep=', ';;
1931 esac
1932 eval enable_$ac_useropt=no ;;
1934 -docdir | --docdir | --docdi | --doc | --do)
1935 ac_prev=docdir ;;
1936 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1937 docdir=$ac_optarg ;;
1939 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1940 ac_prev=dvidir ;;
1941 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1942 dvidir=$ac_optarg ;;
1944 -enable-* | --enable-*)
1945 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1946 # Reject names that are not valid shell variable names.
1947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1948 as_fn_error $? "invalid feature name: $ac_useropt"
1949 ac_useropt_orig=$ac_useropt
1950 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1951 case $ac_user_opts in
1953 "enable_$ac_useropt"
1954 "*) ;;
1955 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1956 ac_unrecognized_sep=', ';;
1957 esac
1958 eval enable_$ac_useropt=\$ac_optarg ;;
1960 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1961 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1962 | --exec | --exe | --ex)
1963 ac_prev=exec_prefix ;;
1964 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1965 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1966 | --exec=* | --exe=* | --ex=*)
1967 exec_prefix=$ac_optarg ;;
1969 -gas | --gas | --ga | --g)
1970 # Obsolete; use --with-gas.
1971 with_gas=yes ;;
1973 -help | --help | --hel | --he | -h)
1974 ac_init_help=long ;;
1975 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1976 ac_init_help=recursive ;;
1977 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1978 ac_init_help=short ;;
1980 -host | --host | --hos | --ho)
1981 ac_prev=host_alias ;;
1982 -host=* | --host=* | --hos=* | --ho=*)
1983 host_alias=$ac_optarg ;;
1985 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1986 ac_prev=htmldir ;;
1987 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1988 | --ht=*)
1989 htmldir=$ac_optarg ;;
1991 -includedir | --includedir | --includedi | --included | --include \
1992 | --includ | --inclu | --incl | --inc)
1993 ac_prev=includedir ;;
1994 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1995 | --includ=* | --inclu=* | --incl=* | --inc=*)
1996 includedir=$ac_optarg ;;
1998 -infodir | --infodir | --infodi | --infod | --info | --inf)
1999 ac_prev=infodir ;;
2000 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2001 infodir=$ac_optarg ;;
2003 -libdir | --libdir | --libdi | --libd)
2004 ac_prev=libdir ;;
2005 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2006 libdir=$ac_optarg ;;
2008 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2009 | --libexe | --libex | --libe)
2010 ac_prev=libexecdir ;;
2011 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2012 | --libexe=* | --libex=* | --libe=*)
2013 libexecdir=$ac_optarg ;;
2015 -localedir | --localedir | --localedi | --localed | --locale)
2016 ac_prev=localedir ;;
2017 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2018 localedir=$ac_optarg ;;
2020 -localstatedir | --localstatedir | --localstatedi | --localstated \
2021 | --localstate | --localstat | --localsta | --localst | --locals)
2022 ac_prev=localstatedir ;;
2023 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2024 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2025 localstatedir=$ac_optarg ;;
2027 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2028 ac_prev=mandir ;;
2029 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2030 mandir=$ac_optarg ;;
2032 -nfp | --nfp | --nf)
2033 # Obsolete; use --without-fp.
2034 with_fp=no ;;
2036 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2037 | --no-cr | --no-c | -n)
2038 no_create=yes ;;
2040 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2041 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2042 no_recursion=yes ;;
2044 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2045 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2046 | --oldin | --oldi | --old | --ol | --o)
2047 ac_prev=oldincludedir ;;
2048 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2049 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2050 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2051 oldincludedir=$ac_optarg ;;
2053 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2054 ac_prev=prefix ;;
2055 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2056 prefix=$ac_optarg ;;
2058 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2059 | --program-pre | --program-pr | --program-p)
2060 ac_prev=program_prefix ;;
2061 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2062 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2063 program_prefix=$ac_optarg ;;
2065 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2066 | --program-suf | --program-su | --program-s)
2067 ac_prev=program_suffix ;;
2068 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2069 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2070 program_suffix=$ac_optarg ;;
2072 -program-transform-name | --program-transform-name \
2073 | --program-transform-nam | --program-transform-na \
2074 | --program-transform-n | --program-transform- \
2075 | --program-transform | --program-transfor \
2076 | --program-transfo | --program-transf \
2077 | --program-trans | --program-tran \
2078 | --progr-tra | --program-tr | --program-t)
2079 ac_prev=program_transform_name ;;
2080 -program-transform-name=* | --program-transform-name=* \
2081 | --program-transform-nam=* | --program-transform-na=* \
2082 | --program-transform-n=* | --program-transform-=* \
2083 | --program-transform=* | --program-transfor=* \
2084 | --program-transfo=* | --program-transf=* \
2085 | --program-trans=* | --program-tran=* \
2086 | --progr-tra=* | --program-tr=* | --program-t=*)
2087 program_transform_name=$ac_optarg ;;
2089 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2090 ac_prev=pdfdir ;;
2091 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2092 pdfdir=$ac_optarg ;;
2094 -psdir | --psdir | --psdi | --psd | --ps)
2095 ac_prev=psdir ;;
2096 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2097 psdir=$ac_optarg ;;
2099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2100 | -silent | --silent | --silen | --sile | --sil)
2101 silent=yes ;;
2103 -runstatedir | --runstatedir | --runstatedi | --runstated \
2104 | --runstate | --runstat | --runsta | --runst | --runs \
2105 | --run | --ru | --r)
2106 ac_prev=runstatedir ;;
2107 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2108 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2109 | --run=* | --ru=* | --r=*)
2110 runstatedir=$ac_optarg ;;
2112 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2113 ac_prev=sbindir ;;
2114 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2115 | --sbi=* | --sb=*)
2116 sbindir=$ac_optarg ;;
2118 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2119 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2120 | --sharedst | --shareds | --shared | --share | --shar \
2121 | --sha | --sh)
2122 ac_prev=sharedstatedir ;;
2123 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2124 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2125 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2126 | --sha=* | --sh=*)
2127 sharedstatedir=$ac_optarg ;;
2129 -site | --site | --sit)
2130 ac_prev=site ;;
2131 -site=* | --site=* | --sit=*)
2132 site=$ac_optarg ;;
2134 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2135 ac_prev=srcdir ;;
2136 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2137 srcdir=$ac_optarg ;;
2139 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2140 | --syscon | --sysco | --sysc | --sys | --sy)
2141 ac_prev=sysconfdir ;;
2142 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2143 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2144 sysconfdir=$ac_optarg ;;
2146 -target | --target | --targe | --targ | --tar | --ta | --t)
2147 ac_prev=target_alias ;;
2148 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2149 target_alias=$ac_optarg ;;
2151 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2152 verbose=yes ;;
2154 -version | --version | --versio | --versi | --vers | -V)
2155 ac_init_version=: ;;
2157 -with-* | --with-*)
2158 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2159 # Reject names that are not valid shell variable names.
2160 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2161 as_fn_error $? "invalid package name: $ac_useropt"
2162 ac_useropt_orig=$ac_useropt
2163 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2164 case $ac_user_opts in
2166 "with_$ac_useropt"
2167 "*) ;;
2168 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2169 ac_unrecognized_sep=', ';;
2170 esac
2171 eval with_$ac_useropt=\$ac_optarg ;;
2173 -without-* | --without-*)
2174 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2175 # Reject names that are not valid shell variable names.
2176 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2177 as_fn_error $? "invalid package name: $ac_useropt"
2178 ac_useropt_orig=$ac_useropt
2179 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2180 case $ac_user_opts in
2182 "with_$ac_useropt"
2183 "*) ;;
2184 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2185 ac_unrecognized_sep=', ';;
2186 esac
2187 eval with_$ac_useropt=no ;;
2189 --x)
2190 # Obsolete; use --with-x.
2191 with_x=yes ;;
2193 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2194 | --x-incl | --x-inc | --x-in | --x-i)
2195 ac_prev=x_includes ;;
2196 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2197 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2198 x_includes=$ac_optarg ;;
2200 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2201 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2202 ac_prev=x_libraries ;;
2203 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2204 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2205 x_libraries=$ac_optarg ;;
2207 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2208 Try \`$0 --help' for more information"
2211 *=*)
2212 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2213 # Reject names that are not valid shell variable names.
2214 case $ac_envvar in #(
2215 '' | [0-9]* | *[!_$as_cr_alnum]* )
2216 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2217 esac
2218 eval $ac_envvar=\$ac_optarg
2219 export $ac_envvar ;;
2222 # FIXME: should be removed in autoconf 3.0.
2223 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2224 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2225 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2226 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2229 esac
2230 done
2232 if test -n "$ac_prev"; then
2233 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2234 as_fn_error $? "missing argument to $ac_option"
2237 if test -n "$ac_unrecognized_opts"; then
2238 case $enable_option_checking in
2239 no) ;;
2240 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2241 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2242 esac
2245 # Check all directory arguments for consistency.
2246 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2247 datadir sysconfdir sharedstatedir localstatedir includedir \
2248 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2249 libdir localedir mandir runstatedir
2251 eval ac_val=\$$ac_var
2252 # Remove trailing slashes.
2253 case $ac_val in
2254 */ )
2255 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2256 eval $ac_var=\$ac_val;;
2257 esac
2258 # Be sure to have absolute directory names.
2259 case $ac_val in
2260 [\\/$]* | ?:[\\/]* ) continue;;
2261 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2262 esac
2263 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2264 done
2266 # There might be people who depend on the old broken behavior: `$host'
2267 # used to hold the argument of --host etc.
2268 # FIXME: To remove some day.
2269 build=$build_alias
2270 host=$host_alias
2271 target=$target_alias
2273 # FIXME: To remove some day.
2274 if test "x$host_alias" != x; then
2275 if test "x$build_alias" = x; then
2276 cross_compiling=maybe
2277 elif test "x$build_alias" != "x$host_alias"; then
2278 cross_compiling=yes
2282 ac_tool_prefix=
2283 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2285 test "$silent" = yes && exec 6>/dev/null
2288 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2289 ac_ls_di=`ls -di .` &&
2290 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2291 as_fn_error $? "working directory cannot be determined"
2292 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2293 as_fn_error $? "pwd does not report name of working directory"
2296 # Find the source files, if location was not specified.
2297 if test -z "$srcdir"; then
2298 ac_srcdir_defaulted=yes
2299 # Try the directory containing this script, then the parent directory.
2300 ac_confdir=`$as_dirname -- "$as_myself" ||
2301 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2302 X"$as_myself" : 'X\(//\)[^/]' \| \
2303 X"$as_myself" : 'X\(//\)$' \| \
2304 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2305 $as_echo X"$as_myself" |
2306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2307 s//\1/
2310 /^X\(\/\/\)[^/].*/{
2311 s//\1/
2314 /^X\(\/\/\)$/{
2315 s//\1/
2318 /^X\(\/\).*/{
2319 s//\1/
2322 s/.*/./; q'`
2323 srcdir=$ac_confdir
2324 if test ! -r "$srcdir/$ac_unique_file"; then
2325 srcdir=..
2327 else
2328 ac_srcdir_defaulted=no
2330 if test ! -r "$srcdir/$ac_unique_file"; then
2331 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2332 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2334 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2335 ac_abs_confdir=`(
2336 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2337 pwd)`
2338 # When building in place, set srcdir=.
2339 if test "$ac_abs_confdir" = "$ac_pwd"; then
2340 srcdir=.
2342 # Remove unnecessary trailing slashes from srcdir.
2343 # Double slashes in file names in object file debugging info
2344 # mess up M-x gdb in Emacs.
2345 case $srcdir in
2346 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2347 esac
2348 for ac_var in $ac_precious_vars; do
2349 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2350 eval ac_env_${ac_var}_value=\$${ac_var}
2351 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2352 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2353 done
2356 # Report the --help message.
2358 if test "$ac_init_help" = "long"; then
2359 # Omit some internal or obsolete options to make the list less imposing.
2360 # This message is too long to be a string in the A/UX 3.1 sh.
2361 cat <<_ACEOF
2362 \`configure' configures Wine 3.6 to adapt to many kinds of systems.
2364 Usage: $0 [OPTION]... [VAR=VALUE]...
2366 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2367 VAR=VALUE. See below for descriptions of some of the useful variables.
2369 Defaults for the options are specified in brackets.
2371 Configuration:
2372 -h, --help display this help and exit
2373 --help=short display options specific to this package
2374 --help=recursive display the short help of all the included packages
2375 -V, --version display version information and exit
2376 -q, --quiet, --silent do not print \`checking ...' messages
2377 --cache-file=FILE cache test results in FILE [disabled]
2378 -C, --config-cache alias for \`--cache-file=config.cache'
2379 -n, --no-create do not create output files
2380 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2382 Installation directories:
2383 --prefix=PREFIX install architecture-independent files in PREFIX
2384 [$ac_default_prefix]
2385 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2386 [PREFIX]
2388 By default, \`make install' will install all the files in
2389 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2390 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2391 for instance \`--prefix=\$HOME'.
2393 For better control, use the options below.
2395 Fine tuning of the installation directories:
2396 --bindir=DIR user executables [EPREFIX/bin]
2397 --sbindir=DIR system admin executables [EPREFIX/sbin]
2398 --libexecdir=DIR program executables [EPREFIX/libexec]
2399 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2400 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2401 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2402 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2403 --libdir=DIR object code libraries [EPREFIX/lib]
2404 --includedir=DIR C header files [PREFIX/include]
2405 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2406 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2407 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2408 --infodir=DIR info documentation [DATAROOTDIR/info]
2409 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2410 --mandir=DIR man documentation [DATAROOTDIR/man]
2411 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2412 --htmldir=DIR html documentation [DOCDIR]
2413 --dvidir=DIR dvi documentation [DOCDIR]
2414 --pdfdir=DIR pdf documentation [DOCDIR]
2415 --psdir=DIR ps documentation [DOCDIR]
2416 _ACEOF
2418 cat <<\_ACEOF
2420 X features:
2421 --x-includes=DIR X include files are in DIR
2422 --x-libraries=DIR X library files are in DIR
2424 System types:
2425 --build=BUILD configure for building on BUILD [guessed]
2426 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2427 _ACEOF
2430 if test -n "$ac_init_help"; then
2431 case $ac_init_help in
2432 short | recursive ) echo "Configuration of Wine 3.6:";;
2433 esac
2434 cat <<\_ACEOF
2436 Optional Features:
2437 --disable-option-checking ignore unrecognized --enable/--with options
2438 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2439 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2440 --disable-win16 do not include Win16 support
2441 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2442 binaries)
2443 --disable-tests do not build the regression tests
2444 --enable-maintainer-mode
2445 enable maintainer-specific build rules
2446 --disable-largefile omit support for large files
2448 Optional Packages:
2449 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2450 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2451 --without-alsa do not use the Alsa sound support
2452 --without-capi do not use CAPI (ISDN support)
2453 --without-cms do not use CMS (color management support)
2454 --without-coreaudio do not use the CoreAudio sound support
2455 --without-cups do not use CUPS
2456 --without-curses do not use (n)curses
2457 --without-dbus do not use DBus (dynamic device support)
2458 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2459 --without-fontconfig do not use fontconfig
2460 --without-freetype do not use the FreeType library
2461 --without-gettext do not use gettext
2462 --with-gettextpo use the GetTextPO library to rebuild po files
2463 --without-gphoto do not use gphoto (Digital Camera support)
2464 --without-glu do not use the GLU library
2465 --without-gnutls do not use GnuTLS (schannel support)
2466 --without-gsm do not use libgsm (GSM 06.10 codec support)
2467 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2468 --without-gstreamer do not use GStreamer (codecs support)
2469 --without-hal do not use HAL (dynamic device support)
2470 --without-jpeg do not use JPEG
2471 --without-krb5 do not use krb5 (Kerberos)
2472 --without-ldap do not use LDAP
2473 --without-mpg123 do not use the mpg123 library
2474 --without-netapi do not use the Samba NetAPI library
2475 --without-openal do not use OpenAL
2476 --without-opencl do not use OpenCL
2477 --without-opengl do not use OpenGL
2478 --without-osmesa do not use the OSMesa library
2479 --without-oss do not use the OSS sound support
2480 --without-pcap do not use the Packet Capture library
2481 --without-png do not use PNG
2482 --without-pthread do not use the pthread library
2483 --without-pulse do not use PulseAudio sound support
2484 --without-sane do not use SANE (scanner support)
2485 --without-sdl do not use SDL
2486 --without-tiff do not use TIFF
2487 --without-udev do not use udev (plug and play support)
2488 --without-v4l do not use v4l1 (v4l support)
2489 --without-vulkan do not use Vulkan
2490 --without-xcomposite do not use the Xcomposite extension
2491 --without-xcursor do not use the Xcursor extension
2492 --without-xfixes do not use Xfixes for clipboard change notifications
2493 --without-xinerama do not use Xinerama (multi-monitor support)
2494 --without-xinput do not use the Xinput extension
2495 --without-xinput2 do not use the Xinput 2 extension
2496 --without-xml do not use XML
2497 --without-xrandr do not use Xrandr (resolution changes)
2498 --without-xrender do not use the Xrender extension
2499 --without-xshape do not use the Xshape extension
2500 --without-xshm do not use XShm (shared memory extension)
2501 --without-xslt do not use XSLT
2502 --without-xxf86vm do not use XFree video mode extension
2503 --without-zlib do not use Zlib (data compression)
2504 --with-wine-tools=DIR use Wine tools from directory DIR
2505 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2506 --with-x use the X Window System
2508 Some influential environment variables:
2509 CC C compiler command
2510 CFLAGS C compiler flags
2511 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2512 nonstandard directory <lib dir>
2513 LIBS libraries to pass to the linker, e.g. -l<library>
2514 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2515 you have headers in a nonstandard directory <include dir>
2516 CXX C++ compiler command
2517 CXXFLAGS C++ compiler flags
2518 CPP C preprocessor
2519 XMKMF Path to xmkmf, Makefile generator for X Window System
2520 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2521 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2522 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2523 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2524 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2525 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2526 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2527 HAL_LIBS Linker flags for hal, overriding pkg-config
2528 GNUTLS_CFLAGS
2529 C compiler flags for gnutls, overriding pkg-config
2530 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2531 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2532 SANE_LIBS Linker flags for libsane, overriding pkg-config
2533 GPHOTO2_CFLAGS
2534 C compiler flags for libgphoto2, overriding pkg-config
2535 GPHOTO2_LIBS
2536 Linker flags for libgphoto2, overriding pkg-config
2537 GPHOTO2_PORT_CFLAGS
2538 C compiler flags for libgphoto2_port, overriding pkg-config
2539 GPHOTO2_PORT_LIBS
2540 Linker flags for libgphoto2_port, overriding pkg-config
2541 LCMS2_CFLAGS
2542 C compiler flags for lcms2, overriding pkg-config
2543 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2544 FREETYPE_CFLAGS
2545 C compiler flags for freetype2, overriding pkg-config
2546 FREETYPE_LIBS
2547 Linker flags for freetype2, overriding pkg-config
2548 PULSE_CFLAGS
2549 C compiler flags for libpulse, overriding pkg-config
2550 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2551 GSTREAMER_CFLAGS
2552 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2553 gstreamer-audio-1.0, overriding pkg-config
2554 GSTREAMER_LIBS
2555 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2556 gstreamer-audio-1.0, overriding pkg-config
2557 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2558 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2559 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2560 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2561 CAPI20_CFLAGS
2562 C compiler flags for capi20, overriding pkg-config
2563 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2564 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2565 CUPS_LIBS Linker flags for cups, overriding pkg-config
2566 FONTCONFIG_CFLAGS
2567 C compiler flags for fontconfig, overriding pkg-config
2568 FONTCONFIG_LIBS
2569 Linker flags for fontconfig, overriding pkg-config
2570 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2571 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2572 GSSAPI_CFLAGS
2573 C compiler flags for krb5-gssapi, overriding pkg-config
2574 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2575 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2576 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2577 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2578 PNG_LIBS Linker flags for libpng, overriding pkg-config
2579 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2580 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2581 MPG123_CFLAGS
2582 C compiler flags for libmpg123, overriding pkg-config
2583 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2584 NETAPI_CFLAGS
2585 C compiler flags for netapi, overriding pkg-config
2586 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2587 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2588 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2590 Use these variables to override the choices made by `configure' or to help
2591 it to find libraries and programs with nonstandard names/locations.
2593 Report bugs to <wine-devel@winehq.org>.
2594 Wine home page: <https://www.winehq.org>.
2595 _ACEOF
2596 ac_status=$?
2599 if test "$ac_init_help" = "recursive"; then
2600 # If there are subdirs, report their specific --help.
2601 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2602 test -d "$ac_dir" ||
2603 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2604 continue
2605 ac_builddir=.
2607 case "$ac_dir" in
2608 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2610 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2611 # A ".." for each directory in $ac_dir_suffix.
2612 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2613 case $ac_top_builddir_sub in
2614 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2615 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2616 esac ;;
2617 esac
2618 ac_abs_top_builddir=$ac_pwd
2619 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2620 # for backward compatibility:
2621 ac_top_builddir=$ac_top_build_prefix
2623 case $srcdir in
2624 .) # We are building in place.
2625 ac_srcdir=.
2626 ac_top_srcdir=$ac_top_builddir_sub
2627 ac_abs_top_srcdir=$ac_pwd ;;
2628 [\\/]* | ?:[\\/]* ) # Absolute name.
2629 ac_srcdir=$srcdir$ac_dir_suffix;
2630 ac_top_srcdir=$srcdir
2631 ac_abs_top_srcdir=$srcdir ;;
2632 *) # Relative name.
2633 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2634 ac_top_srcdir=$ac_top_build_prefix$srcdir
2635 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2636 esac
2637 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2639 cd "$ac_dir" || { ac_status=$?; continue; }
2640 # Check for guested configure.
2641 if test -f "$ac_srcdir/configure.gnu"; then
2642 echo &&
2643 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2644 elif test -f "$ac_srcdir/configure"; then
2645 echo &&
2646 $SHELL "$ac_srcdir/configure" --help=recursive
2647 else
2648 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2649 fi || ac_status=$?
2650 cd "$ac_pwd" || { ac_status=$?; break; }
2651 done
2654 test -n "$ac_init_help" && exit $ac_status
2655 if $ac_init_version; then
2656 cat <<\_ACEOF
2657 Wine configure 3.6
2658 generated by GNU Autoconf 2.69
2660 Copyright (C) 2012 Free Software Foundation, Inc.
2661 This configure script is free software; the Free Software Foundation
2662 gives unlimited permission to copy, distribute and modify it.
2663 _ACEOF
2664 exit
2667 ## ------------------------ ##
2668 ## Autoconf initialization. ##
2669 ## ------------------------ ##
2671 # ac_fn_c_try_compile LINENO
2672 # --------------------------
2673 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2674 ac_fn_c_try_compile ()
2676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2677 rm -f conftest.$ac_objext
2678 if { { ac_try="$ac_compile"
2679 case "(($ac_try" in
2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2681 *) ac_try_echo=$ac_try;;
2682 esac
2683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2684 $as_echo "$ac_try_echo"; } >&5
2685 (eval "$ac_compile") 2>conftest.err
2686 ac_status=$?
2687 if test -s conftest.err; then
2688 grep -v '^ *+' conftest.err >conftest.er1
2689 cat conftest.er1 >&5
2690 mv -f conftest.er1 conftest.err
2692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2693 test $ac_status = 0; } && {
2694 test -z "$ac_c_werror_flag" ||
2695 test ! -s conftest.err
2696 } && test -s conftest.$ac_objext; then :
2697 ac_retval=0
2698 else
2699 $as_echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.$ac_ext >&5
2702 ac_retval=1
2704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2705 as_fn_set_status $ac_retval
2707 } # ac_fn_c_try_compile
2709 # ac_fn_cxx_try_compile LINENO
2710 # ----------------------------
2711 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2712 ac_fn_cxx_try_compile ()
2714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2715 rm -f conftest.$ac_objext
2716 if { { ac_try="$ac_compile"
2717 case "(($ac_try" in
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2720 esac
2721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2722 $as_echo "$ac_try_echo"; } >&5
2723 (eval "$ac_compile") 2>conftest.err
2724 ac_status=$?
2725 if test -s conftest.err; then
2726 grep -v '^ *+' conftest.err >conftest.er1
2727 cat conftest.er1 >&5
2728 mv -f conftest.er1 conftest.err
2730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2731 test $ac_status = 0; } && {
2732 test -z "$ac_cxx_werror_flag" ||
2733 test ! -s conftest.err
2734 } && test -s conftest.$ac_objext; then :
2735 ac_retval=0
2736 else
2737 $as_echo "$as_me: failed program was:" >&5
2738 sed 's/^/| /' conftest.$ac_ext >&5
2740 ac_retval=1
2742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2743 as_fn_set_status $ac_retval
2745 } # ac_fn_cxx_try_compile
2747 # ac_fn_c_try_link LINENO
2748 # -----------------------
2749 # Try to link conftest.$ac_ext, and return whether this succeeded.
2750 ac_fn_c_try_link ()
2752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2753 rm -f conftest.$ac_objext conftest$ac_exeext
2754 if { { ac_try="$ac_link"
2755 case "(($ac_try" in
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2758 esac
2759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 $as_echo "$ac_try_echo"; } >&5
2761 (eval "$ac_link") 2>conftest.err
2762 ac_status=$?
2763 if test -s conftest.err; then
2764 grep -v '^ *+' conftest.err >conftest.er1
2765 cat conftest.er1 >&5
2766 mv -f conftest.er1 conftest.err
2768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2769 test $ac_status = 0; } && {
2770 test -z "$ac_c_werror_flag" ||
2771 test ! -s conftest.err
2772 } && test -s conftest$ac_exeext && {
2773 test "$cross_compiling" = yes ||
2774 test -x conftest$ac_exeext
2775 }; then :
2776 ac_retval=0
2777 else
2778 $as_echo "$as_me: failed program was:" >&5
2779 sed 's/^/| /' conftest.$ac_ext >&5
2781 ac_retval=1
2783 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2784 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2785 # interfere with the next link command; also delete a directory that is
2786 # left behind by Apple's compiler. We do this before executing the actions.
2787 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2789 as_fn_set_status $ac_retval
2791 } # ac_fn_c_try_link
2793 # ac_fn_c_try_cpp LINENO
2794 # ----------------------
2795 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2796 ac_fn_c_try_cpp ()
2798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2799 if { { ac_try="$ac_cpp conftest.$ac_ext"
2800 case "(($ac_try" in
2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2803 esac
2804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2805 $as_echo "$ac_try_echo"; } >&5
2806 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2807 ac_status=$?
2808 if test -s conftest.err; then
2809 grep -v '^ *+' conftest.err >conftest.er1
2810 cat conftest.er1 >&5
2811 mv -f conftest.er1 conftest.err
2813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2814 test $ac_status = 0; } > conftest.i && {
2815 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2816 test ! -s conftest.err
2817 }; then :
2818 ac_retval=0
2819 else
2820 $as_echo "$as_me: failed program was:" >&5
2821 sed 's/^/| /' conftest.$ac_ext >&5
2823 ac_retval=1
2825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2826 as_fn_set_status $ac_retval
2828 } # ac_fn_c_try_cpp
2830 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2831 # -------------------------------------------------------
2832 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2833 # the include files in INCLUDES and setting the cache variable VAR
2834 # accordingly.
2835 ac_fn_c_check_header_mongrel ()
2837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2838 if eval \${$3+:} false; then :
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2840 $as_echo_n "checking for $2... " >&6; }
2841 if eval \${$3+:} false; then :
2842 $as_echo_n "(cached) " >&6
2844 eval ac_res=\$$3
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2846 $as_echo "$ac_res" >&6; }
2847 else
2848 # Is the header compilable?
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2850 $as_echo_n "checking $2 usability... " >&6; }
2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2852 /* end confdefs.h. */
2854 #include <$2>
2855 _ACEOF
2856 if ac_fn_c_try_compile "$LINENO"; then :
2857 ac_header_compiler=yes
2858 else
2859 ac_header_compiler=no
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2863 $as_echo "$ac_header_compiler" >&6; }
2865 # Is the header present?
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2867 $as_echo_n "checking $2 presence... " >&6; }
2868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2869 /* end confdefs.h. */
2870 #include <$2>
2871 _ACEOF
2872 if ac_fn_c_try_cpp "$LINENO"; then :
2873 ac_header_preproc=yes
2874 else
2875 ac_header_preproc=no
2877 rm -f conftest.err conftest.i conftest.$ac_ext
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2879 $as_echo "$ac_header_preproc" >&6; }
2881 # So? What about this header?
2882 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2883 yes:no: )
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2885 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2887 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2889 no:yes:* )
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2891 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2893 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2895 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2897 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2899 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2900 ( $as_echo "## ------------------------------------ ##
2901 ## Report this to wine-devel@winehq.org ##
2902 ## ------------------------------------ ##"
2903 ) | sed "s/^/$as_me: WARNING: /" >&2
2905 esac
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2907 $as_echo_n "checking for $2... " >&6; }
2908 if eval \${$3+:} false; then :
2909 $as_echo_n "(cached) " >&6
2910 else
2911 eval "$3=\$ac_header_compiler"
2913 eval ac_res=\$$3
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2915 $as_echo "$ac_res" >&6; }
2917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2919 } # ac_fn_c_check_header_mongrel
2921 # ac_fn_c_try_run LINENO
2922 # ----------------------
2923 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2924 # that executables *can* be run.
2925 ac_fn_c_try_run ()
2927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2928 if { { ac_try="$ac_link"
2929 case "(($ac_try" in
2930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2931 *) ac_try_echo=$ac_try;;
2932 esac
2933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2934 $as_echo "$ac_try_echo"; } >&5
2935 (eval "$ac_link") 2>&5
2936 ac_status=$?
2937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2938 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2939 { { case "(($ac_try" in
2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2942 esac
2943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2944 $as_echo "$ac_try_echo"; } >&5
2945 (eval "$ac_try") 2>&5
2946 ac_status=$?
2947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2948 test $ac_status = 0; }; }; then :
2949 ac_retval=0
2950 else
2951 $as_echo "$as_me: program exited with status $ac_status" >&5
2952 $as_echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.$ac_ext >&5
2955 ac_retval=$ac_status
2957 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2959 as_fn_set_status $ac_retval
2961 } # ac_fn_c_try_run
2963 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2964 # -------------------------------------------------------
2965 # Tests whether HEADER exists and can be compiled using the include files in
2966 # INCLUDES, setting the cache variable VAR accordingly.
2967 ac_fn_c_check_header_compile ()
2969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2971 $as_echo_n "checking for $2... " >&6; }
2972 if eval \${$3+:} false; then :
2973 $as_echo_n "(cached) " >&6
2974 else
2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h. */
2978 #include <$2>
2979 _ACEOF
2980 if ac_fn_c_try_compile "$LINENO"; then :
2981 eval "$3=yes"
2982 else
2983 eval "$3=no"
2985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2987 eval ac_res=\$$3
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2989 $as_echo "$ac_res" >&6; }
2990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2992 } # ac_fn_c_check_header_compile
2994 # ac_fn_c_check_func LINENO FUNC VAR
2995 # ----------------------------------
2996 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2997 ac_fn_c_check_func ()
2999 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3001 $as_echo_n "checking for $2... " >&6; }
3002 if eval \${$3+:} false; then :
3003 $as_echo_n "(cached) " >&6
3004 else
3005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3006 /* end confdefs.h. */
3007 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3009 #define $2 innocuous_$2
3011 /* System header to define __stub macros and hopefully few prototypes,
3012 which can conflict with char $2 (); below.
3013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3014 <limits.h> exists even on freestanding compilers. */
3016 #ifdef __STDC__
3017 # include <limits.h>
3018 #else
3019 # include <assert.h>
3020 #endif
3022 #undef $2
3024 /* Override any GCC internal prototype to avoid an error.
3025 Use char because int might match the return type of a GCC
3026 builtin and then its argument prototype would still apply. */
3027 #ifdef __cplusplus
3028 extern "C"
3029 #endif
3030 char $2 ();
3031 /* The GNU C library defines this for functions which it implements
3032 to always fail with ENOSYS. Some functions are actually named
3033 something starting with __ and the normal name is an alias. */
3034 #if defined __stub_$2 || defined __stub___$2
3035 choke me
3036 #endif
3039 main ()
3041 return $2 ();
3043 return 0;
3045 _ACEOF
3046 if ac_fn_c_try_link "$LINENO"; then :
3047 eval "$3=yes"
3048 else
3049 eval "$3=no"
3051 rm -f core conftest.err conftest.$ac_objext \
3052 conftest$ac_exeext conftest.$ac_ext
3054 eval ac_res=\$$3
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3056 $as_echo "$ac_res" >&6; }
3057 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3059 } # ac_fn_c_check_func
3061 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3062 # ----------------------------------------------------
3063 # Tries to find if the field MEMBER exists in type AGGR, after including
3064 # INCLUDES, setting cache variable VAR accordingly.
3065 ac_fn_c_check_member ()
3067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3069 $as_echo_n "checking for $2.$3... " >&6; }
3070 if eval \${$4+:} false; then :
3071 $as_echo_n "(cached) " >&6
3072 else
3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3074 /* end confdefs.h. */
3077 main ()
3079 static $2 ac_aggr;
3080 if (ac_aggr.$3)
3081 return 0;
3083 return 0;
3085 _ACEOF
3086 if ac_fn_c_try_compile "$LINENO"; then :
3087 eval "$4=yes"
3088 else
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3093 main ()
3095 static $2 ac_aggr;
3096 if (sizeof ac_aggr.$3)
3097 return 0;
3099 return 0;
3101 _ACEOF
3102 if ac_fn_c_try_compile "$LINENO"; then :
3103 eval "$4=yes"
3104 else
3105 eval "$4=no"
3107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3111 eval ac_res=\$$4
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3113 $as_echo "$ac_res" >&6; }
3114 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3116 } # ac_fn_c_check_member
3118 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3119 # -------------------------------------------
3120 # Tests whether TYPE exists after having included INCLUDES, setting cache
3121 # variable VAR accordingly.
3122 ac_fn_c_check_type ()
3124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3126 $as_echo_n "checking for $2... " >&6; }
3127 if eval \${$3+:} false; then :
3128 $as_echo_n "(cached) " >&6
3129 else
3130 eval "$3=no"
3131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3132 /* end confdefs.h. */
3135 main ()
3137 if (sizeof ($2))
3138 return 0;
3140 return 0;
3142 _ACEOF
3143 if ac_fn_c_try_compile "$LINENO"; then :
3144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3148 main ()
3150 if (sizeof (($2)))
3151 return 0;
3153 return 0;
3155 _ACEOF
3156 if ac_fn_c_try_compile "$LINENO"; then :
3158 else
3159 eval "$3=yes"
3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3165 eval ac_res=\$$3
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3167 $as_echo "$ac_res" >&6; }
3168 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3170 } # ac_fn_c_check_type
3171 cat >config.log <<_ACEOF
3172 This file contains any messages produced by compilers while
3173 running configure, to aid debugging if configure makes a mistake.
3175 It was created by Wine $as_me 3.6, which was
3176 generated by GNU Autoconf 2.69. Invocation command line was
3178 $ $0 $@
3180 _ACEOF
3181 exec 5>>config.log
3183 cat <<_ASUNAME
3184 ## --------- ##
3185 ## Platform. ##
3186 ## --------- ##
3188 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3189 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3190 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3191 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3192 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3194 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3195 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3197 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3198 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3199 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3200 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3201 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3202 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3203 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3205 _ASUNAME
3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208 for as_dir in $PATH
3210 IFS=$as_save_IFS
3211 test -z "$as_dir" && as_dir=.
3212 $as_echo "PATH: $as_dir"
3213 done
3214 IFS=$as_save_IFS
3216 } >&5
3218 cat >&5 <<_ACEOF
3221 ## ----------- ##
3222 ## Core tests. ##
3223 ## ----------- ##
3225 _ACEOF
3228 # Keep a trace of the command line.
3229 # Strip out --no-create and --no-recursion so they do not pile up.
3230 # Strip out --silent because we don't want to record it for future runs.
3231 # Also quote any args containing shell meta-characters.
3232 # Make two passes to allow for proper duplicate-argument suppression.
3233 ac_configure_args=
3234 ac_configure_args0=
3235 ac_configure_args1=
3236 ac_must_keep_next=false
3237 for ac_pass in 1 2
3239 for ac_arg
3241 case $ac_arg in
3242 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3244 | -silent | --silent | --silen | --sile | --sil)
3245 continue ;;
3246 *\'*)
3247 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3248 esac
3249 case $ac_pass in
3250 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3252 as_fn_append ac_configure_args1 " '$ac_arg'"
3253 if test $ac_must_keep_next = true; then
3254 ac_must_keep_next=false # Got value, back to normal.
3255 else
3256 case $ac_arg in
3257 *=* | --config-cache | -C | -disable-* | --disable-* \
3258 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3259 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3260 | -with-* | --with-* | -without-* | --without-* | --x)
3261 case "$ac_configure_args0 " in
3262 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3263 esac
3265 -* ) ac_must_keep_next=true ;;
3266 esac
3268 as_fn_append ac_configure_args " '$ac_arg'"
3270 esac
3271 done
3272 done
3273 { ac_configure_args0=; unset ac_configure_args0;}
3274 { ac_configure_args1=; unset ac_configure_args1;}
3276 # When interrupted or exit'd, cleanup temporary files, and complete
3277 # config.log. We remove comments because anyway the quotes in there
3278 # would cause problems or look ugly.
3279 # WARNING: Use '\'' to represent an apostrophe within the trap.
3280 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3281 trap 'exit_status=$?
3282 # Save into config.log some information that might help in debugging.
3284 echo
3286 $as_echo "## ---------------- ##
3287 ## Cache variables. ##
3288 ## ---------------- ##"
3289 echo
3290 # The following way of writing the cache mishandles newlines in values,
3292 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3293 eval ac_val=\$$ac_var
3294 case $ac_val in #(
3295 *${as_nl}*)
3296 case $ac_var in #(
3297 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3298 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3299 esac
3300 case $ac_var in #(
3301 _ | IFS | as_nl) ;; #(
3302 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3303 *) { eval $ac_var=; unset $ac_var;} ;;
3304 esac ;;
3305 esac
3306 done
3307 (set) 2>&1 |
3308 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3309 *${as_nl}ac_space=\ *)
3310 sed -n \
3311 "s/'\''/'\''\\\\'\'''\''/g;
3312 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3313 ;; #(
3315 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3317 esac |
3318 sort
3320 echo
3322 $as_echo "## ----------------- ##
3323 ## Output variables. ##
3324 ## ----------------- ##"
3325 echo
3326 for ac_var in $ac_subst_vars
3328 eval ac_val=\$$ac_var
3329 case $ac_val in
3330 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3331 esac
3332 $as_echo "$ac_var='\''$ac_val'\''"
3333 done | sort
3334 echo
3336 if test -n "$ac_subst_files"; then
3337 $as_echo "## ------------------- ##
3338 ## File substitutions. ##
3339 ## ------------------- ##"
3340 echo
3341 for ac_var in $ac_subst_files
3343 eval ac_val=\$$ac_var
3344 case $ac_val in
3345 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3346 esac
3347 $as_echo "$ac_var='\''$ac_val'\''"
3348 done | sort
3349 echo
3352 if test -s confdefs.h; then
3353 $as_echo "## ----------- ##
3354 ## confdefs.h. ##
3355 ## ----------- ##"
3356 echo
3357 cat confdefs.h
3358 echo
3360 test "$ac_signal" != 0 &&
3361 $as_echo "$as_me: caught signal $ac_signal"
3362 $as_echo "$as_me: exit $exit_status"
3363 } >&5
3364 rm -f core *.core core.conftest.* &&
3365 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3366 exit $exit_status
3368 for ac_signal in 1 2 13 15; do
3369 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3370 done
3371 ac_signal=0
3373 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3374 rm -f -r conftest* confdefs.h
3376 $as_echo "/* confdefs.h */" > confdefs.h
3378 # Predefined preprocessor variables.
3380 cat >>confdefs.h <<_ACEOF
3381 #define PACKAGE_NAME "$PACKAGE_NAME"
3382 _ACEOF
3384 cat >>confdefs.h <<_ACEOF
3385 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3386 _ACEOF
3388 cat >>confdefs.h <<_ACEOF
3389 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3390 _ACEOF
3392 cat >>confdefs.h <<_ACEOF
3393 #define PACKAGE_STRING "$PACKAGE_STRING"
3394 _ACEOF
3396 cat >>confdefs.h <<_ACEOF
3397 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3398 _ACEOF
3400 cat >>confdefs.h <<_ACEOF
3401 #define PACKAGE_URL "$PACKAGE_URL"
3402 _ACEOF
3405 # Let the site file select an alternate cache file if it wants to.
3406 # Prefer an explicitly selected file to automatically selected ones.
3407 ac_site_file1=NONE
3408 ac_site_file2=NONE
3409 if test -n "$CONFIG_SITE"; then
3410 # We do not want a PATH search for config.site.
3411 case $CONFIG_SITE in #((
3412 -*) ac_site_file1=./$CONFIG_SITE;;
3413 */*) ac_site_file1=$CONFIG_SITE;;
3414 *) ac_site_file1=./$CONFIG_SITE;;
3415 esac
3416 elif test "x$prefix" != xNONE; then
3417 ac_site_file1=$prefix/share/config.site
3418 ac_site_file2=$prefix/etc/config.site
3419 else
3420 ac_site_file1=$ac_default_prefix/share/config.site
3421 ac_site_file2=$ac_default_prefix/etc/config.site
3423 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3425 test "x$ac_site_file" = xNONE && continue
3426 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3428 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3429 sed 's/^/| /' "$ac_site_file" >&5
3430 . "$ac_site_file" \
3431 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3433 as_fn_error $? "failed to load site script $ac_site_file
3434 See \`config.log' for more details" "$LINENO" 5; }
3436 done
3438 if test -r "$cache_file"; then
3439 # Some versions of bash will fail to source /dev/null (special files
3440 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3441 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3443 $as_echo "$as_me: loading cache $cache_file" >&6;}
3444 case $cache_file in
3445 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3446 *) . "./$cache_file";;
3447 esac
3449 else
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3451 $as_echo "$as_me: creating cache $cache_file" >&6;}
3452 >$cache_file
3455 # Check that the precious variables saved in the cache have kept the same
3456 # value.
3457 ac_cache_corrupted=false
3458 for ac_var in $ac_precious_vars; do
3459 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3460 eval ac_new_set=\$ac_env_${ac_var}_set
3461 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3462 eval ac_new_val=\$ac_env_${ac_var}_value
3463 case $ac_old_set,$ac_new_set in
3464 set,)
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3466 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3467 ac_cache_corrupted=: ;;
3468 ,set)
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3470 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3471 ac_cache_corrupted=: ;;
3472 ,);;
3474 if test "x$ac_old_val" != "x$ac_new_val"; then
3475 # differences in whitespace do not lead to failure.
3476 ac_old_val_w=`echo x $ac_old_val`
3477 ac_new_val_w=`echo x $ac_new_val`
3478 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3480 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3481 ac_cache_corrupted=:
3482 else
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3484 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3485 eval $ac_var=\$ac_old_val
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3488 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3490 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3491 fi;;
3492 esac
3493 # Pass precious variables to config.status.
3494 if test "$ac_new_set" = set; then
3495 case $ac_new_val in
3496 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3497 *) ac_arg=$ac_var=$ac_new_val ;;
3498 esac
3499 case " $ac_configure_args " in
3500 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3501 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3502 esac
3504 done
3505 if $ac_cache_corrupted; then
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3509 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3510 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3512 ## -------------------- ##
3513 ## Main body of script. ##
3514 ## -------------------- ##
3516 ac_ext=c
3517 ac_cpp='$CPP $CPPFLAGS'
3518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3524 ac_config_headers="$ac_config_headers include/config.h"
3526 ac_aux_dir=
3527 for ac_dir in tools "$srcdir"/tools; do
3528 if test -f "$ac_dir/install-sh"; then
3529 ac_aux_dir=$ac_dir
3530 ac_install_sh="$ac_aux_dir/install-sh -c"
3531 break
3532 elif test -f "$ac_dir/install.sh"; then
3533 ac_aux_dir=$ac_dir
3534 ac_install_sh="$ac_aux_dir/install.sh -c"
3535 break
3536 elif test -f "$ac_dir/shtool"; then
3537 ac_aux_dir=$ac_dir
3538 ac_install_sh="$ac_aux_dir/shtool install -c"
3539 break
3541 done
3542 if test -z "$ac_aux_dir"; then
3543 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3546 # These three variables are undocumented and unsupported,
3547 # and are intended to be withdrawn in a future Autoconf release.
3548 # They can cause serious problems if a builder's source tree is in a directory
3549 # whose full name contains unusual characters.
3550 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3551 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3552 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3556 libwine_version="1.0"
3560 # Check whether --enable-win16 was given.
3561 if test "${enable_win16+set}" = set; then :
3562 enableval=$enable_win16;
3565 # Check whether --enable-win64 was given.
3566 if test "${enable_win64+set}" = set; then :
3567 enableval=$enable_win64;
3570 # Check whether --enable-tests was given.
3571 if test "${enable_tests+set}" = set; then :
3572 enableval=$enable_tests;
3575 # Check whether --enable-maintainer-mode was given.
3576 if test "${enable_maintainer_mode+set}" = set; then :
3577 enableval=$enable_maintainer_mode;
3582 # Check whether --with-alsa was given.
3583 if test "${with_alsa+set}" = set; then :
3584 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3588 # Check whether --with-capi was given.
3589 if test "${with_capi+set}" = set; then :
3590 withval=$with_capi;
3594 # Check whether --with-cms was given.
3595 if test "${with_cms+set}" = set; then :
3596 withval=$with_cms;
3600 # Check whether --with-coreaudio was given.
3601 if test "${with_coreaudio+set}" = set; then :
3602 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3606 # Check whether --with-cups was given.
3607 if test "${with_cups+set}" = set; then :
3608 withval=$with_cups;
3612 # Check whether --with-curses was given.
3613 if test "${with_curses+set}" = set; then :
3614 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3618 # Check whether --with-dbus was given.
3619 if test "${with_dbus+set}" = set; then :
3620 withval=$with_dbus;
3624 # Check whether --with-float-abi was given.
3625 if test "${with_float_abi+set}" = set; then :
3626 withval=$with_float_abi;
3630 # Check whether --with-fontconfig was given.
3631 if test "${with_fontconfig+set}" = set; then :
3632 withval=$with_fontconfig;
3636 # Check whether --with-freetype was given.
3637 if test "${with_freetype+set}" = set; then :
3638 withval=$with_freetype;
3642 # Check whether --with-gettext was given.
3643 if test "${with_gettext+set}" = set; then :
3644 withval=$with_gettext;
3648 # Check whether --with-gettextpo was given.
3649 if test "${with_gettextpo+set}" = set; then :
3650 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3654 # Check whether --with-gphoto was given.
3655 if test "${with_gphoto+set}" = set; then :
3656 withval=$with_gphoto;
3660 # Check whether --with-glu was given.
3661 if test "${with_glu+set}" = set; then :
3662 withval=$with_glu;
3666 # Check whether --with-gnutls was given.
3667 if test "${with_gnutls+set}" = set; then :
3668 withval=$with_gnutls;
3672 # Check whether --with-gsm was given.
3673 if test "${with_gsm+set}" = set; then :
3674 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3678 # Check whether --with-gssapi was given.
3679 if test "${with_gssapi+set}" = set; then :
3680 withval=$with_gssapi;
3684 # Check whether --with-gstreamer was given.
3685 if test "${with_gstreamer+set}" = set; then :
3686 withval=$with_gstreamer;
3690 # Check whether --with-hal was given.
3691 if test "${with_hal+set}" = set; then :
3692 withval=$with_hal;
3696 # Check whether --with-jpeg was given.
3697 if test "${with_jpeg+set}" = set; then :
3698 withval=$with_jpeg;
3702 # Check whether --with-krb5 was given.
3703 if test "${with_krb5+set}" = set; then :
3704 withval=$with_krb5;
3708 # Check whether --with-ldap was given.
3709 if test "${with_ldap+set}" = set; then :
3710 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3714 # Check whether --with-mpg123 was given.
3715 if test "${with_mpg123+set}" = set; then :
3716 withval=$with_mpg123;
3720 # Check whether --with-netapi was given.
3721 if test "${with_netapi+set}" = set; then :
3722 withval=$with_netapi;
3726 # Check whether --with-openal was given.
3727 if test "${with_openal+set}" = set; then :
3728 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3732 # Check whether --with-opencl was given.
3733 if test "${with_opencl+set}" = set; then :
3734 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3738 # Check whether --with-opengl was given.
3739 if test "${with_opengl+set}" = set; then :
3740 withval=$with_opengl;
3744 # Check whether --with-osmesa was given.
3745 if test "${with_osmesa+set}" = set; then :
3746 withval=$with_osmesa;
3750 # Check whether --with-oss was given.
3751 if test "${with_oss+set}" = set; then :
3752 withval=$with_oss;
3756 # Check whether --with-pcap was given.
3757 if test "${with_pcap+set}" = set; then :
3758 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3762 # Check whether --with-png was given.
3763 if test "${with_png+set}" = set; then :
3764 withval=$with_png;
3768 # Check whether --with-pthread was given.
3769 if test "${with_pthread+set}" = set; then :
3770 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3774 # Check whether --with-pulse was given.
3775 if test "${with_pulse+set}" = set; then :
3776 withval=$with_pulse;
3780 # Check whether --with-sane was given.
3781 if test "${with_sane+set}" = set; then :
3782 withval=$with_sane;
3786 # Check whether --with-sdl was given.
3787 if test "${with_sdl+set}" = set; then :
3788 withval=$with_sdl;
3792 # Check whether --with-tiff was given.
3793 if test "${with_tiff+set}" = set; then :
3794 withval=$with_tiff;
3798 # Check whether --with-udev was given.
3799 if test "${with_udev+set}" = set; then :
3800 withval=$with_udev;
3804 # Check whether --with-v4l was given.
3805 if test "${with_v4l+set}" = set; then :
3806 withval=$with_v4l;
3810 # Check whether --with-vulkan was given.
3811 if test "${with_vulkan+set}" = set; then :
3812 withval=$with_vulkan;
3816 # Check whether --with-xcomposite was given.
3817 if test "${with_xcomposite+set}" = set; then :
3818 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3822 # Check whether --with-xcursor was given.
3823 if test "${with_xcursor+set}" = set; then :
3824 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3828 # Check whether --with-xfixes was given.
3829 if test "${with_xfixes+set}" = set; then :
3830 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3834 # Check whether --with-xinerama was given.
3835 if test "${with_xinerama+set}" = set; then :
3836 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3840 # Check whether --with-xinput was given.
3841 if test "${with_xinput+set}" = set; then :
3842 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3846 # Check whether --with-xinput2 was given.
3847 if test "${with_xinput2+set}" = set; then :
3848 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3852 # Check whether --with-xml was given.
3853 if test "${with_xml+set}" = set; then :
3854 withval=$with_xml;
3858 # Check whether --with-xrandr was given.
3859 if test "${with_xrandr+set}" = set; then :
3860 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3864 # Check whether --with-xrender was given.
3865 if test "${with_xrender+set}" = set; then :
3866 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3870 # Check whether --with-xshape was given.
3871 if test "${with_xshape+set}" = set; then :
3872 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3876 # Check whether --with-xshm was given.
3877 if test "${with_xshm+set}" = set; then :
3878 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3882 # Check whether --with-xslt was given.
3883 if test "${with_xslt+set}" = set; then :
3884 withval=$with_xslt;
3888 # Check whether --with-xxf86vm was given.
3889 if test "${with_xxf86vm+set}" = set; then :
3890 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
3894 # Check whether --with-zlib was given.
3895 if test "${with_zlib+set}" = set; then :
3896 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3901 # Check whether --with-wine-tools was given.
3902 if test "${with_wine_tools+set}" = set; then :
3903 withval=$with_wine_tools;
3907 # Check whether --with-wine64 was given.
3908 if test "${with_wine64+set}" = set; then :
3909 withval=$with_wine64;
3913 # Make sure we can run config.sub.
3914 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3915 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3918 $as_echo_n "checking build system type... " >&6; }
3919 if ${ac_cv_build+:} false; then :
3920 $as_echo_n "(cached) " >&6
3921 else
3922 ac_build_alias=$build_alias
3923 test "x$ac_build_alias" = x &&
3924 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3925 test "x$ac_build_alias" = x &&
3926 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3927 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3928 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3932 $as_echo "$ac_cv_build" >&6; }
3933 case $ac_cv_build in
3934 *-*-*) ;;
3935 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3936 esac
3937 build=$ac_cv_build
3938 ac_save_IFS=$IFS; IFS='-'
3939 set x $ac_cv_build
3940 shift
3941 build_cpu=$1
3942 build_vendor=$2
3943 shift; shift
3944 # Remember, the first character of IFS is used to create $*,
3945 # except with old shells:
3946 build_os=$*
3947 IFS=$ac_save_IFS
3948 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3952 $as_echo_n "checking host system type... " >&6; }
3953 if ${ac_cv_host+:} false; then :
3954 $as_echo_n "(cached) " >&6
3955 else
3956 if test "x$host_alias" = x; then
3957 ac_cv_host=$ac_cv_build
3958 else
3959 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3960 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3965 $as_echo "$ac_cv_host" >&6; }
3966 case $ac_cv_host in
3967 *-*-*) ;;
3968 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3969 esac
3970 host=$ac_cv_host
3971 ac_save_IFS=$IFS; IFS='-'
3972 set x $ac_cv_host
3973 shift
3974 host_cpu=$1
3975 host_vendor=$2
3976 shift; shift
3977 # Remember, the first character of IFS is used to create $*,
3978 # except with old shells:
3979 host_os=$*
3980 IFS=$ac_save_IFS
3981 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3985 case "$srcdir" in
3986 .) ;;
3987 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3988 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3989 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3990 fi ;;
3991 esac
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3995 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3996 set x ${MAKE-make}
3997 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3998 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3999 $as_echo_n "(cached) " >&6
4000 else
4001 cat >conftest.make <<\_ACEOF
4002 SHELL = /bin/sh
4003 all:
4004 @echo '@@@%%%=$(MAKE)=@@@%%%'
4005 _ACEOF
4006 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4007 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4008 *@@@%%%=?*=@@@%%%*)
4009 eval ac_cv_prog_make_${ac_make}_set=yes;;
4011 eval ac_cv_prog_make_${ac_make}_set=no;;
4012 esac
4013 rm -f conftest.make
4015 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4017 $as_echo "yes" >&6; }
4018 SET_MAKE=
4019 else
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4021 $as_echo "no" >&6; }
4022 SET_MAKE="MAKE=${MAKE-make}"
4025 ac_ext=c
4026 ac_cpp='$CPP $CPPFLAGS'
4027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4030 if test -n "$ac_tool_prefix"; then
4031 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4032 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4034 $as_echo_n "checking for $ac_word... " >&6; }
4035 if ${ac_cv_prog_CC+:} false; then :
4036 $as_echo_n "(cached) " >&6
4037 else
4038 if test -n "$CC"; then
4039 ac_cv_prog_CC="$CC" # Let the user override the test.
4040 else
4041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4042 for as_dir in $PATH
4044 IFS=$as_save_IFS
4045 test -z "$as_dir" && as_dir=.
4046 for ac_exec_ext in '' $ac_executable_extensions; do
4047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4048 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4050 break 2
4052 done
4053 done
4054 IFS=$as_save_IFS
4058 CC=$ac_cv_prog_CC
4059 if test -n "$CC"; then
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4061 $as_echo "$CC" >&6; }
4062 else
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4064 $as_echo "no" >&6; }
4069 if test -z "$ac_cv_prog_CC"; then
4070 ac_ct_CC=$CC
4071 # Extract the first word of "gcc", so it can be a program name with args.
4072 set dummy gcc; ac_word=$2
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4074 $as_echo_n "checking for $ac_word... " >&6; }
4075 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4076 $as_echo_n "(cached) " >&6
4077 else
4078 if test -n "$ac_ct_CC"; then
4079 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4080 else
4081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4082 for as_dir in $PATH
4084 IFS=$as_save_IFS
4085 test -z "$as_dir" && as_dir=.
4086 for ac_exec_ext in '' $ac_executable_extensions; do
4087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4088 ac_cv_prog_ac_ct_CC="gcc"
4089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4090 break 2
4092 done
4093 done
4094 IFS=$as_save_IFS
4098 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4099 if test -n "$ac_ct_CC"; then
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4101 $as_echo "$ac_ct_CC" >&6; }
4102 else
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4104 $as_echo "no" >&6; }
4107 if test "x$ac_ct_CC" = x; then
4108 CC=""
4109 else
4110 case $cross_compiling:$ac_tool_warned in
4111 yes:)
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4114 ac_tool_warned=yes ;;
4115 esac
4116 CC=$ac_ct_CC
4118 else
4119 CC="$ac_cv_prog_CC"
4122 if test -z "$CC"; then
4123 if test -n "$ac_tool_prefix"; then
4124 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4125 set dummy ${ac_tool_prefix}cc; ac_word=$2
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4127 $as_echo_n "checking for $ac_word... " >&6; }
4128 if ${ac_cv_prog_CC+:} false; then :
4129 $as_echo_n "(cached) " >&6
4130 else
4131 if test -n "$CC"; then
4132 ac_cv_prog_CC="$CC" # Let the user override the test.
4133 else
4134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135 for as_dir in $PATH
4137 IFS=$as_save_IFS
4138 test -z "$as_dir" && as_dir=.
4139 for ac_exec_ext in '' $ac_executable_extensions; do
4140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4141 ac_cv_prog_CC="${ac_tool_prefix}cc"
4142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4143 break 2
4145 done
4146 done
4147 IFS=$as_save_IFS
4151 CC=$ac_cv_prog_CC
4152 if test -n "$CC"; then
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4154 $as_echo "$CC" >&6; }
4155 else
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4157 $as_echo "no" >&6; }
4163 if test -z "$CC"; then
4164 # Extract the first word of "cc", so it can be a program name with args.
4165 set dummy cc; ac_word=$2
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4167 $as_echo_n "checking for $ac_word... " >&6; }
4168 if ${ac_cv_prog_CC+:} false; then :
4169 $as_echo_n "(cached) " >&6
4170 else
4171 if test -n "$CC"; then
4172 ac_cv_prog_CC="$CC" # Let the user override the test.
4173 else
4174 ac_prog_rejected=no
4175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4176 for as_dir in $PATH
4178 IFS=$as_save_IFS
4179 test -z "$as_dir" && as_dir=.
4180 for ac_exec_ext in '' $ac_executable_extensions; do
4181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4182 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4183 ac_prog_rejected=yes
4184 continue
4186 ac_cv_prog_CC="cc"
4187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4188 break 2
4190 done
4191 done
4192 IFS=$as_save_IFS
4194 if test $ac_prog_rejected = yes; then
4195 # We found a bogon in the path, so make sure we never use it.
4196 set dummy $ac_cv_prog_CC
4197 shift
4198 if test $# != 0; then
4199 # We chose a different compiler from the bogus one.
4200 # However, it has the same basename, so the bogon will be chosen
4201 # first if we set CC to just the basename; use the full file name.
4202 shift
4203 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4208 CC=$ac_cv_prog_CC
4209 if test -n "$CC"; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4211 $as_echo "$CC" >&6; }
4212 else
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4219 if test -z "$CC"; then
4220 if test -n "$ac_tool_prefix"; then
4221 for ac_prog in cl.exe
4223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4224 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if ${ac_cv_prog_CC+:} false; then :
4228 $as_echo_n "(cached) " >&6
4229 else
4230 if test -n "$CC"; then
4231 ac_cv_prog_CC="$CC" # Let the user override the test.
4232 else
4233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4234 for as_dir in $PATH
4236 IFS=$as_save_IFS
4237 test -z "$as_dir" && as_dir=.
4238 for ac_exec_ext in '' $ac_executable_extensions; do
4239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4240 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4242 break 2
4244 done
4245 done
4246 IFS=$as_save_IFS
4250 CC=$ac_cv_prog_CC
4251 if test -n "$CC"; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4253 $as_echo "$CC" >&6; }
4254 else
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4260 test -n "$CC" && break
4261 done
4263 if test -z "$CC"; then
4264 ac_ct_CC=$CC
4265 for ac_prog in cl.exe
4267 # Extract the first word of "$ac_prog", so it can be a program name with args.
4268 set dummy $ac_prog; ac_word=$2
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4270 $as_echo_n "checking for $ac_word... " >&6; }
4271 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4272 $as_echo_n "(cached) " >&6
4273 else
4274 if test -n "$ac_ct_CC"; then
4275 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4276 else
4277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4278 for as_dir in $PATH
4280 IFS=$as_save_IFS
4281 test -z "$as_dir" && as_dir=.
4282 for ac_exec_ext in '' $ac_executable_extensions; do
4283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4284 ac_cv_prog_ac_ct_CC="$ac_prog"
4285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4286 break 2
4288 done
4289 done
4290 IFS=$as_save_IFS
4294 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4295 if test -n "$ac_ct_CC"; then
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4297 $as_echo "$ac_ct_CC" >&6; }
4298 else
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4304 test -n "$ac_ct_CC" && break
4305 done
4307 if test "x$ac_ct_CC" = x; then
4308 CC=""
4309 else
4310 case $cross_compiling:$ac_tool_warned in
4311 yes:)
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4314 ac_tool_warned=yes ;;
4315 esac
4316 CC=$ac_ct_CC
4323 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4325 as_fn_error $? "no acceptable C compiler found in \$PATH
4326 See \`config.log' for more details" "$LINENO" 5; }
4328 # Provide some information about the compiler.
4329 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4330 set X $ac_compile
4331 ac_compiler=$2
4332 for ac_option in --version -v -V -qversion; do
4333 { { ac_try="$ac_compiler $ac_option >&5"
4334 case "(($ac_try" in
4335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4336 *) ac_try_echo=$ac_try;;
4337 esac
4338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4339 $as_echo "$ac_try_echo"; } >&5
4340 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4341 ac_status=$?
4342 if test -s conftest.err; then
4343 sed '10a\
4344 ... rest of stderr output deleted ...
4345 10q' conftest.err >conftest.er1
4346 cat conftest.er1 >&5
4348 rm -f conftest.er1 conftest.err
4349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4350 test $ac_status = 0; }
4351 done
4353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4354 /* end confdefs.h. */
4357 main ()
4361 return 0;
4363 _ACEOF
4364 ac_clean_files_save=$ac_clean_files
4365 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4366 # Try to create an executable without -o first, disregard a.out.
4367 # It will help us diagnose broken compilers, and finding out an intuition
4368 # of exeext.
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4370 $as_echo_n "checking whether the C compiler works... " >&6; }
4371 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4373 # The possible output files:
4374 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4376 ac_rmfiles=
4377 for ac_file in $ac_files
4379 case $ac_file in
4380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4381 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4382 esac
4383 done
4384 rm -f $ac_rmfiles
4386 if { { ac_try="$ac_link_default"
4387 case "(($ac_try" in
4388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4389 *) ac_try_echo=$ac_try;;
4390 esac
4391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4392 $as_echo "$ac_try_echo"; } >&5
4393 (eval "$ac_link_default") 2>&5
4394 ac_status=$?
4395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4396 test $ac_status = 0; }; then :
4397 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4398 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4399 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4400 # so that the user can short-circuit this test for compilers unknown to
4401 # Autoconf.
4402 for ac_file in $ac_files ''
4404 test -f "$ac_file" || continue
4405 case $ac_file in
4406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4408 [ab].out )
4409 # We found the default executable, but exeext='' is most
4410 # certainly right.
4411 break;;
4412 *.* )
4413 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4414 then :; else
4415 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4417 # We set ac_cv_exeext here because the later test for it is not
4418 # safe: cross compilers may not add the suffix if given an `-o'
4419 # argument, so we may need to know it at that point already.
4420 # Even if this section looks crufty: it has the advantage of
4421 # actually working.
4422 break;;
4424 break;;
4425 esac
4426 done
4427 test "$ac_cv_exeext" = no && ac_cv_exeext=
4429 else
4430 ac_file=''
4432 if test -z "$ac_file"; then :
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4435 $as_echo "$as_me: failed program was:" >&5
4436 sed 's/^/| /' conftest.$ac_ext >&5
4438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4440 as_fn_error 77 "C compiler cannot create executables
4441 See \`config.log' for more details" "$LINENO" 5; }
4442 else
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4444 $as_echo "yes" >&6; }
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4447 $as_echo_n "checking for C compiler default output file name... " >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4449 $as_echo "$ac_file" >&6; }
4450 ac_exeext=$ac_cv_exeext
4452 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4453 ac_clean_files=$ac_clean_files_save
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4455 $as_echo_n "checking for suffix of executables... " >&6; }
4456 if { { ac_try="$ac_link"
4457 case "(($ac_try" in
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4460 esac
4461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4462 $as_echo "$ac_try_echo"; } >&5
4463 (eval "$ac_link") 2>&5
4464 ac_status=$?
4465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466 test $ac_status = 0; }; then :
4467 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4468 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4469 # work properly (i.e., refer to `conftest.exe'), while it won't with
4470 # `rm'.
4471 for ac_file in conftest.exe conftest conftest.*; do
4472 test -f "$ac_file" || continue
4473 case $ac_file in
4474 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4475 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4476 break;;
4477 * ) break;;
4478 esac
4479 done
4480 else
4481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4483 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4484 See \`config.log' for more details" "$LINENO" 5; }
4486 rm -f conftest conftest$ac_cv_exeext
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4488 $as_echo "$ac_cv_exeext" >&6; }
4490 rm -f conftest.$ac_ext
4491 EXEEXT=$ac_cv_exeext
4492 ac_exeext=$EXEEXT
4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4495 #include <stdio.h>
4497 main ()
4499 FILE *f = fopen ("conftest.out", "w");
4500 return ferror (f) || fclose (f) != 0;
4503 return 0;
4505 _ACEOF
4506 ac_clean_files="$ac_clean_files conftest.out"
4507 # Check that the compiler produces executables we can run. If not, either
4508 # the compiler is broken, or we cross compile.
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4510 $as_echo_n "checking whether we are cross compiling... " >&6; }
4511 if test "$cross_compiling" != yes; then
4512 { { ac_try="$ac_link"
4513 case "(($ac_try" in
4514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4515 *) ac_try_echo=$ac_try;;
4516 esac
4517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4518 $as_echo "$ac_try_echo"; } >&5
4519 (eval "$ac_link") 2>&5
4520 ac_status=$?
4521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4522 test $ac_status = 0; }
4523 if { ac_try='./conftest$ac_cv_exeext'
4524 { { case "(($ac_try" in
4525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4526 *) ac_try_echo=$ac_try;;
4527 esac
4528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4529 $as_echo "$ac_try_echo"; } >&5
4530 (eval "$ac_try") 2>&5
4531 ac_status=$?
4532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4533 test $ac_status = 0; }; }; then
4534 cross_compiling=no
4535 else
4536 if test "$cross_compiling" = maybe; then
4537 cross_compiling=yes
4538 else
4539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4541 as_fn_error $? "cannot run C compiled programs.
4542 If you meant to cross compile, use \`--host'.
4543 See \`config.log' for more details" "$LINENO" 5; }
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4548 $as_echo "$cross_compiling" >&6; }
4550 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4551 ac_clean_files=$ac_clean_files_save
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4553 $as_echo_n "checking for suffix of object files... " >&6; }
4554 if ${ac_cv_objext+:} false; then :
4555 $as_echo_n "(cached) " >&6
4556 else
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4561 main ()
4565 return 0;
4567 _ACEOF
4568 rm -f conftest.o conftest.obj
4569 if { { ac_try="$ac_compile"
4570 case "(($ac_try" in
4571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4572 *) ac_try_echo=$ac_try;;
4573 esac
4574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4575 $as_echo "$ac_try_echo"; } >&5
4576 (eval "$ac_compile") 2>&5
4577 ac_status=$?
4578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4579 test $ac_status = 0; }; then :
4580 for ac_file in conftest.o conftest.obj conftest.*; do
4581 test -f "$ac_file" || continue;
4582 case $ac_file in
4583 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4584 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4585 break;;
4586 esac
4587 done
4588 else
4589 $as_echo "$as_me: failed program was:" >&5
4590 sed 's/^/| /' conftest.$ac_ext >&5
4592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4594 as_fn_error $? "cannot compute suffix of object files: cannot compile
4595 See \`config.log' for more details" "$LINENO" 5; }
4597 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4600 $as_echo "$ac_cv_objext" >&6; }
4601 OBJEXT=$ac_cv_objext
4602 ac_objext=$OBJEXT
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4604 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4605 if ${ac_cv_c_compiler_gnu+:} false; then :
4606 $as_echo_n "(cached) " >&6
4607 else
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4612 main ()
4614 #ifndef __GNUC__
4615 choke me
4616 #endif
4619 return 0;
4621 _ACEOF
4622 if ac_fn_c_try_compile "$LINENO"; then :
4623 ac_compiler_gnu=yes
4624 else
4625 ac_compiler_gnu=no
4627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4628 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4632 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4633 if test $ac_compiler_gnu = yes; then
4634 GCC=yes
4635 else
4636 GCC=
4638 ac_test_CFLAGS=${CFLAGS+set}
4639 ac_save_CFLAGS=$CFLAGS
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4641 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4642 if ${ac_cv_prog_cc_g+:} false; then :
4643 $as_echo_n "(cached) " >&6
4644 else
4645 ac_save_c_werror_flag=$ac_c_werror_flag
4646 ac_c_werror_flag=yes
4647 ac_cv_prog_cc_g=no
4648 CFLAGS="-g"
4649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4650 /* end confdefs.h. */
4653 main ()
4657 return 0;
4659 _ACEOF
4660 if ac_fn_c_try_compile "$LINENO"; then :
4661 ac_cv_prog_cc_g=yes
4662 else
4663 CFLAGS=""
4664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4668 main ()
4672 return 0;
4674 _ACEOF
4675 if ac_fn_c_try_compile "$LINENO"; then :
4677 else
4678 ac_c_werror_flag=$ac_save_c_werror_flag
4679 CFLAGS="-g"
4680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4684 main ()
4688 return 0;
4690 _ACEOF
4691 if ac_fn_c_try_compile "$LINENO"; then :
4692 ac_cv_prog_cc_g=yes
4694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4699 ac_c_werror_flag=$ac_save_c_werror_flag
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4702 $as_echo "$ac_cv_prog_cc_g" >&6; }
4703 if test "$ac_test_CFLAGS" = set; then
4704 CFLAGS=$ac_save_CFLAGS
4705 elif test $ac_cv_prog_cc_g = yes; then
4706 if test "$GCC" = yes; then
4707 CFLAGS="-g -O2"
4708 else
4709 CFLAGS="-g"
4711 else
4712 if test "$GCC" = yes; then
4713 CFLAGS="-O2"
4714 else
4715 CFLAGS=
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4719 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4720 if ${ac_cv_prog_cc_c89+:} false; then :
4721 $as_echo_n "(cached) " >&6
4722 else
4723 ac_cv_prog_cc_c89=no
4724 ac_save_CC=$CC
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4727 #include <stdarg.h>
4728 #include <stdio.h>
4729 struct stat;
4730 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4731 struct buf { int x; };
4732 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4733 static char *e (p, i)
4734 char **p;
4735 int i;
4737 return p[i];
4739 static char *f (char * (*g) (char **, int), char **p, ...)
4741 char *s;
4742 va_list v;
4743 va_start (v,p);
4744 s = g (p, va_arg (v,int));
4745 va_end (v);
4746 return s;
4749 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4750 function prototypes and stuff, but not '\xHH' hex character constants.
4751 These don't provoke an error unfortunately, instead are silently treated
4752 as 'x'. The following induces an error, until -std is added to get
4753 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4754 array size at least. It's necessary to write '\x00'==0 to get something
4755 that's true only with -std. */
4756 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4758 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4759 inside strings and character constants. */
4760 #define FOO(x) 'x'
4761 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4763 int test (int i, double x);
4764 struct s1 {int (*f) (int a);};
4765 struct s2 {int (*f) (double a);};
4766 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4767 int argc;
4768 char **argv;
4770 main ()
4772 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4774 return 0;
4776 _ACEOF
4777 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4778 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4780 CC="$ac_save_CC $ac_arg"
4781 if ac_fn_c_try_compile "$LINENO"; then :
4782 ac_cv_prog_cc_c89=$ac_arg
4784 rm -f core conftest.err conftest.$ac_objext
4785 test "x$ac_cv_prog_cc_c89" != "xno" && break
4786 done
4787 rm -f conftest.$ac_ext
4788 CC=$ac_save_CC
4791 # AC_CACHE_VAL
4792 case "x$ac_cv_prog_cc_c89" in
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4795 $as_echo "none needed" >&6; } ;;
4796 xno)
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4798 $as_echo "unsupported" >&6; } ;;
4800 CC="$CC $ac_cv_prog_cc_c89"
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4802 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4803 esac
4804 if test "x$ac_cv_prog_cc_c89" != xno; then :
4808 ac_ext=c
4809 ac_cpp='$CPP $CPPFLAGS'
4810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4814 ac_ext=cpp
4815 ac_cpp='$CXXCPP $CPPFLAGS'
4816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4819 if test -z "$CXX"; then
4820 if test -n "$CCC"; then
4821 CXX=$CCC
4822 else
4823 if test -n "$ac_tool_prefix"; then
4824 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4827 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if ${ac_cv_prog_CXX+:} false; then :
4831 $as_echo_n "(cached) " >&6
4832 else
4833 if test -n "$CXX"; then
4834 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4835 else
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 for as_dir in $PATH
4839 IFS=$as_save_IFS
4840 test -z "$as_dir" && as_dir=.
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4843 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 break 2
4847 done
4848 done
4849 IFS=$as_save_IFS
4853 CXX=$ac_cv_prog_CXX
4854 if test -n "$CXX"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4856 $as_echo "$CXX" >&6; }
4857 else
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4863 test -n "$CXX" && break
4864 done
4866 if test -z "$CXX"; then
4867 ac_ct_CXX=$CXX
4868 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4870 # Extract the first word of "$ac_prog", so it can be a program name with args.
4871 set dummy $ac_prog; ac_word=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4875 $as_echo_n "(cached) " >&6
4876 else
4877 if test -n "$ac_ct_CXX"; then
4878 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4879 else
4880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4881 for as_dir in $PATH
4883 IFS=$as_save_IFS
4884 test -z "$as_dir" && as_dir=.
4885 for ac_exec_ext in '' $ac_executable_extensions; do
4886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_ac_ct_CXX="$ac_prog"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 break 2
4891 done
4892 done
4893 IFS=$as_save_IFS
4897 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4898 if test -n "$ac_ct_CXX"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4900 $as_echo "$ac_ct_CXX" >&6; }
4901 else
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4907 test -n "$ac_ct_CXX" && break
4908 done
4910 if test "x$ac_ct_CXX" = x; then
4911 CXX="g++"
4912 else
4913 case $cross_compiling:$ac_tool_warned in
4914 yes:)
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4917 ac_tool_warned=yes ;;
4918 esac
4919 CXX=$ac_ct_CXX
4925 # Provide some information about the compiler.
4926 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4927 set X $ac_compile
4928 ac_compiler=$2
4929 for ac_option in --version -v -V -qversion; do
4930 { { ac_try="$ac_compiler $ac_option >&5"
4931 case "(($ac_try" in
4932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4933 *) ac_try_echo=$ac_try;;
4934 esac
4935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4936 $as_echo "$ac_try_echo"; } >&5
4937 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4938 ac_status=$?
4939 if test -s conftest.err; then
4940 sed '10a\
4941 ... rest of stderr output deleted ...
4942 10q' conftest.err >conftest.er1
4943 cat conftest.er1 >&5
4945 rm -f conftest.er1 conftest.err
4946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4947 test $ac_status = 0; }
4948 done
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4951 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4952 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4959 main ()
4961 #ifndef __GNUC__
4962 choke me
4963 #endif
4966 return 0;
4968 _ACEOF
4969 if ac_fn_cxx_try_compile "$LINENO"; then :
4970 ac_compiler_gnu=yes
4971 else
4972 ac_compiler_gnu=no
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4979 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4980 if test $ac_compiler_gnu = yes; then
4981 GXX=yes
4982 else
4983 GXX=
4985 ac_test_CXXFLAGS=${CXXFLAGS+set}
4986 ac_save_CXXFLAGS=$CXXFLAGS
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4988 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4989 if ${ac_cv_prog_cxx_g+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4993 ac_cxx_werror_flag=yes
4994 ac_cv_prog_cxx_g=no
4995 CXXFLAGS="-g"
4996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4997 /* end confdefs.h. */
5000 main ()
5004 return 0;
5006 _ACEOF
5007 if ac_fn_cxx_try_compile "$LINENO"; then :
5008 ac_cv_prog_cxx_g=yes
5009 else
5010 CXXFLAGS=""
5011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5015 main ()
5019 return 0;
5021 _ACEOF
5022 if ac_fn_cxx_try_compile "$LINENO"; then :
5024 else
5025 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5026 CXXFLAGS="-g"
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5031 main ()
5035 return 0;
5037 _ACEOF
5038 if ac_fn_cxx_try_compile "$LINENO"; then :
5039 ac_cv_prog_cxx_g=yes
5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5049 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5050 if test "$ac_test_CXXFLAGS" = set; then
5051 CXXFLAGS=$ac_save_CXXFLAGS
5052 elif test $ac_cv_prog_cxx_g = yes; then
5053 if test "$GXX" = yes; then
5054 CXXFLAGS="-g -O2"
5055 else
5056 CXXFLAGS="-g"
5058 else
5059 if test "$GXX" = yes; then
5060 CXXFLAGS="-O2"
5061 else
5062 CXXFLAGS=
5065 ac_ext=c
5066 ac_cpp='$CPP $CPPFLAGS'
5067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5071 if test -n "$ac_tool_prefix"; then
5072 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5073 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5075 $as_echo_n "checking for $ac_word... " >&6; }
5076 if ${ac_cv_prog_CPPBIN+:} false; then :
5077 $as_echo_n "(cached) " >&6
5078 else
5079 if test -n "$CPPBIN"; then
5080 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5081 else
5082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5083 for as_dir in $PATH
5085 IFS=$as_save_IFS
5086 test -z "$as_dir" && as_dir=.
5087 for ac_exec_ext in '' $ac_executable_extensions; do
5088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5089 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5091 break 2
5093 done
5094 done
5095 IFS=$as_save_IFS
5099 CPPBIN=$ac_cv_prog_CPPBIN
5100 if test -n "$CPPBIN"; then
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5102 $as_echo "$CPPBIN" >&6; }
5103 else
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 $as_echo "no" >&6; }
5110 if test -z "$ac_cv_prog_CPPBIN"; then
5111 ac_ct_CPPBIN=$CPPBIN
5112 # Extract the first word of "cpp", so it can be a program name with args.
5113 set dummy cpp; ac_word=$2
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5115 $as_echo_n "checking for $ac_word... " >&6; }
5116 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5117 $as_echo_n "(cached) " >&6
5118 else
5119 if test -n "$ac_ct_CPPBIN"; then
5120 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5121 else
5122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5123 for as_dir in $PATH
5125 IFS=$as_save_IFS
5126 test -z "$as_dir" && as_dir=.
5127 for ac_exec_ext in '' $ac_executable_extensions; do
5128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5129 ac_cv_prog_ac_ct_CPPBIN="cpp"
5130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131 break 2
5133 done
5134 done
5135 IFS=$as_save_IFS
5139 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5140 if test -n "$ac_ct_CPPBIN"; then
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5142 $as_echo "$ac_ct_CPPBIN" >&6; }
5143 else
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5145 $as_echo "no" >&6; }
5148 if test "x$ac_ct_CPPBIN" = x; then
5149 CPPBIN="cpp"
5150 else
5151 case $cross_compiling:$ac_tool_warned in
5152 yes:)
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5155 ac_tool_warned=yes ;;
5156 esac
5157 CPPBIN=$ac_ct_CPPBIN
5159 else
5160 CPPBIN="$ac_cv_prog_CPPBIN"
5164 cat >>confdefs.h <<_ACEOF
5165 #define EXEEXT "$ac_exeext"
5166 _ACEOF
5168 if test -n "$ac_tool_prefix"; then
5169 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5170 set dummy ${ac_tool_prefix}ld; ac_word=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if ${ac_cv_prog_LD+:} false; then :
5174 $as_echo_n "(cached) " >&6
5175 else
5176 if test -n "$LD"; then
5177 ac_cv_prog_LD="$LD" # Let the user override the test.
5178 else
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180 for as_dir in $PATH
5182 IFS=$as_save_IFS
5183 test -z "$as_dir" && as_dir=.
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5186 ac_cv_prog_LD="${ac_tool_prefix}ld"
5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5188 break 2
5190 done
5191 done
5192 IFS=$as_save_IFS
5196 LD=$ac_cv_prog_LD
5197 if test -n "$LD"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5199 $as_echo "$LD" >&6; }
5200 else
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5207 if test -z "$ac_cv_prog_LD"; then
5208 ac_ct_LD=$LD
5209 # Extract the first word of "ld", so it can be a program name with args.
5210 set dummy ld; ac_word=$2
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212 $as_echo_n "checking for $ac_word... " >&6; }
5213 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5214 $as_echo_n "(cached) " >&6
5215 else
5216 if test -n "$ac_ct_LD"; then
5217 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5218 else
5219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220 for as_dir in $PATH
5222 IFS=$as_save_IFS
5223 test -z "$as_dir" && as_dir=.
5224 for ac_exec_ext in '' $ac_executable_extensions; do
5225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5226 ac_cv_prog_ac_ct_LD="ld"
5227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 break 2
5230 done
5231 done
5232 IFS=$as_save_IFS
5236 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5237 if test -n "$ac_ct_LD"; then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5239 $as_echo "$ac_ct_LD" >&6; }
5240 else
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5245 if test "x$ac_ct_LD" = x; then
5246 LD=""
5247 else
5248 case $cross_compiling:$ac_tool_warned in
5249 yes:)
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5252 ac_tool_warned=yes ;;
5253 esac
5254 LD=$ac_ct_LD
5256 else
5257 LD="$ac_cv_prog_LD"
5261 case $host in
5262 *-darwin*)
5263 with_fontconfig=${with_fontconfig:-no}
5265 *-mingw32*|*-cygwin*)
5266 enable_win16=${enable_win16:-no}
5267 CFLAGS="$CFLAGS -D_WIN32"
5269 esac
5271 case $host in
5272 x86_64*|amd64*)
5273 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5274 then
5275 CC="$CC -m32"
5276 CXX="$CXX -m32"
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5278 $as_echo_n "checking whether $CC works... " >&6; }
5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5284 main ()
5288 return 0;
5290 _ACEOF
5291 if ac_fn_c_try_link "$LINENO"; then :
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5293 $as_echo "yes" >&6; }
5294 else
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5297 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5299 rm -f core conftest.err conftest.$ac_objext \
5300 conftest$ac_exeext conftest.$ac_ext
5301 host_cpu="i386"
5302 notice_platform="32-bit "
5303 TARGETFLAGS="-m32"
5305 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5306 export PKG_CONFIG_PATH
5307 enable_win16=${enable_win16:-yes}
5308 else
5309 if test "x${GCC}" = "xyes"
5310 then
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5312 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5314 /* end confdefs.h. */
5315 #include <stdarg.h>
5317 main ()
5319 void func(__builtin_ms_va_list *args);
5321 return 0;
5323 _ACEOF
5324 if ac_fn_c_try_compile "$LINENO"; then :
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5326 $as_echo "yes" >&6; }
5327 else
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5330 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5334 CC="$CC -m64"
5335 CXX="$CXX -m64"
5336 host_cpu="x86_64"
5337 notice_platform="64-bit "
5338 TARGETFLAGS="-m64"
5342 arm*)
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5344 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5346 /* end confdefs.h. */
5347 int ac_test(int i) { return i; }
5349 main ()
5351 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5353 return 0;
5355 _ACEOF
5356 if ac_fn_c_try_link "$LINENO"; then :
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5358 $as_echo "yes" >&6; }
5359 else
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5361 $as_echo "no" >&6; }
5362 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5364 rm -f core conftest.err conftest.$ac_objext \
5365 conftest$ac_exeext conftest.$ac_ext
5366 case $with_float_abi in
5367 soft|softfp|hard)
5368 float_abi=$with_float_abi ;;
5370 case $host_os in
5371 *eabihf)
5372 float_abi=hard ;;
5374 float_abi=softfp
5375 saved_CFLAGS=$CFLAGS
5376 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5378 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5383 main ()
5385 asm("vmrs r2,fpscr");
5387 return 0;
5389 _ACEOF
5390 if ac_fn_c_try_link "$LINENO"; then :
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5392 $as_echo "yes" >&6; }
5393 else
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5396 float_abi=soft
5397 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5399 rm -f core conftest.err conftest.$ac_objext \
5400 conftest$ac_exeext conftest.$ac_ext
5401 CFLAGS=$saved_CFLAGS
5402 esac
5404 esac
5405 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5406 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5409 i[3456789]86*)
5410 enable_win16=${enable_win16:-yes}
5412 esac
5414 enable_win16=${enable_win16:-no}
5415 enable_win64=${enable_win64:-no}
5417 enable_winetest=${enable_winetest:-$enable_tests}
5419 if test -n "$with_wine64"
5420 then
5421 if test "x$enable_win64" = "xyes"
5422 then
5423 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5424 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5426 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5427 You should create a separate build directory and run configure from there." "$LINENO" 5
5428 enable_fonts=${enable_fonts:-no}
5429 enable_server=${enable_server:-no}
5430 wine64_disable=\#
5432 elif test "x$enable_win64" = "xyes"
5433 then
5434 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5438 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5439 if ${wine_cv_toolsdir+:} false; then :
5440 $as_echo_n "(cached) " >&6
5441 else
5442 wine_cv_toolsdir="$with_wine_tools"
5443 if test -z "$with_wine_tools"; then
5444 if test "$cross_compiling" = "yes"; then
5445 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5446 elif test -n "$with_wine64"; then
5447 wine_cv_toolsdir="$with_wine64"
5450 if test -z "$wine_cv_toolsdir"; then
5451 wine_makedep=tools/makedep
5452 wine_cv_toolsdir="\$(top_builddir)"
5453 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5454 wine_makedep=$wine_cv_toolsdir/tools/makedep
5455 case "$wine_cv_toolsdir" in
5456 /*) ;;
5457 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5458 esac
5459 enable_tools=${enable_tools:-no}
5460 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5461 else
5462 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5466 $as_echo "$wine_cv_toolsdir" >&6; }
5467 TOOLSDIR=$wine_cv_toolsdir
5469 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5470 then
5471 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5475 for ac_prog in flex
5477 # Extract the first word of "$ac_prog", so it can be a program name with args.
5478 set dummy $ac_prog; ac_word=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if ${ac_cv_prog_FLEX+:} false; then :
5482 $as_echo_n "(cached) " >&6
5483 else
5484 if test -n "$FLEX"; then
5485 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5486 else
5487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488 for as_dir in $PATH
5490 IFS=$as_save_IFS
5491 test -z "$as_dir" && as_dir=.
5492 for ac_exec_ext in '' $ac_executable_extensions; do
5493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5494 ac_cv_prog_FLEX="$ac_prog"
5495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 break 2
5498 done
5499 done
5500 IFS=$as_save_IFS
5504 FLEX=$ac_cv_prog_FLEX
5505 if test -n "$FLEX"; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5507 $as_echo "$FLEX" >&6; }
5508 else
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5514 test -n "$FLEX" && break
5515 done
5516 test -n "$FLEX" || FLEX="none"
5518 if test "$FLEX" = "none"
5519 then
5520 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5523 $as_echo_n "checking whether flex is recent enough... " >&6; }
5524 cat >conftest.l <<EOF
5525 %top{
5526 #include "prediluvian.h"
5530 if $FLEX -t conftest.l >/dev/null 2>&5
5531 then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5533 $as_echo "yes" >&6; }
5534 else
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5537 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5540 for ac_prog in bison
5542 # Extract the first word of "$ac_prog", so it can be a program name with args.
5543 set dummy $ac_prog; ac_word=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_prog_BISON+:} false; then :
5547 $as_echo_n "(cached) " >&6
5548 else
5549 if test -n "$BISON"; then
5550 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5551 else
5552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553 for as_dir in $PATH
5555 IFS=$as_save_IFS
5556 test -z "$as_dir" && as_dir=.
5557 for ac_exec_ext in '' $ac_executable_extensions; do
5558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5559 ac_cv_prog_BISON="$ac_prog"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 break 2
5563 done
5564 done
5565 IFS=$as_save_IFS
5569 BISON=$ac_cv_prog_BISON
5570 if test -n "$BISON"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5572 $as_echo "$BISON" >&6; }
5573 else
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5579 test -n "$BISON" && break
5580 done
5581 test -n "$BISON" || BISON="none"
5583 if test "$BISON" = "none"
5584 then
5585 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5588 if test -n "$ac_tool_prefix"; then
5589 for ac_prog in ar gar
5591 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5592 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_AR+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 if test -n "$AR"; then
5599 ac_cv_prog_AR="$AR" # Let the user override the test.
5600 else
5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602 for as_dir in $PATH
5604 IFS=$as_save_IFS
5605 test -z "$as_dir" && as_dir=.
5606 for ac_exec_ext in '' $ac_executable_extensions; do
5607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5608 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 break 2
5612 done
5613 done
5614 IFS=$as_save_IFS
5618 AR=$ac_cv_prog_AR
5619 if test -n "$AR"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5621 $as_echo "$AR" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5628 test -n "$AR" && break
5629 done
5631 if test -z "$AR"; then
5632 ac_ct_AR=$AR
5633 for ac_prog in ar gar
5635 # Extract the first word of "$ac_prog", so it can be a program name with args.
5636 set dummy $ac_prog; ac_word=$2
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5638 $as_echo_n "checking for $ac_word... " >&6; }
5639 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5640 $as_echo_n "(cached) " >&6
5641 else
5642 if test -n "$ac_ct_AR"; then
5643 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5644 else
5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5646 for as_dir in $PATH
5648 IFS=$as_save_IFS
5649 test -z "$as_dir" && as_dir=.
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_ac_ct_AR="$ac_prog"
5653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5654 break 2
5656 done
5657 done
5658 IFS=$as_save_IFS
5662 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5663 if test -n "$ac_ct_AR"; then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5665 $as_echo "$ac_ct_AR" >&6; }
5666 else
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 $as_echo "no" >&6; }
5672 test -n "$ac_ct_AR" && break
5673 done
5675 if test "x$ac_ct_AR" = x; then
5676 AR="ar"
5677 else
5678 case $cross_compiling:$ac_tool_warned in
5679 yes:)
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5682 ac_tool_warned=yes ;;
5683 esac
5684 AR=$ac_ct_AR
5688 if test -n "$ac_tool_prefix"; then
5689 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5690 set dummy ${ac_tool_prefix}strip; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if ${ac_cv_prog_STRIP+:} false; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 if test -n "$STRIP"; then
5697 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5698 else
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 for as_dir in $PATH
5702 IFS=$as_save_IFS
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5706 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 break 2
5710 done
5711 done
5712 IFS=$as_save_IFS
5716 STRIP=$ac_cv_prog_STRIP
5717 if test -n "$STRIP"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5719 $as_echo "$STRIP" >&6; }
5720 else
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5727 if test -z "$ac_cv_prog_STRIP"; then
5728 ac_ct_STRIP=$STRIP
5729 # Extract the first word of "strip", so it can be a program name with args.
5730 set dummy strip; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 if test -n "$ac_ct_STRIP"; then
5737 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5738 else
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_ac_ct_STRIP="strip"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 break 2
5750 done
5751 done
5752 IFS=$as_save_IFS
5756 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5757 if test -n "$ac_ct_STRIP"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5759 $as_echo "$ac_ct_STRIP" >&6; }
5760 else
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5765 if test "x$ac_ct_STRIP" = x; then
5766 STRIP="strip"
5767 else
5768 case $cross_compiling:$ac_tool_warned in
5769 yes:)
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5772 ac_tool_warned=yes ;;
5773 esac
5774 STRIP=$ac_ct_STRIP
5776 else
5777 STRIP="$ac_cv_prog_STRIP"
5780 ARFLAGS=rc
5782 if test -n "$ac_tool_prefix"; then
5783 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5784 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if ${ac_cv_prog_RANLIB+:} false; then :
5788 $as_echo_n "(cached) " >&6
5789 else
5790 if test -n "$RANLIB"; then
5791 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5800 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 break 2
5804 done
5805 done
5806 IFS=$as_save_IFS
5810 RANLIB=$ac_cv_prog_RANLIB
5811 if test -n "$RANLIB"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5813 $as_echo "$RANLIB" >&6; }
5814 else
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5821 if test -z "$ac_cv_prog_RANLIB"; then
5822 ac_ct_RANLIB=$RANLIB
5823 # Extract the first word of "ranlib", so it can be a program name with args.
5824 set dummy ranlib; ac_word=$2
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5826 $as_echo_n "checking for $ac_word... " >&6; }
5827 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5828 $as_echo_n "(cached) " >&6
5829 else
5830 if test -n "$ac_ct_RANLIB"; then
5831 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5832 else
5833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5834 for as_dir in $PATH
5836 IFS=$as_save_IFS
5837 test -z "$as_dir" && as_dir=.
5838 for ac_exec_ext in '' $ac_executable_extensions; do
5839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5840 ac_cv_prog_ac_ct_RANLIB="ranlib"
5841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 break 2
5844 done
5845 done
5846 IFS=$as_save_IFS
5850 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5851 if test -n "$ac_ct_RANLIB"; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5853 $as_echo "$ac_ct_RANLIB" >&6; }
5854 else
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5856 $as_echo "no" >&6; }
5859 if test "x$ac_ct_RANLIB" = x; then
5860 RANLIB=":"
5861 else
5862 case $cross_compiling:$ac_tool_warned in
5863 yes:)
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5866 ac_tool_warned=yes ;;
5867 esac
5868 RANLIB=$ac_ct_RANLIB
5870 else
5871 RANLIB="$ac_cv_prog_RANLIB"
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5875 $as_echo_n "checking whether ln -s works... " >&6; }
5876 LN_S=$as_ln_s
5877 if test "$LN_S" = "ln -s"; then
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5879 $as_echo "yes" >&6; }
5880 else
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5882 $as_echo "no, using $LN_S" >&6; }
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5886 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5887 if ${ac_cv_path_GREP+:} false; then :
5888 $as_echo_n "(cached) " >&6
5889 else
5890 if test -z "$GREP"; then
5891 ac_path_GREP_found=false
5892 # Loop through the user's path and test for each of PROGNAME-LIST
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5896 IFS=$as_save_IFS
5897 test -z "$as_dir" && as_dir=.
5898 for ac_prog in grep ggrep; do
5899 for ac_exec_ext in '' $ac_executable_extensions; do
5900 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5901 as_fn_executable_p "$ac_path_GREP" || continue
5902 # Check for GNU ac_path_GREP and select it if it is found.
5903 # Check for GNU $ac_path_GREP
5904 case `"$ac_path_GREP" --version 2>&1` in
5905 *GNU*)
5906 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5908 ac_count=0
5909 $as_echo_n 0123456789 >"conftest.in"
5910 while :
5912 cat "conftest.in" "conftest.in" >"conftest.tmp"
5913 mv "conftest.tmp" "conftest.in"
5914 cp "conftest.in" "conftest.nl"
5915 $as_echo 'GREP' >> "conftest.nl"
5916 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5917 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5918 as_fn_arith $ac_count + 1 && ac_count=$as_val
5919 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5920 # Best one so far, save it but keep looking for a better one
5921 ac_cv_path_GREP="$ac_path_GREP"
5922 ac_path_GREP_max=$ac_count
5924 # 10*(2^10) chars as input seems more than enough
5925 test $ac_count -gt 10 && break
5926 done
5927 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5928 esac
5930 $ac_path_GREP_found && break 3
5931 done
5932 done
5933 done
5934 IFS=$as_save_IFS
5935 if test -z "$ac_cv_path_GREP"; then
5936 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5938 else
5939 ac_cv_path_GREP=$GREP
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5944 $as_echo "$ac_cv_path_GREP" >&6; }
5945 GREP="$ac_cv_path_GREP"
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5949 $as_echo_n "checking for egrep... " >&6; }
5950 if ${ac_cv_path_EGREP+:} false; then :
5951 $as_echo_n "(cached) " >&6
5952 else
5953 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5954 then ac_cv_path_EGREP="$GREP -E"
5955 else
5956 if test -z "$EGREP"; then
5957 ac_path_EGREP_found=false
5958 # Loop through the user's path and test for each of PROGNAME-LIST
5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5962 IFS=$as_save_IFS
5963 test -z "$as_dir" && as_dir=.
5964 for ac_prog in egrep; do
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5967 as_fn_executable_p "$ac_path_EGREP" || continue
5968 # Check for GNU ac_path_EGREP and select it if it is found.
5969 # Check for GNU $ac_path_EGREP
5970 case `"$ac_path_EGREP" --version 2>&1` in
5971 *GNU*)
5972 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5974 ac_count=0
5975 $as_echo_n 0123456789 >"conftest.in"
5976 while :
5978 cat "conftest.in" "conftest.in" >"conftest.tmp"
5979 mv "conftest.tmp" "conftest.in"
5980 cp "conftest.in" "conftest.nl"
5981 $as_echo 'EGREP' >> "conftest.nl"
5982 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5983 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5984 as_fn_arith $ac_count + 1 && ac_count=$as_val
5985 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5986 # Best one so far, save it but keep looking for a better one
5987 ac_cv_path_EGREP="$ac_path_EGREP"
5988 ac_path_EGREP_max=$ac_count
5990 # 10*(2^10) chars as input seems more than enough
5991 test $ac_count -gt 10 && break
5992 done
5993 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5994 esac
5996 $ac_path_EGREP_found && break 3
5997 done
5998 done
5999 done
6000 IFS=$as_save_IFS
6001 if test -z "$ac_cv_path_EGREP"; then
6002 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6004 else
6005 ac_cv_path_EGREP=$EGREP
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6011 $as_echo "$ac_cv_path_EGREP" >&6; }
6012 EGREP="$ac_cv_path_EGREP"
6015 # Extract the first word of "ldconfig", so it can be a program name with args.
6016 set dummy ldconfig; ac_word=$2
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 $as_echo_n "checking for $ac_word... " >&6; }
6019 if ${ac_cv_path_LDCONFIG+:} false; then :
6020 $as_echo_n "(cached) " >&6
6021 else
6022 case $LDCONFIG in
6023 [\\/]* | ?:[\\/]*)
6024 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in /sbin /usr/sbin $PATH
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6038 done
6039 done
6040 IFS=$as_save_IFS
6042 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6044 esac
6046 LDCONFIG=$ac_cv_path_LDCONFIG
6047 if test -n "$LDCONFIG"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6049 $as_echo "$LDCONFIG" >&6; }
6050 else
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6056 for ac_prog in msgfmt
6058 # Extract the first word of "$ac_prog", so it can be a program name with args.
6059 set dummy $ac_prog; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_MSGFMT+:} false; then :
6063 $as_echo_n "(cached) " >&6
6064 else
6065 if test -n "$MSGFMT"; then
6066 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6071 IFS=$as_save_IFS
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_MSGFMT="$ac_prog"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 break 2
6079 done
6080 done
6081 IFS=$as_save_IFS
6085 MSGFMT=$ac_cv_prog_MSGFMT
6086 if test -n "$MSGFMT"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6088 $as_echo "$MSGFMT" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6095 test -n "$MSGFMT" && break
6096 done
6097 test -n "$MSGFMT" || MSGFMT="false"
6099 if ${ac_tool_prefix+:} false; then :
6100 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6101 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103 $as_echo_n "checking for $ac_word... " >&6; }
6104 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6105 $as_echo_n "(cached) " >&6
6106 else
6107 if test -n "$PKG_CONFIG"; then
6108 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6109 else
6110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111 for as_dir in $PATH
6113 IFS=$as_save_IFS
6114 test -z "$as_dir" && as_dir=.
6115 for ac_exec_ext in '' $ac_executable_extensions; do
6116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6117 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119 break 2
6121 done
6122 done
6123 IFS=$as_save_IFS
6127 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6128 if test -n "$PKG_CONFIG"; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6130 $as_echo "$PKG_CONFIG" >&6; }
6131 else
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133 $as_echo "no" >&6; }
6138 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6139 if test "x$cross_compiling" = xyes; then :
6141 else
6142 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6143 # Extract the first word of "pkg-config", so it can be a program name with args.
6144 set dummy pkg-config; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; }
6147 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6148 $as_echo_n "(cached) " >&6
6149 else
6150 if test -n "$PKG_CONFIG"; then
6151 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6152 else
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154 for as_dir in $PATH
6156 IFS=$as_save_IFS
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160 ac_cv_prog_PKG_CONFIG="pkg-config"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 break 2
6164 done
6165 done
6166 IFS=$as_save_IFS
6170 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6171 if test -n "$PKG_CONFIG"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6173 $as_echo "$PKG_CONFIG" >&6; }
6174 else
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 $as_echo "no" >&6; }
6181 else
6182 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6185 if test "x$enable_maintainer_mode" != "xyes"
6186 then
6187 FONTFORGE=""
6188 RSVG=""
6189 CONVERT=""
6190 ICOTOOL=""
6191 else
6192 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6193 for ac_prog in fontforge
6195 # Extract the first word of "$ac_prog", so it can be a program name with args.
6196 set dummy $ac_prog; ac_word=$2
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6198 $as_echo_n "checking for $ac_word... " >&6; }
6199 if ${ac_cv_prog_FONTFORGE+:} false; then :
6200 $as_echo_n "(cached) " >&6
6201 else
6202 if test -n "$FONTFORGE"; then
6203 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6204 else
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6206 for as_dir in $PATH
6208 IFS=$as_save_IFS
6209 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6212 ac_cv_prog_FONTFORGE="$ac_prog"
6213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6214 break 2
6216 done
6217 done
6218 IFS=$as_save_IFS
6222 FONTFORGE=$ac_cv_prog_FONTFORGE
6223 if test -n "$FONTFORGE"; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6225 $as_echo "$FONTFORGE" >&6; }
6226 else
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 $as_echo "no" >&6; }
6232 test -n "$FONTFORGE" && break
6233 done
6234 test -n "$FONTFORGE" || FONTFORGE="false"
6236 for ac_prog in rsvg-convert rsvg
6238 # Extract the first word of "$ac_prog", so it can be a program name with args.
6239 set dummy $ac_prog; ac_word=$2
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6241 $as_echo_n "checking for $ac_word... " >&6; }
6242 if ${ac_cv_prog_RSVG+:} false; then :
6243 $as_echo_n "(cached) " >&6
6244 else
6245 if test -n "$RSVG"; then
6246 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6247 else
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH
6251 IFS=$as_save_IFS
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255 ac_cv_prog_RSVG="$ac_prog"
6256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 break 2
6259 done
6260 done
6261 IFS=$as_save_IFS
6265 RSVG=$ac_cv_prog_RSVG
6266 if test -n "$RSVG"; then
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6268 $as_echo "$RSVG" >&6; }
6269 else
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6271 $as_echo "no" >&6; }
6275 test -n "$RSVG" && break
6276 done
6277 test -n "$RSVG" || RSVG="false"
6279 for ac_prog in convert
6281 # Extract the first word of "$ac_prog", so it can be a program name with args.
6282 set dummy $ac_prog; ac_word=$2
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6284 $as_echo_n "checking for $ac_word... " >&6; }
6285 if ${ac_cv_prog_CONVERT+:} false; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 if test -n "$CONVERT"; then
6289 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6290 else
6291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 for as_dir in $PATH
6294 IFS=$as_save_IFS
6295 test -z "$as_dir" && as_dir=.
6296 for ac_exec_ext in '' $ac_executable_extensions; do
6297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6298 ac_cv_prog_CONVERT="$ac_prog"
6299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 break 2
6302 done
6303 done
6304 IFS=$as_save_IFS
6308 CONVERT=$ac_cv_prog_CONVERT
6309 if test -n "$CONVERT"; then
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6311 $as_echo "$CONVERT" >&6; }
6312 else
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6314 $as_echo "no" >&6; }
6318 test -n "$CONVERT" && break
6319 done
6320 test -n "$CONVERT" || CONVERT="false"
6322 for ac_prog in icotool
6324 # Extract the first word of "$ac_prog", so it can be a program name with args.
6325 set dummy $ac_prog; ac_word=$2
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6327 $as_echo_n "checking for $ac_word... " >&6; }
6328 if ${ac_cv_prog_ICOTOOL+:} false; then :
6329 $as_echo_n "(cached) " >&6
6330 else
6331 if test -n "$ICOTOOL"; then
6332 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6333 else
6334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6335 for as_dir in $PATH
6337 IFS=$as_save_IFS
6338 test -z "$as_dir" && as_dir=.
6339 for ac_exec_ext in '' $ac_executable_extensions; do
6340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6341 ac_cv_prog_ICOTOOL="$ac_prog"
6342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6343 break 2
6345 done
6346 done
6347 IFS=$as_save_IFS
6351 ICOTOOL=$ac_cv_prog_ICOTOOL
6352 if test -n "$ICOTOOL"; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6354 $as_echo "$ICOTOOL" >&6; }
6355 else
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6357 $as_echo "no" >&6; }
6361 test -n "$ICOTOOL" && break
6362 done
6363 test -n "$ICOTOOL" || ICOTOOL="false"
6365 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6366 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6368 if test "$CONVERT" = false
6369 then
6370 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6371 else
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6373 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6374 convert_version=`convert --version | head -n1`
6375 if test "x$convert_version" != "x"
6376 then
6377 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6378 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6379 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6380 then
6381 CONVERT=false
6384 if test "$CONVERT" = false
6385 then
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6387 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6388 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6389 else
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6391 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6395 if test "$ICOTOOL" = false
6396 then
6397 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6398 else
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6400 $as_echo_n "checking for recent enough icotool... " >&6; }
6401 icotool_version=`icotool --version | head -n1`
6402 if test "x$icotool_version" != "x"
6403 then
6404 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6405 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6406 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6407 then
6408 ICOTOOL=false
6409 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6412 if test "$ICOTOOL" = false
6413 then
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6415 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6416 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6417 else
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6419 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6423 with_gettext=yes
6424 with_gettextpo=yes
6425 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6428 test "x$with_gettext" != xno || MSGFMT=false
6429 if test "$MSGFMT" != "false"
6430 then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6432 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6433 cat >conftest.po <<EOF
6434 # comment
6435 msgctxt "ctxt"
6436 msgid "id"
6437 msgstr "str"
6439 if $MSGFMT -o /dev/null conftest.po 2>&5
6440 then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6442 $as_echo "yes" >&6; }
6443 else
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 $as_echo "no" >&6; }
6446 MSGFMT=false
6449 if test "$MSGFMT" = false; then :
6450 case "x$with_gettext" in
6451 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6452 xno) ;;
6453 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6454 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6455 esac
6456 enable_po=${enable_po:-no}
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6461 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6462 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6463 $as_echo_n "(cached) " >&6
6464 else
6465 ac_check_lib_save_LIBS=$LIBS
6466 LIBS="-li386 $LIBS"
6467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6468 /* end confdefs.h. */
6470 /* Override any GCC internal prototype to avoid an error.
6471 Use char because int might match the return type of a GCC
6472 builtin and then its argument prototype would still apply. */
6473 #ifdef __cplusplus
6474 extern "C"
6475 #endif
6476 char i386_set_ldt ();
6478 main ()
6480 return i386_set_ldt ();
6482 return 0;
6484 _ACEOF
6485 if ac_fn_c_try_link "$LINENO"; then :
6486 ac_cv_lib_i386_i386_set_ldt=yes
6487 else
6488 ac_cv_lib_i386_i386_set_ldt=no
6490 rm -f core conftest.err conftest.$ac_objext \
6491 conftest$ac_exeext conftest.$ac_ext
6492 LIBS=$ac_check_lib_save_LIBS
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6495 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6496 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6497 cat >>confdefs.h <<_ACEOF
6498 #define HAVE_LIBI386 1
6499 _ACEOF
6501 LIBS="-li386 $LIBS"
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6506 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6507 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6508 $as_echo_n "(cached) " >&6
6509 else
6510 ac_check_lib_save_LIBS=$LIBS
6511 LIBS="-lossaudio $LIBS"
6512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6513 /* end confdefs.h. */
6515 /* Override any GCC internal prototype to avoid an error.
6516 Use char because int might match the return type of a GCC
6517 builtin and then its argument prototype would still apply. */
6518 #ifdef __cplusplus
6519 extern "C"
6520 #endif
6521 char _oss_ioctl ();
6523 main ()
6525 return _oss_ioctl ();
6527 return 0;
6529 _ACEOF
6530 if ac_fn_c_try_link "$LINENO"; then :
6531 ac_cv_lib_ossaudio__oss_ioctl=yes
6532 else
6533 ac_cv_lib_ossaudio__oss_ioctl=no
6535 rm -f core conftest.err conftest.$ac_objext \
6536 conftest$ac_exeext conftest.$ac_ext
6537 LIBS=$ac_check_lib_save_LIBS
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6540 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6541 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6542 cat >>confdefs.h <<_ACEOF
6543 #define HAVE_LIBOSSAUDIO 1
6544 _ACEOF
6546 LIBS="-lossaudio $LIBS"
6551 OPENGL_LIBS=""
6555 # Check whether --enable-largefile was given.
6556 if test "${enable_largefile+set}" = set; then :
6557 enableval=$enable_largefile;
6560 if test "$enable_largefile" != no; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6563 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6564 if ${ac_cv_sys_largefile_CC+:} false; then :
6565 $as_echo_n "(cached) " >&6
6566 else
6567 ac_cv_sys_largefile_CC=no
6568 if test "$GCC" != yes; then
6569 ac_save_CC=$CC
6570 while :; do
6571 # IRIX 6.2 and later do not support large files by default,
6572 # so use the C compiler's -n32 option if that helps.
6573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6574 /* end confdefs.h. */
6575 #include <sys/types.h>
6576 /* Check that off_t can represent 2**63 - 1 correctly.
6577 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6578 since some C++ compilers masquerading as C compilers
6579 incorrectly reject 9223372036854775807. */
6580 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6581 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6582 && LARGE_OFF_T % 2147483647 == 1)
6583 ? 1 : -1];
6585 main ()
6589 return 0;
6591 _ACEOF
6592 if ac_fn_c_try_compile "$LINENO"; then :
6593 break
6595 rm -f core conftest.err conftest.$ac_objext
6596 CC="$CC -n32"
6597 if ac_fn_c_try_compile "$LINENO"; then :
6598 ac_cv_sys_largefile_CC=' -n32'; break
6600 rm -f core conftest.err conftest.$ac_objext
6601 break
6602 done
6603 CC=$ac_save_CC
6604 rm -f conftest.$ac_ext
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6608 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6609 if test "$ac_cv_sys_largefile_CC" != no; then
6610 CC=$CC$ac_cv_sys_largefile_CC
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6614 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6615 if ${ac_cv_sys_file_offset_bits+:} false; then :
6616 $as_echo_n "(cached) " >&6
6617 else
6618 while :; do
6619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6620 /* end confdefs.h. */
6621 #include <sys/types.h>
6622 /* Check that off_t can represent 2**63 - 1 correctly.
6623 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6624 since some C++ compilers masquerading as C compilers
6625 incorrectly reject 9223372036854775807. */
6626 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6627 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6628 && LARGE_OFF_T % 2147483647 == 1)
6629 ? 1 : -1];
6631 main ()
6635 return 0;
6637 _ACEOF
6638 if ac_fn_c_try_compile "$LINENO"; then :
6639 ac_cv_sys_file_offset_bits=no; break
6641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6644 #define _FILE_OFFSET_BITS 64
6645 #include <sys/types.h>
6646 /* Check that off_t can represent 2**63 - 1 correctly.
6647 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6648 since some C++ compilers masquerading as C compilers
6649 incorrectly reject 9223372036854775807. */
6650 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6651 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6652 && LARGE_OFF_T % 2147483647 == 1)
6653 ? 1 : -1];
6655 main ()
6659 return 0;
6661 _ACEOF
6662 if ac_fn_c_try_compile "$LINENO"; then :
6663 ac_cv_sys_file_offset_bits=64; break
6665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6666 ac_cv_sys_file_offset_bits=unknown
6667 break
6668 done
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6671 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6672 case $ac_cv_sys_file_offset_bits in #(
6673 no | unknown) ;;
6675 cat >>confdefs.h <<_ACEOF
6676 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6677 _ACEOF
6679 esac
6680 rm -rf conftest*
6681 if test $ac_cv_sys_file_offset_bits = unknown; then
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6683 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6684 if ${ac_cv_sys_large_files+:} false; then :
6685 $as_echo_n "(cached) " >&6
6686 else
6687 while :; do
6688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6689 /* end confdefs.h. */
6690 #include <sys/types.h>
6691 /* Check that off_t can represent 2**63 - 1 correctly.
6692 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6693 since some C++ compilers masquerading as C compilers
6694 incorrectly reject 9223372036854775807. */
6695 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6696 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6697 && LARGE_OFF_T % 2147483647 == 1)
6698 ? 1 : -1];
6700 main ()
6704 return 0;
6706 _ACEOF
6707 if ac_fn_c_try_compile "$LINENO"; then :
6708 ac_cv_sys_large_files=no; break
6710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h. */
6713 #define _LARGE_FILES 1
6714 #include <sys/types.h>
6715 /* Check that off_t can represent 2**63 - 1 correctly.
6716 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6717 since some C++ compilers masquerading as C compilers
6718 incorrectly reject 9223372036854775807. */
6719 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6720 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6721 && LARGE_OFF_T % 2147483647 == 1)
6722 ? 1 : -1];
6724 main ()
6728 return 0;
6730 _ACEOF
6731 if ac_fn_c_try_compile "$LINENO"; then :
6732 ac_cv_sys_large_files=1; break
6734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6735 ac_cv_sys_large_files=unknown
6736 break
6737 done
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6740 $as_echo "$ac_cv_sys_large_files" >&6; }
6741 case $ac_cv_sys_large_files in #(
6742 no | unknown) ;;
6744 cat >>confdefs.h <<_ACEOF
6745 #define _LARGE_FILES $ac_cv_sys_large_files
6746 _ACEOF
6748 esac
6749 rm -rf conftest*
6756 ac_ext=c
6757 ac_cpp='$CPP $CPPFLAGS'
6758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6762 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6763 # On Suns, sometimes $CPP names a directory.
6764 if test -n "$CPP" && test -d "$CPP"; then
6765 CPP=
6767 if test -z "$CPP"; then
6768 if ${ac_cv_prog_CPP+:} false; then :
6769 $as_echo_n "(cached) " >&6
6770 else
6771 # Double quotes because CPP needs to be expanded
6772 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6774 ac_preproc_ok=false
6775 for ac_c_preproc_warn_flag in '' yes
6777 # Use a header file that comes with gcc, so configuring glibc
6778 # with a fresh cross-compiler works.
6779 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6780 # <limits.h> exists even on freestanding compilers.
6781 # On the NeXT, cc -E runs the code through the compiler's parser,
6782 # not just through cpp. "Syntax error" is here to catch this case.
6783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6784 /* end confdefs.h. */
6785 #ifdef __STDC__
6786 # include <limits.h>
6787 #else
6788 # include <assert.h>
6789 #endif
6790 Syntax error
6791 _ACEOF
6792 if ac_fn_c_try_cpp "$LINENO"; then :
6794 else
6795 # Broken: fails on valid input.
6796 continue
6798 rm -f conftest.err conftest.i conftest.$ac_ext
6800 # OK, works on sane cases. Now check whether nonexistent headers
6801 # can be detected and how.
6802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6803 /* end confdefs.h. */
6804 #include <ac_nonexistent.h>
6805 _ACEOF
6806 if ac_fn_c_try_cpp "$LINENO"; then :
6807 # Broken: success on invalid input.
6808 continue
6809 else
6810 # Passes both tests.
6811 ac_preproc_ok=:
6812 break
6814 rm -f conftest.err conftest.i conftest.$ac_ext
6816 done
6817 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6818 rm -f conftest.i conftest.err conftest.$ac_ext
6819 if $ac_preproc_ok; then :
6820 break
6823 done
6824 ac_cv_prog_CPP=$CPP
6827 CPP=$ac_cv_prog_CPP
6828 else
6829 ac_cv_prog_CPP=$CPP
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6832 $as_echo "$CPP" >&6; }
6833 ac_preproc_ok=false
6834 for ac_c_preproc_warn_flag in '' yes
6836 # Use a header file that comes with gcc, so configuring glibc
6837 # with a fresh cross-compiler works.
6838 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6839 # <limits.h> exists even on freestanding compilers.
6840 # On the NeXT, cc -E runs the code through the compiler's parser,
6841 # not just through cpp. "Syntax error" is here to catch this case.
6842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6844 #ifdef __STDC__
6845 # include <limits.h>
6846 #else
6847 # include <assert.h>
6848 #endif
6849 Syntax error
6850 _ACEOF
6851 if ac_fn_c_try_cpp "$LINENO"; then :
6853 else
6854 # Broken: fails on valid input.
6855 continue
6857 rm -f conftest.err conftest.i conftest.$ac_ext
6859 # OK, works on sane cases. Now check whether nonexistent headers
6860 # can be detected and how.
6861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6862 /* end confdefs.h. */
6863 #include <ac_nonexistent.h>
6864 _ACEOF
6865 if ac_fn_c_try_cpp "$LINENO"; then :
6866 # Broken: success on invalid input.
6867 continue
6868 else
6869 # Passes both tests.
6870 ac_preproc_ok=:
6871 break
6873 rm -f conftest.err conftest.i conftest.$ac_ext
6875 done
6876 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6877 rm -f conftest.i conftest.err conftest.$ac_ext
6878 if $ac_preproc_ok; then :
6880 else
6881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6883 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6884 See \`config.log' for more details" "$LINENO" 5; }
6887 ac_ext=c
6888 ac_cpp='$CPP $CPPFLAGS'
6889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6895 $as_echo_n "checking for ANSI C header files... " >&6; }
6896 if ${ac_cv_header_stdc+:} false; then :
6897 $as_echo_n "(cached) " >&6
6898 else
6899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6900 /* end confdefs.h. */
6901 #include <stdlib.h>
6902 #include <stdarg.h>
6903 #include <string.h>
6904 #include <float.h>
6907 main ()
6911 return 0;
6913 _ACEOF
6914 if ac_fn_c_try_compile "$LINENO"; then :
6915 ac_cv_header_stdc=yes
6916 else
6917 ac_cv_header_stdc=no
6919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6921 if test $ac_cv_header_stdc = yes; then
6922 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6924 /* end confdefs.h. */
6925 #include <string.h>
6927 _ACEOF
6928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6929 $EGREP "memchr" >/dev/null 2>&1; then :
6931 else
6932 ac_cv_header_stdc=no
6934 rm -f conftest*
6938 if test $ac_cv_header_stdc = yes; then
6939 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941 /* end confdefs.h. */
6942 #include <stdlib.h>
6944 _ACEOF
6945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6946 $EGREP "free" >/dev/null 2>&1; then :
6948 else
6949 ac_cv_header_stdc=no
6951 rm -f conftest*
6955 if test $ac_cv_header_stdc = yes; then
6956 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6957 if test "$cross_compiling" = yes; then :
6959 else
6960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6961 /* end confdefs.h. */
6962 #include <ctype.h>
6963 #include <stdlib.h>
6964 #if ((' ' & 0x0FF) == 0x020)
6965 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6966 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6967 #else
6968 # define ISLOWER(c) \
6969 (('a' <= (c) && (c) <= 'i') \
6970 || ('j' <= (c) && (c) <= 'r') \
6971 || ('s' <= (c) && (c) <= 'z'))
6972 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6973 #endif
6975 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6977 main ()
6979 int i;
6980 for (i = 0; i < 256; i++)
6981 if (XOR (islower (i), ISLOWER (i))
6982 || toupper (i) != TOUPPER (i))
6983 return 2;
6984 return 0;
6986 _ACEOF
6987 if ac_fn_c_try_run "$LINENO"; then :
6989 else
6990 ac_cv_header_stdc=no
6992 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6993 conftest.$ac_objext conftest.beam conftest.$ac_ext
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6999 $as_echo "$ac_cv_header_stdc" >&6; }
7000 if test $ac_cv_header_stdc = yes; then
7002 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7006 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7007 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7008 inttypes.h stdint.h unistd.h
7009 do :
7010 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7011 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7013 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7014 cat >>confdefs.h <<_ACEOF
7015 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7016 _ACEOF
7020 done
7023 for ac_header in \
7024 AL/al.h \
7025 ApplicationServices/ApplicationServices.h \
7026 AudioToolbox/AudioConverter.h \
7027 AudioUnit/AudioUnit.h \
7028 AudioUnit/AudioComponent.h \
7029 CL/cl.h \
7030 Carbon/Carbon.h \
7031 CommonCrypto/CommonCryptor.h \
7032 CoreAudio/CoreAudio.h \
7033 CoreServices/CoreServices.h \
7034 DiskArbitration/DiskArbitration.h \
7035 EGL/egl.h \
7036 IOKit/IOKitLib.h \
7037 IOKit/hid/IOHIDLib.h \
7038 OpenAL/al.h \
7039 OpenCL/opencl.h \
7040 QuickTime/ImageCompression.h \
7041 Security/Security.h \
7042 alias.h \
7043 alsa/asoundlib.h \
7044 arpa/inet.h \
7045 arpa/nameser.h \
7046 asm/types.h \
7047 asm/user.h \
7048 curses.h \
7049 direct.h \
7050 dirent.h \
7051 dlfcn.h \
7052 elf.h \
7053 float.h \
7054 fnmatch.h \
7055 getopt.h \
7056 gettext-po.h \
7057 grp.h \
7058 gsm.h \
7059 gsm/gsm.h \
7060 ieeefp.h \
7061 inet/mib2.h \
7062 io.h \
7063 kstat.h \
7064 libproc.h \
7065 link.h \
7066 linux/cdrom.h \
7067 linux/compiler.h \
7068 linux/filter.h \
7069 linux/hdreg.h \
7070 linux/hidraw.h \
7071 linux/input.h \
7072 linux/ioctl.h \
7073 linux/joystick.h \
7074 linux/major.h \
7075 linux/param.h \
7076 linux/serial.h \
7077 linux/types.h \
7078 linux/ucdrom.h \
7079 lwp.h \
7080 mach-o/nlist.h \
7081 mach-o/loader.h \
7082 mach/mach.h \
7083 mach/machine.h \
7084 machine/cpu.h \
7085 machine/limits.h \
7086 machine/sysarch.h \
7087 mntent.h \
7088 ncurses.h \
7089 netdb.h \
7090 netinet/in.h \
7091 netinet/in_systm.h \
7092 netinet/tcp.h \
7093 netinet/tcp_fsm.h \
7094 pcap/pcap.h \
7095 poll.h \
7096 port.h \
7097 process.h \
7098 pthread.h \
7099 pwd.h \
7100 sched.h \
7101 scsi/scsi.h \
7102 scsi/scsi_ioctl.h \
7103 scsi/sg.h \
7104 stdbool.h \
7105 stdint.h \
7106 stropts.h \
7107 sys/asoundlib.h \
7108 sys/attr.h \
7109 sys/auxv.h \
7110 sys/cdio.h \
7111 sys/elf32.h \
7112 sys/epoll.h \
7113 sys/event.h \
7114 sys/exec_elf.h \
7115 sys/filio.h \
7116 sys/inotify.h \
7117 sys/ioctl.h \
7118 sys/ipc.h \
7119 sys/limits.h \
7120 sys/link.h \
7121 sys/mman.h \
7122 sys/modem.h \
7123 sys/msg.h \
7124 sys/mtio.h \
7125 sys/param.h \
7126 sys/poll.h \
7127 sys/prctl.h \
7128 sys/protosw.h \
7129 sys/ptrace.h \
7130 sys/queue.h \
7131 sys/resource.h \
7132 sys/scsiio.h \
7133 sys/shm.h \
7134 sys/signal.h \
7135 sys/socket.h \
7136 sys/socketvar.h \
7137 sys/sockio.h \
7138 sys/statvfs.h \
7139 sys/strtio.h \
7140 sys/syscall.h \
7141 sys/sysinfo.h \
7142 sys/tihdr.h \
7143 sys/time.h \
7144 sys/timeout.h \
7145 sys/times.h \
7146 sys/uio.h \
7147 sys/user.h \
7148 sys/utsname.h \
7149 sys/vnode.h \
7150 sys/wait.h \
7151 syscall.h \
7152 termios.h \
7153 unistd.h \
7154 utime.h \
7155 valgrind/memcheck.h \
7156 valgrind/valgrind.h \
7157 zlib.h
7159 do :
7160 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7161 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7162 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7163 cat >>confdefs.h <<_ACEOF
7164 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7165 _ACEOF
7169 done
7171 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7172 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7174 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7179 if test $ac_cv_header_sys_mkdev_h = no; then
7180 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7181 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7183 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7190 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7191 if ${ac_cv_header_stat_broken+:} false; then :
7192 $as_echo_n "(cached) " >&6
7193 else
7194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7195 /* end confdefs.h. */
7196 #include <sys/types.h>
7197 #include <sys/stat.h>
7199 #if defined S_ISBLK && defined S_IFDIR
7200 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7201 #endif
7203 #if defined S_ISBLK && defined S_IFCHR
7204 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7205 #endif
7207 #if defined S_ISLNK && defined S_IFREG
7208 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7209 #endif
7211 #if defined S_ISSOCK && defined S_IFREG
7212 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7213 #endif
7215 _ACEOF
7216 if ac_fn_c_try_compile "$LINENO"; then :
7217 ac_cv_header_stat_broken=no
7218 else
7219 ac_cv_header_stat_broken=yes
7221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7224 $as_echo "$ac_cv_header_stat_broken" >&6; }
7225 if test $ac_cv_header_stat_broken = yes; then
7227 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7233 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7234 do :
7235 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7236 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7237 #ifdef HAVE_SYS_PARAM_H
7238 # include <sys/param.h>
7239 #endif
7241 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7242 cat >>confdefs.h <<_ACEOF
7243 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7244 _ACEOF
7248 done
7251 for ac_header in \
7252 netinet/ip.h \
7253 net/if.h \
7254 net/if_arp.h \
7255 net/if_dl.h \
7256 net/if_types.h \
7257 net/route.h \
7258 netinet/if_ether.h \
7259 netinet/if_inarp.h \
7260 netinet/in_pcb.h \
7261 netinet/ip_icmp.h \
7262 netinet/ip_var.h \
7263 netinet/udp.h \
7264 netipx/ipx.h \
7265 sys/un.h \
7267 do :
7268 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7269 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7270 #ifdef HAVE_SYS_SOCKET_H
7271 # include <sys/socket.h>
7272 #endif
7273 #ifdef HAVE_SYS_SOCKETVAR_H
7274 # include <sys/socketvar.h>
7275 #endif
7276 #ifdef HAVE_NET_ROUTE_H
7277 # include <net/route.h>
7278 #endif
7279 #ifdef HAVE_NETINET_IN_H
7280 # include <netinet/in.h>
7281 #endif
7282 #ifdef HAVE_NETINET_IN_SYSTM_H
7283 # include <netinet/in_systm.h>
7284 #endif
7285 #ifdef HAVE_NET_IF_H
7286 # include <net/if.h>
7287 #endif
7288 #ifdef HAVE_NETINET_IP_H
7289 # include <netinet/ip.h>
7290 #endif
7292 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7293 cat >>confdefs.h <<_ACEOF
7294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7295 _ACEOF
7299 done
7302 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7303 do :
7304 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7305 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7306 #ifdef HAVE_ALIAS_H
7307 # include <alias.h>
7308 #endif
7309 #ifdef HAVE_SYS_SOCKET_H
7310 # include <sys/socket.h>
7311 #endif
7312 #ifdef HAVE_SYS_SOCKETVAR_H
7313 # include <sys/socketvar.h>
7314 #endif
7315 #ifdef HAVE_SYS_TIMEOUT_H
7316 # include <sys/timeout.h>
7317 #endif
7318 #ifdef HAVE_NETINET_IN_H
7319 # include <netinet/in.h>
7320 #endif
7321 #ifdef HAVE_NETINET_IN_SYSTM_H
7322 # include <netinet/in_systm.h>
7323 #endif
7324 #ifdef HAVE_NETINET_IP_H
7325 # include <netinet/ip.h>
7326 #endif
7327 #ifdef HAVE_NETINET_IP_VAR_H
7328 # include <netinet/ip_var.h>
7329 #endif
7330 #ifdef HAVE_NETINET_IP_ICMP_H
7331 # include <netinet/ip_icmp.h>
7332 #endif
7333 #ifdef HAVE_NETINET_UDP_H
7334 # include <netinet/udp.h>
7335 #endif
7336 #ifdef HAVE_NETINET_TCP_H
7337 # include <netinet/tcp.h>
7338 #endif
7339 #ifdef HAVE_NETINET_TCP_TIMER_H
7340 #include <netinet/tcp_timer.h>
7341 #endif
7343 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7344 cat >>confdefs.h <<_ACEOF
7345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7346 _ACEOF
7350 done
7353 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7354 do :
7355 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7356 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7357 #ifdef HAVE_ASM_TYPES_H
7358 # include <asm/types.h>
7359 #endif
7360 #ifdef HAVE_SYS_SOCKET_H
7361 # include <sys/socket.h>
7362 #endif
7363 #ifdef HAVE_LINUX_TYPES_H
7364 # include <linux/types.h>
7365 #endif
7367 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7368 cat >>confdefs.h <<_ACEOF
7369 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7370 _ACEOF
7374 done
7377 for ac_header in mach-o/dyld_images.h
7378 do :
7379 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7380 # include <stdbool.h>
7381 #endif
7382 #ifdef HAVE_STDINT_H
7383 # include <stdint.h>
7384 #endif
7386 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7387 cat >>confdefs.h <<_ACEOF
7388 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7389 _ACEOF
7393 done
7396 for ac_header in resolv.h
7397 do :
7398 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7399 #ifdef HAVE_SYS_SOCKET_H
7400 # include <sys/socket.h>
7401 #endif
7402 #ifdef HAVE_NETINET_IN_H
7403 # include <netinet/in.h>
7404 #endif
7405 #ifdef HAVE_ARPA_NAMESER_H
7406 # include <arpa/nameser.h>
7407 #endif
7409 if test "x$ac_cv_header_resolv_h" = xyes; then :
7410 cat >>confdefs.h <<_ACEOF
7411 #define HAVE_RESOLV_H 1
7412 _ACEOF
7416 done
7419 for ac_header in ifaddrs.h
7420 do :
7421 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7423 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7424 cat >>confdefs.h <<_ACEOF
7425 #define HAVE_IFADDRS_H 1
7426 _ACEOF
7430 done
7433 for ac_header in sys/ucontext.h
7434 do :
7435 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7437 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7438 cat >>confdefs.h <<_ACEOF
7439 #define HAVE_SYS_UCONTEXT_H 1
7440 _ACEOF
7444 done
7447 for ac_header in sys/thr.h
7448 do :
7449 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7450 #ifdef HAVE_SYS_UCONTEXT_H
7451 #include <sys/ucontext.h>
7452 #endif
7454 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7455 cat >>confdefs.h <<_ACEOF
7456 #define HAVE_SYS_THR_H 1
7457 _ACEOF
7461 done
7464 for ac_header in pthread_np.h
7465 do :
7466 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7467 #include <pthread.h>
7468 #endif
7470 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7471 cat >>confdefs.h <<_ACEOF
7472 #define HAVE_PTHREAD_NP_H 1
7473 _ACEOF
7477 done
7480 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7481 do :
7482 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7483 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7484 #include <sys/time.h>
7485 #endif
7486 #include <sys/types.h>
7487 #ifdef HAVE_ASM_TYPES_H
7488 #include <asm/types.h>
7489 #endif
7491 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7492 cat >>confdefs.h <<_ACEOF
7493 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7494 _ACEOF
7498 done
7501 for ac_header in libprocstat.h
7502 do :
7503 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7504 #include <sys/param.h>
7505 #endif
7506 #ifdef HAVE_SYS_QUEUE_H
7507 #include <sys/queue.h>
7508 #endif
7509 #ifdef HAVE_SYS_SOCKET_H
7510 #include <sys/socket.h>
7511 #endif
7513 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7514 cat >>confdefs.h <<_ACEOF
7515 #define HAVE_LIBPROCSTAT_H 1
7516 _ACEOF
7520 done
7524 DLLFLAGS="-D_REENTRANT"
7526 LDRPATH_INSTALL=""
7528 LDRPATH_LOCAL=""
7530 LDEXECFLAGS=""
7532 WINELOADER_LDFLAGS=""
7534 LIBEXT="so"
7535 DLLEXT=".so"
7536 IMPLIBEXT="def"
7537 # Extract the first word of "ldd", so it can be a program name with args.
7538 set dummy ldd; ac_word=$2
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7540 $as_echo_n "checking for $ac_word... " >&6; }
7541 if ${ac_cv_path_LDD+:} false; then :
7542 $as_echo_n "(cached) " >&6
7543 else
7544 case $LDD in
7545 [\\/]* | ?:[\\/]*)
7546 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7550 as_dummy="/sbin:/usr/sbin:$PATH"
7551 for as_dir in $as_dummy
7553 IFS=$as_save_IFS
7554 test -z "$as_dir" && as_dir=.
7555 for ac_exec_ext in '' $ac_executable_extensions; do
7556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7557 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7559 break 2
7561 done
7562 done
7563 IFS=$as_save_IFS
7565 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7567 esac
7569 LDD=$ac_cv_path_LDD
7570 if test -n "$LDD"; then
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7572 $as_echo "$LDD" >&6; }
7573 else
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7575 $as_echo "no" >&6; }
7579 if test -n "$ac_tool_prefix"; then
7580 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7581 set dummy ${ac_tool_prefix}otool; ac_word=$2
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7583 $as_echo_n "checking for $ac_word... " >&6; }
7584 if ${ac_cv_prog_OTOOL+:} false; then :
7585 $as_echo_n "(cached) " >&6
7586 else
7587 if test -n "$OTOOL"; then
7588 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7589 else
7590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7591 for as_dir in $PATH
7593 IFS=$as_save_IFS
7594 test -z "$as_dir" && as_dir=.
7595 for ac_exec_ext in '' $ac_executable_extensions; do
7596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7597 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7599 break 2
7601 done
7602 done
7603 IFS=$as_save_IFS
7607 OTOOL=$ac_cv_prog_OTOOL
7608 if test -n "$OTOOL"; then
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7610 $as_echo "$OTOOL" >&6; }
7611 else
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7613 $as_echo "no" >&6; }
7618 if test -z "$ac_cv_prog_OTOOL"; then
7619 ac_ct_OTOOL=$OTOOL
7620 # Extract the first word of "otool", so it can be a program name with args.
7621 set dummy otool; ac_word=$2
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7623 $as_echo_n "checking for $ac_word... " >&6; }
7624 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7625 $as_echo_n "(cached) " >&6
7626 else
7627 if test -n "$ac_ct_OTOOL"; then
7628 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7629 else
7630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7631 for as_dir in $PATH
7633 IFS=$as_save_IFS
7634 test -z "$as_dir" && as_dir=.
7635 for ac_exec_ext in '' $ac_executable_extensions; do
7636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7637 ac_cv_prog_ac_ct_OTOOL="otool"
7638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7639 break 2
7641 done
7642 done
7643 IFS=$as_save_IFS
7647 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7648 if test -n "$ac_ct_OTOOL"; then
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7650 $as_echo "$ac_ct_OTOOL" >&6; }
7651 else
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7653 $as_echo "no" >&6; }
7656 if test "x$ac_ct_OTOOL" = x; then
7657 OTOOL="otool"
7658 else
7659 case $cross_compiling:$ac_tool_warned in
7660 yes:)
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7663 ac_tool_warned=yes ;;
7664 esac
7665 OTOOL=$ac_ct_OTOOL
7667 else
7668 OTOOL="$ac_cv_prog_OTOOL"
7671 if test -n "$ac_tool_prefix"; then
7672 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7673 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7675 $as_echo_n "checking for $ac_word... " >&6; }
7676 if ${ac_cv_prog_READELF+:} false; then :
7677 $as_echo_n "(cached) " >&6
7678 else
7679 if test -n "$READELF"; then
7680 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7681 else
7682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7683 for as_dir in $PATH
7685 IFS=$as_save_IFS
7686 test -z "$as_dir" && as_dir=.
7687 for ac_exec_ext in '' $ac_executable_extensions; do
7688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7689 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7691 break 2
7693 done
7694 done
7695 IFS=$as_save_IFS
7699 READELF=$ac_cv_prog_READELF
7700 if test -n "$READELF"; then
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7702 $as_echo "$READELF" >&6; }
7703 else
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7705 $as_echo "no" >&6; }
7710 if test -z "$ac_cv_prog_READELF"; then
7711 ac_ct_READELF=$READELF
7712 # Extract the first word of "readelf", so it can be a program name with args.
7713 set dummy readelf; ac_word=$2
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7715 $as_echo_n "checking for $ac_word... " >&6; }
7716 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7717 $as_echo_n "(cached) " >&6
7718 else
7719 if test -n "$ac_ct_READELF"; then
7720 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7721 else
7722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7723 for as_dir in $PATH
7725 IFS=$as_save_IFS
7726 test -z "$as_dir" && as_dir=.
7727 for ac_exec_ext in '' $ac_executable_extensions; do
7728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7729 ac_cv_prog_ac_ct_READELF="readelf"
7730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7731 break 2
7733 done
7734 done
7735 IFS=$as_save_IFS
7739 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7740 if test -n "$ac_ct_READELF"; then
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7742 $as_echo "$ac_ct_READELF" >&6; }
7743 else
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7745 $as_echo "no" >&6; }
7748 if test "x$ac_ct_READELF" = x; then
7749 READELF="true"
7750 else
7751 case $cross_compiling:$ac_tool_warned in
7752 yes:)
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7755 ac_tool_warned=yes ;;
7756 esac
7757 READELF=$ac_ct_READELF
7759 else
7760 READELF="$ac_cv_prog_READELF"
7763 wine_rules_file=conf$$rules.make
7764 rm -f $wine_rules_file
7765 SUBDIRS=""
7767 DISABLED_SUBDIRS=""
7769 CONFIGURE_TARGETS=""
7772 wine_fn_append_file ()
7774 as_fn_append $1 " \\$as_nl $2"
7777 wine_fn_append_rule ()
7779 $as_echo "$1" >>$wine_rules_file
7782 wine_fn_config_makefile ()
7784 wine_fn_append_file SUBDIRS $1
7785 if eval test \"x\$"$2"\" = x"no"; then :
7786 wine_fn_append_file DISABLED_SUBDIRS $1
7790 wine_fn_config_symlink ()
7792 ac_links=$@
7793 wine_fn_append_rule \
7794 "$ac_links:
7795 @./config.status \$@"
7796 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7799 wine_binary="wine"
7800 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7801 WINELOADER_PROGRAMS="$wine_binary"
7803 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7805 case $host_os in
7806 cygwin*|mingw32*)
7807 if test -n "$ac_tool_prefix"; then
7808 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7809 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7811 $as_echo_n "checking for $ac_word... " >&6; }
7812 if ${ac_cv_prog_DLLTOOL+:} false; then :
7813 $as_echo_n "(cached) " >&6
7814 else
7815 if test -n "$DLLTOOL"; then
7816 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7817 else
7818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819 for as_dir in $PATH
7821 IFS=$as_save_IFS
7822 test -z "$as_dir" && as_dir=.
7823 for ac_exec_ext in '' $ac_executable_extensions; do
7824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7825 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7827 break 2
7829 done
7830 done
7831 IFS=$as_save_IFS
7835 DLLTOOL=$ac_cv_prog_DLLTOOL
7836 if test -n "$DLLTOOL"; then
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7838 $as_echo "$DLLTOOL" >&6; }
7839 else
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7841 $as_echo "no" >&6; }
7846 if test -z "$ac_cv_prog_DLLTOOL"; then
7847 ac_ct_DLLTOOL=$DLLTOOL
7848 # Extract the first word of "dlltool", so it can be a program name with args.
7849 set dummy dlltool; ac_word=$2
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7851 $as_echo_n "checking for $ac_word... " >&6; }
7852 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7853 $as_echo_n "(cached) " >&6
7854 else
7855 if test -n "$ac_ct_DLLTOOL"; then
7856 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7857 else
7858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7859 for as_dir in $PATH
7861 IFS=$as_save_IFS
7862 test -z "$as_dir" && as_dir=.
7863 for ac_exec_ext in '' $ac_executable_extensions; do
7864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7865 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7867 break 2
7869 done
7870 done
7871 IFS=$as_save_IFS
7875 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7876 if test -n "$ac_ct_DLLTOOL"; then
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7878 $as_echo "$ac_ct_DLLTOOL" >&6; }
7879 else
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7881 $as_echo "no" >&6; }
7884 if test "x$ac_ct_DLLTOOL" = x; then
7885 DLLTOOL="false"
7886 else
7887 case $cross_compiling:$ac_tool_warned in
7888 yes:)
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7891 ac_tool_warned=yes ;;
7892 esac
7893 DLLTOOL=$ac_ct_DLLTOOL
7895 else
7896 DLLTOOL="$ac_cv_prog_DLLTOOL"
7899 LIBEXT="dll"
7900 DLLEXT=""
7901 IMPLIBEXT="a"
7902 enable_iphlpapi=${enable_iphlpapi:-no}
7903 enable_kernel32=${enable_kernel32:-no}
7904 enable_msvcrt=${enable_msvcrt:-no}
7905 enable_ntdll=${enable_ntdll:-no}
7906 enable_ws2_32=${enable_ws2_32:-no}
7907 enable_loader=${enable_loader:-no}
7908 enable_server=${enable_server:-no}
7909 with_x=${with_x:-no}
7910 with_pthread=${with_pthread:-no}
7912 crtlibs=""
7913 case $host_os in
7914 mingw32*)
7915 crtlibs="-lmsvcrt"
7916 SOCKET_LIBS="-lws2_32"
7918 esac
7920 LIBWINE_SHAREDLIB="libwine.dll"
7922 LIBWINE_IMPORTLIB="libwine.a"
7924 LIBWINE_INSTALL_LIB="libwine.dll"
7926 LIBWINE_INSTALL_DEV="libwine.a"
7928 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7930 LIBWINE_DEPENDS="wine.def"
7934 darwin*|macosx*)
7935 for ac_header in libunwind.h
7936 do :
7937 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7939 cat >>confdefs.h <<_ACEOF
7940 #define HAVE_LIBUNWIND_H 1
7941 _ACEOF
7945 done
7947 LIBEXT="dylib"
7948 DLLFLAGS="$DLLFLAGS -fPIC"
7949 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7950 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7951 COREFOUNDATION_LIBS="-framework CoreFoundation"
7953 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7955 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7957 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7959 CORESERVICES_LIBS="-framework CoreServices"
7961 APPKIT_LIBS="-framework AppKit"
7963 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7965 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7966 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7967 $as_echo_n "(cached) " >&6
7968 else
7969 ac_wine_try_cflags_saved=$CFLAGS
7970 CFLAGS="$CFLAGS -Wl,-no_pie"
7971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7972 /* end confdefs.h. */
7973 int main(int argc, char **argv) { return 0; }
7974 _ACEOF
7975 if ac_fn_c_try_link "$LINENO"; then :
7976 ac_cv_cflags__Wl__no_pie=yes
7977 else
7978 ac_cv_cflags__Wl__no_pie=no
7980 rm -f core conftest.err conftest.$ac_objext \
7981 conftest$ac_exeext conftest.$ac_ext
7982 CFLAGS=$ac_wine_try_cflags_saved
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7985 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7986 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7987 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
7989 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7990 then
7991 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7994 if test "$ac_cv_header_Security_Security_h" = "yes"
7995 then
7996 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7998 ac_save_LIBS="$LIBS"
7999 LIBS="$LIBS $SECURITY_LIBS"
8000 for ac_func in SSLCopyPeerCertificates
8001 do :
8002 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8003 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8004 cat >>confdefs.h <<_ACEOF
8005 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8006 _ACEOF
8009 done
8011 LIBS="$ac_save_LIBS"
8012 with_gnutls=${with_gnutls:-no}
8014 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8015 then
8016 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8017 then
8018 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8020 else
8021 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8024 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8025 ac_save_LIBS="$LIBS"
8026 LIBS="$LIBS $COREAUDIO_LIBS"
8027 for ac_func in AUGraphAddNode
8028 do :
8029 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8030 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8031 cat >>confdefs.h <<_ACEOF
8032 #define HAVE_AUGRAPHADDNODE 1
8033 _ACEOF
8036 done
8038 LIBS="$ac_save_LIBS"
8040 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8041 then
8042 OPENAL_LIBS="-framework OpenAL"
8045 cat >>confdefs.h <<_ACEOF
8046 #define HAVE_OPENAL 1
8047 _ACEOF
8049 ac_cv_lib_openal=yes
8051 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8052 then
8053 OPENCL_LIBS="-framework OpenCL"
8055 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8057 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8058 then
8059 ac_save_LIBS="$LIBS"
8060 LIBS="$LIBS $IOKIT_LIBS"
8061 for ac_func in IOHIDManagerCreate
8062 do :
8063 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8064 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8065 cat >>confdefs.h <<_ACEOF
8066 #define HAVE_IOHIDMANAGERCREATE 1
8067 _ACEOF
8070 done
8072 LIBS="$ac_save_LIBS"
8074 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8075 then
8076 ac_save_LIBS="$LIBS"
8077 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8079 $as_echo_n "checking for the QuickTime framework... " >&6; }
8080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8081 /* end confdefs.h. */
8082 #include <QuickTime/ImageCompression.h>
8084 main ()
8086 CodecManagerVersion(NULL);
8088 return 0;
8090 _ACEOF
8091 if ac_fn_c_try_link "$LINENO"; then :
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8093 $as_echo "yes" >&6; }
8094 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8096 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8097 else
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8099 $as_echo "no" >&6; }
8100 ac_cv_header_QuickTime_ImageCompression_h=no
8102 rm -f core conftest.err conftest.$ac_objext \
8103 conftest$ac_exeext conftest.$ac_ext
8104 LIBS="$ac_save_LIBS"
8106 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8107 then
8108 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8110 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8111 then
8112 CARBON_LIBS="-framework Carbon"
8116 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8117 then
8118 ac_save_LIBS="$LIBS"
8119 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8120 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8121 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8122 enable_winemac_drv=${enable_winemac_drv:-yes}
8125 LIBS="$ac_save_LIBS"
8128 if test "x$enable_win16" = "xyes"
8129 then
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8131 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8132 if test "$cross_compiling" = yes; then :
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8134 $as_echo "cross-compiling, assuming yes" >&6; }
8135 else
8136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8137 /* end confdefs.h. */
8138 asm(".text\n"
8139 "bad:\tnop;nop\n"
8140 "good:\tnop;nop\n\t"
8141 ".globl _testfunc\n"
8142 "_testfunc:\tcallw good");
8143 extern void testfunc();
8145 main ()
8147 unsigned short *p = (unsigned short *)testfunc;
8148 return p[0] != 0xe866 || p[1] != 0xfffa
8150 return 0;
8152 _ACEOF
8153 if ac_fn_c_try_run "$LINENO"; then :
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8155 $as_echo "yes" >&6; }
8156 else
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8158 $as_echo "no" >&6; }
8159 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
8161 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8162 conftest.$ac_objext conftest.beam conftest.$ac_ext
8167 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8169 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8171 LIBWINE_INSTALL_DEV="libwine.dylib"
8173 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8175 WINELOADER_DEPENDS="wine_info.plist"
8179 linux-android*)
8180 DLLFLAGS="$DLLFLAGS -fPIC"
8181 LDEXECFLAGS="-Wl,-pie"
8182 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8184 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8185 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8186 $as_echo_n "(cached) " >&6
8187 else
8188 ac_wine_try_cflags_saved=$CFLAGS
8189 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8191 /* end confdefs.h. */
8192 int main(int argc, char **argv) { return 0; }
8193 _ACEOF
8194 if ac_fn_c_try_link "$LINENO"; then :
8195 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8196 else
8197 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8199 rm -f core conftest.err conftest.$ac_objext \
8200 conftest$ac_exeext conftest.$ac_ext
8201 CFLAGS=$ac_wine_try_cflags_saved
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8204 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8205 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8206 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8208 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8210 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8211 if eval \${$as_ac_var+:} false; then :
8212 $as_echo_n "(cached) " >&6
8213 else
8214 ac_wine_try_cflags_saved=$CFLAGS
8215 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8217 /* end confdefs.h. */
8218 int main(int argc, char **argv) { return 0; }
8219 _ACEOF
8220 if ac_fn_c_try_link "$LINENO"; then :
8221 eval "$as_ac_var=yes"
8222 else
8223 eval "$as_ac_var=no"
8225 rm -f core conftest.err conftest.$ac_objext \
8226 conftest$ac_exeext conftest.$ac_ext
8227 CFLAGS=$ac_wine_try_cflags_saved
8229 eval ac_res=\$$as_ac_var
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8231 $as_echo "$ac_res" >&6; }
8232 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8233 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8234 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8235 else
8236 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8238 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8239 if eval \${$as_ac_var+:} false; then :
8240 $as_echo_n "(cached) " >&6
8241 else
8242 ac_wine_try_cflags_saved=$CFLAGS
8243 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8245 /* end confdefs.h. */
8246 int main(int argc, char **argv) { return 0; }
8247 _ACEOF
8248 if ac_fn_c_try_link "$LINENO"; then :
8249 eval "$as_ac_var=yes"
8250 else
8251 eval "$as_ac_var=no"
8253 rm -f core conftest.err conftest.$ac_objext \
8254 conftest$ac_exeext conftest.$ac_ext
8255 CFLAGS=$ac_wine_try_cflags_saved
8257 eval ac_res=\$$as_ac_var
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8259 $as_echo "$ac_res" >&6; }
8260 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8261 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8262 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8266 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8267 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 ac_wine_try_cflags_saved=$CFLAGS
8271 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8273 /* end confdefs.h. */
8274 int main(int argc, char **argv) { return 0; }
8275 _ACEOF
8276 if ac_fn_c_try_link "$LINENO"; then :
8277 ac_cv_cflags__Wl___enable_new_dtags=yes
8278 else
8279 ac_cv_cflags__Wl___enable_new_dtags=no
8281 rm -f core conftest.err conftest.$ac_objext \
8282 conftest$ac_exeext conftest.$ac_ext
8283 CFLAGS=$ac_wine_try_cflags_saved
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8286 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8287 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8288 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8291 LIBWINE_SHAREDLIB="libwine.so"
8293 LIBWINE_INSTALL_LIB="libwine.so"
8295 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8299 $as_echo_n "checking for -lEGL... " >&6; }
8300 if ${ac_cv_lib_soname_EGL+:} false; then :
8301 $as_echo_n "(cached) " >&6
8302 else
8303 ac_check_soname_save_LIBS=$LIBS
8304 LIBS="-lEGL $LIBS"
8305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8306 /* end confdefs.h. */
8308 /* Override any GCC internal prototype to avoid an error.
8309 Use char because int might match the return type of a GCC
8310 builtin and then its argument prototype would still apply. */
8311 #ifdef __cplusplus
8312 extern "C"
8313 #endif
8314 char eglGetProcAddress ();
8316 main ()
8318 return eglGetProcAddress ();
8320 return 0;
8322 _ACEOF
8323 if ac_fn_c_try_link "$LINENO"; then :
8324 case "$LIBEXT" in
8325 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8326 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'` ;;
8327 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8328 if ${ac_cv_lib_soname_EGL:+false} :; then :
8329 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8330 fi ;;
8331 esac
8333 rm -f core conftest.err conftest.$ac_objext \
8334 conftest$ac_exeext conftest.$ac_ext
8335 LIBS=$ac_check_soname_save_LIBS
8337 if ${ac_cv_lib_soname_EGL:+false} :; then :
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8339 $as_echo "not found" >&6; }
8341 else
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8343 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8345 cat >>confdefs.h <<_ACEOF
8346 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8347 _ACEOF
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8352 $as_echo_n "checking for -lGLESv2... " >&6; }
8353 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8354 $as_echo_n "(cached) " >&6
8355 else
8356 ac_check_soname_save_LIBS=$LIBS
8357 LIBS="-lGLESv2 $LIBS"
8358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8359 /* end confdefs.h. */
8361 /* Override any GCC internal prototype to avoid an error.
8362 Use char because int might match the return type of a GCC
8363 builtin and then its argument prototype would still apply. */
8364 #ifdef __cplusplus
8365 extern "C"
8366 #endif
8367 char glFlush ();
8369 main ()
8371 return glFlush ();
8373 return 0;
8375 _ACEOF
8376 if ac_fn_c_try_link "$LINENO"; then :
8377 case "$LIBEXT" in
8378 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8379 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'` ;;
8380 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8381 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8382 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8383 fi ;;
8384 esac
8386 rm -f core conftest.err conftest.$ac_objext \
8387 conftest$ac_exeext conftest.$ac_ext
8388 LIBS=$ac_check_soname_save_LIBS
8390 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8392 $as_echo "not found" >&6; }
8394 else
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8396 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8398 cat >>confdefs.h <<_ACEOF
8399 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8400 _ACEOF
8405 if test "x$exec_prefix" = xNONE
8406 then
8407 case $host_cpu in
8408 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8409 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8410 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8411 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8412 esac
8417 DLLFLAGS="$DLLFLAGS -fPIC"
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8419 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8420 if ${ac_cv_c_dll_gnuelf+:} false; then :
8421 $as_echo_n "(cached) " >&6
8422 else
8423 ac_wine_try_cflags_saved=$CFLAGS
8424 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426 /* end confdefs.h. */
8427 void myfunc() {}
8428 _ACEOF
8429 if ac_fn_c_try_link "$LINENO"; then :
8430 ac_cv_c_dll_gnuelf="yes"
8431 else
8432 ac_cv_c_dll_gnuelf="no"
8434 rm -f core conftest.err conftest.$ac_objext \
8435 conftest$ac_exeext conftest.$ac_ext
8436 CFLAGS=$ac_wine_try_cflags_saved
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8439 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8440 if test "$ac_cv_c_dll_gnuelf" = "yes"
8441 then
8442 LIBWINE_LDFLAGS="-shared"
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8444 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8445 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8446 $as_echo_n "(cached) " >&6
8447 else
8448 ac_wine_try_cflags_saved=$CFLAGS
8449 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8451 /* end confdefs.h. */
8452 int main(int argc, char **argv) { return 0; }
8453 _ACEOF
8454 if ac_fn_c_try_link "$LINENO"; then :
8455 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8456 else
8457 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8459 rm -f core conftest.err conftest.$ac_objext \
8460 conftest$ac_exeext conftest.$ac_ext
8461 CFLAGS=$ac_wine_try_cflags_saved
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8464 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8465 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8466 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8467 else
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8469 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8470 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8471 $as_echo_n "(cached) " >&6
8472 else
8473 ac_wine_try_cflags_saved=$CFLAGS
8474 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8476 /* end confdefs.h. */
8477 int main(int argc, char **argv) { return 0; }
8478 _ACEOF
8479 if ac_fn_c_try_link "$LINENO"; then :
8480 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8481 else
8482 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8484 rm -f core conftest.err conftest.$ac_objext \
8485 conftest$ac_exeext conftest.$ac_ext
8486 CFLAGS=$ac_wine_try_cflags_saved
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8489 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8490 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8491 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8495 echo '{ global: *; };' >conftest.map
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8497 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8498 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8499 $as_echo_n "(cached) " >&6
8500 else
8501 ac_wine_try_cflags_saved=$CFLAGS
8502 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8504 /* end confdefs.h. */
8505 int main(int argc, char **argv) { return 0; }
8506 _ACEOF
8507 if ac_fn_c_try_link "$LINENO"; then :
8508 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8509 else
8510 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8512 rm -f core conftest.err conftest.$ac_objext \
8513 conftest$ac_exeext conftest.$ac_ext
8514 CFLAGS=$ac_wine_try_cflags_saved
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8517 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8518 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8519 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8521 rm -f conftest.map
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8524 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8525 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8526 $as_echo_n "(cached) " >&6
8527 else
8528 ac_wine_try_cflags_saved=$CFLAGS
8529 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8532 int main(int argc, char **argv) { return 0; }
8533 _ACEOF
8534 if ac_fn_c_try_link "$LINENO"; then :
8535 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8536 else
8537 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8539 rm -f core conftest.err conftest.$ac_objext \
8540 conftest$ac_exeext conftest.$ac_ext
8541 CFLAGS=$ac_wine_try_cflags_saved
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8544 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8545 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8546 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8549 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8551 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8552 if eval \${$as_ac_var+:} false; then :
8553 $as_echo_n "(cached) " >&6
8554 else
8555 ac_wine_try_cflags_saved=$CFLAGS
8556 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8559 int main(int argc, char **argv) { return 0; }
8560 _ACEOF
8561 if ac_fn_c_try_link "$LINENO"; then :
8562 eval "$as_ac_var=yes"
8563 else
8564 eval "$as_ac_var=no"
8566 rm -f core conftest.err conftest.$ac_objext \
8567 conftest$ac_exeext conftest.$ac_ext
8568 CFLAGS=$ac_wine_try_cflags_saved
8570 eval ac_res=\$$as_ac_var
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8572 $as_echo "$ac_res" >&6; }
8573 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8574 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8575 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8576 else
8577 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8579 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8580 if eval \${$as_ac_var+:} false; then :
8581 $as_echo_n "(cached) " >&6
8582 else
8583 ac_wine_try_cflags_saved=$CFLAGS
8584 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8587 int main(int argc, char **argv) { return 0; }
8588 _ACEOF
8589 if ac_fn_c_try_link "$LINENO"; then :
8590 eval "$as_ac_var=yes"
8591 else
8592 eval "$as_ac_var=no"
8594 rm -f core conftest.err conftest.$ac_objext \
8595 conftest$ac_exeext conftest.$ac_ext
8596 CFLAGS=$ac_wine_try_cflags_saved
8598 eval ac_res=\$$as_ac_var
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8600 $as_echo "$ac_res" >&6; }
8601 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8602 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8603 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8608 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8609 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8610 $as_echo_n "(cached) " >&6
8611 else
8612 ac_wine_try_cflags_saved=$CFLAGS
8613 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8616 int main(int argc, char **argv) { return 0; }
8617 _ACEOF
8618 if ac_fn_c_try_link "$LINENO"; then :
8619 ac_cv_cflags__Wl___enable_new_dtags=yes
8620 else
8621 ac_cv_cflags__Wl___enable_new_dtags=no
8623 rm -f core conftest.err conftest.$ac_objext \
8624 conftest$ac_exeext conftest.$ac_ext
8625 CFLAGS=$ac_wine_try_cflags_saved
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8628 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8629 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8630 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8633 case $host_cpu in
8634 *i[3456789]86* | x86_64 | *aarch64*)
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8636 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8637 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8638 $as_echo_n "(cached) " >&6
8639 else
8640 ac_wine_try_cflags_saved=$CFLAGS
8641 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8643 /* end confdefs.h. */
8644 int main(int argc, char **argv) { return 0; }
8645 _ACEOF
8646 if ac_fn_c_try_link "$LINENO"; then :
8647 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8648 else
8649 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8651 rm -f core conftest.err conftest.$ac_objext \
8652 conftest$ac_exeext conftest.$ac_ext
8653 CFLAGS=$ac_wine_try_cflags_saved
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8656 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8657 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8658 case $host_os in
8659 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8660 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8661 esac
8662 else
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8664 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8665 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 ac_wine_try_cflags_saved=$CFLAGS
8669 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8672 int main(int argc, char **argv) { return 0; }
8673 _ACEOF
8674 if ac_fn_c_try_link "$LINENO"; then :
8675 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8676 else
8677 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8679 rm -f core conftest.err conftest.$ac_objext \
8680 conftest$ac_exeext conftest.$ac_ext
8681 CFLAGS=$ac_wine_try_cflags_saved
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8684 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8685 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8686 case $host_os in
8687 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8688 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8689 esac
8691 # Extract the first word of "prelink", so it can be a program name with args.
8692 set dummy prelink; ac_word=$2
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8694 $as_echo_n "checking for $ac_word... " >&6; }
8695 if ${ac_cv_path_PRELINK+:} false; then :
8696 $as_echo_n "(cached) " >&6
8697 else
8698 case $PRELINK in
8699 [\\/]* | ?:[\\/]*)
8700 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8704 for as_dir in /sbin /usr/sbin $PATH
8706 IFS=$as_save_IFS
8707 test -z "$as_dir" && as_dir=.
8708 for ac_exec_ext in '' $ac_executable_extensions; do
8709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8710 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8712 break 2
8714 done
8715 done
8716 IFS=$as_save_IFS
8718 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8720 esac
8722 PRELINK=$ac_cv_path_PRELINK
8723 if test -n "$PRELINK"; then
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8725 $as_echo "$PRELINK" >&6; }
8726 else
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8728 $as_echo "no" >&6; }
8732 if test "x$PRELINK" = xfalse
8733 then
8734 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8738 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8739 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8740 $as_echo_n "(cached) " >&6
8741 else
8742 ac_wine_try_cflags_saved=$CFLAGS
8743 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8745 /* end confdefs.h. */
8746 int main(int argc, char **argv) { return 0; }
8747 _ACEOF
8748 if ac_fn_c_try_link "$LINENO"; then :
8749 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8750 else
8751 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8753 rm -f core conftest.err conftest.$ac_objext \
8754 conftest$ac_exeext conftest.$ac_ext
8755 CFLAGS=$ac_wine_try_cflags_saved
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8758 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8759 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8760 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8763 esac
8765 else
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8767 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8768 if ${ac_cv_c_dll_unixware+:} false; then :
8769 $as_echo_n "(cached) " >&6
8770 else
8771 ac_wine_try_cflags_saved=$CFLAGS
8772 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8774 /* end confdefs.h. */
8775 void myfunc() {}
8776 _ACEOF
8777 if ac_fn_c_try_link "$LINENO"; then :
8778 ac_cv_c_dll_unixware="yes"
8779 else
8780 ac_cv_c_dll_unixware="no"
8782 rm -f core conftest.err conftest.$ac_objext \
8783 conftest$ac_exeext conftest.$ac_ext
8784 CFLAGS=$ac_wine_try_cflags_saved
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8787 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8788 if test "$ac_cv_c_dll_unixware" = "yes"
8789 then
8790 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8793 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8795 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8797 LIBWINE_INSTALL_DEV="libwine.so"
8799 LIBWINE_DEPENDS="wine.map"
8802 esac
8804 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8805 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8806 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8807 enable_winemac_drv=${enable_winemac_drv:-no}
8808 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8810 CROSSTARGET=""
8812 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8813 then
8814 case "$host_cpu" in
8815 arm*)
8816 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8817 i[3456789]86*)
8818 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
8819 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8820 mingw32-gcc" ;;
8821 x86_64)
8822 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
8823 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8825 ac_prefix_list="" ;;
8826 esac
8827 for ac_prog in $ac_prefix_list
8829 # Extract the first word of "$ac_prog", so it can be a program name with args.
8830 set dummy $ac_prog; ac_word=$2
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8832 $as_echo_n "checking for $ac_word... " >&6; }
8833 if ${ac_cv_prog_CROSSCC+:} false; then :
8834 $as_echo_n "(cached) " >&6
8835 else
8836 if test -n "$CROSSCC"; then
8837 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8838 else
8839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8840 for as_dir in $PATH
8842 IFS=$as_save_IFS
8843 test -z "$as_dir" && as_dir=.
8844 for ac_exec_ext in '' $ac_executable_extensions; do
8845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8846 ac_cv_prog_CROSSCC="$ac_prog"
8847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8848 break 2
8850 done
8851 done
8852 IFS=$as_save_IFS
8856 CROSSCC=$ac_cv_prog_CROSSCC
8857 if test -n "$CROSSCC"; then
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8859 $as_echo "$CROSSCC" >&6; }
8860 else
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8862 $as_echo "no" >&6; }
8866 test -n "$CROSSCC" && break
8867 done
8868 test -n "$CROSSCC" || CROSSCC="false"
8870 if test "$CROSSCC" != "false"
8871 then
8872 ac_save_CC="$CC"
8873 CC="$CROSSCC"
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8875 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8877 /* end confdefs.h. */
8880 main ()
8884 return 0;
8886 _ACEOF
8887 if ac_fn_c_try_compile "$LINENO"; then :
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8889 $as_echo "yes" >&6; }
8890 set x $CROSSCC
8891 shift
8892 while test $# -ge 1
8894 case "$1" in
8895 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8896 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8897 esac
8898 shift
8899 done
8900 else
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8902 $as_echo "no" >&6; }
8904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8905 CC="$ac_save_CC"
8906 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8912 if test "$ac_cv_header_pthread_h" = "yes"
8913 then
8914 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8915 if test "x$ac_cv_func_pthread_create" = xyes; then :
8917 else
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8919 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8920 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8921 $as_echo_n "(cached) " >&6
8922 else
8923 ac_check_lib_save_LIBS=$LIBS
8924 LIBS="-lpthread $LIBS"
8925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8926 /* end confdefs.h. */
8928 /* Override any GCC internal prototype to avoid an error.
8929 Use char because int might match the return type of a GCC
8930 builtin and then its argument prototype would still apply. */
8931 #ifdef __cplusplus
8932 extern "C"
8933 #endif
8934 char pthread_create ();
8936 main ()
8938 return pthread_create ();
8940 return 0;
8942 _ACEOF
8943 if ac_fn_c_try_link "$LINENO"; then :
8944 ac_cv_lib_pthread_pthread_create=yes
8945 else
8946 ac_cv_lib_pthread_pthread_create=no
8948 rm -f core conftest.err conftest.$ac_objext \
8949 conftest$ac_exeext conftest.$ac_ext
8950 LIBS=$ac_check_lib_save_LIBS
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8953 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8954 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8955 PTHREAD_LIBS="-lpthread"
8962 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8963 case "x$with_pthread" in
8964 xno) ;;
8965 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8966 Wine cannot support threads without libpthread.
8967 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8968 esac
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8974 $as_echo_n "checking for X... " >&6; }
8977 # Check whether --with-x was given.
8978 if test "${with_x+set}" = set; then :
8979 withval=$with_x;
8982 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8983 if test "x$with_x" = xno; then
8984 # The user explicitly disabled X.
8985 have_x=disabled
8986 else
8987 case $x_includes,$x_libraries in #(
8988 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8989 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8990 $as_echo_n "(cached) " >&6
8991 else
8992 # One or both of the vars are not set, and there is no cached value.
8993 ac_x_includes=no ac_x_libraries=no
8994 rm -f -r conftest.dir
8995 if mkdir conftest.dir; then
8996 cd conftest.dir
8997 cat >Imakefile <<'_ACEOF'
8998 incroot:
8999 @echo incroot='${INCROOT}'
9000 usrlibdir:
9001 @echo usrlibdir='${USRLIBDIR}'
9002 libdir:
9003 @echo libdir='${LIBDIR}'
9004 _ACEOF
9005 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9006 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9007 for ac_var in incroot usrlibdir libdir; do
9008 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9009 done
9010 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9011 for ac_extension in a so sl dylib la dll; do
9012 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9013 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9014 ac_im_usrlibdir=$ac_im_libdir; break
9016 done
9017 # Screen out bogus values from the imake configuration. They are
9018 # bogus both because they are the default anyway, and because
9019 # using them would break gcc on systems where it needs fixed includes.
9020 case $ac_im_incroot in
9021 /usr/include) ac_x_includes= ;;
9022 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9023 esac
9024 case $ac_im_usrlibdir in
9025 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9026 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9027 esac
9029 cd ..
9030 rm -f -r conftest.dir
9033 # Standard set of common directories for X headers.
9034 # Check X11 before X11Rn because it is often a symlink to the current release.
9035 ac_x_header_dirs='
9036 /usr/X11/include
9037 /usr/X11R7/include
9038 /usr/X11R6/include
9039 /usr/X11R5/include
9040 /usr/X11R4/include
9042 /usr/include/X11
9043 /usr/include/X11R7
9044 /usr/include/X11R6
9045 /usr/include/X11R5
9046 /usr/include/X11R4
9048 /usr/local/X11/include
9049 /usr/local/X11R7/include
9050 /usr/local/X11R6/include
9051 /usr/local/X11R5/include
9052 /usr/local/X11R4/include
9054 /usr/local/include/X11
9055 /usr/local/include/X11R7
9056 /usr/local/include/X11R6
9057 /usr/local/include/X11R5
9058 /usr/local/include/X11R4
9060 /usr/X386/include
9061 /usr/x386/include
9062 /usr/XFree86/include/X11
9064 /usr/include
9065 /usr/local/include
9066 /usr/unsupported/include
9067 /usr/athena/include
9068 /usr/local/x11r5/include
9069 /usr/lpp/Xamples/include
9071 /usr/openwin/include
9072 /usr/openwin/share/include'
9074 if test "$ac_x_includes" = no; then
9075 # Guess where to find include files, by looking for Xlib.h.
9076 # First, try using that file with no special directory specified.
9077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9078 /* end confdefs.h. */
9079 #include <X11/Xlib.h>
9080 _ACEOF
9081 if ac_fn_c_try_cpp "$LINENO"; then :
9082 # We can compile using X headers with no special include directory.
9083 ac_x_includes=
9084 else
9085 for ac_dir in $ac_x_header_dirs; do
9086 if test -r "$ac_dir/X11/Xlib.h"; then
9087 ac_x_includes=$ac_dir
9088 break
9090 done
9092 rm -f conftest.err conftest.i conftest.$ac_ext
9093 fi # $ac_x_includes = no
9095 if test "$ac_x_libraries" = no; then
9096 # Check for the libraries.
9097 # See if we find them without any special options.
9098 # Don't add to $LIBS permanently.
9099 ac_save_LIBS=$LIBS
9100 LIBS="-lX11 $LIBS"
9101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9102 /* end confdefs.h. */
9103 #include <X11/Xlib.h>
9105 main ()
9107 XrmInitialize ()
9109 return 0;
9111 _ACEOF
9112 if ac_fn_c_try_link "$LINENO"; then :
9113 LIBS=$ac_save_LIBS
9114 # We can link X programs with no special library path.
9115 ac_x_libraries=
9116 else
9117 LIBS=$ac_save_LIBS
9118 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9120 # Don't even attempt the hair of trying to link an X program!
9121 for ac_extension in a so sl dylib la dll; do
9122 if test -r "$ac_dir/libX11.$ac_extension"; then
9123 ac_x_libraries=$ac_dir
9124 break 2
9126 done
9127 done
9129 rm -f core conftest.err conftest.$ac_objext \
9130 conftest$ac_exeext conftest.$ac_ext
9131 fi # $ac_x_libraries = no
9133 case $ac_x_includes,$ac_x_libraries in #(
9134 no,* | *,no | *\'*)
9135 # Didn't find X, or a directory has "'" in its name.
9136 ac_cv_have_x="have_x=no";; #(
9138 # Record where we found X for the cache.
9139 ac_cv_have_x="have_x=yes\
9140 ac_x_includes='$ac_x_includes'\
9141 ac_x_libraries='$ac_x_libraries'"
9142 esac
9144 ;; #(
9145 *) have_x=yes;;
9146 esac
9147 eval "$ac_cv_have_x"
9148 fi # $with_x != no
9150 if test "$have_x" != yes; then
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9152 $as_echo "$have_x" >&6; }
9153 no_x=yes
9154 else
9155 # If each of the values was on the command line, it overrides each guess.
9156 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9157 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9158 # Update the cache value to reflect the command line values.
9159 ac_cv_have_x="have_x=yes\
9160 ac_x_includes='$x_includes'\
9161 ac_x_libraries='$x_libraries'"
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9163 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9166 if test "$no_x" = yes; then
9167 # Not all programs may use this symbol, but it does not hurt to define it.
9169 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9171 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9172 else
9173 if test -n "$x_includes"; then
9174 X_CFLAGS="$X_CFLAGS -I$x_includes"
9177 # It would also be nice to do this for all -L options, not just this one.
9178 if test -n "$x_libraries"; then
9179 X_LIBS="$X_LIBS -L$x_libraries"
9180 # For Solaris; some versions of Sun CC require a space after -R and
9181 # others require no space. Words are not sufficient . . . .
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9183 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9184 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9185 ac_xsave_c_werror_flag=$ac_c_werror_flag
9186 ac_c_werror_flag=yes
9187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9188 /* end confdefs.h. */
9191 main ()
9195 return 0;
9197 _ACEOF
9198 if ac_fn_c_try_link "$LINENO"; then :
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9200 $as_echo "no" >&6; }
9201 X_LIBS="$X_LIBS -R$x_libraries"
9202 else
9203 LIBS="$ac_xsave_LIBS -R $x_libraries"
9204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9205 /* end confdefs.h. */
9208 main ()
9212 return 0;
9214 _ACEOF
9215 if ac_fn_c_try_link "$LINENO"; then :
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9217 $as_echo "yes" >&6; }
9218 X_LIBS="$X_LIBS -R $x_libraries"
9219 else
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9221 $as_echo "neither works" >&6; }
9223 rm -f core conftest.err conftest.$ac_objext \
9224 conftest$ac_exeext conftest.$ac_ext
9226 rm -f core conftest.err conftest.$ac_objext \
9227 conftest$ac_exeext conftest.$ac_ext
9228 ac_c_werror_flag=$ac_xsave_c_werror_flag
9229 LIBS=$ac_xsave_LIBS
9232 # Check for system-dependent libraries X programs must link with.
9233 # Do this before checking for the system-independent R6 libraries
9234 # (-lICE), since we may need -lsocket or whatever for X linking.
9236 if test "$ISC" = yes; then
9237 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9238 else
9239 # Martyn Johnson says this is needed for Ultrix, if the X
9240 # libraries were built with DECnet support. And Karl Berry says
9241 # the Alpha needs dnet_stub (dnet does not exist).
9242 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9246 /* Override any GCC internal prototype to avoid an error.
9247 Use char because int might match the return type of a GCC
9248 builtin and then its argument prototype would still apply. */
9249 #ifdef __cplusplus
9250 extern "C"
9251 #endif
9252 char XOpenDisplay ();
9254 main ()
9256 return XOpenDisplay ();
9258 return 0;
9260 _ACEOF
9261 if ac_fn_c_try_link "$LINENO"; then :
9263 else
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9265 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9266 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9267 $as_echo_n "(cached) " >&6
9268 else
9269 ac_check_lib_save_LIBS=$LIBS
9270 LIBS="-ldnet $LIBS"
9271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9272 /* end confdefs.h. */
9274 /* Override any GCC internal prototype to avoid an error.
9275 Use char because int might match the return type of a GCC
9276 builtin and then its argument prototype would still apply. */
9277 #ifdef __cplusplus
9278 extern "C"
9279 #endif
9280 char dnet_ntoa ();
9282 main ()
9284 return dnet_ntoa ();
9286 return 0;
9288 _ACEOF
9289 if ac_fn_c_try_link "$LINENO"; then :
9290 ac_cv_lib_dnet_dnet_ntoa=yes
9291 else
9292 ac_cv_lib_dnet_dnet_ntoa=no
9294 rm -f core conftest.err conftest.$ac_objext \
9295 conftest$ac_exeext conftest.$ac_ext
9296 LIBS=$ac_check_lib_save_LIBS
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9299 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9300 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9301 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9304 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9306 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9307 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9308 $as_echo_n "(cached) " >&6
9309 else
9310 ac_check_lib_save_LIBS=$LIBS
9311 LIBS="-ldnet_stub $LIBS"
9312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9313 /* end confdefs.h. */
9315 /* Override any GCC internal prototype to avoid an error.
9316 Use char because int might match the return type of a GCC
9317 builtin and then its argument prototype would still apply. */
9318 #ifdef __cplusplus
9319 extern "C"
9320 #endif
9321 char dnet_ntoa ();
9323 main ()
9325 return dnet_ntoa ();
9327 return 0;
9329 _ACEOF
9330 if ac_fn_c_try_link "$LINENO"; then :
9331 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9332 else
9333 ac_cv_lib_dnet_stub_dnet_ntoa=no
9335 rm -f core conftest.err conftest.$ac_objext \
9336 conftest$ac_exeext conftest.$ac_ext
9337 LIBS=$ac_check_lib_save_LIBS
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9340 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9341 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9342 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9347 rm -f core conftest.err conftest.$ac_objext \
9348 conftest$ac_exeext conftest.$ac_ext
9349 LIBS="$ac_xsave_LIBS"
9351 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9352 # to get the SysV transport functions.
9353 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9354 # needs -lnsl.
9355 # The nsl library prevents programs from opening the X display
9356 # on Irix 5.2, according to T.E. Dickey.
9357 # The functions gethostbyname, getservbyname, and inet_addr are
9358 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9359 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9360 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9364 if test $ac_cv_func_gethostbyname = no; then
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9366 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9367 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9368 $as_echo_n "(cached) " >&6
9369 else
9370 ac_check_lib_save_LIBS=$LIBS
9371 LIBS="-lnsl $LIBS"
9372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373 /* end confdefs.h. */
9375 /* Override any GCC internal prototype to avoid an error.
9376 Use char because int might match the return type of a GCC
9377 builtin and then its argument prototype would still apply. */
9378 #ifdef __cplusplus
9379 extern "C"
9380 #endif
9381 char gethostbyname ();
9383 main ()
9385 return gethostbyname ();
9387 return 0;
9389 _ACEOF
9390 if ac_fn_c_try_link "$LINENO"; then :
9391 ac_cv_lib_nsl_gethostbyname=yes
9392 else
9393 ac_cv_lib_nsl_gethostbyname=no
9395 rm -f core conftest.err conftest.$ac_objext \
9396 conftest$ac_exeext conftest.$ac_ext
9397 LIBS=$ac_check_lib_save_LIBS
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9400 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9401 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9402 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9405 if test $ac_cv_lib_nsl_gethostbyname = no; then
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9407 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9408 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9409 $as_echo_n "(cached) " >&6
9410 else
9411 ac_check_lib_save_LIBS=$LIBS
9412 LIBS="-lbsd $LIBS"
9413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9416 /* Override any GCC internal prototype to avoid an error.
9417 Use char because int might match the return type of a GCC
9418 builtin and then its argument prototype would still apply. */
9419 #ifdef __cplusplus
9420 extern "C"
9421 #endif
9422 char gethostbyname ();
9424 main ()
9426 return gethostbyname ();
9428 return 0;
9430 _ACEOF
9431 if ac_fn_c_try_link "$LINENO"; then :
9432 ac_cv_lib_bsd_gethostbyname=yes
9433 else
9434 ac_cv_lib_bsd_gethostbyname=no
9436 rm -f core conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438 LIBS=$ac_check_lib_save_LIBS
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9441 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9442 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9443 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9449 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9450 # socket/setsockopt and other routines are undefined under SCO ODT
9451 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9452 # on later versions), says Simon Leinen: it contains gethostby*
9453 # variants that don't use the name server (or something). -lsocket
9454 # must be given before -lnsl if both are needed. We assume that
9455 # if connect needs -lnsl, so does gethostbyname.
9456 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9457 if test "x$ac_cv_func_connect" = xyes; then :
9461 if test $ac_cv_func_connect = no; then
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9463 $as_echo_n "checking for connect in -lsocket... " >&6; }
9464 if ${ac_cv_lib_socket_connect+:} false; then :
9465 $as_echo_n "(cached) " >&6
9466 else
9467 ac_check_lib_save_LIBS=$LIBS
9468 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9472 /* Override any GCC internal prototype to avoid an error.
9473 Use char because int might match the return type of a GCC
9474 builtin and then its argument prototype would still apply. */
9475 #ifdef __cplusplus
9476 extern "C"
9477 #endif
9478 char connect ();
9480 main ()
9482 return connect ();
9484 return 0;
9486 _ACEOF
9487 if ac_fn_c_try_link "$LINENO"; then :
9488 ac_cv_lib_socket_connect=yes
9489 else
9490 ac_cv_lib_socket_connect=no
9492 rm -f core conftest.err conftest.$ac_objext \
9493 conftest$ac_exeext conftest.$ac_ext
9494 LIBS=$ac_check_lib_save_LIBS
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9497 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9498 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9499 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9504 # Guillermo Gomez says -lposix is necessary on A/UX.
9505 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9506 if test "x$ac_cv_func_remove" = xyes; then :
9510 if test $ac_cv_func_remove = no; then
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9512 $as_echo_n "checking for remove in -lposix... " >&6; }
9513 if ${ac_cv_lib_posix_remove+:} false; then :
9514 $as_echo_n "(cached) " >&6
9515 else
9516 ac_check_lib_save_LIBS=$LIBS
9517 LIBS="-lposix $LIBS"
9518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9519 /* end confdefs.h. */
9521 /* Override any GCC internal prototype to avoid an error.
9522 Use char because int might match the return type of a GCC
9523 builtin and then its argument prototype would still apply. */
9524 #ifdef __cplusplus
9525 extern "C"
9526 #endif
9527 char remove ();
9529 main ()
9531 return remove ();
9533 return 0;
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"; then :
9537 ac_cv_lib_posix_remove=yes
9538 else
9539 ac_cv_lib_posix_remove=no
9541 rm -f core conftest.err conftest.$ac_objext \
9542 conftest$ac_exeext conftest.$ac_ext
9543 LIBS=$ac_check_lib_save_LIBS
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9546 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9547 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9548 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9553 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9554 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9555 if test "x$ac_cv_func_shmat" = xyes; then :
9559 if test $ac_cv_func_shmat = no; then
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9561 $as_echo_n "checking for shmat in -lipc... " >&6; }
9562 if ${ac_cv_lib_ipc_shmat+:} false; then :
9563 $as_echo_n "(cached) " >&6
9564 else
9565 ac_check_lib_save_LIBS=$LIBS
9566 LIBS="-lipc $LIBS"
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9570 /* Override any GCC internal prototype to avoid an error.
9571 Use char because int might match the return type of a GCC
9572 builtin and then its argument prototype would still apply. */
9573 #ifdef __cplusplus
9574 extern "C"
9575 #endif
9576 char shmat ();
9578 main ()
9580 return shmat ();
9582 return 0;
9584 _ACEOF
9585 if ac_fn_c_try_link "$LINENO"; then :
9586 ac_cv_lib_ipc_shmat=yes
9587 else
9588 ac_cv_lib_ipc_shmat=no
9590 rm -f core conftest.err conftest.$ac_objext \
9591 conftest$ac_exeext conftest.$ac_ext
9592 LIBS=$ac_check_lib_save_LIBS
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9595 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9596 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9597 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9603 # Check for libraries that X11R6 Xt/Xaw programs need.
9604 ac_save_LDFLAGS=$LDFLAGS
9605 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9606 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9607 # check for ICE first), but we must link in the order -lSM -lICE or
9608 # we get undefined symbols. So assume we have SM if we have ICE.
9609 # These have to be linked with before -lX11, unlike the other
9610 # libraries we check for below, so use a different variable.
9611 # John Interrante, Karl Berry
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9613 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9614 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9615 $as_echo_n "(cached) " >&6
9616 else
9617 ac_check_lib_save_LIBS=$LIBS
9618 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9620 /* end confdefs.h. */
9622 /* Override any GCC internal prototype to avoid an error.
9623 Use char because int might match the return type of a GCC
9624 builtin and then its argument prototype would still apply. */
9625 #ifdef __cplusplus
9626 extern "C"
9627 #endif
9628 char IceConnectionNumber ();
9630 main ()
9632 return IceConnectionNumber ();
9634 return 0;
9636 _ACEOF
9637 if ac_fn_c_try_link "$LINENO"; then :
9638 ac_cv_lib_ICE_IceConnectionNumber=yes
9639 else
9640 ac_cv_lib_ICE_IceConnectionNumber=no
9642 rm -f core conftest.err conftest.$ac_objext \
9643 conftest$ac_exeext conftest.$ac_ext
9644 LIBS=$ac_check_lib_save_LIBS
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9647 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9648 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9649 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9652 LDFLAGS=$ac_save_LDFLAGS
9657 if test "$have_x" = "yes"
9658 then
9659 ac_save_CPPFLAGS="$CPPFLAGS"
9660 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9663 $as_echo_n "checking for -lX11... " >&6; }
9664 if ${ac_cv_lib_soname_X11+:} false; then :
9665 $as_echo_n "(cached) " >&6
9666 else
9667 ac_check_soname_save_LIBS=$LIBS
9668 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9670 /* end confdefs.h. */
9672 /* Override any GCC internal prototype to avoid an error.
9673 Use char because int might match the return type of a GCC
9674 builtin and then its argument prototype would still apply. */
9675 #ifdef __cplusplus
9676 extern "C"
9677 #endif
9678 char XCreateWindow ();
9680 main ()
9682 return XCreateWindow ();
9684 return 0;
9686 _ACEOF
9687 if ac_fn_c_try_link "$LINENO"; then :
9688 case "$LIBEXT" in
9689 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9690 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'` ;;
9691 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9692 if ${ac_cv_lib_soname_X11:+false} :; then :
9693 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9694 fi ;;
9695 esac
9697 rm -f core conftest.err conftest.$ac_objext \
9698 conftest$ac_exeext conftest.$ac_ext
9699 LIBS=$ac_check_soname_save_LIBS
9701 if ${ac_cv_lib_soname_X11:+false} :; then :
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9703 $as_echo "not found" >&6; }
9705 else
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9707 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9709 cat >>confdefs.h <<_ACEOF
9710 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9711 _ACEOF
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9716 $as_echo_n "checking for -lXext... " >&6; }
9717 if ${ac_cv_lib_soname_Xext+:} false; then :
9718 $as_echo_n "(cached) " >&6
9719 else
9720 ac_check_soname_save_LIBS=$LIBS
9721 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9725 /* Override any GCC internal prototype to avoid an error.
9726 Use char because int might match the return type of a GCC
9727 builtin and then its argument prototype would still apply. */
9728 #ifdef __cplusplus
9729 extern "C"
9730 #endif
9731 char XextCreateExtension ();
9733 main ()
9735 return XextCreateExtension ();
9737 return 0;
9739 _ACEOF
9740 if ac_fn_c_try_link "$LINENO"; then :
9741 case "$LIBEXT" in
9742 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9743 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'` ;;
9744 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9745 if ${ac_cv_lib_soname_Xext:+false} :; then :
9746 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9747 fi ;;
9748 esac
9750 rm -f core conftest.err conftest.$ac_objext \
9751 conftest$ac_exeext conftest.$ac_ext
9752 LIBS=$ac_check_soname_save_LIBS
9754 if ${ac_cv_lib_soname_Xext:+false} :; then :
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9756 $as_echo "not found" >&6; }
9758 else
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9760 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9762 cat >>confdefs.h <<_ACEOF
9763 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9764 _ACEOF
9766 X_LIBS="$X_LIBS -lXext"
9768 X_LIBS="$X_LIBS -lX11"
9770 for ac_header in X11/Xlib.h \
9771 X11/XKBlib.h \
9772 X11/Xutil.h \
9773 X11/Xcursor/Xcursor.h \
9774 X11/extensions/shape.h \
9775 X11/extensions/XInput.h \
9776 X11/extensions/XInput2.h \
9777 X11/extensions/XShm.h \
9778 X11/extensions/Xcomposite.h \
9779 X11/extensions/Xfixes.h \
9780 X11/extensions/Xinerama.h \
9781 X11/extensions/Xrandr.h \
9782 X11/extensions/Xrender.h \
9783 X11/extensions/xf86vmode.h \
9784 X11/extensions/xf86vmproto.h
9785 do :
9786 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9787 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9788 # include <X11/Xlib.h>
9789 #endif
9790 #ifdef HAVE_X11_XUTIL_H
9791 # include <X11/Xutil.h>
9792 #endif
9794 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9795 cat >>confdefs.h <<_ACEOF
9796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9797 _ACEOF
9801 done
9804 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9805 then
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9807 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9808 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9809 $as_echo_n "(cached) " >&6
9810 else
9811 ac_check_lib_save_LIBS=$LIBS
9812 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9814 /* end confdefs.h. */
9816 /* Override any GCC internal prototype to avoid an error.
9817 Use char because int might match the return type of a GCC
9818 builtin and then its argument prototype would still apply. */
9819 #ifdef __cplusplus
9820 extern "C"
9821 #endif
9822 char XkbQueryExtension ();
9824 main ()
9826 return XkbQueryExtension ();
9828 return 0;
9830 _ACEOF
9831 if ac_fn_c_try_link "$LINENO"; then :
9832 ac_cv_lib_X11_XkbQueryExtension=yes
9833 else
9834 ac_cv_lib_X11_XkbQueryExtension=no
9836 rm -f core conftest.err conftest.$ac_objext \
9837 conftest$ac_exeext conftest.$ac_ext
9838 LIBS=$ac_check_lib_save_LIBS
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9841 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9842 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9844 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9850 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9851 then
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9853 $as_echo_n "checking for -lXcursor... " >&6; }
9854 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9855 $as_echo_n "(cached) " >&6
9856 else
9857 ac_check_soname_save_LIBS=$LIBS
9858 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860 /* end confdefs.h. */
9862 /* Override any GCC internal prototype to avoid an error.
9863 Use char because int might match the return type of a GCC
9864 builtin and then its argument prototype would still apply. */
9865 #ifdef __cplusplus
9866 extern "C"
9867 #endif
9868 char XcursorImageLoadCursor ();
9870 main ()
9872 return XcursorImageLoadCursor ();
9874 return 0;
9876 _ACEOF
9877 if ac_fn_c_try_link "$LINENO"; then :
9878 case "$LIBEXT" in
9879 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9880 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'` ;;
9881 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9882 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9883 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9884 fi ;;
9885 esac
9887 rm -f core conftest.err conftest.$ac_objext \
9888 conftest$ac_exeext conftest.$ac_ext
9889 LIBS=$ac_check_soname_save_LIBS
9891 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9893 $as_echo "not found" >&6; }
9895 else
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9897 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9899 cat >>confdefs.h <<_ACEOF
9900 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9901 _ACEOF
9906 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9907 case "x$with_xcursor" in
9908 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9909 xno) ;;
9910 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9911 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9912 esac
9916 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9917 then
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9919 $as_echo_n "checking for -lXi... " >&6; }
9920 if ${ac_cv_lib_soname_Xi+:} false; then :
9921 $as_echo_n "(cached) " >&6
9922 else
9923 ac_check_soname_save_LIBS=$LIBS
9924 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9928 /* Override any GCC internal prototype to avoid an error.
9929 Use char because int might match the return type of a GCC
9930 builtin and then its argument prototype would still apply. */
9931 #ifdef __cplusplus
9932 extern "C"
9933 #endif
9934 char XOpenDevice ();
9936 main ()
9938 return XOpenDevice ();
9940 return 0;
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"; then :
9944 case "$LIBEXT" in
9945 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9946 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'` ;;
9947 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9948 if ${ac_cv_lib_soname_Xi:+false} :; then :
9949 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9950 fi ;;
9951 esac
9953 rm -f core conftest.err conftest.$ac_objext \
9954 conftest$ac_exeext conftest.$ac_ext
9955 LIBS=$ac_check_soname_save_LIBS
9957 if ${ac_cv_lib_soname_Xi:+false} :; then :
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9959 $as_echo "not found" >&6; }
9961 else
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9963 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9965 cat >>confdefs.h <<_ACEOF
9966 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9967 _ACEOF
9972 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9973 case "x$with_xinput" in
9974 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9975 xno) ;;
9976 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9977 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9978 esac
9982 if test "x$ac_cv_lib_soname_Xi" != x
9983 then
9984 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9985 case "x$with_xinput2" in
9986 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9987 xno) ;;
9988 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9989 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9990 esac
9995 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9996 then
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9998 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9999 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10000 $as_echo_n "(cached) " >&6
10001 else
10002 ac_check_lib_save_LIBS=$LIBS
10003 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10007 /* Override any GCC internal prototype to avoid an error.
10008 Use char because int might match the return type of a GCC
10009 builtin and then its argument prototype would still apply. */
10010 #ifdef __cplusplus
10011 extern "C"
10012 #endif
10013 char XShmQueryExtension ();
10015 main ()
10017 return XShmQueryExtension ();
10019 return 0;
10021 _ACEOF
10022 if ac_fn_c_try_link "$LINENO"; then :
10023 ac_cv_lib_Xext_XShmQueryExtension=yes
10024 else
10025 ac_cv_lib_Xext_XShmQueryExtension=no
10027 rm -f core conftest.err conftest.$ac_objext \
10028 conftest$ac_exeext conftest.$ac_ext
10029 LIBS=$ac_check_lib_save_LIBS
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10032 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10033 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10035 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10040 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10041 case "x$with_xshm" in
10042 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10043 xno) ;;
10044 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10045 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10046 esac
10050 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10051 then
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10053 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10054 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10055 $as_echo_n "(cached) " >&6
10056 else
10057 ac_check_lib_save_LIBS=$LIBS
10058 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10060 /* end confdefs.h. */
10062 /* Override any GCC internal prototype to avoid an error.
10063 Use char because int might match the return type of a GCC
10064 builtin and then its argument prototype would still apply. */
10065 #ifdef __cplusplus
10066 extern "C"
10067 #endif
10068 char XShapeQueryExtension ();
10070 main ()
10072 return XShapeQueryExtension ();
10074 return 0;
10076 _ACEOF
10077 if ac_fn_c_try_link "$LINENO"; then :
10078 ac_cv_lib_Xext_XShapeQueryExtension=yes
10079 else
10080 ac_cv_lib_Xext_XShapeQueryExtension=no
10082 rm -f core conftest.err conftest.$ac_objext \
10083 conftest$ac_exeext conftest.$ac_ext
10084 LIBS=$ac_check_lib_save_LIBS
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10087 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10088 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10090 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10095 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10096 case "x$with_xshape" in
10097 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10098 xno) ;;
10099 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10100 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10101 esac
10105 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10106 then
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10108 $as_echo_n "checking for -lXxf86vm... " >&6; }
10109 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10110 $as_echo_n "(cached) " >&6
10111 else
10112 ac_check_soname_save_LIBS=$LIBS
10113 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10117 /* Override any GCC internal prototype to avoid an error.
10118 Use char because int might match the return type of a GCC
10119 builtin and then its argument prototype would still apply. */
10120 #ifdef __cplusplus
10121 extern "C"
10122 #endif
10123 char XF86VidModeQueryExtension ();
10125 main ()
10127 return XF86VidModeQueryExtension ();
10129 return 0;
10131 _ACEOF
10132 if ac_fn_c_try_link "$LINENO"; then :
10133 case "$LIBEXT" in
10134 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10135 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'` ;;
10136 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10137 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10138 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10139 fi ;;
10140 esac
10142 rm -f core conftest.err conftest.$ac_objext \
10143 conftest$ac_exeext conftest.$ac_ext
10144 LIBS=$ac_check_soname_save_LIBS
10146 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10148 $as_echo "not found" >&6; }
10150 else
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10152 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10154 cat >>confdefs.h <<_ACEOF
10155 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10156 _ACEOF
10161 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10162 case "x$with_xxf86vm" in
10163 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10164 xno) ;;
10165 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10166 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10167 esac
10171 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10172 then
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10174 $as_echo_n "checking for -lXrender... " >&6; }
10175 if ${ac_cv_lib_soname_Xrender+:} false; then :
10176 $as_echo_n "(cached) " >&6
10177 else
10178 ac_check_soname_save_LIBS=$LIBS
10179 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h. */
10183 /* Override any GCC internal prototype to avoid an error.
10184 Use char because int might match the return type of a GCC
10185 builtin and then its argument prototype would still apply. */
10186 #ifdef __cplusplus
10187 extern "C"
10188 #endif
10189 char XRenderQueryExtension ();
10191 main ()
10193 return XRenderQueryExtension ();
10195 return 0;
10197 _ACEOF
10198 if ac_fn_c_try_link "$LINENO"; then :
10199 case "$LIBEXT" in
10200 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10201 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'` ;;
10202 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10203 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10204 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10205 fi ;;
10206 esac
10208 rm -f core conftest.err conftest.$ac_objext \
10209 conftest$ac_exeext conftest.$ac_ext
10210 LIBS=$ac_check_soname_save_LIBS
10212 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10214 $as_echo "not found" >&6; }
10216 else
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10218 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10220 cat >>confdefs.h <<_ACEOF
10221 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10222 _ACEOF
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10225 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10226 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10227 $as_echo_n "(cached) " >&6
10228 else
10229 ac_check_lib_save_LIBS=$LIBS
10230 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10234 /* Override any GCC internal prototype to avoid an error.
10235 Use char because int might match the return type of a GCC
10236 builtin and then its argument prototype would still apply. */
10237 #ifdef __cplusplus
10238 extern "C"
10239 #endif
10240 char XRenderSetPictureTransform ();
10242 main ()
10244 return XRenderSetPictureTransform ();
10246 return 0;
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10251 else
10252 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10254 rm -f core conftest.err conftest.$ac_objext \
10255 conftest$ac_exeext conftest.$ac_ext
10256 LIBS=$ac_check_lib_save_LIBS
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10259 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10260 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10262 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10267 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10268 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10269 $as_echo_n "(cached) " >&6
10270 else
10271 ac_check_lib_save_LIBS=$LIBS
10272 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10276 /* Override any GCC internal prototype to avoid an error.
10277 Use char because int might match the return type of a GCC
10278 builtin and then its argument prototype would still apply. */
10279 #ifdef __cplusplus
10280 extern "C"
10281 #endif
10282 char XRenderCreateLinearGradient ();
10284 main ()
10286 return XRenderCreateLinearGradient ();
10288 return 0;
10290 _ACEOF
10291 if ac_fn_c_try_link "$LINENO"; then :
10292 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10293 else
10294 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10296 rm -f core conftest.err conftest.$ac_objext \
10297 conftest$ac_exeext conftest.$ac_ext
10298 LIBS=$ac_check_lib_save_LIBS
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10301 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10302 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10304 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10311 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10312 case "x$with_xrender" in
10313 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10314 xno) ;;
10315 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10316 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10317 esac
10321 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10322 then
10323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10324 /* end confdefs.h. */
10325 #include <X11/Xlib.h>
10326 #include <X11/extensions/Xrandr.h>
10328 main ()
10330 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10332 return 0;
10334 _ACEOF
10335 if ac_fn_c_try_compile "$LINENO"; then :
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10337 $as_echo_n "checking for -lXrandr... " >&6; }
10338 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10339 $as_echo_n "(cached) " >&6
10340 else
10341 ac_check_soname_save_LIBS=$LIBS
10342 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10344 /* end confdefs.h. */
10346 /* Override any GCC internal prototype to avoid an error.
10347 Use char because int might match the return type of a GCC
10348 builtin and then its argument prototype would still apply. */
10349 #ifdef __cplusplus
10350 extern "C"
10351 #endif
10352 char XRRQueryExtension ();
10354 main ()
10356 return XRRQueryExtension ();
10358 return 0;
10360 _ACEOF
10361 if ac_fn_c_try_link "$LINENO"; then :
10362 case "$LIBEXT" in
10363 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10364 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'` ;;
10365 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10366 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10367 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10368 fi ;;
10369 esac
10371 rm -f core conftest.err conftest.$ac_objext \
10372 conftest$ac_exeext conftest.$ac_ext
10373 LIBS=$ac_check_soname_save_LIBS
10375 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10377 $as_echo "not found" >&6; }
10379 else
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10381 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10383 cat >>confdefs.h <<_ACEOF
10384 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10385 _ACEOF
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10389 #include <X11/Xlib.h>
10390 #include <X11/extensions/Xrandr.h>
10392 main ()
10394 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10396 return 0;
10398 _ACEOF
10399 if ac_fn_c_try_compile "$LINENO"; then :
10401 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10409 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10410 case "x$with_xrandr" in
10411 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10412 xno) ;;
10413 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10414 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10415 esac
10419 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10420 then
10421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10422 /* end confdefs.h. */
10423 #include <X11/Xlib.h>
10424 #include <X11/extensions/Xfixes.h>
10426 main ()
10428 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10430 return 0;
10432 _ACEOF
10433 if ac_fn_c_try_compile "$LINENO"; then :
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10435 $as_echo_n "checking for -lXfixes... " >&6; }
10436 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10437 $as_echo_n "(cached) " >&6
10438 else
10439 ac_check_soname_save_LIBS=$LIBS
10440 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10442 /* end confdefs.h. */
10444 /* Override any GCC internal prototype to avoid an error.
10445 Use char because int might match the return type of a GCC
10446 builtin and then its argument prototype would still apply. */
10447 #ifdef __cplusplus
10448 extern "C"
10449 #endif
10450 char XFixesQueryVersion ();
10452 main ()
10454 return XFixesQueryVersion ();
10456 return 0;
10458 _ACEOF
10459 if ac_fn_c_try_link "$LINENO"; then :
10460 case "$LIBEXT" in
10461 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10462 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'` ;;
10463 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10464 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10465 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10466 fi ;;
10467 esac
10469 rm -f core conftest.err conftest.$ac_objext \
10470 conftest$ac_exeext conftest.$ac_ext
10471 LIBS=$ac_check_soname_save_LIBS
10473 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10475 $as_echo "not found" >&6; }
10477 else
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10479 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10481 cat >>confdefs.h <<_ACEOF
10482 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10483 _ACEOF
10488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10490 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10491 case "x$with_xfixes" in
10492 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10493 xno) ;;
10494 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10495 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10496 esac
10500 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10501 then
10502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10503 /* end confdefs.h. */
10504 #include <X11/Xlib.h>
10505 #include <X11/extensions/Xinerama.h>
10507 main ()
10509 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10511 return 0;
10513 _ACEOF
10514 if ac_fn_c_try_compile "$LINENO"; then :
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10516 $as_echo_n "checking for -lXinerama... " >&6; }
10517 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10518 $as_echo_n "(cached) " >&6
10519 else
10520 ac_check_soname_save_LIBS=$LIBS
10521 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10523 /* end confdefs.h. */
10525 /* Override any GCC internal prototype to avoid an error.
10526 Use char because int might match the return type of a GCC
10527 builtin and then its argument prototype would still apply. */
10528 #ifdef __cplusplus
10529 extern "C"
10530 #endif
10531 char XineramaQueryScreens ();
10533 main ()
10535 return XineramaQueryScreens ();
10537 return 0;
10539 _ACEOF
10540 if ac_fn_c_try_link "$LINENO"; then :
10541 case "$LIBEXT" in
10542 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10543 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'` ;;
10544 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10545 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10546 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10547 fi ;;
10548 esac
10550 rm -f core conftest.err conftest.$ac_objext \
10551 conftest$ac_exeext conftest.$ac_ext
10552 LIBS=$ac_check_soname_save_LIBS
10554 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10556 $as_echo "not found" >&6; }
10558 else
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10560 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10562 cat >>confdefs.h <<_ACEOF
10563 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10564 _ACEOF
10569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10571 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10572 case "x$with_xinerama" in
10573 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10574 xno) ;;
10575 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10576 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10577 esac
10581 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10582 then
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10584 $as_echo_n "checking for -lXcomposite... " >&6; }
10585 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10586 $as_echo_n "(cached) " >&6
10587 else
10588 ac_check_soname_save_LIBS=$LIBS
10589 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10593 /* Override any GCC internal prototype to avoid an error.
10594 Use char because int might match the return type of a GCC
10595 builtin and then its argument prototype would still apply. */
10596 #ifdef __cplusplus
10597 extern "C"
10598 #endif
10599 char XCompositeRedirectWindow ();
10601 main ()
10603 return XCompositeRedirectWindow ();
10605 return 0;
10607 _ACEOF
10608 if ac_fn_c_try_link "$LINENO"; then :
10609 case "$LIBEXT" in
10610 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10611 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'` ;;
10612 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10613 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10614 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10615 fi ;;
10616 esac
10618 rm -f core conftest.err conftest.$ac_objext \
10619 conftest$ac_exeext conftest.$ac_ext
10620 LIBS=$ac_check_soname_save_LIBS
10622 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10624 $as_echo "not found" >&6; }
10626 else
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10628 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10630 cat >>confdefs.h <<_ACEOF
10631 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10632 _ACEOF
10637 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10638 case "x$with_xcomposite" in
10639 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10640 xno) ;;
10641 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10642 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10643 esac
10647 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10648 #include <X11/Xlib.h>
10649 #endif
10651 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10653 cat >>confdefs.h <<_ACEOF
10654 #define HAVE_XICCALLBACK_CALLBACK 1
10655 _ACEOF
10659 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10660 #include <X11/Xlib.h>
10661 #endif
10663 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10665 cat >>confdefs.h <<_ACEOF
10666 #define HAVE_XEVENT_XCOOKIE 1
10667 _ACEOF
10674 opengl_msg=""
10675 if test "x$with_opengl" != "xno"
10676 then
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10678 $as_echo_n "checking for -lGL... " >&6; }
10679 if ${ac_cv_lib_soname_GL+:} false; then :
10680 $as_echo_n "(cached) " >&6
10681 else
10682 ac_check_soname_save_LIBS=$LIBS
10683 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10685 /* end confdefs.h. */
10687 /* Override any GCC internal prototype to avoid an error.
10688 Use char because int might match the return type of a GCC
10689 builtin and then its argument prototype would still apply. */
10690 #ifdef __cplusplus
10691 extern "C"
10692 #endif
10693 char glXCreateContext ();
10695 main ()
10697 return glXCreateContext ();
10699 return 0;
10701 _ACEOF
10702 if ac_fn_c_try_link "$LINENO"; then :
10703 case "$LIBEXT" in
10704 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10705 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'` ;;
10706 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10707 if ${ac_cv_lib_soname_GL:+false} :; then :
10708 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10709 fi ;;
10710 esac
10712 rm -f core conftest.err conftest.$ac_objext \
10713 conftest$ac_exeext conftest.$ac_ext
10714 LIBS=$ac_check_soname_save_LIBS
10716 if ${ac_cv_lib_soname_GL:+false} :; then :
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10718 $as_echo "not found" >&6; }
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10720 $as_echo_n "checking for -lGL... " >&6; }
10721 if ${ac_cv_lib_soname_GL+:} false; then :
10722 $as_echo_n "(cached) " >&6
10723 else
10724 ac_check_soname_save_LIBS=$LIBS
10725 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"
10726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10727 /* end confdefs.h. */
10729 /* Override any GCC internal prototype to avoid an error.
10730 Use char because int might match the return type of a GCC
10731 builtin and then its argument prototype would still apply. */
10732 #ifdef __cplusplus
10733 extern "C"
10734 #endif
10735 char glXCreateContext ();
10737 main ()
10739 return glXCreateContext ();
10741 return 0;
10743 _ACEOF
10744 if ac_fn_c_try_link "$LINENO"; then :
10745 case "$LIBEXT" in
10746 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10747 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'` ;;
10748 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10749 if ${ac_cv_lib_soname_GL:+false} :; then :
10750 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10751 fi ;;
10752 esac
10754 rm -f core conftest.err conftest.$ac_objext \
10755 conftest$ac_exeext conftest.$ac_ext
10756 LIBS=$ac_check_soname_save_LIBS
10758 if ${ac_cv_lib_soname_GL:+false} :; then :
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10760 $as_echo "not found" >&6; }
10761 if test -f /usr/X11R6/lib/libGL.a
10762 then
10763 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10764 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10765 else
10766 opengl_msg="No OpenGL library found on this system."
10768 else
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10770 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10772 cat >>confdefs.h <<_ACEOF
10773 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10774 _ACEOF
10776 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"
10778 else
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10780 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10782 cat >>confdefs.h <<_ACEOF
10783 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10784 _ACEOF
10786 OPENGL_LIBS="-lGL"
10788 if test "x$with_glu" != "xno"
10789 then
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10791 $as_echo_n "checking for -lGLU... " >&6; }
10792 if ${ac_cv_lib_soname_GLU+:} false; then :
10793 $as_echo_n "(cached) " >&6
10794 else
10795 ac_check_soname_save_LIBS=$LIBS
10796 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10798 /* end confdefs.h. */
10800 /* Override any GCC internal prototype to avoid an error.
10801 Use char because int might match the return type of a GCC
10802 builtin and then its argument prototype would still apply. */
10803 #ifdef __cplusplus
10804 extern "C"
10805 #endif
10806 char gluLookAt ();
10808 main ()
10810 return gluLookAt ();
10812 return 0;
10814 _ACEOF
10815 if ac_fn_c_try_link "$LINENO"; then :
10816 case "$LIBEXT" in
10817 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10818 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'` ;;
10819 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10820 if ${ac_cv_lib_soname_GLU:+false} :; then :
10821 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10822 fi ;;
10823 esac
10825 rm -f core conftest.err conftest.$ac_objext \
10826 conftest$ac_exeext conftest.$ac_ext
10827 LIBS=$ac_check_soname_save_LIBS
10829 if ${ac_cv_lib_soname_GLU:+false} :; then :
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10831 $as_echo "not found" >&6; }
10833 else
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10835 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10837 cat >>confdefs.h <<_ACEOF
10838 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10839 _ACEOF
10843 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10844 case "x$with_glu" in
10845 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10846 xno) ;;
10847 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10848 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10849 esac
10854 if test "x$with_osmesa" != "xno"
10855 then
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10857 $as_echo_n "checking for -lOSMesa... " >&6; }
10858 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10859 $as_echo_n "(cached) " >&6
10860 else
10861 ac_check_soname_save_LIBS=$LIBS
10862 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10866 /* Override any GCC internal prototype to avoid an error.
10867 Use char because int might match the return type of a GCC
10868 builtin and then its argument prototype would still apply. */
10869 #ifdef __cplusplus
10870 extern "C"
10871 #endif
10872 char OSMesaGetProcAddress ();
10874 main ()
10876 return OSMesaGetProcAddress ();
10878 return 0;
10880 _ACEOF
10881 if ac_fn_c_try_link "$LINENO"; then :
10882 case "$LIBEXT" in
10883 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10884 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'` ;;
10885 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10886 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10887 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10888 fi ;;
10889 esac
10891 rm -f core conftest.err conftest.$ac_objext \
10892 conftest$ac_exeext conftest.$ac_ext
10893 LIBS=$ac_check_soname_save_LIBS
10895 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10897 $as_echo "not found" >&6; }
10899 else
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10901 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10903 cat >>confdefs.h <<_ACEOF
10904 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10905 _ACEOF
10909 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10910 case "x$with_osmesa" in
10911 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10912 xno) ;;
10913 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10914 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10915 esac
10920 if test -n "$opengl_msg"; then :
10921 case "x$with_opengl" in
10922 x) as_fn_append wine_warnings "|$opengl_msg
10923 OpenGL and Direct3D won't be supported." ;;
10924 xno) ;;
10925 *) as_fn_error $? "$opengl_msg
10926 OpenGL and Direct3D won't be supported.
10927 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10928 esac
10932 CPPFLAGS="$ac_save_CPPFLAGS"
10933 else
10934 X_CFLAGS=""
10935 X_LIBS=""
10938 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10939 then
10940 if test "x$X_LIBS" = "x"; then :
10941 case "x$with_x" in
10942 xno) ;;
10943 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10944 without X support, which probably isn't what you want. You will need
10945 to install ${notice_platform}development packages of Xlib at the very least.
10946 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10947 esac
10948 enable_winex11_drv=${enable_winex11_drv:-no}
10950 else
10951 if test "x$X_LIBS" = "x"; then :
10952 case "x$with_x" in
10953 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10954 xno) ;;
10955 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10956 This is an error since --with-x was requested." "$LINENO" 5 ;;
10957 esac
10958 enable_winex11_drv=${enable_winex11_drv:-no}
10962 if test "$ac_cv_header_CL_cl_h" = "yes"
10963 then
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10965 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10966 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10967 $as_echo_n "(cached) " >&6
10968 else
10969 ac_check_lib_save_LIBS=$LIBS
10970 LIBS="-lOpenCL $LIBS"
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10974 /* Override any GCC internal prototype to avoid an error.
10975 Use char because int might match the return type of a GCC
10976 builtin and then its argument prototype would still apply. */
10977 #ifdef __cplusplus
10978 extern "C"
10979 #endif
10980 char clGetPlatformInfo ();
10982 main ()
10984 return clGetPlatformInfo ();
10986 return 0;
10988 _ACEOF
10989 if ac_fn_c_try_link "$LINENO"; then :
10990 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10991 else
10992 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10994 rm -f core conftest.err conftest.$ac_objext \
10995 conftest$ac_exeext conftest.$ac_ext
10996 LIBS=$ac_check_lib_save_LIBS
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10999 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11000 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11001 OPENCL_LIBS="-lOpenCL"
11006 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11007 case "x$with_opencl" in
11008 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11009 xno) ;;
11010 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11011 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11012 esac
11013 enable_opencl=${enable_opencl:-no}
11016 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11017 then
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11019 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11020 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11021 $as_echo_n "(cached) " >&6
11022 else
11023 ac_check_lib_save_LIBS=$LIBS
11024 LIBS="-lpcap $LIBS"
11025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026 /* end confdefs.h. */
11028 /* Override any GCC internal prototype to avoid an error.
11029 Use char because int might match the return type of a GCC
11030 builtin and then its argument prototype would still apply. */
11031 #ifdef __cplusplus
11032 extern "C"
11033 #endif
11034 char pcap_create ();
11036 main ()
11038 return pcap_create ();
11040 return 0;
11042 _ACEOF
11043 if ac_fn_c_try_link "$LINENO"; then :
11044 ac_cv_lib_pcap_pcap_create=yes
11045 else
11046 ac_cv_lib_pcap_pcap_create=no
11048 rm -f core conftest.err conftest.$ac_objext \
11049 conftest$ac_exeext conftest.$ac_ext
11050 LIBS=$ac_check_lib_save_LIBS
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11053 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11054 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11055 PCAP_LIBS="-lpcap"
11060 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11061 case "x$with_pcap" in
11062 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11063 xno) ;;
11064 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11065 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11066 esac
11067 enable_wpcap=${enable_wpcap:-no}
11071 if test "x$with_xml" != "xno"
11072 then
11073 if ${XML2_CFLAGS:+false} :; then :
11074 if ${PKG_CONFIG+:} false; then :
11075 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11078 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11079 if ${XML2_LIBS:+false} :; then :
11080 if ${PKG_CONFIG+:} false; then :
11081 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11084 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11085 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11086 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11087 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11088 ac_save_CPPFLAGS=$CPPFLAGS
11089 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11090 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11091 do :
11092 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11093 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11094 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11095 cat >>confdefs.h <<_ACEOF
11096 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11097 _ACEOF
11101 done
11103 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"
11104 then
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11106 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11107 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11108 $as_echo_n "(cached) " >&6
11109 else
11110 ac_check_lib_save_LIBS=$LIBS
11111 LIBS="-lxml2 $XML2_LIBS $LIBS"
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11115 /* Override any GCC internal prototype to avoid an error.
11116 Use char because int might match the return type of a GCC
11117 builtin and then its argument prototype would still apply. */
11118 #ifdef __cplusplus
11119 extern "C"
11120 #endif
11121 char xmlParseMemory ();
11123 main ()
11125 return xmlParseMemory ();
11127 return 0;
11129 _ACEOF
11130 if ac_fn_c_try_link "$LINENO"; then :
11131 ac_cv_lib_xml2_xmlParseMemory=yes
11132 else
11133 ac_cv_lib_xml2_xmlParseMemory=no
11135 rm -f core conftest.err conftest.$ac_objext \
11136 conftest$ac_exeext conftest.$ac_ext
11137 LIBS=$ac_check_lib_save_LIBS
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11140 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11141 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11143 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11145 else
11146 XML2_LIBS=""
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11150 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11151 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11152 $as_echo_n "(cached) " >&6
11153 else
11154 ac_check_lib_save_LIBS=$LIBS
11155 LIBS="-lxml2 $XML2_LIBS $LIBS"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11162 #ifdef __cplusplus
11163 extern "C"
11164 #endif
11165 char xmlReadMemory ();
11167 main ()
11169 return xmlReadMemory ();
11171 return 0;
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 ac_cv_lib_xml2_xmlReadMemory=yes
11176 else
11177 ac_cv_lib_xml2_xmlReadMemory=no
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11184 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11185 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11187 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11192 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11193 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11194 $as_echo_n "(cached) " >&6
11195 else
11196 ac_check_lib_save_LIBS=$LIBS
11197 LIBS="-lxml2 $XML2_LIBS $LIBS"
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11201 /* Override any GCC internal prototype to avoid an error.
11202 Use char because int might match the return type of a GCC
11203 builtin and then its argument prototype would still apply. */
11204 #ifdef __cplusplus
11205 extern "C"
11206 #endif
11207 char xmlNewDocPI ();
11209 main ()
11211 return xmlNewDocPI ();
11213 return 0;
11215 _ACEOF
11216 if ac_fn_c_try_link "$LINENO"; then :
11217 ac_cv_lib_xml2_xmlNewDocPI=yes
11218 else
11219 ac_cv_lib_xml2_xmlNewDocPI=no
11221 rm -f core conftest.err conftest.$ac_objext \
11222 conftest$ac_exeext conftest.$ac_ext
11223 LIBS=$ac_check_lib_save_LIBS
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11226 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11227 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11229 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11234 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11235 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11236 $as_echo_n "(cached) " >&6
11237 else
11238 ac_check_lib_save_LIBS=$LIBS
11239 LIBS="-lxml2 $XML2_LIBS $LIBS"
11240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11246 #ifdef __cplusplus
11247 extern "C"
11248 #endif
11249 char xmlSchemaSetParserStructuredErrors ();
11251 main ()
11253 return xmlSchemaSetParserStructuredErrors ();
11255 return 0;
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"; then :
11259 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11260 else
11261 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11263 rm -f core conftest.err conftest.$ac_objext \
11264 conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_lib_save_LIBS
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11268 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11269 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11271 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11276 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11277 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11278 $as_echo_n "(cached) " >&6
11279 else
11280 ac_check_lib_save_LIBS=$LIBS
11281 LIBS="-lxml2 $XML2_LIBS $LIBS"
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char xmlSchemaSetValidStructuredErrors ();
11293 main ()
11295 return xmlSchemaSetValidStructuredErrors ();
11297 return 0;
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11302 else
11303 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11310 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11311 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11313 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11318 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11319 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11320 $as_echo_n "(cached) " >&6
11321 else
11322 ac_check_lib_save_LIBS=$LIBS
11323 LIBS="-lxml2 $XML2_LIBS $LIBS"
11324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h. */
11327 /* Override any GCC internal prototype to avoid an error.
11328 Use char because int might match the return type of a GCC
11329 builtin and then its argument prototype would still apply. */
11330 #ifdef __cplusplus
11331 extern "C"
11332 #endif
11333 char xmlFirstElementChild ();
11335 main ()
11337 return xmlFirstElementChild ();
11339 return 0;
11341 _ACEOF
11342 if ac_fn_c_try_link "$LINENO"; then :
11343 ac_cv_lib_xml2_xmlFirstElementChild=yes
11344 else
11345 ac_cv_lib_xml2_xmlFirstElementChild=no
11347 rm -f core conftest.err conftest.$ac_objext \
11348 conftest$ac_exeext conftest.$ac_ext
11349 LIBS=$ac_check_lib_save_LIBS
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11352 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11353 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11355 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11359 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11361 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11363 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11367 else
11368 XML2_CFLAGS=""
11369 XML2_LIBS=""
11371 CPPFLAGS=$ac_save_CPPFLAGS
11372 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11373 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11376 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11377 case "x$with_xml" in
11378 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11379 xno) ;;
11380 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11381 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11382 esac
11386 if test "x$with_xslt" != "xno"
11387 then
11388 if ${XSLT_CFLAGS:+false} :; then :
11389 if ${PKG_CONFIG+:} false; then :
11390 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11393 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11394 if ${XSLT_LIBS:+false} :; then :
11395 if ${PKG_CONFIG+:} false; then :
11396 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11399 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11400 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11401 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11402 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11403 ac_save_CPPFLAGS=$CPPFLAGS
11404 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11405 for ac_header in libxslt/pattern.h libxslt/transform.h
11406 do :
11407 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11408 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11409 # include <libxslt/pattern.h>
11410 #endif
11412 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11413 cat >>confdefs.h <<_ACEOF
11414 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11415 _ACEOF
11419 done
11421 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11422 then
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11424 $as_echo_n "checking for -lxslt... " >&6; }
11425 if ${ac_cv_lib_soname_xslt+:} false; then :
11426 $as_echo_n "(cached) " >&6
11427 else
11428 ac_check_soname_save_LIBS=$LIBS
11429 LIBS="-lxslt $XSLT_LIBS $LIBS"
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11433 /* Override any GCC internal prototype to avoid an error.
11434 Use char because int might match the return type of a GCC
11435 builtin and then its argument prototype would still apply. */
11436 #ifdef __cplusplus
11437 extern "C"
11438 #endif
11439 char xsltCompilePattern ();
11441 main ()
11443 return xsltCompilePattern ();
11445 return 0;
11447 _ACEOF
11448 if ac_fn_c_try_link "$LINENO"; then :
11449 case "$LIBEXT" in
11450 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11451 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'` ;;
11452 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11453 if ${ac_cv_lib_soname_xslt:+false} :; then :
11454 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11455 fi ;;
11456 esac
11458 rm -f core conftest.err conftest.$ac_objext \
11459 conftest$ac_exeext conftest.$ac_ext
11460 LIBS=$ac_check_soname_save_LIBS
11462 if ${ac_cv_lib_soname_xslt:+false} :; then :
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11464 $as_echo "not found" >&6; }
11466 else
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11468 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11470 cat >>confdefs.h <<_ACEOF
11471 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11472 _ACEOF
11476 else
11477 XSLT_CFLAGS=""
11479 CPPFLAGS=$ac_save_CPPFLAGS
11480 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11481 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11484 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11485 case "x$with_xslt" in
11486 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11487 xno) ;;
11488 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11489 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11490 esac
11494 if test "x$with_dbus" != "xno"
11495 then
11496 if ${DBUS_CFLAGS:+false} :; then :
11497 if ${PKG_CONFIG+:} false; then :
11498 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11502 if ${DBUS_LIBS:+false} :; then :
11503 if ${PKG_CONFIG+:} false; then :
11504 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11509 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11510 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11511 ac_save_CPPFLAGS=$CPPFLAGS
11512 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11513 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11514 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11516 $as_echo_n "checking for -ldbus-1... " >&6; }
11517 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11518 $as_echo_n "(cached) " >&6
11519 else
11520 ac_check_soname_save_LIBS=$LIBS
11521 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11523 /* end confdefs.h. */
11525 /* Override any GCC internal prototype to avoid an error.
11526 Use char because int might match the return type of a GCC
11527 builtin and then its argument prototype would still apply. */
11528 #ifdef __cplusplus
11529 extern "C"
11530 #endif
11531 char dbus_connection_close ();
11533 main ()
11535 return dbus_connection_close ();
11537 return 0;
11539 _ACEOF
11540 if ac_fn_c_try_link "$LINENO"; then :
11541 case "$LIBEXT" in
11542 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11543 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'` ;;
11544 *) 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'`
11545 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11546 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11547 fi ;;
11548 esac
11550 rm -f core conftest.err conftest.$ac_objext \
11551 conftest$ac_exeext conftest.$ac_ext
11552 LIBS=$ac_check_soname_save_LIBS
11554 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11556 $as_echo "not found" >&6; }
11557 DBUS_CFLAGS=""
11558 else
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11560 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11562 cat >>confdefs.h <<_ACEOF
11563 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11564 _ACEOF
11568 else
11569 DBUS_CFLAGS=""
11573 CPPFLAGS=$ac_save_CPPFLAGS
11574 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11575 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11578 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11579 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11580 case "x$with_dbus" in
11581 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11582 xno) ;;
11583 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11584 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11585 esac
11589 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11590 then
11591 if ${HAL_CFLAGS:+false} :; then :
11592 if ${PKG_CONFIG+:} false; then :
11593 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11597 if ${HAL_LIBS:+false} :; then :
11598 if ${PKG_CONFIG+:} false; then :
11599 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11603 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11604 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11605 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11606 ac_save_CPPFLAGS=$CPPFLAGS
11607 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11608 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11609 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11611 $as_echo_n "checking for -lhal... " >&6; }
11612 if ${ac_cv_lib_soname_hal+:} false; then :
11613 $as_echo_n "(cached) " >&6
11614 else
11615 ac_check_soname_save_LIBS=$LIBS
11616 LIBS="-lhal $HAL_LIBS $LIBS"
11617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11623 #ifdef __cplusplus
11624 extern "C"
11625 #endif
11626 char libhal_ctx_new ();
11628 main ()
11630 return libhal_ctx_new ();
11632 return 0;
11634 _ACEOF
11635 if ac_fn_c_try_link "$LINENO"; then :
11636 case "$LIBEXT" in
11637 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11638 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'` ;;
11639 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11640 if ${ac_cv_lib_soname_hal:+false} :; then :
11641 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11642 fi ;;
11643 esac
11645 rm -f core conftest.err conftest.$ac_objext \
11646 conftest$ac_exeext conftest.$ac_ext
11647 LIBS=$ac_check_soname_save_LIBS
11649 if ${ac_cv_lib_soname_hal:+false} :; then :
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11651 $as_echo "not found" >&6; }
11652 HAL_CFLAGS=""
11653 else
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11655 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11657 cat >>confdefs.h <<_ACEOF
11658 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11659 _ACEOF
11663 else
11664 HAL_CFLAGS=""
11668 CPPFLAGS=$ac_save_CPPFLAGS
11669 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11670 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11672 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11673 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11674 case "x$with_hal" in
11675 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11676 xno) ;;
11677 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11678 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11679 esac
11684 if test "x$with_gnutls" != "xno"
11685 then
11686 if ${GNUTLS_CFLAGS:+false} :; then :
11687 if ${PKG_CONFIG+:} false; then :
11688 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11692 if ${GNUTLS_LIBS:+false} :; then :
11693 if ${PKG_CONFIG+:} false; then :
11694 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11699 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11700 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11701 ac_save_CPPFLAGS=$CPPFLAGS
11702 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11703 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11704 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11706 /* end confdefs.h. */
11707 #include <gnutls/gnutls.h>
11708 #include <gnutls/crypto.h>
11710 main ()
11712 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11714 return 0;
11716 _ACEOF
11717 if ac_fn_c_try_compile "$LINENO"; then :
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11719 $as_echo_n "checking for -lgnutls... " >&6; }
11720 if ${ac_cv_lib_soname_gnutls+:} false; then :
11721 $as_echo_n "(cached) " >&6
11722 else
11723 ac_check_soname_save_LIBS=$LIBS
11724 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11728 /* Override any GCC internal prototype to avoid an error.
11729 Use char because int might match the return type of a GCC
11730 builtin and then its argument prototype would still apply. */
11731 #ifdef __cplusplus
11732 extern "C"
11733 #endif
11734 char gnutls_global_init ();
11736 main ()
11738 return gnutls_global_init ();
11740 return 0;
11742 _ACEOF
11743 if ac_fn_c_try_link "$LINENO"; then :
11744 case "$LIBEXT" in
11745 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11746 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'` ;;
11747 *) 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'`
11748 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11749 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'`
11750 fi ;;
11751 esac
11753 rm -f core conftest.err conftest.$ac_objext \
11754 conftest$ac_exeext conftest.$ac_ext
11755 LIBS=$ac_check_soname_save_LIBS
11757 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11759 $as_echo "not found" >&6; }
11760 GNUTLS_CFLAGS=""
11761 else
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11763 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11765 cat >>confdefs.h <<_ACEOF
11766 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11767 _ACEOF
11771 ac_wine_check_funcs_save_LIBS="$LIBS"
11772 LIBS="$LIBS $GNUTLS_LIBS"
11773 for ac_func in gnutls_cipher_init
11774 do :
11775 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11776 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11777 cat >>confdefs.h <<_ACEOF
11778 #define HAVE_GNUTLS_CIPHER_INIT 1
11779 _ACEOF
11781 else
11782 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11784 done
11786 LIBS="$ac_wine_check_funcs_save_LIBS"
11788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11789 else
11790 GNUTLS_CFLAGS=""
11794 CPPFLAGS=$ac_save_CPPFLAGS
11795 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11796 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11799 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11800 case "x$with_gnutls" in
11801 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11802 xno) ;;
11803 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11804 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11805 esac
11809 CURSES_LIBS=""
11810 if test "$ac_cv_header_ncurses_h" = "yes"
11811 then
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11813 $as_echo_n "checking for -lncurses... " >&6; }
11814 if ${ac_cv_lib_soname_ncurses+:} false; then :
11815 $as_echo_n "(cached) " >&6
11816 else
11817 ac_check_soname_save_LIBS=$LIBS
11818 LIBS="-lncurses $LIBS"
11819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11820 /* end confdefs.h. */
11822 /* Override any GCC internal prototype to avoid an error.
11823 Use char because int might match the return type of a GCC
11824 builtin and then its argument prototype would still apply. */
11825 #ifdef __cplusplus
11826 extern "C"
11827 #endif
11828 char waddch ();
11830 main ()
11832 return waddch ();
11834 return 0;
11836 _ACEOF
11837 if ac_fn_c_try_link "$LINENO"; then :
11838 case "$LIBEXT" in
11839 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11840 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'` ;;
11841 *) 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'`
11842 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11843 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11844 fi ;;
11845 esac
11847 rm -f core conftest.err conftest.$ac_objext \
11848 conftest$ac_exeext conftest.$ac_ext
11849 LIBS=$ac_check_soname_save_LIBS
11851 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11853 $as_echo "not found" >&6; }
11855 else
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11857 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11859 cat >>confdefs.h <<_ACEOF
11860 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11861 _ACEOF
11863 CURSES_LIBS="-lncurses"
11865 elif test "$ac_cv_header_curses_h" = "yes"
11866 then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11868 $as_echo_n "checking for -lcurses... " >&6; }
11869 if ${ac_cv_lib_soname_curses+:} false; then :
11870 $as_echo_n "(cached) " >&6
11871 else
11872 ac_check_soname_save_LIBS=$LIBS
11873 LIBS="-lcurses $LIBS"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11880 #ifdef __cplusplus
11881 extern "C"
11882 #endif
11883 char waddch ();
11885 main ()
11887 return waddch ();
11889 return 0;
11891 _ACEOF
11892 if ac_fn_c_try_link "$LINENO"; then :
11893 case "$LIBEXT" in
11894 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11895 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'` ;;
11896 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11897 if ${ac_cv_lib_soname_curses:+false} :; then :
11898 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11899 fi ;;
11900 esac
11902 rm -f core conftest.err conftest.$ac_objext \
11903 conftest$ac_exeext conftest.$ac_ext
11904 LIBS=$ac_check_soname_save_LIBS
11906 if ${ac_cv_lib_soname_curses:+false} :; then :
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11908 $as_echo "not found" >&6; }
11910 else
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11912 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11914 cat >>confdefs.h <<_ACEOF
11915 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11916 _ACEOF
11918 CURSES_LIBS="-lcurses"
11921 ac_save_LIBS="$LIBS"
11922 LIBS="$LIBS $CURSES_LIBS"
11923 for ac_func in mousemask
11924 do :
11925 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11926 if test "x$ac_cv_func_mousemask" = xyes; then :
11927 cat >>confdefs.h <<_ACEOF
11928 #define HAVE_MOUSEMASK 1
11929 _ACEOF
11932 done
11934 LIBS="$ac_save_LIBS"
11935 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11936 case "x$with_curses" in
11937 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11938 xno) ;;
11939 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11940 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11941 esac
11945 if test "x$with_sane" != "xno"
11946 then
11947 if ${SANE_CFLAGS:+false} :; then :
11948 if ${PKG_CONFIG+:} false; then :
11949 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11952 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11953 if ${SANE_LIBS:+false} :; then :
11954 if ${PKG_CONFIG+:} false; then :
11955 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11958 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11960 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11961 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11962 ac_save_CPPFLAGS=$CPPFLAGS
11963 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11964 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11965 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11967 $as_echo_n "checking for -lsane... " >&6; }
11968 if ${ac_cv_lib_soname_sane+:} false; then :
11969 $as_echo_n "(cached) " >&6
11970 else
11971 ac_check_soname_save_LIBS=$LIBS
11972 LIBS="-lsane $SANE_LIBS $LIBS"
11973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11979 #ifdef __cplusplus
11980 extern "C"
11981 #endif
11982 char sane_init ();
11984 main ()
11986 return sane_init ();
11988 return 0;
11990 _ACEOF
11991 if ac_fn_c_try_link "$LINENO"; then :
11992 case "$LIBEXT" in
11993 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11994 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'` ;;
11995 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11996 if ${ac_cv_lib_soname_sane:+false} :; then :
11997 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11998 fi ;;
11999 esac
12001 rm -f core conftest.err conftest.$ac_objext \
12002 conftest$ac_exeext conftest.$ac_ext
12003 LIBS=$ac_check_soname_save_LIBS
12005 if ${ac_cv_lib_soname_sane:+false} :; then :
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12007 $as_echo "not found" >&6; }
12008 SANE_CFLAGS=""
12009 else
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12011 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12013 cat >>confdefs.h <<_ACEOF
12014 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12015 _ACEOF
12019 else
12020 SANE_CFLAGS=""
12024 CPPFLAGS=$ac_save_CPPFLAGS
12025 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12026 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12029 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12030 case "x$with_sane" in
12031 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12032 xno) ;;
12033 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12034 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12035 esac
12039 if test "x$with_v4l" != "xno"
12040 then
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12042 $as_echo_n "checking for -lv4l1... " >&6; }
12043 if ${ac_cv_lib_soname_v4l1+:} false; then :
12044 $as_echo_n "(cached) " >&6
12045 else
12046 ac_check_soname_save_LIBS=$LIBS
12047 LIBS="-lv4l1 $LIBS"
12048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12049 /* end confdefs.h. */
12051 /* Override any GCC internal prototype to avoid an error.
12052 Use char because int might match the return type of a GCC
12053 builtin and then its argument prototype would still apply. */
12054 #ifdef __cplusplus
12055 extern "C"
12056 #endif
12057 char v4l1_open ();
12059 main ()
12061 return v4l1_open ();
12063 return 0;
12065 _ACEOF
12066 if ac_fn_c_try_link "$LINENO"; then :
12067 case "$LIBEXT" in
12068 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12069 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'` ;;
12070 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12071 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12072 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12073 fi ;;
12074 esac
12076 rm -f core conftest.err conftest.$ac_objext \
12077 conftest$ac_exeext conftest.$ac_ext
12078 LIBS=$ac_check_soname_save_LIBS
12080 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12082 $as_echo "not found" >&6; }
12084 else
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12086 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12088 cat >>confdefs.h <<_ACEOF
12089 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12090 _ACEOF
12095 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12096 case "x$with_v4l" in
12097 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12098 xno) ;;
12099 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12100 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12101 esac
12105 if test "x$with_gphoto" != "xno"
12106 then
12107 if ${GPHOTO2_CFLAGS:+false} :; then :
12108 if ${PKG_CONFIG+:} false; then :
12109 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12112 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12113 if ${GPHOTO2_LIBS:+false} :; then :
12114 if ${PKG_CONFIG+:} false; then :
12115 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12118 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12119 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12120 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12121 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12122 ac_save_CPPFLAGS=$CPPFLAGS
12123 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12124 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12125 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12127 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12128 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12129 $as_echo_n "(cached) " >&6
12130 else
12131 ac_check_lib_save_LIBS=$LIBS
12132 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 /* Override any GCC internal prototype to avoid an error.
12137 Use char because int might match the return type of a GCC
12138 builtin and then its argument prototype would still apply. */
12139 #ifdef __cplusplus
12140 extern "C"
12141 #endif
12142 char gp_camera_new ();
12144 main ()
12146 return gp_camera_new ();
12148 return 0;
12150 _ACEOF
12151 if ac_fn_c_try_link "$LINENO"; then :
12152 ac_cv_lib_gphoto2_gp_camera_new=yes
12153 else
12154 ac_cv_lib_gphoto2_gp_camera_new=no
12156 rm -f core conftest.err conftest.$ac_objext \
12157 conftest$ac_exeext conftest.$ac_ext
12158 LIBS=$ac_check_lib_save_LIBS
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12161 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12162 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12164 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12166 else
12167 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12170 else
12171 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12175 CPPFLAGS=$ac_save_CPPFLAGS
12176 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12177 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12179 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12180 if ${PKG_CONFIG+:} false; then :
12181 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12184 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12185 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12186 if ${PKG_CONFIG+:} false; then :
12187 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12190 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12191 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12192 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12193 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12194 ac_save_CPPFLAGS=$CPPFLAGS
12195 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12196 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12197 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12199 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12200 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12201 $as_echo_n "(cached) " >&6
12202 else
12203 ac_check_lib_save_LIBS=$LIBS
12204 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12208 /* Override any GCC internal prototype to avoid an error.
12209 Use char because int might match the return type of a GCC
12210 builtin and then its argument prototype would still apply. */
12211 #ifdef __cplusplus
12212 extern "C"
12213 #endif
12214 char gp_port_info_list_new ();
12216 main ()
12218 return gp_port_info_list_new ();
12220 return 0;
12222 _ACEOF
12223 if ac_fn_c_try_link "$LINENO"; then :
12224 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12225 else
12226 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12228 rm -f core conftest.err conftest.$ac_objext \
12229 conftest$ac_exeext conftest.$ac_ext
12230 LIBS=$ac_check_lib_save_LIBS
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12233 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12234 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12236 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12238 else
12239 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12242 else
12243 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12247 CPPFLAGS=$ac_save_CPPFLAGS
12248 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12249 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12252 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12253 case "x$with_gphoto" in
12254 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12255 xno) ;;
12256 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12257 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12258 esac
12261 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12262 case "x$with_gphoto" in
12263 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12264 xno) ;;
12265 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12266 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12267 esac
12272 if test "$ac_cv_header_resolv_h" = "yes"
12273 then
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12275 $as_echo_n "checking for resolver library... " >&6; }
12276 if ${ac_cv_have_resolv+:} false; then :
12277 $as_echo_n "(cached) " >&6
12278 else
12279 ac_save_LIBS="$LIBS"
12280 for lib in '' -lresolv
12282 LIBS="$lib $ac_save_LIBS"
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12285 #ifdef HAVE_NETINET_IN_H
12286 #include <netinet/in.h>
12287 #endif
12288 #include <resolv.h>
12290 main ()
12292 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12294 return 0;
12296 _ACEOF
12297 if ac_fn_c_try_link "$LINENO"; then :
12298 ac_cv_have_resolv=${lib:-"none required"}
12299 else
12300 ac_cv_have_resolv="not found"
12302 rm -f core conftest.err conftest.$ac_objext \
12303 conftest$ac_exeext conftest.$ac_ext
12304 test "x$ac_cv_have_resolv" = "xnot found" || break
12305 done
12306 LIBS="$ac_save_LIBS"
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12309 $as_echo "$ac_cv_have_resolv" >&6; }
12311 case "$ac_cv_have_resolv" in
12312 "not found") ;;
12313 "none required")
12315 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12318 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12320 RESOLV_LIBS=$ac_cv_have_resolv
12322 esac
12325 if test "x$with_cms" != "xno"
12326 then
12327 if ${LCMS2_CFLAGS:+false} :; then :
12328 if ${PKG_CONFIG+:} false; then :
12329 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12333 if ${LCMS2_LIBS:+false} :; then :
12334 if ${PKG_CONFIG+:} false; then :
12335 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12339 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12340 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12341 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12342 ac_save_CPPFLAGS=$CPPFLAGS
12343 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12344 for ac_header in lcms2.h
12345 do :
12346 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12347 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12348 cat >>confdefs.h <<_ACEOF
12349 #define HAVE_LCMS2_H 1
12350 _ACEOF
12354 done
12356 if test "$ac_cv_header_lcms2_h" = "yes"
12357 then
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12359 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12360 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12361 $as_echo_n "(cached) " >&6
12362 else
12363 ac_check_lib_save_LIBS=$LIBS
12364 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12366 /* end confdefs.h. */
12368 /* Override any GCC internal prototype to avoid an error.
12369 Use char because int might match the return type of a GCC
12370 builtin and then its argument prototype would still apply. */
12371 #ifdef __cplusplus
12372 extern "C"
12373 #endif
12374 char cmsOpenProfileFromFile ();
12376 main ()
12378 return cmsOpenProfileFromFile ();
12380 return 0;
12382 _ACEOF
12383 if ac_fn_c_try_link "$LINENO"; then :
12384 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12385 else
12386 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12388 rm -f core conftest.err conftest.$ac_objext \
12389 conftest$ac_exeext conftest.$ac_ext
12390 LIBS=$ac_check_lib_save_LIBS
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12393 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12394 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12396 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12398 else
12399 LCMS2_LIBS=""
12402 else
12403 LCMS2_CFLAGS=""
12404 LCMS2_LIBS=""
12406 CPPFLAGS=$ac_save_CPPFLAGS
12407 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12408 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12411 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12412 case "x$with_cms" in
12413 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12414 xno) ;;
12415 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12416 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12417 esac
12421 if test "x$with_freetype" != "xno"
12422 then
12423 if ${FREETYPE_CFLAGS:+false} :; then :
12424 if ${PKG_CONFIG+:} false; then :
12425 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12428 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12429 if ${FREETYPE_LIBS:+false} :; then :
12430 if ${PKG_CONFIG+:} false; then :
12431 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12434 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12435 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12436 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12437 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12438 ac_save_CPPFLAGS=$CPPFLAGS
12439 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12440 for ac_header in ft2build.h
12441 do :
12442 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12443 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12444 cat >>confdefs.h <<_ACEOF
12445 #define HAVE_FT2BUILD_H 1
12446 _ACEOF
12450 done
12452 if test "$ac_cv_header_ft2build_h" = "yes"
12453 then
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12455 $as_echo_n "checking for -lfreetype... " >&6; }
12456 if ${ac_cv_lib_soname_freetype+:} false; then :
12457 $as_echo_n "(cached) " >&6
12458 else
12459 ac_check_soname_save_LIBS=$LIBS
12460 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12462 /* end confdefs.h. */
12464 /* Override any GCC internal prototype to avoid an error.
12465 Use char because int might match the return type of a GCC
12466 builtin and then its argument prototype would still apply. */
12467 #ifdef __cplusplus
12468 extern "C"
12469 #endif
12470 char FT_Init_FreeType ();
12472 main ()
12474 return FT_Init_FreeType ();
12476 return 0;
12478 _ACEOF
12479 if ac_fn_c_try_link "$LINENO"; then :
12480 case "$LIBEXT" in
12481 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12482 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'` ;;
12483 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12484 if ${ac_cv_lib_soname_freetype:+false} :; then :
12485 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12486 fi ;;
12487 esac
12489 rm -f core conftest.err conftest.$ac_objext \
12490 conftest$ac_exeext conftest.$ac_ext
12491 LIBS=$ac_check_soname_save_LIBS
12493 if ${ac_cv_lib_soname_freetype:+false} :; then :
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12495 $as_echo "not found" >&6; }
12496 FREETYPE_LIBS=""
12497 else
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12499 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12501 cat >>confdefs.h <<_ACEOF
12502 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12503 _ACEOF
12506 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12508 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12509 #include FT_MODULE_H
12511 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12513 cat >>confdefs.h <<_ACEOF
12514 #define HAVE_FT_TRUETYPEENGINETYPE 1
12515 _ACEOF
12521 else
12522 FREETYPE_CFLAGS=""
12523 FREETYPE_LIBS=""
12525 CPPFLAGS=$ac_save_CPPFLAGS
12526 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12527 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12530 if test "x$ac_cv_lib_soname_freetype" = x; then :
12531 case "x$with_freetype" in
12532 xno) ;;
12533 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12534 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12535 esac
12536 enable_fonts=${enable_fonts:-no}
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12540 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12541 if ${ac_cv_c_ppdev+:} false; then :
12542 $as_echo_n "(cached) " >&6
12543 else
12544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12545 /* end confdefs.h. */
12546 #ifdef HAVE_SYS_IOCTL_H
12547 # include <sys/ioctl.h>
12548 #endif
12549 #include <linux/ppdev.h>
12551 main ()
12553 ioctl (1,PPCLAIM,0)
12555 return 0;
12557 _ACEOF
12558 if ac_fn_c_try_compile "$LINENO"; then :
12559 ac_cv_c_ppdev="yes"
12560 else
12561 ac_cv_c_ppdev="no"
12563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12566 $as_echo "$ac_cv_c_ppdev" >&6; }
12567 if test "$ac_cv_c_ppdev" = "yes"
12568 then
12570 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12574 ac_wine_check_funcs_save_LIBS="$LIBS"
12575 LIBS="$LIBS $PTHREAD_LIBS"
12576 for ac_func in \
12577 pthread_attr_get_np \
12578 pthread_getattr_np \
12579 pthread_getthreadid_np \
12580 pthread_get_stackaddr_np \
12581 pthread_get_stacksize_np
12582 do :
12583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12585 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12586 cat >>confdefs.h <<_ACEOF
12587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12588 _ACEOF
12591 done
12593 LIBS="$ac_wine_check_funcs_save_LIBS"
12595 if test "$ac_cv_header_zlib_h" = "yes"
12596 then
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12598 $as_echo_n "checking for inflate in -lz... " >&6; }
12599 if ${ac_cv_lib_z_inflate+:} false; then :
12600 $as_echo_n "(cached) " >&6
12601 else
12602 ac_check_lib_save_LIBS=$LIBS
12603 LIBS="-lz $LIBS"
12604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12605 /* end confdefs.h. */
12607 /* Override any GCC internal prototype to avoid an error.
12608 Use char because int might match the return type of a GCC
12609 builtin and then its argument prototype would still apply. */
12610 #ifdef __cplusplus
12611 extern "C"
12612 #endif
12613 char inflate ();
12615 main ()
12617 return inflate ();
12619 return 0;
12621 _ACEOF
12622 if ac_fn_c_try_link "$LINENO"; then :
12623 ac_cv_lib_z_inflate=yes
12624 else
12625 ac_cv_lib_z_inflate=no
12627 rm -f core conftest.err conftest.$ac_objext \
12628 conftest$ac_exeext conftest.$ac_ext
12629 LIBS=$ac_check_lib_save_LIBS
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12632 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12633 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12635 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12637 Z_LIBS="-lz"
12642 if test "x$Z_LIBS" = "x"; then :
12643 case "x$with_zlib" in
12644 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12645 xno) ;;
12646 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12647 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12648 esac
12652 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12653 then
12654 if test "$ac_cv_header_gettext_po_h" = "yes"
12655 then
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12657 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12658 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12659 $as_echo_n "(cached) " >&6
12660 else
12661 ac_check_lib_save_LIBS=$LIBS
12662 LIBS="-lgettextpo $LIBS"
12663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12664 /* end confdefs.h. */
12666 /* Override any GCC internal prototype to avoid an error.
12667 Use char because int might match the return type of a GCC
12668 builtin and then its argument prototype would still apply. */
12669 #ifdef __cplusplus
12670 extern "C"
12671 #endif
12672 char po_message_msgctxt ();
12674 main ()
12676 return po_message_msgctxt ();
12678 return 0;
12680 _ACEOF
12681 if ac_fn_c_try_link "$LINENO"; then :
12682 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12683 else
12684 ac_cv_lib_gettextpo_po_message_msgctxt=no
12686 rm -f core conftest.err conftest.$ac_objext \
12687 conftest$ac_exeext conftest.$ac_ext
12688 LIBS=$ac_check_lib_save_LIBS
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12691 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12692 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12694 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12696 GETTEXTPO_LIBS="-lgettextpo"
12701 if test "x$GETTEXTPO_LIBS" = "x"; then :
12702 case "x$with_gettextpo" in
12703 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12704 xno) ;;
12705 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12706 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12707 esac
12710 if test "$srcdir" != .; then :
12711 case "x$with_gettextpo" in
12712 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12713 xno) ;;
12714 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12715 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12716 esac
12721 if test "x$with_pulse" != "xno";
12722 then
12723 if ${PULSE_CFLAGS:+false} :; then :
12724 if ${PKG_CONFIG+:} false; then :
12725 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12729 if ${PULSE_LIBS:+false} :; then :
12730 if ${PKG_CONFIG+:} false; then :
12731 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12736 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12737 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12738 ac_save_CPPFLAGS=$CPPFLAGS
12739 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12740 for ac_header in pulse/pulseaudio.h
12741 do :
12742 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12743 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12744 cat >>confdefs.h <<_ACEOF
12745 #define HAVE_PULSE_PULSEAUDIO_H 1
12746 _ACEOF
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12748 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12749 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12750 $as_echo_n "(cached) " >&6
12751 else
12752 ac_check_lib_save_LIBS=$LIBS
12753 LIBS="-lpulse $PULSE_LIBS $LIBS"
12754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h. */
12757 /* Override any GCC internal prototype to avoid an error.
12758 Use char because int might match the return type of a GCC
12759 builtin and then its argument prototype would still apply. */
12760 #ifdef __cplusplus
12761 extern "C"
12762 #endif
12763 char pa_stream_is_corked ();
12765 main ()
12767 return pa_stream_is_corked ();
12769 return 0;
12771 _ACEOF
12772 if ac_fn_c_try_link "$LINENO"; then :
12773 ac_cv_lib_pulse_pa_stream_is_corked=yes
12774 else
12775 ac_cv_lib_pulse_pa_stream_is_corked=no
12777 rm -f core conftest.err conftest.$ac_objext \
12778 conftest$ac_exeext conftest.$ac_ext
12779 LIBS=$ac_check_lib_save_LIBS
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12782 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12783 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12785 else
12786 PULSE_LIBS=""
12789 else
12790 PULSE_LIBS=""
12793 done
12795 CPPFLAGS=$ac_save_CPPFLAGS
12796 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12797 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12800 if test -z "$PULSE_LIBS"; then :
12801 case "x$with_pulse" in
12802 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12803 xno) ;;
12804 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12805 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12806 esac
12807 enable_winepulse_drv=${enable_winepulse_drv:-no}
12810 if test "x$with_gstreamer" != "xno"
12811 then
12812 if ${GSTREAMER_CFLAGS:+false} :; then :
12813 if ${PKG_CONFIG+:} false; then :
12814 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12818 if ${GSTREAMER_LIBS:+false} :; then :
12819 if ${PKG_CONFIG+:} false; then :
12820 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12825 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12826 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12827 ac_save_CPPFLAGS=$CPPFLAGS
12828 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12829 ac_gst_incl=""
12830 for i in $GSTREAMER_CFLAGS
12832 case "$i" in
12833 -I*) ac_gst_incl="$ac_gst_incl $i";;
12834 esac
12835 done
12836 GSTREAMER_CFLAGS=$ac_gst_incl
12837 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12838 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12839 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12841 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12844 #include <gst/gst.h>
12846 main ()
12848 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12850 return 0;
12852 _ACEOF
12853 if ac_fn_c_try_compile "$LINENO"; then :
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12855 $as_echo "yes" >&6; }
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12857 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12858 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12859 $as_echo_n "(cached) " >&6
12860 else
12861 ac_check_lib_save_LIBS=$LIBS
12862 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12866 /* Override any GCC internal prototype to avoid an error.
12867 Use char because int might match the return type of a GCC
12868 builtin and then its argument prototype would still apply. */
12869 #ifdef __cplusplus
12870 extern "C"
12871 #endif
12872 char gst_pad_new ();
12874 main ()
12876 return gst_pad_new ();
12878 return 0;
12880 _ACEOF
12881 if ac_fn_c_try_link "$LINENO"; then :
12882 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12883 else
12884 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12886 rm -f core conftest.err conftest.$ac_objext \
12887 conftest$ac_exeext conftest.$ac_ext
12888 LIBS=$ac_check_lib_save_LIBS
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12891 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12892 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12896 else
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12898 $as_echo "no" >&6; }
12899 ac_glib2_broken=yes
12900 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12906 CPPFLAGS=$ac_save_CPPFLAGS
12907 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12908 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12911 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 :
12912 case "x$with_gstreamer" in
12913 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12914 xno) ;;
12915 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12916 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12917 esac
12920 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12922 ALSA_LIBS=""
12924 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12925 then
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12927 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12928 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12929 $as_echo_n "(cached) " >&6
12930 else
12931 ac_check_lib_save_LIBS=$LIBS
12932 LIBS="-lasound $LIBS"
12933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12936 /* Override any GCC internal prototype to avoid an error.
12937 Use char because int might match the return type of a GCC
12938 builtin and then its argument prototype would still apply. */
12939 #ifdef __cplusplus
12940 extern "C"
12941 #endif
12942 char snd_pcm_hw_params_get_access_mask ();
12944 main ()
12946 return snd_pcm_hw_params_get_access_mask ();
12948 return 0;
12950 _ACEOF
12951 if ac_fn_c_try_link "$LINENO"; then :
12952 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12953 else
12954 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12956 rm -f core conftest.err conftest.$ac_objext \
12957 conftest$ac_exeext conftest.$ac_ext
12958 LIBS=$ac_check_lib_save_LIBS
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12961 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12962 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12964 /* end confdefs.h. */
12965 #ifdef HAVE_ALSA_ASOUNDLIB_H
12966 #include <alsa/asoundlib.h>
12967 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12968 #include <sys/asoundlib.h>
12969 #endif
12971 main ()
12973 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12975 return 0;
12977 _ACEOF
12978 if ac_fn_c_try_compile "$LINENO"; then :
12979 ALSA_LIBS="-lasound"
12981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12985 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12987 if test "x$with_oss" != xno
12988 then
12989 ac_save_CPPFLAGS="$CPPFLAGS"
12990 if test -f /etc/oss.conf
12991 then
12992 . /etc/oss.conf
12994 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12995 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12996 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12997 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12998 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13000 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13002 cat >>confdefs.h <<_ACEOF
13003 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13004 _ACEOF
13006 OSS4_CFLAGS="$ac_oss_incl"
13013 CPPFLAGS="$ac_save_CPPFLAGS"
13015 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13016 case "x$with_oss" in
13017 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13018 xno) ;;
13019 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13020 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13021 esac
13022 enable_wineoss_drv=${enable_wineoss_drv:-no}
13025 if test "x$with_udev" != "xno"
13026 then
13027 if ${UDEV_CFLAGS:+false} :; then :
13028 if ${PKG_CONFIG+:} false; then :
13029 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13033 if ${UDEV_LIBS:+false} :; then :
13034 if ${PKG_CONFIG+:} false; then :
13035 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13039 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13040 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13041 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13042 ac_save_CPPFLAGS=$CPPFLAGS
13043 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13044 for ac_header in libudev.h
13045 do :
13046 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13047 if test "x$ac_cv_header_libudev_h" = xyes; then :
13048 cat >>confdefs.h <<_ACEOF
13049 #define HAVE_LIBUDEV_H 1
13050 _ACEOF
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13052 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13053 if ${ac_cv_lib_udev_udev_new+:} false; then :
13054 $as_echo_n "(cached) " >&6
13055 else
13056 ac_check_lib_save_LIBS=$LIBS
13057 LIBS="-ludev $UDEV_LIBS $LIBS"
13058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13061 /* Override any GCC internal prototype to avoid an error.
13062 Use char because int might match the return type of a GCC
13063 builtin and then its argument prototype would still apply. */
13064 #ifdef __cplusplus
13065 extern "C"
13066 #endif
13067 char udev_new ();
13069 main ()
13071 return udev_new ();
13073 return 0;
13075 _ACEOF
13076 if ac_fn_c_try_link "$LINENO"; then :
13077 ac_cv_lib_udev_udev_new=yes
13078 else
13079 ac_cv_lib_udev_udev_new=no
13081 rm -f core conftest.err conftest.$ac_objext \
13082 conftest$ac_exeext conftest.$ac_ext
13083 LIBS=$ac_check_lib_save_LIBS
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13086 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13087 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13089 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13091 else
13092 UDEV_LIBS=""
13095 else
13096 UDEV_LIBS=""
13099 done
13101 CPPFLAGS=$ac_save_CPPFLAGS
13102 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13103 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13106 if test "x$UDEV_LIBS" = "x"; then :
13107 case "x$with_udev" in
13108 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13109 xno) ;;
13110 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13111 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13112 esac
13116 if test "x$with_sdl" != "xno"
13117 then
13118 if ${SDL2_CFLAGS:+false} :; then :
13119 if ${PKG_CONFIG+:} false; then :
13120 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13124 if ${SDL2_LIBS:+false} :; then :
13125 if ${PKG_CONFIG+:} false; then :
13126 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13130 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13131 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13132 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13133 ac_save_CPPFLAGS=$CPPFLAGS
13134 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13135 for ac_header in SDL2/SDL.h
13136 do :
13137 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13138 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13139 cat >>confdefs.h <<_ACEOF
13140 #define HAVE_SDL2_SDL_H 1
13141 _ACEOF
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13143 $as_echo_n "checking for -lSDL2... " >&6; }
13144 if ${ac_cv_lib_soname_SDL2+:} false; then :
13145 $as_echo_n "(cached) " >&6
13146 else
13147 ac_check_soname_save_LIBS=$LIBS
13148 LIBS="-lSDL2 $LIBS"
13149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13150 /* end confdefs.h. */
13152 /* Override any GCC internal prototype to avoid an error.
13153 Use char because int might match the return type of a GCC
13154 builtin and then its argument prototype would still apply. */
13155 #ifdef __cplusplus
13156 extern "C"
13157 #endif
13158 char SDL_Init ();
13160 main ()
13162 return SDL_Init ();
13164 return 0;
13166 _ACEOF
13167 if ac_fn_c_try_link "$LINENO"; then :
13168 case "$LIBEXT" in
13169 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13170 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'` ;;
13171 *) 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'`
13172 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13173 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13174 fi ;;
13175 esac
13177 rm -f core conftest.err conftest.$ac_objext \
13178 conftest$ac_exeext conftest.$ac_ext
13179 LIBS=$ac_check_soname_save_LIBS
13181 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13183 $as_echo "not found" >&6; }
13185 else
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13187 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13189 cat >>confdefs.h <<_ACEOF
13190 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13191 _ACEOF
13197 done
13199 CPPFLAGS=$ac_save_CPPFLAGS
13200 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13201 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13204 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13205 case "x$with_sdl" in
13206 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13207 xno) ;;
13208 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13209 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13210 esac
13214 if test "x$with_capi" != "xno"
13215 then
13216 if ${CAPI20_CFLAGS:+false} :; then :
13217 if ${PKG_CONFIG+:} false; then :
13218 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13222 if ${CAPI20_LIBS:+false} :; then :
13223 if ${PKG_CONFIG+:} false; then :
13224 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13229 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13230 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13231 ac_save_CPPFLAGS=$CPPFLAGS
13232 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13233 for ac_header in capi20.h linux/capi.h
13234 do :
13235 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13236 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13238 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13239 cat >>confdefs.h <<_ACEOF
13240 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13241 _ACEOF
13245 done
13247 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13248 then
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13250 $as_echo_n "checking for -lcapi20... " >&6; }
13251 if ${ac_cv_lib_soname_capi20+:} false; then :
13252 $as_echo_n "(cached) " >&6
13253 else
13254 ac_check_soname_save_LIBS=$LIBS
13255 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13259 /* Override any GCC internal prototype to avoid an error.
13260 Use char because int might match the return type of a GCC
13261 builtin and then its argument prototype would still apply. */
13262 #ifdef __cplusplus
13263 extern "C"
13264 #endif
13265 char capi20_register ();
13267 main ()
13269 return capi20_register ();
13271 return 0;
13273 _ACEOF
13274 if ac_fn_c_try_link "$LINENO"; then :
13275 case "$LIBEXT" in
13276 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13277 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'` ;;
13278 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13279 if ${ac_cv_lib_soname_capi20:+false} :; then :
13280 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13281 fi ;;
13282 esac
13284 rm -f core conftest.err conftest.$ac_objext \
13285 conftest$ac_exeext conftest.$ac_ext
13286 LIBS=$ac_check_soname_save_LIBS
13288 if ${ac_cv_lib_soname_capi20:+false} :; then :
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13290 $as_echo "not found" >&6; }
13292 else
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13294 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13296 cat >>confdefs.h <<_ACEOF
13297 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13298 _ACEOF
13303 CPPFLAGS=$ac_save_CPPFLAGS
13304 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13305 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13308 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13309 case "x$with_capi" in
13310 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13311 xno) ;;
13312 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13313 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13314 esac
13318 if test "x$with_cups" != "xno"
13319 then
13320 if ${CUPS_CFLAGS:+false} :; then :
13321 if ${PKG_CONFIG+:} false; then :
13322 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13325 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13326 if ${CUPS_LIBS:+false} :; then :
13327 if ${PKG_CONFIG+:} false; then :
13328 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13331 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13332 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13333 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13334 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13335 ac_save_CPPFLAGS=$CPPFLAGS
13336 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13337 for ac_header in cups/cups.h cups/ppd.h
13338 do :
13339 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13340 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13341 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13342 cat >>confdefs.h <<_ACEOF
13343 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13344 _ACEOF
13348 done
13350 if test "$ac_cv_header_cups_cups_h" = "yes"
13351 then
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13353 $as_echo_n "checking for -lcups... " >&6; }
13354 if ${ac_cv_lib_soname_cups+:} false; then :
13355 $as_echo_n "(cached) " >&6
13356 else
13357 ac_check_soname_save_LIBS=$LIBS
13358 LIBS="-lcups $CUPS_LIBS $LIBS"
13359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13360 /* end confdefs.h. */
13362 /* Override any GCC internal prototype to avoid an error.
13363 Use char because int might match the return type of a GCC
13364 builtin and then its argument prototype would still apply. */
13365 #ifdef __cplusplus
13366 extern "C"
13367 #endif
13368 char cupsGetDefault ();
13370 main ()
13372 return cupsGetDefault ();
13374 return 0;
13376 _ACEOF
13377 if ac_fn_c_try_link "$LINENO"; then :
13378 case "$LIBEXT" in
13379 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13380 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'` ;;
13381 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13382 if ${ac_cv_lib_soname_cups:+false} :; then :
13383 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13384 fi ;;
13385 esac
13387 rm -f core conftest.err conftest.$ac_objext \
13388 conftest$ac_exeext conftest.$ac_ext
13389 LIBS=$ac_check_soname_save_LIBS
13391 if ${ac_cv_lib_soname_cups:+false} :; then :
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13393 $as_echo "not found" >&6; }
13394 CUPS_LIBS=""
13395 else
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13397 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13399 cat >>confdefs.h <<_ACEOF
13400 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13401 _ACEOF
13405 else
13406 CUPS_CFLAGS=""
13407 CUPS_LIBS=""
13409 CPPFLAGS=$ac_save_CPPFLAGS
13410 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13411 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13414 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13415 case "x$with_cups" in
13416 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13417 xno) ;;
13418 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13419 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13420 esac
13424 if test "x$with_fontconfig" != "xno"
13425 then
13426 if ${FONTCONFIG_CFLAGS:+false} :; then :
13427 if ${PKG_CONFIG+:} false; then :
13428 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13431 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13432 if ${FONTCONFIG_LIBS:+false} :; then :
13433 if ${PKG_CONFIG+:} false; then :
13434 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13437 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13439 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13440 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13441 ac_save_CPPFLAGS=$CPPFLAGS
13442 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13443 for ac_header in fontconfig/fontconfig.h
13444 do :
13445 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13446 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13447 cat >>confdefs.h <<_ACEOF
13448 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13449 _ACEOF
13453 done
13455 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13456 then
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13458 $as_echo_n "checking for -lfontconfig... " >&6; }
13459 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13460 $as_echo_n "(cached) " >&6
13461 else
13462 ac_check_soname_save_LIBS=$LIBS
13463 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13465 /* end confdefs.h. */
13467 /* Override any GCC internal prototype to avoid an error.
13468 Use char because int might match the return type of a GCC
13469 builtin and then its argument prototype would still apply. */
13470 #ifdef __cplusplus
13471 extern "C"
13472 #endif
13473 char FcInit ();
13475 main ()
13477 return FcInit ();
13479 return 0;
13481 _ACEOF
13482 if ac_fn_c_try_link "$LINENO"; then :
13483 case "$LIBEXT" in
13484 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13485 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'` ;;
13486 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13487 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13488 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13489 fi ;;
13490 esac
13492 rm -f core conftest.err conftest.$ac_objext \
13493 conftest$ac_exeext conftest.$ac_ext
13494 LIBS=$ac_check_soname_save_LIBS
13496 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13498 $as_echo "not found" >&6; }
13499 FONTCONFIG_CFLAGS=""
13500 else
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13502 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13504 cat >>confdefs.h <<_ACEOF
13505 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13506 _ACEOF
13510 else
13511 FONTCONFIG_CFLAGS=""
13513 CPPFLAGS=$ac_save_CPPFLAGS
13514 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13515 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13518 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13519 case "x$with_fontconfig" in
13520 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13521 xno) ;;
13522 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13523 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13524 esac
13528 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13529 then
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13531 $as_echo_n "checking for -lgsm... " >&6; }
13532 if ${ac_cv_lib_soname_gsm+:} false; then :
13533 $as_echo_n "(cached) " >&6
13534 else
13535 ac_check_soname_save_LIBS=$LIBS
13536 LIBS="-lgsm $LIBS"
13537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h. */
13540 /* Override any GCC internal prototype to avoid an error.
13541 Use char because int might match the return type of a GCC
13542 builtin and then its argument prototype would still apply. */
13543 #ifdef __cplusplus
13544 extern "C"
13545 #endif
13546 char gsm_create ();
13548 main ()
13550 return gsm_create ();
13552 return 0;
13554 _ACEOF
13555 if ac_fn_c_try_link "$LINENO"; then :
13556 case "$LIBEXT" in
13557 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13558 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'` ;;
13559 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13560 if ${ac_cv_lib_soname_gsm:+false} :; then :
13561 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13562 fi ;;
13563 esac
13565 rm -f core conftest.err conftest.$ac_objext \
13566 conftest$ac_exeext conftest.$ac_ext
13567 LIBS=$ac_check_soname_save_LIBS
13569 if ${ac_cv_lib_soname_gsm:+false} :; then :
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13571 $as_echo "not found" >&6; }
13573 else
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13575 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13577 cat >>confdefs.h <<_ACEOF
13578 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13579 _ACEOF
13584 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13585 case "x$with_gsm" in
13586 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13587 xno) ;;
13588 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13589 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13590 esac
13594 if test "x$with_krb5" != "xno"
13595 then
13596 if ${KRB5_CFLAGS:+false} :; then :
13597 if ${PKG_CONFIG+:} false; then :
13598 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13601 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13602 if ${KRB5_LIBS:+false} :; then :
13603 if ${PKG_CONFIG+:} false; then :
13604 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13607 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13609 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13610 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13611 ac_save_CPPFLAGS=$CPPFLAGS
13612 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13613 for ac_header in krb5/krb5.h
13614 do :
13615 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13616 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13617 cat >>confdefs.h <<_ACEOF
13618 #define HAVE_KRB5_KRB5_H 1
13619 _ACEOF
13623 done
13625 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13626 then
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13628 $as_echo_n "checking for -lkrb5... " >&6; }
13629 if ${ac_cv_lib_soname_krb5+:} false; then :
13630 $as_echo_n "(cached) " >&6
13631 else
13632 ac_check_soname_save_LIBS=$LIBS
13633 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13637 /* Override any GCC internal prototype to avoid an error.
13638 Use char because int might match the return type of a GCC
13639 builtin and then its argument prototype would still apply. */
13640 #ifdef __cplusplus
13641 extern "C"
13642 #endif
13643 char krb5_init_context ();
13645 main ()
13647 return krb5_init_context ();
13649 return 0;
13651 _ACEOF
13652 if ac_fn_c_try_link "$LINENO"; then :
13653 case "$LIBEXT" in
13654 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13655 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'` ;;
13656 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13657 if ${ac_cv_lib_soname_krb5:+false} :; then :
13658 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13659 fi ;;
13660 esac
13662 rm -f core conftest.err conftest.$ac_objext \
13663 conftest$ac_exeext conftest.$ac_ext
13664 LIBS=$ac_check_soname_save_LIBS
13666 if ${ac_cv_lib_soname_krb5:+false} :; then :
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13668 $as_echo "not found" >&6; }
13669 KRB5_CFLAGS=""
13670 else
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13672 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13674 cat >>confdefs.h <<_ACEOF
13675 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13676 _ACEOF
13680 else
13681 KRB5_CFLAGS=""
13683 CPPFLAGS=$ac_save_CPPFLAGS
13684 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13685 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13687 else
13688 with_gssapi=${with_gssapi:-no}
13690 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13691 case "x$with_krb5" in
13692 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13693 xno) ;;
13694 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13695 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13696 esac
13700 if test "x$with_gssapi" != "xno"
13701 then
13702 if ${GSSAPI_CFLAGS:+false} :; then :
13703 if ${PKG_CONFIG+:} false; then :
13704 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13707 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13708 if ${GSSAPI_LIBS:+false} :; then :
13709 if ${PKG_CONFIG+:} false; then :
13710 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13713 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13715 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13716 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13717 ac_save_CPPFLAGS=$CPPFLAGS
13718 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13719 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13720 do :
13721 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13722 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13723 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13724 cat >>confdefs.h <<_ACEOF
13725 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13726 _ACEOF
13730 done
13732 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13733 then
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13735 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13736 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13737 $as_echo_n "(cached) " >&6
13738 else
13739 ac_check_soname_save_LIBS=$LIBS
13740 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13744 /* Override any GCC internal prototype to avoid an error.
13745 Use char because int might match the return type of a GCC
13746 builtin and then its argument prototype would still apply. */
13747 #ifdef __cplusplus
13748 extern "C"
13749 #endif
13750 char gss_init_sec_context ();
13752 main ()
13754 return gss_init_sec_context ();
13756 return 0;
13758 _ACEOF
13759 if ac_fn_c_try_link "$LINENO"; then :
13760 case "$LIBEXT" in
13761 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13762 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'` ;;
13763 *) 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'`
13764 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13765 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13766 fi ;;
13767 esac
13769 rm -f core conftest.err conftest.$ac_objext \
13770 conftest$ac_exeext conftest.$ac_ext
13771 LIBS=$ac_check_soname_save_LIBS
13773 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13775 $as_echo "not found" >&6; }
13776 GSSAPI_CFLAGS=""
13777 else
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13779 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13781 cat >>confdefs.h <<_ACEOF
13782 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13783 _ACEOF
13787 else
13788 GSSAPI_CFLAGS=""
13790 CPPFLAGS=$ac_save_CPPFLAGS
13791 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13792 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13795 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13796 case "x$with_gssapi" in
13797 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13798 xno) ;;
13799 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13800 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13801 esac
13805 if test "x$with_jpeg" != "xno"
13806 then
13807 if ${JPEG_CFLAGS:+false} :; then :
13808 if ${PKG_CONFIG+:} false; then :
13809 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13813 if ${JPEG_LIBS:+false} :; then :
13814 if ${PKG_CONFIG+:} false; then :
13815 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13820 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13821 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13822 ac_save_CPPFLAGS=$CPPFLAGS
13823 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13824 for ac_header in jpeglib.h
13825 do :
13826 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13827 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13828 cat >>confdefs.h <<_ACEOF
13829 #define HAVE_JPEGLIB_H 1
13830 _ACEOF
13834 done
13836 if test "$ac_cv_header_jpeglib_h" = "yes"
13837 then
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13839 $as_echo_n "checking for -ljpeg... " >&6; }
13840 if ${ac_cv_lib_soname_jpeg+:} false; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 ac_check_soname_save_LIBS=$LIBS
13844 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13848 /* Override any GCC internal prototype to avoid an error.
13849 Use char because int might match the return type of a GCC
13850 builtin and then its argument prototype would still apply. */
13851 #ifdef __cplusplus
13852 extern "C"
13853 #endif
13854 char jpeg_start_decompress ();
13856 main ()
13858 return jpeg_start_decompress ();
13860 return 0;
13862 _ACEOF
13863 if ac_fn_c_try_link "$LINENO"; then :
13864 case "$LIBEXT" in
13865 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13866 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'` ;;
13867 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13868 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13869 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13870 fi ;;
13871 esac
13873 rm -f core conftest.err conftest.$ac_objext \
13874 conftest$ac_exeext conftest.$ac_ext
13875 LIBS=$ac_check_soname_save_LIBS
13877 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13879 $as_echo "not found" >&6; }
13880 JPEG_CFLAGS=""
13881 else
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13883 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13885 cat >>confdefs.h <<_ACEOF
13886 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13887 _ACEOF
13891 else
13892 JPEG_CFLAGS=""
13894 CPPFLAGS=$ac_save_CPPFLAGS
13895 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13896 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13899 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13900 case "x$with_jpeg" in
13901 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13902 xno) ;;
13903 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13904 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13905 esac
13909 if test "x$with_png" != "xno"
13910 then
13911 if ${PNG_CFLAGS:+false} :; then :
13912 if ${PKG_CONFIG+:} false; then :
13913 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13916 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13917 if ${PNG_LIBS:+false} :; then :
13918 if ${PKG_CONFIG+:} false; then :
13919 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13922 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13924 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13925 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13926 ac_save_CPPFLAGS=$CPPFLAGS
13927 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13928 for ac_header in png.h
13929 do :
13930 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13931 if test "x$ac_cv_header_png_h" = xyes; then :
13932 cat >>confdefs.h <<_ACEOF
13933 #define HAVE_PNG_H 1
13934 _ACEOF
13938 done
13940 if test "$ac_cv_header_png_h" = "yes"
13941 then
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13943 $as_echo_n "checking for -lpng... " >&6; }
13944 if ${ac_cv_lib_soname_png+:} false; then :
13945 $as_echo_n "(cached) " >&6
13946 else
13947 ac_check_soname_save_LIBS=$LIBS
13948 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13952 /* Override any GCC internal prototype to avoid an error.
13953 Use char because int might match the return type of a GCC
13954 builtin and then its argument prototype would still apply. */
13955 #ifdef __cplusplus
13956 extern "C"
13957 #endif
13958 char png_create_read_struct ();
13960 main ()
13962 return png_create_read_struct ();
13964 return 0;
13966 _ACEOF
13967 if ac_fn_c_try_link "$LINENO"; then :
13968 case "$LIBEXT" in
13969 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13970 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'` ;;
13971 *) 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'`
13972 if ${ac_cv_lib_soname_png:+false} :; then :
13973 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13974 fi ;;
13975 esac
13977 rm -f core conftest.err conftest.$ac_objext \
13978 conftest$ac_exeext conftest.$ac_ext
13979 LIBS=$ac_check_soname_save_LIBS
13981 if ${ac_cv_lib_soname_png:+false} :; then :
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13983 $as_echo "not found" >&6; }
13984 PNG_CFLAGS=""
13985 else
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13987 $as_echo "$ac_cv_lib_soname_png" >&6; }
13989 cat >>confdefs.h <<_ACEOF
13990 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13991 _ACEOF
13995 else
13996 PNG_CFLAGS=""
13998 CPPFLAGS=$ac_save_CPPFLAGS
13999 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14000 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14003 if test "x$ac_cv_lib_soname_png" = "x"; then :
14004 case "x$with_png" in
14005 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14006 xno) ;;
14007 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14008 This is an error since --with-png was requested." "$LINENO" 5 ;;
14009 esac
14013 if test "x$with_tiff" != "xno"
14014 then
14015 if ${TIFF_CFLAGS:+false} :; then :
14016 if ${PKG_CONFIG+:} false; then :
14017 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14021 if ${TIFF_LIBS:+false} :; then :
14022 if ${PKG_CONFIG+:} false; then :
14023 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14028 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14029 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14030 ac_save_CPPFLAGS=$CPPFLAGS
14031 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14032 for ac_header in tiffio.h
14033 do :
14034 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14035 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14036 cat >>confdefs.h <<_ACEOF
14037 #define HAVE_TIFFIO_H 1
14038 _ACEOF
14042 done
14044 if test "$ac_cv_header_tiffio_h" = "yes"
14045 then
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14047 $as_echo_n "checking for -ltiff... " >&6; }
14048 if ${ac_cv_lib_soname_tiff+:} false; then :
14049 $as_echo_n "(cached) " >&6
14050 else
14051 ac_check_soname_save_LIBS=$LIBS
14052 LIBS="-ltiff $TIFF_LIBS $LIBS"
14053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14054 /* end confdefs.h. */
14056 /* Override any GCC internal prototype to avoid an error.
14057 Use char because int might match the return type of a GCC
14058 builtin and then its argument prototype would still apply. */
14059 #ifdef __cplusplus
14060 extern "C"
14061 #endif
14062 char TIFFClientOpen ();
14064 main ()
14066 return TIFFClientOpen ();
14068 return 0;
14070 _ACEOF
14071 if ac_fn_c_try_link "$LINENO"; then :
14072 case "$LIBEXT" in
14073 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14074 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'` ;;
14075 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14076 if ${ac_cv_lib_soname_tiff:+false} :; then :
14077 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14078 fi ;;
14079 esac
14081 rm -f core conftest.err conftest.$ac_objext \
14082 conftest$ac_exeext conftest.$ac_ext
14083 LIBS=$ac_check_soname_save_LIBS
14085 if ${ac_cv_lib_soname_tiff:+false} :; then :
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14087 $as_echo "not found" >&6; }
14089 else
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14091 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14093 cat >>confdefs.h <<_ACEOF
14094 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14095 _ACEOF
14100 CPPFLAGS=$ac_save_CPPFLAGS
14101 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14102 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14105 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14106 case "x$with_tiff" in
14107 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14108 xno) ;;
14109 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14110 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14111 esac
14115 if test "x$with_mpg123" != "xno"
14116 then
14117 if ${MPG123_CFLAGS:+false} :; then :
14118 if ${PKG_CONFIG+:} false; then :
14119 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14123 if ${MPG123_LIBS:+false} :; then :
14124 if ${PKG_CONFIG+:} false; then :
14125 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14129 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14130 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14131 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14132 ac_save_CPPFLAGS=$CPPFLAGS
14133 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14134 for ac_header in mpg123.h
14135 do :
14136 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14137 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14138 cat >>confdefs.h <<_ACEOF
14139 #define HAVE_MPG123_H 1
14140 _ACEOF
14144 done
14146 if test "$ac_cv_header_mpg123_h" = "yes"
14147 then
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14149 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14150 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14151 $as_echo_n "(cached) " >&6
14152 else
14153 ac_check_lib_save_LIBS=$LIBS
14154 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14156 /* end confdefs.h. */
14158 /* Override any GCC internal prototype to avoid an error.
14159 Use char because int might match the return type of a GCC
14160 builtin and then its argument prototype would still apply. */
14161 #ifdef __cplusplus
14162 extern "C"
14163 #endif
14164 char mpg123_feed ();
14166 main ()
14168 return mpg123_feed ();
14170 return 0;
14172 _ACEOF
14173 if ac_fn_c_try_link "$LINENO"; then :
14174 ac_cv_lib_mpg123_mpg123_feed=yes
14175 else
14176 ac_cv_lib_mpg123_mpg123_feed=no
14178 rm -f core conftest.err conftest.$ac_objext \
14179 conftest$ac_exeext conftest.$ac_ext
14180 LIBS=$ac_check_lib_save_LIBS
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14183 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14184 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14186 else
14187 MPG123_LIBS=""
14190 else
14191 MPG123_CFLAGS=""
14192 MPG123_LIBS=""
14194 CPPFLAGS=$ac_save_CPPFLAGS
14195 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14196 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14199 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14200 case "x$with_mpg123" in
14201 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14202 xno) ;;
14203 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14204 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14205 esac
14206 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14209 if test "$ac_cv_header_AL_al_h" = "yes"
14210 then
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14212 $as_echo_n "checking for -lopenal... " >&6; }
14213 if ${ac_cv_lib_soname_openal+:} false; then :
14214 $as_echo_n "(cached) " >&6
14215 else
14216 ac_check_soname_save_LIBS=$LIBS
14217 LIBS="-lopenal $LIBS"
14218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14219 /* end confdefs.h. */
14221 /* Override any GCC internal prototype to avoid an error.
14222 Use char because int might match the return type of a GCC
14223 builtin and then its argument prototype would still apply. */
14224 #ifdef __cplusplus
14225 extern "C"
14226 #endif
14227 char alGetSource3i ();
14229 main ()
14231 return alGetSource3i ();
14233 return 0;
14235 _ACEOF
14236 if ac_fn_c_try_link "$LINENO"; then :
14237 case "$LIBEXT" in
14238 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14239 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'` ;;
14240 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14241 if ${ac_cv_lib_soname_openal:+false} :; then :
14242 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14243 fi ;;
14244 esac
14246 rm -f core conftest.err conftest.$ac_objext \
14247 conftest$ac_exeext conftest.$ac_ext
14248 LIBS=$ac_check_soname_save_LIBS
14250 if ${ac_cv_lib_soname_openal:+false} :; then :
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14252 $as_echo "not found" >&6; }
14254 else
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14256 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14258 cat >>confdefs.h <<_ACEOF
14259 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14260 _ACEOF
14262 OPENAL_LIBS="-lopenal"
14264 ac_cv_lib_openal=yes
14266 cat >>confdefs.h <<_ACEOF
14267 #define HAVE_OPENAL 1
14268 _ACEOF
14272 if test "x$ac_cv_lib_openal" != xyes; then :
14273 case "x$with_openal" in
14274 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14275 xno) ;;
14276 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14277 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14278 esac
14279 enable_openal32=${enable_openal32:-no}
14282 if test "x$ac_cv_lib_openal" = xyes
14283 then
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14285 $as_echo_n "checking for openal-soft... " >&6; }
14286 if ${ac_cv_have_openalsoft+:} false; then :
14287 $as_echo_n "(cached) " >&6
14288 else
14289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14290 /* end confdefs.h. */
14291 #include <AL/al.h>
14292 #include <AL/alc.h>
14293 #include <AL/alext.h>
14294 LPALCRENDERSAMPLESSOFT x;
14296 main ()
14300 return 0;
14302 _ACEOF
14303 if ac_fn_c_try_compile "$LINENO"; then :
14304 ac_cv_have_openalsoft=yes
14305 else
14306 ac_cv_have_openalsoft=no
14308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14311 $as_echo "$ac_cv_have_openalsoft" >&6; }
14313 if test "x$ac_cv_have_openalsoft" != xyes
14314 then
14315 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14316 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14317 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14318 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14319 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14320 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14321 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14322 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14323 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14324 enable_xapofx1_1=${enable_xapofx1_1:-no}
14325 enable_xapofx1_2=${enable_xapofx1_2:-no}
14326 enable_xapofx1_3=${enable_xapofx1_3:-no}
14327 enable_xapofx1_4=${enable_xapofx1_4:-no}
14328 enable_xapofx1_5=${enable_xapofx1_5:-no}
14329 enable_xaudio2_0=${enable_xaudio2_0:-no}
14330 enable_xaudio2_1=${enable_xaudio2_1:-no}
14331 enable_xaudio2_2=${enable_xaudio2_2:-no}
14332 enable_xaudio2_3=${enable_xaudio2_3:-no}
14333 enable_xaudio2_4=${enable_xaudio2_4:-no}
14334 enable_xaudio2_5=${enable_xaudio2_5:-no}
14335 enable_xaudio2_6=${enable_xaudio2_6:-no}
14336 enable_xaudio2_7=${enable_xaudio2_7:-no}
14337 enable_xaudio2_8=${enable_xaudio2_8:-no}
14338 enable_xaudio2_9=${enable_xaudio2_9:-no}
14341 if test "$ac_cv_header_kstat_h" = "yes"
14342 then
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14344 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14345 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14346 $as_echo_n "(cached) " >&6
14347 else
14348 ac_check_lib_save_LIBS=$LIBS
14349 LIBS="-lkstat $LIBS"
14350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14351 /* end confdefs.h. */
14353 /* Override any GCC internal prototype to avoid an error.
14354 Use char because int might match the return type of a GCC
14355 builtin and then its argument prototype would still apply. */
14356 #ifdef __cplusplus
14357 extern "C"
14358 #endif
14359 char kstat_open ();
14361 main ()
14363 return kstat_open ();
14365 return 0;
14367 _ACEOF
14368 if ac_fn_c_try_link "$LINENO"; then :
14369 ac_cv_lib_kstat_kstat_open=yes
14370 else
14371 ac_cv_lib_kstat_kstat_open=no
14373 rm -f core conftest.err conftest.$ac_objext \
14374 conftest$ac_exeext conftest.$ac_ext
14375 LIBS=$ac_check_lib_save_LIBS
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14378 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14379 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14381 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14383 KSTAT_LIBS="-lkstat"
14389 if test "$ac_cv_header_libprocstat_h" = "yes"
14390 then
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14392 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14393 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14394 $as_echo_n "(cached) " >&6
14395 else
14396 ac_check_lib_save_LIBS=$LIBS
14397 LIBS="-lprocstat $LIBS"
14398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14399 /* end confdefs.h. */
14401 /* Override any GCC internal prototype to avoid an error.
14402 Use char because int might match the return type of a GCC
14403 builtin and then its argument prototype would still apply. */
14404 #ifdef __cplusplus
14405 extern "C"
14406 #endif
14407 char procstat_open_sysctl ();
14409 main ()
14411 return procstat_open_sysctl ();
14413 return 0;
14415 _ACEOF
14416 if ac_fn_c_try_link "$LINENO"; then :
14417 ac_cv_lib_procstat_procstat_open_sysctl=yes
14418 else
14419 ac_cv_lib_procstat_procstat_open_sysctl=no
14421 rm -f core conftest.err conftest.$ac_objext \
14422 conftest$ac_exeext conftest.$ac_ext
14423 LIBS=$ac_check_lib_save_LIBS
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14426 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14427 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14429 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14431 PROCSTAT_LIBS="-lprocstat"
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14438 $as_echo_n "checking for -lodbc... " >&6; }
14439 if ${ac_cv_lib_soname_odbc+:} false; then :
14440 $as_echo_n "(cached) " >&6
14441 else
14442 ac_check_soname_save_LIBS=$LIBS
14443 LIBS="-lodbc $LIBS"
14444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14445 /* end confdefs.h. */
14447 /* Override any GCC internal prototype to avoid an error.
14448 Use char because int might match the return type of a GCC
14449 builtin and then its argument prototype would still apply. */
14450 #ifdef __cplusplus
14451 extern "C"
14452 #endif
14453 char SQLConnect ();
14455 main ()
14457 return SQLConnect ();
14459 return 0;
14461 _ACEOF
14462 if ac_fn_c_try_link "$LINENO"; then :
14463 case "$LIBEXT" in
14464 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14465 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'` ;;
14466 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14467 if ${ac_cv_lib_soname_odbc:+false} :; then :
14468 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14469 fi ;;
14470 esac
14472 rm -f core conftest.err conftest.$ac_objext \
14473 conftest$ac_exeext conftest.$ac_ext
14474 LIBS=$ac_check_soname_save_LIBS
14476 if ${ac_cv_lib_soname_odbc:+false} :; then :
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14478 $as_echo "not found" >&6; }
14479 cat >>confdefs.h <<_ACEOF
14480 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14481 _ACEOF
14483 else
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14485 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14487 cat >>confdefs.h <<_ACEOF
14488 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14489 _ACEOF
14494 if test "x$with_netapi" != "xno"
14495 then
14496 if ${NETAPI_CFLAGS:+false} :; then :
14497 if ${PKG_CONFIG+:} false; then :
14498 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14502 if ${NETAPI_LIBS:+false} :; then :
14503 if ${PKG_CONFIG+:} false; then :
14504 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14509 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14510 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14511 ac_save_CPPFLAGS=$CPPFLAGS
14512 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14514 $as_echo_n "checking for -lnetapi... " >&6; }
14515 if ${ac_cv_lib_soname_netapi+:} false; then :
14516 $as_echo_n "(cached) " >&6
14517 else
14518 ac_check_soname_save_LIBS=$LIBS
14519 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14521 /* end confdefs.h. */
14523 /* Override any GCC internal prototype to avoid an error.
14524 Use char because int might match the return type of a GCC
14525 builtin and then its argument prototype would still apply. */
14526 #ifdef __cplusplus
14527 extern "C"
14528 #endif
14529 char libnetapi_init ();
14531 main ()
14533 return libnetapi_init ();
14535 return 0;
14537 _ACEOF
14538 if ac_fn_c_try_link "$LINENO"; then :
14539 case "$LIBEXT" in
14540 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14541 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'` ;;
14542 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14543 if ${ac_cv_lib_soname_netapi:+false} :; then :
14544 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14545 fi ;;
14546 esac
14548 rm -f core conftest.err conftest.$ac_objext \
14549 conftest$ac_exeext conftest.$ac_ext
14550 LIBS=$ac_check_soname_save_LIBS
14552 if ${ac_cv_lib_soname_netapi:+false} :; then :
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14554 $as_echo "not found" >&6; }
14555 cat >>confdefs.h <<_ACEOF
14556 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14557 _ACEOF
14559 else
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14561 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14563 cat >>confdefs.h <<_ACEOF
14564 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14565 _ACEOF
14569 CPPFLAGS=$ac_save_CPPFLAGS
14570 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14571 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14575 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14576 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14577 then
14578 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14581 if test "x$with_vulkan" != "xno"
14582 then
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14584 $as_echo_n "checking for -lvulkan... " >&6; }
14585 if ${ac_cv_lib_soname_vulkan+:} false; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 ac_check_soname_save_LIBS=$LIBS
14589 LIBS="-lvulkan $LIBS"
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14593 /* Override any GCC internal prototype to avoid an error.
14594 Use char because int might match the return type of a GCC
14595 builtin and then its argument prototype would still apply. */
14596 #ifdef __cplusplus
14597 extern "C"
14598 #endif
14599 char vkGetInstanceProcAddr ();
14601 main ()
14603 return vkGetInstanceProcAddr ();
14605 return 0;
14607 _ACEOF
14608 if ac_fn_c_try_link "$LINENO"; then :
14609 case "$LIBEXT" in
14610 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14611 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'` ;;
14612 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14613 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14614 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14615 fi ;;
14616 esac
14618 rm -f core conftest.err conftest.$ac_objext \
14619 conftest$ac_exeext conftest.$ac_ext
14620 LIBS=$ac_check_soname_save_LIBS
14622 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14624 $as_echo "not found" >&6; }
14626 else
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14628 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14630 cat >>confdefs.h <<_ACEOF
14631 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14632 _ACEOF
14637 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14638 case "x$with_vulkan" in
14639 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14640 xno) ;;
14641 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14642 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14643 esac
14648 EXTRACFLAGS=""
14650 if test "x${GCC}" = "xyes"
14651 then
14652 EXTRACFLAGS="-Wall -pipe"
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14655 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14656 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14657 $as_echo_n "(cached) " >&6
14658 else
14659 if test "$cross_compiling" = yes; then :
14660 ac_cv_c_gcc_strength_bug="no"
14661 else
14662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14663 /* end confdefs.h. */
14664 int L[4] = {0,1,2,3};
14666 main ()
14668 static int Array[3];
14669 unsigned int B = 3;
14670 int i;
14671 for(i=0; i<B; i++) Array[i] = i - 3;
14672 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14673 L[i] = 4;
14674 return (Array[1] != -2 || L[2] != 3)
14676 return 0;
14678 _ACEOF
14679 if ac_fn_c_try_run "$LINENO"; then :
14680 ac_cv_c_gcc_strength_bug="no"
14681 else
14682 ac_cv_c_gcc_strength_bug="yes"
14684 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14685 conftest.$ac_objext conftest.beam conftest.$ac_ext
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14690 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14691 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14692 then
14693 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14697 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14698 if ${ac_cv_cflags__fno_builtin+:} false; then :
14699 $as_echo_n "(cached) " >&6
14700 else
14701 ac_wine_try_cflags_saved=$CFLAGS
14702 CFLAGS="$CFLAGS -fno-builtin"
14703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704 /* end confdefs.h. */
14705 int main(int argc, char **argv) { return 0; }
14706 _ACEOF
14707 if ac_fn_c_try_link "$LINENO"; then :
14708 ac_cv_cflags__fno_builtin=yes
14709 else
14710 ac_cv_cflags__fno_builtin=no
14712 rm -f core conftest.err conftest.$ac_objext \
14713 conftest$ac_exeext conftest.$ac_ext
14714 CFLAGS=$ac_wine_try_cflags_saved
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14717 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14718 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14719 BUILTINFLAG="-fno-builtin"
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14723 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14724 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14725 $as_echo_n "(cached) " >&6
14726 else
14727 ac_wine_try_cflags_saved=$CFLAGS
14728 CFLAGS="$CFLAGS -fno-strict-aliasing"
14729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14730 /* end confdefs.h. */
14731 int main(int argc, char **argv) { return 0; }
14732 _ACEOF
14733 if ac_fn_c_try_link "$LINENO"; then :
14734 ac_cv_cflags__fno_strict_aliasing=yes
14735 else
14736 ac_cv_cflags__fno_strict_aliasing=no
14738 rm -f core conftest.err conftest.$ac_objext \
14739 conftest$ac_exeext conftest.$ac_ext
14740 CFLAGS=$ac_wine_try_cflags_saved
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14743 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14744 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14745 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14748 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14749 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14750 $as_echo_n "(cached) " >&6
14751 else
14752 ac_wine_try_cflags_saved=$CFLAGS
14753 CFLAGS="$CFLAGS -fexcess-precision=standard"
14754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14755 /* end confdefs.h. */
14756 int main(int argc, char **argv) { return 0; }
14757 _ACEOF
14758 if ac_fn_c_try_link "$LINENO"; then :
14759 ac_cv_cflags__fexcess_precision_standard=yes
14760 else
14761 ac_cv_cflags__fexcess_precision_standard=no
14763 rm -f core conftest.err conftest.$ac_objext \
14764 conftest$ac_exeext conftest.$ac_ext
14765 CFLAGS=$ac_wine_try_cflags_saved
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14768 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14769 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14770 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14773 saved_CFLAGS=$CFLAGS
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14775 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14776 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14777 $as_echo_n "(cached) " >&6
14778 else
14779 ac_wine_try_cflags_saved=$CFLAGS
14780 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14782 /* end confdefs.h. */
14783 int main(int argc, char **argv) { return 0; }
14784 _ACEOF
14785 if ac_fn_c_try_link "$LINENO"; then :
14786 ac_cv_cflags__Werror_unknown_warning_option=yes
14787 else
14788 ac_cv_cflags__Werror_unknown_warning_option=no
14790 rm -f core conftest.err conftest.$ac_objext \
14791 conftest$ac_exeext conftest.$ac_ext
14792 CFLAGS=$ac_wine_try_cflags_saved
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14795 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14796 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14797 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14800 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14801 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14802 $as_echo_n "(cached) " >&6
14803 else
14804 ac_wine_try_cflags_saved=$CFLAGS
14805 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14807 /* end confdefs.h. */
14808 int main(int argc, char **argv) { return 0; }
14809 _ACEOF
14810 if ac_fn_c_try_link "$LINENO"; then :
14811 ac_cv_cflags__Wdeclaration_after_statement=yes
14812 else
14813 ac_cv_cflags__Wdeclaration_after_statement=no
14815 rm -f core conftest.err conftest.$ac_objext \
14816 conftest$ac_exeext conftest.$ac_ext
14817 CFLAGS=$ac_wine_try_cflags_saved
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14820 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14821 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14822 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14825 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14826 if ${ac_cv_cflags__Wempty_body+:} false; then :
14827 $as_echo_n "(cached) " >&6
14828 else
14829 ac_wine_try_cflags_saved=$CFLAGS
14830 CFLAGS="$CFLAGS -Wempty-body"
14831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14832 /* end confdefs.h. */
14833 int main(int argc, char **argv) { return 0; }
14834 _ACEOF
14835 if ac_fn_c_try_link "$LINENO"; then :
14836 ac_cv_cflags__Wempty_body=yes
14837 else
14838 ac_cv_cflags__Wempty_body=no
14840 rm -f core conftest.err conftest.$ac_objext \
14841 conftest$ac_exeext conftest.$ac_ext
14842 CFLAGS=$ac_wine_try_cflags_saved
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14845 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14846 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14847 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14850 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14851 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14852 $as_echo_n "(cached) " >&6
14853 else
14854 ac_wine_try_cflags_saved=$CFLAGS
14855 CFLAGS="$CFLAGS -Wignored-qualifiers"
14856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14857 /* end confdefs.h. */
14858 int main(int argc, char **argv) { return 0; }
14859 _ACEOF
14860 if ac_fn_c_try_link "$LINENO"; then :
14861 ac_cv_cflags__Wignored_qualifiers=yes
14862 else
14863 ac_cv_cflags__Wignored_qualifiers=no
14865 rm -f core conftest.err conftest.$ac_objext \
14866 conftest$ac_exeext conftest.$ac_ext
14867 CFLAGS=$ac_wine_try_cflags_saved
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14870 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14871 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14872 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14875 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14876 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14877 $as_echo_n "(cached) " >&6
14878 else
14879 ac_wine_try_cflags_saved=$CFLAGS
14880 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14883 int main(int argc, char **argv) { return 0; }
14884 _ACEOF
14885 if ac_fn_c_try_link "$LINENO"; then :
14886 ac_cv_cflags__Wpacked_not_aligned=yes
14887 else
14888 ac_cv_cflags__Wpacked_not_aligned=no
14890 rm -f core conftest.err conftest.$ac_objext \
14891 conftest$ac_exeext conftest.$ac_ext
14892 CFLAGS=$ac_wine_try_cflags_saved
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14895 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14896 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14897 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14900 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14901 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14902 $as_echo_n "(cached) " >&6
14903 else
14904 ac_wine_try_cflags_saved=$CFLAGS
14905 CFLAGS="$CFLAGS -Wpragma-pack"
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14908 int main(int argc, char **argv) { return 0; }
14909 _ACEOF
14910 if ac_fn_c_try_link "$LINENO"; then :
14911 ac_cv_cflags__Wpragma_pack=yes
14912 else
14913 ac_cv_cflags__Wpragma_pack=no
14915 rm -f core conftest.err conftest.$ac_objext \
14916 conftest$ac_exeext conftest.$ac_ext
14917 CFLAGS=$ac_wine_try_cflags_saved
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14920 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14921 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14922 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14925 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14926 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14927 $as_echo_n "(cached) " >&6
14928 else
14929 ac_wine_try_cflags_saved=$CFLAGS
14930 CFLAGS="$CFLAGS -Wshift-overflow=2"
14931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14932 /* end confdefs.h. */
14933 int main(int argc, char **argv) { return 0; }
14934 _ACEOF
14935 if ac_fn_c_try_link "$LINENO"; then :
14936 ac_cv_cflags__Wshift_overflow_2=yes
14937 else
14938 ac_cv_cflags__Wshift_overflow_2=no
14940 rm -f core conftest.err conftest.$ac_objext \
14941 conftest$ac_exeext conftest.$ac_ext
14942 CFLAGS=$ac_wine_try_cflags_saved
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14945 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14946 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14947 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14950 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14951 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14952 $as_echo_n "(cached) " >&6
14953 else
14954 ac_wine_try_cflags_saved=$CFLAGS
14955 CFLAGS="$CFLAGS -Wstrict-prototypes"
14956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14958 int main(int argc, char **argv) { return 0; }
14959 _ACEOF
14960 if ac_fn_c_try_link "$LINENO"; then :
14961 ac_cv_cflags__Wstrict_prototypes=yes
14962 else
14963 ac_cv_cflags__Wstrict_prototypes=no
14965 rm -f core conftest.err conftest.$ac_objext \
14966 conftest$ac_exeext conftest.$ac_ext
14967 CFLAGS=$ac_wine_try_cflags_saved
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14970 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14971 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14972 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14975 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14976 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14977 $as_echo_n "(cached) " >&6
14978 else
14979 ac_wine_try_cflags_saved=$CFLAGS
14980 CFLAGS="$CFLAGS -Wtype-limits"
14981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14982 /* end confdefs.h. */
14983 int main(int argc, char **argv) { return 0; }
14984 _ACEOF
14985 if ac_fn_c_try_link "$LINENO"; then :
14986 ac_cv_cflags__Wtype_limits=yes
14987 else
14988 ac_cv_cflags__Wtype_limits=no
14990 rm -f core conftest.err conftest.$ac_objext \
14991 conftest$ac_exeext conftest.$ac_ext
14992 CFLAGS=$ac_wine_try_cflags_saved
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14995 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14996 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14997 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15000 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15001 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15002 $as_echo_n "(cached) " >&6
15003 else
15004 ac_wine_try_cflags_saved=$CFLAGS
15005 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15008 int main(int argc, char **argv) { return 0; }
15009 _ACEOF
15010 if ac_fn_c_try_link "$LINENO"; then :
15011 ac_cv_cflags__Wunused_but_set_parameter=yes
15012 else
15013 ac_cv_cflags__Wunused_but_set_parameter=no
15015 rm -f core conftest.err conftest.$ac_objext \
15016 conftest$ac_exeext conftest.$ac_ext
15017 CFLAGS=$ac_wine_try_cflags_saved
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15020 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15021 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15022 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15025 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15026 if ${ac_cv_cflags__Wvla+:} false; then :
15027 $as_echo_n "(cached) " >&6
15028 else
15029 ac_wine_try_cflags_saved=$CFLAGS
15030 CFLAGS="$CFLAGS -Wvla"
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15033 int main(int argc, char **argv) { return 0; }
15034 _ACEOF
15035 if ac_fn_c_try_link "$LINENO"; then :
15036 ac_cv_cflags__Wvla=yes
15037 else
15038 ac_cv_cflags__Wvla=no
15040 rm -f core conftest.err conftest.$ac_objext \
15041 conftest$ac_exeext conftest.$ac_ext
15042 CFLAGS=$ac_wine_try_cflags_saved
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15045 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15046 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15047 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15050 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15051 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15052 $as_echo_n "(cached) " >&6
15053 else
15054 ac_wine_try_cflags_saved=$CFLAGS
15055 CFLAGS="$CFLAGS -Wwrite-strings"
15056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15057 /* end confdefs.h. */
15058 int main(int argc, char **argv) { return 0; }
15059 _ACEOF
15060 if ac_fn_c_try_link "$LINENO"; then :
15061 ac_cv_cflags__Wwrite_strings=yes
15062 else
15063 ac_cv_cflags__Wwrite_strings=no
15065 rm -f core conftest.err conftest.$ac_objext \
15066 conftest$ac_exeext conftest.$ac_ext
15067 CFLAGS=$ac_wine_try_cflags_saved
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15070 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15071 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15072 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15076 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15077 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15078 $as_echo_n "(cached) " >&6
15079 else
15080 ac_wine_try_cflags_saved=$CFLAGS
15081 CFLAGS="$CFLAGS -Wpointer-arith"
15082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15084 int main(int argc, char **argv) { return 0; }
15085 _ACEOF
15086 if ac_fn_c_try_link "$LINENO"; then :
15087 ac_cv_cflags__Wpointer_arith=yes
15088 else
15089 ac_cv_cflags__Wpointer_arith=no
15091 rm -f core conftest.err conftest.$ac_objext \
15092 conftest$ac_exeext conftest.$ac_ext
15093 CFLAGS=$ac_wine_try_cflags_saved
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15096 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15097 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15098 saved_string_h_CFLAGS=$CFLAGS
15099 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15101 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15102 if ${ac_cv_c_string_h_warnings+:} false; then :
15103 $as_echo_n "(cached) " >&6
15104 else
15105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15106 /* end confdefs.h. */
15107 #include <string.h>
15109 main ()
15113 return 0;
15115 _ACEOF
15116 if ac_fn_c_try_compile "$LINENO"; then :
15117 ac_cv_c_string_h_warnings=no
15118 else
15119 ac_cv_c_string_h_warnings=yes
15121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15124 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15125 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15126 CFLAGS=$saved_string_h_CFLAGS
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15130 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15131 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15132 $as_echo_n "(cached) " >&6
15133 else
15134 ac_wine_try_cflags_saved=$CFLAGS
15135 CFLAGS="$CFLAGS -Wlogical-op"
15136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15137 /* end confdefs.h. */
15138 int main(int argc, char **argv) { return 0; }
15139 _ACEOF
15140 if ac_fn_c_try_link "$LINENO"; then :
15141 ac_cv_cflags__Wlogical_op=yes
15142 else
15143 ac_cv_cflags__Wlogical_op=no
15145 rm -f core conftest.err conftest.$ac_objext \
15146 conftest$ac_exeext conftest.$ac_ext
15147 CFLAGS=$ac_wine_try_cflags_saved
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15150 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15151 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15152 saved_string_h_CFLAGS=$CFLAGS
15153 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15155 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15156 if ${ac_cv_c_logicalop_noisy+:} false; then :
15157 $as_echo_n "(cached) " >&6
15158 else
15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15161 #include <string.h>
15162 char*f(const char *h,char n) {return strchr(h,n);}
15164 main ()
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_compile "$LINENO"; then :
15172 ac_cv_c_logicalop_noisy=no
15173 else
15174 ac_cv_c_logicalop_noisy=yes
15176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15179 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15180 CFLAGS=$saved_string_h_CFLAGS
15181 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15184 CFLAGS=$saved_CFLAGS
15186 for ac_flag in $CFLAGS; do
15187 case $ac_flag in
15188 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15189 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15190 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15191 $as_echo_n "(cached) " >&6
15192 else
15193 ac_wine_try_cflags_saved=$CFLAGS
15194 CFLAGS="$CFLAGS -gdwarf-2"
15195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15196 /* end confdefs.h. */
15197 int main(int argc, char **argv) { return 0; }
15198 _ACEOF
15199 if ac_fn_c_try_link "$LINENO"; then :
15200 ac_cv_cflags__gdwarf_2=yes
15201 else
15202 ac_cv_cflags__gdwarf_2=no
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15206 CFLAGS=$ac_wine_try_cflags_saved
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15209 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15210 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15211 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15214 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15215 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15216 $as_echo_n "(cached) " >&6
15217 else
15218 ac_wine_try_cflags_saved=$CFLAGS
15219 CFLAGS="$CFLAGS -gstrict-dwarf"
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15222 int main(int argc, char **argv) { return 0; }
15223 _ACEOF
15224 if ac_fn_c_try_link "$LINENO"; then :
15225 ac_cv_cflags__gstrict_dwarf=yes
15226 else
15227 ac_cv_cflags__gstrict_dwarf=no
15229 rm -f core conftest.err conftest.$ac_objext \
15230 conftest$ac_exeext conftest.$ac_ext
15231 CFLAGS=$ac_wine_try_cflags_saved
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15234 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15235 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15236 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15237 fi ;;
15238 esac
15239 done
15241 case $host_cpu in
15242 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15243 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15244 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15245 $as_echo_n "(cached) " >&6
15246 else
15247 ac_wine_try_cflags_saved=$CFLAGS
15248 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15250 /* end confdefs.h. */
15251 int main(int argc, char **argv) { return 0; }
15252 _ACEOF
15253 if ac_fn_c_try_link "$LINENO"; then :
15254 ac_cv_cflags__fno_omit_frame_pointer=yes
15255 else
15256 ac_cv_cflags__fno_omit_frame_pointer=no
15258 rm -f core conftest.err conftest.$ac_objext \
15259 conftest$ac_exeext conftest.$ac_ext
15260 CFLAGS=$ac_wine_try_cflags_saved
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15263 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15264 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15265 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15266 fi ;;
15267 esac
15269 case $host in
15270 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15271 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15272 if ${ac_cv_cflags__Wno_format+:} false; then :
15273 $as_echo_n "(cached) " >&6
15274 else
15275 ac_wine_try_cflags_saved=$CFLAGS
15276 CFLAGS="$CFLAGS -Wno-format"
15277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15279 int main(int argc, char **argv) { return 0; }
15280 _ACEOF
15281 if ac_fn_c_try_link "$LINENO"; then :
15282 ac_cv_cflags__Wno_format=yes
15283 else
15284 ac_cv_cflags__Wno_format=no
15286 rm -f core conftest.err conftest.$ac_objext \
15287 conftest$ac_exeext conftest.$ac_ext
15288 CFLAGS=$ac_wine_try_cflags_saved
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15291 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15292 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15293 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15294 fi ;;
15295 esac
15297 if test "x$enable_maintainer_mode" = "xyes"
15298 then
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15300 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15301 if ${ac_cv_cflags__Werror+:} false; then :
15302 $as_echo_n "(cached) " >&6
15303 else
15304 ac_wine_try_cflags_saved=$CFLAGS
15305 CFLAGS="$CFLAGS -Werror"
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15308 int main(int argc, char **argv) { return 0; }
15309 _ACEOF
15310 if ac_fn_c_try_link "$LINENO"; then :
15311 ac_cv_cflags__Werror=yes
15312 else
15313 ac_cv_cflags__Werror=no
15315 rm -f core conftest.err conftest.$ac_objext \
15316 conftest$ac_exeext conftest.$ac_ext
15317 CFLAGS=$ac_wine_try_cflags_saved
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15320 $as_echo "$ac_cv_cflags__Werror" >&6; }
15321 if test "x$ac_cv_cflags__Werror" = xyes; then :
15322 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15326 saved_CFLAGS="$CFLAGS"
15327 CFLAGS="$CFLAGS -Werror"
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15329 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15330 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15331 $as_echo_n "(cached) " >&6
15332 else
15333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15335 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15337 main ()
15341 return 0;
15343 _ACEOF
15344 if ac_fn_c_try_compile "$LINENO"; then :
15345 ac_cv_have_ms_hook_prologue="yes"
15346 else
15347 ac_cv_have_ms_hook_prologue="no"
15349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15352 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15353 CFLAGS="$saved_CFLAGS"
15354 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15355 then
15357 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15359 else
15360 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15367 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15368 if ${ac_cv_c_fortify_enabled+:} false; then :
15369 $as_echo_n "(cached) " >&6
15370 else
15371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15373 #include <string.h>
15375 main ()
15377 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15378 #error Fortify enabled
15379 #endif
15381 return 0;
15383 _ACEOF
15384 if ac_fn_c_try_compile "$LINENO"; then :
15385 ac_cv_c_fortify_enabled=no
15386 else
15387 ac_cv_c_fortify_enabled=yes
15389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15392 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15393 if test "$ac_cv_c_fortify_enabled" = yes
15394 then
15395 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15400 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15401 if ${ac_cv_c_extern_prefix+:} false; then :
15402 $as_echo_n "(cached) " >&6
15403 else
15404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15405 /* end confdefs.h. */
15406 extern int ac_test;
15408 main ()
15410 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15412 return 0;
15414 _ACEOF
15415 if ac_fn_c_try_link "$LINENO"; then :
15416 ac_cv_c_extern_prefix="yes"
15417 else
15418 ac_cv_c_extern_prefix="no"
15420 rm -f core conftest.err conftest.$ac_objext \
15421 conftest$ac_exeext conftest.$ac_ext
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15424 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15426 case $host_cpu in
15427 *i[3456789]86*)
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15429 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15430 if ${ac_cv_c_stdcall_suffix+:} false; then :
15431 $as_echo_n "(cached) " >&6
15432 else
15433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15435 #ifndef _MSC_VER
15436 #define __stdcall __attribute__((__stdcall__))
15437 #endif
15438 int __stdcall ac_test(int i) { return i; }
15440 main ()
15442 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15444 return 0;
15446 _ACEOF
15447 if ac_fn_c_try_link "$LINENO"; then :
15448 ac_cv_c_stdcall_suffix="yes"
15449 else
15450 ac_cv_c_stdcall_suffix="no"
15452 rm -f core conftest.err conftest.$ac_objext \
15453 conftest$ac_exeext conftest.$ac_ext
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15456 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15457 *) ac_cv_c_stdcall_suffix="no" ;;
15458 esac
15461 if test "$ac_cv_c_extern_prefix" = "yes"
15462 then
15463 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15465 asm_name_prefix="_"
15466 else
15467 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15469 asm_name_prefix=""
15473 if test "$ac_cv_c_stdcall_suffix" = "yes"
15474 then
15475 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15477 else
15478 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15484 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15485 if ${ac_cv_asm_func_def+:} false; then :
15486 $as_echo_n "(cached) " >&6
15487 else
15488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15489 /* end confdefs.h. */
15492 main ()
15494 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15496 return 0;
15498 _ACEOF
15499 if ac_fn_c_try_link "$LINENO"; then :
15500 ac_cv_asm_func_def=".def"
15501 else
15502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15503 /* end confdefs.h. */
15506 main ()
15508 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15510 return 0;
15512 _ACEOF
15513 if ac_fn_c_try_link "$LINENO"; then :
15514 ac_cv_asm_func_def=".type @function"
15515 else
15516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517 /* end confdefs.h. */
15520 main ()
15522 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15524 return 0;
15526 _ACEOF
15527 if ac_fn_c_try_link "$LINENO"; then :
15528 ac_cv_asm_func_def=".type 2"
15529 else
15530 ac_cv_asm_func_def="unknown"
15532 rm -f core conftest.err conftest.$ac_objext \
15533 conftest$ac_exeext conftest.$ac_ext
15535 rm -f core conftest.err conftest.$ac_objext \
15536 conftest$ac_exeext conftest.$ac_ext
15538 rm -f core conftest.err conftest.$ac_objext \
15539 conftest$ac_exeext conftest.$ac_ext
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15542 $as_echo "$ac_cv_asm_func_def" >&6; }
15545 case "$ac_cv_asm_func_def" in
15546 ".def")
15547 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15549 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15550 ".type @function")
15551 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15553 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15554 ".type 2")
15555 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15557 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15559 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15561 asm_func_header="" ;;
15562 esac
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15565 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15566 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15567 $as_echo_n "(cached) " >&6
15568 else
15569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15570 /* end confdefs.h. */
15571 asm(".text\n\t.long 0");
15573 main ()
15577 return 0;
15579 _ACEOF
15580 if ac_fn_c_try_compile "$LINENO"; then :
15581 ac_cv_c_asm_outside_funcs="yes"
15582 else
15583 ac_cv_c_asm_outside_funcs="no"
15585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15588 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15591 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15592 if ${ac_cv_c_dot_previous+:} false; then :
15593 $as_echo_n "(cached) " >&6
15594 else
15595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15599 main ()
15601 asm(".text\nac_test:\t.long 0\n\t.previous");
15603 return 0;
15605 _ACEOF
15606 if ac_fn_c_try_link "$LINENO"; then :
15607 ac_cv_c_dot_previous="yes"
15608 else
15609 ac_cv_c_dot_previous="no"
15611 rm -f core conftest.err conftest.$ac_objext \
15612 conftest$ac_exeext conftest.$ac_ext
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15615 $as_echo "$ac_cv_c_dot_previous" >&6; }
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15618 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15619 if ${ac_cv_c_cfi_support+:} false; then :
15620 $as_echo_n "(cached) " >&6
15621 else
15622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15623 /* end confdefs.h. */
15624 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15626 main ()
15630 return 0;
15632 _ACEOF
15633 if ac_fn_c_try_compile "$LINENO"; then :
15634 ac_cv_c_cfi_support="yes"
15635 else
15636 ac_cv_c_cfi_support="no"
15638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15641 $as_echo "$ac_cv_c_cfi_support" >&6; }
15643 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15644 asm_func_trailer=""
15645 if test "$ac_cv_c_dot_previous" = "yes"
15646 then
15647 asm_func_trailer="\\n\\t.previous"
15649 if test "$ac_cv_c_cfi_support" = "yes"
15650 then
15651 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15652 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15654 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15656 UNWINDFLAGS=-fasynchronous-unwind-tables
15658 else
15659 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15661 if test "x$enable_win64" = "xyes"
15662 then
15663 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15667 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15670 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15671 then
15672 cat >>confdefs.h <<_ACEOF
15673 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15674 _ACEOF
15676 else
15677 cat >>confdefs.h <<_ACEOF
15678 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15679 _ACEOF
15683 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15686 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15690 case $build_os in
15691 cygwin*|mingw32*) TOOLSEXT=".exe"
15693 esac
15695 case $host_os in
15696 linux*)
15697 case $host_cpu in
15698 *i[3456789]86*|x86_64*|*aarch64*)
15699 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15700 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15702 esac
15704 esac
15707 ac_save_CFLAGS="$CFLAGS"
15708 CFLAGS="$CFLAGS $BUILTINFLAG"
15709 for ac_func in \
15710 __res_get_state \
15711 __res_getservers \
15712 _finite \
15713 _isnan \
15714 _pclose \
15715 _popen \
15716 _snprintf \
15717 _spawnvp \
15718 _strdup \
15719 _stricmp \
15720 _strnicmp \
15721 _strtoi64 \
15722 _strtoui64 \
15723 _vsnprintf \
15724 asctime_r \
15725 chsize \
15726 dlopen \
15727 epoll_create \
15728 ffs \
15729 finitef \
15730 fnmatch \
15731 fork \
15732 fpclass \
15733 fstatfs \
15734 fstatvfs \
15735 ftruncate \
15736 futimens \
15737 futimes \
15738 futimesat \
15739 getattrlist \
15740 getauxval \
15741 getifaddrs \
15742 getopt_long_only \
15743 getpwuid \
15744 gettimeofday \
15745 getuid \
15746 isnanf \
15747 kqueue \
15748 lstat \
15749 memmove \
15750 mmap \
15751 pclose \
15752 pipe2 \
15753 poll \
15754 popen \
15755 port_create \
15756 prctl \
15757 pread \
15758 proc_pidinfo \
15759 pwrite \
15760 readdir \
15761 readlink \
15762 sched_yield \
15763 select \
15764 setproctitle \
15765 setprogname \
15766 setrlimit \
15767 settimeofday \
15768 sigaltstack \
15769 sigprocmask \
15770 snprintf \
15771 statfs \
15772 statvfs \
15773 strcasecmp \
15774 strdup \
15775 strerror \
15776 strncasecmp \
15777 strnlen \
15778 strtold \
15779 strtoll \
15780 strtoull \
15781 symlink \
15782 sysinfo \
15783 tcdrain \
15784 thr_kill2 \
15785 timegm \
15786 usleep \
15787 vsnprintf
15789 do :
15790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15792 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15793 cat >>confdefs.h <<_ACEOF
15794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15795 _ACEOF
15798 done
15800 CFLAGS="$ac_save_CFLAGS"
15802 if test "$ac_cv_func_dlopen" = no
15803 then
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15805 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15806 if ${ac_cv_lib_dl_dlopen+:} false; then :
15807 $as_echo_n "(cached) " >&6
15808 else
15809 ac_check_lib_save_LIBS=$LIBS
15810 LIBS="-ldl $LIBS"
15811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15812 /* end confdefs.h. */
15814 /* Override any GCC internal prototype to avoid an error.
15815 Use char because int might match the return type of a GCC
15816 builtin and then its argument prototype would still apply. */
15817 #ifdef __cplusplus
15818 extern "C"
15819 #endif
15820 char dlopen ();
15822 main ()
15824 return dlopen ();
15826 return 0;
15828 _ACEOF
15829 if ac_fn_c_try_link "$LINENO"; then :
15830 ac_cv_lib_dl_dlopen=yes
15831 else
15832 ac_cv_lib_dl_dlopen=no
15834 rm -f core conftest.err conftest.$ac_objext \
15835 conftest$ac_exeext conftest.$ac_ext
15836 LIBS=$ac_check_lib_save_LIBS
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15839 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15840 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15841 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15842 DL_LIBS="-ldl"
15847 ac_wine_check_funcs_save_LIBS="$LIBS"
15848 LIBS="$LIBS $DL_LIBS"
15849 for ac_func in dladdr
15850 do :
15851 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15852 if test "x$ac_cv_func_dladdr" = xyes; then :
15853 cat >>confdefs.h <<_ACEOF
15854 #define HAVE_DLADDR 1
15855 _ACEOF
15858 done
15860 LIBS="$ac_wine_check_funcs_save_LIBS"
15862 if test "$ac_cv_func_poll" = no
15863 then
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15865 $as_echo_n "checking for poll in -lpoll... " >&6; }
15866 if ${ac_cv_lib_poll_poll+:} false; then :
15867 $as_echo_n "(cached) " >&6
15868 else
15869 ac_check_lib_save_LIBS=$LIBS
15870 LIBS="-lpoll $LIBS"
15871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15872 /* end confdefs.h. */
15874 /* Override any GCC internal prototype to avoid an error.
15875 Use char because int might match the return type of a GCC
15876 builtin and then its argument prototype would still apply. */
15877 #ifdef __cplusplus
15878 extern "C"
15879 #endif
15880 char poll ();
15882 main ()
15884 return poll ();
15886 return 0;
15888 _ACEOF
15889 if ac_fn_c_try_link "$LINENO"; then :
15890 ac_cv_lib_poll_poll=yes
15891 else
15892 ac_cv_lib_poll_poll=no
15894 rm -f core conftest.err conftest.$ac_objext \
15895 conftest$ac_exeext conftest.$ac_ext
15896 LIBS=$ac_check_lib_save_LIBS
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15899 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15900 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15901 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15902 POLL_LIBS="-lpoll"
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15909 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15910 if ${ac_cv_search_gethostbyname+:} false; then :
15911 $as_echo_n "(cached) " >&6
15912 else
15913 ac_func_search_save_LIBS=$LIBS
15914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15915 /* end confdefs.h. */
15917 /* Override any GCC internal prototype to avoid an error.
15918 Use char because int might match the return type of a GCC
15919 builtin and then its argument prototype would still apply. */
15920 #ifdef __cplusplus
15921 extern "C"
15922 #endif
15923 char gethostbyname ();
15925 main ()
15927 return gethostbyname ();
15929 return 0;
15931 _ACEOF
15932 for ac_lib in '' nsl; do
15933 if test -z "$ac_lib"; then
15934 ac_res="none required"
15935 else
15936 ac_res=-l$ac_lib
15937 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15939 if ac_fn_c_try_link "$LINENO"; then :
15940 ac_cv_search_gethostbyname=$ac_res
15942 rm -f core conftest.err conftest.$ac_objext \
15943 conftest$ac_exeext
15944 if ${ac_cv_search_gethostbyname+:} false; then :
15945 break
15947 done
15948 if ${ac_cv_search_gethostbyname+:} false; then :
15950 else
15951 ac_cv_search_gethostbyname=no
15953 rm conftest.$ac_ext
15954 LIBS=$ac_func_search_save_LIBS
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15957 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15958 ac_res=$ac_cv_search_gethostbyname
15959 if test "$ac_res" != no; then :
15960 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15966 $as_echo_n "checking for library containing connect... " >&6; }
15967 if ${ac_cv_search_connect+:} false; then :
15968 $as_echo_n "(cached) " >&6
15969 else
15970 ac_func_search_save_LIBS=$LIBS
15971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15972 /* end confdefs.h. */
15974 /* Override any GCC internal prototype to avoid an error.
15975 Use char because int might match the return type of a GCC
15976 builtin and then its argument prototype would still apply. */
15977 #ifdef __cplusplus
15978 extern "C"
15979 #endif
15980 char connect ();
15982 main ()
15984 return connect ();
15986 return 0;
15988 _ACEOF
15989 for ac_lib in '' socket; do
15990 if test -z "$ac_lib"; then
15991 ac_res="none required"
15992 else
15993 ac_res=-l$ac_lib
15994 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15996 if ac_fn_c_try_link "$LINENO"; then :
15997 ac_cv_search_connect=$ac_res
15999 rm -f core conftest.err conftest.$ac_objext \
16000 conftest$ac_exeext
16001 if ${ac_cv_search_connect+:} false; then :
16002 break
16004 done
16005 if ${ac_cv_search_connect+:} false; then :
16007 else
16008 ac_cv_search_connect=no
16010 rm conftest.$ac_ext
16011 LIBS=$ac_func_search_save_LIBS
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16014 $as_echo "$ac_cv_search_connect" >&6; }
16015 ac_res=$ac_cv_search_connect
16016 if test "$ac_res" != no; then :
16017 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16023 $as_echo_n "checking for library containing inet_aton... " >&6; }
16024 if ${ac_cv_search_inet_aton+:} false; then :
16025 $as_echo_n "(cached) " >&6
16026 else
16027 ac_func_search_save_LIBS=$LIBS
16028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16029 /* end confdefs.h. */
16031 /* Override any GCC internal prototype to avoid an error.
16032 Use char because int might match the return type of a GCC
16033 builtin and then its argument prototype would still apply. */
16034 #ifdef __cplusplus
16035 extern "C"
16036 #endif
16037 char inet_aton ();
16039 main ()
16041 return inet_aton ();
16043 return 0;
16045 _ACEOF
16046 for ac_lib in '' resolv; do
16047 if test -z "$ac_lib"; then
16048 ac_res="none required"
16049 else
16050 ac_res=-l$ac_lib
16051 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16053 if ac_fn_c_try_link "$LINENO"; then :
16054 ac_cv_search_inet_aton=$ac_res
16056 rm -f core conftest.err conftest.$ac_objext \
16057 conftest$ac_exeext
16058 if ${ac_cv_search_inet_aton+:} false; then :
16059 break
16061 done
16062 if ${ac_cv_search_inet_aton+:} false; then :
16064 else
16065 ac_cv_search_inet_aton=no
16067 rm conftest.$ac_ext
16068 LIBS=$ac_func_search_save_LIBS
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16071 $as_echo "$ac_cv_search_inet_aton" >&6; }
16072 ac_res=$ac_cv_search_inet_aton
16073 if test "$ac_res" != no; then :
16074 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16079 for ac_func in \
16080 getaddrinfo \
16081 getnameinfo \
16082 getnetbyname \
16083 getprotobyname \
16084 getprotobynumber \
16085 getservbyport \
16086 inet_addr \
16087 inet_network \
16088 inet_ntop \
16089 inet_pton \
16090 sendmsg \
16091 socketpair \
16093 do :
16094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16096 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16097 cat >>confdefs.h <<_ACEOF
16098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16099 _ACEOF
16102 done
16105 ac_save_LIBS=$LIBS
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16107 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16108 if ${ac_cv_search_clock_gettime+:} false; then :
16109 $as_echo_n "(cached) " >&6
16110 else
16111 ac_func_search_save_LIBS=$LIBS
16112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16113 /* end confdefs.h. */
16115 /* Override any GCC internal prototype to avoid an error.
16116 Use char because int might match the return type of a GCC
16117 builtin and then its argument prototype would still apply. */
16118 #ifdef __cplusplus
16119 extern "C"
16120 #endif
16121 char clock_gettime ();
16123 main ()
16125 return clock_gettime ();
16127 return 0;
16129 _ACEOF
16130 for ac_lib in '' rt; do
16131 if test -z "$ac_lib"; then
16132 ac_res="none required"
16133 else
16134 ac_res=-l$ac_lib
16135 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16137 if ac_fn_c_try_link "$LINENO"; then :
16138 ac_cv_search_clock_gettime=$ac_res
16140 rm -f core conftest.err conftest.$ac_objext \
16141 conftest$ac_exeext
16142 if ${ac_cv_search_clock_gettime+:} false; then :
16143 break
16145 done
16146 if ${ac_cv_search_clock_gettime+:} false; then :
16148 else
16149 ac_cv_search_clock_gettime=no
16151 rm conftest.$ac_ext
16152 LIBS=$ac_func_search_save_LIBS
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16155 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16156 ac_res=$ac_cv_search_clock_gettime
16157 if test "$ac_res" != no; then :
16158 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16160 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16162 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16166 LIBS=$ac_save_LIBS
16168 if test "x$with_ldap" != "xno"
16169 then
16170 if ${LDAP_CFLAGS:+false} :; then :
16171 if ${PKG_CONFIG+:} false; then :
16172 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16176 if ${LDAP_LIBS:+false} :; then :
16177 if ${PKG_CONFIG+:} false; then :
16178 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16182 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16183 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16184 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16185 ac_save_CPPFLAGS=$CPPFLAGS
16186 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16187 for ac_header in ldap.h lber.h
16188 do :
16189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16190 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16191 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16192 cat >>confdefs.h <<_ACEOF
16193 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16194 _ACEOF
16198 done
16200 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16201 then
16202 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16204 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16206 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16207 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16208 $as_echo_n "(cached) " >&6
16209 else
16210 ac_check_lib_save_LIBS=$LIBS
16211 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16213 /* end confdefs.h. */
16215 /* Override any GCC internal prototype to avoid an error.
16216 Use char because int might match the return type of a GCC
16217 builtin and then its argument prototype would still apply. */
16218 #ifdef __cplusplus
16219 extern "C"
16220 #endif
16221 char ldap_initialize ();
16223 main ()
16225 return ldap_initialize ();
16227 return 0;
16229 _ACEOF
16230 if ac_fn_c_try_link "$LINENO"; then :
16231 ac_cv_lib_ldap_r_ldap_initialize=yes
16232 else
16233 ac_cv_lib_ldap_r_ldap_initialize=no
16235 rm -f core conftest.err conftest.$ac_objext \
16236 conftest$ac_exeext conftest.$ac_ext
16237 LIBS=$ac_check_lib_save_LIBS
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16240 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16241 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16243 $as_echo_n "checking for ber_init in -llber... " >&6; }
16244 if ${ac_cv_lib_lber_ber_init+:} false; then :
16245 $as_echo_n "(cached) " >&6
16246 else
16247 ac_check_lib_save_LIBS=$LIBS
16248 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16250 /* end confdefs.h. */
16252 /* Override any GCC internal prototype to avoid an error.
16253 Use char because int might match the return type of a GCC
16254 builtin and then its argument prototype would still apply. */
16255 #ifdef __cplusplus
16256 extern "C"
16257 #endif
16258 char ber_init ();
16260 main ()
16262 return ber_init ();
16264 return 0;
16266 _ACEOF
16267 if ac_fn_c_try_link "$LINENO"; then :
16268 ac_cv_lib_lber_ber_init=yes
16269 else
16270 ac_cv_lib_lber_ber_init=no
16272 rm -f core conftest.err conftest.$ac_objext \
16273 conftest$ac_exeext conftest.$ac_ext
16274 LIBS=$ac_check_lib_save_LIBS
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16277 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16278 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16280 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16282 else
16283 LDAP_LIBS=""
16286 else
16287 LDAP_LIBS=""
16290 else
16291 LDAP_LIBS=""
16294 ac_wine_check_funcs_save_LIBS="$LIBS"
16295 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16296 for ac_func in \
16297 ldap_count_references \
16298 ldap_first_reference \
16299 ldap_next_reference \
16300 ldap_parse_reference \
16301 ldap_parse_sort_control \
16302 ldap_parse_sortresponse_control \
16303 ldap_parse_vlv_control \
16304 ldap_parse_vlvresponse_control
16305 do :
16306 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16307 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16308 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16309 cat >>confdefs.h <<_ACEOF
16310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16311 _ACEOF
16314 done
16316 LIBS="$ac_wine_check_funcs_save_LIBS"
16317 else
16318 LDAP_LIBS=""
16320 CPPFLAGS=$ac_save_CPPFLAGS
16321 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16322 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16325 if test "x$LDAP_LIBS" = "x"; then :
16326 case "x$with_ldap" in
16327 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16328 xno) ;;
16329 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16330 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16331 esac
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16336 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16337 if ${wine_cv_one_arg_mkdir+:} false; then :
16338 $as_echo_n "(cached) " >&6
16339 else
16340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16341 /* end confdefs.h. */
16342 #include <sys/stat.h>
16344 main ()
16346 mkdir("foo");
16348 return 0;
16350 _ACEOF
16351 if ac_fn_c_try_compile "$LINENO"; then :
16352 wine_cv_one_arg_mkdir=yes
16353 else
16354 wine_cv_one_arg_mkdir=no
16356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16359 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16360 if test "$wine_cv_one_arg_mkdir" = "yes"
16361 then
16363 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16368 $as_echo_n "checking for sched_setaffinity... " >&6; }
16369 if ${wine_cv_have_sched_setaffinity+:} false; then :
16370 $as_echo_n "(cached) " >&6
16371 else
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16374 #define _GNU_SOURCE
16375 #include <sched.h>
16377 main ()
16379 sched_setaffinity(0, 0, 0);
16381 return 0;
16383 _ACEOF
16384 if ac_fn_c_try_link "$LINENO"; then :
16385 wine_cv_have_sched_setaffinity=yes
16386 else
16387 wine_cv_have_sched_setaffinity=no
16389 rm -f core conftest.err conftest.$ac_objext \
16390 conftest$ac_exeext conftest.$ac_ext
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16393 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16394 if test "$wine_cv_have_sched_setaffinity" = "yes"
16395 then
16397 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16402 $as_echo_n "checking for fallocate... " >&6; }
16403 if ${wine_cv_have_fallocate+:} 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 <fcntl.h>
16411 main ()
16413 fallocate(-1, 0, 0, 0);
16415 return 0;
16417 _ACEOF
16418 if ac_fn_c_try_link "$LINENO"; then :
16419 wine_cv_have_fallocate=yes
16420 else
16421 wine_cv_have_fallocate=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_fallocate" >&5
16427 $as_echo "$wine_cv_have_fallocate" >&6; }
16428 if test "$wine_cv_have_fallocate" = "yes"
16429 then
16431 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16437 $as_echo_n "checking for inline... " >&6; }
16438 if ${ac_cv_c_inline+:} false; then :
16439 $as_echo_n "(cached) " >&6
16440 else
16441 ac_cv_c_inline=no
16442 for ac_kw in inline __inline__ __inline; do
16443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16445 #ifndef __cplusplus
16446 typedef int foo_t;
16447 static $ac_kw foo_t static_foo () {return 0; }
16448 $ac_kw foo_t foo () {return 0; }
16449 #endif
16451 _ACEOF
16452 if ac_fn_c_try_compile "$LINENO"; then :
16453 ac_cv_c_inline=$ac_kw
16455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16456 test "$ac_cv_c_inline" != no && break
16457 done
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16461 $as_echo "$ac_cv_c_inline" >&6; }
16463 case $ac_cv_c_inline in
16464 inline | yes) ;;
16466 case $ac_cv_c_inline in
16467 no) ac_val=;;
16468 *) ac_val=$ac_cv_c_inline;;
16469 esac
16470 cat >>confdefs.h <<_ACEOF
16471 #ifndef __cplusplus
16472 #define inline $ac_val
16473 #endif
16474 _ACEOF
16476 esac
16478 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16479 if test "x$ac_cv_type_mode_t" = xyes; then :
16481 cat >>confdefs.h <<_ACEOF
16482 #define HAVE_MODE_T 1
16483 _ACEOF
16487 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16488 if test "x$ac_cv_type_off_t" = xyes; then :
16490 cat >>confdefs.h <<_ACEOF
16491 #define HAVE_OFF_T 1
16492 _ACEOF
16496 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16497 if test "x$ac_cv_type_pid_t" = xyes; then :
16499 cat >>confdefs.h <<_ACEOF
16500 #define HAVE_PID_T 1
16501 _ACEOF
16505 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16506 if test "x$ac_cv_type_size_t" = xyes; then :
16508 cat >>confdefs.h <<_ACEOF
16509 #define HAVE_SIZE_T 1
16510 _ACEOF
16514 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16515 if test "x$ac_cv_type_ssize_t" = xyes; then :
16517 cat >>confdefs.h <<_ACEOF
16518 #define HAVE_SSIZE_T 1
16519 _ACEOF
16523 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16524 if test "x$ac_cv_type_long_long" = xyes; then :
16526 cat >>confdefs.h <<_ACEOF
16527 #define HAVE_LONG_LONG 1
16528 _ACEOF
16532 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16533 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16535 cat >>confdefs.h <<_ACEOF
16536 #define HAVE_FSBLKCNT_T 1
16537 _ACEOF
16541 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16542 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16544 cat >>confdefs.h <<_ACEOF
16545 #define HAVE_FSFILCNT_T 1
16546 _ACEOF
16551 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16552 #include <signal.h>
16554 if test "x$ac_cv_type_sigset_t" = xyes; then :
16556 cat >>confdefs.h <<_ACEOF
16557 #define HAVE_SIGSET_T 1
16558 _ACEOF
16563 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16565 if test "x$ac_cv_type_request_sense" = xyes; then :
16567 cat >>confdefs.h <<_ACEOF
16568 #define HAVE_REQUEST_SENSE 1
16569 _ACEOF
16575 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16576 #ifdef HAVE_SYS_SOCKET_H
16577 #include <sys/socket.h>
16578 #endif
16579 #ifdef HAVE_SYS_SOCKETVAR_H
16580 #include <sys/socketvar.h>
16581 #endif
16582 #ifdef HAVE_NET_ROUTE_H
16583 #include <net/route.h>
16584 #endif
16585 #ifdef HAVE_NETINET_IN_H
16586 #include <netinet/in.h>
16587 #endif
16588 #ifdef HAVE_NETINET_IN_SYSTM_H
16589 #include <netinet/in_systm.h>
16590 #endif
16591 #ifdef HAVE_NETINET_IP_H
16592 #include <netinet/ip.h>
16593 #endif
16594 #ifdef HAVE_NETINET_IN_PCB_H
16595 #include <netinet/in_pcb.h>
16596 #endif
16598 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16600 cat >>confdefs.h <<_ACEOF
16601 #define HAVE_STRUCT_XINPGEN 1
16602 _ACEOF
16608 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16609 #include <link.h>
16610 #endif
16611 #ifdef HAVE_SYS_LINK_H
16612 #include <sys/link.h>
16613 #endif
16615 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16617 cat >>confdefs.h <<_ACEOF
16618 #define HAVE_STRUCT_R_DEBUG 1
16619 _ACEOF
16623 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16624 #include <link.h>
16625 #endif
16626 #ifdef HAVE_SYS_LINK_H
16627 #include <sys/link.h>
16628 #endif
16630 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16632 cat >>confdefs.h <<_ACEOF
16633 #define HAVE_STRUCT_LINK_MAP 1
16634 _ACEOF
16640 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16641 #include <linux/input.h>
16642 #endif
16644 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16646 cat >>confdefs.h <<_ACEOF
16647 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16648 _ACEOF
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16655 $as_echo_n "checking for if_nameindex... " >&6; }
16656 if ${wine_cv_have_if_nameindex+:} false; then :
16657 $as_echo_n "(cached) " >&6
16658 else
16659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16661 #ifdef HAVE_SYS_TYPES_H
16662 #include <sys/types.h>
16663 #endif
16664 #ifdef HAVE_SYS_SOCKET_H
16665 #include <sys/socket.h>
16666 #endif
16667 #ifdef HAVE_NET_IF_H
16668 # include <net/if.h>
16669 #endif
16671 main ()
16673 struct if_nameindex *p = if_nameindex(); return p->if_index;
16675 return 0;
16677 _ACEOF
16678 if ac_fn_c_try_link "$LINENO"; then :
16679 wine_cv_have_if_nameindex=yes
16680 else
16681 wine_cv_have_if_nameindex=no
16683 rm -f core conftest.err conftest.$ac_objext \
16684 conftest$ac_exeext conftest.$ac_ext
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16687 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16688 if test "$wine_cv_have_if_nameindex" = "yes"
16689 then
16691 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16696 $as_echo_n "checking for sigaddset... " >&6; }
16697 if ${wine_cv_have_sigaddset+:} false; then :
16698 $as_echo_n "(cached) " >&6
16699 else
16700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16701 /* end confdefs.h. */
16702 #include <signal.h>
16704 main ()
16706 sigset_t set; sigaddset(&set,SIGTERM);
16708 return 0;
16710 _ACEOF
16711 if ac_fn_c_try_link "$LINENO"; then :
16712 wine_cv_have_sigaddset=yes
16713 else
16714 wine_cv_have_sigaddset=no
16716 rm -f core conftest.err conftest.$ac_objext \
16717 conftest$ac_exeext conftest.$ac_ext
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16720 $as_echo "$wine_cv_have_sigaddset" >&6; }
16721 if test "$wine_cv_have_sigaddset" = "yes"
16722 then
16724 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16730 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16731 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16732 $as_echo_n "(cached) " >&6
16733 else
16734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16735 /* end confdefs.h. */
16736 #include <netdb.h>
16738 main ()
16741 char *name=0;
16742 struct hostent he;
16743 struct hostent *result;
16744 char *buf=0;
16745 int bufsize=0;
16746 int errnr;
16747 char *addr=0;
16748 int addrlen=0;
16749 int addrtype=0;
16750 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16751 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16754 return 0;
16756 _ACEOF
16757 if ac_fn_c_try_link "$LINENO"; then :
16758 wine_cv_linux_gethostbyname_r_6=yes
16759 else
16760 wine_cv_linux_gethostbyname_r_6=no
16763 rm -f core conftest.err conftest.$ac_objext \
16764 conftest$ac_exeext conftest.$ac_ext
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16768 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16769 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16770 then
16772 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16776 if test "$ac_cv_header_linux_joystick_h" = "yes"
16777 then
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16779 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16780 if ${wine_cv_linux_joystick_22_api+:} false; then :
16781 $as_echo_n "(cached) " >&6
16782 else
16783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h. */
16786 #include <sys/ioctl.h>
16787 #include <sys/types.h>
16788 #include <linux/joystick.h>
16790 struct js_event blub;
16791 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16792 #error "no 2.2 header"
16793 #endif
16796 main ()
16798 /*empty*/
16800 return 0;
16802 _ACEOF
16803 if ac_fn_c_try_compile "$LINENO"; then :
16804 wine_cv_linux_joystick_22_api=yes
16805 else
16806 wine_cv_linux_joystick_22_api=no
16808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16812 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16813 if test "$wine_cv_linux_joystick_22_api" = "yes"
16814 then
16816 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16822 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16823 #ifdef HAVE_SYS_PARAM_H
16824 # include <sys/param.h>
16825 #endif
16826 #ifdef HAVE_SYS_MOUNT_H
16827 # include <sys/mount.h>
16828 #endif
16829 #ifdef HAVE_SYS_VFS_H
16830 # include <sys/vfs.h>
16831 #endif
16832 #ifdef HAVE_SYS_STATFS_H
16833 # include <sys/statfs.h>
16834 #endif
16836 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16838 cat >>confdefs.h <<_ACEOF
16839 #define HAVE_STRUCT_STATFS_F_BFREE 1
16840 _ACEOF
16844 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16845 #ifdef HAVE_SYS_PARAM_H
16846 # include <sys/param.h>
16847 #endif
16848 #ifdef HAVE_SYS_MOUNT_H
16849 # include <sys/mount.h>
16850 #endif
16851 #ifdef HAVE_SYS_VFS_H
16852 # include <sys/vfs.h>
16853 #endif
16854 #ifdef HAVE_SYS_STATFS_H
16855 # include <sys/statfs.h>
16856 #endif
16858 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16860 cat >>confdefs.h <<_ACEOF
16861 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16862 _ACEOF
16866 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16867 #ifdef HAVE_SYS_PARAM_H
16868 # include <sys/param.h>
16869 #endif
16870 #ifdef HAVE_SYS_MOUNT_H
16871 # include <sys/mount.h>
16872 #endif
16873 #ifdef HAVE_SYS_VFS_H
16874 # include <sys/vfs.h>
16875 #endif
16876 #ifdef HAVE_SYS_STATFS_H
16877 # include <sys/statfs.h>
16878 #endif
16880 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16882 cat >>confdefs.h <<_ACEOF
16883 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16884 _ACEOF
16888 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16889 #ifdef HAVE_SYS_PARAM_H
16890 # include <sys/param.h>
16891 #endif
16892 #ifdef HAVE_SYS_MOUNT_H
16893 # include <sys/mount.h>
16894 #endif
16895 #ifdef HAVE_SYS_VFS_H
16896 # include <sys/vfs.h>
16897 #endif
16898 #ifdef HAVE_SYS_STATFS_H
16899 # include <sys/statfs.h>
16900 #endif
16902 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16904 cat >>confdefs.h <<_ACEOF
16905 #define HAVE_STRUCT_STATFS_F_FFREE 1
16906 _ACEOF
16910 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16911 #ifdef HAVE_SYS_PARAM_H
16912 # include <sys/param.h>
16913 #endif
16914 #ifdef HAVE_SYS_MOUNT_H
16915 # include <sys/mount.h>
16916 #endif
16917 #ifdef HAVE_SYS_VFS_H
16918 # include <sys/vfs.h>
16919 #endif
16920 #ifdef HAVE_SYS_STATFS_H
16921 # include <sys/statfs.h>
16922 #endif
16924 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16926 cat >>confdefs.h <<_ACEOF
16927 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16928 _ACEOF
16932 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16933 #ifdef HAVE_SYS_PARAM_H
16934 # include <sys/param.h>
16935 #endif
16936 #ifdef HAVE_SYS_MOUNT_H
16937 # include <sys/mount.h>
16938 #endif
16939 #ifdef HAVE_SYS_VFS_H
16940 # include <sys/vfs.h>
16941 #endif
16942 #ifdef HAVE_SYS_STATFS_H
16943 # include <sys/statfs.h>
16944 #endif
16946 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16948 cat >>confdefs.h <<_ACEOF
16949 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16950 _ACEOF
16956 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16957 #include <sys/statvfs.h>
16958 #endif
16960 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16962 cat >>confdefs.h <<_ACEOF
16963 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16964 _ACEOF
16970 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16971 #include <dirent.h>
16972 #endif
16974 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16976 cat >>confdefs.h <<_ACEOF
16977 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16978 _ACEOF
16984 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16985 #ifdef HAVE_SYS_SOCKET_H
16986 # include <sys/socket.h>
16987 #endif
16988 #ifdef HAVE_SYS_UN_H
16989 # include <sys/un.h>
16990 #endif
16992 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16994 cat >>confdefs.h <<_ACEOF
16995 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16996 _ACEOF
17000 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17001 #ifdef HAVE_SYS_SOCKET_H
17002 # include <sys/socket.h>
17003 #endif
17004 #ifdef HAVE_SYS_UN_H
17005 # include <sys/un.h>
17006 #endif
17008 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17010 cat >>confdefs.h <<_ACEOF
17011 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17012 _ACEOF
17016 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17017 #ifdef HAVE_SYS_SOCKET_H
17018 # include <sys/socket.h>
17019 #endif
17020 #ifdef HAVE_SYS_UN_H
17021 # include <sys/un.h>
17022 #endif
17024 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17026 cat >>confdefs.h <<_ACEOF
17027 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17028 _ACEOF
17034 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17035 #ifdef HAVE_SCSI_SG_H
17036 #include <scsi/sg.h>
17037 #endif
17039 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17041 cat >>confdefs.h <<_ACEOF
17042 #define HAVE_SCSIREQ_T_CMD 1
17043 _ACEOF
17047 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>
17048 #ifdef HAVE_SCSI_SG_H
17049 #include <scsi/sg.h>
17050 #endif
17052 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17054 cat >>confdefs.h <<_ACEOF
17055 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17056 _ACEOF
17062 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17064 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17066 cat >>confdefs.h <<_ACEOF
17067 #define HAVE_SIGINFO_T_SI_FD 1
17068 _ACEOF
17074 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17075 #ifdef HAVE_SYS_MTIO_H
17076 #include <sys/mtio.h>
17077 #endif
17079 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17081 cat >>confdefs.h <<_ACEOF
17082 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17083 _ACEOF
17087 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17088 #ifdef HAVE_SYS_MTIO_H
17089 #include <sys/mtio.h>
17090 #endif
17092 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17094 cat >>confdefs.h <<_ACEOF
17095 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17096 _ACEOF
17100 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17101 #ifdef HAVE_SYS_MTIO_H
17102 #include <sys/mtio.h>
17103 #endif
17105 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17107 cat >>confdefs.h <<_ACEOF
17108 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17109 _ACEOF
17115 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17116 #include <getopt.h>
17117 #endif
17119 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17121 cat >>confdefs.h <<_ACEOF
17122 #define HAVE_STRUCT_OPTION_NAME 1
17123 _ACEOF
17129 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17130 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17132 cat >>confdefs.h <<_ACEOF
17133 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17134 _ACEOF
17138 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17139 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17141 cat >>confdefs.h <<_ACEOF
17142 #define HAVE_STRUCT_STAT_ST_MTIM 1
17143 _ACEOF
17147 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17148 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17150 cat >>confdefs.h <<_ACEOF
17151 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17152 _ACEOF
17156 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17157 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17159 cat >>confdefs.h <<_ACEOF
17160 #define HAVE_STRUCT_STAT_ST_CTIM 1
17161 _ACEOF
17165 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17166 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17168 cat >>confdefs.h <<_ACEOF
17169 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17170 _ACEOF
17174 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17175 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17177 cat >>confdefs.h <<_ACEOF
17178 #define HAVE_STRUCT_STAT_ST_ATIM 1
17179 _ACEOF
17183 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17184 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17186 cat >>confdefs.h <<_ACEOF
17187 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17188 _ACEOF
17192 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17193 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17195 cat >>confdefs.h <<_ACEOF
17196 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17197 _ACEOF
17201 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17202 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17204 cat >>confdefs.h <<_ACEOF
17205 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17206 _ACEOF
17210 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17211 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17213 cat >>confdefs.h <<_ACEOF
17214 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17215 _ACEOF
17219 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17220 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17222 cat >>confdefs.h <<_ACEOF
17223 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17224 _ACEOF
17228 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17229 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17231 cat >>confdefs.h <<_ACEOF
17232 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17233 _ACEOF
17239 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
17240 #include <sys/types.h>
17241 #endif
17242 #ifdef HAVE_NETINET_IN_H
17243 #include <netinet/in.h>
17244 #endif
17246 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17248 cat >>confdefs.h <<_ACEOF
17249 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17250 _ACEOF
17256 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17257 #include <sys/types.h>
17258 #endif
17259 #ifdef HAVE_NETINET_IN_H
17260 #include <netinet/in.h>
17261 #endif
17262 #ifdef HAVE_RESOLV_H
17263 #include <resolv.h>
17264 #endif
17266 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17268 cat >>confdefs.h <<_ACEOF
17269 #define HAVE_STRUCT___RES_STATE 1
17270 _ACEOF
17276 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
17277 #include <resolv.h>
17278 #endif
17280 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17282 cat >>confdefs.h <<_ACEOF
17283 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17284 _ACEOF
17290 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#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_ARPA_NAMESER_H
17297 # include <arpa/nameser.h>
17298 #endif
17300 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17302 cat >>confdefs.h <<_ACEOF
17303 #define HAVE_NS_MSG__MSG_PTR 1
17304 _ACEOF
17310 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17311 #include <sys/types.h>
17312 #endif
17313 #ifdef HAVE_NETINET_IN_H
17314 #include <netinet/in.h>
17315 #endif
17316 #ifdef HAVE_NETINET_IP_H
17317 #include <netinet/ip.h>
17318 #endif
17319 #ifdef HAVE_NETINET_IP_ICMP_H
17320 #include <netinet/ip_icmp.h>
17321 #endif
17322 #ifdef HAVE_NETINET_ICMP_VAR_H
17323 #include <netinet/icmp_var.h>
17324 #endif
17326 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17328 cat >>confdefs.h <<_ACEOF
17329 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17330 _ACEOF
17336 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17337 #include <sys/types.h>
17338 #endif
17339 #ifdef HAVE_ALIAS_H
17340 #include <alias.h>
17341 #endif
17342 #ifdef HAVE_SYS_SOCKET_H
17343 #include <sys/socket.h>
17344 #endif
17345 #ifdef HAVE_SYS_SOCKETVAR_H
17346 #include <sys/socketvar.h>
17347 #endif
17348 #ifdef HAVE_SYS_TIMEOUT_H
17349 #include <sys/timeout.h>
17350 #endif
17351 #ifdef HAVE_NETINET_IN_H
17352 #include <netinet/in.h>
17353 #endif
17354 #ifdef HAVE_NETINET_IN_SYSTM_H
17355 #include <netinet/in_systm.h>
17356 #endif
17357 #ifdef HAVE_NETINET_IP_H
17358 #include <netinet/ip.h>
17359 #endif
17360 #ifdef HAVE_NETINET_IP_VAR_H
17361 #include <netinet/ip_var.h>
17362 #endif
17363 #ifdef HAVE_NETINET_IP_ICMP_H
17364 #include <netinet/ip_icmp.h>
17365 #endif
17366 #ifdef HAVE_NETINET_ICMP_VAR_H
17367 #include <netinet/icmp_var.h>
17368 #endif
17370 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17372 cat >>confdefs.h <<_ACEOF
17373 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17374 _ACEOF
17380 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17381 #include <sys/types.h>
17382 #endif
17383 #ifdef HAVE_SYS_SOCKETVAR_H
17384 #include <sys/socketvar.h>
17385 #endif
17386 #ifdef HAVE_NETINET_IN_H
17387 #include <netinet/in.h>
17388 #endif
17389 #ifdef HAVE_NETINET_IP_VAR_H
17390 #include <netinet/ip_var.h>
17391 #endif
17393 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17395 cat >>confdefs.h <<_ACEOF
17396 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17397 _ACEOF
17403 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
17404 #include <netinet/ip_var.h>
17405 #endif
17407 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17409 cat >>confdefs.h <<_ACEOF
17410 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17411 _ACEOF
17417 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17418 #include <sys/types.h>
17419 #endif
17420 #ifdef HAVE_SYS_SOCKETVAR_H
17421 #include <sys/socketvar.h>
17422 #endif
17423 #ifdef HAVE_NETINET_IN_H
17424 #include <netinet/in.h>
17425 #endif
17426 #ifdef HAVE_NETINET_TCP_H
17427 #include <netinet/tcp.h>
17428 #endif
17429 #ifdef HAVE_NETINET_TCP_VAR_H
17430 #include <netinet/tcp_var.h>
17431 #endif
17433 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17435 cat >>confdefs.h <<_ACEOF
17436 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17437 _ACEOF
17443 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
17444 #include <netinet/tcp_var.h>
17445 #endif
17447 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17449 cat >>confdefs.h <<_ACEOF
17450 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17451 _ACEOF
17457 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17458 #include <sys/types.h>
17459 #endif
17460 #ifdef HAVE_NETINET_IN_H
17461 #include <netinet/in.h>
17462 #endif
17463 #ifdef HAVE_NETINET_IP_VAR_H
17464 #include <netinet/ip_var.h>
17465 #endif
17466 #ifdef HAVE_NETINET_UDP_H
17467 #include <netinet/udp.h>
17468 #endif
17469 #ifdef HAVE_NETINET_UDP_VAR_H
17470 #include <netinet/udp_var.h>
17471 #endif
17473 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17475 cat >>confdefs.h <<_ACEOF
17476 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17477 _ACEOF
17483 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17484 #include <sys/types.h>
17485 #endif
17486 #ifdef HAVE_NET_IF_H
17487 # include <net/if.h>
17488 #endif
17490 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17492 cat >>confdefs.h <<_ACEOF
17493 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17494 _ACEOF
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17501 $as_echo_n "checking for timezone variable... " >&6; }
17502 if ${ac_cv_have_timezone+:} false; then :
17503 $as_echo_n "(cached) " >&6
17504 else
17505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h. */
17507 #include <time.h>
17509 main ()
17511 timezone = 1
17513 return 0;
17515 _ACEOF
17516 if ac_fn_c_try_link "$LINENO"; then :
17517 ac_cv_have_timezone="yes"
17518 else
17519 ac_cv_have_timezone="no"
17521 rm -f core conftest.err conftest.$ac_objext \
17522 conftest$ac_exeext conftest.$ac_ext
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17525 $as_echo "$ac_cv_have_timezone" >&6; }
17526 if test "$ac_cv_have_timezone" = "yes"
17527 then
17529 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17533 $as_echo_n "checking for daylight variable... " >&6; }
17534 if ${ac_cv_have_daylight+:} false; then :
17535 $as_echo_n "(cached) " >&6
17536 else
17537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17538 /* end confdefs.h. */
17539 #include <time.h>
17541 main ()
17543 daylight = 1
17545 return 0;
17547 _ACEOF
17548 if ac_fn_c_try_link "$LINENO"; then :
17549 ac_cv_have_daylight="yes"
17550 else
17551 ac_cv_have_daylight="no"
17553 rm -f core conftest.err conftest.$ac_objext \
17554 conftest$ac_exeext conftest.$ac_ext
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17557 $as_echo "$ac_cv_have_daylight" >&6; }
17558 if test "$ac_cv_have_daylight" = "yes"
17559 then
17561 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17565 ac_save_LIBS="$LIBS"
17566 LIBS="$LIBS -lm"
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17568 $as_echo_n "checking for isfinite... " >&6; }
17569 if ${ac_cv_have_isfinite+:} false; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17574 #define _GNU_SOURCE
17575 #include <math.h>
17577 main ()
17579 float f = 0.0; return isfinite(f)
17581 return 0;
17583 _ACEOF
17584 if ac_fn_c_try_link "$LINENO"; then :
17585 ac_cv_have_isfinite="yes"
17586 else
17587 ac_cv_have_isfinite="no"
17589 rm -f core conftest.err conftest.$ac_objext \
17590 conftest$ac_exeext conftest.$ac_ext
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17593 $as_echo "$ac_cv_have_isfinite" >&6; }
17594 if test "$ac_cv_have_isfinite" = "yes"
17595 then
17597 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17602 $as_echo_n "checking for isinf... " >&6; }
17603 if ${ac_cv_have_isinf+:} false; then :
17604 $as_echo_n "(cached) " >&6
17605 else
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 #include <math.h>
17610 main ()
17612 float f = 0.0; return isinf(f)
17614 return 0;
17616 _ACEOF
17617 if ac_fn_c_try_link "$LINENO"; then :
17618 ac_cv_have_isinf="yes"
17619 else
17620 ac_cv_have_isinf="no"
17622 rm -f core conftest.err conftest.$ac_objext \
17623 conftest$ac_exeext conftest.$ac_ext
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17626 $as_echo "$ac_cv_have_isinf" >&6; }
17627 if test "$ac_cv_have_isinf" = "yes"
17628 then
17630 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17635 $as_echo_n "checking for isnan... " >&6; }
17636 if ${ac_cv_have_isnan+:} false; then :
17637 $as_echo_n "(cached) " >&6
17638 else
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #include <math.h>
17643 main ()
17645 float f = 0.0; return isnan(f)
17647 return 0;
17649 _ACEOF
17650 if ac_fn_c_try_link "$LINENO"; then :
17651 ac_cv_have_isnan="yes"
17652 else
17653 ac_cv_have_isnan="no"
17655 rm -f core conftest.err conftest.$ac_objext \
17656 conftest$ac_exeext conftest.$ac_ext
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17659 $as_echo "$ac_cv_have_isnan" >&6; }
17660 if test "$ac_cv_have_isnan" = "yes"
17661 then
17663 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17667 for ac_func in \
17668 acosh \
17669 acoshf \
17670 asinh \
17671 asinhf \
17672 atanh \
17673 atanhf \
17674 cbrt \
17675 cbrtf \
17676 erf \
17677 erfc \
17678 erfcf \
17679 erff \
17680 exp2 \
17681 exp2f \
17682 expm1 \
17683 expm1f \
17684 j0 \
17685 j1 \
17686 jn \
17687 lgamma \
17688 lgammaf \
17689 llrint \
17690 llrintf \
17691 llround \
17692 llroundf \
17693 log1p \
17694 log1pf \
17695 log2 \
17696 log2f \
17697 lrint \
17698 lrintf \
17699 lround \
17700 lroundf \
17701 nearbyint \
17702 nearbyintf \
17703 powl \
17704 remainder \
17705 remainderf \
17706 rint \
17707 rintf \
17708 round \
17709 roundf \
17710 trunc \
17711 truncf \
17712 y0 \
17713 y1 \
17716 do :
17717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17719 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17720 cat >>confdefs.h <<_ACEOF
17721 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17722 _ACEOF
17725 done
17727 LIBS="$ac_save_LIBS"
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17730 $as_echo_n "checking for __builtin_clz... " >&6; }
17731 if ${ac_cv_have___builtin_clz+:} false; then :
17732 $as_echo_n "(cached) " >&6
17733 else
17734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17735 /* end confdefs.h. */
17738 main ()
17740 return __builtin_clz(1)
17742 return 0;
17744 _ACEOF
17745 if ac_fn_c_try_link "$LINENO"; then :
17746 ac_cv_have___builtin_clz="yes"
17747 else
17748 ac_cv_have___builtin_clz="no"
17750 rm -f core conftest.err conftest.$ac_objext \
17751 conftest$ac_exeext conftest.$ac_ext
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17754 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17755 if test "$ac_cv_have___builtin_clz" = "yes"
17756 then
17758 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17763 $as_echo_n "checking for __builtin_popcount... " >&6; }
17764 if ${ac_cv_have___builtin_popcount+:} false; then :
17765 $as_echo_n "(cached) " >&6
17766 else
17767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17768 /* end confdefs.h. */
17771 main ()
17773 return __builtin_popcount(1)
17775 return 0;
17777 _ACEOF
17778 if ac_fn_c_try_link "$LINENO"; then :
17779 ac_cv_have___builtin_popcount="yes"
17780 else
17781 ac_cv_have___builtin_popcount="no"
17783 rm -f core conftest.err conftest.$ac_objext \
17784 conftest$ac_exeext conftest.$ac_ext
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17787 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17788 if test "$ac_cv_have___builtin_popcount" = "yes"
17789 then
17791 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17796 $as_echo_n "checking for __clear_cache... " >&6; }
17797 if ${ac_cv_have___clear_cache+:} false; then :
17798 $as_echo_n "(cached) " >&6
17799 else
17800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17804 main ()
17806 __clear_cache((void*)0, (void*)0); return 0;
17808 return 0;
17810 _ACEOF
17811 if ac_fn_c_try_link "$LINENO"; then :
17812 ac_cv_have___clear_cache="yes"
17813 else
17814 ac_cv_have___clear_cache="no"
17816 rm -f core conftest.err conftest.$ac_objext \
17817 conftest$ac_exeext conftest.$ac_ext
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17820 $as_echo "$ac_cv_have___clear_cache" >&6; }
17821 if test "$ac_cv_have___clear_cache" = "yes"
17822 then
17824 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17829 case $host_cpu in
17830 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17831 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17832 if ${ac_cv_cpp_def___i386__+:} false; then :
17833 $as_echo_n "(cached) " >&6
17834 else
17835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h. */
17837 #ifndef __i386__
17839 #endif
17840 _ACEOF
17841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17842 $EGREP "yes" >/dev/null 2>&1; then :
17843 ac_cv_cpp_def___i386__=yes
17844 else
17845 ac_cv_cpp_def___i386__=no
17847 rm -f conftest*
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17851 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17852 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17853 CFLAGS="$CFLAGS -D__i386__"
17854 LINTFLAGS="$LINTFLAGS -D__i386__"
17855 fi ;;
17856 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17857 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17858 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17859 $as_echo_n "(cached) " >&6
17860 else
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17863 #ifndef __x86_64__
17865 #endif
17866 _ACEOF
17867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17868 $EGREP "yes" >/dev/null 2>&1; then :
17869 ac_cv_cpp_def___x86_64__=yes
17870 else
17871 ac_cv_cpp_def___x86_64__=no
17873 rm -f conftest*
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17877 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17878 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17879 CFLAGS="$CFLAGS -D__x86_64__"
17880 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17881 fi ;;
17882 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17883 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17884 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17885 $as_echo_n "(cached) " >&6
17886 else
17887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17889 #ifndef __sparc64__
17891 #endif
17892 _ACEOF
17893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17894 $EGREP "yes" >/dev/null 2>&1; then :
17895 ac_cv_cpp_def___sparc64__=yes
17896 else
17897 ac_cv_cpp_def___sparc64__=no
17899 rm -f conftest*
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17903 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17904 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17905 CFLAGS="$CFLAGS -D__sparc64__"
17906 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17907 fi ;;
17908 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17909 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17910 if ${ac_cv_cpp_def___sparc__+:} false; then :
17911 $as_echo_n "(cached) " >&6
17912 else
17913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17914 /* end confdefs.h. */
17915 #ifndef __sparc__
17917 #endif
17918 _ACEOF
17919 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17920 $EGREP "yes" >/dev/null 2>&1; then :
17921 ac_cv_cpp_def___sparc__=yes
17922 else
17923 ac_cv_cpp_def___sparc__=no
17925 rm -f conftest*
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17929 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17930 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17931 CFLAGS="$CFLAGS -D__sparc__"
17932 LINTFLAGS="$LINTFLAGS -D__sparc__"
17933 fi ;;
17934 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17935 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17936 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17937 $as_echo_n "(cached) " >&6
17938 else
17939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17940 /* end confdefs.h. */
17941 #ifndef __powerpc64__
17943 #endif
17944 _ACEOF
17945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17946 $EGREP "yes" >/dev/null 2>&1; then :
17947 ac_cv_cpp_def___powerpc64__=yes
17948 else
17949 ac_cv_cpp_def___powerpc64__=no
17951 rm -f conftest*
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17955 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17956 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17957 CFLAGS="$CFLAGS -D__powerpc64__"
17958 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17959 fi ;;
17960 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17961 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17962 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17963 $as_echo_n "(cached) " >&6
17964 else
17965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17966 /* end confdefs.h. */
17967 #ifndef __powerpc__
17969 #endif
17970 _ACEOF
17971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17972 $EGREP "yes" >/dev/null 2>&1; then :
17973 ac_cv_cpp_def___powerpc__=yes
17974 else
17975 ac_cv_cpp_def___powerpc__=no
17977 rm -f conftest*
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17981 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17982 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17983 CFLAGS="$CFLAGS -D__powerpc__"
17984 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17985 fi ;;
17986 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17987 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17988 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17989 $as_echo_n "(cached) " >&6
17990 else
17991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17992 /* end confdefs.h. */
17993 #ifndef __aarch64__
17995 #endif
17996 _ACEOF
17997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17998 $EGREP "yes" >/dev/null 2>&1; then :
17999 ac_cv_cpp_def___aarch64__=yes
18000 else
18001 ac_cv_cpp_def___aarch64__=no
18003 rm -f conftest*
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18007 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18008 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18009 CFLAGS="$CFLAGS -D__aarch64__"
18010 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18011 fi ;;
18012 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18013 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18014 if ${ac_cv_cpp_def___arm__+:} false; then :
18015 $as_echo_n "(cached) " >&6
18016 else
18017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18018 /* end confdefs.h. */
18019 #ifndef __arm__
18021 #endif
18022 _ACEOF
18023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18024 $EGREP "yes" >/dev/null 2>&1; then :
18025 ac_cv_cpp_def___arm__=yes
18026 else
18027 ac_cv_cpp_def___arm__=no
18029 rm -f conftest*
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18033 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18034 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18035 CFLAGS="$CFLAGS -D__arm__"
18036 LINTFLAGS="$LINTFLAGS -D__arm__"
18037 fi ;;
18038 esac
18040 case $host_vendor in
18041 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18042 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18043 if ${ac_cv_cpp_def___sun__+:} false; then :
18044 $as_echo_n "(cached) " >&6
18045 else
18046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18047 /* end confdefs.h. */
18048 #ifndef __sun__
18050 #endif
18051 _ACEOF
18052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18053 $EGREP "yes" >/dev/null 2>&1; then :
18054 ac_cv_cpp_def___sun__=yes
18055 else
18056 ac_cv_cpp_def___sun__=no
18058 rm -f conftest*
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18062 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18063 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18064 CFLAGS="$CFLAGS -D__sun__"
18065 LINTFLAGS="$LINTFLAGS -D__sun__"
18066 fi ;;
18067 esac
18073 ac_config_commands="$ac_config_commands include/stamp-h"
18075 $as_echo_n "creating Makefile rules..." >&6
18077 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18078 SOCKET_LIBS = $SOCKET_LIBS
18079 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18080 IOKIT_LIBS = $IOKIT_LIBS
18081 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18082 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18083 CORESERVICES_LIBS = $CORESERVICES_LIBS
18084 APPKIT_LIBS = $APPKIT_LIBS
18085 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18086 SECURITY_LIBS = $SECURITY_LIBS
18087 COREAUDIO_LIBS = $COREAUDIO_LIBS
18088 OPENAL_LIBS = $OPENAL_LIBS
18089 OPENCL_LIBS = $OPENCL_LIBS
18090 QUICKTIME_LIBS = $QUICKTIME_LIBS
18091 CARBON_LIBS = $CARBON_LIBS
18092 PTHREAD_LIBS = $PTHREAD_LIBS
18093 X_CFLAGS = $X_CFLAGS
18094 X_PRE_LIBS = $X_PRE_LIBS
18095 X_LIBS = $X_LIBS
18096 X_EXTRA_LIBS = $X_EXTRA_LIBS
18097 PCAP_LIBS = $PCAP_LIBS
18098 XML2_CFLAGS = $XML2_CFLAGS
18099 XML2_LIBS = $XML2_LIBS
18100 XSLT_CFLAGS = $XSLT_CFLAGS
18101 XSLT_LIBS = $XSLT_LIBS
18102 DBUS_CFLAGS = $DBUS_CFLAGS
18103 DBUS_LIBS = $DBUS_LIBS
18104 HAL_CFLAGS = $HAL_CFLAGS
18105 HAL_LIBS = $HAL_LIBS
18106 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18107 GNUTLS_LIBS = $GNUTLS_LIBS
18108 SANE_CFLAGS = $SANE_CFLAGS
18109 SANE_LIBS = $SANE_LIBS
18110 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18111 GPHOTO2_LIBS = $GPHOTO2_LIBS
18112 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18113 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18114 RESOLV_LIBS = $RESOLV_LIBS
18115 LCMS2_CFLAGS = $LCMS2_CFLAGS
18116 LCMS2_LIBS = $LCMS2_LIBS
18117 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18118 FREETYPE_LIBS = $FREETYPE_LIBS
18119 Z_LIBS = $Z_LIBS
18120 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18121 PULSE_CFLAGS = $PULSE_CFLAGS
18122 PULSE_LIBS = $PULSE_LIBS
18123 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18124 GSTREAMER_LIBS = $GSTREAMER_LIBS
18125 ALSA_LIBS = $ALSA_LIBS
18126 OSS4_CFLAGS = $OSS4_CFLAGS
18127 UDEV_CFLAGS = $UDEV_CFLAGS
18128 UDEV_LIBS = $UDEV_LIBS
18129 SDL2_CFLAGS = $SDL2_CFLAGS
18130 SDL2_LIBS = $SDL2_LIBS
18131 CAPI20_CFLAGS = $CAPI20_CFLAGS
18132 CAPI20_LIBS = $CAPI20_LIBS
18133 CUPS_CFLAGS = $CUPS_CFLAGS
18134 CUPS_LIBS = $CUPS_LIBS
18135 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18136 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18137 KRB5_CFLAGS = $KRB5_CFLAGS
18138 KRB5_LIBS = $KRB5_LIBS
18139 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18140 GSSAPI_LIBS = $GSSAPI_LIBS
18141 JPEG_CFLAGS = $JPEG_CFLAGS
18142 JPEG_LIBS = $JPEG_LIBS
18143 PNG_CFLAGS = $PNG_CFLAGS
18144 PNG_LIBS = $PNG_LIBS
18145 TIFF_CFLAGS = $TIFF_CFLAGS
18146 TIFF_LIBS = $TIFF_LIBS
18147 MPG123_CFLAGS = $MPG123_CFLAGS
18148 MPG123_LIBS = $MPG123_LIBS
18149 KSTAT_LIBS = $KSTAT_LIBS
18150 PROCSTAT_LIBS = $PROCSTAT_LIBS
18151 NETAPI_CFLAGS = $NETAPI_CFLAGS
18152 NETAPI_LIBS = $NETAPI_LIBS
18153 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18154 DL_LIBS = $DL_LIBS
18155 POLL_LIBS = $POLL_LIBS
18156 RT_LIBS = $RT_LIBS
18157 LDAP_CFLAGS = $LDAP_CFLAGS
18158 LDAP_LIBS = $LDAP_LIBS
18163 wine_fn_append_rule "
18164 # Rules automatically generated by configure
18166 .INIT: Makefile
18167 .MAKEFILEDEPS:
18168 all: Makefile
18169 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18170 @./config.status Make.tmp Makefile
18171 depend: \$(MAKEDEP) dummy
18172 \$(MAKEDEP)"
18174 if test "x$enable_fonts" != xno; then
18175 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18176 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18177 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18178 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18179 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18180 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18182 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18183 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18184 ac_config_links="$ac_config_links wine:tools/winewrapper"
18185 wine_fn_config_symlink wine
18186 if test "x$enable_win64" != xno; then
18187 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18188 wine_fn_config_symlink wine64
18191 wine_fn_config_makefile dlls/acledit enable_acledit
18192 wine_fn_config_makefile dlls/aclui enable_aclui
18193 wine_fn_config_makefile dlls/activeds enable_activeds
18194 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18195 wine_fn_config_makefile dlls/adsiid enable_adsiid
18196 wine_fn_config_makefile dlls/adsldp enable_adsldp
18197 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18198 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18199 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18200 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18201 wine_fn_config_makefile dlls/advpack enable_advpack
18202 wine_fn_config_makefile dlls/advpack/tests enable_tests
18203 wine_fn_config_makefile dlls/amstream enable_amstream
18204 wine_fn_config_makefile dlls/amstream/tests enable_tests
18205 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18206 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18207 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18208 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18209 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18210 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18211 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18212 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18213 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18214 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18215 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18216 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18217 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18218 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18219 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18220 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18221 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18222 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18223 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18224 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18225 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18226 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18227 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18228 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18229 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18230 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18231 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18232 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18233 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18234 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18235 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18236 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18237 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18238 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18239 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18240 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18241 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18242 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18243 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18244 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18245 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18246 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18247 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18248 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18249 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18250 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18251 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18252 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18253 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18254 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18255 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18256 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18257 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18258 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18259 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18260 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18261 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18262 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18263 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18264 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18265 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18266 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18267 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18268 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18269 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18270 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18271 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18272 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18273 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18274 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18275 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18276 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18277 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18278 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18279 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18280 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18281 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18282 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18283 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18284 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18285 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18286 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18287 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18288 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18289 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18290 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18291 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18292 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18293 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18294 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18295 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18296 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18297 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18298 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18299 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18300 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18301 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18302 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18303 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18304 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18305 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18306 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18307 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18308 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18309 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18310 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18311 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18312 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18313 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18314 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18315 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18316 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18317 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18318 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18319 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18320 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18321 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18322 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18323 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18324 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18325 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18326 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18327 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18328 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18329 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18330 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18331 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18332 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18333 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18334 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18335 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18336 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18337 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18338 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18339 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18340 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18341 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18342 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18343 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18344 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18345 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18346 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18347 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18348 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18349 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18350 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18351 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18352 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18353 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18354 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18356 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18363 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18365 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18367 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18368 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18369 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18370 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18371 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18372 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18373 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18374 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18375 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18376 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18377 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18378 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18379 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18380 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18381 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18382 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18383 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18384 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18385 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18386 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18387 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18388 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18389 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18390 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18391 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18392 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18393 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18394 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18395 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18396 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18397 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18398 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18399 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18400 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18401 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18402 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18403 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18404 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18405 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18406 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18407 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18408 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18409 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18410 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18411 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18412 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18413 wine_fn_config_makefile dlls/apphelp enable_apphelp
18414 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18415 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18416 wine_fn_config_makefile dlls/atl enable_atl
18417 wine_fn_config_makefile dlls/atl/tests enable_tests
18418 wine_fn_config_makefile dlls/atl100 enable_atl100
18419 wine_fn_config_makefile dlls/atl100/tests enable_tests
18420 wine_fn_config_makefile dlls/atl110 enable_atl110
18421 wine_fn_config_makefile dlls/atl80 enable_atl80
18422 wine_fn_config_makefile dlls/atl80/tests enable_tests
18423 wine_fn_config_makefile dlls/atl90 enable_atl90
18424 wine_fn_config_makefile dlls/authz enable_authz
18425 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18426 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18427 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18428 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18429 wine_fn_config_makefile dlls/avrt enable_avrt
18430 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18431 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18432 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18433 wine_fn_config_makefile dlls/browseui enable_browseui
18434 wine_fn_config_makefile dlls/browseui/tests enable_tests
18435 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18436 wine_fn_config_makefile dlls/cabinet enable_cabinet
18437 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18438 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18439 wine_fn_config_makefile dlls/cards enable_cards
18440 wine_fn_config_makefile dlls/cdosys enable_cdosys
18441 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18442 wine_fn_config_makefile dlls/clusapi enable_clusapi
18443 wine_fn_config_makefile dlls/combase enable_combase
18444 wine_fn_config_makefile dlls/combase/tests enable_tests
18445 wine_fn_config_makefile dlls/comcat enable_comcat
18446 wine_fn_config_makefile dlls/comcat/tests enable_tests
18447 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18448 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18449 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18450 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18451 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18452 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18453 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18454 wine_fn_config_makefile dlls/compstui enable_compstui
18455 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18456 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18457 wine_fn_config_makefile dlls/connect enable_connect
18458 wine_fn_config_makefile dlls/credui enable_credui
18459 wine_fn_config_makefile dlls/credui/tests enable_tests
18460 wine_fn_config_makefile dlls/crtdll enable_crtdll
18461 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18462 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18463 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18464 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18465 wine_fn_config_makefile dlls/cryptext enable_cryptext
18466 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18467 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18468 wine_fn_config_makefile dlls/cryptui enable_cryptui
18469 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18470 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18471 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18472 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18473 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18474 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18475 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18476 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18477 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18478 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18479 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18480 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18481 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18482 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18483 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18484 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18485 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18486 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18487 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18488 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18489 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18490 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18491 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18492 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18493 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18494 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18495 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18496 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18497 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18498 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18499 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18500 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18501 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18502 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18503 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18504 wine_fn_config_makefile dlls/d3dim enable_d3dim
18505 wine_fn_config_makefile dlls/d3drm enable_d3drm
18506 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18507 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18508 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18509 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18510 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18511 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18512 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18513 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18514 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18515 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18516 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18517 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18518 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18519 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18520 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18521 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18522 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18523 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18524 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18525 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18526 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18527 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18528 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18529 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18530 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18531 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18532 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18533 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18534 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18535 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18536 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18537 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18538 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18539 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18540 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18541 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18542 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18543 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18544 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18545 wine_fn_config_makefile dlls/davclnt enable_davclnt
18546 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18547 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18548 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18549 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18550 wine_fn_config_makefile dlls/ddraw enable_ddraw
18551 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18552 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18553 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18554 wine_fn_config_makefile dlls/devenum enable_devenum
18555 wine_fn_config_makefile dlls/devenum/tests enable_tests
18556 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18557 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18558 wine_fn_config_makefile dlls/difxapi enable_difxapi
18559 wine_fn_config_makefile dlls/dinput enable_dinput
18560 wine_fn_config_makefile dlls/dinput/tests enable_tests
18561 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18562 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18563 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18564 wine_fn_config_makefile dlls/dispex enable_dispex
18565 wine_fn_config_makefile dlls/dispex/tests enable_tests
18566 wine_fn_config_makefile dlls/display.drv16 enable_win16
18567 wine_fn_config_makefile dlls/dmband enable_dmband
18568 wine_fn_config_makefile dlls/dmband/tests enable_tests
18569 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18570 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18571 wine_fn_config_makefile dlls/dmime enable_dmime
18572 wine_fn_config_makefile dlls/dmime/tests enable_tests
18573 wine_fn_config_makefile dlls/dmloader enable_dmloader
18574 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18575 wine_fn_config_makefile dlls/dmscript enable_dmscript
18576 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18577 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18578 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18579 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18580 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18581 wine_fn_config_makefile dlls/dmusic enable_dmusic
18582 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18583 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18584 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18585 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18586 wine_fn_config_makefile dlls/dplay enable_dplay
18587 wine_fn_config_makefile dlls/dplayx enable_dplayx
18588 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18589 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18590 wine_fn_config_makefile dlls/dpnet enable_dpnet
18591 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18592 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18593 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18594 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18595 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18596 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18597 wine_fn_config_makefile dlls/drmclien enable_drmclien
18598 wine_fn_config_makefile dlls/dsound enable_dsound
18599 wine_fn_config_makefile dlls/dsound/tests enable_tests
18600 wine_fn_config_makefile dlls/dsquery enable_dsquery
18601 wine_fn_config_makefile dlls/dssenh enable_dssenh
18602 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18603 wine_fn_config_makefile dlls/dswave enable_dswave
18604 wine_fn_config_makefile dlls/dswave/tests enable_tests
18605 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18606 wine_fn_config_makefile dlls/dwrite enable_dwrite
18607 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18608 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18609 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18610 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18611 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18612 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18613 wine_fn_config_makefile dlls/dxgi enable_dxgi
18614 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18615 wine_fn_config_makefile dlls/dxguid enable_dxguid
18616 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18617 wine_fn_config_makefile dlls/esent enable_esent
18618 wine_fn_config_makefile dlls/evr enable_evr
18619 wine_fn_config_makefile dlls/evr/tests enable_tests
18620 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18621 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18622 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18623 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18624 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
18625 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18626 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18627 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18628 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18629 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18630 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18631 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18632 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18633 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
18634 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
18635 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18636 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
18637 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18638 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18639 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
18640 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18641 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18642 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18643 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
18644 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18645 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18646 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18647 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
18648 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18649 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18650 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
18651 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
18652 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18653 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
18654 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
18655 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
18656 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18657 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18658 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18659 wine_fn_config_makefile dlls/faultrep enable_faultrep
18660 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18661 wine_fn_config_makefile dlls/fltlib enable_fltlib
18662 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18663 wine_fn_config_makefile dlls/fntcache enable_fntcache
18664 wine_fn_config_makefile dlls/fontsub enable_fontsub
18665 wine_fn_config_makefile dlls/fusion enable_fusion
18666 wine_fn_config_makefile dlls/fusion/tests enable_tests
18667 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18668 wine_fn_config_makefile dlls/gameux enable_gameux
18669 wine_fn_config_makefile dlls/gameux/tests enable_tests
18670 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18671 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18672 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18673 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18674 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18675 wine_fn_config_makefile dlls/glu32 enable_glu32
18676 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18677 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18678 wine_fn_config_makefile dlls/hal enable_hal
18679 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18680 wine_fn_config_makefile dlls/hid enable_hid
18681 wine_fn_config_makefile dlls/hid/tests enable_tests
18682 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18683 wine_fn_config_makefile dlls/hlink enable_hlink
18684 wine_fn_config_makefile dlls/hlink/tests enable_tests
18685 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18686 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18687 wine_fn_config_makefile dlls/httpapi enable_httpapi
18688 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18689 wine_fn_config_makefile dlls/iccvid enable_iccvid
18690 wine_fn_config_makefile dlls/icmp enable_icmp
18691 wine_fn_config_makefile dlls/ieframe enable_ieframe
18692 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18693 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18694 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18695 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18696 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18697 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18698 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18699 wine_fn_config_makefile dlls/imm32 enable_imm32
18700 wine_fn_config_makefile dlls/imm32/tests enable_tests
18701 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18702 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18703 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18704 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18705 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18706 wine_fn_config_makefile dlls/infosoft enable_infosoft
18707 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18708 wine_fn_config_makefile dlls/initpki enable_initpki
18709 wine_fn_config_makefile dlls/inkobj enable_inkobj
18710 wine_fn_config_makefile dlls/inseng enable_inseng
18711 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18712 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18713 wine_fn_config_makefile dlls/iprop enable_iprop
18714 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18715 wine_fn_config_makefile dlls/itircl enable_itircl
18716 wine_fn_config_makefile dlls/itss enable_itss
18717 wine_fn_config_makefile dlls/itss/tests enable_tests
18718 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18719 wine_fn_config_makefile dlls/jscript enable_jscript
18720 wine_fn_config_makefile dlls/jscript/tests enable_tests
18721 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18722 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18723 wine_fn_config_makefile dlls/kerberos enable_kerberos
18724 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18725 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18726 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18727 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18728 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18729 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18730 wine_fn_config_makefile dlls/ksuser enable_ksuser
18731 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18732 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18733 wine_fn_config_makefile dlls/loadperf enable_loadperf
18734 wine_fn_config_makefile dlls/localspl enable_localspl
18735 wine_fn_config_makefile dlls/localspl/tests enable_tests
18736 wine_fn_config_makefile dlls/localui enable_localui
18737 wine_fn_config_makefile dlls/localui/tests enable_tests
18738 wine_fn_config_makefile dlls/lz32 enable_lz32
18739 wine_fn_config_makefile dlls/lz32/tests enable_tests
18740 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18741 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18742 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18743 wine_fn_config_makefile dlls/mapistub enable_mapistub
18744 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18745 wine_fn_config_makefile dlls/mcicda enable_mcicda
18746 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18747 wine_fn_config_makefile dlls/mciseq enable_mciseq
18748 wine_fn_config_makefile dlls/mciwave enable_mciwave
18749 wine_fn_config_makefile dlls/mf enable_mf
18750 wine_fn_config_makefile dlls/mf/tests enable_tests
18751 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18752 wine_fn_config_makefile dlls/mfplat enable_mfplat
18753 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18754 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18755 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18756 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18757 wine_fn_config_makefile dlls/midimap enable_midimap
18758 wine_fn_config_makefile dlls/mlang enable_mlang
18759 wine_fn_config_makefile dlls/mlang/tests enable_tests
18760 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18761 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18762 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18763 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18764 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18765 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18766 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18767 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18768 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18769 wine_fn_config_makefile dlls/mpr enable_mpr
18770 wine_fn_config_makefile dlls/mpr/tests enable_tests
18771 wine_fn_config_makefile dlls/mprapi enable_mprapi
18772 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18773 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18774 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18775 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18776 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18777 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18778 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18779 wine_fn_config_makefile dlls/mscms enable_mscms
18780 wine_fn_config_makefile dlls/mscms/tests enable_tests
18781 wine_fn_config_makefile dlls/mscoree enable_mscoree
18782 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18783 wine_fn_config_makefile dlls/msctf enable_msctf
18784 wine_fn_config_makefile dlls/msctf/tests enable_tests
18785 wine_fn_config_makefile dlls/msctfp enable_msctfp
18786 wine_fn_config_makefile dlls/msdaps enable_msdaps
18787 wine_fn_config_makefile dlls/msdelta enable_msdelta
18788 wine_fn_config_makefile dlls/msdmo enable_msdmo
18789 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18790 wine_fn_config_makefile dlls/msdrm enable_msdrm
18791 wine_fn_config_makefile dlls/msftedit enable_msftedit
18792 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18793 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18794 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18795 wine_fn_config_makefile dlls/mshtml enable_mshtml
18796 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18797 wine_fn_config_makefile dlls/msi enable_msi
18798 wine_fn_config_makefile dlls/msi/tests enable_tests
18799 wine_fn_config_makefile dlls/msident enable_msident
18800 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18801 wine_fn_config_makefile dlls/msimsg enable_msimsg
18802 wine_fn_config_makefile dlls/msimtf enable_msimtf
18803 wine_fn_config_makefile dlls/msisip enable_msisip
18804 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18805 wine_fn_config_makefile dlls/msls31 enable_msls31
18806 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18807 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18808 wine_fn_config_makefile dlls/msports enable_msports
18809 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18810 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18811 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18812 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18813 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18814 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18815 wine_fn_config_makefile dlls/mstask enable_mstask
18816 wine_fn_config_makefile dlls/mstask/tests enable_tests
18817 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18818 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18819 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18820 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18821 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18822 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18823 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18824 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18825 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18826 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18827 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18828 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18829 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18830 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18831 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18832 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18833 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18834 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18835 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18836 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18837 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18838 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18839 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18840 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18841 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18842 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18843 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18844 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18845 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18846 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18847 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18848 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18849 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18850 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18851 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18852 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18853 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
18854 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
18855 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
18856 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
18857 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
18858 wine_fn_config_makefile dlls/mswsock enable_mswsock
18859 wine_fn_config_makefile dlls/msxml enable_msxml
18860 wine_fn_config_makefile dlls/msxml2 enable_msxml2
18861 wine_fn_config_makefile dlls/msxml3 enable_msxml3
18862 wine_fn_config_makefile dlls/msxml3/tests enable_tests
18863 wine_fn_config_makefile dlls/msxml4 enable_msxml4
18864 wine_fn_config_makefile dlls/msxml6 enable_msxml6
18865 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
18866 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
18867 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
18868 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
18869 wine_fn_config_makefile dlls/netapi32 enable_netapi32
18870 wine_fn_config_makefile dlls/netapi32/tests enable_tests
18871 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
18872 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
18873 wine_fn_config_makefile dlls/netprofm enable_netprofm
18874 wine_fn_config_makefile dlls/netprofm/tests enable_tests
18875 wine_fn_config_makefile dlls/newdev enable_newdev
18876 wine_fn_config_makefile dlls/ninput enable_ninput
18877 wine_fn_config_makefile dlls/normaliz enable_normaliz
18878 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
18879 wine_fn_config_makefile dlls/npptools enable_npptools
18880 wine_fn_config_makefile dlls/ntdll enable_ntdll
18881 wine_fn_config_makefile dlls/ntdll/tests enable_tests
18882 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
18883 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
18884 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
18885 wine_fn_config_makefile dlls/ntprint enable_ntprint
18886 wine_fn_config_makefile dlls/ntprint/tests enable_tests
18887 wine_fn_config_makefile dlls/objsel enable_objsel
18888 wine_fn_config_makefile dlls/odbc32 enable_odbc32
18889 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
18890 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
18891 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
18892 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
18893 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
18894 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
18895 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
18896 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
18897 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
18898 wine_fn_config_makefile dlls/ole32 enable_ole32
18899 wine_fn_config_makefile dlls/ole32/tests enable_tests
18900 wine_fn_config_makefile dlls/oleacc enable_oleacc
18901 wine_fn_config_makefile dlls/oleacc/tests enable_tests
18902 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
18903 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
18904 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
18905 wine_fn_config_makefile dlls/olecli32 enable_olecli32
18906 wine_fn_config_makefile dlls/oledb32 enable_oledb32
18907 wine_fn_config_makefile dlls/oledb32/tests enable_tests
18908 wine_fn_config_makefile dlls/oledlg enable_oledlg
18909 wine_fn_config_makefile dlls/oledlg/tests enable_tests
18910 wine_fn_config_makefile dlls/olepro32 enable_olepro32
18911 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
18912 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
18913 wine_fn_config_makefile dlls/olethk32 enable_olethk32
18914 wine_fn_config_makefile dlls/openal32 enable_openal32
18915 wine_fn_config_makefile dlls/opencl enable_opencl
18916 wine_fn_config_makefile dlls/opengl32 enable_opengl32
18917 wine_fn_config_makefile dlls/opengl32/tests enable_tests
18918 wine_fn_config_makefile dlls/packager enable_packager
18919 wine_fn_config_makefile dlls/packager/tests enable_tests
18920 wine_fn_config_makefile dlls/pdh enable_pdh
18921 wine_fn_config_makefile dlls/pdh/tests enable_tests
18922 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
18923 wine_fn_config_makefile dlls/pidgen enable_pidgen
18924 wine_fn_config_makefile dlls/powrprof enable_powrprof
18925 wine_fn_config_makefile dlls/printui enable_printui
18926 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
18927 wine_fn_config_makefile dlls/propsys enable_propsys
18928 wine_fn_config_makefile dlls/propsys/tests enable_tests
18929 wine_fn_config_makefile dlls/psapi enable_psapi
18930 wine_fn_config_makefile dlls/psapi/tests enable_tests
18931 wine_fn_config_makefile dlls/pstorec enable_pstorec
18932 wine_fn_config_makefile dlls/pstorec/tests enable_tests
18933 wine_fn_config_makefile dlls/qcap enable_qcap
18934 wine_fn_config_makefile dlls/qcap/tests enable_tests
18935 wine_fn_config_makefile dlls/qedit enable_qedit
18936 wine_fn_config_makefile dlls/qedit/tests enable_tests
18937 wine_fn_config_makefile dlls/qmgr enable_qmgr
18938 wine_fn_config_makefile dlls/qmgr/tests enable_tests
18939 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
18940 wine_fn_config_makefile dlls/quartz enable_quartz
18941 wine_fn_config_makefile dlls/quartz/tests enable_tests
18942 wine_fn_config_makefile dlls/query enable_query
18943 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
18944 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
18945 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
18946 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
18947 wine_fn_config_makefile dlls/regapi enable_regapi
18948 wine_fn_config_makefile dlls/resutils enable_resutils
18949 wine_fn_config_makefile dlls/riched20 enable_riched20
18950 wine_fn_config_makefile dlls/riched20/tests enable_tests
18951 wine_fn_config_makefile dlls/riched32 enable_riched32
18952 wine_fn_config_makefile dlls/riched32/tests enable_tests
18953 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
18954 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
18955 wine_fn_config_makefile dlls/rsabase enable_rsabase
18956 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
18957 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
18958 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
18959 wine_fn_config_makefile dlls/rtutils enable_rtutils
18960 wine_fn_config_makefile dlls/samlib enable_samlib
18961 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
18962 wine_fn_config_makefile dlls/sapi enable_sapi
18963 wine_fn_config_makefile dlls/sapi/tests enable_tests
18964 wine_fn_config_makefile dlls/sas enable_sas
18965 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
18966 wine_fn_config_makefile dlls/sccbase enable_sccbase
18967 wine_fn_config_makefile dlls/schannel enable_schannel
18968 wine_fn_config_makefile dlls/schannel/tests enable_tests
18969 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
18970 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
18971 wine_fn_config_makefile dlls/scrobj enable_scrobj
18972 wine_fn_config_makefile dlls/scrrun enable_scrrun
18973 wine_fn_config_makefile dlls/scrrun/tests enable_tests
18974 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
18975 wine_fn_config_makefile dlls/secur32 enable_secur32
18976 wine_fn_config_makefile dlls/secur32/tests enable_tests
18977 wine_fn_config_makefile dlls/security enable_security
18978 wine_fn_config_makefile dlls/sensapi enable_sensapi
18979 wine_fn_config_makefile dlls/serialui enable_serialui
18980 wine_fn_config_makefile dlls/serialui/tests enable_tests
18981 wine_fn_config_makefile dlls/setupapi enable_setupapi
18982 wine_fn_config_makefile dlls/setupapi/tests enable_tests
18983 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
18984 wine_fn_config_makefile dlls/sfc enable_sfc
18985 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
18986 wine_fn_config_makefile dlls/shcore enable_shcore
18987 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
18988 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
18989 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
18990 wine_fn_config_makefile dlls/shell.dll16 enable_win16
18991 wine_fn_config_makefile dlls/shell32 enable_shell32
18992 wine_fn_config_makefile dlls/shell32/tests enable_tests
18993 wine_fn_config_makefile dlls/shfolder enable_shfolder
18994 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
18995 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
18996 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
18997 wine_fn_config_makefile dlls/slc enable_slc
18998 wine_fn_config_makefile dlls/slc/tests enable_tests
18999 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19000 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19001 wine_fn_config_makefile dlls/softpub enable_softpub
19002 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19003 wine_fn_config_makefile dlls/spoolss enable_spoolss
19004 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19005 wine_fn_config_makefile dlls/srclient enable_srclient
19006 wine_fn_config_makefile dlls/sspicli enable_sspicli
19007 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19008 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19009 wine_fn_config_makefile dlls/sti enable_sti
19010 wine_fn_config_makefile dlls/sti/tests enable_tests
19011 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19012 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19013 wine_fn_config_makefile dlls/strmbase enable_strmbase
19014 wine_fn_config_makefile dlls/strmdll enable_strmdll
19015 wine_fn_config_makefile dlls/strmiids enable_strmiids
19016 wine_fn_config_makefile dlls/svrapi enable_svrapi
19017 wine_fn_config_makefile dlls/sxs enable_sxs
19018 wine_fn_config_makefile dlls/sxs/tests enable_tests
19019 wine_fn_config_makefile dlls/system.drv16 enable_win16
19020 wine_fn_config_makefile dlls/t2embed enable_t2embed
19021 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19022 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19023 wine_fn_config_makefile dlls/taskschd enable_taskschd
19024 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19025 wine_fn_config_makefile dlls/tdh enable_tdh
19026 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19027 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19028 wine_fn_config_makefile dlls/traffic enable_traffic
19029 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19030 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19031 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19032 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19033 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19034 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19035 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19036 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19037 wine_fn_config_makefile dlls/unicows enable_unicows
19038 wine_fn_config_makefile dlls/updspapi enable_updspapi
19039 wine_fn_config_makefile dlls/url enable_url
19040 wine_fn_config_makefile dlls/urlmon enable_urlmon
19041 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19042 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19043 wine_fn_config_makefile dlls/user.exe16 enable_win16
19044 wine_fn_config_makefile dlls/user32 enable_user32
19045 wine_fn_config_makefile dlls/user32/tests enable_tests
19046 wine_fn_config_makefile dlls/userenv enable_userenv
19047 wine_fn_config_makefile dlls/userenv/tests enable_tests
19048 wine_fn_config_makefile dlls/usp10 enable_usp10
19049 wine_fn_config_makefile dlls/usp10/tests enable_tests
19050 wine_fn_config_makefile dlls/uuid enable_uuid
19051 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19052 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19053 wine_fn_config_makefile dlls/vbscript enable_vbscript
19054 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19055 wine_fn_config_makefile dlls/vcomp enable_vcomp
19056 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19057 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19058 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19059 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19060 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19061 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19062 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19063 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19064 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19065 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19066 wine_fn_config_makefile dlls/version enable_version
19067 wine_fn_config_makefile dlls/version/tests enable_tests
19068 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19069 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19070 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19071 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19072 wine_fn_config_makefile dlls/vssapi enable_vssapi
19073 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19074 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19075 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19076 wine_fn_config_makefile dlls/w32skrnl enable_win16
19077 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19078 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19079 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19080 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19081 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19082 wine_fn_config_makefile dlls/wdscore enable_wdscore
19083 wine_fn_config_makefile dlls/webservices enable_webservices
19084 wine_fn_config_makefile dlls/webservices/tests enable_tests
19085 wine_fn_config_makefile dlls/wer enable_wer
19086 wine_fn_config_makefile dlls/wer/tests enable_tests
19087 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19088 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19089 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19090 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19091 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19092 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19093 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19094 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19095 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19096 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19097 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19098 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19099 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19100 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19101 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19102 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19103 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19104 wine_fn_config_makefile dlls/wined3d enable_wined3d
19105 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19106 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19107 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19108 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19109 wine_fn_config_makefile dlls/winemapi enable_winemapi
19110 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19111 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19112 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19113 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19114 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19115 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19116 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19117 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19118 wine_fn_config_makefile dlls/wing32 enable_wing32
19119 wine_fn_config_makefile dlls/winhttp enable_winhttp
19120 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19121 wine_fn_config_makefile dlls/wininet enable_wininet
19122 wine_fn_config_makefile dlls/wininet/tests enable_tests
19123 wine_fn_config_makefile dlls/winmm enable_winmm
19124 wine_fn_config_makefile dlls/winmm/tests enable_tests
19125 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19126 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19127 wine_fn_config_makefile dlls/winscard enable_winscard
19128 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19129 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19130 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19131 wine_fn_config_makefile dlls/winsta enable_winsta
19132 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19133 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19134 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19135 wine_fn_config_makefile dlls/wintrust enable_wintrust
19136 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19137 wine_fn_config_makefile dlls/winusb enable_winusb
19138 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19139 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19140 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19141 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19142 wine_fn_config_makefile dlls/wmasf enable_wmasf
19143 wine_fn_config_makefile dlls/wmi enable_wmi
19144 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19145 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19146 wine_fn_config_makefile dlls/wmp enable_wmp
19147 wine_fn_config_makefile dlls/wmp/tests enable_tests
19148 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19149 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19150 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19151 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19152 wine_fn_config_makefile dlls/wow32 enable_win16
19153 wine_fn_config_makefile dlls/wpc enable_wpc
19154 wine_fn_config_makefile dlls/wpc/tests enable_tests
19155 wine_fn_config_makefile dlls/wpcap enable_wpcap
19156 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19157 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19158 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19159 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19160 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19161 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19162 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19163 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19164 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19165 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19166 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19167 wine_fn_config_makefile dlls/wuapi enable_wuapi
19168 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19169 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19170 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19171 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19172 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19173 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19174 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19175 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19176 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19177 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19178 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19179 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19180 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19181 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19182 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19183 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19184 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19185 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19186 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19187 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19188 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19189 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19190 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19191 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19192 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19193 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19194 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19195 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19196 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19197 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19198 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19199 wine_fn_config_makefile dlls/xmllite enable_xmllite
19200 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19201 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19202 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19203 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19204 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19205 wine_fn_config_makefile include enable_include
19206 wine_fn_config_makefile libs/port enable_port
19207 wine_fn_config_makefile libs/wine enable_wine
19208 wine_fn_config_makefile libs/wpp enable_wpp
19209 wine_fn_config_makefile loader enable_loader
19210 wine_fn_config_makefile po enable_po
19211 wine_fn_config_makefile programs/arp enable_arp
19212 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19213 wine_fn_config_makefile programs/attrib enable_attrib
19214 wine_fn_config_makefile programs/cabarc enable_cabarc
19215 wine_fn_config_makefile programs/cacls enable_cacls
19216 wine_fn_config_makefile programs/clock enable_clock
19217 wine_fn_config_makefile programs/cmd enable_cmd
19218 wine_fn_config_makefile programs/cmd/tests enable_tests
19219 wine_fn_config_makefile programs/conhost enable_conhost
19220 wine_fn_config_makefile programs/control enable_control
19221 wine_fn_config_makefile programs/cscript enable_cscript
19222 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19223 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19224 wine_fn_config_makefile programs/eject enable_eject
19225 wine_fn_config_makefile programs/expand enable_expand
19226 wine_fn_config_makefile programs/explorer enable_explorer
19227 wine_fn_config_makefile programs/extrac32 enable_extrac32
19228 wine_fn_config_makefile programs/findstr enable_findstr
19229 wine_fn_config_makefile programs/fsutil enable_fsutil
19230 wine_fn_config_makefile programs/hh enable_hh
19231 wine_fn_config_makefile programs/hostname enable_hostname
19232 wine_fn_config_makefile programs/icacls enable_icacls
19233 wine_fn_config_makefile programs/icinfo enable_icinfo
19234 wine_fn_config_makefile programs/iexplore enable_iexplore
19235 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19236 wine_fn_config_makefile programs/lodctr enable_lodctr
19237 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19238 wine_fn_config_makefile programs/mshta enable_mshta
19239 wine_fn_config_makefile programs/msiexec enable_msiexec
19240 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19241 wine_fn_config_makefile programs/net enable_net
19242 wine_fn_config_makefile programs/netsh enable_netsh
19243 wine_fn_config_makefile programs/netstat enable_netstat
19244 wine_fn_config_makefile programs/ngen enable_ngen
19245 wine_fn_config_makefile programs/notepad enable_notepad
19246 wine_fn_config_makefile programs/oleview enable_oleview
19247 wine_fn_config_makefile programs/ping enable_ping
19248 wine_fn_config_makefile programs/plugplay enable_plugplay
19249 wine_fn_config_makefile programs/powershell enable_powershell
19250 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19251 wine_fn_config_makefile programs/progman enable_progman
19252 wine_fn_config_makefile programs/reg enable_reg
19253 wine_fn_config_makefile programs/reg/tests enable_tests
19254 wine_fn_config_makefile programs/regasm enable_regasm
19255 wine_fn_config_makefile programs/regedit enable_regedit
19256 wine_fn_config_makefile programs/regedit/tests enable_tests
19257 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19258 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19259 wine_fn_config_makefile programs/rpcss enable_rpcss
19260 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19261 wine_fn_config_makefile programs/rundll32 enable_rundll32
19262 wine_fn_config_makefile programs/sc enable_sc
19263 wine_fn_config_makefile programs/schtasks enable_schtasks
19264 wine_fn_config_makefile programs/schtasks/tests enable_tests
19265 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19266 wine_fn_config_makefile programs/secedit enable_secedit
19267 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19268 wine_fn_config_makefile programs/services enable_services
19269 wine_fn_config_makefile programs/services/tests enable_tests
19270 wine_fn_config_makefile programs/shutdown enable_shutdown
19271 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19272 wine_fn_config_makefile programs/start enable_start
19273 wine_fn_config_makefile programs/subst enable_subst
19274 wine_fn_config_makefile programs/svchost enable_svchost
19275 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19276 wine_fn_config_makefile programs/taskkill enable_taskkill
19277 wine_fn_config_makefile programs/tasklist enable_tasklist
19278 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19279 wine_fn_config_makefile programs/termsv enable_termsv
19280 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19281 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19282 wine_fn_config_makefile programs/view enable_view
19283 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19284 wine_fn_config_makefile programs/wineboot enable_wineboot
19285 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19286 wine_fn_config_makefile programs/winecfg enable_winecfg
19287 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19288 wine_fn_config_makefile programs/winedbg enable_winedbg
19289 wine_fn_config_makefile programs/winedevice enable_winedevice
19290 wine_fn_config_makefile programs/winefile enable_winefile
19291 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19292 wine_fn_config_makefile programs/winemine enable_winemine
19293 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19294 wine_fn_config_makefile programs/winepath enable_winepath
19295 wine_fn_config_makefile programs/winetest enable_winetest
19296 wine_fn_config_makefile programs/winevdm enable_win16
19297 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19298 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19299 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19300 wine_fn_config_makefile programs/winver enable_winver
19301 wine_fn_config_makefile programs/wmic enable_wmic
19302 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19303 wine_fn_config_makefile programs/wordpad enable_wordpad
19304 wine_fn_config_makefile programs/write enable_write
19305 wine_fn_config_makefile programs/wscript enable_wscript
19306 wine_fn_config_makefile programs/wscript/tests enable_tests
19307 wine_fn_config_makefile programs/wusa enable_wusa
19308 wine_fn_config_makefile programs/xcopy enable_xcopy
19309 wine_fn_config_makefile programs/xcopy/tests enable_tests
19310 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19311 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19312 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19313 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19314 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19315 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19316 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19317 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19318 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19319 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19322 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19323 wine_fn_append_file CONFIGURE_TARGETS "tags"
19324 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19325 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19326 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19327 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19328 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19329 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19331 if test "x$enable_tools" != xno
19332 then
19333 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19334 ac_config_commands="$ac_config_commands tools/makedep"
19338 ac_config_commands="$ac_config_commands Makefile"
19341 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19345 if test "x$enable_maintainer_mode" = xyes
19346 then
19347 wine_fn_append_rule "configure: configure.ac aclocal.m4
19348 autoconf --warnings=all
19349 include/config.h.in: include/stamp-h.in
19350 include/stamp-h.in: configure.ac aclocal.m4
19351 autoheader --warnings=all
19352 @echo timestamp > \$@"
19355 if test "x$enable_tools" != xno
19356 then
19357 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19358 @./config.status tools/makedep
19359 Makefile: tools/makedep$ac_exeext
19360 fonts: tools/sfnt2fon
19361 include: tools tools/widl"
19362 else
19363 wine_fn_append_rule "\$(MAKEDEP):
19364 @echo \"You need to run make in $TOOLSDIR first\" && false"
19367 if test -n "$with_wine64"
19368 then
19369 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19370 fonts server:
19371 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19372 $with_wine64/loader/wine:
19373 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19374 $with_wine64/loader/wine-preloader:
19375 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19376 clean::
19377 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19378 else
19379 WINELOADER_INSTALL="wine.inf l_intl.nls"
19381 case $host_os in
19382 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19383 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19384 esac
19387 $as_echo " done" >&6
19388 cat >confcache <<\_ACEOF
19389 # This file is a shell script that caches the results of configure
19390 # tests run on this system so they can be shared between configure
19391 # scripts and configure runs, see configure's option --config-cache.
19392 # It is not useful on other systems. If it contains results you don't
19393 # want to keep, you may remove or edit it.
19395 # config.status only pays attention to the cache file if you give it
19396 # the --recheck option to rerun configure.
19398 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19399 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19400 # following values.
19402 _ACEOF
19404 # The following way of writing the cache mishandles newlines in values,
19405 # but we know of no workaround that is simple, portable, and efficient.
19406 # So, we kill variables containing newlines.
19407 # Ultrix sh set writes to stderr and can't be redirected directly,
19408 # and sets the high bit in the cache file unless we assign to the vars.
19410 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19411 eval ac_val=\$$ac_var
19412 case $ac_val in #(
19413 *${as_nl}*)
19414 case $ac_var in #(
19415 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19416 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19417 esac
19418 case $ac_var in #(
19419 _ | IFS | as_nl) ;; #(
19420 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19421 *) { eval $ac_var=; unset $ac_var;} ;;
19422 esac ;;
19423 esac
19424 done
19426 (set) 2>&1 |
19427 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19428 *${as_nl}ac_space=\ *)
19429 # `set' does not quote correctly, so add quotes: double-quote
19430 # substitution turns \\\\ into \\, and sed turns \\ into \.
19431 sed -n \
19432 "s/'/'\\\\''/g;
19433 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19434 ;; #(
19436 # `set' quotes correctly as required by POSIX, so do not add quotes.
19437 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19439 esac |
19440 sort
19442 sed '
19443 /^ac_cv_env_/b end
19444 t clear
19445 :clear
19446 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19447 t end
19448 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19449 :end' >>confcache
19450 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19451 if test -w "$cache_file"; then
19452 if test "x$cache_file" != "x/dev/null"; then
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19454 $as_echo "$as_me: updating cache $cache_file" >&6;}
19455 if test ! -f "$cache_file" || test -h "$cache_file"; then
19456 cat confcache >"$cache_file"
19457 else
19458 case $cache_file in #(
19459 */* | ?:*)
19460 mv -f confcache "$cache_file"$$ &&
19461 mv -f "$cache_file"$$ "$cache_file" ;; #(
19463 mv -f confcache "$cache_file" ;;
19464 esac
19467 else
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19469 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19472 rm -f confcache
19474 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19475 # Let make expand exec_prefix.
19476 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19478 DEFS=-DHAVE_CONFIG_H
19480 ac_libobjs=
19481 ac_ltlibobjs=
19483 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19484 # 1. Remove the extension, and $U if already installed.
19485 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19486 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19487 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19488 # will be set to the directory where LIBOBJS objects are built.
19489 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19490 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19491 done
19492 LIBOBJS=$ac_libobjs
19494 LTLIBOBJS=$ac_ltlibobjs
19498 : "${CONFIG_STATUS=./config.status}"
19499 ac_write_fail=0
19500 ac_clean_files_save=$ac_clean_files
19501 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19503 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19504 as_write_fail=0
19505 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19506 #! $SHELL
19507 # Generated by $as_me.
19508 # Run this file to recreate the current configuration.
19509 # Compiler output produced by configure, useful for debugging
19510 # configure, is in config.log if it exists.
19512 debug=false
19513 ac_cs_recheck=false
19514 ac_cs_silent=false
19516 SHELL=\${CONFIG_SHELL-$SHELL}
19517 export SHELL
19518 _ASEOF
19519 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19520 ## -------------------- ##
19521 ## M4sh Initialization. ##
19522 ## -------------------- ##
19524 # Be more Bourne compatible
19525 DUALCASE=1; export DUALCASE # for MKS sh
19526 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19527 emulate sh
19528 NULLCMD=:
19529 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19530 # is contrary to our usage. Disable this feature.
19531 alias -g '${1+"$@"}'='"$@"'
19532 setopt NO_GLOB_SUBST
19533 else
19534 case `(set -o) 2>/dev/null` in #(
19535 *posix*) :
19536 set -o posix ;; #(
19537 *) :
19539 esac
19543 as_nl='
19545 export as_nl
19546 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19547 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19548 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19549 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19550 # Prefer a ksh shell builtin over an external printf program on Solaris,
19551 # but without wasting forks for bash or zsh.
19552 if test -z "$BASH_VERSION$ZSH_VERSION" \
19553 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19554 as_echo='print -r --'
19555 as_echo_n='print -rn --'
19556 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19557 as_echo='printf %s\n'
19558 as_echo_n='printf %s'
19559 else
19560 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19561 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19562 as_echo_n='/usr/ucb/echo -n'
19563 else
19564 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19565 as_echo_n_body='eval
19566 arg=$1;
19567 case $arg in #(
19568 *"$as_nl"*)
19569 expr "X$arg" : "X\\(.*\\)$as_nl";
19570 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19571 esac;
19572 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19574 export as_echo_n_body
19575 as_echo_n='sh -c $as_echo_n_body as_echo'
19577 export as_echo_body
19578 as_echo='sh -c $as_echo_body as_echo'
19581 # The user is always right.
19582 if test "${PATH_SEPARATOR+set}" != set; then
19583 PATH_SEPARATOR=:
19584 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19585 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19586 PATH_SEPARATOR=';'
19591 # IFS
19592 # We need space, tab and new line, in precisely that order. Quoting is
19593 # there to prevent editors from complaining about space-tab.
19594 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19595 # splitting by setting IFS to empty value.)
19596 IFS=" "" $as_nl"
19598 # Find who we are. Look in the path if we contain no directory separator.
19599 as_myself=
19600 case $0 in #((
19601 *[\\/]* ) as_myself=$0 ;;
19602 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19603 for as_dir in $PATH
19605 IFS=$as_save_IFS
19606 test -z "$as_dir" && as_dir=.
19607 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19608 done
19609 IFS=$as_save_IFS
19612 esac
19613 # We did not find ourselves, most probably we were run as `sh COMMAND'
19614 # in which case we are not to be found in the path.
19615 if test "x$as_myself" = x; then
19616 as_myself=$0
19618 if test ! -f "$as_myself"; then
19619 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19620 exit 1
19623 # Unset variables that we do not need and which cause bugs (e.g. in
19624 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19625 # suppresses any "Segmentation fault" message there. '((' could
19626 # trigger a bug in pdksh 5.2.14.
19627 for as_var in BASH_ENV ENV MAIL MAILPATH
19628 do eval test x\${$as_var+set} = xset \
19629 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19630 done
19631 PS1='$ '
19632 PS2='> '
19633 PS4='+ '
19635 # NLS nuisances.
19636 LC_ALL=C
19637 export LC_ALL
19638 LANGUAGE=C
19639 export LANGUAGE
19641 # CDPATH.
19642 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19645 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19646 # ----------------------------------------
19647 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19648 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19649 # script with STATUS, using 1 if that was 0.
19650 as_fn_error ()
19652 as_status=$1; test $as_status -eq 0 && as_status=1
19653 if test "$4"; then
19654 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19655 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19657 $as_echo "$as_me: error: $2" >&2
19658 as_fn_exit $as_status
19659 } # as_fn_error
19662 # as_fn_set_status STATUS
19663 # -----------------------
19664 # Set $? to STATUS, without forking.
19665 as_fn_set_status ()
19667 return $1
19668 } # as_fn_set_status
19670 # as_fn_exit STATUS
19671 # -----------------
19672 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19673 as_fn_exit ()
19675 set +e
19676 as_fn_set_status $1
19677 exit $1
19678 } # as_fn_exit
19680 # as_fn_unset VAR
19681 # ---------------
19682 # Portably unset VAR.
19683 as_fn_unset ()
19685 { eval $1=; unset $1;}
19687 as_unset=as_fn_unset
19688 # as_fn_append VAR VALUE
19689 # ----------------------
19690 # Append the text in VALUE to the end of the definition contained in VAR. Take
19691 # advantage of any shell optimizations that allow amortized linear growth over
19692 # repeated appends, instead of the typical quadratic growth present in naive
19693 # implementations.
19694 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19695 eval 'as_fn_append ()
19697 eval $1+=\$2
19699 else
19700 as_fn_append ()
19702 eval $1=\$$1\$2
19704 fi # as_fn_append
19706 # as_fn_arith ARG...
19707 # ------------------
19708 # Perform arithmetic evaluation on the ARGs, and store the result in the
19709 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19710 # must be portable across $(()) and expr.
19711 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19712 eval 'as_fn_arith ()
19714 as_val=$(( $* ))
19716 else
19717 as_fn_arith ()
19719 as_val=`expr "$@" || test $? -eq 1`
19721 fi # as_fn_arith
19724 if expr a : '\(a\)' >/dev/null 2>&1 &&
19725 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19726 as_expr=expr
19727 else
19728 as_expr=false
19731 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19732 as_basename=basename
19733 else
19734 as_basename=false
19737 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19738 as_dirname=dirname
19739 else
19740 as_dirname=false
19743 as_me=`$as_basename -- "$0" ||
19744 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19745 X"$0" : 'X\(//\)$' \| \
19746 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19747 $as_echo X/"$0" |
19748 sed '/^.*\/\([^/][^/]*\)\/*$/{
19749 s//\1/
19752 /^X\/\(\/\/\)$/{
19753 s//\1/
19756 /^X\/\(\/\).*/{
19757 s//\1/
19760 s/.*/./; q'`
19762 # Avoid depending upon Character Ranges.
19763 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19764 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19765 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19766 as_cr_digits='0123456789'
19767 as_cr_alnum=$as_cr_Letters$as_cr_digits
19769 ECHO_C= ECHO_N= ECHO_T=
19770 case `echo -n x` in #(((((
19771 -n*)
19772 case `echo 'xy\c'` in
19773 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19774 xy) ECHO_C='\c';;
19775 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19776 ECHO_T=' ';;
19777 esac;;
19779 ECHO_N='-n';;
19780 esac
19782 rm -f conf$$ conf$$.exe conf$$.file
19783 if test -d conf$$.dir; then
19784 rm -f conf$$.dir/conf$$.file
19785 else
19786 rm -f conf$$.dir
19787 mkdir conf$$.dir 2>/dev/null
19789 if (echo >conf$$.file) 2>/dev/null; then
19790 if ln -s conf$$.file conf$$ 2>/dev/null; then
19791 as_ln_s='ln -s'
19792 # ... but there are two gotchas:
19793 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19794 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19795 # In both cases, we have to default to `cp -pR'.
19796 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19797 as_ln_s='cp -pR'
19798 elif ln conf$$.file conf$$ 2>/dev/null; then
19799 as_ln_s=ln
19800 else
19801 as_ln_s='cp -pR'
19803 else
19804 as_ln_s='cp -pR'
19806 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19807 rmdir conf$$.dir 2>/dev/null
19810 # as_fn_mkdir_p
19811 # -------------
19812 # Create "$as_dir" as a directory, including parents if necessary.
19813 as_fn_mkdir_p ()
19816 case $as_dir in #(
19817 -*) as_dir=./$as_dir;;
19818 esac
19819 test -d "$as_dir" || eval $as_mkdir_p || {
19820 as_dirs=
19821 while :; do
19822 case $as_dir in #(
19823 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19824 *) as_qdir=$as_dir;;
19825 esac
19826 as_dirs="'$as_qdir' $as_dirs"
19827 as_dir=`$as_dirname -- "$as_dir" ||
19828 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19829 X"$as_dir" : 'X\(//\)[^/]' \| \
19830 X"$as_dir" : 'X\(//\)$' \| \
19831 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19832 $as_echo X"$as_dir" |
19833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19834 s//\1/
19837 /^X\(\/\/\)[^/].*/{
19838 s//\1/
19841 /^X\(\/\/\)$/{
19842 s//\1/
19845 /^X\(\/\).*/{
19846 s//\1/
19849 s/.*/./; q'`
19850 test -d "$as_dir" && break
19851 done
19852 test -z "$as_dirs" || eval "mkdir $as_dirs"
19853 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19856 } # as_fn_mkdir_p
19857 if mkdir -p . 2>/dev/null; then
19858 as_mkdir_p='mkdir -p "$as_dir"'
19859 else
19860 test -d ./-p && rmdir ./-p
19861 as_mkdir_p=false
19865 # as_fn_executable_p FILE
19866 # -----------------------
19867 # Test if FILE is an executable regular file.
19868 as_fn_executable_p ()
19870 test -f "$1" && test -x "$1"
19871 } # as_fn_executable_p
19872 as_test_x='test -x'
19873 as_executable_p=as_fn_executable_p
19875 # Sed expression to map a string onto a valid CPP name.
19876 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19878 # Sed expression to map a string onto a valid variable name.
19879 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19882 exec 6>&1
19883 ## ----------------------------------- ##
19884 ## Main body of $CONFIG_STATUS script. ##
19885 ## ----------------------------------- ##
19886 _ASEOF
19887 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19890 # Save the log message, to keep $0 and so on meaningful, and to
19891 # report actual input values of CONFIG_FILES etc. instead of their
19892 # values after options handling.
19893 ac_log="
19894 This file was extended by Wine $as_me 3.6, which was
19895 generated by GNU Autoconf 2.69. Invocation command line was
19897 CONFIG_FILES = $CONFIG_FILES
19898 CONFIG_HEADERS = $CONFIG_HEADERS
19899 CONFIG_LINKS = $CONFIG_LINKS
19900 CONFIG_COMMANDS = $CONFIG_COMMANDS
19901 $ $0 $@
19903 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19906 _ACEOF
19908 case $ac_config_files in *"
19909 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19910 esac
19912 case $ac_config_headers in *"
19913 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19914 esac
19917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19918 # Files that config.status was made for.
19919 config_files="$ac_config_files"
19920 config_headers="$ac_config_headers"
19921 config_links="$ac_config_links"
19922 config_commands="$ac_config_commands"
19924 _ACEOF
19926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19927 ac_cs_usage="\
19928 \`$as_me' instantiates files and other configuration actions
19929 from templates according to the current configuration. Unless the files
19930 and actions are specified as TAGs, all are instantiated by default.
19932 Usage: $0 [OPTION]... [TAG]...
19934 -h, --help print this help, then exit
19935 -V, --version print version number and configuration settings, then exit
19936 --config print configuration, then exit
19937 -q, --quiet, --silent
19938 do not print progress messages
19939 -d, --debug don't remove temporary files
19940 --recheck update $as_me by reconfiguring in the same conditions
19941 --file=FILE[:TEMPLATE]
19942 instantiate the configuration file FILE
19943 --header=FILE[:TEMPLATE]
19944 instantiate the configuration header FILE
19946 Configuration files:
19947 $config_files
19949 Configuration headers:
19950 $config_headers
19952 Configuration links:
19953 $config_links
19955 Configuration commands:
19956 $config_commands
19958 Report bugs to <wine-devel@winehq.org>.
19959 Wine home page: <https://www.winehq.org>."
19961 _ACEOF
19962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19963 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19964 ac_cs_version="\\
19965 Wine config.status 3.6
19966 configured by $0, generated by GNU Autoconf 2.69,
19967 with options \\"\$ac_cs_config\\"
19969 Copyright (C) 2012 Free Software Foundation, Inc.
19970 This config.status script is free software; the Free Software Foundation
19971 gives unlimited permission to copy, distribute and modify it."
19973 ac_pwd='$ac_pwd'
19974 srcdir='$srcdir'
19975 test -n "\$AWK" || AWK=awk
19976 _ACEOF
19978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19979 # The default lists apply if the user does not specify any file.
19980 ac_need_defaults=:
19981 while test $# != 0
19983 case $1 in
19984 --*=?*)
19985 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19986 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19987 ac_shift=:
19989 --*=)
19990 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19991 ac_optarg=
19992 ac_shift=:
19995 ac_option=$1
19996 ac_optarg=$2
19997 ac_shift=shift
19999 esac
20001 case $ac_option in
20002 # Handling of the options.
20003 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20004 ac_cs_recheck=: ;;
20005 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20006 $as_echo "$ac_cs_version"; exit ;;
20007 --config | --confi | --conf | --con | --co | --c )
20008 $as_echo "$ac_cs_config"; exit ;;
20009 --debug | --debu | --deb | --de | --d | -d )
20010 debug=: ;;
20011 --file | --fil | --fi | --f )
20012 $ac_shift
20013 case $ac_optarg in
20014 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20015 '') as_fn_error $? "missing file argument" ;;
20016 esac
20017 as_fn_append CONFIG_FILES " '$ac_optarg'"
20018 ac_need_defaults=false;;
20019 --header | --heade | --head | --hea )
20020 $ac_shift
20021 case $ac_optarg in
20022 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20023 esac
20024 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20025 ac_need_defaults=false;;
20026 --he | --h)
20027 # Conflict between --help and --header
20028 as_fn_error $? "ambiguous option: \`$1'
20029 Try \`$0 --help' for more information.";;
20030 --help | --hel | -h )
20031 $as_echo "$ac_cs_usage"; exit ;;
20032 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20033 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20034 ac_cs_silent=: ;;
20036 # This is an error.
20037 -*) as_fn_error $? "unrecognized option: \`$1'
20038 Try \`$0 --help' for more information." ;;
20040 *) as_fn_append ac_config_targets " $1"
20041 ac_need_defaults=false ;;
20043 esac
20044 shift
20045 done
20047 ac_configure_extra_args=
20049 if $ac_cs_silent; then
20050 exec 6>/dev/null
20051 ac_configure_extra_args="$ac_configure_extra_args --silent"
20054 _ACEOF
20055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20056 if \$ac_cs_recheck; then
20057 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20058 shift
20059 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20060 CONFIG_SHELL='$SHELL'
20061 export CONFIG_SHELL
20062 exec "\$@"
20065 _ACEOF
20066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20067 exec 5>>config.log
20069 echo
20070 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20071 ## Running $as_me. ##
20072 _ASBOX
20073 $as_echo "$ac_log"
20074 } >&5
20076 _ACEOF
20077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20079 # INIT-COMMANDS
20081 wine_fn_output_makedep ()
20083 as_dir=tools; as_fn_mkdir_p
20084 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20086 wine_fn_output_makefile ()
20088 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20089 `cat $wine_rules_file`
20090 _WINE_EOF
20091 as_fn_error $? "could not create Makefile" "$LINENO" 5
20094 _ACEOF
20096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20098 # Handling of arguments.
20099 for ac_config_target in $ac_config_targets
20101 case $ac_config_target in
20102 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20103 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20104 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20105 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20106 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20107 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20108 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20109 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20110 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20111 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20112 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20113 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20114 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20116 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20117 esac
20118 done
20121 # If the user did not use the arguments to specify the items to instantiate,
20122 # then the envvar interface is used. Set only those that are not.
20123 # We use the long form for the default assignment because of an extremely
20124 # bizarre bug on SunOS 4.1.3.
20125 if $ac_need_defaults; then
20126 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20127 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20128 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20129 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20132 # Have a temporary directory for convenience. Make it in the build tree
20133 # simply because there is no reason against having it here, and in addition,
20134 # creating and moving files from /tmp can sometimes cause problems.
20135 # Hook for its removal unless debugging.
20136 # Note that there is a small window in which the directory will not be cleaned:
20137 # after its creation but before its name has been assigned to `$tmp'.
20138 $debug ||
20140 tmp= ac_tmp=
20141 trap 'exit_status=$?
20142 : "${ac_tmp:=$tmp}"
20143 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20145 trap 'as_fn_exit 1' 1 2 13 15
20147 # Create a (secure) tmp directory for tmp files.
20150 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20151 test -d "$tmp"
20152 } ||
20154 tmp=./conf$$-$RANDOM
20155 (umask 077 && mkdir "$tmp")
20156 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20157 ac_tmp=$tmp
20159 # Set up the scripts for CONFIG_FILES section.
20160 # No need to generate them if there are no CONFIG_FILES.
20161 # This happens for instance with `./config.status config.h'.
20162 if test -n "$CONFIG_FILES"; then
20165 ac_cr=`echo X | tr X '\015'`
20166 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20167 # But we know of no other shell where ac_cr would be empty at this
20168 # point, so we can use a bashism as a fallback.
20169 if test "x$ac_cr" = x; then
20170 eval ac_cr=\$\'\\r\'
20172 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20173 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20174 ac_cs_awk_cr='\\r'
20175 else
20176 ac_cs_awk_cr=$ac_cr
20179 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20180 _ACEOF
20184 echo "cat >conf$$subs.awk <<_ACEOF" &&
20185 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20186 echo "_ACEOF"
20187 } >conf$$subs.sh ||
20188 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20189 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20190 ac_delim='%!_!# '
20191 for ac_last_try in false false false false false :; do
20192 . ./conf$$subs.sh ||
20193 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20195 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20196 if test $ac_delim_n = $ac_delim_num; then
20197 break
20198 elif $ac_last_try; then
20199 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20200 else
20201 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20203 done
20204 rm -f conf$$subs.sh
20206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20207 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20208 _ACEOF
20209 sed -n '
20211 s/^/S["/; s/!.*/"]=/
20214 s/^[^!]*!//
20215 :repl
20216 t repl
20217 s/'"$ac_delim"'$//
20218 t delim
20221 s/\(.\{148\}\)..*/\1/
20222 t more1
20223 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20226 b repl
20227 :more1
20228 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20231 s/.\{148\}//
20232 t nl
20233 :delim
20235 s/\(.\{148\}\)..*/\1/
20236 t more2
20237 s/["\\]/\\&/g; s/^/"/; s/$/"/
20240 :more2
20241 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20244 s/.\{148\}//
20245 t delim
20246 ' <conf$$subs.awk | sed '
20247 /^[^""]/{
20249 s/\n//
20251 ' >>$CONFIG_STATUS || ac_write_fail=1
20252 rm -f conf$$subs.awk
20253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20254 _ACAWK
20255 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20256 for (key in S) S_is_set[key] = 1
20257 FS = "\a"
20261 line = $ 0
20262 nfields = split(line, field, "@")
20263 substed = 0
20264 len = length(field[1])
20265 for (i = 2; i < nfields; i++) {
20266 key = field[i]
20267 keylen = length(key)
20268 if (S_is_set[key]) {
20269 value = S[key]
20270 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20271 len += length(value) + length(field[++i])
20272 substed = 1
20273 } else
20274 len += 1 + keylen
20277 print line
20280 _ACAWK
20281 _ACEOF
20282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20283 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20284 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20285 else
20287 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20288 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20289 _ACEOF
20291 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20292 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20293 # trailing colons and then remove the whole line if VPATH becomes empty
20294 # (actually we leave an empty line to preserve line numbers).
20295 if test "x$srcdir" = x.; then
20296 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20298 s///
20299 s/^/:/
20300 s/[ ]*$/:/
20301 s/:\$(srcdir):/:/g
20302 s/:\${srcdir}:/:/g
20303 s/:@srcdir@:/:/g
20304 s/^:*//
20305 s/:*$//
20307 s/\(=[ ]*\).*/\1/
20309 s/\n//
20310 s/^[^=]*=[ ]*$//
20314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20315 fi # test -n "$CONFIG_FILES"
20317 # Set up the scripts for CONFIG_HEADERS section.
20318 # No need to generate them if there are no CONFIG_HEADERS.
20319 # This happens for instance with `./config.status Makefile'.
20320 if test -n "$CONFIG_HEADERS"; then
20321 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20322 BEGIN {
20323 _ACEOF
20325 # Transform confdefs.h into an awk script `defines.awk', embedded as
20326 # here-document in config.status, that substitutes the proper values into
20327 # config.h.in to produce config.h.
20329 # Create a delimiter string that does not exist in confdefs.h, to ease
20330 # handling of long lines.
20331 ac_delim='%!_!# '
20332 for ac_last_try in false false :; do
20333 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20334 if test -z "$ac_tt"; then
20335 break
20336 elif $ac_last_try; then
20337 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20338 else
20339 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20341 done
20343 # For the awk script, D is an array of macro values keyed by name,
20344 # likewise P contains macro parameters if any. Preserve backslash
20345 # newline sequences.
20347 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20348 sed -n '
20349 s/.\{148\}/&'"$ac_delim"'/g
20350 t rset
20351 :rset
20352 s/^[ ]*#[ ]*define[ ][ ]*/ /
20353 t def
20355 :def
20356 s/\\$//
20357 t bsnl
20358 s/["\\]/\\&/g
20359 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20360 D["\1"]=" \3"/p
20361 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20363 :bsnl
20364 s/["\\]/\\&/g
20365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20366 D["\1"]=" \3\\\\\\n"\\/p
20367 t cont
20368 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20369 t cont
20371 :cont
20373 s/.\{148\}/&'"$ac_delim"'/g
20374 t clear
20375 :clear
20376 s/\\$//
20377 t bsnlc
20378 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20380 :bsnlc
20381 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20382 b cont
20383 ' <confdefs.h | sed '
20384 s/'"$ac_delim"'/"\\\
20385 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20388 for (key in D) D_is_set[key] = 1
20389 FS = "\a"
20391 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20392 line = \$ 0
20393 split(line, arg, " ")
20394 if (arg[1] == "#") {
20395 defundef = arg[2]
20396 mac1 = arg[3]
20397 } else {
20398 defundef = substr(arg[1], 2)
20399 mac1 = arg[2]
20401 split(mac1, mac2, "(") #)
20402 macro = mac2[1]
20403 prefix = substr(line, 1, index(line, defundef) - 1)
20404 if (D_is_set[macro]) {
20405 # Preserve the white space surrounding the "#".
20406 print prefix "define", macro P[macro] D[macro]
20407 next
20408 } else {
20409 # Replace #undef with comments. This is necessary, for example,
20410 # in the case of _POSIX_SOURCE, which is predefined and required
20411 # on some systems where configure will not decide to define it.
20412 if (defundef == "undef") {
20413 print "/*", prefix defundef, macro, "*/"
20414 next
20418 { print }
20419 _ACAWK
20420 _ACEOF
20421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20422 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20423 fi # test -n "$CONFIG_HEADERS"
20426 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20427 shift
20428 for ac_tag
20430 case $ac_tag in
20431 :[FHLC]) ac_mode=$ac_tag; continue;;
20432 esac
20433 case $ac_mode$ac_tag in
20434 :[FHL]*:*);;
20435 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20436 :[FH]-) ac_tag=-:-;;
20437 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20438 esac
20439 ac_save_IFS=$IFS
20440 IFS=:
20441 set x $ac_tag
20442 IFS=$ac_save_IFS
20443 shift
20444 ac_file=$1
20445 shift
20447 case $ac_mode in
20448 :L) ac_source=$1;;
20449 :[FH])
20450 ac_file_inputs=
20451 for ac_f
20453 case $ac_f in
20454 -) ac_f="$ac_tmp/stdin";;
20455 *) # Look for the file first in the build tree, then in the source tree
20456 # (if the path is not absolute). The absolute path cannot be DOS-style,
20457 # because $ac_f cannot contain `:'.
20458 test -f "$ac_f" ||
20459 case $ac_f in
20460 [\\/$]*) false;;
20461 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20462 esac ||
20463 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20464 esac
20465 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20466 as_fn_append ac_file_inputs " '$ac_f'"
20467 done
20469 # Let's still pretend it is `configure' which instantiates (i.e., don't
20470 # use $as_me), people would be surprised to read:
20471 # /* config.h. Generated by config.status. */
20472 configure_input='Generated from '`
20473 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20474 `' by configure.'
20475 if test x"$ac_file" != x-; then
20476 configure_input="$ac_file. $configure_input"
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20478 $as_echo "$as_me: creating $ac_file" >&6;}
20480 # Neutralize special characters interpreted by sed in replacement strings.
20481 case $configure_input in #(
20482 *\&* | *\|* | *\\* )
20483 ac_sed_conf_input=`$as_echo "$configure_input" |
20484 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20485 *) ac_sed_conf_input=$configure_input;;
20486 esac
20488 case $ac_tag in
20489 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20490 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20491 esac
20493 esac
20495 ac_dir=`$as_dirname -- "$ac_file" ||
20496 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20497 X"$ac_file" : 'X\(//\)[^/]' \| \
20498 X"$ac_file" : 'X\(//\)$' \| \
20499 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20500 $as_echo X"$ac_file" |
20501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20502 s//\1/
20505 /^X\(\/\/\)[^/].*/{
20506 s//\1/
20509 /^X\(\/\/\)$/{
20510 s//\1/
20513 /^X\(\/\).*/{
20514 s//\1/
20517 s/.*/./; q'`
20518 as_dir="$ac_dir"; as_fn_mkdir_p
20519 ac_builddir=.
20521 case "$ac_dir" in
20522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20524 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20525 # A ".." for each directory in $ac_dir_suffix.
20526 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20527 case $ac_top_builddir_sub in
20528 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20529 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20530 esac ;;
20531 esac
20532 ac_abs_top_builddir=$ac_pwd
20533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20534 # for backward compatibility:
20535 ac_top_builddir=$ac_top_build_prefix
20537 case $srcdir in
20538 .) # We are building in place.
20539 ac_srcdir=.
20540 ac_top_srcdir=$ac_top_builddir_sub
20541 ac_abs_top_srcdir=$ac_pwd ;;
20542 [\\/]* | ?:[\\/]* ) # Absolute name.
20543 ac_srcdir=$srcdir$ac_dir_suffix;
20544 ac_top_srcdir=$srcdir
20545 ac_abs_top_srcdir=$srcdir ;;
20546 *) # Relative name.
20547 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20548 ac_top_srcdir=$ac_top_build_prefix$srcdir
20549 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20550 esac
20551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20554 case $ac_mode in
20557 # CONFIG_FILE
20560 _ACEOF
20562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20563 # If the template does not know about datarootdir, expand it.
20564 # FIXME: This hack should be removed a few years after 2.60.
20565 ac_datarootdir_hack=; ac_datarootdir_seen=
20566 ac_sed_dataroot='
20567 /datarootdir/ {
20571 /@datadir@/p
20572 /@docdir@/p
20573 /@infodir@/p
20574 /@localedir@/p
20575 /@mandir@/p'
20576 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20577 *datarootdir*) ac_datarootdir_seen=yes;;
20578 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20580 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20581 _ACEOF
20582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20583 ac_datarootdir_hack='
20584 s&@datadir@&$datadir&g
20585 s&@docdir@&$docdir&g
20586 s&@infodir@&$infodir&g
20587 s&@localedir@&$localedir&g
20588 s&@mandir@&$mandir&g
20589 s&\\\${datarootdir}&$datarootdir&g' ;;
20590 esac
20591 _ACEOF
20593 # Neutralize VPATH when `$srcdir' = `.'.
20594 # Shell code in configure.ac might set extrasub.
20595 # FIXME: do we really want to maintain this feature?
20596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20597 ac_sed_extra="$ac_vpsub
20598 $extrasub
20599 _ACEOF
20600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20602 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20603 s|@configure_input@|$ac_sed_conf_input|;t t
20604 s&@top_builddir@&$ac_top_builddir_sub&;t t
20605 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20606 s&@srcdir@&$ac_srcdir&;t t
20607 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20608 s&@top_srcdir@&$ac_top_srcdir&;t t
20609 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20610 s&@builddir@&$ac_builddir&;t t
20611 s&@abs_builddir@&$ac_abs_builddir&;t t
20612 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20613 $ac_datarootdir_hack
20615 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20616 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20618 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20619 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20620 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20621 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20623 which seems to be undefined. Please make sure it is defined" >&5
20624 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20625 which seems to be undefined. Please make sure it is defined" >&2;}
20627 rm -f "$ac_tmp/stdin"
20628 case $ac_file in
20629 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20630 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20631 esac \
20632 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20636 # CONFIG_HEADER
20638 if test x"$ac_file" != x-; then
20640 $as_echo "/* $configure_input */" \
20641 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20642 } >"$ac_tmp/config.h" \
20643 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20644 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20646 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20647 else
20648 rm -f "$ac_file"
20649 mv "$ac_tmp/config.h" "$ac_file" \
20650 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20652 else
20653 $as_echo "/* $configure_input */" \
20654 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20655 || as_fn_error $? "could not create -" "$LINENO" 5
20660 # CONFIG_LINK
20663 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20665 else
20666 # Prefer the file from the source tree if names are identical.
20667 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20668 ac_source=$srcdir/$ac_source
20671 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20672 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20674 if test ! -r "$ac_source"; then
20675 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20677 rm -f "$ac_file"
20679 # Try a relative symlink, then a hard link, then a copy.
20680 case $ac_source in
20681 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20682 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20683 esac
20684 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20685 ln "$ac_source" "$ac_file" 2>/dev/null ||
20686 cp -p "$ac_source" "$ac_file" ||
20687 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20690 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20691 $as_echo "$as_me: executing $ac_file commands" >&6;}
20693 esac
20696 case $ac_file$ac_mode in
20697 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20698 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20699 "Makefile":C) wine_fn_output_makefile Makefile ;;
20701 esac
20702 done # for ac_tag
20705 as_fn_exit 0
20706 _ACEOF
20707 ac_clean_files=$ac_clean_files_save
20709 test $ac_write_fail = 0 ||
20710 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20713 # configure is writing to config.log, and then calls config.status.
20714 # config.status does its own redirection, appending to config.log.
20715 # Unfortunately, on DOS this fails, as config.log is still kept open
20716 # by configure, so config.status won't be able to write to it; its
20717 # output is simply discarded. So we exec the FD to /dev/null,
20718 # effectively closing config.log, so it can be properly (re)opened and
20719 # appended to by config.status. When coming back to configure, we
20720 # need to make the FD available again.
20721 if test "$no_create" != yes; then
20722 ac_cs_success=:
20723 ac_config_status_args=
20724 test "$silent" = yes &&
20725 ac_config_status_args="$ac_config_status_args --quiet"
20726 exec 5>/dev/null
20727 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20728 exec 5>>config.log
20729 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20730 # would make configure fail if this is the last instruction.
20731 $ac_cs_success || as_fn_exit 1
20733 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20735 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20739 if test "$no_create" = "yes"
20740 then
20741 exit 0
20744 ac_save_IFS="$IFS"
20745 if test "x$wine_notices" != x; then
20746 echo >&6
20747 IFS="|"
20748 for msg in $wine_notices; do
20749 IFS="$ac_save_IFS"
20750 if ${msg:+false} :; then :
20752 else
20753 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20754 $as_echo "$as_me: $msg" >&6;}
20756 done
20758 IFS="|"
20759 for msg in $wine_warnings; do
20760 IFS="$ac_save_IFS"
20761 if ${msg:+false} :; then :
20763 else
20764 echo >&2
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20766 $as_echo "$as_me: WARNING: $msg" >&2;}
20768 done
20769 IFS="$ac_save_IFS"
20771 $as_echo "
20772 $as_me: Finished. Do '${ac_make}' to compile Wine.
20773 " >&6