dmime: The descriptor is already parsed for the segment form.
[wine.git] / configure
blob297d5abb3ed4dc9de3343f0ffef5daa1c3d3cfe4
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.3.
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.3'
584 PACKAGE_STRING='Wine 3.3'
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_scarddlg
1486 enable_sccbase
1487 enable_schannel
1488 enable_schedsvc
1489 enable_scrobj
1490 enable_scrrun
1491 enable_scsiport_sys
1492 enable_secur32
1493 enable_security
1494 enable_sensapi
1495 enable_serialui
1496 enable_setupapi
1497 enable_sfc
1498 enable_sfc_os
1499 enable_shcore
1500 enable_shdoclc
1501 enable_shdocvw
1502 enable_shell32
1503 enable_shfolder
1504 enable_shlwapi
1505 enable_slbcsp
1506 enable_slc
1507 enable_snmpapi
1508 enable_softpub
1509 enable_spoolss
1510 enable_sspicli
1511 enable_stdole2_tlb
1512 enable_stdole32_tlb
1513 enable_sti
1514 enable_strmbase
1515 enable_strmiids
1516 enable_svrapi
1517 enable_sxs
1518 enable_t2embed
1519 enable_tapi32
1520 enable_taskschd
1521 enable_tdh
1522 enable_tdi_sys
1523 enable_traffic
1524 enable_twain_32
1525 enable_ucrtbase
1526 enable_uiautomationcore
1527 enable_uiribbon
1528 enable_unicows
1529 enable_updspapi
1530 enable_url
1531 enable_urlmon
1532 enable_usbd_sys
1533 enable_user32
1534 enable_userenv
1535 enable_usp10
1536 enable_uuid
1537 enable_uxtheme
1538 enable_vbscript
1539 enable_vcomp
1540 enable_vcomp100
1541 enable_vcomp110
1542 enable_vcomp120
1543 enable_vcomp140
1544 enable_vcomp90
1545 enable_vcruntime140
1546 enable_vdmdbg
1547 enable_version
1548 enable_virtdisk
1549 enable_vssapi
1550 enable_wbemdisp
1551 enable_wbemprox
1552 enable_wdscore
1553 enable_webservices
1554 enable_wer
1555 enable_wevtapi
1556 enable_wiaservc
1557 enable_wimgapi
1558 enable_windowscodecs
1559 enable_windowscodecsext
1560 enable_winealsa_drv
1561 enable_wineandroid_drv
1562 enable_winebus_sys
1563 enable_winecoreaudio_drv
1564 enable_winecrt0
1565 enable_wined3d
1566 enable_winegstreamer
1567 enable_winehid_sys
1568 enable_winejoystick_drv
1569 enable_winemac_drv
1570 enable_winemapi
1571 enable_wineoss_drv
1572 enable_wineps_drv
1573 enable_winepulse_drv
1574 enable_wineqtdecoder
1575 enable_winevulkan
1576 enable_winex11_drv
1577 enable_wing32
1578 enable_winhttp
1579 enable_wininet
1580 enable_winmm
1581 enable_winnls32
1582 enable_winscard
1583 enable_winspool_drv
1584 enable_winsta
1585 enable_wintab32
1586 enable_wintrust
1587 enable_winusb
1588 enable_wlanapi
1589 enable_wldap32
1590 enable_wmasf
1591 enable_wmi
1592 enable_wmiutils
1593 enable_wmp
1594 enable_wmphoto
1595 enable_wmvcore
1596 enable_wnaspi32
1597 enable_wpc
1598 enable_wpcap
1599 enable_ws2_32
1600 enable_wsdapi
1601 enable_wshom_ocx
1602 enable_wsnmp32
1603 enable_wsock32
1604 enable_wtsapi32
1605 enable_wuapi
1606 enable_wuaueng
1607 enable_x3daudio1_0
1608 enable_x3daudio1_1
1609 enable_x3daudio1_2
1610 enable_x3daudio1_3
1611 enable_x3daudio1_4
1612 enable_x3daudio1_5
1613 enable_x3daudio1_6
1614 enable_x3daudio1_7
1615 enable_xapofx1_1
1616 enable_xapofx1_2
1617 enable_xapofx1_3
1618 enable_xapofx1_4
1619 enable_xapofx1_5
1620 enable_xaudio2_0
1621 enable_xaudio2_1
1622 enable_xaudio2_2
1623 enable_xaudio2_3
1624 enable_xaudio2_4
1625 enable_xaudio2_5
1626 enable_xaudio2_6
1627 enable_xaudio2_7
1628 enable_xaudio2_8
1629 enable_xaudio2_9
1630 enable_xinput1_1
1631 enable_xinput1_2
1632 enable_xinput1_3
1633 enable_xinput1_4
1634 enable_xinput9_1_0
1635 enable_xmllite
1636 enable_xolehlp
1637 enable_xpsprint
1638 enable_xpssvcs
1639 enable_fonts
1640 enable_include
1641 enable_port
1642 enable_wine
1643 enable_wpp
1644 enable_loader
1645 enable_po
1646 enable_arp
1647 enable_aspnet_regiis
1648 enable_attrib
1649 enable_cabarc
1650 enable_cacls
1651 enable_clock
1652 enable_cmd
1653 enable_conhost
1654 enable_control
1655 enable_cscript
1656 enable_dpnsvr
1657 enable_dxdiag
1658 enable_eject
1659 enable_expand
1660 enable_explorer
1661 enable_extrac32
1662 enable_findstr
1663 enable_fsutil
1664 enable_hh
1665 enable_hostname
1666 enable_icacls
1667 enable_icinfo
1668 enable_iexplore
1669 enable_ipconfig
1670 enable_lodctr
1671 enable_mofcomp
1672 enable_mshta
1673 enable_msiexec
1674 enable_msinfo32
1675 enable_net
1676 enable_netsh
1677 enable_netstat
1678 enable_ngen
1679 enable_notepad
1680 enable_oleview
1681 enable_ping
1682 enable_plugplay
1683 enable_powershell
1684 enable_presentationfontcache
1685 enable_progman
1686 enable_reg
1687 enable_regasm
1688 enable_regedit
1689 enable_regsvcs
1690 enable_regsvr32
1691 enable_rpcss
1692 enable_rundll32
1693 enable_sc
1694 enable_schtasks
1695 enable_sdbinst
1696 enable_secedit
1697 enable_servicemodelreg
1698 enable_services
1699 enable_shutdown
1700 enable_spoolsv
1701 enable_start
1702 enable_subst
1703 enable_svchost
1704 enable_systeminfo
1705 enable_taskkill
1706 enable_tasklist
1707 enable_taskmgr
1708 enable_termsv
1709 enable_uninstaller
1710 enable_unlodctr
1711 enable_view
1712 enable_wevtutil
1713 enable_wineboot
1714 enable_winebrowser
1715 enable_winecfg
1716 enable_wineconsole
1717 enable_winedbg
1718 enable_winedevice
1719 enable_winefile
1720 enable_winemenubuilder
1721 enable_winemine
1722 enable_winemsibuilder
1723 enable_winepath
1724 enable_winetest
1725 enable_winhlp32
1726 enable_winver
1727 enable_wmic
1728 enable_wmplayer
1729 enable_wordpad
1730 enable_write
1731 enable_wscript
1732 enable_wusa
1733 enable_xcopy
1734 enable_server
1735 enable_tools
1736 enable_sfnt2fon
1737 enable_widl
1738 enable_winebuild
1739 enable_winedump
1740 enable_winegcc
1741 enable_winemaker
1742 enable_wmc
1743 enable_wrc
1745 ac_precious_vars='build_alias
1746 host_alias
1747 target_alias
1749 CFLAGS
1750 LDFLAGS
1751 LIBS
1752 CPPFLAGS
1754 CXXFLAGS
1757 XMKMF
1758 XML2_CFLAGS
1759 XML2_LIBS
1760 XSLT_CFLAGS
1761 XSLT_LIBS
1762 DBUS_CFLAGS
1763 DBUS_LIBS
1764 HAL_CFLAGS
1765 HAL_LIBS
1766 GNUTLS_CFLAGS
1767 GNUTLS_LIBS
1768 SANE_CFLAGS
1769 SANE_LIBS
1770 GPHOTO2_CFLAGS
1771 GPHOTO2_LIBS
1772 GPHOTO2_PORT_CFLAGS
1773 GPHOTO2_PORT_LIBS
1774 LCMS2_CFLAGS
1775 LCMS2_LIBS
1776 FREETYPE_CFLAGS
1777 FREETYPE_LIBS
1778 PULSE_CFLAGS
1779 PULSE_LIBS
1780 GSTREAMER_CFLAGS
1781 GSTREAMER_LIBS
1782 UDEV_CFLAGS
1783 UDEV_LIBS
1784 SDL2_CFLAGS
1785 SDL2_LIBS
1786 CAPI20_CFLAGS
1787 CAPI20_LIBS
1788 CUPS_CFLAGS
1789 CUPS_LIBS
1790 FONTCONFIG_CFLAGS
1791 FONTCONFIG_LIBS
1792 KRB5_CFLAGS
1793 KRB5_LIBS
1794 GSSAPI_CFLAGS
1795 GSSAPI_LIBS
1796 JPEG_CFLAGS
1797 JPEG_LIBS
1798 PNG_CFLAGS
1799 PNG_LIBS
1800 TIFF_CFLAGS
1801 TIFF_LIBS
1802 MPG123_CFLAGS
1803 MPG123_LIBS
1804 NETAPI_CFLAGS
1805 NETAPI_LIBS
1806 LDAP_CFLAGS
1807 LDAP_LIBS'
1810 # Initialize some variables set by options.
1811 ac_init_help=
1812 ac_init_version=false
1813 ac_unrecognized_opts=
1814 ac_unrecognized_sep=
1815 # The variables have the same names as the options, with
1816 # dashes changed to underlines.
1817 cache_file=/dev/null
1818 exec_prefix=NONE
1819 no_create=
1820 no_recursion=
1821 prefix=NONE
1822 program_prefix=NONE
1823 program_suffix=NONE
1824 program_transform_name=s,x,x,
1825 silent=
1826 site=
1827 srcdir=
1828 verbose=
1829 x_includes=NONE
1830 x_libraries=NONE
1832 # Installation directory options.
1833 # These are left unexpanded so users can "make install exec_prefix=/foo"
1834 # and all the variables that are supposed to be based on exec_prefix
1835 # by default will actually change.
1836 # Use braces instead of parens because sh, perl, etc. also accept them.
1837 # (The list follows the same order as the GNU Coding Standards.)
1838 bindir='${exec_prefix}/bin'
1839 sbindir='${exec_prefix}/sbin'
1840 libexecdir='${exec_prefix}/libexec'
1841 datarootdir='${prefix}/share'
1842 datadir='${datarootdir}'
1843 sysconfdir='${prefix}/etc'
1844 sharedstatedir='${prefix}/com'
1845 localstatedir='${prefix}/var'
1846 runstatedir='${localstatedir}/run'
1847 includedir='${prefix}/include'
1848 oldincludedir='/usr/include'
1849 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1850 infodir='${datarootdir}/info'
1851 htmldir='${docdir}'
1852 dvidir='${docdir}'
1853 pdfdir='${docdir}'
1854 psdir='${docdir}'
1855 libdir='${exec_prefix}/lib'
1856 localedir='${datarootdir}/locale'
1857 mandir='${datarootdir}/man'
1859 ac_prev=
1860 ac_dashdash=
1861 for ac_option
1863 # If the previous option needs an argument, assign it.
1864 if test -n "$ac_prev"; then
1865 eval $ac_prev=\$ac_option
1866 ac_prev=
1867 continue
1870 case $ac_option in
1871 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1872 *=) ac_optarg= ;;
1873 *) ac_optarg=yes ;;
1874 esac
1876 # Accept the important Cygnus configure options, so we can diagnose typos.
1878 case $ac_dashdash$ac_option in
1880 ac_dashdash=yes ;;
1882 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1883 ac_prev=bindir ;;
1884 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1885 bindir=$ac_optarg ;;
1887 -build | --build | --buil | --bui | --bu)
1888 ac_prev=build_alias ;;
1889 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1890 build_alias=$ac_optarg ;;
1892 -cache-file | --cache-file | --cache-fil | --cache-fi \
1893 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1894 ac_prev=cache_file ;;
1895 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1896 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1897 cache_file=$ac_optarg ;;
1899 --config-cache | -C)
1900 cache_file=config.cache ;;
1902 -datadir | --datadir | --datadi | --datad)
1903 ac_prev=datadir ;;
1904 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1905 datadir=$ac_optarg ;;
1907 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1908 | --dataroo | --dataro | --datar)
1909 ac_prev=datarootdir ;;
1910 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1911 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1912 datarootdir=$ac_optarg ;;
1914 -disable-* | --disable-*)
1915 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1916 # Reject names that are not valid shell variable names.
1917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1918 as_fn_error $? "invalid feature name: $ac_useropt"
1919 ac_useropt_orig=$ac_useropt
1920 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1921 case $ac_user_opts in
1923 "enable_$ac_useropt"
1924 "*) ;;
1925 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1926 ac_unrecognized_sep=', ';;
1927 esac
1928 eval enable_$ac_useropt=no ;;
1930 -docdir | --docdir | --docdi | --doc | --do)
1931 ac_prev=docdir ;;
1932 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1933 docdir=$ac_optarg ;;
1935 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1936 ac_prev=dvidir ;;
1937 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1938 dvidir=$ac_optarg ;;
1940 -enable-* | --enable-*)
1941 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1942 # Reject names that are not valid shell variable names.
1943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1944 as_fn_error $? "invalid feature name: $ac_useropt"
1945 ac_useropt_orig=$ac_useropt
1946 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1947 case $ac_user_opts in
1949 "enable_$ac_useropt"
1950 "*) ;;
1951 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1952 ac_unrecognized_sep=', ';;
1953 esac
1954 eval enable_$ac_useropt=\$ac_optarg ;;
1956 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1957 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1958 | --exec | --exe | --ex)
1959 ac_prev=exec_prefix ;;
1960 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1961 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1962 | --exec=* | --exe=* | --ex=*)
1963 exec_prefix=$ac_optarg ;;
1965 -gas | --gas | --ga | --g)
1966 # Obsolete; use --with-gas.
1967 with_gas=yes ;;
1969 -help | --help | --hel | --he | -h)
1970 ac_init_help=long ;;
1971 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1972 ac_init_help=recursive ;;
1973 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1974 ac_init_help=short ;;
1976 -host | --host | --hos | --ho)
1977 ac_prev=host_alias ;;
1978 -host=* | --host=* | --hos=* | --ho=*)
1979 host_alias=$ac_optarg ;;
1981 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1982 ac_prev=htmldir ;;
1983 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1984 | --ht=*)
1985 htmldir=$ac_optarg ;;
1987 -includedir | --includedir | --includedi | --included | --include \
1988 | --includ | --inclu | --incl | --inc)
1989 ac_prev=includedir ;;
1990 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1991 | --includ=* | --inclu=* | --incl=* | --inc=*)
1992 includedir=$ac_optarg ;;
1994 -infodir | --infodir | --infodi | --infod | --info | --inf)
1995 ac_prev=infodir ;;
1996 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1997 infodir=$ac_optarg ;;
1999 -libdir | --libdir | --libdi | --libd)
2000 ac_prev=libdir ;;
2001 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2002 libdir=$ac_optarg ;;
2004 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2005 | --libexe | --libex | --libe)
2006 ac_prev=libexecdir ;;
2007 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2008 | --libexe=* | --libex=* | --libe=*)
2009 libexecdir=$ac_optarg ;;
2011 -localedir | --localedir | --localedi | --localed | --locale)
2012 ac_prev=localedir ;;
2013 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2014 localedir=$ac_optarg ;;
2016 -localstatedir | --localstatedir | --localstatedi | --localstated \
2017 | --localstate | --localstat | --localsta | --localst | --locals)
2018 ac_prev=localstatedir ;;
2019 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2020 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2021 localstatedir=$ac_optarg ;;
2023 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2024 ac_prev=mandir ;;
2025 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2026 mandir=$ac_optarg ;;
2028 -nfp | --nfp | --nf)
2029 # Obsolete; use --without-fp.
2030 with_fp=no ;;
2032 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2033 | --no-cr | --no-c | -n)
2034 no_create=yes ;;
2036 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2037 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2038 no_recursion=yes ;;
2040 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2041 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2042 | --oldin | --oldi | --old | --ol | --o)
2043 ac_prev=oldincludedir ;;
2044 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2045 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2046 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2047 oldincludedir=$ac_optarg ;;
2049 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2050 ac_prev=prefix ;;
2051 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2052 prefix=$ac_optarg ;;
2054 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2055 | --program-pre | --program-pr | --program-p)
2056 ac_prev=program_prefix ;;
2057 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2058 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2059 program_prefix=$ac_optarg ;;
2061 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2062 | --program-suf | --program-su | --program-s)
2063 ac_prev=program_suffix ;;
2064 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2065 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2066 program_suffix=$ac_optarg ;;
2068 -program-transform-name | --program-transform-name \
2069 | --program-transform-nam | --program-transform-na \
2070 | --program-transform-n | --program-transform- \
2071 | --program-transform | --program-transfor \
2072 | --program-transfo | --program-transf \
2073 | --program-trans | --program-tran \
2074 | --progr-tra | --program-tr | --program-t)
2075 ac_prev=program_transform_name ;;
2076 -program-transform-name=* | --program-transform-name=* \
2077 | --program-transform-nam=* | --program-transform-na=* \
2078 | --program-transform-n=* | --program-transform-=* \
2079 | --program-transform=* | --program-transfor=* \
2080 | --program-transfo=* | --program-transf=* \
2081 | --program-trans=* | --program-tran=* \
2082 | --progr-tra=* | --program-tr=* | --program-t=*)
2083 program_transform_name=$ac_optarg ;;
2085 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2086 ac_prev=pdfdir ;;
2087 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2088 pdfdir=$ac_optarg ;;
2090 -psdir | --psdir | --psdi | --psd | --ps)
2091 ac_prev=psdir ;;
2092 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2093 psdir=$ac_optarg ;;
2095 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2096 | -silent | --silent | --silen | --sile | --sil)
2097 silent=yes ;;
2099 -runstatedir | --runstatedir | --runstatedi | --runstated \
2100 | --runstate | --runstat | --runsta | --runst | --runs \
2101 | --run | --ru | --r)
2102 ac_prev=runstatedir ;;
2103 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2104 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2105 | --run=* | --ru=* | --r=*)
2106 runstatedir=$ac_optarg ;;
2108 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2109 ac_prev=sbindir ;;
2110 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2111 | --sbi=* | --sb=*)
2112 sbindir=$ac_optarg ;;
2114 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2115 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2116 | --sharedst | --shareds | --shared | --share | --shar \
2117 | --sha | --sh)
2118 ac_prev=sharedstatedir ;;
2119 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2120 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2121 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2122 | --sha=* | --sh=*)
2123 sharedstatedir=$ac_optarg ;;
2125 -site | --site | --sit)
2126 ac_prev=site ;;
2127 -site=* | --site=* | --sit=*)
2128 site=$ac_optarg ;;
2130 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2131 ac_prev=srcdir ;;
2132 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2133 srcdir=$ac_optarg ;;
2135 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2136 | --syscon | --sysco | --sysc | --sys | --sy)
2137 ac_prev=sysconfdir ;;
2138 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2139 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2140 sysconfdir=$ac_optarg ;;
2142 -target | --target | --targe | --targ | --tar | --ta | --t)
2143 ac_prev=target_alias ;;
2144 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2145 target_alias=$ac_optarg ;;
2147 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2148 verbose=yes ;;
2150 -version | --version | --versio | --versi | --vers | -V)
2151 ac_init_version=: ;;
2153 -with-* | --with-*)
2154 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2155 # Reject names that are not valid shell variable names.
2156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2157 as_fn_error $? "invalid package name: $ac_useropt"
2158 ac_useropt_orig=$ac_useropt
2159 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2160 case $ac_user_opts in
2162 "with_$ac_useropt"
2163 "*) ;;
2164 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2165 ac_unrecognized_sep=', ';;
2166 esac
2167 eval with_$ac_useropt=\$ac_optarg ;;
2169 -without-* | --without-*)
2170 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2171 # Reject names that are not valid shell variable names.
2172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2173 as_fn_error $? "invalid package name: $ac_useropt"
2174 ac_useropt_orig=$ac_useropt
2175 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2176 case $ac_user_opts in
2178 "with_$ac_useropt"
2179 "*) ;;
2180 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2181 ac_unrecognized_sep=', ';;
2182 esac
2183 eval with_$ac_useropt=no ;;
2185 --x)
2186 # Obsolete; use --with-x.
2187 with_x=yes ;;
2189 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2190 | --x-incl | --x-inc | --x-in | --x-i)
2191 ac_prev=x_includes ;;
2192 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2193 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2194 x_includes=$ac_optarg ;;
2196 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2197 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2198 ac_prev=x_libraries ;;
2199 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2200 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2201 x_libraries=$ac_optarg ;;
2203 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2204 Try \`$0 --help' for more information"
2207 *=*)
2208 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2209 # Reject names that are not valid shell variable names.
2210 case $ac_envvar in #(
2211 '' | [0-9]* | *[!_$as_cr_alnum]* )
2212 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2213 esac
2214 eval $ac_envvar=\$ac_optarg
2215 export $ac_envvar ;;
2218 # FIXME: should be removed in autoconf 3.0.
2219 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2220 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2221 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2222 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2225 esac
2226 done
2228 if test -n "$ac_prev"; then
2229 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2230 as_fn_error $? "missing argument to $ac_option"
2233 if test -n "$ac_unrecognized_opts"; then
2234 case $enable_option_checking in
2235 no) ;;
2236 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2237 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2238 esac
2241 # Check all directory arguments for consistency.
2242 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2243 datadir sysconfdir sharedstatedir localstatedir includedir \
2244 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2245 libdir localedir mandir runstatedir
2247 eval ac_val=\$$ac_var
2248 # Remove trailing slashes.
2249 case $ac_val in
2250 */ )
2251 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2252 eval $ac_var=\$ac_val;;
2253 esac
2254 # Be sure to have absolute directory names.
2255 case $ac_val in
2256 [\\/$]* | ?:[\\/]* ) continue;;
2257 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2258 esac
2259 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2260 done
2262 # There might be people who depend on the old broken behavior: `$host'
2263 # used to hold the argument of --host etc.
2264 # FIXME: To remove some day.
2265 build=$build_alias
2266 host=$host_alias
2267 target=$target_alias
2269 # FIXME: To remove some day.
2270 if test "x$host_alias" != x; then
2271 if test "x$build_alias" = x; then
2272 cross_compiling=maybe
2273 elif test "x$build_alias" != "x$host_alias"; then
2274 cross_compiling=yes
2278 ac_tool_prefix=
2279 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2281 test "$silent" = yes && exec 6>/dev/null
2284 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2285 ac_ls_di=`ls -di .` &&
2286 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2287 as_fn_error $? "working directory cannot be determined"
2288 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2289 as_fn_error $? "pwd does not report name of working directory"
2292 # Find the source files, if location was not specified.
2293 if test -z "$srcdir"; then
2294 ac_srcdir_defaulted=yes
2295 # Try the directory containing this script, then the parent directory.
2296 ac_confdir=`$as_dirname -- "$as_myself" ||
2297 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2298 X"$as_myself" : 'X\(//\)[^/]' \| \
2299 X"$as_myself" : 'X\(//\)$' \| \
2300 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2301 $as_echo X"$as_myself" |
2302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2303 s//\1/
2306 /^X\(\/\/\)[^/].*/{
2307 s//\1/
2310 /^X\(\/\/\)$/{
2311 s//\1/
2314 /^X\(\/\).*/{
2315 s//\1/
2318 s/.*/./; q'`
2319 srcdir=$ac_confdir
2320 if test ! -r "$srcdir/$ac_unique_file"; then
2321 srcdir=..
2323 else
2324 ac_srcdir_defaulted=no
2326 if test ! -r "$srcdir/$ac_unique_file"; then
2327 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2328 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2330 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2331 ac_abs_confdir=`(
2332 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2333 pwd)`
2334 # When building in place, set srcdir=.
2335 if test "$ac_abs_confdir" = "$ac_pwd"; then
2336 srcdir=.
2338 # Remove unnecessary trailing slashes from srcdir.
2339 # Double slashes in file names in object file debugging info
2340 # mess up M-x gdb in Emacs.
2341 case $srcdir in
2342 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2343 esac
2344 for ac_var in $ac_precious_vars; do
2345 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2346 eval ac_env_${ac_var}_value=\$${ac_var}
2347 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2348 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2349 done
2352 # Report the --help message.
2354 if test "$ac_init_help" = "long"; then
2355 # Omit some internal or obsolete options to make the list less imposing.
2356 # This message is too long to be a string in the A/UX 3.1 sh.
2357 cat <<_ACEOF
2358 \`configure' configures Wine 3.3 to adapt to many kinds of systems.
2360 Usage: $0 [OPTION]... [VAR=VALUE]...
2362 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2363 VAR=VALUE. See below for descriptions of some of the useful variables.
2365 Defaults for the options are specified in brackets.
2367 Configuration:
2368 -h, --help display this help and exit
2369 --help=short display options specific to this package
2370 --help=recursive display the short help of all the included packages
2371 -V, --version display version information and exit
2372 -q, --quiet, --silent do not print \`checking ...' messages
2373 --cache-file=FILE cache test results in FILE [disabled]
2374 -C, --config-cache alias for \`--cache-file=config.cache'
2375 -n, --no-create do not create output files
2376 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2378 Installation directories:
2379 --prefix=PREFIX install architecture-independent files in PREFIX
2380 [$ac_default_prefix]
2381 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2382 [PREFIX]
2384 By default, \`make install' will install all the files in
2385 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2386 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2387 for instance \`--prefix=\$HOME'.
2389 For better control, use the options below.
2391 Fine tuning of the installation directories:
2392 --bindir=DIR user executables [EPREFIX/bin]
2393 --sbindir=DIR system admin executables [EPREFIX/sbin]
2394 --libexecdir=DIR program executables [EPREFIX/libexec]
2395 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2396 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2397 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2398 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2399 --libdir=DIR object code libraries [EPREFIX/lib]
2400 --includedir=DIR C header files [PREFIX/include]
2401 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2402 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2403 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2404 --infodir=DIR info documentation [DATAROOTDIR/info]
2405 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2406 --mandir=DIR man documentation [DATAROOTDIR/man]
2407 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2408 --htmldir=DIR html documentation [DOCDIR]
2409 --dvidir=DIR dvi documentation [DOCDIR]
2410 --pdfdir=DIR pdf documentation [DOCDIR]
2411 --psdir=DIR ps documentation [DOCDIR]
2412 _ACEOF
2414 cat <<\_ACEOF
2416 X features:
2417 --x-includes=DIR X include files are in DIR
2418 --x-libraries=DIR X library files are in DIR
2420 System types:
2421 --build=BUILD configure for building on BUILD [guessed]
2422 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2423 _ACEOF
2426 if test -n "$ac_init_help"; then
2427 case $ac_init_help in
2428 short | recursive ) echo "Configuration of Wine 3.3:";;
2429 esac
2430 cat <<\_ACEOF
2432 Optional Features:
2433 --disable-option-checking ignore unrecognized --enable/--with options
2434 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2435 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2436 --disable-win16 do not include Win16 support
2437 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2438 binaries)
2439 --disable-tests do not build the regression tests
2440 --enable-maintainer-mode
2441 enable maintainer-specific build rules
2442 --disable-largefile omit support for large files
2444 Optional Packages:
2445 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2446 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2447 --without-alsa do not use the Alsa sound support
2448 --without-capi do not use CAPI (ISDN support)
2449 --without-cms do not use CMS (color management support)
2450 --without-coreaudio do not use the CoreAudio sound support
2451 --without-cups do not use CUPS
2452 --without-curses do not use (n)curses
2453 --without-dbus do not use DBus (dynamic device support)
2454 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2455 --without-fontconfig do not use fontconfig
2456 --without-freetype do not use the FreeType library
2457 --without-gettext do not use gettext
2458 --with-gettextpo use the GetTextPO library to rebuild po files
2459 --without-gphoto do not use gphoto (Digital Camera support)
2460 --without-glu do not use the GLU library
2461 --without-gnutls do not use GnuTLS (schannel support)
2462 --without-gsm do not use libgsm (GSM 06.10 codec support)
2463 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2464 --without-gstreamer do not use GStreamer (codecs support)
2465 --without-hal do not use HAL (dynamic device support)
2466 --without-jpeg do not use JPEG
2467 --without-krb5 do not use krb5 (Kerberos)
2468 --without-ldap do not use LDAP
2469 --without-mpg123 do not use the mpg123 library
2470 --without-netapi do not use the Samba NetAPI library
2471 --without-openal do not use OpenAL
2472 --without-opencl do not use OpenCL
2473 --without-opengl do not use OpenGL
2474 --without-osmesa do not use the OSMesa library
2475 --without-oss do not use the OSS sound support
2476 --without-pcap do not use the Packet Capture library
2477 --without-png do not use PNG
2478 --without-pthread do not use the pthread library
2479 --without-pulse do not use PulseAudio sound support
2480 --without-sane do not use SANE (scanner support)
2481 --without-sdl do not use SDL
2482 --without-tiff do not use TIFF
2483 --without-udev do not use udev (plug and play support)
2484 --without-v4l do not use v4l1 (v4l support)
2485 --without-vulkan do not use Vulkan
2486 --without-xcomposite do not use the Xcomposite extension
2487 --without-xcursor do not use the Xcursor extension
2488 --without-xfixes do not use Xfixes for clipboard change notifications
2489 --without-xinerama do not use Xinerama (multi-monitor support)
2490 --without-xinput do not use the Xinput extension
2491 --without-xinput2 do not use the Xinput 2 extension
2492 --without-xml do not use XML
2493 --without-xrandr do not use Xrandr (resolution changes)
2494 --without-xrender do not use the Xrender extension
2495 --without-xshape do not use the Xshape extension
2496 --without-xshm do not use XShm (shared memory extension)
2497 --without-xslt do not use XSLT
2498 --without-xxf86vm do not use XFree video mode extension
2499 --without-zlib do not use Zlib (data compression)
2500 --with-wine-tools=DIR use Wine tools from directory DIR
2501 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2502 --with-x use the X Window System
2504 Some influential environment variables:
2505 CC C compiler command
2506 CFLAGS C compiler flags
2507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2508 nonstandard directory <lib dir>
2509 LIBS libraries to pass to the linker, e.g. -l<library>
2510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2511 you have headers in a nonstandard directory <include dir>
2512 CXX C++ compiler command
2513 CXXFLAGS C++ compiler flags
2514 CPP C preprocessor
2515 XMKMF Path to xmkmf, Makefile generator for X Window System
2516 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2517 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2518 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2519 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2520 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2521 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2522 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2523 HAL_LIBS Linker flags for hal, overriding pkg-config
2524 GNUTLS_CFLAGS
2525 C compiler flags for gnutls, overriding pkg-config
2526 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2527 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2528 SANE_LIBS Linker flags for libsane, overriding pkg-config
2529 GPHOTO2_CFLAGS
2530 C compiler flags for libgphoto2, overriding pkg-config
2531 GPHOTO2_LIBS
2532 Linker flags for libgphoto2, overriding pkg-config
2533 GPHOTO2_PORT_CFLAGS
2534 C compiler flags for libgphoto2_port, overriding pkg-config
2535 GPHOTO2_PORT_LIBS
2536 Linker flags for libgphoto2_port, overriding pkg-config
2537 LCMS2_CFLAGS
2538 C compiler flags for lcms2, overriding pkg-config
2539 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2540 FREETYPE_CFLAGS
2541 C compiler flags for freetype2, overriding pkg-config
2542 FREETYPE_LIBS
2543 Linker flags for freetype2, overriding pkg-config
2544 PULSE_CFLAGS
2545 C compiler flags for libpulse, overriding pkg-config
2546 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2547 GSTREAMER_CFLAGS
2548 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2549 gstreamer-audio-1.0, overriding pkg-config
2550 GSTREAMER_LIBS
2551 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2552 gstreamer-audio-1.0, overriding pkg-config
2553 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2554 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2555 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2556 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2557 CAPI20_CFLAGS
2558 C compiler flags for capi20, overriding pkg-config
2559 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2560 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2561 CUPS_LIBS Linker flags for cups, overriding pkg-config
2562 FONTCONFIG_CFLAGS
2563 C compiler flags for fontconfig, overriding pkg-config
2564 FONTCONFIG_LIBS
2565 Linker flags for fontconfig, overriding pkg-config
2566 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2567 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2568 GSSAPI_CFLAGS
2569 C compiler flags for krb5-gssapi, overriding pkg-config
2570 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2571 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2572 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2573 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2574 PNG_LIBS Linker flags for libpng, overriding pkg-config
2575 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2576 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2577 MPG123_CFLAGS
2578 C compiler flags for libmpg123, overriding pkg-config
2579 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2580 NETAPI_CFLAGS
2581 C compiler flags for netapi, overriding pkg-config
2582 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2583 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2584 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2586 Use these variables to override the choices made by `configure' or to help
2587 it to find libraries and programs with nonstandard names/locations.
2589 Report bugs to <wine-devel@winehq.org>.
2590 Wine home page: <https://www.winehq.org>.
2591 _ACEOF
2592 ac_status=$?
2595 if test "$ac_init_help" = "recursive"; then
2596 # If there are subdirs, report their specific --help.
2597 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2598 test -d "$ac_dir" ||
2599 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2600 continue
2601 ac_builddir=.
2603 case "$ac_dir" in
2604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2606 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2607 # A ".." for each directory in $ac_dir_suffix.
2608 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2609 case $ac_top_builddir_sub in
2610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2612 esac ;;
2613 esac
2614 ac_abs_top_builddir=$ac_pwd
2615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2616 # for backward compatibility:
2617 ac_top_builddir=$ac_top_build_prefix
2619 case $srcdir in
2620 .) # We are building in place.
2621 ac_srcdir=.
2622 ac_top_srcdir=$ac_top_builddir_sub
2623 ac_abs_top_srcdir=$ac_pwd ;;
2624 [\\/]* | ?:[\\/]* ) # Absolute name.
2625 ac_srcdir=$srcdir$ac_dir_suffix;
2626 ac_top_srcdir=$srcdir
2627 ac_abs_top_srcdir=$srcdir ;;
2628 *) # Relative name.
2629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2630 ac_top_srcdir=$ac_top_build_prefix$srcdir
2631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2632 esac
2633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2635 cd "$ac_dir" || { ac_status=$?; continue; }
2636 # Check for guested configure.
2637 if test -f "$ac_srcdir/configure.gnu"; then
2638 echo &&
2639 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2640 elif test -f "$ac_srcdir/configure"; then
2641 echo &&
2642 $SHELL "$ac_srcdir/configure" --help=recursive
2643 else
2644 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2645 fi || ac_status=$?
2646 cd "$ac_pwd" || { ac_status=$?; break; }
2647 done
2650 test -n "$ac_init_help" && exit $ac_status
2651 if $ac_init_version; then
2652 cat <<\_ACEOF
2653 Wine configure 3.3
2654 generated by GNU Autoconf 2.69
2656 Copyright (C) 2012 Free Software Foundation, Inc.
2657 This configure script is free software; the Free Software Foundation
2658 gives unlimited permission to copy, distribute and modify it.
2659 _ACEOF
2660 exit
2663 ## ------------------------ ##
2664 ## Autoconf initialization. ##
2665 ## ------------------------ ##
2667 # ac_fn_c_try_compile LINENO
2668 # --------------------------
2669 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2670 ac_fn_c_try_compile ()
2672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2673 rm -f conftest.$ac_objext
2674 if { { ac_try="$ac_compile"
2675 case "(($ac_try" in
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2678 esac
2679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2680 $as_echo "$ac_try_echo"; } >&5
2681 (eval "$ac_compile") 2>conftest.err
2682 ac_status=$?
2683 if test -s conftest.err; then
2684 grep -v '^ *+' conftest.err >conftest.er1
2685 cat conftest.er1 >&5
2686 mv -f conftest.er1 conftest.err
2688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2689 test $ac_status = 0; } && {
2690 test -z "$ac_c_werror_flag" ||
2691 test ! -s conftest.err
2692 } && test -s conftest.$ac_objext; then :
2693 ac_retval=0
2694 else
2695 $as_echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.$ac_ext >&5
2698 ac_retval=1
2700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2701 as_fn_set_status $ac_retval
2703 } # ac_fn_c_try_compile
2705 # ac_fn_cxx_try_compile LINENO
2706 # ----------------------------
2707 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2708 ac_fn_cxx_try_compile ()
2710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2711 rm -f conftest.$ac_objext
2712 if { { ac_try="$ac_compile"
2713 case "(($ac_try" in
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2716 esac
2717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2718 $as_echo "$ac_try_echo"; } >&5
2719 (eval "$ac_compile") 2>conftest.err
2720 ac_status=$?
2721 if test -s conftest.err; then
2722 grep -v '^ *+' conftest.err >conftest.er1
2723 cat conftest.er1 >&5
2724 mv -f conftest.er1 conftest.err
2726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2727 test $ac_status = 0; } && {
2728 test -z "$ac_cxx_werror_flag" ||
2729 test ! -s conftest.err
2730 } && test -s conftest.$ac_objext; then :
2731 ac_retval=0
2732 else
2733 $as_echo "$as_me: failed program was:" >&5
2734 sed 's/^/| /' conftest.$ac_ext >&5
2736 ac_retval=1
2738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2739 as_fn_set_status $ac_retval
2741 } # ac_fn_cxx_try_compile
2743 # ac_fn_c_try_link LINENO
2744 # -----------------------
2745 # Try to link conftest.$ac_ext, and return whether this succeeded.
2746 ac_fn_c_try_link ()
2748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2749 rm -f conftest.$ac_objext conftest$ac_exeext
2750 if { { ac_try="$ac_link"
2751 case "(($ac_try" in
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2754 esac
2755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2756 $as_echo "$ac_try_echo"; } >&5
2757 (eval "$ac_link") 2>conftest.err
2758 ac_status=$?
2759 if test -s conftest.err; then
2760 grep -v '^ *+' conftest.err >conftest.er1
2761 cat conftest.er1 >&5
2762 mv -f conftest.er1 conftest.err
2764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2765 test $ac_status = 0; } && {
2766 test -z "$ac_c_werror_flag" ||
2767 test ! -s conftest.err
2768 } && test -s conftest$ac_exeext && {
2769 test "$cross_compiling" = yes ||
2770 test -x conftest$ac_exeext
2771 }; then :
2772 ac_retval=0
2773 else
2774 $as_echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.$ac_ext >&5
2777 ac_retval=1
2779 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2780 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2781 # interfere with the next link command; also delete a directory that is
2782 # left behind by Apple's compiler. We do this before executing the actions.
2783 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2785 as_fn_set_status $ac_retval
2787 } # ac_fn_c_try_link
2789 # ac_fn_c_try_cpp LINENO
2790 # ----------------------
2791 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2792 ac_fn_c_try_cpp ()
2794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2795 if { { ac_try="$ac_cpp conftest.$ac_ext"
2796 case "(($ac_try" in
2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2799 esac
2800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2801 $as_echo "$ac_try_echo"; } >&5
2802 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2803 ac_status=$?
2804 if test -s conftest.err; then
2805 grep -v '^ *+' conftest.err >conftest.er1
2806 cat conftest.er1 >&5
2807 mv -f conftest.er1 conftest.err
2809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2810 test $ac_status = 0; } > conftest.i && {
2811 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2812 test ! -s conftest.err
2813 }; then :
2814 ac_retval=0
2815 else
2816 $as_echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2819 ac_retval=1
2821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2822 as_fn_set_status $ac_retval
2824 } # ac_fn_c_try_cpp
2826 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2827 # -------------------------------------------------------
2828 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2829 # the include files in INCLUDES and setting the cache variable VAR
2830 # accordingly.
2831 ac_fn_c_check_header_mongrel ()
2833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2834 if eval \${$3+:} false; then :
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2836 $as_echo_n "checking for $2... " >&6; }
2837 if eval \${$3+:} false; then :
2838 $as_echo_n "(cached) " >&6
2840 eval ac_res=\$$3
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2842 $as_echo "$ac_res" >&6; }
2843 else
2844 # Is the header compilable?
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2846 $as_echo_n "checking $2 usability... " >&6; }
2847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2848 /* end confdefs.h. */
2850 #include <$2>
2851 _ACEOF
2852 if ac_fn_c_try_compile "$LINENO"; then :
2853 ac_header_compiler=yes
2854 else
2855 ac_header_compiler=no
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2859 $as_echo "$ac_header_compiler" >&6; }
2861 # Is the header present?
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2863 $as_echo_n "checking $2 presence... " >&6; }
2864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2865 /* end confdefs.h. */
2866 #include <$2>
2867 _ACEOF
2868 if ac_fn_c_try_cpp "$LINENO"; then :
2869 ac_header_preproc=yes
2870 else
2871 ac_header_preproc=no
2873 rm -f conftest.err conftest.i conftest.$ac_ext
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2875 $as_echo "$ac_header_preproc" >&6; }
2877 # So? What about this header?
2878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2879 yes:no: )
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2881 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2883 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2885 no:yes:* )
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2887 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2889 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2891 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2893 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2895 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2896 ( $as_echo "## ------------------------------------ ##
2897 ## Report this to wine-devel@winehq.org ##
2898 ## ------------------------------------ ##"
2899 ) | sed "s/^/$as_me: WARNING: /" >&2
2901 esac
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2903 $as_echo_n "checking for $2... " >&6; }
2904 if eval \${$3+:} false; then :
2905 $as_echo_n "(cached) " >&6
2906 else
2907 eval "$3=\$ac_header_compiler"
2909 eval ac_res=\$$3
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2911 $as_echo "$ac_res" >&6; }
2913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915 } # ac_fn_c_check_header_mongrel
2917 # ac_fn_c_try_run LINENO
2918 # ----------------------
2919 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2920 # that executables *can* be run.
2921 ac_fn_c_try_run ()
2923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2924 if { { ac_try="$ac_link"
2925 case "(($ac_try" in
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2928 esac
2929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2930 $as_echo "$ac_try_echo"; } >&5
2931 (eval "$ac_link") 2>&5
2932 ac_status=$?
2933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2934 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2935 { { case "(($ac_try" in
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2938 esac
2939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2940 $as_echo "$ac_try_echo"; } >&5
2941 (eval "$ac_try") 2>&5
2942 ac_status=$?
2943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2944 test $ac_status = 0; }; }; then :
2945 ac_retval=0
2946 else
2947 $as_echo "$as_me: program exited with status $ac_status" >&5
2948 $as_echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.$ac_ext >&5
2951 ac_retval=$ac_status
2953 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2955 as_fn_set_status $ac_retval
2957 } # ac_fn_c_try_run
2959 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2960 # -------------------------------------------------------
2961 # Tests whether HEADER exists and can be compiled using the include files in
2962 # INCLUDES, setting the cache variable VAR accordingly.
2963 ac_fn_c_check_header_compile ()
2965 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2967 $as_echo_n "checking for $2... " >&6; }
2968 if eval \${$3+:} false; then :
2969 $as_echo_n "(cached) " >&6
2970 else
2971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2972 /* end confdefs.h. */
2974 #include <$2>
2975 _ACEOF
2976 if ac_fn_c_try_compile "$LINENO"; then :
2977 eval "$3=yes"
2978 else
2979 eval "$3=no"
2981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2983 eval ac_res=\$$3
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2985 $as_echo "$ac_res" >&6; }
2986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2988 } # ac_fn_c_check_header_compile
2990 # ac_fn_c_check_func LINENO FUNC VAR
2991 # ----------------------------------
2992 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2993 ac_fn_c_check_func ()
2995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2997 $as_echo_n "checking for $2... " >&6; }
2998 if eval \${$3+:} false; then :
2999 $as_echo_n "(cached) " >&6
3000 else
3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3003 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3005 #define $2 innocuous_$2
3007 /* System header to define __stub macros and hopefully few prototypes,
3008 which can conflict with char $2 (); below.
3009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3010 <limits.h> exists even on freestanding compilers. */
3012 #ifdef __STDC__
3013 # include <limits.h>
3014 #else
3015 # include <assert.h>
3016 #endif
3018 #undef $2
3020 /* Override any GCC internal prototype to avoid an error.
3021 Use char because int might match the return type of a GCC
3022 builtin and then its argument prototype would still apply. */
3023 #ifdef __cplusplus
3024 extern "C"
3025 #endif
3026 char $2 ();
3027 /* The GNU C library defines this for functions which it implements
3028 to always fail with ENOSYS. Some functions are actually named
3029 something starting with __ and the normal name is an alias. */
3030 #if defined __stub_$2 || defined __stub___$2
3031 choke me
3032 #endif
3035 main ()
3037 return $2 ();
3039 return 0;
3041 _ACEOF
3042 if ac_fn_c_try_link "$LINENO"; then :
3043 eval "$3=yes"
3044 else
3045 eval "$3=no"
3047 rm -f core conftest.err conftest.$ac_objext \
3048 conftest$ac_exeext conftest.$ac_ext
3050 eval ac_res=\$$3
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3052 $as_echo "$ac_res" >&6; }
3053 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3055 } # ac_fn_c_check_func
3057 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3058 # ----------------------------------------------------
3059 # Tries to find if the field MEMBER exists in type AGGR, after including
3060 # INCLUDES, setting cache variable VAR accordingly.
3061 ac_fn_c_check_member ()
3063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3065 $as_echo_n "checking for $2.$3... " >&6; }
3066 if eval \${$4+:} false; then :
3067 $as_echo_n "(cached) " >&6
3068 else
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3073 main ()
3075 static $2 ac_aggr;
3076 if (ac_aggr.$3)
3077 return 0;
3079 return 0;
3081 _ACEOF
3082 if ac_fn_c_try_compile "$LINENO"; then :
3083 eval "$4=yes"
3084 else
3085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3089 main ()
3091 static $2 ac_aggr;
3092 if (sizeof ac_aggr.$3)
3093 return 0;
3095 return 0;
3097 _ACEOF
3098 if ac_fn_c_try_compile "$LINENO"; then :
3099 eval "$4=yes"
3100 else
3101 eval "$4=no"
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3107 eval ac_res=\$$4
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3109 $as_echo "$ac_res" >&6; }
3110 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3112 } # ac_fn_c_check_member
3114 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3115 # -------------------------------------------
3116 # Tests whether TYPE exists after having included INCLUDES, setting cache
3117 # variable VAR accordingly.
3118 ac_fn_c_check_type ()
3120 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3122 $as_echo_n "checking for $2... " >&6; }
3123 if eval \${$3+:} false; then :
3124 $as_echo_n "(cached) " >&6
3125 else
3126 eval "$3=no"
3127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3128 /* end confdefs.h. */
3131 main ()
3133 if (sizeof ($2))
3134 return 0;
3136 return 0;
3138 _ACEOF
3139 if ac_fn_c_try_compile "$LINENO"; then :
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3144 main ()
3146 if (sizeof (($2)))
3147 return 0;
3149 return 0;
3151 _ACEOF
3152 if ac_fn_c_try_compile "$LINENO"; then :
3154 else
3155 eval "$3=yes"
3157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3161 eval ac_res=\$$3
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3163 $as_echo "$ac_res" >&6; }
3164 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3166 } # ac_fn_c_check_type
3167 cat >config.log <<_ACEOF
3168 This file contains any messages produced by compilers while
3169 running configure, to aid debugging if configure makes a mistake.
3171 It was created by Wine $as_me 3.3, which was
3172 generated by GNU Autoconf 2.69. Invocation command line was
3174 $ $0 $@
3176 _ACEOF
3177 exec 5>>config.log
3179 cat <<_ASUNAME
3180 ## --------- ##
3181 ## Platform. ##
3182 ## --------- ##
3184 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3185 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3186 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3187 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3188 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3190 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3191 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3193 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3194 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3195 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3196 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3197 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3198 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3199 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3201 _ASUNAME
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 for as_dir in $PATH
3206 IFS=$as_save_IFS
3207 test -z "$as_dir" && as_dir=.
3208 $as_echo "PATH: $as_dir"
3209 done
3210 IFS=$as_save_IFS
3212 } >&5
3214 cat >&5 <<_ACEOF
3217 ## ----------- ##
3218 ## Core tests. ##
3219 ## ----------- ##
3221 _ACEOF
3224 # Keep a trace of the command line.
3225 # Strip out --no-create and --no-recursion so they do not pile up.
3226 # Strip out --silent because we don't want to record it for future runs.
3227 # Also quote any args containing shell meta-characters.
3228 # Make two passes to allow for proper duplicate-argument suppression.
3229 ac_configure_args=
3230 ac_configure_args0=
3231 ac_configure_args1=
3232 ac_must_keep_next=false
3233 for ac_pass in 1 2
3235 for ac_arg
3237 case $ac_arg in
3238 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3239 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3240 | -silent | --silent | --silen | --sile | --sil)
3241 continue ;;
3242 *\'*)
3243 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3244 esac
3245 case $ac_pass in
3246 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3248 as_fn_append ac_configure_args1 " '$ac_arg'"
3249 if test $ac_must_keep_next = true; then
3250 ac_must_keep_next=false # Got value, back to normal.
3251 else
3252 case $ac_arg in
3253 *=* | --config-cache | -C | -disable-* | --disable-* \
3254 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3255 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3256 | -with-* | --with-* | -without-* | --without-* | --x)
3257 case "$ac_configure_args0 " in
3258 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3259 esac
3261 -* ) ac_must_keep_next=true ;;
3262 esac
3264 as_fn_append ac_configure_args " '$ac_arg'"
3266 esac
3267 done
3268 done
3269 { ac_configure_args0=; unset ac_configure_args0;}
3270 { ac_configure_args1=; unset ac_configure_args1;}
3272 # When interrupted or exit'd, cleanup temporary files, and complete
3273 # config.log. We remove comments because anyway the quotes in there
3274 # would cause problems or look ugly.
3275 # WARNING: Use '\'' to represent an apostrophe within the trap.
3276 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3277 trap 'exit_status=$?
3278 # Save into config.log some information that might help in debugging.
3280 echo
3282 $as_echo "## ---------------- ##
3283 ## Cache variables. ##
3284 ## ---------------- ##"
3285 echo
3286 # The following way of writing the cache mishandles newlines in values,
3288 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3289 eval ac_val=\$$ac_var
3290 case $ac_val in #(
3291 *${as_nl}*)
3292 case $ac_var in #(
3293 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3294 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3295 esac
3296 case $ac_var in #(
3297 _ | IFS | as_nl) ;; #(
3298 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3299 *) { eval $ac_var=; unset $ac_var;} ;;
3300 esac ;;
3301 esac
3302 done
3303 (set) 2>&1 |
3304 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3305 *${as_nl}ac_space=\ *)
3306 sed -n \
3307 "s/'\''/'\''\\\\'\'''\''/g;
3308 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3309 ;; #(
3311 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3313 esac |
3314 sort
3316 echo
3318 $as_echo "## ----------------- ##
3319 ## Output variables. ##
3320 ## ----------------- ##"
3321 echo
3322 for ac_var in $ac_subst_vars
3324 eval ac_val=\$$ac_var
3325 case $ac_val in
3326 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3327 esac
3328 $as_echo "$ac_var='\''$ac_val'\''"
3329 done | sort
3330 echo
3332 if test -n "$ac_subst_files"; then
3333 $as_echo "## ------------------- ##
3334 ## File substitutions. ##
3335 ## ------------------- ##"
3336 echo
3337 for ac_var in $ac_subst_files
3339 eval ac_val=\$$ac_var
3340 case $ac_val in
3341 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3342 esac
3343 $as_echo "$ac_var='\''$ac_val'\''"
3344 done | sort
3345 echo
3348 if test -s confdefs.h; then
3349 $as_echo "## ----------- ##
3350 ## confdefs.h. ##
3351 ## ----------- ##"
3352 echo
3353 cat confdefs.h
3354 echo
3356 test "$ac_signal" != 0 &&
3357 $as_echo "$as_me: caught signal $ac_signal"
3358 $as_echo "$as_me: exit $exit_status"
3359 } >&5
3360 rm -f core *.core core.conftest.* &&
3361 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3362 exit $exit_status
3364 for ac_signal in 1 2 13 15; do
3365 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3366 done
3367 ac_signal=0
3369 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3370 rm -f -r conftest* confdefs.h
3372 $as_echo "/* confdefs.h */" > confdefs.h
3374 # Predefined preprocessor variables.
3376 cat >>confdefs.h <<_ACEOF
3377 #define PACKAGE_NAME "$PACKAGE_NAME"
3378 _ACEOF
3380 cat >>confdefs.h <<_ACEOF
3381 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3382 _ACEOF
3384 cat >>confdefs.h <<_ACEOF
3385 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3386 _ACEOF
3388 cat >>confdefs.h <<_ACEOF
3389 #define PACKAGE_STRING "$PACKAGE_STRING"
3390 _ACEOF
3392 cat >>confdefs.h <<_ACEOF
3393 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3394 _ACEOF
3396 cat >>confdefs.h <<_ACEOF
3397 #define PACKAGE_URL "$PACKAGE_URL"
3398 _ACEOF
3401 # Let the site file select an alternate cache file if it wants to.
3402 # Prefer an explicitly selected file to automatically selected ones.
3403 ac_site_file1=NONE
3404 ac_site_file2=NONE
3405 if test -n "$CONFIG_SITE"; then
3406 # We do not want a PATH search for config.site.
3407 case $CONFIG_SITE in #((
3408 -*) ac_site_file1=./$CONFIG_SITE;;
3409 */*) ac_site_file1=$CONFIG_SITE;;
3410 *) ac_site_file1=./$CONFIG_SITE;;
3411 esac
3412 elif test "x$prefix" != xNONE; then
3413 ac_site_file1=$prefix/share/config.site
3414 ac_site_file2=$prefix/etc/config.site
3415 else
3416 ac_site_file1=$ac_default_prefix/share/config.site
3417 ac_site_file2=$ac_default_prefix/etc/config.site
3419 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3421 test "x$ac_site_file" = xNONE && continue
3422 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3424 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3425 sed 's/^/| /' "$ac_site_file" >&5
3426 . "$ac_site_file" \
3427 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3429 as_fn_error $? "failed to load site script $ac_site_file
3430 See \`config.log' for more details" "$LINENO" 5; }
3432 done
3434 if test -r "$cache_file"; then
3435 # Some versions of bash will fail to source /dev/null (special files
3436 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3437 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3439 $as_echo "$as_me: loading cache $cache_file" >&6;}
3440 case $cache_file in
3441 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3442 *) . "./$cache_file";;
3443 esac
3445 else
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3447 $as_echo "$as_me: creating cache $cache_file" >&6;}
3448 >$cache_file
3451 # Check that the precious variables saved in the cache have kept the same
3452 # value.
3453 ac_cache_corrupted=false
3454 for ac_var in $ac_precious_vars; do
3455 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3456 eval ac_new_set=\$ac_env_${ac_var}_set
3457 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3458 eval ac_new_val=\$ac_env_${ac_var}_value
3459 case $ac_old_set,$ac_new_set in
3460 set,)
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3462 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3463 ac_cache_corrupted=: ;;
3464 ,set)
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3466 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3467 ac_cache_corrupted=: ;;
3468 ,);;
3470 if test "x$ac_old_val" != "x$ac_new_val"; then
3471 # differences in whitespace do not lead to failure.
3472 ac_old_val_w=`echo x $ac_old_val`
3473 ac_new_val_w=`echo x $ac_new_val`
3474 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3476 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3477 ac_cache_corrupted=:
3478 else
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3480 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3481 eval $ac_var=\$ac_old_val
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3484 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3486 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3487 fi;;
3488 esac
3489 # Pass precious variables to config.status.
3490 if test "$ac_new_set" = set; then
3491 case $ac_new_val in
3492 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3493 *) ac_arg=$ac_var=$ac_new_val ;;
3494 esac
3495 case " $ac_configure_args " in
3496 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3497 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3498 esac
3500 done
3501 if $ac_cache_corrupted; then
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3505 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3506 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3508 ## -------------------- ##
3509 ## Main body of script. ##
3510 ## -------------------- ##
3512 ac_ext=c
3513 ac_cpp='$CPP $CPPFLAGS'
3514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3520 ac_config_headers="$ac_config_headers include/config.h"
3522 ac_aux_dir=
3523 for ac_dir in tools "$srcdir"/tools; do
3524 if test -f "$ac_dir/install-sh"; then
3525 ac_aux_dir=$ac_dir
3526 ac_install_sh="$ac_aux_dir/install-sh -c"
3527 break
3528 elif 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/shtool"; then
3533 ac_aux_dir=$ac_dir
3534 ac_install_sh="$ac_aux_dir/shtool install -c"
3535 break
3537 done
3538 if test -z "$ac_aux_dir"; then
3539 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3542 # These three variables are undocumented and unsupported,
3543 # and are intended to be withdrawn in a future Autoconf release.
3544 # They can cause serious problems if a builder's source tree is in a directory
3545 # whose full name contains unusual characters.
3546 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3547 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3548 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3552 libwine_version="1.0"
3556 # Check whether --enable-win16 was given.
3557 if test "${enable_win16+set}" = set; then :
3558 enableval=$enable_win16;
3561 # Check whether --enable-win64 was given.
3562 if test "${enable_win64+set}" = set; then :
3563 enableval=$enable_win64;
3566 # Check whether --enable-tests was given.
3567 if test "${enable_tests+set}" = set; then :
3568 enableval=$enable_tests;
3571 # Check whether --enable-maintainer-mode was given.
3572 if test "${enable_maintainer_mode+set}" = set; then :
3573 enableval=$enable_maintainer_mode;
3578 # Check whether --with-alsa was given.
3579 if test "${with_alsa+set}" = set; then :
3580 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3584 # Check whether --with-capi was given.
3585 if test "${with_capi+set}" = set; then :
3586 withval=$with_capi;
3590 # Check whether --with-cms was given.
3591 if test "${with_cms+set}" = set; then :
3592 withval=$with_cms;
3596 # Check whether --with-coreaudio was given.
3597 if test "${with_coreaudio+set}" = set; then :
3598 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3602 # Check whether --with-cups was given.
3603 if test "${with_cups+set}" = set; then :
3604 withval=$with_cups;
3608 # Check whether --with-curses was given.
3609 if test "${with_curses+set}" = set; then :
3610 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3614 # Check whether --with-dbus was given.
3615 if test "${with_dbus+set}" = set; then :
3616 withval=$with_dbus;
3620 # Check whether --with-float-abi was given.
3621 if test "${with_float_abi+set}" = set; then :
3622 withval=$with_float_abi;
3626 # Check whether --with-fontconfig was given.
3627 if test "${with_fontconfig+set}" = set; then :
3628 withval=$with_fontconfig;
3632 # Check whether --with-freetype was given.
3633 if test "${with_freetype+set}" = set; then :
3634 withval=$with_freetype;
3638 # Check whether --with-gettext was given.
3639 if test "${with_gettext+set}" = set; then :
3640 withval=$with_gettext;
3644 # Check whether --with-gettextpo was given.
3645 if test "${with_gettextpo+set}" = set; then :
3646 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3650 # Check whether --with-gphoto was given.
3651 if test "${with_gphoto+set}" = set; then :
3652 withval=$with_gphoto;
3656 # Check whether --with-glu was given.
3657 if test "${with_glu+set}" = set; then :
3658 withval=$with_glu;
3662 # Check whether --with-gnutls was given.
3663 if test "${with_gnutls+set}" = set; then :
3664 withval=$with_gnutls;
3668 # Check whether --with-gsm was given.
3669 if test "${with_gsm+set}" = set; then :
3670 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3674 # Check whether --with-gssapi was given.
3675 if test "${with_gssapi+set}" = set; then :
3676 withval=$with_gssapi;
3680 # Check whether --with-gstreamer was given.
3681 if test "${with_gstreamer+set}" = set; then :
3682 withval=$with_gstreamer;
3686 # Check whether --with-hal was given.
3687 if test "${with_hal+set}" = set; then :
3688 withval=$with_hal;
3692 # Check whether --with-jpeg was given.
3693 if test "${with_jpeg+set}" = set; then :
3694 withval=$with_jpeg;
3698 # Check whether --with-krb5 was given.
3699 if test "${with_krb5+set}" = set; then :
3700 withval=$with_krb5;
3704 # Check whether --with-ldap was given.
3705 if test "${with_ldap+set}" = set; then :
3706 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3710 # Check whether --with-mpg123 was given.
3711 if test "${with_mpg123+set}" = set; then :
3712 withval=$with_mpg123;
3716 # Check whether --with-netapi was given.
3717 if test "${with_netapi+set}" = set; then :
3718 withval=$with_netapi;
3722 # Check whether --with-openal was given.
3723 if test "${with_openal+set}" = set; then :
3724 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3728 # Check whether --with-opencl was given.
3729 if test "${with_opencl+set}" = set; then :
3730 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3734 # Check whether --with-opengl was given.
3735 if test "${with_opengl+set}" = set; then :
3736 withval=$with_opengl;
3740 # Check whether --with-osmesa was given.
3741 if test "${with_osmesa+set}" = set; then :
3742 withval=$with_osmesa;
3746 # Check whether --with-oss was given.
3747 if test "${with_oss+set}" = set; then :
3748 withval=$with_oss;
3752 # Check whether --with-pcap was given.
3753 if test "${with_pcap+set}" = set; then :
3754 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3758 # Check whether --with-png was given.
3759 if test "${with_png+set}" = set; then :
3760 withval=$with_png;
3764 # Check whether --with-pthread was given.
3765 if test "${with_pthread+set}" = set; then :
3766 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3770 # Check whether --with-pulse was given.
3771 if test "${with_pulse+set}" = set; then :
3772 withval=$with_pulse;
3776 # Check whether --with-sane was given.
3777 if test "${with_sane+set}" = set; then :
3778 withval=$with_sane;
3782 # Check whether --with-sdl was given.
3783 if test "${with_sdl+set}" = set; then :
3784 withval=$with_sdl;
3788 # Check whether --with-tiff was given.
3789 if test "${with_tiff+set}" = set; then :
3790 withval=$with_tiff;
3794 # Check whether --with-udev was given.
3795 if test "${with_udev+set}" = set; then :
3796 withval=$with_udev;
3800 # Check whether --with-v4l was given.
3801 if test "${with_v4l+set}" = set; then :
3802 withval=$with_v4l;
3806 # Check whether --with-vulkan was given.
3807 if test "${with_vulkan+set}" = set; then :
3808 withval=$with_vulkan;
3812 # Check whether --with-xcomposite was given.
3813 if test "${with_xcomposite+set}" = set; then :
3814 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3818 # Check whether --with-xcursor was given.
3819 if test "${with_xcursor+set}" = set; then :
3820 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3824 # Check whether --with-xfixes was given.
3825 if test "${with_xfixes+set}" = set; then :
3826 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3830 # Check whether --with-xinerama was given.
3831 if test "${with_xinerama+set}" = set; then :
3832 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3836 # Check whether --with-xinput was given.
3837 if test "${with_xinput+set}" = set; then :
3838 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3842 # Check whether --with-xinput2 was given.
3843 if test "${with_xinput2+set}" = set; then :
3844 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3848 # Check whether --with-xml was given.
3849 if test "${with_xml+set}" = set; then :
3850 withval=$with_xml;
3854 # Check whether --with-xrandr was given.
3855 if test "${with_xrandr+set}" = set; then :
3856 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3860 # Check whether --with-xrender was given.
3861 if test "${with_xrender+set}" = set; then :
3862 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3866 # Check whether --with-xshape was given.
3867 if test "${with_xshape+set}" = set; then :
3868 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3872 # Check whether --with-xshm was given.
3873 if test "${with_xshm+set}" = set; then :
3874 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3878 # Check whether --with-xslt was given.
3879 if test "${with_xslt+set}" = set; then :
3880 withval=$with_xslt;
3884 # Check whether --with-xxf86vm was given.
3885 if test "${with_xxf86vm+set}" = set; then :
3886 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
3890 # Check whether --with-zlib was given.
3891 if test "${with_zlib+set}" = set; then :
3892 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3897 # Check whether --with-wine-tools was given.
3898 if test "${with_wine_tools+set}" = set; then :
3899 withval=$with_wine_tools;
3903 # Check whether --with-wine64 was given.
3904 if test "${with_wine64+set}" = set; then :
3905 withval=$with_wine64;
3909 # Make sure we can run config.sub.
3910 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3911 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3914 $as_echo_n "checking build system type... " >&6; }
3915 if ${ac_cv_build+:} false; then :
3916 $as_echo_n "(cached) " >&6
3917 else
3918 ac_build_alias=$build_alias
3919 test "x$ac_build_alias" = x &&
3920 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3921 test "x$ac_build_alias" = x &&
3922 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3923 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3924 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3928 $as_echo "$ac_cv_build" >&6; }
3929 case $ac_cv_build in
3930 *-*-*) ;;
3931 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3932 esac
3933 build=$ac_cv_build
3934 ac_save_IFS=$IFS; IFS='-'
3935 set x $ac_cv_build
3936 shift
3937 build_cpu=$1
3938 build_vendor=$2
3939 shift; shift
3940 # Remember, the first character of IFS is used to create $*,
3941 # except with old shells:
3942 build_os=$*
3943 IFS=$ac_save_IFS
3944 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3948 $as_echo_n "checking host system type... " >&6; }
3949 if ${ac_cv_host+:} false; then :
3950 $as_echo_n "(cached) " >&6
3951 else
3952 if test "x$host_alias" = x; then
3953 ac_cv_host=$ac_cv_build
3954 else
3955 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3956 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3961 $as_echo "$ac_cv_host" >&6; }
3962 case $ac_cv_host in
3963 *-*-*) ;;
3964 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3965 esac
3966 host=$ac_cv_host
3967 ac_save_IFS=$IFS; IFS='-'
3968 set x $ac_cv_host
3969 shift
3970 host_cpu=$1
3971 host_vendor=$2
3972 shift; shift
3973 # Remember, the first character of IFS is used to create $*,
3974 # except with old shells:
3975 host_os=$*
3976 IFS=$ac_save_IFS
3977 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3981 case "$srcdir" in
3982 .) ;;
3983 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3984 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3985 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3986 fi ;;
3987 esac
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3991 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3992 set x ${MAKE-make}
3993 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3994 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3995 $as_echo_n "(cached) " >&6
3996 else
3997 cat >conftest.make <<\_ACEOF
3998 SHELL = /bin/sh
3999 all:
4000 @echo '@@@%%%=$(MAKE)=@@@%%%'
4001 _ACEOF
4002 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4003 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4004 *@@@%%%=?*=@@@%%%*)
4005 eval ac_cv_prog_make_${ac_make}_set=yes;;
4007 eval ac_cv_prog_make_${ac_make}_set=no;;
4008 esac
4009 rm -f conftest.make
4011 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4013 $as_echo "yes" >&6; }
4014 SET_MAKE=
4015 else
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4018 SET_MAKE="MAKE=${MAKE-make}"
4021 ac_ext=c
4022 ac_cpp='$CPP $CPPFLAGS'
4023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4026 if test -n "$ac_tool_prefix"; then
4027 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4028 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4030 $as_echo_n "checking for $ac_word... " >&6; }
4031 if ${ac_cv_prog_CC+:} false; then :
4032 $as_echo_n "(cached) " >&6
4033 else
4034 if test -n "$CC"; then
4035 ac_cv_prog_CC="$CC" # Let the user override the test.
4036 else
4037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4038 for as_dir in $PATH
4040 IFS=$as_save_IFS
4041 test -z "$as_dir" && as_dir=.
4042 for ac_exec_ext in '' $ac_executable_extensions; do
4043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4044 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 break 2
4048 done
4049 done
4050 IFS=$as_save_IFS
4054 CC=$ac_cv_prog_CC
4055 if test -n "$CC"; then
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4057 $as_echo "$CC" >&6; }
4058 else
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060 $as_echo "no" >&6; }
4065 if test -z "$ac_cv_prog_CC"; then
4066 ac_ct_CC=$CC
4067 # Extract the first word of "gcc", so it can be a program name with args.
4068 set dummy gcc; ac_word=$2
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070 $as_echo_n "checking for $ac_word... " >&6; }
4071 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4072 $as_echo_n "(cached) " >&6
4073 else
4074 if test -n "$ac_ct_CC"; then
4075 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4076 else
4077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078 for as_dir in $PATH
4080 IFS=$as_save_IFS
4081 test -z "$as_dir" && as_dir=.
4082 for ac_exec_ext in '' $ac_executable_extensions; do
4083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4084 ac_cv_prog_ac_ct_CC="gcc"
4085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 break 2
4088 done
4089 done
4090 IFS=$as_save_IFS
4094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4095 if test -n "$ac_ct_CC"; then
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4097 $as_echo "$ac_ct_CC" >&6; }
4098 else
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100 $as_echo "no" >&6; }
4103 if test "x$ac_ct_CC" = x; then
4104 CC=""
4105 else
4106 case $cross_compiling:$ac_tool_warned in
4107 yes:)
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4110 ac_tool_warned=yes ;;
4111 esac
4112 CC=$ac_ct_CC
4114 else
4115 CC="$ac_cv_prog_CC"
4118 if test -z "$CC"; then
4119 if test -n "$ac_tool_prefix"; then
4120 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4121 set dummy ${ac_tool_prefix}cc; ac_word=$2
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4123 $as_echo_n "checking for $ac_word... " >&6; }
4124 if ${ac_cv_prog_CC+:} false; then :
4125 $as_echo_n "(cached) " >&6
4126 else
4127 if test -n "$CC"; then
4128 ac_cv_prog_CC="$CC" # Let the user override the test.
4129 else
4130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4131 for as_dir in $PATH
4133 IFS=$as_save_IFS
4134 test -z "$as_dir" && as_dir=.
4135 for ac_exec_ext in '' $ac_executable_extensions; do
4136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4137 ac_cv_prog_CC="${ac_tool_prefix}cc"
4138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4139 break 2
4141 done
4142 done
4143 IFS=$as_save_IFS
4147 CC=$ac_cv_prog_CC
4148 if test -n "$CC"; then
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4150 $as_echo "$CC" >&6; }
4151 else
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4153 $as_echo "no" >&6; }
4159 if test -z "$CC"; then
4160 # Extract the first word of "cc", so it can be a program name with args.
4161 set dummy cc; ac_word=$2
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4163 $as_echo_n "checking for $ac_word... " >&6; }
4164 if ${ac_cv_prog_CC+:} false; then :
4165 $as_echo_n "(cached) " >&6
4166 else
4167 if test -n "$CC"; then
4168 ac_cv_prog_CC="$CC" # Let the user override the test.
4169 else
4170 ac_prog_rejected=no
4171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4172 for as_dir in $PATH
4174 IFS=$as_save_IFS
4175 test -z "$as_dir" && as_dir=.
4176 for ac_exec_ext in '' $ac_executable_extensions; do
4177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4178 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4179 ac_prog_rejected=yes
4180 continue
4182 ac_cv_prog_CC="cc"
4183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184 break 2
4186 done
4187 done
4188 IFS=$as_save_IFS
4190 if test $ac_prog_rejected = yes; then
4191 # We found a bogon in the path, so make sure we never use it.
4192 set dummy $ac_cv_prog_CC
4193 shift
4194 if test $# != 0; then
4195 # We chose a different compiler from the bogus one.
4196 # However, it has the same basename, so the bogon will be chosen
4197 # first if we set CC to just the basename; use the full file name.
4198 shift
4199 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4204 CC=$ac_cv_prog_CC
4205 if test -n "$CC"; then
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4207 $as_echo "$CC" >&6; }
4208 else
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4210 $as_echo "no" >&6; }
4215 if test -z "$CC"; then
4216 if test -n "$ac_tool_prefix"; then
4217 for ac_prog in cl.exe
4219 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4220 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4222 $as_echo_n "checking for $ac_word... " >&6; }
4223 if ${ac_cv_prog_CC+:} false; then :
4224 $as_echo_n "(cached) " >&6
4225 else
4226 if test -n "$CC"; then
4227 ac_cv_prog_CC="$CC" # Let the user override the test.
4228 else
4229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4230 for as_dir in $PATH
4232 IFS=$as_save_IFS
4233 test -z "$as_dir" && as_dir=.
4234 for ac_exec_ext in '' $ac_executable_extensions; do
4235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4236 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4238 break 2
4240 done
4241 done
4242 IFS=$as_save_IFS
4246 CC=$ac_cv_prog_CC
4247 if test -n "$CC"; then
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4249 $as_echo "$CC" >&6; }
4250 else
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4252 $as_echo "no" >&6; }
4256 test -n "$CC" && break
4257 done
4259 if test -z "$CC"; then
4260 ac_ct_CC=$CC
4261 for ac_prog in cl.exe
4263 # Extract the first word of "$ac_prog", so it can be a program name with args.
4264 set dummy $ac_prog; ac_word=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4268 $as_echo_n "(cached) " >&6
4269 else
4270 if test -n "$ac_ct_CC"; then
4271 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4272 else
4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4274 for as_dir in $PATH
4276 IFS=$as_save_IFS
4277 test -z "$as_dir" && as_dir=.
4278 for ac_exec_ext in '' $ac_executable_extensions; do
4279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4280 ac_cv_prog_ac_ct_CC="$ac_prog"
4281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4282 break 2
4284 done
4285 done
4286 IFS=$as_save_IFS
4290 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4291 if test -n "$ac_ct_CC"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4293 $as_echo "$ac_ct_CC" >&6; }
4294 else
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4300 test -n "$ac_ct_CC" && break
4301 done
4303 if test "x$ac_ct_CC" = x; then
4304 CC=""
4305 else
4306 case $cross_compiling:$ac_tool_warned in
4307 yes:)
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4310 ac_tool_warned=yes ;;
4311 esac
4312 CC=$ac_ct_CC
4319 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4321 as_fn_error $? "no acceptable C compiler found in \$PATH
4322 See \`config.log' for more details" "$LINENO" 5; }
4324 # Provide some information about the compiler.
4325 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4326 set X $ac_compile
4327 ac_compiler=$2
4328 for ac_option in --version -v -V -qversion; do
4329 { { ac_try="$ac_compiler $ac_option >&5"
4330 case "(($ac_try" in
4331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4332 *) ac_try_echo=$ac_try;;
4333 esac
4334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4335 $as_echo "$ac_try_echo"; } >&5
4336 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4337 ac_status=$?
4338 if test -s conftest.err; then
4339 sed '10a\
4340 ... rest of stderr output deleted ...
4341 10q' conftest.err >conftest.er1
4342 cat conftest.er1 >&5
4344 rm -f conftest.er1 conftest.err
4345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4346 test $ac_status = 0; }
4347 done
4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4353 main ()
4357 return 0;
4359 _ACEOF
4360 ac_clean_files_save=$ac_clean_files
4361 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4362 # Try to create an executable without -o first, disregard a.out.
4363 # It will help us diagnose broken compilers, and finding out an intuition
4364 # of exeext.
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4366 $as_echo_n "checking whether the C compiler works... " >&6; }
4367 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4369 # The possible output files:
4370 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4372 ac_rmfiles=
4373 for ac_file in $ac_files
4375 case $ac_file in
4376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4377 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4378 esac
4379 done
4380 rm -f $ac_rmfiles
4382 if { { ac_try="$ac_link_default"
4383 case "(($ac_try" in
4384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4385 *) ac_try_echo=$ac_try;;
4386 esac
4387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4388 $as_echo "$ac_try_echo"; } >&5
4389 (eval "$ac_link_default") 2>&5
4390 ac_status=$?
4391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4392 test $ac_status = 0; }; then :
4393 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4394 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4395 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4396 # so that the user can short-circuit this test for compilers unknown to
4397 # Autoconf.
4398 for ac_file in $ac_files ''
4400 test -f "$ac_file" || continue
4401 case $ac_file in
4402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4404 [ab].out )
4405 # We found the default executable, but exeext='' is most
4406 # certainly right.
4407 break;;
4408 *.* )
4409 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4410 then :; else
4411 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4413 # We set ac_cv_exeext here because the later test for it is not
4414 # safe: cross compilers may not add the suffix if given an `-o'
4415 # argument, so we may need to know it at that point already.
4416 # Even if this section looks crufty: it has the advantage of
4417 # actually working.
4418 break;;
4420 break;;
4421 esac
4422 done
4423 test "$ac_cv_exeext" = no && ac_cv_exeext=
4425 else
4426 ac_file=''
4428 if test -z "$ac_file"; then :
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4430 $as_echo "no" >&6; }
4431 $as_echo "$as_me: failed program was:" >&5
4432 sed 's/^/| /' conftest.$ac_ext >&5
4434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4436 as_fn_error 77 "C compiler cannot create executables
4437 See \`config.log' for more details" "$LINENO" 5; }
4438 else
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4440 $as_echo "yes" >&6; }
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4443 $as_echo_n "checking for C compiler default output file name... " >&6; }
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4445 $as_echo "$ac_file" >&6; }
4446 ac_exeext=$ac_cv_exeext
4448 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4449 ac_clean_files=$ac_clean_files_save
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4451 $as_echo_n "checking for suffix of executables... " >&6; }
4452 if { { ac_try="$ac_link"
4453 case "(($ac_try" in
4454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4455 *) ac_try_echo=$ac_try;;
4456 esac
4457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4458 $as_echo "$ac_try_echo"; } >&5
4459 (eval "$ac_link") 2>&5
4460 ac_status=$?
4461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4462 test $ac_status = 0; }; then :
4463 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4464 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4465 # work properly (i.e., refer to `conftest.exe'), while it won't with
4466 # `rm'.
4467 for ac_file in conftest.exe conftest conftest.*; do
4468 test -f "$ac_file" || continue
4469 case $ac_file in
4470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4471 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4472 break;;
4473 * ) break;;
4474 esac
4475 done
4476 else
4477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4479 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4480 See \`config.log' for more details" "$LINENO" 5; }
4482 rm -f conftest conftest$ac_cv_exeext
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4484 $as_echo "$ac_cv_exeext" >&6; }
4486 rm -f conftest.$ac_ext
4487 EXEEXT=$ac_cv_exeext
4488 ac_exeext=$EXEEXT
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4491 #include <stdio.h>
4493 main ()
4495 FILE *f = fopen ("conftest.out", "w");
4496 return ferror (f) || fclose (f) != 0;
4499 return 0;
4501 _ACEOF
4502 ac_clean_files="$ac_clean_files conftest.out"
4503 # Check that the compiler produces executables we can run. If not, either
4504 # the compiler is broken, or we cross compile.
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4506 $as_echo_n "checking whether we are cross compiling... " >&6; }
4507 if test "$cross_compiling" != yes; then
4508 { { ac_try="$ac_link"
4509 case "(($ac_try" in
4510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4511 *) ac_try_echo=$ac_try;;
4512 esac
4513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4514 $as_echo "$ac_try_echo"; } >&5
4515 (eval "$ac_link") 2>&5
4516 ac_status=$?
4517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4518 test $ac_status = 0; }
4519 if { ac_try='./conftest$ac_cv_exeext'
4520 { { case "(($ac_try" in
4521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4522 *) ac_try_echo=$ac_try;;
4523 esac
4524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4525 $as_echo "$ac_try_echo"; } >&5
4526 (eval "$ac_try") 2>&5
4527 ac_status=$?
4528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4529 test $ac_status = 0; }; }; then
4530 cross_compiling=no
4531 else
4532 if test "$cross_compiling" = maybe; then
4533 cross_compiling=yes
4534 else
4535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4537 as_fn_error $? "cannot run C compiled programs.
4538 If you meant to cross compile, use \`--host'.
4539 See \`config.log' for more details" "$LINENO" 5; }
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4544 $as_echo "$cross_compiling" >&6; }
4546 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4547 ac_clean_files=$ac_clean_files_save
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4549 $as_echo_n "checking for suffix of object files... " >&6; }
4550 if ${ac_cv_objext+:} false; then :
4551 $as_echo_n "(cached) " >&6
4552 else
4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4557 main ()
4561 return 0;
4563 _ACEOF
4564 rm -f conftest.o conftest.obj
4565 if { { ac_try="$ac_compile"
4566 case "(($ac_try" in
4567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4568 *) ac_try_echo=$ac_try;;
4569 esac
4570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4571 $as_echo "$ac_try_echo"; } >&5
4572 (eval "$ac_compile") 2>&5
4573 ac_status=$?
4574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4575 test $ac_status = 0; }; then :
4576 for ac_file in conftest.o conftest.obj conftest.*; do
4577 test -f "$ac_file" || continue;
4578 case $ac_file in
4579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4580 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4581 break;;
4582 esac
4583 done
4584 else
4585 $as_echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.$ac_ext >&5
4588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4590 as_fn_error $? "cannot compute suffix of object files: cannot compile
4591 See \`config.log' for more details" "$LINENO" 5; }
4593 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4596 $as_echo "$ac_cv_objext" >&6; }
4597 OBJEXT=$ac_cv_objext
4598 ac_objext=$OBJEXT
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4600 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4601 if ${ac_cv_c_compiler_gnu+:} false; then :
4602 $as_echo_n "(cached) " >&6
4603 else
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4608 main ()
4610 #ifndef __GNUC__
4611 choke me
4612 #endif
4615 return 0;
4617 _ACEOF
4618 if ac_fn_c_try_compile "$LINENO"; then :
4619 ac_compiler_gnu=yes
4620 else
4621 ac_compiler_gnu=no
4623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4624 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4628 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4629 if test $ac_compiler_gnu = yes; then
4630 GCC=yes
4631 else
4632 GCC=
4634 ac_test_CFLAGS=${CFLAGS+set}
4635 ac_save_CFLAGS=$CFLAGS
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4637 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4638 if ${ac_cv_prog_cc_g+:} false; then :
4639 $as_echo_n "(cached) " >&6
4640 else
4641 ac_save_c_werror_flag=$ac_c_werror_flag
4642 ac_c_werror_flag=yes
4643 ac_cv_prog_cc_g=no
4644 CFLAGS="-g"
4645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4646 /* end confdefs.h. */
4649 main ()
4653 return 0;
4655 _ACEOF
4656 if ac_fn_c_try_compile "$LINENO"; then :
4657 ac_cv_prog_cc_g=yes
4658 else
4659 CFLAGS=""
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4664 main ()
4668 return 0;
4670 _ACEOF
4671 if ac_fn_c_try_compile "$LINENO"; then :
4673 else
4674 ac_c_werror_flag=$ac_save_c_werror_flag
4675 CFLAGS="-g"
4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677 /* end confdefs.h. */
4680 main ()
4684 return 0;
4686 _ACEOF
4687 if ac_fn_c_try_compile "$LINENO"; then :
4688 ac_cv_prog_cc_g=yes
4690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4695 ac_c_werror_flag=$ac_save_c_werror_flag
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4698 $as_echo "$ac_cv_prog_cc_g" >&6; }
4699 if test "$ac_test_CFLAGS" = set; then
4700 CFLAGS=$ac_save_CFLAGS
4701 elif test $ac_cv_prog_cc_g = yes; then
4702 if test "$GCC" = yes; then
4703 CFLAGS="-g -O2"
4704 else
4705 CFLAGS="-g"
4707 else
4708 if test "$GCC" = yes; then
4709 CFLAGS="-O2"
4710 else
4711 CFLAGS=
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4715 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4716 if ${ac_cv_prog_cc_c89+:} false; then :
4717 $as_echo_n "(cached) " >&6
4718 else
4719 ac_cv_prog_cc_c89=no
4720 ac_save_CC=$CC
4721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4722 /* end confdefs.h. */
4723 #include <stdarg.h>
4724 #include <stdio.h>
4725 struct stat;
4726 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4727 struct buf { int x; };
4728 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4729 static char *e (p, i)
4730 char **p;
4731 int i;
4733 return p[i];
4735 static char *f (char * (*g) (char **, int), char **p, ...)
4737 char *s;
4738 va_list v;
4739 va_start (v,p);
4740 s = g (p, va_arg (v,int));
4741 va_end (v);
4742 return s;
4745 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4746 function prototypes and stuff, but not '\xHH' hex character constants.
4747 These don't provoke an error unfortunately, instead are silently treated
4748 as 'x'. The following induces an error, until -std is added to get
4749 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4750 array size at least. It's necessary to write '\x00'==0 to get something
4751 that's true only with -std. */
4752 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4754 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4755 inside strings and character constants. */
4756 #define FOO(x) 'x'
4757 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4759 int test (int i, double x);
4760 struct s1 {int (*f) (int a);};
4761 struct s2 {int (*f) (double a);};
4762 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4763 int argc;
4764 char **argv;
4766 main ()
4768 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4770 return 0;
4772 _ACEOF
4773 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4774 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4776 CC="$ac_save_CC $ac_arg"
4777 if ac_fn_c_try_compile "$LINENO"; then :
4778 ac_cv_prog_cc_c89=$ac_arg
4780 rm -f core conftest.err conftest.$ac_objext
4781 test "x$ac_cv_prog_cc_c89" != "xno" && break
4782 done
4783 rm -f conftest.$ac_ext
4784 CC=$ac_save_CC
4787 # AC_CACHE_VAL
4788 case "x$ac_cv_prog_cc_c89" in
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4791 $as_echo "none needed" >&6; } ;;
4792 xno)
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4794 $as_echo "unsupported" >&6; } ;;
4796 CC="$CC $ac_cv_prog_cc_c89"
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4798 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4799 esac
4800 if test "x$ac_cv_prog_cc_c89" != xno; then :
4804 ac_ext=c
4805 ac_cpp='$CPP $CPPFLAGS'
4806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4810 ac_ext=cpp
4811 ac_cpp='$CXXCPP $CPPFLAGS'
4812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4815 if test -z "$CXX"; then
4816 if test -n "$CCC"; then
4817 CXX=$CCC
4818 else
4819 if test -n "$ac_tool_prefix"; then
4820 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4822 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4823 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4825 $as_echo_n "checking for $ac_word... " >&6; }
4826 if ${ac_cv_prog_CXX+:} false; then :
4827 $as_echo_n "(cached) " >&6
4828 else
4829 if test -n "$CXX"; then
4830 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4831 else
4832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833 for as_dir in $PATH
4835 IFS=$as_save_IFS
4836 test -z "$as_dir" && as_dir=.
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4839 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4841 break 2
4843 done
4844 done
4845 IFS=$as_save_IFS
4849 CXX=$ac_cv_prog_CXX
4850 if test -n "$CXX"; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4852 $as_echo "$CXX" >&6; }
4853 else
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855 $as_echo "no" >&6; }
4859 test -n "$CXX" && break
4860 done
4862 if test -z "$CXX"; then
4863 ac_ct_CXX=$CXX
4864 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4866 # Extract the first word of "$ac_prog", so it can be a program name with args.
4867 set dummy $ac_prog; ac_word=$2
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4869 $as_echo_n "checking for $ac_word... " >&6; }
4870 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4871 $as_echo_n "(cached) " >&6
4872 else
4873 if test -n "$ac_ct_CXX"; then
4874 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4875 else
4876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4877 for as_dir in $PATH
4879 IFS=$as_save_IFS
4880 test -z "$as_dir" && as_dir=.
4881 for ac_exec_ext in '' $ac_executable_extensions; do
4882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4883 ac_cv_prog_ac_ct_CXX="$ac_prog"
4884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 break 2
4887 done
4888 done
4889 IFS=$as_save_IFS
4893 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4894 if test -n "$ac_ct_CXX"; then
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4896 $as_echo "$ac_ct_CXX" >&6; }
4897 else
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4899 $as_echo "no" >&6; }
4903 test -n "$ac_ct_CXX" && break
4904 done
4906 if test "x$ac_ct_CXX" = x; then
4907 CXX="g++"
4908 else
4909 case $cross_compiling:$ac_tool_warned in
4910 yes:)
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4913 ac_tool_warned=yes ;;
4914 esac
4915 CXX=$ac_ct_CXX
4921 # Provide some information about the compiler.
4922 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4923 set X $ac_compile
4924 ac_compiler=$2
4925 for ac_option in --version -v -V -qversion; do
4926 { { ac_try="$ac_compiler $ac_option >&5"
4927 case "(($ac_try" in
4928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4929 *) ac_try_echo=$ac_try;;
4930 esac
4931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4932 $as_echo "$ac_try_echo"; } >&5
4933 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4934 ac_status=$?
4935 if test -s conftest.err; then
4936 sed '10a\
4937 ... rest of stderr output deleted ...
4938 10q' conftest.err >conftest.er1
4939 cat conftest.er1 >&5
4941 rm -f conftest.er1 conftest.err
4942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4943 test $ac_status = 0; }
4944 done
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4947 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4948 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4949 $as_echo_n "(cached) " >&6
4950 else
4951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4952 /* end confdefs.h. */
4955 main ()
4957 #ifndef __GNUC__
4958 choke me
4959 #endif
4962 return 0;
4964 _ACEOF
4965 if ac_fn_cxx_try_compile "$LINENO"; then :
4966 ac_compiler_gnu=yes
4967 else
4968 ac_compiler_gnu=no
4970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4971 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4975 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4976 if test $ac_compiler_gnu = yes; then
4977 GXX=yes
4978 else
4979 GXX=
4981 ac_test_CXXFLAGS=${CXXFLAGS+set}
4982 ac_save_CXXFLAGS=$CXXFLAGS
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4984 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4985 if ${ac_cv_prog_cxx_g+:} false; then :
4986 $as_echo_n "(cached) " >&6
4987 else
4988 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4989 ac_cxx_werror_flag=yes
4990 ac_cv_prog_cxx_g=no
4991 CXXFLAGS="-g"
4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
4996 main ()
5000 return 0;
5002 _ACEOF
5003 if ac_fn_cxx_try_compile "$LINENO"; then :
5004 ac_cv_prog_cxx_g=yes
5005 else
5006 CXXFLAGS=""
5007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5008 /* end confdefs.h. */
5011 main ()
5015 return 0;
5017 _ACEOF
5018 if ac_fn_cxx_try_compile "$LINENO"; then :
5020 else
5021 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5022 CXXFLAGS="-g"
5023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h. */
5027 main ()
5031 return 0;
5033 _ACEOF
5034 if ac_fn_cxx_try_compile "$LINENO"; then :
5035 ac_cv_prog_cxx_g=yes
5037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5042 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5045 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5046 if test "$ac_test_CXXFLAGS" = set; then
5047 CXXFLAGS=$ac_save_CXXFLAGS
5048 elif test $ac_cv_prog_cxx_g = yes; then
5049 if test "$GXX" = yes; then
5050 CXXFLAGS="-g -O2"
5051 else
5052 CXXFLAGS="-g"
5054 else
5055 if test "$GXX" = yes; then
5056 CXXFLAGS="-O2"
5057 else
5058 CXXFLAGS=
5061 ac_ext=c
5062 ac_cpp='$CPP $CPPFLAGS'
5063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5067 if test -n "$ac_tool_prefix"; then
5068 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5069 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if ${ac_cv_prog_CPPBIN+:} false; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$CPPBIN"; then
5076 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5085 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 CPPBIN=$ac_cv_prog_CPPBIN
5096 if test -n "$CPPBIN"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5098 $as_echo "$CPPBIN" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5106 if test -z "$ac_cv_prog_CPPBIN"; then
5107 ac_ct_CPPBIN=$CPPBIN
5108 # Extract the first word of "cpp", so it can be a program name with args.
5109 set dummy cpp; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5113 $as_echo_n "(cached) " >&6
5114 else
5115 if test -n "$ac_ct_CPPBIN"; then
5116 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5117 else
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH
5121 IFS=$as_save_IFS
5122 test -z "$as_dir" && as_dir=.
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_prog_ac_ct_CPPBIN="cpp"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 break 2
5129 done
5130 done
5131 IFS=$as_save_IFS
5135 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5136 if test -n "$ac_ct_CPPBIN"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5138 $as_echo "$ac_ct_CPPBIN" >&6; }
5139 else
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5144 if test "x$ac_ct_CPPBIN" = x; then
5145 CPPBIN="cpp"
5146 else
5147 case $cross_compiling:$ac_tool_warned in
5148 yes:)
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5151 ac_tool_warned=yes ;;
5152 esac
5153 CPPBIN=$ac_ct_CPPBIN
5155 else
5156 CPPBIN="$ac_cv_prog_CPPBIN"
5160 cat >>confdefs.h <<_ACEOF
5161 #define EXEEXT "$ac_exeext"
5162 _ACEOF
5164 if test -n "$ac_tool_prefix"; then
5165 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5166 set dummy ${ac_tool_prefix}ld; ac_word=$2
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if ${ac_cv_prog_LD+:} false; then :
5170 $as_echo_n "(cached) " >&6
5171 else
5172 if test -n "$LD"; then
5173 ac_cv_prog_LD="$LD" # Let the user override the test.
5174 else
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 for as_dir in $PATH
5178 IFS=$as_save_IFS
5179 test -z "$as_dir" && as_dir=.
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_LD="${ac_tool_prefix}ld"
5183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 break 2
5186 done
5187 done
5188 IFS=$as_save_IFS
5192 LD=$ac_cv_prog_LD
5193 if test -n "$LD"; then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5195 $as_echo "$LD" >&6; }
5196 else
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5203 if test -z "$ac_cv_prog_LD"; then
5204 ac_ct_LD=$LD
5205 # Extract the first word of "ld", so it can be a program name with args.
5206 set dummy ld; ac_word=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5210 $as_echo_n "(cached) " >&6
5211 else
5212 if test -n "$ac_ct_LD"; then
5213 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5214 else
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 for as_dir in $PATH
5218 IFS=$as_save_IFS
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_ac_ct_LD="ld"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 break 2
5226 done
5227 done
5228 IFS=$as_save_IFS
5232 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5233 if test -n "$ac_ct_LD"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5235 $as_echo "$ac_ct_LD" >&6; }
5236 else
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5241 if test "x$ac_ct_LD" = x; then
5242 LD=""
5243 else
5244 case $cross_compiling:$ac_tool_warned in
5245 yes:)
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5248 ac_tool_warned=yes ;;
5249 esac
5250 LD=$ac_ct_LD
5252 else
5253 LD="$ac_cv_prog_LD"
5257 case $host in
5258 *-darwin*)
5259 with_fontconfig=${with_fontconfig:-no}
5261 *-mingw32*|*-cygwin*)
5262 enable_win16=${enable_win16:-no}
5263 CFLAGS="$CFLAGS -D_WIN32"
5265 esac
5267 case $host in
5268 x86_64*|amd64*)
5269 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5270 then
5271 CC="$CC -m32"
5272 CXX="$CXX -m32"
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5274 $as_echo_n "checking whether $CC works... " >&6; }
5276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5277 /* end confdefs.h. */
5280 main ()
5284 return 0;
5286 _ACEOF
5287 if ac_fn_c_try_link "$LINENO"; then :
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5289 $as_echo "yes" >&6; }
5290 else
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5292 $as_echo "no" >&6; }
5293 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5295 rm -f core conftest.err conftest.$ac_objext \
5296 conftest$ac_exeext conftest.$ac_ext
5297 host_cpu="i386"
5298 notice_platform="32-bit "
5299 TARGETFLAGS="-m32"
5301 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5302 export PKG_CONFIG_PATH
5303 enable_win16=${enable_win16:-yes}
5304 else
5305 if test "x${GCC}" = "xyes"
5306 then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5308 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5311 #include <stdarg.h>
5313 main ()
5315 void func(__builtin_ms_va_list *args);
5317 return 0;
5319 _ACEOF
5320 if ac_fn_c_try_compile "$LINENO"; then :
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5322 $as_echo "yes" >&6; }
5323 else
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5326 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5330 CC="$CC -m64"
5331 CXX="$CXX -m64"
5332 host_cpu="x86_64"
5333 notice_platform="64-bit "
5334 TARGETFLAGS="-m64"
5338 arm*)
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5340 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5343 int ac_test(int i) { return i; }
5345 main ()
5347 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5349 return 0;
5351 _ACEOF
5352 if ac_fn_c_try_link "$LINENO"; then :
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5354 $as_echo "yes" >&6; }
5355 else
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5358 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5360 rm -f core conftest.err conftest.$ac_objext \
5361 conftest$ac_exeext conftest.$ac_ext
5362 case $with_float_abi in
5363 soft|softfp|hard)
5364 float_abi=$with_float_abi ;;
5366 case $host_os in
5367 *eabihf)
5368 float_abi=hard ;;
5370 float_abi=softfp
5371 saved_CFLAGS=$CFLAGS
5372 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5374 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5376 /* end confdefs.h. */
5379 main ()
5381 asm("vmrs r2,fpscr");
5383 return 0;
5385 _ACEOF
5386 if ac_fn_c_try_link "$LINENO"; then :
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5388 $as_echo "yes" >&6; }
5389 else
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5391 $as_echo "no" >&6; }
5392 float_abi=soft
5393 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5395 rm -f core conftest.err conftest.$ac_objext \
5396 conftest$ac_exeext conftest.$ac_ext
5397 CFLAGS=$saved_CFLAGS
5398 esac
5400 esac
5401 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5402 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5405 i[3456789]86*)
5406 enable_win16=${enable_win16:-yes}
5408 esac
5410 enable_win16=${enable_win16:-no}
5411 enable_win64=${enable_win64:-no}
5413 enable_winetest=${enable_winetest:-$enable_tests}
5415 if test -n "$with_wine64"
5416 then
5417 if test "x$enable_win64" = "xyes"
5418 then
5419 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5420 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5422 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5423 You should create a separate build directory and run configure from there." "$LINENO" 5
5424 enable_fonts=${enable_fonts:-no}
5425 enable_server=${enable_server:-no}
5426 wine64_disable=\#
5428 elif test "x$enable_win64" = "xyes"
5429 then
5430 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5434 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5435 if ${wine_cv_toolsdir+:} false; then :
5436 $as_echo_n "(cached) " >&6
5437 else
5438 wine_cv_toolsdir="$with_wine_tools"
5439 if test -z "$with_wine_tools"; then
5440 if test "$cross_compiling" = "yes"; then
5441 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5442 elif test -n "$with_wine64"; then
5443 wine_cv_toolsdir="$with_wine64"
5446 if test -z "$wine_cv_toolsdir"; then
5447 wine_makedep=tools/makedep
5448 wine_cv_toolsdir="\$(top_builddir)"
5449 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5450 wine_makedep=$wine_cv_toolsdir/tools/makedep
5451 case "$wine_cv_toolsdir" in
5452 /*) ;;
5453 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5454 esac
5455 enable_tools=${enable_tools:-no}
5456 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5457 else
5458 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5462 $as_echo "$wine_cv_toolsdir" >&6; }
5463 TOOLSDIR=$wine_cv_toolsdir
5465 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5466 then
5467 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5471 for ac_prog in flex
5473 # Extract the first word of "$ac_prog", so it can be a program name with args.
5474 set dummy $ac_prog; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if ${ac_cv_prog_FLEX+:} false; then :
5478 $as_echo_n "(cached) " >&6
5479 else
5480 if test -n "$FLEX"; then
5481 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5482 else
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5490 ac_cv_prog_FLEX="$ac_prog"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 break 2
5494 done
5495 done
5496 IFS=$as_save_IFS
5500 FLEX=$ac_cv_prog_FLEX
5501 if test -n "$FLEX"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5503 $as_echo "$FLEX" >&6; }
5504 else
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5510 test -n "$FLEX" && break
5511 done
5512 test -n "$FLEX" || FLEX="none"
5514 if test "$FLEX" = "none"
5515 then
5516 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5519 $as_echo_n "checking whether flex is recent enough... " >&6; }
5520 cat >conftest.l <<EOF
5521 %top{
5522 #include "prediluvian.h"
5526 if $FLEX -t conftest.l >/dev/null 2>&5
5527 then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5529 $as_echo "yes" >&6; }
5530 else
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5533 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5536 for ac_prog in bison
5538 # Extract the first word of "$ac_prog", so it can be a program name with args.
5539 set dummy $ac_prog; ac_word=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_prog_BISON+:} false; then :
5543 $as_echo_n "(cached) " >&6
5544 else
5545 if test -n "$BISON"; then
5546 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5547 else
5548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 for as_dir in $PATH
5551 IFS=$as_save_IFS
5552 test -z "$as_dir" && as_dir=.
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5555 ac_cv_prog_BISON="$ac_prog"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 break 2
5559 done
5560 done
5561 IFS=$as_save_IFS
5565 BISON=$ac_cv_prog_BISON
5566 if test -n "$BISON"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5568 $as_echo "$BISON" >&6; }
5569 else
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5575 test -n "$BISON" && break
5576 done
5577 test -n "$BISON" || BISON="none"
5579 if test "$BISON" = "none"
5580 then
5581 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5584 if test -n "$ac_tool_prefix"; then
5585 for ac_prog in ar gar
5587 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5588 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5590 $as_echo_n "checking for $ac_word... " >&6; }
5591 if ${ac_cv_prog_AR+:} false; then :
5592 $as_echo_n "(cached) " >&6
5593 else
5594 if test -n "$AR"; then
5595 ac_cv_prog_AR="$AR" # Let the user override the test.
5596 else
5597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 for as_dir in $PATH
5600 IFS=$as_save_IFS
5601 test -z "$as_dir" && as_dir=.
5602 for ac_exec_ext in '' $ac_executable_extensions; do
5603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5604 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 break 2
5608 done
5609 done
5610 IFS=$as_save_IFS
5614 AR=$ac_cv_prog_AR
5615 if test -n "$AR"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5617 $as_echo "$AR" >&6; }
5618 else
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5620 $as_echo "no" >&6; }
5624 test -n "$AR" && break
5625 done
5627 if test -z "$AR"; then
5628 ac_ct_AR=$AR
5629 for ac_prog in ar gar
5631 # Extract the first word of "$ac_prog", so it can be a program name with args.
5632 set dummy $ac_prog; ac_word=$2
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5634 $as_echo_n "checking for $ac_word... " >&6; }
5635 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5636 $as_echo_n "(cached) " >&6
5637 else
5638 if test -n "$ac_ct_AR"; then
5639 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5640 else
5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5642 for as_dir in $PATH
5644 IFS=$as_save_IFS
5645 test -z "$as_dir" && as_dir=.
5646 for ac_exec_ext in '' $ac_executable_extensions; do
5647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5648 ac_cv_prog_ac_ct_AR="$ac_prog"
5649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 break 2
5652 done
5653 done
5654 IFS=$as_save_IFS
5658 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5659 if test -n "$ac_ct_AR"; then
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5661 $as_echo "$ac_ct_AR" >&6; }
5662 else
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5664 $as_echo "no" >&6; }
5668 test -n "$ac_ct_AR" && break
5669 done
5671 if test "x$ac_ct_AR" = x; then
5672 AR="ar"
5673 else
5674 case $cross_compiling:$ac_tool_warned in
5675 yes:)
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5678 ac_tool_warned=yes ;;
5679 esac
5680 AR=$ac_ct_AR
5684 if test -n "$ac_tool_prefix"; then
5685 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5686 set dummy ${ac_tool_prefix}strip; ac_word=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_prog_STRIP+:} false; then :
5690 $as_echo_n "(cached) " >&6
5691 else
5692 if test -n "$STRIP"; then
5693 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5694 else
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 for as_dir in $PATH
5698 IFS=$as_save_IFS
5699 test -z "$as_dir" && as_dir=.
5700 for ac_exec_ext in '' $ac_executable_extensions; do
5701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704 break 2
5706 done
5707 done
5708 IFS=$as_save_IFS
5712 STRIP=$ac_cv_prog_STRIP
5713 if test -n "$STRIP"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5715 $as_echo "$STRIP" >&6; }
5716 else
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5723 if test -z "$ac_cv_prog_STRIP"; then
5724 ac_ct_STRIP=$STRIP
5725 # Extract the first word of "strip", so it can be a program name with args.
5726 set dummy strip; ac_word=$2
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728 $as_echo_n "checking for $ac_word... " >&6; }
5729 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5730 $as_echo_n "(cached) " >&6
5731 else
5732 if test -n "$ac_ct_STRIP"; then
5733 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5734 else
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5736 for as_dir in $PATH
5738 IFS=$as_save_IFS
5739 test -z "$as_dir" && as_dir=.
5740 for ac_exec_ext in '' $ac_executable_extensions; do
5741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5742 ac_cv_prog_ac_ct_STRIP="strip"
5743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 break 2
5746 done
5747 done
5748 IFS=$as_save_IFS
5752 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5753 if test -n "$ac_ct_STRIP"; then
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5755 $as_echo "$ac_ct_STRIP" >&6; }
5756 else
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758 $as_echo "no" >&6; }
5761 if test "x$ac_ct_STRIP" = x; then
5762 STRIP="strip"
5763 else
5764 case $cross_compiling:$ac_tool_warned in
5765 yes:)
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5768 ac_tool_warned=yes ;;
5769 esac
5770 STRIP=$ac_ct_STRIP
5772 else
5773 STRIP="$ac_cv_prog_STRIP"
5776 ARFLAGS=rc
5778 if test -n "$ac_tool_prefix"; then
5779 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5780 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5782 $as_echo_n "checking for $ac_word... " >&6; }
5783 if ${ac_cv_prog_RANLIB+:} false; then :
5784 $as_echo_n "(cached) " >&6
5785 else
5786 if test -n "$RANLIB"; then
5787 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5788 else
5789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790 for as_dir in $PATH
5792 IFS=$as_save_IFS
5793 test -z "$as_dir" && as_dir=.
5794 for ac_exec_ext in '' $ac_executable_extensions; do
5795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5796 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5798 break 2
5800 done
5801 done
5802 IFS=$as_save_IFS
5806 RANLIB=$ac_cv_prog_RANLIB
5807 if test -n "$RANLIB"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5809 $as_echo "$RANLIB" >&6; }
5810 else
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812 $as_echo "no" >&6; }
5817 if test -z "$ac_cv_prog_RANLIB"; then
5818 ac_ct_RANLIB=$RANLIB
5819 # Extract the first word of "ranlib", so it can be a program name with args.
5820 set dummy ranlib; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5824 $as_echo_n "(cached) " >&6
5825 else
5826 if test -n "$ac_ct_RANLIB"; then
5827 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5828 else
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 for as_dir in $PATH
5832 IFS=$as_save_IFS
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_ac_ct_RANLIB="ranlib"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 break 2
5840 done
5841 done
5842 IFS=$as_save_IFS
5846 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5847 if test -n "$ac_ct_RANLIB"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5849 $as_echo "$ac_ct_RANLIB" >&6; }
5850 else
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5855 if test "x$ac_ct_RANLIB" = x; then
5856 RANLIB=":"
5857 else
5858 case $cross_compiling:$ac_tool_warned in
5859 yes:)
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5862 ac_tool_warned=yes ;;
5863 esac
5864 RANLIB=$ac_ct_RANLIB
5866 else
5867 RANLIB="$ac_cv_prog_RANLIB"
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5871 $as_echo_n "checking whether ln -s works... " >&6; }
5872 LN_S=$as_ln_s
5873 if test "$LN_S" = "ln -s"; then
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5875 $as_echo "yes" >&6; }
5876 else
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5878 $as_echo "no, using $LN_S" >&6; }
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5882 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5883 if ${ac_cv_path_GREP+:} false; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5886 if test -z "$GREP"; then
5887 ac_path_GREP_found=false
5888 # Loop through the user's path and test for each of PROGNAME-LIST
5889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5890 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5892 IFS=$as_save_IFS
5893 test -z "$as_dir" && as_dir=.
5894 for ac_prog in grep ggrep; do
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5897 as_fn_executable_p "$ac_path_GREP" || continue
5898 # Check for GNU ac_path_GREP and select it if it is found.
5899 # Check for GNU $ac_path_GREP
5900 case `"$ac_path_GREP" --version 2>&1` in
5901 *GNU*)
5902 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5904 ac_count=0
5905 $as_echo_n 0123456789 >"conftest.in"
5906 while :
5908 cat "conftest.in" "conftest.in" >"conftest.tmp"
5909 mv "conftest.tmp" "conftest.in"
5910 cp "conftest.in" "conftest.nl"
5911 $as_echo 'GREP' >> "conftest.nl"
5912 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5913 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5914 as_fn_arith $ac_count + 1 && ac_count=$as_val
5915 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5916 # Best one so far, save it but keep looking for a better one
5917 ac_cv_path_GREP="$ac_path_GREP"
5918 ac_path_GREP_max=$ac_count
5920 # 10*(2^10) chars as input seems more than enough
5921 test $ac_count -gt 10 && break
5922 done
5923 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5924 esac
5926 $ac_path_GREP_found && break 3
5927 done
5928 done
5929 done
5930 IFS=$as_save_IFS
5931 if test -z "$ac_cv_path_GREP"; then
5932 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5934 else
5935 ac_cv_path_GREP=$GREP
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5940 $as_echo "$ac_cv_path_GREP" >&6; }
5941 GREP="$ac_cv_path_GREP"
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5945 $as_echo_n "checking for egrep... " >&6; }
5946 if ${ac_cv_path_EGREP+:} false; then :
5947 $as_echo_n "(cached) " >&6
5948 else
5949 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5950 then ac_cv_path_EGREP="$GREP -E"
5951 else
5952 if test -z "$EGREP"; then
5953 ac_path_EGREP_found=false
5954 # Loop through the user's path and test for each of PROGNAME-LIST
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5958 IFS=$as_save_IFS
5959 test -z "$as_dir" && as_dir=.
5960 for ac_prog in egrep; do
5961 for ac_exec_ext in '' $ac_executable_extensions; do
5962 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5963 as_fn_executable_p "$ac_path_EGREP" || continue
5964 # Check for GNU ac_path_EGREP and select it if it is found.
5965 # Check for GNU $ac_path_EGREP
5966 case `"$ac_path_EGREP" --version 2>&1` in
5967 *GNU*)
5968 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5970 ac_count=0
5971 $as_echo_n 0123456789 >"conftest.in"
5972 while :
5974 cat "conftest.in" "conftest.in" >"conftest.tmp"
5975 mv "conftest.tmp" "conftest.in"
5976 cp "conftest.in" "conftest.nl"
5977 $as_echo 'EGREP' >> "conftest.nl"
5978 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5979 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5980 as_fn_arith $ac_count + 1 && ac_count=$as_val
5981 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5982 # Best one so far, save it but keep looking for a better one
5983 ac_cv_path_EGREP="$ac_path_EGREP"
5984 ac_path_EGREP_max=$ac_count
5986 # 10*(2^10) chars as input seems more than enough
5987 test $ac_count -gt 10 && break
5988 done
5989 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5990 esac
5992 $ac_path_EGREP_found && break 3
5993 done
5994 done
5995 done
5996 IFS=$as_save_IFS
5997 if test -z "$ac_cv_path_EGREP"; then
5998 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6000 else
6001 ac_cv_path_EGREP=$EGREP
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6007 $as_echo "$ac_cv_path_EGREP" >&6; }
6008 EGREP="$ac_cv_path_EGREP"
6011 # Extract the first word of "ldconfig", so it can be a program name with args.
6012 set dummy ldconfig; ac_word=$2
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014 $as_echo_n "checking for $ac_word... " >&6; }
6015 if ${ac_cv_path_LDCONFIG+:} false; then :
6016 $as_echo_n "(cached) " >&6
6017 else
6018 case $LDCONFIG in
6019 [\\/]* | ?:[\\/]*)
6020 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 for as_dir in /sbin /usr/sbin $PATH
6026 IFS=$as_save_IFS
6027 test -z "$as_dir" && as_dir=.
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6030 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 break 2
6034 done
6035 done
6036 IFS=$as_save_IFS
6038 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6040 esac
6042 LDCONFIG=$ac_cv_path_LDCONFIG
6043 if test -n "$LDCONFIG"; then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6045 $as_echo "$LDCONFIG" >&6; }
6046 else
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6052 for ac_prog in msgfmt
6054 # Extract the first word of "$ac_prog", so it can be a program name with args.
6055 set dummy $ac_prog; ac_word=$2
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057 $as_echo_n "checking for $ac_word... " >&6; }
6058 if ${ac_cv_prog_MSGFMT+:} false; then :
6059 $as_echo_n "(cached) " >&6
6060 else
6061 if test -n "$MSGFMT"; then
6062 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6063 else
6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 for as_dir in $PATH
6067 IFS=$as_save_IFS
6068 test -z "$as_dir" && as_dir=.
6069 for ac_exec_ext in '' $ac_executable_extensions; do
6070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6071 ac_cv_prog_MSGFMT="$ac_prog"
6072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 break 2
6075 done
6076 done
6077 IFS=$as_save_IFS
6081 MSGFMT=$ac_cv_prog_MSGFMT
6082 if test -n "$MSGFMT"; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6084 $as_echo "$MSGFMT" >&6; }
6085 else
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087 $as_echo "no" >&6; }
6091 test -n "$MSGFMT" && break
6092 done
6093 test -n "$MSGFMT" || MSGFMT="false"
6095 if ${ac_tool_prefix+:} false; then :
6096 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6097 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 $as_echo_n "checking for $ac_word... " >&6; }
6100 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6101 $as_echo_n "(cached) " >&6
6102 else
6103 if test -n "$PKG_CONFIG"; then
6104 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6105 else
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 for as_dir in $PATH
6109 IFS=$as_save_IFS
6110 test -z "$as_dir" && as_dir=.
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 break 2
6117 done
6118 done
6119 IFS=$as_save_IFS
6123 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6124 if test -n "$PKG_CONFIG"; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6126 $as_echo "$PKG_CONFIG" >&6; }
6127 else
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 $as_echo "no" >&6; }
6134 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6135 if test "x$cross_compiling" = xyes; then :
6137 else
6138 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6139 # Extract the first word of "pkg-config", so it can be a program name with args.
6140 set dummy pkg-config; ac_word=$2
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6142 $as_echo_n "checking for $ac_word... " >&6; }
6143 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6144 $as_echo_n "(cached) " >&6
6145 else
6146 if test -n "$PKG_CONFIG"; then
6147 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6148 else
6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6150 for as_dir in $PATH
6152 IFS=$as_save_IFS
6153 test -z "$as_dir" && as_dir=.
6154 for ac_exec_ext in '' $ac_executable_extensions; do
6155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6156 ac_cv_prog_PKG_CONFIG="pkg-config"
6157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158 break 2
6160 done
6161 done
6162 IFS=$as_save_IFS
6166 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6167 if test -n "$PKG_CONFIG"; then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6169 $as_echo "$PKG_CONFIG" >&6; }
6170 else
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 $as_echo "no" >&6; }
6177 else
6178 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6181 if test "x$enable_maintainer_mode" != "xyes"
6182 then
6183 FONTFORGE=""
6184 RSVG=""
6185 CONVERT=""
6186 ICOTOOL=""
6187 else
6188 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6189 for ac_prog in fontforge
6191 # Extract the first word of "$ac_prog", so it can be a program name with args.
6192 set dummy $ac_prog; ac_word=$2
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6194 $as_echo_n "checking for $ac_word... " >&6; }
6195 if ${ac_cv_prog_FONTFORGE+:} false; then :
6196 $as_echo_n "(cached) " >&6
6197 else
6198 if test -n "$FONTFORGE"; then
6199 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6200 else
6201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 for as_dir in $PATH
6204 IFS=$as_save_IFS
6205 test -z "$as_dir" && as_dir=.
6206 for ac_exec_ext in '' $ac_executable_extensions; do
6207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6208 ac_cv_prog_FONTFORGE="$ac_prog"
6209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6210 break 2
6212 done
6213 done
6214 IFS=$as_save_IFS
6218 FONTFORGE=$ac_cv_prog_FONTFORGE
6219 if test -n "$FONTFORGE"; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6221 $as_echo "$FONTFORGE" >&6; }
6222 else
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6224 $as_echo "no" >&6; }
6228 test -n "$FONTFORGE" && break
6229 done
6230 test -n "$FONTFORGE" || FONTFORGE="false"
6232 for ac_prog in rsvg-convert rsvg
6234 # Extract the first word of "$ac_prog", so it can be a program name with args.
6235 set dummy $ac_prog; ac_word=$2
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6237 $as_echo_n "checking for $ac_word... " >&6; }
6238 if ${ac_cv_prog_RSVG+:} false; then :
6239 $as_echo_n "(cached) " >&6
6240 else
6241 if test -n "$RSVG"; then
6242 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6243 else
6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 for as_dir in $PATH
6247 IFS=$as_save_IFS
6248 test -z "$as_dir" && as_dir=.
6249 for ac_exec_ext in '' $ac_executable_extensions; do
6250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6251 ac_cv_prog_RSVG="$ac_prog"
6252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253 break 2
6255 done
6256 done
6257 IFS=$as_save_IFS
6261 RSVG=$ac_cv_prog_RSVG
6262 if test -n "$RSVG"; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6264 $as_echo "$RSVG" >&6; }
6265 else
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6267 $as_echo "no" >&6; }
6271 test -n "$RSVG" && break
6272 done
6273 test -n "$RSVG" || RSVG="false"
6275 for ac_prog in convert
6277 # Extract the first word of "$ac_prog", so it can be a program name with args.
6278 set dummy $ac_prog; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6280 $as_echo_n "checking for $ac_word... " >&6; }
6281 if ${ac_cv_prog_CONVERT+:} false; then :
6282 $as_echo_n "(cached) " >&6
6283 else
6284 if test -n "$CONVERT"; then
6285 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6286 else
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 for as_dir in $PATH
6290 IFS=$as_save_IFS
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6294 ac_cv_prog_CONVERT="$ac_prog"
6295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6296 break 2
6298 done
6299 done
6300 IFS=$as_save_IFS
6304 CONVERT=$ac_cv_prog_CONVERT
6305 if test -n "$CONVERT"; then
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6307 $as_echo "$CONVERT" >&6; }
6308 else
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6310 $as_echo "no" >&6; }
6314 test -n "$CONVERT" && break
6315 done
6316 test -n "$CONVERT" || CONVERT="false"
6318 for ac_prog in icotool
6320 # Extract the first word of "$ac_prog", so it can be a program name with args.
6321 set dummy $ac_prog; ac_word=$2
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6323 $as_echo_n "checking for $ac_word... " >&6; }
6324 if ${ac_cv_prog_ICOTOOL+:} false; then :
6325 $as_echo_n "(cached) " >&6
6326 else
6327 if test -n "$ICOTOOL"; then
6328 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6329 else
6330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6331 for as_dir in $PATH
6333 IFS=$as_save_IFS
6334 test -z "$as_dir" && as_dir=.
6335 for ac_exec_ext in '' $ac_executable_extensions; do
6336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6337 ac_cv_prog_ICOTOOL="$ac_prog"
6338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6339 break 2
6341 done
6342 done
6343 IFS=$as_save_IFS
6347 ICOTOOL=$ac_cv_prog_ICOTOOL
6348 if test -n "$ICOTOOL"; then
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6350 $as_echo "$ICOTOOL" >&6; }
6351 else
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353 $as_echo "no" >&6; }
6357 test -n "$ICOTOOL" && break
6358 done
6359 test -n "$ICOTOOL" || ICOTOOL="false"
6361 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6362 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6364 if test "$CONVERT" = false
6365 then
6366 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6367 else
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6369 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6370 convert_version=`convert --version | head -n1`
6371 if test "x$convert_version" != "x"
6372 then
6373 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6374 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6375 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6376 then
6377 CONVERT=false
6380 if test "$CONVERT" = false
6381 then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6383 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6384 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6385 else
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6387 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6391 if test "$ICOTOOL" = false
6392 then
6393 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6394 else
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6396 $as_echo_n "checking for recent enough icotool... " >&6; }
6397 icotool_version=`icotool --version | head -n1`
6398 if test "x$icotool_version" != "x"
6399 then
6400 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6401 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6402 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6403 then
6404 ICOTOOL=false
6405 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6408 if test "$ICOTOOL" = false
6409 then
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6411 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6412 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6413 else
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6415 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6419 with_gettext=yes
6420 with_gettextpo=yes
6421 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6424 test "x$with_gettext" != xno || MSGFMT=false
6425 if test "$MSGFMT" != "false"
6426 then
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6428 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6429 cat >conftest.po <<EOF
6430 # comment
6431 msgctxt "ctxt"
6432 msgid "id"
6433 msgstr "str"
6435 if $MSGFMT -o /dev/null conftest.po 2>&5
6436 then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6438 $as_echo "yes" >&6; }
6439 else
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6442 MSGFMT=false
6445 if test "$MSGFMT" = false; then :
6446 case "x$with_gettext" in
6447 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6448 xno) ;;
6449 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6450 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6451 esac
6452 enable_po=${enable_po:-no}
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6457 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6458 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6459 $as_echo_n "(cached) " >&6
6460 else
6461 ac_check_lib_save_LIBS=$LIBS
6462 LIBS="-li386 $LIBS"
6463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6464 /* end confdefs.h. */
6466 /* Override any GCC internal prototype to avoid an error.
6467 Use char because int might match the return type of a GCC
6468 builtin and then its argument prototype would still apply. */
6469 #ifdef __cplusplus
6470 extern "C"
6471 #endif
6472 char i386_set_ldt ();
6474 main ()
6476 return i386_set_ldt ();
6478 return 0;
6480 _ACEOF
6481 if ac_fn_c_try_link "$LINENO"; then :
6482 ac_cv_lib_i386_i386_set_ldt=yes
6483 else
6484 ac_cv_lib_i386_i386_set_ldt=no
6486 rm -f core conftest.err conftest.$ac_objext \
6487 conftest$ac_exeext conftest.$ac_ext
6488 LIBS=$ac_check_lib_save_LIBS
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6491 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6492 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6493 cat >>confdefs.h <<_ACEOF
6494 #define HAVE_LIBI386 1
6495 _ACEOF
6497 LIBS="-li386 $LIBS"
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6502 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6503 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6504 $as_echo_n "(cached) " >&6
6505 else
6506 ac_check_lib_save_LIBS=$LIBS
6507 LIBS="-lossaudio $LIBS"
6508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6509 /* end confdefs.h. */
6511 /* Override any GCC internal prototype to avoid an error.
6512 Use char because int might match the return type of a GCC
6513 builtin and then its argument prototype would still apply. */
6514 #ifdef __cplusplus
6515 extern "C"
6516 #endif
6517 char _oss_ioctl ();
6519 main ()
6521 return _oss_ioctl ();
6523 return 0;
6525 _ACEOF
6526 if ac_fn_c_try_link "$LINENO"; then :
6527 ac_cv_lib_ossaudio__oss_ioctl=yes
6528 else
6529 ac_cv_lib_ossaudio__oss_ioctl=no
6531 rm -f core conftest.err conftest.$ac_objext \
6532 conftest$ac_exeext conftest.$ac_ext
6533 LIBS=$ac_check_lib_save_LIBS
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6536 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6537 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6538 cat >>confdefs.h <<_ACEOF
6539 #define HAVE_LIBOSSAUDIO 1
6540 _ACEOF
6542 LIBS="-lossaudio $LIBS"
6547 OPENGL_LIBS=""
6551 # Check whether --enable-largefile was given.
6552 if test "${enable_largefile+set}" = set; then :
6553 enableval=$enable_largefile;
6556 if test "$enable_largefile" != no; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6559 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6560 if ${ac_cv_sys_largefile_CC+:} false; then :
6561 $as_echo_n "(cached) " >&6
6562 else
6563 ac_cv_sys_largefile_CC=no
6564 if test "$GCC" != yes; then
6565 ac_save_CC=$CC
6566 while :; do
6567 # IRIX 6.2 and later do not support large files by default,
6568 # so use the C compiler's -n32 option if that helps.
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #include <sys/types.h>
6572 /* Check that off_t can represent 2**63 - 1 correctly.
6573 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6574 since some C++ compilers masquerading as C compilers
6575 incorrectly reject 9223372036854775807. */
6576 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6577 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6578 && LARGE_OFF_T % 2147483647 == 1)
6579 ? 1 : -1];
6581 main ()
6585 return 0;
6587 _ACEOF
6588 if ac_fn_c_try_compile "$LINENO"; then :
6589 break
6591 rm -f core conftest.err conftest.$ac_objext
6592 CC="$CC -n32"
6593 if ac_fn_c_try_compile "$LINENO"; then :
6594 ac_cv_sys_largefile_CC=' -n32'; break
6596 rm -f core conftest.err conftest.$ac_objext
6597 break
6598 done
6599 CC=$ac_save_CC
6600 rm -f conftest.$ac_ext
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6604 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6605 if test "$ac_cv_sys_largefile_CC" != no; then
6606 CC=$CC$ac_cv_sys_largefile_CC
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6610 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6611 if ${ac_cv_sys_file_offset_bits+:} false; then :
6612 $as_echo_n "(cached) " >&6
6613 else
6614 while :; do
6615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6616 /* end confdefs.h. */
6617 #include <sys/types.h>
6618 /* Check that off_t can represent 2**63 - 1 correctly.
6619 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6620 since some C++ compilers masquerading as C compilers
6621 incorrectly reject 9223372036854775807. */
6622 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6623 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6624 && LARGE_OFF_T % 2147483647 == 1)
6625 ? 1 : -1];
6627 main ()
6631 return 0;
6633 _ACEOF
6634 if ac_fn_c_try_compile "$LINENO"; then :
6635 ac_cv_sys_file_offset_bits=no; break
6637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6639 /* end confdefs.h. */
6640 #define _FILE_OFFSET_BITS 64
6641 #include <sys/types.h>
6642 /* Check that off_t can represent 2**63 - 1 correctly.
6643 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6644 since some C++ compilers masquerading as C compilers
6645 incorrectly reject 9223372036854775807. */
6646 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6647 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6648 && LARGE_OFF_T % 2147483647 == 1)
6649 ? 1 : -1];
6651 main ()
6655 return 0;
6657 _ACEOF
6658 if ac_fn_c_try_compile "$LINENO"; then :
6659 ac_cv_sys_file_offset_bits=64; break
6661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6662 ac_cv_sys_file_offset_bits=unknown
6663 break
6664 done
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6667 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6668 case $ac_cv_sys_file_offset_bits in #(
6669 no | unknown) ;;
6671 cat >>confdefs.h <<_ACEOF
6672 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6673 _ACEOF
6675 esac
6676 rm -rf conftest*
6677 if test $ac_cv_sys_file_offset_bits = unknown; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6679 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6680 if ${ac_cv_sys_large_files+:} false; then :
6681 $as_echo_n "(cached) " >&6
6682 else
6683 while :; do
6684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6685 /* end confdefs.h. */
6686 #include <sys/types.h>
6687 /* Check that off_t can represent 2**63 - 1 correctly.
6688 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6689 since some C++ compilers masquerading as C compilers
6690 incorrectly reject 9223372036854775807. */
6691 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6692 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6693 && LARGE_OFF_T % 2147483647 == 1)
6694 ? 1 : -1];
6696 main ()
6700 return 0;
6702 _ACEOF
6703 if ac_fn_c_try_compile "$LINENO"; then :
6704 ac_cv_sys_large_files=no; break
6706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6708 /* end confdefs.h. */
6709 #define _LARGE_FILES 1
6710 #include <sys/types.h>
6711 /* Check that off_t can represent 2**63 - 1 correctly.
6712 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6713 since some C++ compilers masquerading as C compilers
6714 incorrectly reject 9223372036854775807. */
6715 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6716 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6717 && LARGE_OFF_T % 2147483647 == 1)
6718 ? 1 : -1];
6720 main ()
6724 return 0;
6726 _ACEOF
6727 if ac_fn_c_try_compile "$LINENO"; then :
6728 ac_cv_sys_large_files=1; break
6730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6731 ac_cv_sys_large_files=unknown
6732 break
6733 done
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6736 $as_echo "$ac_cv_sys_large_files" >&6; }
6737 case $ac_cv_sys_large_files in #(
6738 no | unknown) ;;
6740 cat >>confdefs.h <<_ACEOF
6741 #define _LARGE_FILES $ac_cv_sys_large_files
6742 _ACEOF
6744 esac
6745 rm -rf conftest*
6752 ac_ext=c
6753 ac_cpp='$CPP $CPPFLAGS'
6754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6758 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6759 # On Suns, sometimes $CPP names a directory.
6760 if test -n "$CPP" && test -d "$CPP"; then
6761 CPP=
6763 if test -z "$CPP"; then
6764 if ${ac_cv_prog_CPP+:} false; then :
6765 $as_echo_n "(cached) " >&6
6766 else
6767 # Double quotes because CPP needs to be expanded
6768 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6770 ac_preproc_ok=false
6771 for ac_c_preproc_warn_flag in '' yes
6773 # Use a header file that comes with gcc, so configuring glibc
6774 # with a fresh cross-compiler works.
6775 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6776 # <limits.h> exists even on freestanding compilers.
6777 # On the NeXT, cc -E runs the code through the compiler's parser,
6778 # not just through cpp. "Syntax error" is here to catch this case.
6779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h. */
6781 #ifdef __STDC__
6782 # include <limits.h>
6783 #else
6784 # include <assert.h>
6785 #endif
6786 Syntax error
6787 _ACEOF
6788 if ac_fn_c_try_cpp "$LINENO"; then :
6790 else
6791 # Broken: fails on valid input.
6792 continue
6794 rm -f conftest.err conftest.i conftest.$ac_ext
6796 # OK, works on sane cases. Now check whether nonexistent headers
6797 # can be detected and how.
6798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6799 /* end confdefs.h. */
6800 #include <ac_nonexistent.h>
6801 _ACEOF
6802 if ac_fn_c_try_cpp "$LINENO"; then :
6803 # Broken: success on invalid input.
6804 continue
6805 else
6806 # Passes both tests.
6807 ac_preproc_ok=:
6808 break
6810 rm -f conftest.err conftest.i conftest.$ac_ext
6812 done
6813 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6814 rm -f conftest.i conftest.err conftest.$ac_ext
6815 if $ac_preproc_ok; then :
6816 break
6819 done
6820 ac_cv_prog_CPP=$CPP
6823 CPP=$ac_cv_prog_CPP
6824 else
6825 ac_cv_prog_CPP=$CPP
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6828 $as_echo "$CPP" >&6; }
6829 ac_preproc_ok=false
6830 for ac_c_preproc_warn_flag in '' yes
6832 # Use a header file that comes with gcc, so configuring glibc
6833 # with a fresh cross-compiler works.
6834 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6835 # <limits.h> exists even on freestanding compilers.
6836 # On the NeXT, cc -E runs the code through the compiler's parser,
6837 # not just through cpp. "Syntax error" is here to catch this case.
6838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h. */
6840 #ifdef __STDC__
6841 # include <limits.h>
6842 #else
6843 # include <assert.h>
6844 #endif
6845 Syntax error
6846 _ACEOF
6847 if ac_fn_c_try_cpp "$LINENO"; then :
6849 else
6850 # Broken: fails on valid input.
6851 continue
6853 rm -f conftest.err conftest.i conftest.$ac_ext
6855 # OK, works on sane cases. Now check whether nonexistent headers
6856 # can be detected and how.
6857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6858 /* end confdefs.h. */
6859 #include <ac_nonexistent.h>
6860 _ACEOF
6861 if ac_fn_c_try_cpp "$LINENO"; then :
6862 # Broken: success on invalid input.
6863 continue
6864 else
6865 # Passes both tests.
6866 ac_preproc_ok=:
6867 break
6869 rm -f conftest.err conftest.i conftest.$ac_ext
6871 done
6872 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6873 rm -f conftest.i conftest.err conftest.$ac_ext
6874 if $ac_preproc_ok; then :
6876 else
6877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6879 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6880 See \`config.log' for more details" "$LINENO" 5; }
6883 ac_ext=c
6884 ac_cpp='$CPP $CPPFLAGS'
6885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6891 $as_echo_n "checking for ANSI C header files... " >&6; }
6892 if ${ac_cv_header_stdc+:} false; then :
6893 $as_echo_n "(cached) " >&6
6894 else
6895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6896 /* end confdefs.h. */
6897 #include <stdlib.h>
6898 #include <stdarg.h>
6899 #include <string.h>
6900 #include <float.h>
6903 main ()
6907 return 0;
6909 _ACEOF
6910 if ac_fn_c_try_compile "$LINENO"; then :
6911 ac_cv_header_stdc=yes
6912 else
6913 ac_cv_header_stdc=no
6915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6917 if test $ac_cv_header_stdc = yes; then
6918 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6920 /* end confdefs.h. */
6921 #include <string.h>
6923 _ACEOF
6924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6925 $EGREP "memchr" >/dev/null 2>&1; then :
6927 else
6928 ac_cv_header_stdc=no
6930 rm -f conftest*
6934 if test $ac_cv_header_stdc = yes; then
6935 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6937 /* end confdefs.h. */
6938 #include <stdlib.h>
6940 _ACEOF
6941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6942 $EGREP "free" >/dev/null 2>&1; then :
6944 else
6945 ac_cv_header_stdc=no
6947 rm -f conftest*
6951 if test $ac_cv_header_stdc = yes; then
6952 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6953 if test "$cross_compiling" = yes; then :
6955 else
6956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6958 #include <ctype.h>
6959 #include <stdlib.h>
6960 #if ((' ' & 0x0FF) == 0x020)
6961 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6962 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6963 #else
6964 # define ISLOWER(c) \
6965 (('a' <= (c) && (c) <= 'i') \
6966 || ('j' <= (c) && (c) <= 'r') \
6967 || ('s' <= (c) && (c) <= 'z'))
6968 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6969 #endif
6971 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6973 main ()
6975 int i;
6976 for (i = 0; i < 256; i++)
6977 if (XOR (islower (i), ISLOWER (i))
6978 || toupper (i) != TOUPPER (i))
6979 return 2;
6980 return 0;
6982 _ACEOF
6983 if ac_fn_c_try_run "$LINENO"; then :
6985 else
6986 ac_cv_header_stdc=no
6988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6989 conftest.$ac_objext conftest.beam conftest.$ac_ext
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6995 $as_echo "$ac_cv_header_stdc" >&6; }
6996 if test $ac_cv_header_stdc = yes; then
6998 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7002 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7003 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7004 inttypes.h stdint.h unistd.h
7005 do :
7006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7007 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7009 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7010 cat >>confdefs.h <<_ACEOF
7011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7012 _ACEOF
7016 done
7019 for ac_header in \
7020 AL/al.h \
7021 ApplicationServices/ApplicationServices.h \
7022 AudioToolbox/AudioConverter.h \
7023 AudioUnit/AudioUnit.h \
7024 AudioUnit/AudioComponent.h \
7025 CL/cl.h \
7026 Carbon/Carbon.h \
7027 CommonCrypto/CommonCryptor.h \
7028 CoreAudio/CoreAudio.h \
7029 CoreServices/CoreServices.h \
7030 DiskArbitration/DiskArbitration.h \
7031 EGL/egl.h \
7032 IOKit/IOKitLib.h \
7033 IOKit/hid/IOHIDLib.h \
7034 OpenAL/al.h \
7035 OpenCL/opencl.h \
7036 QuickTime/ImageCompression.h \
7037 Security/Security.h \
7038 alias.h \
7039 alsa/asoundlib.h \
7040 arpa/inet.h \
7041 arpa/nameser.h \
7042 asm/types.h \
7043 asm/user.h \
7044 curses.h \
7045 direct.h \
7046 dirent.h \
7047 dlfcn.h \
7048 elf.h \
7049 float.h \
7050 fnmatch.h \
7051 getopt.h \
7052 gettext-po.h \
7053 grp.h \
7054 gsm.h \
7055 gsm/gsm.h \
7056 ieeefp.h \
7057 inet/mib2.h \
7058 io.h \
7059 kstat.h \
7060 libproc.h \
7061 link.h \
7062 linux/cdrom.h \
7063 linux/compiler.h \
7064 linux/filter.h \
7065 linux/hdreg.h \
7066 linux/hidraw.h \
7067 linux/input.h \
7068 linux/ioctl.h \
7069 linux/joystick.h \
7070 linux/major.h \
7071 linux/param.h \
7072 linux/serial.h \
7073 linux/types.h \
7074 linux/ucdrom.h \
7075 lwp.h \
7076 mach-o/nlist.h \
7077 mach-o/loader.h \
7078 mach/mach.h \
7079 mach/machine.h \
7080 machine/cpu.h \
7081 machine/limits.h \
7082 machine/sysarch.h \
7083 mntent.h \
7084 ncurses.h \
7085 netdb.h \
7086 netinet/in.h \
7087 netinet/in_systm.h \
7088 netinet/tcp.h \
7089 netinet/tcp_fsm.h \
7090 pcap/pcap.h \
7091 poll.h \
7092 port.h \
7093 process.h \
7094 pthread.h \
7095 pwd.h \
7096 sched.h \
7097 scsi/scsi.h \
7098 scsi/scsi_ioctl.h \
7099 scsi/sg.h \
7100 stdbool.h \
7101 stdint.h \
7102 stropts.h \
7103 sys/asoundlib.h \
7104 sys/attr.h \
7105 sys/auxv.h \
7106 sys/cdio.h \
7107 sys/elf32.h \
7108 sys/epoll.h \
7109 sys/event.h \
7110 sys/exec_elf.h \
7111 sys/filio.h \
7112 sys/inotify.h \
7113 sys/ioctl.h \
7114 sys/ipc.h \
7115 sys/limits.h \
7116 sys/link.h \
7117 sys/mman.h \
7118 sys/modem.h \
7119 sys/msg.h \
7120 sys/mtio.h \
7121 sys/param.h \
7122 sys/poll.h \
7123 sys/prctl.h \
7124 sys/protosw.h \
7125 sys/ptrace.h \
7126 sys/queue.h \
7127 sys/resource.h \
7128 sys/scsiio.h \
7129 sys/shm.h \
7130 sys/signal.h \
7131 sys/socket.h \
7132 sys/socketvar.h \
7133 sys/sockio.h \
7134 sys/statvfs.h \
7135 sys/strtio.h \
7136 sys/syscall.h \
7137 sys/sysinfo.h \
7138 sys/tihdr.h \
7139 sys/time.h \
7140 sys/timeout.h \
7141 sys/times.h \
7142 sys/uio.h \
7143 sys/user.h \
7144 sys/utsname.h \
7145 sys/vnode.h \
7146 sys/wait.h \
7147 syscall.h \
7148 termios.h \
7149 unistd.h \
7150 utime.h \
7151 valgrind/memcheck.h \
7152 valgrind/valgrind.h \
7153 zlib.h
7155 do :
7156 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7157 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7158 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7159 cat >>confdefs.h <<_ACEOF
7160 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7161 _ACEOF
7165 done
7167 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7168 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7170 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7175 if test $ac_cv_header_sys_mkdev_h = no; then
7176 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7177 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7179 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7186 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7187 if ${ac_cv_header_stat_broken+:} false; then :
7188 $as_echo_n "(cached) " >&6
7189 else
7190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7191 /* end confdefs.h. */
7192 #include <sys/types.h>
7193 #include <sys/stat.h>
7195 #if defined S_ISBLK && defined S_IFDIR
7196 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7197 #endif
7199 #if defined S_ISBLK && defined S_IFCHR
7200 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7201 #endif
7203 #if defined S_ISLNK && defined S_IFREG
7204 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7205 #endif
7207 #if defined S_ISSOCK && defined S_IFREG
7208 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7209 #endif
7211 _ACEOF
7212 if ac_fn_c_try_compile "$LINENO"; then :
7213 ac_cv_header_stat_broken=no
7214 else
7215 ac_cv_header_stat_broken=yes
7217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7220 $as_echo "$ac_cv_header_stat_broken" >&6; }
7221 if test $ac_cv_header_stat_broken = yes; then
7223 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7229 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7230 do :
7231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7232 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7233 #ifdef HAVE_SYS_PARAM_H
7234 # include <sys/param.h>
7235 #endif
7237 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7238 cat >>confdefs.h <<_ACEOF
7239 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7240 _ACEOF
7244 done
7247 for ac_header in \
7248 netinet/ip.h \
7249 net/if.h \
7250 net/if_arp.h \
7251 net/if_dl.h \
7252 net/if_types.h \
7253 net/route.h \
7254 netinet/if_ether.h \
7255 netinet/if_inarp.h \
7256 netinet/in_pcb.h \
7257 netinet/ip_icmp.h \
7258 netinet/ip_var.h \
7259 netinet/udp.h \
7260 netipx/ipx.h \
7261 sys/un.h \
7263 do :
7264 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7265 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7266 #ifdef HAVE_SYS_SOCKET_H
7267 # include <sys/socket.h>
7268 #endif
7269 #ifdef HAVE_SYS_SOCKETVAR_H
7270 # include <sys/socketvar.h>
7271 #endif
7272 #ifdef HAVE_NET_ROUTE_H
7273 # include <net/route.h>
7274 #endif
7275 #ifdef HAVE_NETINET_IN_H
7276 # include <netinet/in.h>
7277 #endif
7278 #ifdef HAVE_NETINET_IN_SYSTM_H
7279 # include <netinet/in_systm.h>
7280 #endif
7281 #ifdef HAVE_NET_IF_H
7282 # include <net/if.h>
7283 #endif
7284 #ifdef HAVE_NETINET_IP_H
7285 # include <netinet/ip.h>
7286 #endif
7288 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7289 cat >>confdefs.h <<_ACEOF
7290 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7291 _ACEOF
7295 done
7298 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7299 do :
7300 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7301 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7302 #ifdef HAVE_ALIAS_H
7303 # include <alias.h>
7304 #endif
7305 #ifdef HAVE_SYS_SOCKET_H
7306 # include <sys/socket.h>
7307 #endif
7308 #ifdef HAVE_SYS_SOCKETVAR_H
7309 # include <sys/socketvar.h>
7310 #endif
7311 #ifdef HAVE_SYS_TIMEOUT_H
7312 # include <sys/timeout.h>
7313 #endif
7314 #ifdef HAVE_NETINET_IN_H
7315 # include <netinet/in.h>
7316 #endif
7317 #ifdef HAVE_NETINET_IN_SYSTM_H
7318 # include <netinet/in_systm.h>
7319 #endif
7320 #ifdef HAVE_NETINET_IP_H
7321 # include <netinet/ip.h>
7322 #endif
7323 #ifdef HAVE_NETINET_IP_VAR_H
7324 # include <netinet/ip_var.h>
7325 #endif
7326 #ifdef HAVE_NETINET_IP_ICMP_H
7327 # include <netinet/ip_icmp.h>
7328 #endif
7329 #ifdef HAVE_NETINET_UDP_H
7330 # include <netinet/udp.h>
7331 #endif
7332 #ifdef HAVE_NETINET_TCP_H
7333 # include <netinet/tcp.h>
7334 #endif
7335 #ifdef HAVE_NETINET_TCP_TIMER_H
7336 #include <netinet/tcp_timer.h>
7337 #endif
7339 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7340 cat >>confdefs.h <<_ACEOF
7341 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7342 _ACEOF
7346 done
7349 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7350 do :
7351 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7352 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7353 #ifdef HAVE_ASM_TYPES_H
7354 # include <asm/types.h>
7355 #endif
7356 #ifdef HAVE_SYS_SOCKET_H
7357 # include <sys/socket.h>
7358 #endif
7359 #ifdef HAVE_LINUX_TYPES_H
7360 # include <linux/types.h>
7361 #endif
7363 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7364 cat >>confdefs.h <<_ACEOF
7365 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7366 _ACEOF
7370 done
7373 for ac_header in mach-o/dyld_images.h
7374 do :
7375 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7376 # include <stdbool.h>
7377 #endif
7378 #ifdef HAVE_STDINT_H
7379 # include <stdint.h>
7380 #endif
7382 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7383 cat >>confdefs.h <<_ACEOF
7384 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7385 _ACEOF
7389 done
7392 for ac_header in resolv.h
7393 do :
7394 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7395 #ifdef HAVE_SYS_SOCKET_H
7396 # include <sys/socket.h>
7397 #endif
7398 #ifdef HAVE_NETINET_IN_H
7399 # include <netinet/in.h>
7400 #endif
7401 #ifdef HAVE_ARPA_NAMESER_H
7402 # include <arpa/nameser.h>
7403 #endif
7405 if test "x$ac_cv_header_resolv_h" = xyes; then :
7406 cat >>confdefs.h <<_ACEOF
7407 #define HAVE_RESOLV_H 1
7408 _ACEOF
7412 done
7415 for ac_header in ifaddrs.h
7416 do :
7417 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7419 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7420 cat >>confdefs.h <<_ACEOF
7421 #define HAVE_IFADDRS_H 1
7422 _ACEOF
7426 done
7429 for ac_header in sys/ucontext.h
7430 do :
7431 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7433 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7434 cat >>confdefs.h <<_ACEOF
7435 #define HAVE_SYS_UCONTEXT_H 1
7436 _ACEOF
7440 done
7443 for ac_header in sys/thr.h
7444 do :
7445 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7446 #ifdef HAVE_SYS_UCONTEXT_H
7447 #include <sys/ucontext.h>
7448 #endif
7450 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7451 cat >>confdefs.h <<_ACEOF
7452 #define HAVE_SYS_THR_H 1
7453 _ACEOF
7457 done
7460 for ac_header in pthread_np.h
7461 do :
7462 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7463 #include <pthread.h>
7464 #endif
7466 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7467 cat >>confdefs.h <<_ACEOF
7468 #define HAVE_PTHREAD_NP_H 1
7469 _ACEOF
7473 done
7476 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7477 do :
7478 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7479 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7480 #include <sys/time.h>
7481 #endif
7482 #include <sys/types.h>
7483 #ifdef HAVE_ASM_TYPES_H
7484 #include <asm/types.h>
7485 #endif
7487 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7488 cat >>confdefs.h <<_ACEOF
7489 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7490 _ACEOF
7494 done
7497 for ac_header in libprocstat.h
7498 do :
7499 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7500 #include <sys/param.h>
7501 #endif
7502 #ifdef HAVE_SYS_QUEUE_H
7503 #include <sys/queue.h>
7504 #endif
7505 #ifdef HAVE_SYS_SOCKET_H
7506 #include <sys/socket.h>
7507 #endif
7509 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7510 cat >>confdefs.h <<_ACEOF
7511 #define HAVE_LIBPROCSTAT_H 1
7512 _ACEOF
7516 done
7520 DLLFLAGS="-D_REENTRANT"
7522 LDRPATH_INSTALL=""
7524 LDRPATH_LOCAL=""
7526 LDEXECFLAGS=""
7528 WINELOADER_LDFLAGS=""
7530 LIBEXT="so"
7531 DLLEXT=".so"
7532 IMPLIBEXT="def"
7533 # Extract the first word of "ldd", so it can be a program name with args.
7534 set dummy ldd; ac_word=$2
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7536 $as_echo_n "checking for $ac_word... " >&6; }
7537 if ${ac_cv_path_LDD+:} false; then :
7538 $as_echo_n "(cached) " >&6
7539 else
7540 case $LDD in
7541 [\\/]* | ?:[\\/]*)
7542 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7546 as_dummy="/sbin:/usr/sbin:$PATH"
7547 for as_dir in $as_dummy
7549 IFS=$as_save_IFS
7550 test -z "$as_dir" && as_dir=.
7551 for ac_exec_ext in '' $ac_executable_extensions; do
7552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7553 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7555 break 2
7557 done
7558 done
7559 IFS=$as_save_IFS
7561 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7563 esac
7565 LDD=$ac_cv_path_LDD
7566 if test -n "$LDD"; then
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7568 $as_echo "$LDD" >&6; }
7569 else
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7571 $as_echo "no" >&6; }
7575 if test -n "$ac_tool_prefix"; then
7576 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7577 set dummy ${ac_tool_prefix}otool; ac_word=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7579 $as_echo_n "checking for $ac_word... " >&6; }
7580 if ${ac_cv_prog_OTOOL+:} false; then :
7581 $as_echo_n "(cached) " >&6
7582 else
7583 if test -n "$OTOOL"; then
7584 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7585 else
7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7587 for as_dir in $PATH
7589 IFS=$as_save_IFS
7590 test -z "$as_dir" && as_dir=.
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7593 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7595 break 2
7597 done
7598 done
7599 IFS=$as_save_IFS
7603 OTOOL=$ac_cv_prog_OTOOL
7604 if test -n "$OTOOL"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7606 $as_echo "$OTOOL" >&6; }
7607 else
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7609 $as_echo "no" >&6; }
7614 if test -z "$ac_cv_prog_OTOOL"; then
7615 ac_ct_OTOOL=$OTOOL
7616 # Extract the first word of "otool", so it can be a program name with args.
7617 set dummy otool; ac_word=$2
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7619 $as_echo_n "checking for $ac_word... " >&6; }
7620 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7621 $as_echo_n "(cached) " >&6
7622 else
7623 if test -n "$ac_ct_OTOOL"; then
7624 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7625 else
7626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7627 for as_dir in $PATH
7629 IFS=$as_save_IFS
7630 test -z "$as_dir" && as_dir=.
7631 for ac_exec_ext in '' $ac_executable_extensions; do
7632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7633 ac_cv_prog_ac_ct_OTOOL="otool"
7634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7635 break 2
7637 done
7638 done
7639 IFS=$as_save_IFS
7643 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7644 if test -n "$ac_ct_OTOOL"; then
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7646 $as_echo "$ac_ct_OTOOL" >&6; }
7647 else
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7649 $as_echo "no" >&6; }
7652 if test "x$ac_ct_OTOOL" = x; then
7653 OTOOL="otool"
7654 else
7655 case $cross_compiling:$ac_tool_warned in
7656 yes:)
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7659 ac_tool_warned=yes ;;
7660 esac
7661 OTOOL=$ac_ct_OTOOL
7663 else
7664 OTOOL="$ac_cv_prog_OTOOL"
7667 if test -n "$ac_tool_prefix"; then
7668 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7669 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7671 $as_echo_n "checking for $ac_word... " >&6; }
7672 if ${ac_cv_prog_READELF+:} false; then :
7673 $as_echo_n "(cached) " >&6
7674 else
7675 if test -n "$READELF"; then
7676 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7677 else
7678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7679 for as_dir in $PATH
7681 IFS=$as_save_IFS
7682 test -z "$as_dir" && as_dir=.
7683 for ac_exec_ext in '' $ac_executable_extensions; do
7684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7685 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7687 break 2
7689 done
7690 done
7691 IFS=$as_save_IFS
7695 READELF=$ac_cv_prog_READELF
7696 if test -n "$READELF"; then
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7698 $as_echo "$READELF" >&6; }
7699 else
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7701 $as_echo "no" >&6; }
7706 if test -z "$ac_cv_prog_READELF"; then
7707 ac_ct_READELF=$READELF
7708 # Extract the first word of "readelf", so it can be a program name with args.
7709 set dummy readelf; ac_word=$2
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7711 $as_echo_n "checking for $ac_word... " >&6; }
7712 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7713 $as_echo_n "(cached) " >&6
7714 else
7715 if test -n "$ac_ct_READELF"; then
7716 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7717 else
7718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7719 for as_dir in $PATH
7721 IFS=$as_save_IFS
7722 test -z "$as_dir" && as_dir=.
7723 for ac_exec_ext in '' $ac_executable_extensions; do
7724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7725 ac_cv_prog_ac_ct_READELF="readelf"
7726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7727 break 2
7729 done
7730 done
7731 IFS=$as_save_IFS
7735 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7736 if test -n "$ac_ct_READELF"; then
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7738 $as_echo "$ac_ct_READELF" >&6; }
7739 else
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7741 $as_echo "no" >&6; }
7744 if test "x$ac_ct_READELF" = x; then
7745 READELF="true"
7746 else
7747 case $cross_compiling:$ac_tool_warned in
7748 yes:)
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7751 ac_tool_warned=yes ;;
7752 esac
7753 READELF=$ac_ct_READELF
7755 else
7756 READELF="$ac_cv_prog_READELF"
7759 wine_rules_file=conf$$rules.make
7760 rm -f $wine_rules_file
7761 SUBDIRS=""
7763 DISABLED_SUBDIRS=""
7765 CONFIGURE_TARGETS=""
7768 wine_fn_append_file ()
7770 as_fn_append $1 " \\$as_nl $2"
7773 wine_fn_append_rule ()
7775 $as_echo "$1" >>$wine_rules_file
7778 wine_fn_config_makefile ()
7780 wine_fn_append_file SUBDIRS $1
7781 if eval test \"x\$"$2"\" = x"no"; then :
7782 wine_fn_append_file DISABLED_SUBDIRS $1
7786 wine_fn_config_symlink ()
7788 ac_links=$@
7789 wine_fn_append_rule \
7790 "$ac_links:
7791 @./config.status \$@"
7792 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7795 wine_binary="wine"
7796 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7797 WINELOADER_PROGRAMS="$wine_binary"
7799 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7801 case $host_os in
7802 cygwin*|mingw32*)
7803 if test -n "$ac_tool_prefix"; then
7804 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7805 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7807 $as_echo_n "checking for $ac_word... " >&6; }
7808 if ${ac_cv_prog_DLLTOOL+:} false; then :
7809 $as_echo_n "(cached) " >&6
7810 else
7811 if test -n "$DLLTOOL"; then
7812 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7813 else
7814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7815 for as_dir in $PATH
7817 IFS=$as_save_IFS
7818 test -z "$as_dir" && as_dir=.
7819 for ac_exec_ext in '' $ac_executable_extensions; do
7820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7821 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7823 break 2
7825 done
7826 done
7827 IFS=$as_save_IFS
7831 DLLTOOL=$ac_cv_prog_DLLTOOL
7832 if test -n "$DLLTOOL"; then
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7834 $as_echo "$DLLTOOL" >&6; }
7835 else
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7837 $as_echo "no" >&6; }
7842 if test -z "$ac_cv_prog_DLLTOOL"; then
7843 ac_ct_DLLTOOL=$DLLTOOL
7844 # Extract the first word of "dlltool", so it can be a program name with args.
7845 set dummy dlltool; ac_word=$2
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7847 $as_echo_n "checking for $ac_word... " >&6; }
7848 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7849 $as_echo_n "(cached) " >&6
7850 else
7851 if test -n "$ac_ct_DLLTOOL"; then
7852 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7853 else
7854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7855 for as_dir in $PATH
7857 IFS=$as_save_IFS
7858 test -z "$as_dir" && as_dir=.
7859 for ac_exec_ext in '' $ac_executable_extensions; do
7860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7861 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7863 break 2
7865 done
7866 done
7867 IFS=$as_save_IFS
7871 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7872 if test -n "$ac_ct_DLLTOOL"; then
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7874 $as_echo "$ac_ct_DLLTOOL" >&6; }
7875 else
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7877 $as_echo "no" >&6; }
7880 if test "x$ac_ct_DLLTOOL" = x; then
7881 DLLTOOL="false"
7882 else
7883 case $cross_compiling:$ac_tool_warned in
7884 yes:)
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7887 ac_tool_warned=yes ;;
7888 esac
7889 DLLTOOL=$ac_ct_DLLTOOL
7891 else
7892 DLLTOOL="$ac_cv_prog_DLLTOOL"
7895 LIBEXT="dll"
7896 DLLEXT=""
7897 IMPLIBEXT="a"
7898 enable_iphlpapi=${enable_iphlpapi:-no}
7899 enable_kernel32=${enable_kernel32:-no}
7900 enable_msvcrt=${enable_msvcrt:-no}
7901 enable_ntdll=${enable_ntdll:-no}
7902 enable_ws2_32=${enable_ws2_32:-no}
7903 enable_loader=${enable_loader:-no}
7904 enable_server=${enable_server:-no}
7905 with_x=${with_x:-no}
7906 with_pthread=${with_pthread:-no}
7908 crtlibs=""
7909 case $host_os in
7910 mingw32*)
7911 crtlibs="-lmsvcrt"
7912 SOCKET_LIBS="-lws2_32"
7914 esac
7916 LIBWINE_SHAREDLIB="libwine.dll"
7918 LIBWINE_IMPORTLIB="libwine.a"
7920 LIBWINE_INSTALL_LIB="libwine.dll"
7922 LIBWINE_INSTALL_DEV="libwine.a"
7924 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7926 LIBWINE_DEPENDS="wine.def"
7930 darwin*|macosx*)
7931 for ac_header in libunwind.h
7932 do :
7933 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7935 cat >>confdefs.h <<_ACEOF
7936 #define HAVE_LIBUNWIND_H 1
7937 _ACEOF
7941 done
7943 LIBEXT="dylib"
7944 DLLFLAGS="$DLLFLAGS -fPIC"
7945 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7946 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7947 COREFOUNDATION_LIBS="-framework CoreFoundation"
7949 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7951 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7953 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7955 CORESERVICES_LIBS="-framework CoreServices"
7957 APPKIT_LIBS="-framework AppKit"
7959 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7961 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7962 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7963 $as_echo_n "(cached) " >&6
7964 else
7965 ac_wine_try_cflags_saved=$CFLAGS
7966 CFLAGS="$CFLAGS -Wl,-no_pie"
7967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7968 /* end confdefs.h. */
7969 int main(int argc, char **argv) { return 0; }
7970 _ACEOF
7971 if ac_fn_c_try_link "$LINENO"; then :
7972 ac_cv_cflags__Wl__no_pie=yes
7973 else
7974 ac_cv_cflags__Wl__no_pie=no
7976 rm -f core conftest.err conftest.$ac_objext \
7977 conftest$ac_exeext conftest.$ac_ext
7978 CFLAGS=$ac_wine_try_cflags_saved
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7981 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7982 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7983 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
7985 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7986 then
7987 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7990 if test "$ac_cv_header_Security_Security_h" = "yes"
7991 then
7992 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7994 ac_save_LIBS="$LIBS"
7995 LIBS="$LIBS $SECURITY_LIBS"
7996 for ac_func in SSLCopyPeerCertificates
7997 do :
7998 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7999 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8000 cat >>confdefs.h <<_ACEOF
8001 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8002 _ACEOF
8005 done
8007 LIBS="$ac_save_LIBS"
8008 with_gnutls=${with_gnutls:-no}
8010 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8011 then
8012 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8013 then
8014 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8016 else
8017 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8020 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8021 ac_save_LIBS="$LIBS"
8022 LIBS="$LIBS $COREAUDIO_LIBS"
8023 for ac_func in AUGraphAddNode
8024 do :
8025 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8026 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8027 cat >>confdefs.h <<_ACEOF
8028 #define HAVE_AUGRAPHADDNODE 1
8029 _ACEOF
8032 done
8034 LIBS="$ac_save_LIBS"
8036 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8037 then
8038 OPENAL_LIBS="-framework OpenAL"
8041 cat >>confdefs.h <<_ACEOF
8042 #define HAVE_OPENAL 1
8043 _ACEOF
8045 ac_cv_lib_openal=yes
8047 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8048 then
8049 OPENCL_LIBS="-framework OpenCL"
8051 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8053 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8054 then
8055 ac_save_LIBS="$LIBS"
8056 LIBS="$LIBS $IOKIT_LIBS"
8057 for ac_func in IOHIDManagerCreate
8058 do :
8059 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8060 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8061 cat >>confdefs.h <<_ACEOF
8062 #define HAVE_IOHIDMANAGERCREATE 1
8063 _ACEOF
8066 done
8068 LIBS="$ac_save_LIBS"
8070 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8071 then
8072 ac_save_LIBS="$LIBS"
8073 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8075 $as_echo_n "checking for the QuickTime framework... " >&6; }
8076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8077 /* end confdefs.h. */
8078 #include <QuickTime/ImageCompression.h>
8080 main ()
8082 CodecManagerVersion(NULL);
8084 return 0;
8086 _ACEOF
8087 if ac_fn_c_try_link "$LINENO"; then :
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8089 $as_echo "yes" >&6; }
8090 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8092 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8093 else
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8095 $as_echo "no" >&6; }
8096 ac_cv_header_QuickTime_ImageCompression_h=no
8098 rm -f core conftest.err conftest.$ac_objext \
8099 conftest$ac_exeext conftest.$ac_ext
8100 LIBS="$ac_save_LIBS"
8102 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8103 then
8104 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8106 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8107 then
8108 CARBON_LIBS="-framework Carbon"
8112 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8113 then
8114 ac_save_LIBS="$LIBS"
8115 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8116 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8117 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8118 enable_winemac_drv=${enable_winemac_drv:-yes}
8121 LIBS="$ac_save_LIBS"
8124 if test "x$enable_win16" = "xyes"
8125 then
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8127 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8128 if test "$cross_compiling" = yes; then :
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8130 $as_echo "cross-compiling, assuming yes" >&6; }
8131 else
8132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8134 asm(".text\n"
8135 "bad:\tnop;nop\n"
8136 "good:\tnop;nop\n\t"
8137 ".globl _testfunc\n"
8138 "_testfunc:\tcallw good");
8139 extern void testfunc();
8141 main ()
8143 unsigned short *p = (unsigned short *)testfunc;
8144 return p[0] != 0xe866 || p[1] != 0xfffa
8146 return 0;
8148 _ACEOF
8149 if ac_fn_c_try_run "$LINENO"; then :
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8151 $as_echo "yes" >&6; }
8152 else
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8155 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
8157 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8158 conftest.$ac_objext conftest.beam conftest.$ac_ext
8163 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8165 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8167 LIBWINE_INSTALL_DEV="libwine.dylib"
8169 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8171 WINELOADER_DEPENDS="wine_info.plist"
8175 linux-android*)
8176 DLLFLAGS="$DLLFLAGS -fPIC"
8177 LDEXECFLAGS="-Wl,-pie"
8178 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8180 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8181 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8182 $as_echo_n "(cached) " >&6
8183 else
8184 ac_wine_try_cflags_saved=$CFLAGS
8185 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8187 /* end confdefs.h. */
8188 int main(int argc, char **argv) { return 0; }
8189 _ACEOF
8190 if ac_fn_c_try_link "$LINENO"; then :
8191 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8192 else
8193 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8195 rm -f core conftest.err conftest.$ac_objext \
8196 conftest$ac_exeext conftest.$ac_ext
8197 CFLAGS=$ac_wine_try_cflags_saved
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8200 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8201 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8202 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8204 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8206 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8207 if eval \${$as_ac_var+:} false; then :
8208 $as_echo_n "(cached) " >&6
8209 else
8210 ac_wine_try_cflags_saved=$CFLAGS
8211 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8213 /* end confdefs.h. */
8214 int main(int argc, char **argv) { return 0; }
8215 _ACEOF
8216 if ac_fn_c_try_link "$LINENO"; then :
8217 eval "$as_ac_var=yes"
8218 else
8219 eval "$as_ac_var=no"
8221 rm -f core conftest.err conftest.$ac_objext \
8222 conftest$ac_exeext conftest.$ac_ext
8223 CFLAGS=$ac_wine_try_cflags_saved
8225 eval ac_res=\$$as_ac_var
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8227 $as_echo "$ac_res" >&6; }
8228 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8229 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8230 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8231 else
8232 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8234 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8235 if eval \${$as_ac_var+:} false; then :
8236 $as_echo_n "(cached) " >&6
8237 else
8238 ac_wine_try_cflags_saved=$CFLAGS
8239 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8241 /* end confdefs.h. */
8242 int main(int argc, char **argv) { return 0; }
8243 _ACEOF
8244 if ac_fn_c_try_link "$LINENO"; then :
8245 eval "$as_ac_var=yes"
8246 else
8247 eval "$as_ac_var=no"
8249 rm -f core conftest.err conftest.$ac_objext \
8250 conftest$ac_exeext conftest.$ac_ext
8251 CFLAGS=$ac_wine_try_cflags_saved
8253 eval ac_res=\$$as_ac_var
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8255 $as_echo "$ac_res" >&6; }
8256 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8257 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8258 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8262 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8263 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8264 $as_echo_n "(cached) " >&6
8265 else
8266 ac_wine_try_cflags_saved=$CFLAGS
8267 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8269 /* end confdefs.h. */
8270 int main(int argc, char **argv) { return 0; }
8271 _ACEOF
8272 if ac_fn_c_try_link "$LINENO"; then :
8273 ac_cv_cflags__Wl___enable_new_dtags=yes
8274 else
8275 ac_cv_cflags__Wl___enable_new_dtags=no
8277 rm -f core conftest.err conftest.$ac_objext \
8278 conftest$ac_exeext conftest.$ac_ext
8279 CFLAGS=$ac_wine_try_cflags_saved
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8282 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8283 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8284 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8287 LIBWINE_SHAREDLIB="libwine.so"
8289 LIBWINE_INSTALL_LIB="libwine.so"
8291 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8295 $as_echo_n "checking for -lEGL... " >&6; }
8296 if ${ac_cv_lib_soname_EGL+:} false; then :
8297 $as_echo_n "(cached) " >&6
8298 else
8299 ac_check_soname_save_LIBS=$LIBS
8300 LIBS="-lEGL $LIBS"
8301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8302 /* end confdefs.h. */
8304 /* Override any GCC internal prototype to avoid an error.
8305 Use char because int might match the return type of a GCC
8306 builtin and then its argument prototype would still apply. */
8307 #ifdef __cplusplus
8308 extern "C"
8309 #endif
8310 char eglGetProcAddress ();
8312 main ()
8314 return eglGetProcAddress ();
8316 return 0;
8318 _ACEOF
8319 if ac_fn_c_try_link "$LINENO"; then :
8320 case "$LIBEXT" in
8321 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8322 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'` ;;
8323 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8324 if ${ac_cv_lib_soname_EGL:+false} :; then :
8325 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8326 fi ;;
8327 esac
8329 rm -f core conftest.err conftest.$ac_objext \
8330 conftest$ac_exeext conftest.$ac_ext
8331 LIBS=$ac_check_soname_save_LIBS
8333 if ${ac_cv_lib_soname_EGL:+false} :; then :
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8335 $as_echo "not found" >&6; }
8337 else
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8339 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8341 cat >>confdefs.h <<_ACEOF
8342 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8343 _ACEOF
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8348 $as_echo_n "checking for -lGLESv2... " >&6; }
8349 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 ac_check_soname_save_LIBS=$LIBS
8353 LIBS="-lGLESv2 $LIBS"
8354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8355 /* end confdefs.h. */
8357 /* Override any GCC internal prototype to avoid an error.
8358 Use char because int might match the return type of a GCC
8359 builtin and then its argument prototype would still apply. */
8360 #ifdef __cplusplus
8361 extern "C"
8362 #endif
8363 char glFlush ();
8365 main ()
8367 return glFlush ();
8369 return 0;
8371 _ACEOF
8372 if ac_fn_c_try_link "$LINENO"; then :
8373 case "$LIBEXT" in
8374 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8375 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'` ;;
8376 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8377 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8378 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8379 fi ;;
8380 esac
8382 rm -f core conftest.err conftest.$ac_objext \
8383 conftest$ac_exeext conftest.$ac_ext
8384 LIBS=$ac_check_soname_save_LIBS
8386 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8388 $as_echo "not found" >&6; }
8390 else
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8392 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8394 cat >>confdefs.h <<_ACEOF
8395 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8396 _ACEOF
8401 if test "x$exec_prefix" = xNONE
8402 then
8403 case $host_cpu in
8404 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8405 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8406 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8407 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8408 esac
8413 DLLFLAGS="$DLLFLAGS -fPIC"
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8415 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8416 if ${ac_cv_c_dll_gnuelf+:} false; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 ac_wine_try_cflags_saved=$CFLAGS
8420 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8422 /* end confdefs.h. */
8423 void myfunc() {}
8424 _ACEOF
8425 if ac_fn_c_try_link "$LINENO"; then :
8426 ac_cv_c_dll_gnuelf="yes"
8427 else
8428 ac_cv_c_dll_gnuelf="no"
8430 rm -f core conftest.err conftest.$ac_objext \
8431 conftest$ac_exeext conftest.$ac_ext
8432 CFLAGS=$ac_wine_try_cflags_saved
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8435 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8436 if test "$ac_cv_c_dll_gnuelf" = "yes"
8437 then
8438 LIBWINE_LDFLAGS="-shared"
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8440 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8441 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8442 $as_echo_n "(cached) " >&6
8443 else
8444 ac_wine_try_cflags_saved=$CFLAGS
8445 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8448 int main(int argc, char **argv) { return 0; }
8449 _ACEOF
8450 if ac_fn_c_try_link "$LINENO"; then :
8451 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8452 else
8453 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8455 rm -f core conftest.err conftest.$ac_objext \
8456 conftest$ac_exeext conftest.$ac_ext
8457 CFLAGS=$ac_wine_try_cflags_saved
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8460 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8461 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8462 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8463 else
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8465 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8466 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8467 $as_echo_n "(cached) " >&6
8468 else
8469 ac_wine_try_cflags_saved=$CFLAGS
8470 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8473 int main(int argc, char **argv) { return 0; }
8474 _ACEOF
8475 if ac_fn_c_try_link "$LINENO"; then :
8476 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8477 else
8478 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8480 rm -f core conftest.err conftest.$ac_objext \
8481 conftest$ac_exeext conftest.$ac_ext
8482 CFLAGS=$ac_wine_try_cflags_saved
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8485 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8486 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8487 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8491 echo '{ global: *; };' >conftest.map
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8493 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8494 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8495 $as_echo_n "(cached) " >&6
8496 else
8497 ac_wine_try_cflags_saved=$CFLAGS
8498 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8500 /* end confdefs.h. */
8501 int main(int argc, char **argv) { return 0; }
8502 _ACEOF
8503 if ac_fn_c_try_link "$LINENO"; then :
8504 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8505 else
8506 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8508 rm -f core conftest.err conftest.$ac_objext \
8509 conftest$ac_exeext conftest.$ac_ext
8510 CFLAGS=$ac_wine_try_cflags_saved
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8513 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8514 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8515 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8517 rm -f conftest.map
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8520 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8521 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8522 $as_echo_n "(cached) " >&6
8523 else
8524 ac_wine_try_cflags_saved=$CFLAGS
8525 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8527 /* end confdefs.h. */
8528 int main(int argc, char **argv) { return 0; }
8529 _ACEOF
8530 if ac_fn_c_try_link "$LINENO"; then :
8531 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8532 else
8533 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8535 rm -f core conftest.err conftest.$ac_objext \
8536 conftest$ac_exeext conftest.$ac_ext
8537 CFLAGS=$ac_wine_try_cflags_saved
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8540 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8541 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8542 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8545 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8547 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8548 if eval \${$as_ac_var+:} false; then :
8549 $as_echo_n "(cached) " >&6
8550 else
8551 ac_wine_try_cflags_saved=$CFLAGS
8552 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8555 int main(int argc, char **argv) { return 0; }
8556 _ACEOF
8557 if ac_fn_c_try_link "$LINENO"; then :
8558 eval "$as_ac_var=yes"
8559 else
8560 eval "$as_ac_var=no"
8562 rm -f core conftest.err conftest.$ac_objext \
8563 conftest$ac_exeext conftest.$ac_ext
8564 CFLAGS=$ac_wine_try_cflags_saved
8566 eval ac_res=\$$as_ac_var
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8568 $as_echo "$ac_res" >&6; }
8569 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8570 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8571 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8572 else
8573 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8575 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8576 if eval \${$as_ac_var+:} false; then :
8577 $as_echo_n "(cached) " >&6
8578 else
8579 ac_wine_try_cflags_saved=$CFLAGS
8580 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8582 /* end confdefs.h. */
8583 int main(int argc, char **argv) { return 0; }
8584 _ACEOF
8585 if ac_fn_c_try_link "$LINENO"; then :
8586 eval "$as_ac_var=yes"
8587 else
8588 eval "$as_ac_var=no"
8590 rm -f core conftest.err conftest.$ac_objext \
8591 conftest$ac_exeext conftest.$ac_ext
8592 CFLAGS=$ac_wine_try_cflags_saved
8594 eval ac_res=\$$as_ac_var
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8596 $as_echo "$ac_res" >&6; }
8597 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8598 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8599 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8604 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8605 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8606 $as_echo_n "(cached) " >&6
8607 else
8608 ac_wine_try_cflags_saved=$CFLAGS
8609 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8611 /* end confdefs.h. */
8612 int main(int argc, char **argv) { return 0; }
8613 _ACEOF
8614 if ac_fn_c_try_link "$LINENO"; then :
8615 ac_cv_cflags__Wl___enable_new_dtags=yes
8616 else
8617 ac_cv_cflags__Wl___enable_new_dtags=no
8619 rm -f core conftest.err conftest.$ac_objext \
8620 conftest$ac_exeext conftest.$ac_ext
8621 CFLAGS=$ac_wine_try_cflags_saved
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8624 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8625 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8626 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8629 case $host_cpu in
8630 *i[3456789]86* | x86_64 | *aarch64*)
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8632 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8633 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8634 $as_echo_n "(cached) " >&6
8635 else
8636 ac_wine_try_cflags_saved=$CFLAGS
8637 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8639 /* end confdefs.h. */
8640 int main(int argc, char **argv) { return 0; }
8641 _ACEOF
8642 if ac_fn_c_try_link "$LINENO"; then :
8643 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8644 else
8645 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8647 rm -f core conftest.err conftest.$ac_objext \
8648 conftest$ac_exeext conftest.$ac_ext
8649 CFLAGS=$ac_wine_try_cflags_saved
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8652 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8653 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8654 case $host_os in
8655 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8656 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8657 esac
8658 else
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8660 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8661 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8662 $as_echo_n "(cached) " >&6
8663 else
8664 ac_wine_try_cflags_saved=$CFLAGS
8665 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8667 /* end confdefs.h. */
8668 int main(int argc, char **argv) { return 0; }
8669 _ACEOF
8670 if ac_fn_c_try_link "$LINENO"; then :
8671 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8672 else
8673 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8675 rm -f core conftest.err conftest.$ac_objext \
8676 conftest$ac_exeext conftest.$ac_ext
8677 CFLAGS=$ac_wine_try_cflags_saved
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8680 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8681 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8682 case $host_os in
8683 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8684 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8685 esac
8687 # Extract the first word of "prelink", so it can be a program name with args.
8688 set dummy prelink; ac_word=$2
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8690 $as_echo_n "checking for $ac_word... " >&6; }
8691 if ${ac_cv_path_PRELINK+:} false; then :
8692 $as_echo_n "(cached) " >&6
8693 else
8694 case $PRELINK in
8695 [\\/]* | ?:[\\/]*)
8696 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8700 for as_dir in /sbin /usr/sbin $PATH
8702 IFS=$as_save_IFS
8703 test -z "$as_dir" && as_dir=.
8704 for ac_exec_ext in '' $ac_executable_extensions; do
8705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8706 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8708 break 2
8710 done
8711 done
8712 IFS=$as_save_IFS
8714 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8716 esac
8718 PRELINK=$ac_cv_path_PRELINK
8719 if test -n "$PRELINK"; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8721 $as_echo "$PRELINK" >&6; }
8722 else
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8724 $as_echo "no" >&6; }
8728 if test "x$PRELINK" = xfalse
8729 then
8730 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8734 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8735 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8736 $as_echo_n "(cached) " >&6
8737 else
8738 ac_wine_try_cflags_saved=$CFLAGS
8739 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8741 /* end confdefs.h. */
8742 int main(int argc, char **argv) { return 0; }
8743 _ACEOF
8744 if ac_fn_c_try_link "$LINENO"; then :
8745 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8746 else
8747 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8749 rm -f core conftest.err conftest.$ac_objext \
8750 conftest$ac_exeext conftest.$ac_ext
8751 CFLAGS=$ac_wine_try_cflags_saved
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8754 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8755 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8756 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8759 esac
8761 else
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8763 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8764 if ${ac_cv_c_dll_unixware+:} false; then :
8765 $as_echo_n "(cached) " >&6
8766 else
8767 ac_wine_try_cflags_saved=$CFLAGS
8768 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8770 /* end confdefs.h. */
8771 void myfunc() {}
8772 _ACEOF
8773 if ac_fn_c_try_link "$LINENO"; then :
8774 ac_cv_c_dll_unixware="yes"
8775 else
8776 ac_cv_c_dll_unixware="no"
8778 rm -f core conftest.err conftest.$ac_objext \
8779 conftest$ac_exeext conftest.$ac_ext
8780 CFLAGS=$ac_wine_try_cflags_saved
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8783 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8784 if test "$ac_cv_c_dll_unixware" = "yes"
8785 then
8786 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8789 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8791 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8793 LIBWINE_INSTALL_DEV="libwine.so"
8795 LIBWINE_DEPENDS="wine.map"
8798 esac
8800 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8801 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8802 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8803 enable_winemac_drv=${enable_winemac_drv:-no}
8804 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8806 CROSSTARGET=""
8808 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8809 then
8810 case "$host_cpu" in
8811 arm*)
8812 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8813 i[3456789]86*)
8814 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
8815 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8816 mingw32-gcc" ;;
8817 x86_64)
8818 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
8819 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8821 ac_prefix_list="" ;;
8822 esac
8823 for ac_prog in $ac_prefix_list
8825 # Extract the first word of "$ac_prog", so it can be a program name with args.
8826 set dummy $ac_prog; ac_word=$2
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8828 $as_echo_n "checking for $ac_word... " >&6; }
8829 if ${ac_cv_prog_CROSSCC+:} false; then :
8830 $as_echo_n "(cached) " >&6
8831 else
8832 if test -n "$CROSSCC"; then
8833 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8834 else
8835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8836 for as_dir in $PATH
8838 IFS=$as_save_IFS
8839 test -z "$as_dir" && as_dir=.
8840 for ac_exec_ext in '' $ac_executable_extensions; do
8841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8842 ac_cv_prog_CROSSCC="$ac_prog"
8843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8844 break 2
8846 done
8847 done
8848 IFS=$as_save_IFS
8852 CROSSCC=$ac_cv_prog_CROSSCC
8853 if test -n "$CROSSCC"; then
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8855 $as_echo "$CROSSCC" >&6; }
8856 else
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8858 $as_echo "no" >&6; }
8862 test -n "$CROSSCC" && break
8863 done
8864 test -n "$CROSSCC" || CROSSCC="false"
8866 if test "$CROSSCC" != "false"
8867 then
8868 ac_save_CC="$CC"
8869 CC="$CROSSCC"
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8871 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8876 main ()
8880 return 0;
8882 _ACEOF
8883 if ac_fn_c_try_compile "$LINENO"; then :
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8885 $as_echo "yes" >&6; }
8886 set x $CROSSCC
8887 shift
8888 while test $# -ge 1
8890 case "$1" in
8891 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8892 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8893 esac
8894 shift
8895 done
8896 else
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8898 $as_echo "no" >&6; }
8900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8901 CC="$ac_save_CC"
8902 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8908 if test "$ac_cv_header_pthread_h" = "yes"
8909 then
8910 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8911 if test "x$ac_cv_func_pthread_create" = xyes; then :
8913 else
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8915 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8916 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8917 $as_echo_n "(cached) " >&6
8918 else
8919 ac_check_lib_save_LIBS=$LIBS
8920 LIBS="-lpthread $LIBS"
8921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8922 /* end confdefs.h. */
8924 /* Override any GCC internal prototype to avoid an error.
8925 Use char because int might match the return type of a GCC
8926 builtin and then its argument prototype would still apply. */
8927 #ifdef __cplusplus
8928 extern "C"
8929 #endif
8930 char pthread_create ();
8932 main ()
8934 return pthread_create ();
8936 return 0;
8938 _ACEOF
8939 if ac_fn_c_try_link "$LINENO"; then :
8940 ac_cv_lib_pthread_pthread_create=yes
8941 else
8942 ac_cv_lib_pthread_pthread_create=no
8944 rm -f core conftest.err conftest.$ac_objext \
8945 conftest$ac_exeext conftest.$ac_ext
8946 LIBS=$ac_check_lib_save_LIBS
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8949 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8950 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8951 PTHREAD_LIBS="-lpthread"
8958 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8959 case "x$with_pthread" in
8960 xno) ;;
8961 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8962 Wine cannot support threads without libpthread.
8963 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8964 esac
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8970 $as_echo_n "checking for X... " >&6; }
8973 # Check whether --with-x was given.
8974 if test "${with_x+set}" = set; then :
8975 withval=$with_x;
8978 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8979 if test "x$with_x" = xno; then
8980 # The user explicitly disabled X.
8981 have_x=disabled
8982 else
8983 case $x_includes,$x_libraries in #(
8984 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8985 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8986 $as_echo_n "(cached) " >&6
8987 else
8988 # One or both of the vars are not set, and there is no cached value.
8989 ac_x_includes=no ac_x_libraries=no
8990 rm -f -r conftest.dir
8991 if mkdir conftest.dir; then
8992 cd conftest.dir
8993 cat >Imakefile <<'_ACEOF'
8994 incroot:
8995 @echo incroot='${INCROOT}'
8996 usrlibdir:
8997 @echo usrlibdir='${USRLIBDIR}'
8998 libdir:
8999 @echo libdir='${LIBDIR}'
9000 _ACEOF
9001 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9002 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9003 for ac_var in incroot usrlibdir libdir; do
9004 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9005 done
9006 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9007 for ac_extension in a so sl dylib la dll; do
9008 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9009 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9010 ac_im_usrlibdir=$ac_im_libdir; break
9012 done
9013 # Screen out bogus values from the imake configuration. They are
9014 # bogus both because they are the default anyway, and because
9015 # using them would break gcc on systems where it needs fixed includes.
9016 case $ac_im_incroot in
9017 /usr/include) ac_x_includes= ;;
9018 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9019 esac
9020 case $ac_im_usrlibdir in
9021 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9022 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9023 esac
9025 cd ..
9026 rm -f -r conftest.dir
9029 # Standard set of common directories for X headers.
9030 # Check X11 before X11Rn because it is often a symlink to the current release.
9031 ac_x_header_dirs='
9032 /usr/X11/include
9033 /usr/X11R7/include
9034 /usr/X11R6/include
9035 /usr/X11R5/include
9036 /usr/X11R4/include
9038 /usr/include/X11
9039 /usr/include/X11R7
9040 /usr/include/X11R6
9041 /usr/include/X11R5
9042 /usr/include/X11R4
9044 /usr/local/X11/include
9045 /usr/local/X11R7/include
9046 /usr/local/X11R6/include
9047 /usr/local/X11R5/include
9048 /usr/local/X11R4/include
9050 /usr/local/include/X11
9051 /usr/local/include/X11R7
9052 /usr/local/include/X11R6
9053 /usr/local/include/X11R5
9054 /usr/local/include/X11R4
9056 /usr/X386/include
9057 /usr/x386/include
9058 /usr/XFree86/include/X11
9060 /usr/include
9061 /usr/local/include
9062 /usr/unsupported/include
9063 /usr/athena/include
9064 /usr/local/x11r5/include
9065 /usr/lpp/Xamples/include
9067 /usr/openwin/include
9068 /usr/openwin/share/include'
9070 if test "$ac_x_includes" = no; then
9071 # Guess where to find include files, by looking for Xlib.h.
9072 # First, try using that file with no special directory specified.
9073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9074 /* end confdefs.h. */
9075 #include <X11/Xlib.h>
9076 _ACEOF
9077 if ac_fn_c_try_cpp "$LINENO"; then :
9078 # We can compile using X headers with no special include directory.
9079 ac_x_includes=
9080 else
9081 for ac_dir in $ac_x_header_dirs; do
9082 if test -r "$ac_dir/X11/Xlib.h"; then
9083 ac_x_includes=$ac_dir
9084 break
9086 done
9088 rm -f conftest.err conftest.i conftest.$ac_ext
9089 fi # $ac_x_includes = no
9091 if test "$ac_x_libraries" = no; then
9092 # Check for the libraries.
9093 # See if we find them without any special options.
9094 # Don't add to $LIBS permanently.
9095 ac_save_LIBS=$LIBS
9096 LIBS="-lX11 $LIBS"
9097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9098 /* end confdefs.h. */
9099 #include <X11/Xlib.h>
9101 main ()
9103 XrmInitialize ()
9105 return 0;
9107 _ACEOF
9108 if ac_fn_c_try_link "$LINENO"; then :
9109 LIBS=$ac_save_LIBS
9110 # We can link X programs with no special library path.
9111 ac_x_libraries=
9112 else
9113 LIBS=$ac_save_LIBS
9114 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9116 # Don't even attempt the hair of trying to link an X program!
9117 for ac_extension in a so sl dylib la dll; do
9118 if test -r "$ac_dir/libX11.$ac_extension"; then
9119 ac_x_libraries=$ac_dir
9120 break 2
9122 done
9123 done
9125 rm -f core conftest.err conftest.$ac_objext \
9126 conftest$ac_exeext conftest.$ac_ext
9127 fi # $ac_x_libraries = no
9129 case $ac_x_includes,$ac_x_libraries in #(
9130 no,* | *,no | *\'*)
9131 # Didn't find X, or a directory has "'" in its name.
9132 ac_cv_have_x="have_x=no";; #(
9134 # Record where we found X for the cache.
9135 ac_cv_have_x="have_x=yes\
9136 ac_x_includes='$ac_x_includes'\
9137 ac_x_libraries='$ac_x_libraries'"
9138 esac
9140 ;; #(
9141 *) have_x=yes;;
9142 esac
9143 eval "$ac_cv_have_x"
9144 fi # $with_x != no
9146 if test "$have_x" != yes; then
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9148 $as_echo "$have_x" >&6; }
9149 no_x=yes
9150 else
9151 # If each of the values was on the command line, it overrides each guess.
9152 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9153 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9154 # Update the cache value to reflect the command line values.
9155 ac_cv_have_x="have_x=yes\
9156 ac_x_includes='$x_includes'\
9157 ac_x_libraries='$x_libraries'"
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9159 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9162 if test "$no_x" = yes; then
9163 # Not all programs may use this symbol, but it does not hurt to define it.
9165 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9167 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9168 else
9169 if test -n "$x_includes"; then
9170 X_CFLAGS="$X_CFLAGS -I$x_includes"
9173 # It would also be nice to do this for all -L options, not just this one.
9174 if test -n "$x_libraries"; then
9175 X_LIBS="$X_LIBS -L$x_libraries"
9176 # For Solaris; some versions of Sun CC require a space after -R and
9177 # others require no space. Words are not sufficient . . . .
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9179 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9180 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9181 ac_xsave_c_werror_flag=$ac_c_werror_flag
9182 ac_c_werror_flag=yes
9183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9184 /* end confdefs.h. */
9187 main ()
9191 return 0;
9193 _ACEOF
9194 if ac_fn_c_try_link "$LINENO"; then :
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9196 $as_echo "no" >&6; }
9197 X_LIBS="$X_LIBS -R$x_libraries"
9198 else
9199 LIBS="$ac_xsave_LIBS -R $x_libraries"
9200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9201 /* end confdefs.h. */
9204 main ()
9208 return 0;
9210 _ACEOF
9211 if ac_fn_c_try_link "$LINENO"; then :
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9213 $as_echo "yes" >&6; }
9214 X_LIBS="$X_LIBS -R $x_libraries"
9215 else
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9217 $as_echo "neither works" >&6; }
9219 rm -f core conftest.err conftest.$ac_objext \
9220 conftest$ac_exeext conftest.$ac_ext
9222 rm -f core conftest.err conftest.$ac_objext \
9223 conftest$ac_exeext conftest.$ac_ext
9224 ac_c_werror_flag=$ac_xsave_c_werror_flag
9225 LIBS=$ac_xsave_LIBS
9228 # Check for system-dependent libraries X programs must link with.
9229 # Do this before checking for the system-independent R6 libraries
9230 # (-lICE), since we may need -lsocket or whatever for X linking.
9232 if test "$ISC" = yes; then
9233 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9234 else
9235 # Martyn Johnson says this is needed for Ultrix, if the X
9236 # libraries were built with DECnet support. And Karl Berry says
9237 # the Alpha needs dnet_stub (dnet does not exist).
9238 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9240 /* end confdefs.h. */
9242 /* Override any GCC internal prototype to avoid an error.
9243 Use char because int might match the return type of a GCC
9244 builtin and then its argument prototype would still apply. */
9245 #ifdef __cplusplus
9246 extern "C"
9247 #endif
9248 char XOpenDisplay ();
9250 main ()
9252 return XOpenDisplay ();
9254 return 0;
9256 _ACEOF
9257 if ac_fn_c_try_link "$LINENO"; then :
9259 else
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9261 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9262 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9263 $as_echo_n "(cached) " >&6
9264 else
9265 ac_check_lib_save_LIBS=$LIBS
9266 LIBS="-ldnet $LIBS"
9267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9268 /* end confdefs.h. */
9270 /* Override any GCC internal prototype to avoid an error.
9271 Use char because int might match the return type of a GCC
9272 builtin and then its argument prototype would still apply. */
9273 #ifdef __cplusplus
9274 extern "C"
9275 #endif
9276 char dnet_ntoa ();
9278 main ()
9280 return dnet_ntoa ();
9282 return 0;
9284 _ACEOF
9285 if ac_fn_c_try_link "$LINENO"; then :
9286 ac_cv_lib_dnet_dnet_ntoa=yes
9287 else
9288 ac_cv_lib_dnet_dnet_ntoa=no
9290 rm -f core conftest.err conftest.$ac_objext \
9291 conftest$ac_exeext conftest.$ac_ext
9292 LIBS=$ac_check_lib_save_LIBS
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9295 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9296 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9297 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9300 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9302 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9303 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9304 $as_echo_n "(cached) " >&6
9305 else
9306 ac_check_lib_save_LIBS=$LIBS
9307 LIBS="-ldnet_stub $LIBS"
9308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9309 /* end confdefs.h. */
9311 /* Override any GCC internal prototype to avoid an error.
9312 Use char because int might match the return type of a GCC
9313 builtin and then its argument prototype would still apply. */
9314 #ifdef __cplusplus
9315 extern "C"
9316 #endif
9317 char dnet_ntoa ();
9319 main ()
9321 return dnet_ntoa ();
9323 return 0;
9325 _ACEOF
9326 if ac_fn_c_try_link "$LINENO"; then :
9327 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9328 else
9329 ac_cv_lib_dnet_stub_dnet_ntoa=no
9331 rm -f core conftest.err conftest.$ac_objext \
9332 conftest$ac_exeext conftest.$ac_ext
9333 LIBS=$ac_check_lib_save_LIBS
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9336 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9337 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9338 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9343 rm -f core conftest.err conftest.$ac_objext \
9344 conftest$ac_exeext conftest.$ac_ext
9345 LIBS="$ac_xsave_LIBS"
9347 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9348 # to get the SysV transport functions.
9349 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9350 # needs -lnsl.
9351 # The nsl library prevents programs from opening the X display
9352 # on Irix 5.2, according to T.E. Dickey.
9353 # The functions gethostbyname, getservbyname, and inet_addr are
9354 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9355 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9356 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9360 if test $ac_cv_func_gethostbyname = no; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9362 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9363 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9364 $as_echo_n "(cached) " >&6
9365 else
9366 ac_check_lib_save_LIBS=$LIBS
9367 LIBS="-lnsl $LIBS"
9368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9369 /* end confdefs.h. */
9371 /* Override any GCC internal prototype to avoid an error.
9372 Use char because int might match the return type of a GCC
9373 builtin and then its argument prototype would still apply. */
9374 #ifdef __cplusplus
9375 extern "C"
9376 #endif
9377 char gethostbyname ();
9379 main ()
9381 return gethostbyname ();
9383 return 0;
9385 _ACEOF
9386 if ac_fn_c_try_link "$LINENO"; then :
9387 ac_cv_lib_nsl_gethostbyname=yes
9388 else
9389 ac_cv_lib_nsl_gethostbyname=no
9391 rm -f core conftest.err conftest.$ac_objext \
9392 conftest$ac_exeext conftest.$ac_ext
9393 LIBS=$ac_check_lib_save_LIBS
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9396 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9397 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9398 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9401 if test $ac_cv_lib_nsl_gethostbyname = no; then
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9403 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9404 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9405 $as_echo_n "(cached) " >&6
9406 else
9407 ac_check_lib_save_LIBS=$LIBS
9408 LIBS="-lbsd $LIBS"
9409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9410 /* end confdefs.h. */
9412 /* Override any GCC internal prototype to avoid an error.
9413 Use char because int might match the return type of a GCC
9414 builtin and then its argument prototype would still apply. */
9415 #ifdef __cplusplus
9416 extern "C"
9417 #endif
9418 char gethostbyname ();
9420 main ()
9422 return gethostbyname ();
9424 return 0;
9426 _ACEOF
9427 if ac_fn_c_try_link "$LINENO"; then :
9428 ac_cv_lib_bsd_gethostbyname=yes
9429 else
9430 ac_cv_lib_bsd_gethostbyname=no
9432 rm -f core conftest.err conftest.$ac_objext \
9433 conftest$ac_exeext conftest.$ac_ext
9434 LIBS=$ac_check_lib_save_LIBS
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9437 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9438 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9439 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9445 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9446 # socket/setsockopt and other routines are undefined under SCO ODT
9447 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9448 # on later versions), says Simon Leinen: it contains gethostby*
9449 # variants that don't use the name server (or something). -lsocket
9450 # must be given before -lnsl if both are needed. We assume that
9451 # if connect needs -lnsl, so does gethostbyname.
9452 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9453 if test "x$ac_cv_func_connect" = xyes; then :
9457 if test $ac_cv_func_connect = no; then
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9459 $as_echo_n "checking for connect in -lsocket... " >&6; }
9460 if ${ac_cv_lib_socket_connect+:} false; then :
9461 $as_echo_n "(cached) " >&6
9462 else
9463 ac_check_lib_save_LIBS=$LIBS
9464 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9468 /* Override any GCC internal prototype to avoid an error.
9469 Use char because int might match the return type of a GCC
9470 builtin and then its argument prototype would still apply. */
9471 #ifdef __cplusplus
9472 extern "C"
9473 #endif
9474 char connect ();
9476 main ()
9478 return connect ();
9480 return 0;
9482 _ACEOF
9483 if ac_fn_c_try_link "$LINENO"; then :
9484 ac_cv_lib_socket_connect=yes
9485 else
9486 ac_cv_lib_socket_connect=no
9488 rm -f core conftest.err conftest.$ac_objext \
9489 conftest$ac_exeext conftest.$ac_ext
9490 LIBS=$ac_check_lib_save_LIBS
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9493 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9494 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9495 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9500 # Guillermo Gomez says -lposix is necessary on A/UX.
9501 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9502 if test "x$ac_cv_func_remove" = xyes; then :
9506 if test $ac_cv_func_remove = no; then
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9508 $as_echo_n "checking for remove in -lposix... " >&6; }
9509 if ${ac_cv_lib_posix_remove+:} false; then :
9510 $as_echo_n "(cached) " >&6
9511 else
9512 ac_check_lib_save_LIBS=$LIBS
9513 LIBS="-lposix $LIBS"
9514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9517 /* Override any GCC internal prototype to avoid an error.
9518 Use char because int might match the return type of a GCC
9519 builtin and then its argument prototype would still apply. */
9520 #ifdef __cplusplus
9521 extern "C"
9522 #endif
9523 char remove ();
9525 main ()
9527 return remove ();
9529 return 0;
9531 _ACEOF
9532 if ac_fn_c_try_link "$LINENO"; then :
9533 ac_cv_lib_posix_remove=yes
9534 else
9535 ac_cv_lib_posix_remove=no
9537 rm -f core conftest.err conftest.$ac_objext \
9538 conftest$ac_exeext conftest.$ac_ext
9539 LIBS=$ac_check_lib_save_LIBS
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9542 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9543 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9544 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9549 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9550 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9551 if test "x$ac_cv_func_shmat" = xyes; then :
9555 if test $ac_cv_func_shmat = no; then
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9557 $as_echo_n "checking for shmat in -lipc... " >&6; }
9558 if ${ac_cv_lib_ipc_shmat+:} false; then :
9559 $as_echo_n "(cached) " >&6
9560 else
9561 ac_check_lib_save_LIBS=$LIBS
9562 LIBS="-lipc $LIBS"
9563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9564 /* end confdefs.h. */
9566 /* Override any GCC internal prototype to avoid an error.
9567 Use char because int might match the return type of a GCC
9568 builtin and then its argument prototype would still apply. */
9569 #ifdef __cplusplus
9570 extern "C"
9571 #endif
9572 char shmat ();
9574 main ()
9576 return shmat ();
9578 return 0;
9580 _ACEOF
9581 if ac_fn_c_try_link "$LINENO"; then :
9582 ac_cv_lib_ipc_shmat=yes
9583 else
9584 ac_cv_lib_ipc_shmat=no
9586 rm -f core conftest.err conftest.$ac_objext \
9587 conftest$ac_exeext conftest.$ac_ext
9588 LIBS=$ac_check_lib_save_LIBS
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9591 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9592 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9593 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9599 # Check for libraries that X11R6 Xt/Xaw programs need.
9600 ac_save_LDFLAGS=$LDFLAGS
9601 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9602 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9603 # check for ICE first), but we must link in the order -lSM -lICE or
9604 # we get undefined symbols. So assume we have SM if we have ICE.
9605 # These have to be linked with before -lX11, unlike the other
9606 # libraries we check for below, so use a different variable.
9607 # John Interrante, Karl Berry
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9609 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9610 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9611 $as_echo_n "(cached) " >&6
9612 else
9613 ac_check_lib_save_LIBS=$LIBS
9614 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9616 /* end confdefs.h. */
9618 /* Override any GCC internal prototype to avoid an error.
9619 Use char because int might match the return type of a GCC
9620 builtin and then its argument prototype would still apply. */
9621 #ifdef __cplusplus
9622 extern "C"
9623 #endif
9624 char IceConnectionNumber ();
9626 main ()
9628 return IceConnectionNumber ();
9630 return 0;
9632 _ACEOF
9633 if ac_fn_c_try_link "$LINENO"; then :
9634 ac_cv_lib_ICE_IceConnectionNumber=yes
9635 else
9636 ac_cv_lib_ICE_IceConnectionNumber=no
9638 rm -f core conftest.err conftest.$ac_objext \
9639 conftest$ac_exeext conftest.$ac_ext
9640 LIBS=$ac_check_lib_save_LIBS
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9643 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9644 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9645 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9648 LDFLAGS=$ac_save_LDFLAGS
9653 if test "$have_x" = "yes"
9654 then
9655 ac_save_CPPFLAGS="$CPPFLAGS"
9656 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9659 $as_echo_n "checking for -lX11... " >&6; }
9660 if ${ac_cv_lib_soname_X11+:} false; then :
9661 $as_echo_n "(cached) " >&6
9662 else
9663 ac_check_soname_save_LIBS=$LIBS
9664 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9666 /* end confdefs.h. */
9668 /* Override any GCC internal prototype to avoid an error.
9669 Use char because int might match the return type of a GCC
9670 builtin and then its argument prototype would still apply. */
9671 #ifdef __cplusplus
9672 extern "C"
9673 #endif
9674 char XCreateWindow ();
9676 main ()
9678 return XCreateWindow ();
9680 return 0;
9682 _ACEOF
9683 if ac_fn_c_try_link "$LINENO"; then :
9684 case "$LIBEXT" in
9685 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9686 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'` ;;
9687 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9688 if ${ac_cv_lib_soname_X11:+false} :; then :
9689 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9690 fi ;;
9691 esac
9693 rm -f core conftest.err conftest.$ac_objext \
9694 conftest$ac_exeext conftest.$ac_ext
9695 LIBS=$ac_check_soname_save_LIBS
9697 if ${ac_cv_lib_soname_X11:+false} :; then :
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9699 $as_echo "not found" >&6; }
9701 else
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9703 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9705 cat >>confdefs.h <<_ACEOF
9706 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9707 _ACEOF
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9712 $as_echo_n "checking for -lXext... " >&6; }
9713 if ${ac_cv_lib_soname_Xext+:} false; then :
9714 $as_echo_n "(cached) " >&6
9715 else
9716 ac_check_soname_save_LIBS=$LIBS
9717 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9721 /* Override any GCC internal prototype to avoid an error.
9722 Use char because int might match the return type of a GCC
9723 builtin and then its argument prototype would still apply. */
9724 #ifdef __cplusplus
9725 extern "C"
9726 #endif
9727 char XextCreateExtension ();
9729 main ()
9731 return XextCreateExtension ();
9733 return 0;
9735 _ACEOF
9736 if ac_fn_c_try_link "$LINENO"; then :
9737 case "$LIBEXT" in
9738 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9739 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'` ;;
9740 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9741 if ${ac_cv_lib_soname_Xext:+false} :; then :
9742 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9743 fi ;;
9744 esac
9746 rm -f core conftest.err conftest.$ac_objext \
9747 conftest$ac_exeext conftest.$ac_ext
9748 LIBS=$ac_check_soname_save_LIBS
9750 if ${ac_cv_lib_soname_Xext:+false} :; then :
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9752 $as_echo "not found" >&6; }
9754 else
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9756 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9758 cat >>confdefs.h <<_ACEOF
9759 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9760 _ACEOF
9762 X_LIBS="$X_LIBS -lXext"
9764 X_LIBS="$X_LIBS -lX11"
9766 for ac_header in X11/Xlib.h \
9767 X11/XKBlib.h \
9768 X11/Xutil.h \
9769 X11/Xcursor/Xcursor.h \
9770 X11/extensions/shape.h \
9771 X11/extensions/XInput.h \
9772 X11/extensions/XInput2.h \
9773 X11/extensions/XShm.h \
9774 X11/extensions/Xcomposite.h \
9775 X11/extensions/Xfixes.h \
9776 X11/extensions/Xinerama.h \
9777 X11/extensions/Xrandr.h \
9778 X11/extensions/Xrender.h \
9779 X11/extensions/xf86vmode.h \
9780 X11/extensions/xf86vmproto.h
9781 do :
9782 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9783 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9784 # include <X11/Xlib.h>
9785 #endif
9786 #ifdef HAVE_X11_XUTIL_H
9787 # include <X11/Xutil.h>
9788 #endif
9790 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9791 cat >>confdefs.h <<_ACEOF
9792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9793 _ACEOF
9797 done
9800 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9801 then
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9803 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9804 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9805 $as_echo_n "(cached) " >&6
9806 else
9807 ac_check_lib_save_LIBS=$LIBS
9808 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9810 /* end confdefs.h. */
9812 /* Override any GCC internal prototype to avoid an error.
9813 Use char because int might match the return type of a GCC
9814 builtin and then its argument prototype would still apply. */
9815 #ifdef __cplusplus
9816 extern "C"
9817 #endif
9818 char XkbQueryExtension ();
9820 main ()
9822 return XkbQueryExtension ();
9824 return 0;
9826 _ACEOF
9827 if ac_fn_c_try_link "$LINENO"; then :
9828 ac_cv_lib_X11_XkbQueryExtension=yes
9829 else
9830 ac_cv_lib_X11_XkbQueryExtension=no
9832 rm -f core conftest.err conftest.$ac_objext \
9833 conftest$ac_exeext conftest.$ac_ext
9834 LIBS=$ac_check_lib_save_LIBS
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9837 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9838 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9840 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9846 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9847 then
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9849 $as_echo_n "checking for -lXcursor... " >&6; }
9850 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9851 $as_echo_n "(cached) " >&6
9852 else
9853 ac_check_soname_save_LIBS=$LIBS
9854 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9856 /* end confdefs.h. */
9858 /* Override any GCC internal prototype to avoid an error.
9859 Use char because int might match the return type of a GCC
9860 builtin and then its argument prototype would still apply. */
9861 #ifdef __cplusplus
9862 extern "C"
9863 #endif
9864 char XcursorImageLoadCursor ();
9866 main ()
9868 return XcursorImageLoadCursor ();
9870 return 0;
9872 _ACEOF
9873 if ac_fn_c_try_link "$LINENO"; then :
9874 case "$LIBEXT" in
9875 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9876 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'` ;;
9877 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9878 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9879 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9880 fi ;;
9881 esac
9883 rm -f core conftest.err conftest.$ac_objext \
9884 conftest$ac_exeext conftest.$ac_ext
9885 LIBS=$ac_check_soname_save_LIBS
9887 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9889 $as_echo "not found" >&6; }
9891 else
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9893 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9895 cat >>confdefs.h <<_ACEOF
9896 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9897 _ACEOF
9902 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9903 case "x$with_xcursor" in
9904 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9905 xno) ;;
9906 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9907 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9908 esac
9912 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9913 then
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9915 $as_echo_n "checking for -lXi... " >&6; }
9916 if ${ac_cv_lib_soname_Xi+:} false; then :
9917 $as_echo_n "(cached) " >&6
9918 else
9919 ac_check_soname_save_LIBS=$LIBS
9920 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9924 /* Override any GCC internal prototype to avoid an error.
9925 Use char because int might match the return type of a GCC
9926 builtin and then its argument prototype would still apply. */
9927 #ifdef __cplusplus
9928 extern "C"
9929 #endif
9930 char XOpenDevice ();
9932 main ()
9934 return XOpenDevice ();
9936 return 0;
9938 _ACEOF
9939 if ac_fn_c_try_link "$LINENO"; then :
9940 case "$LIBEXT" in
9941 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9942 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'` ;;
9943 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9944 if ${ac_cv_lib_soname_Xi:+false} :; then :
9945 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9946 fi ;;
9947 esac
9949 rm -f core conftest.err conftest.$ac_objext \
9950 conftest$ac_exeext conftest.$ac_ext
9951 LIBS=$ac_check_soname_save_LIBS
9953 if ${ac_cv_lib_soname_Xi:+false} :; then :
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9955 $as_echo "not found" >&6; }
9957 else
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9959 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9961 cat >>confdefs.h <<_ACEOF
9962 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9963 _ACEOF
9968 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9969 case "x$with_xinput" in
9970 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9971 xno) ;;
9972 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9973 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9974 esac
9978 if test "x$ac_cv_lib_soname_Xi" != x
9979 then
9980 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9981 case "x$with_xinput2" in
9982 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9983 xno) ;;
9984 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9985 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9986 esac
9991 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9992 then
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9994 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9995 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9996 $as_echo_n "(cached) " >&6
9997 else
9998 ac_check_lib_save_LIBS=$LIBS
9999 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001 /* end confdefs.h. */
10003 /* Override any GCC internal prototype to avoid an error.
10004 Use char because int might match the return type of a GCC
10005 builtin and then its argument prototype would still apply. */
10006 #ifdef __cplusplus
10007 extern "C"
10008 #endif
10009 char XShmQueryExtension ();
10011 main ()
10013 return XShmQueryExtension ();
10015 return 0;
10017 _ACEOF
10018 if ac_fn_c_try_link "$LINENO"; then :
10019 ac_cv_lib_Xext_XShmQueryExtension=yes
10020 else
10021 ac_cv_lib_Xext_XShmQueryExtension=no
10023 rm -f core conftest.err conftest.$ac_objext \
10024 conftest$ac_exeext conftest.$ac_ext
10025 LIBS=$ac_check_lib_save_LIBS
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10028 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10029 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10031 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10036 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10037 case "x$with_xshm" in
10038 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10039 xno) ;;
10040 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10041 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10042 esac
10046 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10047 then
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10049 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10050 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10051 $as_echo_n "(cached) " >&6
10052 else
10053 ac_check_lib_save_LIBS=$LIBS
10054 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h. */
10058 /* Override any GCC internal prototype to avoid an error.
10059 Use char because int might match the return type of a GCC
10060 builtin and then its argument prototype would still apply. */
10061 #ifdef __cplusplus
10062 extern "C"
10063 #endif
10064 char XShapeQueryExtension ();
10066 main ()
10068 return XShapeQueryExtension ();
10070 return 0;
10072 _ACEOF
10073 if ac_fn_c_try_link "$LINENO"; then :
10074 ac_cv_lib_Xext_XShapeQueryExtension=yes
10075 else
10076 ac_cv_lib_Xext_XShapeQueryExtension=no
10078 rm -f core conftest.err conftest.$ac_objext \
10079 conftest$ac_exeext conftest.$ac_ext
10080 LIBS=$ac_check_lib_save_LIBS
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10083 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10084 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10086 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10091 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10092 case "x$with_xshape" in
10093 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10094 xno) ;;
10095 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10096 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10097 esac
10101 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10102 then
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10104 $as_echo_n "checking for -lXxf86vm... " >&6; }
10105 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10106 $as_echo_n "(cached) " >&6
10107 else
10108 ac_check_soname_save_LIBS=$LIBS
10109 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10113 /* Override any GCC internal prototype to avoid an error.
10114 Use char because int might match the return type of a GCC
10115 builtin and then its argument prototype would still apply. */
10116 #ifdef __cplusplus
10117 extern "C"
10118 #endif
10119 char XF86VidModeQueryExtension ();
10121 main ()
10123 return XF86VidModeQueryExtension ();
10125 return 0;
10127 _ACEOF
10128 if ac_fn_c_try_link "$LINENO"; then :
10129 case "$LIBEXT" in
10130 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10131 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'` ;;
10132 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10133 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10134 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10135 fi ;;
10136 esac
10138 rm -f core conftest.err conftest.$ac_objext \
10139 conftest$ac_exeext conftest.$ac_ext
10140 LIBS=$ac_check_soname_save_LIBS
10142 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10144 $as_echo "not found" >&6; }
10146 else
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10148 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10150 cat >>confdefs.h <<_ACEOF
10151 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10152 _ACEOF
10157 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10158 case "x$with_xxf86vm" in
10159 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10160 xno) ;;
10161 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10162 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10163 esac
10167 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10168 then
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10170 $as_echo_n "checking for -lXrender... " >&6; }
10171 if ${ac_cv_lib_soname_Xrender+:} false; then :
10172 $as_echo_n "(cached) " >&6
10173 else
10174 ac_check_soname_save_LIBS=$LIBS
10175 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10179 /* Override any GCC internal prototype to avoid an error.
10180 Use char because int might match the return type of a GCC
10181 builtin and then its argument prototype would still apply. */
10182 #ifdef __cplusplus
10183 extern "C"
10184 #endif
10185 char XRenderQueryExtension ();
10187 main ()
10189 return XRenderQueryExtension ();
10191 return 0;
10193 _ACEOF
10194 if ac_fn_c_try_link "$LINENO"; then :
10195 case "$LIBEXT" in
10196 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10197 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'` ;;
10198 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10199 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10200 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10201 fi ;;
10202 esac
10204 rm -f core conftest.err conftest.$ac_objext \
10205 conftest$ac_exeext conftest.$ac_ext
10206 LIBS=$ac_check_soname_save_LIBS
10208 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10210 $as_echo "not found" >&6; }
10212 else
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10214 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10216 cat >>confdefs.h <<_ACEOF
10217 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10218 _ACEOF
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10221 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10222 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10223 $as_echo_n "(cached) " >&6
10224 else
10225 ac_check_lib_save_LIBS=$LIBS
10226 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10228 /* end confdefs.h. */
10230 /* Override any GCC internal prototype to avoid an error.
10231 Use char because int might match the return type of a GCC
10232 builtin and then its argument prototype would still apply. */
10233 #ifdef __cplusplus
10234 extern "C"
10235 #endif
10236 char XRenderSetPictureTransform ();
10238 main ()
10240 return XRenderSetPictureTransform ();
10242 return 0;
10244 _ACEOF
10245 if ac_fn_c_try_link "$LINENO"; then :
10246 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10247 else
10248 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10250 rm -f core conftest.err conftest.$ac_objext \
10251 conftest$ac_exeext conftest.$ac_ext
10252 LIBS=$ac_check_lib_save_LIBS
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10255 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10256 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10258 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10263 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10264 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10265 $as_echo_n "(cached) " >&6
10266 else
10267 ac_check_lib_save_LIBS=$LIBS
10268 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10270 /* end confdefs.h. */
10272 /* Override any GCC internal prototype to avoid an error.
10273 Use char because int might match the return type of a GCC
10274 builtin and then its argument prototype would still apply. */
10275 #ifdef __cplusplus
10276 extern "C"
10277 #endif
10278 char XRenderCreateLinearGradient ();
10280 main ()
10282 return XRenderCreateLinearGradient ();
10284 return 0;
10286 _ACEOF
10287 if ac_fn_c_try_link "$LINENO"; then :
10288 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10289 else
10290 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10292 rm -f core conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_lib_save_LIBS
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10297 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10298 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10300 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10307 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10308 case "x$with_xrender" in
10309 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10310 xno) ;;
10311 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10312 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10313 esac
10317 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10318 then
10319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10320 /* end confdefs.h. */
10321 #include <X11/Xlib.h>
10322 #include <X11/extensions/Xrandr.h>
10324 main ()
10326 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10328 return 0;
10330 _ACEOF
10331 if ac_fn_c_try_compile "$LINENO"; then :
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10333 $as_echo_n "checking for -lXrandr... " >&6; }
10334 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10335 $as_echo_n "(cached) " >&6
10336 else
10337 ac_check_soname_save_LIBS=$LIBS
10338 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h. */
10342 /* Override any GCC internal prototype to avoid an error.
10343 Use char because int might match the return type of a GCC
10344 builtin and then its argument prototype would still apply. */
10345 #ifdef __cplusplus
10346 extern "C"
10347 #endif
10348 char XRRQueryExtension ();
10350 main ()
10352 return XRRQueryExtension ();
10354 return 0;
10356 _ACEOF
10357 if ac_fn_c_try_link "$LINENO"; then :
10358 case "$LIBEXT" in
10359 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10360 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'` ;;
10361 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10362 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10363 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10364 fi ;;
10365 esac
10367 rm -f core conftest.err conftest.$ac_objext \
10368 conftest$ac_exeext conftest.$ac_ext
10369 LIBS=$ac_check_soname_save_LIBS
10371 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10373 $as_echo "not found" >&6; }
10375 else
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10377 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10379 cat >>confdefs.h <<_ACEOF
10380 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10381 _ACEOF
10383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10384 /* end confdefs.h. */
10385 #include <X11/Xlib.h>
10386 #include <X11/extensions/Xrandr.h>
10388 main ()
10390 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10392 return 0;
10394 _ACEOF
10395 if ac_fn_c_try_compile "$LINENO"; then :
10397 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10405 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10406 case "x$with_xrandr" in
10407 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10408 xno) ;;
10409 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10410 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10411 esac
10415 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10416 then
10417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10419 #include <X11/Xlib.h>
10420 #include <X11/extensions/Xfixes.h>
10422 main ()
10424 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10426 return 0;
10428 _ACEOF
10429 if ac_fn_c_try_compile "$LINENO"; then :
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10431 $as_echo_n "checking for -lXfixes... " >&6; }
10432 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10433 $as_echo_n "(cached) " >&6
10434 else
10435 ac_check_soname_save_LIBS=$LIBS
10436 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10440 /* Override any GCC internal prototype to avoid an error.
10441 Use char because int might match the return type of a GCC
10442 builtin and then its argument prototype would still apply. */
10443 #ifdef __cplusplus
10444 extern "C"
10445 #endif
10446 char XFixesQueryVersion ();
10448 main ()
10450 return XFixesQueryVersion ();
10452 return 0;
10454 _ACEOF
10455 if ac_fn_c_try_link "$LINENO"; then :
10456 case "$LIBEXT" in
10457 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10458 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'` ;;
10459 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10460 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10461 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10462 fi ;;
10463 esac
10465 rm -f core conftest.err conftest.$ac_objext \
10466 conftest$ac_exeext conftest.$ac_ext
10467 LIBS=$ac_check_soname_save_LIBS
10469 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10471 $as_echo "not found" >&6; }
10473 else
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10475 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10477 cat >>confdefs.h <<_ACEOF
10478 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10479 _ACEOF
10484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10486 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10487 case "x$with_xfixes" in
10488 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10489 xno) ;;
10490 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10491 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10492 esac
10496 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10497 then
10498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10500 #include <X11/Xlib.h>
10501 #include <X11/extensions/Xinerama.h>
10503 main ()
10505 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10507 return 0;
10509 _ACEOF
10510 if ac_fn_c_try_compile "$LINENO"; then :
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10512 $as_echo_n "checking for -lXinerama... " >&6; }
10513 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10514 $as_echo_n "(cached) " >&6
10515 else
10516 ac_check_soname_save_LIBS=$LIBS
10517 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10524 #ifdef __cplusplus
10525 extern "C"
10526 #endif
10527 char XineramaQueryScreens ();
10529 main ()
10531 return XineramaQueryScreens ();
10533 return 0;
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"; then :
10537 case "$LIBEXT" in
10538 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10539 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'` ;;
10540 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10541 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10542 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10543 fi ;;
10544 esac
10546 rm -f core conftest.err conftest.$ac_objext \
10547 conftest$ac_exeext conftest.$ac_ext
10548 LIBS=$ac_check_soname_save_LIBS
10550 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10552 $as_echo "not found" >&6; }
10554 else
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10556 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10558 cat >>confdefs.h <<_ACEOF
10559 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10560 _ACEOF
10565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10567 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10568 case "x$with_xinerama" in
10569 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10570 xno) ;;
10571 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10572 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10573 esac
10577 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10578 then
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10580 $as_echo_n "checking for -lXcomposite... " >&6; }
10581 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10582 $as_echo_n "(cached) " >&6
10583 else
10584 ac_check_soname_save_LIBS=$LIBS
10585 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10587 /* end confdefs.h. */
10589 /* Override any GCC internal prototype to avoid an error.
10590 Use char because int might match the return type of a GCC
10591 builtin and then its argument prototype would still apply. */
10592 #ifdef __cplusplus
10593 extern "C"
10594 #endif
10595 char XCompositeRedirectWindow ();
10597 main ()
10599 return XCompositeRedirectWindow ();
10601 return 0;
10603 _ACEOF
10604 if ac_fn_c_try_link "$LINENO"; then :
10605 case "$LIBEXT" in
10606 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10607 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'` ;;
10608 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10609 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10610 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10611 fi ;;
10612 esac
10614 rm -f core conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10616 LIBS=$ac_check_soname_save_LIBS
10618 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10620 $as_echo "not found" >&6; }
10622 else
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10624 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10626 cat >>confdefs.h <<_ACEOF
10627 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10628 _ACEOF
10633 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10634 case "x$with_xcomposite" in
10635 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10636 xno) ;;
10637 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10638 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10639 esac
10643 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10644 #include <X11/Xlib.h>
10645 #endif
10647 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10649 cat >>confdefs.h <<_ACEOF
10650 #define HAVE_XICCALLBACK_CALLBACK 1
10651 _ACEOF
10655 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10656 #include <X11/Xlib.h>
10657 #endif
10659 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10661 cat >>confdefs.h <<_ACEOF
10662 #define HAVE_XEVENT_XCOOKIE 1
10663 _ACEOF
10670 opengl_msg=""
10671 if test "x$with_opengl" != "xno"
10672 then
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10674 $as_echo_n "checking for -lGL... " >&6; }
10675 if ${ac_cv_lib_soname_GL+:} false; then :
10676 $as_echo_n "(cached) " >&6
10677 else
10678 ac_check_soname_save_LIBS=$LIBS
10679 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10686 #ifdef __cplusplus
10687 extern "C"
10688 #endif
10689 char glXCreateContext ();
10691 main ()
10693 return glXCreateContext ();
10695 return 0;
10697 _ACEOF
10698 if ac_fn_c_try_link "$LINENO"; then :
10699 case "$LIBEXT" in
10700 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10701 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'` ;;
10702 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10703 if ${ac_cv_lib_soname_GL:+false} :; then :
10704 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10705 fi ;;
10706 esac
10708 rm -f core conftest.err conftest.$ac_objext \
10709 conftest$ac_exeext conftest.$ac_ext
10710 LIBS=$ac_check_soname_save_LIBS
10712 if ${ac_cv_lib_soname_GL:+false} :; then :
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10714 $as_echo "not found" >&6; }
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10716 $as_echo_n "checking for -lGL... " >&6; }
10717 if ${ac_cv_lib_soname_GL+:} false; then :
10718 $as_echo_n "(cached) " >&6
10719 else
10720 ac_check_soname_save_LIBS=$LIBS
10721 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"
10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10725 /* Override any GCC internal prototype to avoid an error.
10726 Use char because int might match the return type of a GCC
10727 builtin and then its argument prototype would still apply. */
10728 #ifdef __cplusplus
10729 extern "C"
10730 #endif
10731 char glXCreateContext ();
10733 main ()
10735 return glXCreateContext ();
10737 return 0;
10739 _ACEOF
10740 if ac_fn_c_try_link "$LINENO"; then :
10741 case "$LIBEXT" in
10742 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10743 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'` ;;
10744 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10745 if ${ac_cv_lib_soname_GL:+false} :; then :
10746 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10747 fi ;;
10748 esac
10750 rm -f core conftest.err conftest.$ac_objext \
10751 conftest$ac_exeext conftest.$ac_ext
10752 LIBS=$ac_check_soname_save_LIBS
10754 if ${ac_cv_lib_soname_GL:+false} :; then :
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10756 $as_echo "not found" >&6; }
10757 if test -f /usr/X11R6/lib/libGL.a
10758 then
10759 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10760 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10761 else
10762 opengl_msg="No OpenGL library found on this system."
10764 else
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10766 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10768 cat >>confdefs.h <<_ACEOF
10769 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10770 _ACEOF
10772 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"
10774 else
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10776 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10778 cat >>confdefs.h <<_ACEOF
10779 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10780 _ACEOF
10782 OPENGL_LIBS="-lGL"
10784 if test "x$with_glu" != "xno"
10785 then
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10787 $as_echo_n "checking for -lGLU... " >&6; }
10788 if ${ac_cv_lib_soname_GLU+:} false; then :
10789 $as_echo_n "(cached) " >&6
10790 else
10791 ac_check_soname_save_LIBS=$LIBS
10792 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10799 #ifdef __cplusplus
10800 extern "C"
10801 #endif
10802 char gluLookAt ();
10804 main ()
10806 return gluLookAt ();
10808 return 0;
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"; then :
10812 case "$LIBEXT" in
10813 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10814 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'` ;;
10815 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10816 if ${ac_cv_lib_soname_GLU:+false} :; then :
10817 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10818 fi ;;
10819 esac
10821 rm -f core conftest.err conftest.$ac_objext \
10822 conftest$ac_exeext conftest.$ac_ext
10823 LIBS=$ac_check_soname_save_LIBS
10825 if ${ac_cv_lib_soname_GLU:+false} :; then :
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10827 $as_echo "not found" >&6; }
10829 else
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10831 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10833 cat >>confdefs.h <<_ACEOF
10834 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10835 _ACEOF
10839 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10840 case "x$with_glu" in
10841 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10842 xno) ;;
10843 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10844 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10845 esac
10850 if test "x$with_osmesa" != "xno"
10851 then
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10853 $as_echo_n "checking for -lOSMesa... " >&6; }
10854 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10855 $as_echo_n "(cached) " >&6
10856 else
10857 ac_check_soname_save_LIBS=$LIBS
10858 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10862 /* Override any GCC internal prototype to avoid an error.
10863 Use char because int might match the return type of a GCC
10864 builtin and then its argument prototype would still apply. */
10865 #ifdef __cplusplus
10866 extern "C"
10867 #endif
10868 char OSMesaGetProcAddress ();
10870 main ()
10872 return OSMesaGetProcAddress ();
10874 return 0;
10876 _ACEOF
10877 if ac_fn_c_try_link "$LINENO"; then :
10878 case "$LIBEXT" in
10879 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10880 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'` ;;
10881 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10882 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10883 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10884 fi ;;
10885 esac
10887 rm -f core conftest.err conftest.$ac_objext \
10888 conftest$ac_exeext conftest.$ac_ext
10889 LIBS=$ac_check_soname_save_LIBS
10891 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10893 $as_echo "not found" >&6; }
10895 else
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10897 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10899 cat >>confdefs.h <<_ACEOF
10900 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10901 _ACEOF
10905 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10906 case "x$with_osmesa" in
10907 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10908 xno) ;;
10909 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10910 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10911 esac
10916 if test -n "$opengl_msg"; then :
10917 case "x$with_opengl" in
10918 x) as_fn_append wine_warnings "|$opengl_msg
10919 OpenGL and Direct3D won't be supported." ;;
10920 xno) ;;
10921 *) as_fn_error $? "$opengl_msg
10922 OpenGL and Direct3D won't be supported.
10923 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10924 esac
10928 CPPFLAGS="$ac_save_CPPFLAGS"
10929 else
10930 X_CFLAGS=""
10931 X_LIBS=""
10934 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10935 then
10936 if test "x$X_LIBS" = "x"; then :
10937 case "x$with_x" in
10938 xno) ;;
10939 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10940 without X support, which probably isn't what you want. You will need
10941 to install ${notice_platform}development packages of Xlib at the very least.
10942 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10943 esac
10944 enable_winex11_drv=${enable_winex11_drv:-no}
10946 else
10947 if test "x$X_LIBS" = "x"; then :
10948 case "x$with_x" in
10949 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10950 xno) ;;
10951 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10952 This is an error since --with-x was requested." "$LINENO" 5 ;;
10953 esac
10954 enable_winex11_drv=${enable_winex11_drv:-no}
10958 if test "$ac_cv_header_CL_cl_h" = "yes"
10959 then
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10961 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10962 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10963 $as_echo_n "(cached) " >&6
10964 else
10965 ac_check_lib_save_LIBS=$LIBS
10966 LIBS="-lOpenCL $LIBS"
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10973 #ifdef __cplusplus
10974 extern "C"
10975 #endif
10976 char clGetPlatformInfo ();
10978 main ()
10980 return clGetPlatformInfo ();
10982 return 0;
10984 _ACEOF
10985 if ac_fn_c_try_link "$LINENO"; then :
10986 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10987 else
10988 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10990 rm -f core conftest.err conftest.$ac_objext \
10991 conftest$ac_exeext conftest.$ac_ext
10992 LIBS=$ac_check_lib_save_LIBS
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10995 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10996 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10997 OPENCL_LIBS="-lOpenCL"
11002 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11003 case "x$with_opencl" in
11004 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11005 xno) ;;
11006 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11007 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11008 esac
11009 enable_opencl=${enable_opencl:-no}
11012 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11013 then
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11015 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11016 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11017 $as_echo_n "(cached) " >&6
11018 else
11019 ac_check_lib_save_LIBS=$LIBS
11020 LIBS="-lpcap $LIBS"
11021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11027 #ifdef __cplusplus
11028 extern "C"
11029 #endif
11030 char pcap_create ();
11032 main ()
11034 return pcap_create ();
11036 return 0;
11038 _ACEOF
11039 if ac_fn_c_try_link "$LINENO"; then :
11040 ac_cv_lib_pcap_pcap_create=yes
11041 else
11042 ac_cv_lib_pcap_pcap_create=no
11044 rm -f core conftest.err conftest.$ac_objext \
11045 conftest$ac_exeext conftest.$ac_ext
11046 LIBS=$ac_check_lib_save_LIBS
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11049 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11050 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11051 PCAP_LIBS="-lpcap"
11056 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11057 case "x$with_pcap" in
11058 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11059 xno) ;;
11060 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11061 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11062 esac
11063 enable_wpcap=${enable_wpcap:-no}
11067 if test "x$with_xml" != "xno"
11068 then
11069 if ${XML2_CFLAGS:+false} :; then :
11070 if ${PKG_CONFIG+:} false; then :
11071 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11074 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11075 if ${XML2_LIBS:+false} :; then :
11076 if ${PKG_CONFIG+:} false; then :
11077 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11080 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11081 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11082 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11083 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11084 ac_save_CPPFLAGS=$CPPFLAGS
11085 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11086 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11087 do :
11088 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11089 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11090 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11091 cat >>confdefs.h <<_ACEOF
11092 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11093 _ACEOF
11097 done
11099 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"
11100 then
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11102 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11103 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11104 $as_echo_n "(cached) " >&6
11105 else
11106 ac_check_lib_save_LIBS=$LIBS
11107 LIBS="-lxml2 $XML2_LIBS $LIBS"
11108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11109 /* end confdefs.h. */
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11114 #ifdef __cplusplus
11115 extern "C"
11116 #endif
11117 char xmlParseMemory ();
11119 main ()
11121 return xmlParseMemory ();
11123 return 0;
11125 _ACEOF
11126 if ac_fn_c_try_link "$LINENO"; then :
11127 ac_cv_lib_xml2_xmlParseMemory=yes
11128 else
11129 ac_cv_lib_xml2_xmlParseMemory=no
11131 rm -f core conftest.err conftest.$ac_objext \
11132 conftest$ac_exeext conftest.$ac_ext
11133 LIBS=$ac_check_lib_save_LIBS
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11136 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11137 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11139 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11141 else
11142 XML2_LIBS=""
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11146 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11147 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11148 $as_echo_n "(cached) " >&6
11149 else
11150 ac_check_lib_save_LIBS=$LIBS
11151 LIBS="-lxml2 $XML2_LIBS $LIBS"
11152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11153 /* end confdefs.h. */
11155 /* Override any GCC internal prototype to avoid an error.
11156 Use char because int might match the return type of a GCC
11157 builtin and then its argument prototype would still apply. */
11158 #ifdef __cplusplus
11159 extern "C"
11160 #endif
11161 char xmlReadMemory ();
11163 main ()
11165 return xmlReadMemory ();
11167 return 0;
11169 _ACEOF
11170 if ac_fn_c_try_link "$LINENO"; then :
11171 ac_cv_lib_xml2_xmlReadMemory=yes
11172 else
11173 ac_cv_lib_xml2_xmlReadMemory=no
11175 rm -f core conftest.err conftest.$ac_objext \
11176 conftest$ac_exeext conftest.$ac_ext
11177 LIBS=$ac_check_lib_save_LIBS
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11180 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11181 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11183 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11188 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11189 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11190 $as_echo_n "(cached) " >&6
11191 else
11192 ac_check_lib_save_LIBS=$LIBS
11193 LIBS="-lxml2 $XML2_LIBS $LIBS"
11194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11195 /* end confdefs.h. */
11197 /* Override any GCC internal prototype to avoid an error.
11198 Use char because int might match the return type of a GCC
11199 builtin and then its argument prototype would still apply. */
11200 #ifdef __cplusplus
11201 extern "C"
11202 #endif
11203 char xmlNewDocPI ();
11205 main ()
11207 return xmlNewDocPI ();
11209 return 0;
11211 _ACEOF
11212 if ac_fn_c_try_link "$LINENO"; then :
11213 ac_cv_lib_xml2_xmlNewDocPI=yes
11214 else
11215 ac_cv_lib_xml2_xmlNewDocPI=no
11217 rm -f core conftest.err conftest.$ac_objext \
11218 conftest$ac_exeext conftest.$ac_ext
11219 LIBS=$ac_check_lib_save_LIBS
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11222 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11223 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11225 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11230 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11231 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11232 $as_echo_n "(cached) " >&6
11233 else
11234 ac_check_lib_save_LIBS=$LIBS
11235 LIBS="-lxml2 $XML2_LIBS $LIBS"
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11239 /* Override any GCC internal prototype to avoid an error.
11240 Use char because int might match the return type of a GCC
11241 builtin and then its argument prototype would still apply. */
11242 #ifdef __cplusplus
11243 extern "C"
11244 #endif
11245 char xmlSchemaSetParserStructuredErrors ();
11247 main ()
11249 return xmlSchemaSetParserStructuredErrors ();
11251 return 0;
11253 _ACEOF
11254 if ac_fn_c_try_link "$LINENO"; then :
11255 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11256 else
11257 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_lib_save_LIBS
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11264 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11265 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11267 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11272 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11273 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11274 $as_echo_n "(cached) " >&6
11275 else
11276 ac_check_lib_save_LIBS=$LIBS
11277 LIBS="-lxml2 $XML2_LIBS $LIBS"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11284 #ifdef __cplusplus
11285 extern "C"
11286 #endif
11287 char xmlSchemaSetValidStructuredErrors ();
11289 main ()
11291 return xmlSchemaSetValidStructuredErrors ();
11293 return 0;
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"; then :
11297 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11298 else
11299 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11301 rm -f core conftest.err conftest.$ac_objext \
11302 conftest$ac_exeext conftest.$ac_ext
11303 LIBS=$ac_check_lib_save_LIBS
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11306 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11307 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11309 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11314 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11315 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11316 $as_echo_n "(cached) " >&6
11317 else
11318 ac_check_lib_save_LIBS=$LIBS
11319 LIBS="-lxml2 $XML2_LIBS $LIBS"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char xmlFirstElementChild ();
11331 main ()
11333 return xmlFirstElementChild ();
11335 return 0;
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 ac_cv_lib_xml2_xmlFirstElementChild=yes
11340 else
11341 ac_cv_lib_xml2_xmlFirstElementChild=no
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11348 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11349 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11351 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11355 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11357 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11359 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11363 else
11364 XML2_CFLAGS=""
11365 XML2_LIBS=""
11367 CPPFLAGS=$ac_save_CPPFLAGS
11368 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11369 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11372 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11373 case "x$with_xml" in
11374 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11375 xno) ;;
11376 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11377 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11378 esac
11382 if test "x$with_xslt" != "xno"
11383 then
11384 if ${XSLT_CFLAGS:+false} :; then :
11385 if ${PKG_CONFIG+:} false; then :
11386 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11389 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11390 if ${XSLT_LIBS:+false} :; then :
11391 if ${PKG_CONFIG+:} false; then :
11392 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11395 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11396 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11397 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11398 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11399 ac_save_CPPFLAGS=$CPPFLAGS
11400 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11401 for ac_header in libxslt/pattern.h libxslt/transform.h
11402 do :
11403 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11404 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11405 # include <libxslt/pattern.h>
11406 #endif
11408 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11409 cat >>confdefs.h <<_ACEOF
11410 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11411 _ACEOF
11415 done
11417 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11418 then
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11420 $as_echo_n "checking for -lxslt... " >&6; }
11421 if ${ac_cv_lib_soname_xslt+:} false; then :
11422 $as_echo_n "(cached) " >&6
11423 else
11424 ac_check_soname_save_LIBS=$LIBS
11425 LIBS="-lxslt $XSLT_LIBS $LIBS"
11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11429 /* Override any GCC internal prototype to avoid an error.
11430 Use char because int might match the return type of a GCC
11431 builtin and then its argument prototype would still apply. */
11432 #ifdef __cplusplus
11433 extern "C"
11434 #endif
11435 char xsltCompilePattern ();
11437 main ()
11439 return xsltCompilePattern ();
11441 return 0;
11443 _ACEOF
11444 if ac_fn_c_try_link "$LINENO"; then :
11445 case "$LIBEXT" in
11446 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11447 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'` ;;
11448 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11449 if ${ac_cv_lib_soname_xslt:+false} :; then :
11450 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11451 fi ;;
11452 esac
11454 rm -f core conftest.err conftest.$ac_objext \
11455 conftest$ac_exeext conftest.$ac_ext
11456 LIBS=$ac_check_soname_save_LIBS
11458 if ${ac_cv_lib_soname_xslt:+false} :; then :
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11460 $as_echo "not found" >&6; }
11462 else
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11464 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11466 cat >>confdefs.h <<_ACEOF
11467 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11468 _ACEOF
11472 else
11473 XSLT_CFLAGS=""
11475 CPPFLAGS=$ac_save_CPPFLAGS
11476 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11477 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11480 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11481 case "x$with_xslt" in
11482 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11483 xno) ;;
11484 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11485 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11486 esac
11490 if test "x$with_dbus" != "xno"
11491 then
11492 if ${DBUS_CFLAGS:+false} :; then :
11493 if ${PKG_CONFIG+:} false; then :
11494 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11498 if ${DBUS_LIBS:+false} :; then :
11499 if ${PKG_CONFIG+:} false; then :
11500 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11505 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11506 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11507 ac_save_CPPFLAGS=$CPPFLAGS
11508 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11509 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11510 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11512 $as_echo_n "checking for -ldbus-1... " >&6; }
11513 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11514 $as_echo_n "(cached) " >&6
11515 else
11516 ac_check_soname_save_LIBS=$LIBS
11517 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11524 #ifdef __cplusplus
11525 extern "C"
11526 #endif
11527 char dbus_connection_close ();
11529 main ()
11531 return dbus_connection_close ();
11533 return 0;
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"; then :
11537 case "$LIBEXT" in
11538 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11539 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'` ;;
11540 *) 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'`
11541 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11542 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11543 fi ;;
11544 esac
11546 rm -f core conftest.err conftest.$ac_objext \
11547 conftest$ac_exeext conftest.$ac_ext
11548 LIBS=$ac_check_soname_save_LIBS
11550 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11552 $as_echo "not found" >&6; }
11553 DBUS_CFLAGS=""
11554 else
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11556 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11558 cat >>confdefs.h <<_ACEOF
11559 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11560 _ACEOF
11564 else
11565 DBUS_CFLAGS=""
11569 CPPFLAGS=$ac_save_CPPFLAGS
11570 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11571 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11574 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11575 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11576 case "x$with_dbus" in
11577 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11578 xno) ;;
11579 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11580 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11581 esac
11585 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11586 then
11587 if ${HAL_CFLAGS:+false} :; then :
11588 if ${PKG_CONFIG+:} false; then :
11589 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11593 if ${HAL_LIBS:+false} :; then :
11594 if ${PKG_CONFIG+:} false; then :
11595 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11599 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11600 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11601 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11602 ac_save_CPPFLAGS=$CPPFLAGS
11603 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11604 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11605 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11607 $as_echo_n "checking for -lhal... " >&6; }
11608 if ${ac_cv_lib_soname_hal+:} false; then :
11609 $as_echo_n "(cached) " >&6
11610 else
11611 ac_check_soname_save_LIBS=$LIBS
11612 LIBS="-lhal $HAL_LIBS $LIBS"
11613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h. */
11616 /* Override any GCC internal prototype to avoid an error.
11617 Use char because int might match the return type of a GCC
11618 builtin and then its argument prototype would still apply. */
11619 #ifdef __cplusplus
11620 extern "C"
11621 #endif
11622 char libhal_ctx_new ();
11624 main ()
11626 return libhal_ctx_new ();
11628 return 0;
11630 _ACEOF
11631 if ac_fn_c_try_link "$LINENO"; then :
11632 case "$LIBEXT" in
11633 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11634 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'` ;;
11635 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11636 if ${ac_cv_lib_soname_hal:+false} :; then :
11637 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11638 fi ;;
11639 esac
11641 rm -f core conftest.err conftest.$ac_objext \
11642 conftest$ac_exeext conftest.$ac_ext
11643 LIBS=$ac_check_soname_save_LIBS
11645 if ${ac_cv_lib_soname_hal:+false} :; then :
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11647 $as_echo "not found" >&6; }
11648 HAL_CFLAGS=""
11649 else
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11651 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11653 cat >>confdefs.h <<_ACEOF
11654 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11655 _ACEOF
11659 else
11660 HAL_CFLAGS=""
11664 CPPFLAGS=$ac_save_CPPFLAGS
11665 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11666 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11668 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11669 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11670 case "x$with_hal" in
11671 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11672 xno) ;;
11673 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11674 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11675 esac
11680 if test "x$with_gnutls" != "xno"
11681 then
11682 if ${GNUTLS_CFLAGS:+false} :; then :
11683 if ${PKG_CONFIG+:} false; then :
11684 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11688 if ${GNUTLS_LIBS:+false} :; then :
11689 if ${PKG_CONFIG+:} false; then :
11690 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11695 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11696 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11697 ac_save_CPPFLAGS=$CPPFLAGS
11698 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11699 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11700 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h. */
11703 #include <gnutls/gnutls.h>
11704 #include <gnutls/crypto.h>
11706 main ()
11708 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11710 return 0;
11712 _ACEOF
11713 if ac_fn_c_try_compile "$LINENO"; then :
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11715 $as_echo_n "checking for -lgnutls... " >&6; }
11716 if ${ac_cv_lib_soname_gnutls+:} false; then :
11717 $as_echo_n "(cached) " >&6
11718 else
11719 ac_check_soname_save_LIBS=$LIBS
11720 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11722 /* end confdefs.h. */
11724 /* Override any GCC internal prototype to avoid an error.
11725 Use char because int might match the return type of a GCC
11726 builtin and then its argument prototype would still apply. */
11727 #ifdef __cplusplus
11728 extern "C"
11729 #endif
11730 char gnutls_global_init ();
11732 main ()
11734 return gnutls_global_init ();
11736 return 0;
11738 _ACEOF
11739 if ac_fn_c_try_link "$LINENO"; then :
11740 case "$LIBEXT" in
11741 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11742 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'` ;;
11743 *) 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'`
11744 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11745 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'`
11746 fi ;;
11747 esac
11749 rm -f core conftest.err conftest.$ac_objext \
11750 conftest$ac_exeext conftest.$ac_ext
11751 LIBS=$ac_check_soname_save_LIBS
11753 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11755 $as_echo "not found" >&6; }
11756 GNUTLS_CFLAGS=""
11757 else
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11759 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11761 cat >>confdefs.h <<_ACEOF
11762 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11763 _ACEOF
11767 ac_wine_check_funcs_save_LIBS="$LIBS"
11768 LIBS="$LIBS $GNUTLS_LIBS"
11769 for ac_func in gnutls_cipher_init
11770 do :
11771 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11772 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11773 cat >>confdefs.h <<_ACEOF
11774 #define HAVE_GNUTLS_CIPHER_INIT 1
11775 _ACEOF
11777 else
11778 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11780 done
11782 LIBS="$ac_wine_check_funcs_save_LIBS"
11784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11785 else
11786 GNUTLS_CFLAGS=""
11790 CPPFLAGS=$ac_save_CPPFLAGS
11791 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11792 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11795 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11796 case "x$with_gnutls" in
11797 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11798 xno) ;;
11799 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11800 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11801 esac
11805 CURSES_LIBS=""
11806 if test "$ac_cv_header_ncurses_h" = "yes"
11807 then
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11809 $as_echo_n "checking for -lncurses... " >&6; }
11810 if ${ac_cv_lib_soname_ncurses+:} false; then :
11811 $as_echo_n "(cached) " >&6
11812 else
11813 ac_check_soname_save_LIBS=$LIBS
11814 LIBS="-lncurses $LIBS"
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11821 #ifdef __cplusplus
11822 extern "C"
11823 #endif
11824 char waddch ();
11826 main ()
11828 return waddch ();
11830 return 0;
11832 _ACEOF
11833 if ac_fn_c_try_link "$LINENO"; then :
11834 case "$LIBEXT" in
11835 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11836 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'` ;;
11837 *) 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'`
11838 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11839 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11840 fi ;;
11841 esac
11843 rm -f core conftest.err conftest.$ac_objext \
11844 conftest$ac_exeext conftest.$ac_ext
11845 LIBS=$ac_check_soname_save_LIBS
11847 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11849 $as_echo "not found" >&6; }
11851 else
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11853 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11855 cat >>confdefs.h <<_ACEOF
11856 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11857 _ACEOF
11859 CURSES_LIBS="-lncurses"
11861 elif test "$ac_cv_header_curses_h" = "yes"
11862 then
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11864 $as_echo_n "checking for -lcurses... " >&6; }
11865 if ${ac_cv_lib_soname_curses+:} false; then :
11866 $as_echo_n "(cached) " >&6
11867 else
11868 ac_check_soname_save_LIBS=$LIBS
11869 LIBS="-lcurses $LIBS"
11870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11871 /* end confdefs.h. */
11873 /* Override any GCC internal prototype to avoid an error.
11874 Use char because int might match the return type of a GCC
11875 builtin and then its argument prototype would still apply. */
11876 #ifdef __cplusplus
11877 extern "C"
11878 #endif
11879 char waddch ();
11881 main ()
11883 return waddch ();
11885 return 0;
11887 _ACEOF
11888 if ac_fn_c_try_link "$LINENO"; then :
11889 case "$LIBEXT" in
11890 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11891 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'` ;;
11892 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11893 if ${ac_cv_lib_soname_curses:+false} :; then :
11894 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11895 fi ;;
11896 esac
11898 rm -f core conftest.err conftest.$ac_objext \
11899 conftest$ac_exeext conftest.$ac_ext
11900 LIBS=$ac_check_soname_save_LIBS
11902 if ${ac_cv_lib_soname_curses:+false} :; then :
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11904 $as_echo "not found" >&6; }
11906 else
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11908 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11910 cat >>confdefs.h <<_ACEOF
11911 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11912 _ACEOF
11914 CURSES_LIBS="-lcurses"
11917 ac_save_LIBS="$LIBS"
11918 LIBS="$LIBS $CURSES_LIBS"
11919 for ac_func in mousemask
11920 do :
11921 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11922 if test "x$ac_cv_func_mousemask" = xyes; then :
11923 cat >>confdefs.h <<_ACEOF
11924 #define HAVE_MOUSEMASK 1
11925 _ACEOF
11928 done
11930 LIBS="$ac_save_LIBS"
11931 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11932 case "x$with_curses" in
11933 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11934 xno) ;;
11935 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11936 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11937 esac
11941 if test "x$with_sane" != "xno"
11942 then
11943 if ${SANE_CFLAGS:+false} :; then :
11944 if ${PKG_CONFIG+:} false; then :
11945 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11948 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11949 if ${SANE_LIBS:+false} :; then :
11950 if ${PKG_CONFIG+:} false; then :
11951 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11954 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11956 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11957 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11958 ac_save_CPPFLAGS=$CPPFLAGS
11959 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11960 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11961 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11963 $as_echo_n "checking for -lsane... " >&6; }
11964 if ${ac_cv_lib_soname_sane+:} false; then :
11965 $as_echo_n "(cached) " >&6
11966 else
11967 ac_check_soname_save_LIBS=$LIBS
11968 LIBS="-lsane $SANE_LIBS $LIBS"
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 /* Override any GCC internal prototype to avoid an error.
11973 Use char because int might match the return type of a GCC
11974 builtin and then its argument prototype would still apply. */
11975 #ifdef __cplusplus
11976 extern "C"
11977 #endif
11978 char sane_init ();
11980 main ()
11982 return sane_init ();
11984 return 0;
11986 _ACEOF
11987 if ac_fn_c_try_link "$LINENO"; then :
11988 case "$LIBEXT" in
11989 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11990 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'` ;;
11991 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11992 if ${ac_cv_lib_soname_sane:+false} :; then :
11993 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11994 fi ;;
11995 esac
11997 rm -f core conftest.err conftest.$ac_objext \
11998 conftest$ac_exeext conftest.$ac_ext
11999 LIBS=$ac_check_soname_save_LIBS
12001 if ${ac_cv_lib_soname_sane:+false} :; then :
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12003 $as_echo "not found" >&6; }
12004 SANE_CFLAGS=""
12005 else
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12007 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12009 cat >>confdefs.h <<_ACEOF
12010 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12011 _ACEOF
12015 else
12016 SANE_CFLAGS=""
12020 CPPFLAGS=$ac_save_CPPFLAGS
12021 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12022 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12025 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12026 case "x$with_sane" in
12027 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12028 xno) ;;
12029 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12030 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12031 esac
12035 if test "x$with_v4l" != "xno"
12036 then
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12038 $as_echo_n "checking for -lv4l1... " >&6; }
12039 if ${ac_cv_lib_soname_v4l1+:} false; then :
12040 $as_echo_n "(cached) " >&6
12041 else
12042 ac_check_soname_save_LIBS=$LIBS
12043 LIBS="-lv4l1 $LIBS"
12044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12047 /* Override any GCC internal prototype to avoid an error.
12048 Use char because int might match the return type of a GCC
12049 builtin and then its argument prototype would still apply. */
12050 #ifdef __cplusplus
12051 extern "C"
12052 #endif
12053 char v4l1_open ();
12055 main ()
12057 return v4l1_open ();
12059 return 0;
12061 _ACEOF
12062 if ac_fn_c_try_link "$LINENO"; then :
12063 case "$LIBEXT" in
12064 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12065 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'` ;;
12066 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12067 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12068 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12069 fi ;;
12070 esac
12072 rm -f core conftest.err conftest.$ac_objext \
12073 conftest$ac_exeext conftest.$ac_ext
12074 LIBS=$ac_check_soname_save_LIBS
12076 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12078 $as_echo "not found" >&6; }
12080 else
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12082 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12084 cat >>confdefs.h <<_ACEOF
12085 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12086 _ACEOF
12091 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12092 case "x$with_v4l" in
12093 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12094 xno) ;;
12095 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12096 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12097 esac
12101 if test "x$with_gphoto" != "xno"
12102 then
12103 if ${GPHOTO2_CFLAGS:+false} :; then :
12104 if ${PKG_CONFIG+:} false; then :
12105 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12108 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12109 if ${GPHOTO2_LIBS:+false} :; then :
12110 if ${PKG_CONFIG+:} false; then :
12111 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12114 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12115 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12116 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12117 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12118 ac_save_CPPFLAGS=$CPPFLAGS
12119 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12120 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12121 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12123 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12124 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12125 $as_echo_n "(cached) " >&6
12126 else
12127 ac_check_lib_save_LIBS=$LIBS
12128 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12132 /* Override any GCC internal prototype to avoid an error.
12133 Use char because int might match the return type of a GCC
12134 builtin and then its argument prototype would still apply. */
12135 #ifdef __cplusplus
12136 extern "C"
12137 #endif
12138 char gp_camera_new ();
12140 main ()
12142 return gp_camera_new ();
12144 return 0;
12146 _ACEOF
12147 if ac_fn_c_try_link "$LINENO"; then :
12148 ac_cv_lib_gphoto2_gp_camera_new=yes
12149 else
12150 ac_cv_lib_gphoto2_gp_camera_new=no
12152 rm -f core conftest.err conftest.$ac_objext \
12153 conftest$ac_exeext conftest.$ac_ext
12154 LIBS=$ac_check_lib_save_LIBS
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12157 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12158 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12160 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12162 else
12163 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12166 else
12167 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12171 CPPFLAGS=$ac_save_CPPFLAGS
12172 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12173 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12175 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12176 if ${PKG_CONFIG+:} false; then :
12177 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12180 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12181 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12182 if ${PKG_CONFIG+:} false; then :
12183 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12186 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12187 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12188 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12189 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12190 ac_save_CPPFLAGS=$CPPFLAGS
12191 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12192 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12193 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12195 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12196 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12197 $as_echo_n "(cached) " >&6
12198 else
12199 ac_check_lib_save_LIBS=$LIBS
12200 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12202 /* end confdefs.h. */
12204 /* Override any GCC internal prototype to avoid an error.
12205 Use char because int might match the return type of a GCC
12206 builtin and then its argument prototype would still apply. */
12207 #ifdef __cplusplus
12208 extern "C"
12209 #endif
12210 char gp_port_info_list_new ();
12212 main ()
12214 return gp_port_info_list_new ();
12216 return 0;
12218 _ACEOF
12219 if ac_fn_c_try_link "$LINENO"; then :
12220 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12221 else
12222 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12224 rm -f core conftest.err conftest.$ac_objext \
12225 conftest$ac_exeext conftest.$ac_ext
12226 LIBS=$ac_check_lib_save_LIBS
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12229 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12230 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12232 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12234 else
12235 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12238 else
12239 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12243 CPPFLAGS=$ac_save_CPPFLAGS
12244 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12245 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12248 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12249 case "x$with_gphoto" in
12250 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12251 xno) ;;
12252 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12253 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12254 esac
12257 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12258 case "x$with_gphoto" in
12259 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12260 xno) ;;
12261 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12262 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12263 esac
12268 if test "$ac_cv_header_resolv_h" = "yes"
12269 then
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12271 $as_echo_n "checking for resolver library... " >&6; }
12272 if ${ac_cv_have_resolv+:} false; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 ac_save_LIBS="$LIBS"
12276 for lib in '' -lresolv
12278 LIBS="$lib $ac_save_LIBS"
12279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h. */
12281 #ifdef HAVE_NETINET_IN_H
12282 #include <netinet/in.h>
12283 #endif
12284 #include <resolv.h>
12286 main ()
12288 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12290 return 0;
12292 _ACEOF
12293 if ac_fn_c_try_link "$LINENO"; then :
12294 ac_cv_have_resolv=${lib:-"none required"}
12295 else
12296 ac_cv_have_resolv="not found"
12298 rm -f core conftest.err conftest.$ac_objext \
12299 conftest$ac_exeext conftest.$ac_ext
12300 test "x$ac_cv_have_resolv" = "xnot found" || break
12301 done
12302 LIBS="$ac_save_LIBS"
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12305 $as_echo "$ac_cv_have_resolv" >&6; }
12307 case "$ac_cv_have_resolv" in
12308 "not found") ;;
12309 "none required")
12311 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12314 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12316 RESOLV_LIBS=$ac_cv_have_resolv
12318 esac
12321 if test "x$with_cms" != "xno"
12322 then
12323 if ${LCMS2_CFLAGS:+false} :; then :
12324 if ${PKG_CONFIG+:} false; then :
12325 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12329 if ${LCMS2_LIBS:+false} :; then :
12330 if ${PKG_CONFIG+:} false; then :
12331 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12335 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12336 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12337 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12338 ac_save_CPPFLAGS=$CPPFLAGS
12339 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12340 for ac_header in lcms2.h
12341 do :
12342 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12343 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12344 cat >>confdefs.h <<_ACEOF
12345 #define HAVE_LCMS2_H 1
12346 _ACEOF
12350 done
12352 if test "$ac_cv_header_lcms2_h" = "yes"
12353 then
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12355 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12356 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12357 $as_echo_n "(cached) " >&6
12358 else
12359 ac_check_lib_save_LIBS=$LIBS
12360 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12364 /* Override any GCC internal prototype to avoid an error.
12365 Use char because int might match the return type of a GCC
12366 builtin and then its argument prototype would still apply. */
12367 #ifdef __cplusplus
12368 extern "C"
12369 #endif
12370 char cmsOpenProfileFromFile ();
12372 main ()
12374 return cmsOpenProfileFromFile ();
12376 return 0;
12378 _ACEOF
12379 if ac_fn_c_try_link "$LINENO"; then :
12380 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12381 else
12382 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12384 rm -f core conftest.err conftest.$ac_objext \
12385 conftest$ac_exeext conftest.$ac_ext
12386 LIBS=$ac_check_lib_save_LIBS
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12389 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12390 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12392 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12394 else
12395 LCMS2_LIBS=""
12398 else
12399 LCMS2_CFLAGS=""
12400 LCMS2_LIBS=""
12402 CPPFLAGS=$ac_save_CPPFLAGS
12403 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12404 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12407 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12408 case "x$with_cms" in
12409 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12410 xno) ;;
12411 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12412 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12413 esac
12417 if test "x$with_freetype" != "xno"
12418 then
12419 if ${FREETYPE_CFLAGS:+false} :; then :
12420 if ${PKG_CONFIG+:} false; then :
12421 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12424 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12425 if ${FREETYPE_LIBS:+false} :; then :
12426 if ${PKG_CONFIG+:} false; then :
12427 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12430 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12431 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12432 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12433 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12434 ac_save_CPPFLAGS=$CPPFLAGS
12435 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12436 for ac_header in ft2build.h
12437 do :
12438 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12439 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12440 cat >>confdefs.h <<_ACEOF
12441 #define HAVE_FT2BUILD_H 1
12442 _ACEOF
12446 done
12448 if test "$ac_cv_header_ft2build_h" = "yes"
12449 then
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12451 $as_echo_n "checking for -lfreetype... " >&6; }
12452 if ${ac_cv_lib_soname_freetype+:} false; then :
12453 $as_echo_n "(cached) " >&6
12454 else
12455 ac_check_soname_save_LIBS=$LIBS
12456 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12460 /* Override any GCC internal prototype to avoid an error.
12461 Use char because int might match the return type of a GCC
12462 builtin and then its argument prototype would still apply. */
12463 #ifdef __cplusplus
12464 extern "C"
12465 #endif
12466 char FT_Init_FreeType ();
12468 main ()
12470 return FT_Init_FreeType ();
12472 return 0;
12474 _ACEOF
12475 if ac_fn_c_try_link "$LINENO"; then :
12476 case "$LIBEXT" in
12477 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12478 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'` ;;
12479 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12480 if ${ac_cv_lib_soname_freetype:+false} :; then :
12481 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12482 fi ;;
12483 esac
12485 rm -f core conftest.err conftest.$ac_objext \
12486 conftest$ac_exeext conftest.$ac_ext
12487 LIBS=$ac_check_soname_save_LIBS
12489 if ${ac_cv_lib_soname_freetype:+false} :; then :
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12491 $as_echo "not found" >&6; }
12492 FREETYPE_LIBS=""
12493 else
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12495 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12497 cat >>confdefs.h <<_ACEOF
12498 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12499 _ACEOF
12502 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12504 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12505 #include FT_MODULE_H
12507 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12509 cat >>confdefs.h <<_ACEOF
12510 #define HAVE_FT_TRUETYPEENGINETYPE 1
12511 _ACEOF
12517 else
12518 FREETYPE_CFLAGS=""
12519 FREETYPE_LIBS=""
12521 CPPFLAGS=$ac_save_CPPFLAGS
12522 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12523 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12526 if test "x$ac_cv_lib_soname_freetype" = x; then :
12527 case "x$with_freetype" in
12528 xno) ;;
12529 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12530 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12531 esac
12532 enable_fonts=${enable_fonts:-no}
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12536 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12537 if ${ac_cv_c_ppdev+:} false; then :
12538 $as_echo_n "(cached) " >&6
12539 else
12540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12542 #ifdef HAVE_SYS_IOCTL_H
12543 # include <sys/ioctl.h>
12544 #endif
12545 #include <linux/ppdev.h>
12547 main ()
12549 ioctl (1,PPCLAIM,0)
12551 return 0;
12553 _ACEOF
12554 if ac_fn_c_try_compile "$LINENO"; then :
12555 ac_cv_c_ppdev="yes"
12556 else
12557 ac_cv_c_ppdev="no"
12559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12562 $as_echo "$ac_cv_c_ppdev" >&6; }
12563 if test "$ac_cv_c_ppdev" = "yes"
12564 then
12566 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12570 ac_wine_check_funcs_save_LIBS="$LIBS"
12571 LIBS="$LIBS $PTHREAD_LIBS"
12572 for ac_func in \
12573 pthread_attr_get_np \
12574 pthread_getattr_np \
12575 pthread_getthreadid_np \
12576 pthread_get_stackaddr_np \
12577 pthread_get_stacksize_np
12578 do :
12579 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12580 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12581 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12582 cat >>confdefs.h <<_ACEOF
12583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12584 _ACEOF
12587 done
12589 LIBS="$ac_wine_check_funcs_save_LIBS"
12591 if test "$ac_cv_header_zlib_h" = "yes"
12592 then
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12594 $as_echo_n "checking for inflate in -lz... " >&6; }
12595 if ${ac_cv_lib_z_inflate+:} false; then :
12596 $as_echo_n "(cached) " >&6
12597 else
12598 ac_check_lib_save_LIBS=$LIBS
12599 LIBS="-lz $LIBS"
12600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h. */
12603 /* Override any GCC internal prototype to avoid an error.
12604 Use char because int might match the return type of a GCC
12605 builtin and then its argument prototype would still apply. */
12606 #ifdef __cplusplus
12607 extern "C"
12608 #endif
12609 char inflate ();
12611 main ()
12613 return inflate ();
12615 return 0;
12617 _ACEOF
12618 if ac_fn_c_try_link "$LINENO"; then :
12619 ac_cv_lib_z_inflate=yes
12620 else
12621 ac_cv_lib_z_inflate=no
12623 rm -f core conftest.err conftest.$ac_objext \
12624 conftest$ac_exeext conftest.$ac_ext
12625 LIBS=$ac_check_lib_save_LIBS
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12628 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12629 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12631 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12633 Z_LIBS="-lz"
12638 if test "x$Z_LIBS" = "x"; then :
12639 case "x$with_zlib" in
12640 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12641 xno) ;;
12642 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12643 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12644 esac
12648 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12649 then
12650 if test "$ac_cv_header_gettext_po_h" = "yes"
12651 then
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12653 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12654 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12655 $as_echo_n "(cached) " >&6
12656 else
12657 ac_check_lib_save_LIBS=$LIBS
12658 LIBS="-lgettextpo $LIBS"
12659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12660 /* end confdefs.h. */
12662 /* Override any GCC internal prototype to avoid an error.
12663 Use char because int might match the return type of a GCC
12664 builtin and then its argument prototype would still apply. */
12665 #ifdef __cplusplus
12666 extern "C"
12667 #endif
12668 char po_message_msgctxt ();
12670 main ()
12672 return po_message_msgctxt ();
12674 return 0;
12676 _ACEOF
12677 if ac_fn_c_try_link "$LINENO"; then :
12678 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12679 else
12680 ac_cv_lib_gettextpo_po_message_msgctxt=no
12682 rm -f core conftest.err conftest.$ac_objext \
12683 conftest$ac_exeext conftest.$ac_ext
12684 LIBS=$ac_check_lib_save_LIBS
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12687 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12688 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12690 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12692 GETTEXTPO_LIBS="-lgettextpo"
12697 if test "x$GETTEXTPO_LIBS" = "x"; then :
12698 case "x$with_gettextpo" in
12699 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12700 xno) ;;
12701 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12702 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12703 esac
12706 if test "$srcdir" != .; then :
12707 case "x$with_gettextpo" in
12708 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12709 xno) ;;
12710 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12711 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12712 esac
12717 if test "x$with_pulse" != "xno";
12718 then
12719 if ${PULSE_CFLAGS:+false} :; then :
12720 if ${PKG_CONFIG+:} false; then :
12721 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12725 if ${PULSE_LIBS:+false} :; then :
12726 if ${PKG_CONFIG+:} false; then :
12727 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12732 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12733 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12734 ac_save_CPPFLAGS=$CPPFLAGS
12735 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12736 for ac_header in pulse/pulseaudio.h
12737 do :
12738 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12739 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12740 cat >>confdefs.h <<_ACEOF
12741 #define HAVE_PULSE_PULSEAUDIO_H 1
12742 _ACEOF
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12744 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12745 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12746 $as_echo_n "(cached) " >&6
12747 else
12748 ac_check_lib_save_LIBS=$LIBS
12749 LIBS="-lpulse $PULSE_LIBS $LIBS"
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12753 /* Override any GCC internal prototype to avoid an error.
12754 Use char because int might match the return type of a GCC
12755 builtin and then its argument prototype would still apply. */
12756 #ifdef __cplusplus
12757 extern "C"
12758 #endif
12759 char pa_stream_is_corked ();
12761 main ()
12763 return pa_stream_is_corked ();
12765 return 0;
12767 _ACEOF
12768 if ac_fn_c_try_link "$LINENO"; then :
12769 ac_cv_lib_pulse_pa_stream_is_corked=yes
12770 else
12771 ac_cv_lib_pulse_pa_stream_is_corked=no
12773 rm -f core conftest.err conftest.$ac_objext \
12774 conftest$ac_exeext conftest.$ac_ext
12775 LIBS=$ac_check_lib_save_LIBS
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12778 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12779 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12781 else
12782 PULSE_LIBS=""
12785 else
12786 PULSE_LIBS=""
12789 done
12791 CPPFLAGS=$ac_save_CPPFLAGS
12792 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12793 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12796 if test -z "$PULSE_LIBS"; then :
12797 case "x$with_pulse" in
12798 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12799 xno) ;;
12800 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12801 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12802 esac
12803 enable_winepulse_drv=${enable_winepulse_drv:-no}
12806 if test "x$with_gstreamer" != "xno"
12807 then
12808 if ${GSTREAMER_CFLAGS:+false} :; then :
12809 if ${PKG_CONFIG+:} false; then :
12810 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12814 if ${GSTREAMER_LIBS:+false} :; then :
12815 if ${PKG_CONFIG+:} false; then :
12816 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12821 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12822 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12823 ac_save_CPPFLAGS=$CPPFLAGS
12824 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12825 ac_gst_incl=""
12826 for i in $GSTREAMER_CFLAGS
12828 case "$i" in
12829 -I*) ac_gst_incl="$ac_gst_incl $i";;
12830 esac
12831 done
12832 GSTREAMER_CFLAGS=$ac_gst_incl
12833 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12834 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12835 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12837 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12840 #include <gst/gst.h>
12842 main ()
12844 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12846 return 0;
12848 _ACEOF
12849 if ac_fn_c_try_compile "$LINENO"; then :
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12851 $as_echo "yes" >&6; }
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12853 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12854 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12855 $as_echo_n "(cached) " >&6
12856 else
12857 ac_check_lib_save_LIBS=$LIBS
12858 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12860 /* end confdefs.h. */
12862 /* Override any GCC internal prototype to avoid an error.
12863 Use char because int might match the return type of a GCC
12864 builtin and then its argument prototype would still apply. */
12865 #ifdef __cplusplus
12866 extern "C"
12867 #endif
12868 char gst_pad_new ();
12870 main ()
12872 return gst_pad_new ();
12874 return 0;
12876 _ACEOF
12877 if ac_fn_c_try_link "$LINENO"; then :
12878 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12879 else
12880 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12882 rm -f core conftest.err conftest.$ac_objext \
12883 conftest$ac_exeext conftest.$ac_ext
12884 LIBS=$ac_check_lib_save_LIBS
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12887 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12888 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12892 else
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12894 $as_echo "no" >&6; }
12895 ac_glib2_broken=yes
12896 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12902 CPPFLAGS=$ac_save_CPPFLAGS
12903 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12904 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12907 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 :
12908 case "x$with_gstreamer" in
12909 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12910 xno) ;;
12911 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12912 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12913 esac
12916 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12918 ALSA_LIBS=""
12920 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12921 then
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12923 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12924 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12925 $as_echo_n "(cached) " >&6
12926 else
12927 ac_check_lib_save_LIBS=$LIBS
12928 LIBS="-lasound $LIBS"
12929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12930 /* end confdefs.h. */
12932 /* Override any GCC internal prototype to avoid an error.
12933 Use char because int might match the return type of a GCC
12934 builtin and then its argument prototype would still apply. */
12935 #ifdef __cplusplus
12936 extern "C"
12937 #endif
12938 char snd_pcm_hw_params_get_access_mask ();
12940 main ()
12942 return snd_pcm_hw_params_get_access_mask ();
12944 return 0;
12946 _ACEOF
12947 if ac_fn_c_try_link "$LINENO"; then :
12948 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12949 else
12950 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12952 rm -f core conftest.err conftest.$ac_objext \
12953 conftest$ac_exeext conftest.$ac_ext
12954 LIBS=$ac_check_lib_save_LIBS
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12957 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12958 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12960 /* end confdefs.h. */
12961 #ifdef HAVE_ALSA_ASOUNDLIB_H
12962 #include <alsa/asoundlib.h>
12963 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12964 #include <sys/asoundlib.h>
12965 #endif
12967 main ()
12969 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12971 return 0;
12973 _ACEOF
12974 if ac_fn_c_try_compile "$LINENO"; then :
12975 ALSA_LIBS="-lasound"
12977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12981 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12983 if test "x$with_oss" != xno
12984 then
12985 ac_save_CPPFLAGS="$CPPFLAGS"
12986 if test -f /etc/oss.conf
12987 then
12988 . /etc/oss.conf
12990 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12991 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12992 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12993 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12994 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12996 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12998 cat >>confdefs.h <<_ACEOF
12999 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13000 _ACEOF
13002 OSS4_CFLAGS="$ac_oss_incl"
13009 CPPFLAGS="$ac_save_CPPFLAGS"
13011 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13012 case "x$with_oss" in
13013 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13014 xno) ;;
13015 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13016 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13017 esac
13018 enable_wineoss_drv=${enable_wineoss_drv:-no}
13021 if test "x$with_udev" != "xno"
13022 then
13023 if ${UDEV_CFLAGS:+false} :; then :
13024 if ${PKG_CONFIG+:} false; then :
13025 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13029 if ${UDEV_LIBS:+false} :; then :
13030 if ${PKG_CONFIG+:} false; then :
13031 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13035 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13036 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13037 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13038 ac_save_CPPFLAGS=$CPPFLAGS
13039 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13040 for ac_header in libudev.h
13041 do :
13042 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13043 if test "x$ac_cv_header_libudev_h" = xyes; then :
13044 cat >>confdefs.h <<_ACEOF
13045 #define HAVE_LIBUDEV_H 1
13046 _ACEOF
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13048 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13049 if ${ac_cv_lib_udev_udev_new+:} false; then :
13050 $as_echo_n "(cached) " >&6
13051 else
13052 ac_check_lib_save_LIBS=$LIBS
13053 LIBS="-ludev $UDEV_LIBS $LIBS"
13054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13057 /* Override any GCC internal prototype to avoid an error.
13058 Use char because int might match the return type of a GCC
13059 builtin and then its argument prototype would still apply. */
13060 #ifdef __cplusplus
13061 extern "C"
13062 #endif
13063 char udev_new ();
13065 main ()
13067 return udev_new ();
13069 return 0;
13071 _ACEOF
13072 if ac_fn_c_try_link "$LINENO"; then :
13073 ac_cv_lib_udev_udev_new=yes
13074 else
13075 ac_cv_lib_udev_udev_new=no
13077 rm -f core conftest.err conftest.$ac_objext \
13078 conftest$ac_exeext conftest.$ac_ext
13079 LIBS=$ac_check_lib_save_LIBS
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13082 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13083 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13085 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13087 else
13088 UDEV_LIBS=""
13091 else
13092 UDEV_LIBS=""
13095 done
13097 CPPFLAGS=$ac_save_CPPFLAGS
13098 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13099 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13102 if test "x$UDEV_LIBS" = "x"; then :
13103 case "x$with_udev" in
13104 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13105 xno) ;;
13106 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13107 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13108 esac
13112 if test "x$with_sdl" != "xno"
13113 then
13114 if ${SDL2_CFLAGS:+false} :; then :
13115 if ${PKG_CONFIG+:} false; then :
13116 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13120 if ${SDL2_LIBS:+false} :; then :
13121 if ${PKG_CONFIG+:} false; then :
13122 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13126 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13127 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13128 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13129 ac_save_CPPFLAGS=$CPPFLAGS
13130 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13131 for ac_header in SDL2/SDL.h
13132 do :
13133 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13134 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13135 cat >>confdefs.h <<_ACEOF
13136 #define HAVE_SDL2_SDL_H 1
13137 _ACEOF
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13139 $as_echo_n "checking for -lSDL2... " >&6; }
13140 if ${ac_cv_lib_soname_SDL2+:} false; then :
13141 $as_echo_n "(cached) " >&6
13142 else
13143 ac_check_soname_save_LIBS=$LIBS
13144 LIBS="-lSDL2 $LIBS"
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13148 /* Override any GCC internal prototype to avoid an error.
13149 Use char because int might match the return type of a GCC
13150 builtin and then its argument prototype would still apply. */
13151 #ifdef __cplusplus
13152 extern "C"
13153 #endif
13154 char SDL_Init ();
13156 main ()
13158 return SDL_Init ();
13160 return 0;
13162 _ACEOF
13163 if ac_fn_c_try_link "$LINENO"; then :
13164 case "$LIBEXT" in
13165 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13166 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'` ;;
13167 *) 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'`
13168 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13169 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13170 fi ;;
13171 esac
13173 rm -f core conftest.err conftest.$ac_objext \
13174 conftest$ac_exeext conftest.$ac_ext
13175 LIBS=$ac_check_soname_save_LIBS
13177 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13179 $as_echo "not found" >&6; }
13181 else
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13183 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13185 cat >>confdefs.h <<_ACEOF
13186 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13187 _ACEOF
13193 done
13195 CPPFLAGS=$ac_save_CPPFLAGS
13196 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13197 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13200 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13201 case "x$with_sdl" in
13202 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13203 xno) ;;
13204 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13205 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13206 esac
13210 if test "x$with_capi" != "xno"
13211 then
13212 if ${CAPI20_CFLAGS:+false} :; then :
13213 if ${PKG_CONFIG+:} false; then :
13214 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13218 if ${CAPI20_LIBS:+false} :; then :
13219 if ${PKG_CONFIG+:} false; then :
13220 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13225 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13226 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13227 ac_save_CPPFLAGS=$CPPFLAGS
13228 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13229 for ac_header in capi20.h linux/capi.h
13230 do :
13231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13232 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13234 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13235 cat >>confdefs.h <<_ACEOF
13236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13237 _ACEOF
13241 done
13243 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13244 then
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13246 $as_echo_n "checking for -lcapi20... " >&6; }
13247 if ${ac_cv_lib_soname_capi20+:} false; then :
13248 $as_echo_n "(cached) " >&6
13249 else
13250 ac_check_soname_save_LIBS=$LIBS
13251 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13255 /* Override any GCC internal prototype to avoid an error.
13256 Use char because int might match the return type of a GCC
13257 builtin and then its argument prototype would still apply. */
13258 #ifdef __cplusplus
13259 extern "C"
13260 #endif
13261 char capi20_register ();
13263 main ()
13265 return capi20_register ();
13267 return 0;
13269 _ACEOF
13270 if ac_fn_c_try_link "$LINENO"; then :
13271 case "$LIBEXT" in
13272 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13273 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'` ;;
13274 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13275 if ${ac_cv_lib_soname_capi20:+false} :; then :
13276 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13277 fi ;;
13278 esac
13280 rm -f core conftest.err conftest.$ac_objext \
13281 conftest$ac_exeext conftest.$ac_ext
13282 LIBS=$ac_check_soname_save_LIBS
13284 if ${ac_cv_lib_soname_capi20:+false} :; then :
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13286 $as_echo "not found" >&6; }
13288 else
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13290 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13292 cat >>confdefs.h <<_ACEOF
13293 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13294 _ACEOF
13299 CPPFLAGS=$ac_save_CPPFLAGS
13300 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13301 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13304 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13305 case "x$with_capi" in
13306 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13307 xno) ;;
13308 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13309 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13310 esac
13314 if test "x$with_cups" != "xno"
13315 then
13316 if ${CUPS_CFLAGS:+false} :; then :
13317 if ${PKG_CONFIG+:} false; then :
13318 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13321 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13322 if ${CUPS_LIBS:+false} :; then :
13323 if ${PKG_CONFIG+:} false; then :
13324 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13327 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13328 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13329 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13330 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13331 ac_save_CPPFLAGS=$CPPFLAGS
13332 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13333 for ac_header in cups/cups.h cups/ppd.h
13334 do :
13335 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13336 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13337 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13338 cat >>confdefs.h <<_ACEOF
13339 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13340 _ACEOF
13344 done
13346 if test "$ac_cv_header_cups_cups_h" = "yes"
13347 then
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13349 $as_echo_n "checking for -lcups... " >&6; }
13350 if ${ac_cv_lib_soname_cups+:} false; then :
13351 $as_echo_n "(cached) " >&6
13352 else
13353 ac_check_soname_save_LIBS=$LIBS
13354 LIBS="-lcups $CUPS_LIBS $LIBS"
13355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13356 /* end confdefs.h. */
13358 /* Override any GCC internal prototype to avoid an error.
13359 Use char because int might match the return type of a GCC
13360 builtin and then its argument prototype would still apply. */
13361 #ifdef __cplusplus
13362 extern "C"
13363 #endif
13364 char cupsGetDefault ();
13366 main ()
13368 return cupsGetDefault ();
13370 return 0;
13372 _ACEOF
13373 if ac_fn_c_try_link "$LINENO"; then :
13374 case "$LIBEXT" in
13375 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13376 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'` ;;
13377 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13378 if ${ac_cv_lib_soname_cups:+false} :; then :
13379 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13380 fi ;;
13381 esac
13383 rm -f core conftest.err conftest.$ac_objext \
13384 conftest$ac_exeext conftest.$ac_ext
13385 LIBS=$ac_check_soname_save_LIBS
13387 if ${ac_cv_lib_soname_cups:+false} :; then :
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13389 $as_echo "not found" >&6; }
13390 CUPS_LIBS=""
13391 else
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13393 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13395 cat >>confdefs.h <<_ACEOF
13396 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13397 _ACEOF
13401 else
13402 CUPS_CFLAGS=""
13403 CUPS_LIBS=""
13405 CPPFLAGS=$ac_save_CPPFLAGS
13406 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13407 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13410 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13411 case "x$with_cups" in
13412 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13413 xno) ;;
13414 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13415 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13416 esac
13420 if test "x$with_fontconfig" != "xno"
13421 then
13422 if ${FONTCONFIG_CFLAGS:+false} :; then :
13423 if ${PKG_CONFIG+:} false; then :
13424 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13427 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13428 if ${FONTCONFIG_LIBS:+false} :; then :
13429 if ${PKG_CONFIG+:} false; then :
13430 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13433 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13435 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13436 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13437 ac_save_CPPFLAGS=$CPPFLAGS
13438 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13439 for ac_header in fontconfig/fontconfig.h
13440 do :
13441 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13442 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13443 cat >>confdefs.h <<_ACEOF
13444 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13445 _ACEOF
13449 done
13451 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13452 then
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13454 $as_echo_n "checking for -lfontconfig... " >&6; }
13455 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13456 $as_echo_n "(cached) " >&6
13457 else
13458 ac_check_soname_save_LIBS=$LIBS
13459 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13461 /* end confdefs.h. */
13463 /* Override any GCC internal prototype to avoid an error.
13464 Use char because int might match the return type of a GCC
13465 builtin and then its argument prototype would still apply. */
13466 #ifdef __cplusplus
13467 extern "C"
13468 #endif
13469 char FcInit ();
13471 main ()
13473 return FcInit ();
13475 return 0;
13477 _ACEOF
13478 if ac_fn_c_try_link "$LINENO"; then :
13479 case "$LIBEXT" in
13480 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13481 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'` ;;
13482 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13483 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13484 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13485 fi ;;
13486 esac
13488 rm -f core conftest.err conftest.$ac_objext \
13489 conftest$ac_exeext conftest.$ac_ext
13490 LIBS=$ac_check_soname_save_LIBS
13492 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13494 $as_echo "not found" >&6; }
13495 FONTCONFIG_CFLAGS=""
13496 else
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13498 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13500 cat >>confdefs.h <<_ACEOF
13501 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13502 _ACEOF
13506 else
13507 FONTCONFIG_CFLAGS=""
13509 CPPFLAGS=$ac_save_CPPFLAGS
13510 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13511 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13514 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13515 case "x$with_fontconfig" in
13516 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13517 xno) ;;
13518 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13519 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13520 esac
13524 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13525 then
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13527 $as_echo_n "checking for -lgsm... " >&6; }
13528 if ${ac_cv_lib_soname_gsm+:} false; then :
13529 $as_echo_n "(cached) " >&6
13530 else
13531 ac_check_soname_save_LIBS=$LIBS
13532 LIBS="-lgsm $LIBS"
13533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13536 /* Override any GCC internal prototype to avoid an error.
13537 Use char because int might match the return type of a GCC
13538 builtin and then its argument prototype would still apply. */
13539 #ifdef __cplusplus
13540 extern "C"
13541 #endif
13542 char gsm_create ();
13544 main ()
13546 return gsm_create ();
13548 return 0;
13550 _ACEOF
13551 if ac_fn_c_try_link "$LINENO"; then :
13552 case "$LIBEXT" in
13553 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13554 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'` ;;
13555 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13556 if ${ac_cv_lib_soname_gsm:+false} :; then :
13557 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13558 fi ;;
13559 esac
13561 rm -f core conftest.err conftest.$ac_objext \
13562 conftest$ac_exeext conftest.$ac_ext
13563 LIBS=$ac_check_soname_save_LIBS
13565 if ${ac_cv_lib_soname_gsm:+false} :; then :
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13567 $as_echo "not found" >&6; }
13569 else
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13571 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13573 cat >>confdefs.h <<_ACEOF
13574 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13575 _ACEOF
13580 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13581 case "x$with_gsm" in
13582 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13583 xno) ;;
13584 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13585 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13586 esac
13590 if test "x$with_krb5" != "xno"
13591 then
13592 if ${KRB5_CFLAGS:+false} :; then :
13593 if ${PKG_CONFIG+:} false; then :
13594 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13597 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13598 if ${KRB5_LIBS:+false} :; then :
13599 if ${PKG_CONFIG+:} false; then :
13600 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13603 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13605 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13606 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13607 ac_save_CPPFLAGS=$CPPFLAGS
13608 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13609 for ac_header in krb5/krb5.h
13610 do :
13611 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13612 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13613 cat >>confdefs.h <<_ACEOF
13614 #define HAVE_KRB5_KRB5_H 1
13615 _ACEOF
13619 done
13621 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13622 then
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13624 $as_echo_n "checking for -lkrb5... " >&6; }
13625 if ${ac_cv_lib_soname_krb5+:} false; then :
13626 $as_echo_n "(cached) " >&6
13627 else
13628 ac_check_soname_save_LIBS=$LIBS
13629 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13631 /* end confdefs.h. */
13633 /* Override any GCC internal prototype to avoid an error.
13634 Use char because int might match the return type of a GCC
13635 builtin and then its argument prototype would still apply. */
13636 #ifdef __cplusplus
13637 extern "C"
13638 #endif
13639 char krb5_init_context ();
13641 main ()
13643 return krb5_init_context ();
13645 return 0;
13647 _ACEOF
13648 if ac_fn_c_try_link "$LINENO"; then :
13649 case "$LIBEXT" in
13650 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13651 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'` ;;
13652 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13653 if ${ac_cv_lib_soname_krb5:+false} :; then :
13654 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13655 fi ;;
13656 esac
13658 rm -f core conftest.err conftest.$ac_objext \
13659 conftest$ac_exeext conftest.$ac_ext
13660 LIBS=$ac_check_soname_save_LIBS
13662 if ${ac_cv_lib_soname_krb5:+false} :; then :
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13664 $as_echo "not found" >&6; }
13665 KRB5_CFLAGS=""
13666 else
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13668 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13670 cat >>confdefs.h <<_ACEOF
13671 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13672 _ACEOF
13676 else
13677 KRB5_CFLAGS=""
13679 CPPFLAGS=$ac_save_CPPFLAGS
13680 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13681 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13683 else
13684 with_gssapi=${with_gssapi:-no}
13686 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13687 case "x$with_krb5" in
13688 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13689 xno) ;;
13690 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13691 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13692 esac
13696 if test "x$with_gssapi" != "xno"
13697 then
13698 if ${GSSAPI_CFLAGS:+false} :; then :
13699 if ${PKG_CONFIG+:} false; then :
13700 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13703 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13704 if ${GSSAPI_LIBS:+false} :; then :
13705 if ${PKG_CONFIG+:} false; then :
13706 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13709 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13711 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13712 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13713 ac_save_CPPFLAGS=$CPPFLAGS
13714 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13715 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13716 do :
13717 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13718 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13719 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13720 cat >>confdefs.h <<_ACEOF
13721 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13722 _ACEOF
13726 done
13728 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13729 then
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13731 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13732 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13733 $as_echo_n "(cached) " >&6
13734 else
13735 ac_check_soname_save_LIBS=$LIBS
13736 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13738 /* end confdefs.h. */
13740 /* Override any GCC internal prototype to avoid an error.
13741 Use char because int might match the return type of a GCC
13742 builtin and then its argument prototype would still apply. */
13743 #ifdef __cplusplus
13744 extern "C"
13745 #endif
13746 char gss_init_sec_context ();
13748 main ()
13750 return gss_init_sec_context ();
13752 return 0;
13754 _ACEOF
13755 if ac_fn_c_try_link "$LINENO"; then :
13756 case "$LIBEXT" in
13757 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13758 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'` ;;
13759 *) 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'`
13760 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13761 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13762 fi ;;
13763 esac
13765 rm -f core conftest.err conftest.$ac_objext \
13766 conftest$ac_exeext conftest.$ac_ext
13767 LIBS=$ac_check_soname_save_LIBS
13769 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13771 $as_echo "not found" >&6; }
13772 GSSAPI_CFLAGS=""
13773 else
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13775 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13777 cat >>confdefs.h <<_ACEOF
13778 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13779 _ACEOF
13783 else
13784 GSSAPI_CFLAGS=""
13786 CPPFLAGS=$ac_save_CPPFLAGS
13787 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13788 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13791 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13792 case "x$with_gssapi" in
13793 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13794 xno) ;;
13795 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13796 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13797 esac
13801 if test "x$with_jpeg" != "xno"
13802 then
13803 if ${JPEG_CFLAGS:+false} :; then :
13804 if ${PKG_CONFIG+:} false; then :
13805 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13809 if ${JPEG_LIBS:+false} :; then :
13810 if ${PKG_CONFIG+:} false; then :
13811 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13816 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13817 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13818 ac_save_CPPFLAGS=$CPPFLAGS
13819 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13820 for ac_header in jpeglib.h
13821 do :
13822 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13823 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13824 cat >>confdefs.h <<_ACEOF
13825 #define HAVE_JPEGLIB_H 1
13826 _ACEOF
13830 done
13832 if test "$ac_cv_header_jpeglib_h" = "yes"
13833 then
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13835 $as_echo_n "checking for -ljpeg... " >&6; }
13836 if ${ac_cv_lib_soname_jpeg+:} false; then :
13837 $as_echo_n "(cached) " >&6
13838 else
13839 ac_check_soname_save_LIBS=$LIBS
13840 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13842 /* end confdefs.h. */
13844 /* Override any GCC internal prototype to avoid an error.
13845 Use char because int might match the return type of a GCC
13846 builtin and then its argument prototype would still apply. */
13847 #ifdef __cplusplus
13848 extern "C"
13849 #endif
13850 char jpeg_start_decompress ();
13852 main ()
13854 return jpeg_start_decompress ();
13856 return 0;
13858 _ACEOF
13859 if ac_fn_c_try_link "$LINENO"; then :
13860 case "$LIBEXT" in
13861 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13862 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'` ;;
13863 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13864 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13865 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13866 fi ;;
13867 esac
13869 rm -f core conftest.err conftest.$ac_objext \
13870 conftest$ac_exeext conftest.$ac_ext
13871 LIBS=$ac_check_soname_save_LIBS
13873 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13875 $as_echo "not found" >&6; }
13876 JPEG_CFLAGS=""
13877 else
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13879 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13881 cat >>confdefs.h <<_ACEOF
13882 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13883 _ACEOF
13887 else
13888 JPEG_CFLAGS=""
13890 CPPFLAGS=$ac_save_CPPFLAGS
13891 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13892 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13895 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13896 case "x$with_jpeg" in
13897 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13898 xno) ;;
13899 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13900 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13901 esac
13905 if test "x$with_png" != "xno"
13906 then
13907 if ${PNG_CFLAGS:+false} :; then :
13908 if ${PKG_CONFIG+:} false; then :
13909 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13912 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13913 if ${PNG_LIBS:+false} :; then :
13914 if ${PKG_CONFIG+:} false; then :
13915 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13918 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13920 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13921 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13922 ac_save_CPPFLAGS=$CPPFLAGS
13923 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13924 for ac_header in png.h
13925 do :
13926 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13927 if test "x$ac_cv_header_png_h" = xyes; then :
13928 cat >>confdefs.h <<_ACEOF
13929 #define HAVE_PNG_H 1
13930 _ACEOF
13934 done
13936 if test "$ac_cv_header_png_h" = "yes"
13937 then
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13939 $as_echo_n "checking for -lpng... " >&6; }
13940 if ${ac_cv_lib_soname_png+:} false; then :
13941 $as_echo_n "(cached) " >&6
13942 else
13943 ac_check_soname_save_LIBS=$LIBS
13944 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13951 #ifdef __cplusplus
13952 extern "C"
13953 #endif
13954 char png_create_read_struct ();
13956 main ()
13958 return png_create_read_struct ();
13960 return 0;
13962 _ACEOF
13963 if ac_fn_c_try_link "$LINENO"; then :
13964 case "$LIBEXT" in
13965 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13966 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'` ;;
13967 *) 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'`
13968 if ${ac_cv_lib_soname_png:+false} :; then :
13969 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13970 fi ;;
13971 esac
13973 rm -f core conftest.err conftest.$ac_objext \
13974 conftest$ac_exeext conftest.$ac_ext
13975 LIBS=$ac_check_soname_save_LIBS
13977 if ${ac_cv_lib_soname_png:+false} :; then :
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13979 $as_echo "not found" >&6; }
13980 PNG_CFLAGS=""
13981 else
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13983 $as_echo "$ac_cv_lib_soname_png" >&6; }
13985 cat >>confdefs.h <<_ACEOF
13986 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13987 _ACEOF
13991 else
13992 PNG_CFLAGS=""
13994 CPPFLAGS=$ac_save_CPPFLAGS
13995 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13996 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13999 if test "x$ac_cv_lib_soname_png" = "x"; then :
14000 case "x$with_png" in
14001 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14002 xno) ;;
14003 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14004 This is an error since --with-png was requested." "$LINENO" 5 ;;
14005 esac
14009 if test "x$with_tiff" != "xno"
14010 then
14011 if ${TIFF_CFLAGS:+false} :; then :
14012 if ${PKG_CONFIG+:} false; then :
14013 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14017 if ${TIFF_LIBS:+false} :; then :
14018 if ${PKG_CONFIG+:} false; then :
14019 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14024 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14025 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14026 ac_save_CPPFLAGS=$CPPFLAGS
14027 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14028 for ac_header in tiffio.h
14029 do :
14030 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14031 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14032 cat >>confdefs.h <<_ACEOF
14033 #define HAVE_TIFFIO_H 1
14034 _ACEOF
14038 done
14040 if test "$ac_cv_header_tiffio_h" = "yes"
14041 then
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14043 $as_echo_n "checking for -ltiff... " >&6; }
14044 if ${ac_cv_lib_soname_tiff+:} false; then :
14045 $as_echo_n "(cached) " >&6
14046 else
14047 ac_check_soname_save_LIBS=$LIBS
14048 LIBS="-ltiff $TIFF_LIBS $LIBS"
14049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14050 /* end confdefs.h. */
14052 /* Override any GCC internal prototype to avoid an error.
14053 Use char because int might match the return type of a GCC
14054 builtin and then its argument prototype would still apply. */
14055 #ifdef __cplusplus
14056 extern "C"
14057 #endif
14058 char TIFFClientOpen ();
14060 main ()
14062 return TIFFClientOpen ();
14064 return 0;
14066 _ACEOF
14067 if ac_fn_c_try_link "$LINENO"; then :
14068 case "$LIBEXT" in
14069 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14070 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'` ;;
14071 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14072 if ${ac_cv_lib_soname_tiff:+false} :; then :
14073 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14074 fi ;;
14075 esac
14077 rm -f core conftest.err conftest.$ac_objext \
14078 conftest$ac_exeext conftest.$ac_ext
14079 LIBS=$ac_check_soname_save_LIBS
14081 if ${ac_cv_lib_soname_tiff:+false} :; then :
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14083 $as_echo "not found" >&6; }
14085 else
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14087 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14089 cat >>confdefs.h <<_ACEOF
14090 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14091 _ACEOF
14096 CPPFLAGS=$ac_save_CPPFLAGS
14097 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14098 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14101 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14102 case "x$with_tiff" in
14103 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14104 xno) ;;
14105 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14106 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14107 esac
14111 if test "x$with_mpg123" != "xno"
14112 then
14113 if ${MPG123_CFLAGS:+false} :; then :
14114 if ${PKG_CONFIG+:} false; then :
14115 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14119 if ${MPG123_LIBS:+false} :; then :
14120 if ${PKG_CONFIG+:} false; then :
14121 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14125 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14126 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14127 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14128 ac_save_CPPFLAGS=$CPPFLAGS
14129 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14130 for ac_header in mpg123.h
14131 do :
14132 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14133 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14134 cat >>confdefs.h <<_ACEOF
14135 #define HAVE_MPG123_H 1
14136 _ACEOF
14140 done
14142 if test "$ac_cv_header_mpg123_h" = "yes"
14143 then
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14145 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14146 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14147 $as_echo_n "(cached) " >&6
14148 else
14149 ac_check_lib_save_LIBS=$LIBS
14150 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14154 /* Override any GCC internal prototype to avoid an error.
14155 Use char because int might match the return type of a GCC
14156 builtin and then its argument prototype would still apply. */
14157 #ifdef __cplusplus
14158 extern "C"
14159 #endif
14160 char mpg123_feed ();
14162 main ()
14164 return mpg123_feed ();
14166 return 0;
14168 _ACEOF
14169 if ac_fn_c_try_link "$LINENO"; then :
14170 ac_cv_lib_mpg123_mpg123_feed=yes
14171 else
14172 ac_cv_lib_mpg123_mpg123_feed=no
14174 rm -f core conftest.err conftest.$ac_objext \
14175 conftest$ac_exeext conftest.$ac_ext
14176 LIBS=$ac_check_lib_save_LIBS
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14179 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14180 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14182 else
14183 MPG123_LIBS=""
14186 else
14187 MPG123_CFLAGS=""
14188 MPG123_LIBS=""
14190 CPPFLAGS=$ac_save_CPPFLAGS
14191 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14192 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14195 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14196 case "x$with_mpg123" in
14197 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14198 xno) ;;
14199 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14200 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14201 esac
14202 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14205 if test "$ac_cv_header_AL_al_h" = "yes"
14206 then
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14208 $as_echo_n "checking for -lopenal... " >&6; }
14209 if ${ac_cv_lib_soname_openal+:} false; then :
14210 $as_echo_n "(cached) " >&6
14211 else
14212 ac_check_soname_save_LIBS=$LIBS
14213 LIBS="-lopenal $LIBS"
14214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14215 /* end confdefs.h. */
14217 /* Override any GCC internal prototype to avoid an error.
14218 Use char because int might match the return type of a GCC
14219 builtin and then its argument prototype would still apply. */
14220 #ifdef __cplusplus
14221 extern "C"
14222 #endif
14223 char alGetSource3i ();
14225 main ()
14227 return alGetSource3i ();
14229 return 0;
14231 _ACEOF
14232 if ac_fn_c_try_link "$LINENO"; then :
14233 case "$LIBEXT" in
14234 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14235 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'` ;;
14236 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14237 if ${ac_cv_lib_soname_openal:+false} :; then :
14238 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14239 fi ;;
14240 esac
14242 rm -f core conftest.err conftest.$ac_objext \
14243 conftest$ac_exeext conftest.$ac_ext
14244 LIBS=$ac_check_soname_save_LIBS
14246 if ${ac_cv_lib_soname_openal:+false} :; then :
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14248 $as_echo "not found" >&6; }
14250 else
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14252 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14254 cat >>confdefs.h <<_ACEOF
14255 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14256 _ACEOF
14258 OPENAL_LIBS="-lopenal"
14260 ac_cv_lib_openal=yes
14262 cat >>confdefs.h <<_ACEOF
14263 #define HAVE_OPENAL 1
14264 _ACEOF
14268 if test "x$ac_cv_lib_openal" != xyes; then :
14269 case "x$with_openal" in
14270 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14271 xno) ;;
14272 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14273 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14274 esac
14275 enable_openal32=${enable_openal32:-no}
14278 if test "x$ac_cv_lib_openal" = xyes
14279 then
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14281 $as_echo_n "checking for openal-soft... " >&6; }
14282 if ${ac_cv_have_openalsoft+:} false; then :
14283 $as_echo_n "(cached) " >&6
14284 else
14285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14287 #include <AL/al.h>
14288 #include <AL/alc.h>
14289 #include <AL/alext.h>
14290 LPALCRENDERSAMPLESSOFT x;
14292 main ()
14296 return 0;
14298 _ACEOF
14299 if ac_fn_c_try_compile "$LINENO"; then :
14300 ac_cv_have_openalsoft=yes
14301 else
14302 ac_cv_have_openalsoft=no
14304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14307 $as_echo "$ac_cv_have_openalsoft" >&6; }
14309 if test "x$ac_cv_have_openalsoft" != xyes
14310 then
14311 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14312 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14313 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14314 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14315 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14316 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14317 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14318 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14319 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14320 enable_xapofx1_1=${enable_xapofx1_1:-no}
14321 enable_xapofx1_2=${enable_xapofx1_2:-no}
14322 enable_xapofx1_3=${enable_xapofx1_3:-no}
14323 enable_xapofx1_4=${enable_xapofx1_4:-no}
14324 enable_xapofx1_5=${enable_xapofx1_5:-no}
14325 enable_xaudio2_0=${enable_xaudio2_0:-no}
14326 enable_xaudio2_1=${enable_xaudio2_1:-no}
14327 enable_xaudio2_2=${enable_xaudio2_2:-no}
14328 enable_xaudio2_3=${enable_xaudio2_3:-no}
14329 enable_xaudio2_4=${enable_xaudio2_4:-no}
14330 enable_xaudio2_5=${enable_xaudio2_5:-no}
14331 enable_xaudio2_6=${enable_xaudio2_6:-no}
14332 enable_xaudio2_7=${enable_xaudio2_7:-no}
14333 enable_xaudio2_8=${enable_xaudio2_8:-no}
14334 enable_xaudio2_9=${enable_xaudio2_9:-no}
14337 if test "$ac_cv_header_kstat_h" = "yes"
14338 then
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14340 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14341 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14342 $as_echo_n "(cached) " >&6
14343 else
14344 ac_check_lib_save_LIBS=$LIBS
14345 LIBS="-lkstat $LIBS"
14346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply. */
14352 #ifdef __cplusplus
14353 extern "C"
14354 #endif
14355 char kstat_open ();
14357 main ()
14359 return kstat_open ();
14361 return 0;
14363 _ACEOF
14364 if ac_fn_c_try_link "$LINENO"; then :
14365 ac_cv_lib_kstat_kstat_open=yes
14366 else
14367 ac_cv_lib_kstat_kstat_open=no
14369 rm -f core conftest.err conftest.$ac_objext \
14370 conftest$ac_exeext conftest.$ac_ext
14371 LIBS=$ac_check_lib_save_LIBS
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14374 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14375 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14377 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14379 KSTAT_LIBS="-lkstat"
14385 if test "$ac_cv_header_libprocstat_h" = "yes"
14386 then
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14388 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14389 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14390 $as_echo_n "(cached) " >&6
14391 else
14392 ac_check_lib_save_LIBS=$LIBS
14393 LIBS="-lprocstat $LIBS"
14394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14397 /* Override any GCC internal prototype to avoid an error.
14398 Use char because int might match the return type of a GCC
14399 builtin and then its argument prototype would still apply. */
14400 #ifdef __cplusplus
14401 extern "C"
14402 #endif
14403 char procstat_open_sysctl ();
14405 main ()
14407 return procstat_open_sysctl ();
14409 return 0;
14411 _ACEOF
14412 if ac_fn_c_try_link "$LINENO"; then :
14413 ac_cv_lib_procstat_procstat_open_sysctl=yes
14414 else
14415 ac_cv_lib_procstat_procstat_open_sysctl=no
14417 rm -f core conftest.err conftest.$ac_objext \
14418 conftest$ac_exeext conftest.$ac_ext
14419 LIBS=$ac_check_lib_save_LIBS
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14422 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14423 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14425 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14427 PROCSTAT_LIBS="-lprocstat"
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14434 $as_echo_n "checking for -lodbc... " >&6; }
14435 if ${ac_cv_lib_soname_odbc+:} false; then :
14436 $as_echo_n "(cached) " >&6
14437 else
14438 ac_check_soname_save_LIBS=$LIBS
14439 LIBS="-lodbc $LIBS"
14440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14441 /* end confdefs.h. */
14443 /* Override any GCC internal prototype to avoid an error.
14444 Use char because int might match the return type of a GCC
14445 builtin and then its argument prototype would still apply. */
14446 #ifdef __cplusplus
14447 extern "C"
14448 #endif
14449 char SQLConnect ();
14451 main ()
14453 return SQLConnect ();
14455 return 0;
14457 _ACEOF
14458 if ac_fn_c_try_link "$LINENO"; then :
14459 case "$LIBEXT" in
14460 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14461 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'` ;;
14462 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14463 if ${ac_cv_lib_soname_odbc:+false} :; then :
14464 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14465 fi ;;
14466 esac
14468 rm -f core conftest.err conftest.$ac_objext \
14469 conftest$ac_exeext conftest.$ac_ext
14470 LIBS=$ac_check_soname_save_LIBS
14472 if ${ac_cv_lib_soname_odbc:+false} :; then :
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14474 $as_echo "not found" >&6; }
14475 cat >>confdefs.h <<_ACEOF
14476 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14477 _ACEOF
14479 else
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14481 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14483 cat >>confdefs.h <<_ACEOF
14484 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14485 _ACEOF
14490 if test "x$with_netapi" != "xno"
14491 then
14492 if ${NETAPI_CFLAGS:+false} :; then :
14493 if ${PKG_CONFIG+:} false; then :
14494 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14498 if ${NETAPI_LIBS:+false} :; then :
14499 if ${PKG_CONFIG+:} false; then :
14500 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14505 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14506 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14507 ac_save_CPPFLAGS=$CPPFLAGS
14508 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14510 $as_echo_n "checking for -lnetapi... " >&6; }
14511 if ${ac_cv_lib_soname_netapi+:} false; then :
14512 $as_echo_n "(cached) " >&6
14513 else
14514 ac_check_soname_save_LIBS=$LIBS
14515 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14519 /* Override any GCC internal prototype to avoid an error.
14520 Use char because int might match the return type of a GCC
14521 builtin and then its argument prototype would still apply. */
14522 #ifdef __cplusplus
14523 extern "C"
14524 #endif
14525 char libnetapi_init ();
14527 main ()
14529 return libnetapi_init ();
14531 return 0;
14533 _ACEOF
14534 if ac_fn_c_try_link "$LINENO"; then :
14535 case "$LIBEXT" in
14536 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14537 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'` ;;
14538 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14539 if ${ac_cv_lib_soname_netapi:+false} :; then :
14540 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14541 fi ;;
14542 esac
14544 rm -f core conftest.err conftest.$ac_objext \
14545 conftest$ac_exeext conftest.$ac_ext
14546 LIBS=$ac_check_soname_save_LIBS
14548 if ${ac_cv_lib_soname_netapi:+false} :; then :
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14550 $as_echo "not found" >&6; }
14551 cat >>confdefs.h <<_ACEOF
14552 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14553 _ACEOF
14555 else
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14557 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14559 cat >>confdefs.h <<_ACEOF
14560 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14561 _ACEOF
14565 CPPFLAGS=$ac_save_CPPFLAGS
14566 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14567 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14571 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14572 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14573 then
14574 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14577 if test "x$with_vulkan" != "xno"
14578 then
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14580 $as_echo_n "checking for -lvulkan... " >&6; }
14581 if ${ac_cv_lib_soname_vulkan+:} false; then :
14582 $as_echo_n "(cached) " >&6
14583 else
14584 ac_check_soname_save_LIBS=$LIBS
14585 LIBS="-lvulkan $LIBS"
14586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14589 /* Override any GCC internal prototype to avoid an error.
14590 Use char because int might match the return type of a GCC
14591 builtin and then its argument prototype would still apply. */
14592 #ifdef __cplusplus
14593 extern "C"
14594 #endif
14595 char vkGetInstanceProcAddr ();
14597 main ()
14599 return vkGetInstanceProcAddr ();
14601 return 0;
14603 _ACEOF
14604 if ac_fn_c_try_link "$LINENO"; then :
14605 case "$LIBEXT" in
14606 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14607 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'` ;;
14608 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14609 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14610 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14611 fi ;;
14612 esac
14614 rm -f core conftest.err conftest.$ac_objext \
14615 conftest$ac_exeext conftest.$ac_ext
14616 LIBS=$ac_check_soname_save_LIBS
14618 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14620 $as_echo "not found" >&6; }
14622 else
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14624 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14626 cat >>confdefs.h <<_ACEOF
14627 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14628 _ACEOF
14633 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14634 case "x$with_vulkan" in
14635 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14636 xno) ;;
14637 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14638 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14639 esac
14644 EXTRACFLAGS=""
14646 if test "x${GCC}" = "xyes"
14647 then
14648 EXTRACFLAGS="-Wall -pipe"
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14651 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14652 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14653 $as_echo_n "(cached) " >&6
14654 else
14655 if test "$cross_compiling" = yes; then :
14656 ac_cv_c_gcc_strength_bug="no"
14657 else
14658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14659 /* end confdefs.h. */
14660 int L[4] = {0,1,2,3};
14662 main ()
14664 static int Array[3];
14665 unsigned int B = 3;
14666 int i;
14667 for(i=0; i<B; i++) Array[i] = i - 3;
14668 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14669 L[i] = 4;
14670 return (Array[1] != -2 || L[2] != 3)
14672 return 0;
14674 _ACEOF
14675 if ac_fn_c_try_run "$LINENO"; then :
14676 ac_cv_c_gcc_strength_bug="no"
14677 else
14678 ac_cv_c_gcc_strength_bug="yes"
14680 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14681 conftest.$ac_objext conftest.beam conftest.$ac_ext
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14686 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14687 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14688 then
14689 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14693 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14694 if ${ac_cv_cflags__fno_builtin+:} false; then :
14695 $as_echo_n "(cached) " >&6
14696 else
14697 ac_wine_try_cflags_saved=$CFLAGS
14698 CFLAGS="$CFLAGS -fno-builtin"
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14701 int main(int argc, char **argv) { return 0; }
14702 _ACEOF
14703 if ac_fn_c_try_link "$LINENO"; then :
14704 ac_cv_cflags__fno_builtin=yes
14705 else
14706 ac_cv_cflags__fno_builtin=no
14708 rm -f core conftest.err conftest.$ac_objext \
14709 conftest$ac_exeext conftest.$ac_ext
14710 CFLAGS=$ac_wine_try_cflags_saved
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14713 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14714 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14715 BUILTINFLAG="-fno-builtin"
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14719 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14720 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14721 $as_echo_n "(cached) " >&6
14722 else
14723 ac_wine_try_cflags_saved=$CFLAGS
14724 CFLAGS="$CFLAGS -fno-strict-aliasing"
14725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h. */
14727 int main(int argc, char **argv) { return 0; }
14728 _ACEOF
14729 if ac_fn_c_try_link "$LINENO"; then :
14730 ac_cv_cflags__fno_strict_aliasing=yes
14731 else
14732 ac_cv_cflags__fno_strict_aliasing=no
14734 rm -f core conftest.err conftest.$ac_objext \
14735 conftest$ac_exeext conftest.$ac_ext
14736 CFLAGS=$ac_wine_try_cflags_saved
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14739 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14740 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14741 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14744 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14745 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14746 $as_echo_n "(cached) " >&6
14747 else
14748 ac_wine_try_cflags_saved=$CFLAGS
14749 CFLAGS="$CFLAGS -fexcess-precision=standard"
14750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14752 int main(int argc, char **argv) { return 0; }
14753 _ACEOF
14754 if ac_fn_c_try_link "$LINENO"; then :
14755 ac_cv_cflags__fexcess_precision_standard=yes
14756 else
14757 ac_cv_cflags__fexcess_precision_standard=no
14759 rm -f core conftest.err conftest.$ac_objext \
14760 conftest$ac_exeext conftest.$ac_ext
14761 CFLAGS=$ac_wine_try_cflags_saved
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14764 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14765 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14766 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14769 saved_CFLAGS=$CFLAGS
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14771 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14772 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14773 $as_echo_n "(cached) " >&6
14774 else
14775 ac_wine_try_cflags_saved=$CFLAGS
14776 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h. */
14779 int main(int argc, char **argv) { return 0; }
14780 _ACEOF
14781 if ac_fn_c_try_link "$LINENO"; then :
14782 ac_cv_cflags__Werror_unknown_warning_option=yes
14783 else
14784 ac_cv_cflags__Werror_unknown_warning_option=no
14786 rm -f core conftest.err conftest.$ac_objext \
14787 conftest$ac_exeext conftest.$ac_ext
14788 CFLAGS=$ac_wine_try_cflags_saved
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14791 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14792 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14793 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14796 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14797 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14798 $as_echo_n "(cached) " >&6
14799 else
14800 ac_wine_try_cflags_saved=$CFLAGS
14801 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14804 int main(int argc, char **argv) { return 0; }
14805 _ACEOF
14806 if ac_fn_c_try_link "$LINENO"; then :
14807 ac_cv_cflags__Wdeclaration_after_statement=yes
14808 else
14809 ac_cv_cflags__Wdeclaration_after_statement=no
14811 rm -f core conftest.err conftest.$ac_objext \
14812 conftest$ac_exeext conftest.$ac_ext
14813 CFLAGS=$ac_wine_try_cflags_saved
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14816 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14817 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14818 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14821 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14822 if ${ac_cv_cflags__Wempty_body+:} false; then :
14823 $as_echo_n "(cached) " >&6
14824 else
14825 ac_wine_try_cflags_saved=$CFLAGS
14826 CFLAGS="$CFLAGS -Wempty-body"
14827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h. */
14829 int main(int argc, char **argv) { return 0; }
14830 _ACEOF
14831 if ac_fn_c_try_link "$LINENO"; then :
14832 ac_cv_cflags__Wempty_body=yes
14833 else
14834 ac_cv_cflags__Wempty_body=no
14836 rm -f core conftest.err conftest.$ac_objext \
14837 conftest$ac_exeext conftest.$ac_ext
14838 CFLAGS=$ac_wine_try_cflags_saved
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14841 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14842 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14843 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14846 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14847 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14848 $as_echo_n "(cached) " >&6
14849 else
14850 ac_wine_try_cflags_saved=$CFLAGS
14851 CFLAGS="$CFLAGS -Wignored-qualifiers"
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14854 int main(int argc, char **argv) { return 0; }
14855 _ACEOF
14856 if ac_fn_c_try_link "$LINENO"; then :
14857 ac_cv_cflags__Wignored_qualifiers=yes
14858 else
14859 ac_cv_cflags__Wignored_qualifiers=no
14861 rm -f core conftest.err conftest.$ac_objext \
14862 conftest$ac_exeext conftest.$ac_ext
14863 CFLAGS=$ac_wine_try_cflags_saved
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14866 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14867 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14868 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14871 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14872 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14873 $as_echo_n "(cached) " >&6
14874 else
14875 ac_wine_try_cflags_saved=$CFLAGS
14876 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14879 int main(int argc, char **argv) { return 0; }
14880 _ACEOF
14881 if ac_fn_c_try_link "$LINENO"; then :
14882 ac_cv_cflags__Wpacked_not_aligned=yes
14883 else
14884 ac_cv_cflags__Wpacked_not_aligned=no
14886 rm -f core conftest.err conftest.$ac_objext \
14887 conftest$ac_exeext conftest.$ac_ext
14888 CFLAGS=$ac_wine_try_cflags_saved
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14891 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14892 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14893 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14896 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14897 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14898 $as_echo_n "(cached) " >&6
14899 else
14900 ac_wine_try_cflags_saved=$CFLAGS
14901 CFLAGS="$CFLAGS -Wpragma-pack"
14902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14903 /* end confdefs.h. */
14904 int main(int argc, char **argv) { return 0; }
14905 _ACEOF
14906 if ac_fn_c_try_link "$LINENO"; then :
14907 ac_cv_cflags__Wpragma_pack=yes
14908 else
14909 ac_cv_cflags__Wpragma_pack=no
14911 rm -f core conftest.err conftest.$ac_objext \
14912 conftest$ac_exeext conftest.$ac_ext
14913 CFLAGS=$ac_wine_try_cflags_saved
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14916 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14917 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14918 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14921 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14922 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14923 $as_echo_n "(cached) " >&6
14924 else
14925 ac_wine_try_cflags_saved=$CFLAGS
14926 CFLAGS="$CFLAGS -Wshift-overflow=2"
14927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14928 /* end confdefs.h. */
14929 int main(int argc, char **argv) { return 0; }
14930 _ACEOF
14931 if ac_fn_c_try_link "$LINENO"; then :
14932 ac_cv_cflags__Wshift_overflow_2=yes
14933 else
14934 ac_cv_cflags__Wshift_overflow_2=no
14936 rm -f core conftest.err conftest.$ac_objext \
14937 conftest$ac_exeext conftest.$ac_ext
14938 CFLAGS=$ac_wine_try_cflags_saved
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14941 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14942 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14943 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14946 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14947 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14948 $as_echo_n "(cached) " >&6
14949 else
14950 ac_wine_try_cflags_saved=$CFLAGS
14951 CFLAGS="$CFLAGS -Wstrict-prototypes"
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14954 int main(int argc, char **argv) { return 0; }
14955 _ACEOF
14956 if ac_fn_c_try_link "$LINENO"; then :
14957 ac_cv_cflags__Wstrict_prototypes=yes
14958 else
14959 ac_cv_cflags__Wstrict_prototypes=no
14961 rm -f core conftest.err conftest.$ac_objext \
14962 conftest$ac_exeext conftest.$ac_ext
14963 CFLAGS=$ac_wine_try_cflags_saved
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14966 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14967 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14968 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14971 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14972 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14973 $as_echo_n "(cached) " >&6
14974 else
14975 ac_wine_try_cflags_saved=$CFLAGS
14976 CFLAGS="$CFLAGS -Wtype-limits"
14977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14979 int main(int argc, char **argv) { return 0; }
14980 _ACEOF
14981 if ac_fn_c_try_link "$LINENO"; then :
14982 ac_cv_cflags__Wtype_limits=yes
14983 else
14984 ac_cv_cflags__Wtype_limits=no
14986 rm -f core conftest.err conftest.$ac_objext \
14987 conftest$ac_exeext conftest.$ac_ext
14988 CFLAGS=$ac_wine_try_cflags_saved
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14991 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14992 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14993 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14996 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14997 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14998 $as_echo_n "(cached) " >&6
14999 else
15000 ac_wine_try_cflags_saved=$CFLAGS
15001 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15004 int main(int argc, char **argv) { return 0; }
15005 _ACEOF
15006 if ac_fn_c_try_link "$LINENO"; then :
15007 ac_cv_cflags__Wunused_but_set_parameter=yes
15008 else
15009 ac_cv_cflags__Wunused_but_set_parameter=no
15011 rm -f core conftest.err conftest.$ac_objext \
15012 conftest$ac_exeext conftest.$ac_ext
15013 CFLAGS=$ac_wine_try_cflags_saved
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15016 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15017 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15018 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15021 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15022 if ${ac_cv_cflags__Wvla+:} false; then :
15023 $as_echo_n "(cached) " >&6
15024 else
15025 ac_wine_try_cflags_saved=$CFLAGS
15026 CFLAGS="$CFLAGS -Wvla"
15027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15028 /* end confdefs.h. */
15029 int main(int argc, char **argv) { return 0; }
15030 _ACEOF
15031 if ac_fn_c_try_link "$LINENO"; then :
15032 ac_cv_cflags__Wvla=yes
15033 else
15034 ac_cv_cflags__Wvla=no
15036 rm -f core conftest.err conftest.$ac_objext \
15037 conftest$ac_exeext conftest.$ac_ext
15038 CFLAGS=$ac_wine_try_cflags_saved
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15041 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15042 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15043 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15046 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15047 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15048 $as_echo_n "(cached) " >&6
15049 else
15050 ac_wine_try_cflags_saved=$CFLAGS
15051 CFLAGS="$CFLAGS -Wwrite-strings"
15052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15054 int main(int argc, char **argv) { return 0; }
15055 _ACEOF
15056 if ac_fn_c_try_link "$LINENO"; then :
15057 ac_cv_cflags__Wwrite_strings=yes
15058 else
15059 ac_cv_cflags__Wwrite_strings=no
15061 rm -f core conftest.err conftest.$ac_objext \
15062 conftest$ac_exeext conftest.$ac_ext
15063 CFLAGS=$ac_wine_try_cflags_saved
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15066 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15067 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15068 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15072 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15073 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15074 $as_echo_n "(cached) " >&6
15075 else
15076 ac_wine_try_cflags_saved=$CFLAGS
15077 CFLAGS="$CFLAGS -Wpointer-arith"
15078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h. */
15080 int main(int argc, char **argv) { return 0; }
15081 _ACEOF
15082 if ac_fn_c_try_link "$LINENO"; then :
15083 ac_cv_cflags__Wpointer_arith=yes
15084 else
15085 ac_cv_cflags__Wpointer_arith=no
15087 rm -f core conftest.err conftest.$ac_objext \
15088 conftest$ac_exeext conftest.$ac_ext
15089 CFLAGS=$ac_wine_try_cflags_saved
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15092 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15093 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15094 saved_string_h_CFLAGS=$CFLAGS
15095 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15097 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15098 if ${ac_cv_c_string_h_warnings+:} false; then :
15099 $as_echo_n "(cached) " >&6
15100 else
15101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15103 #include <string.h>
15105 main ()
15109 return 0;
15111 _ACEOF
15112 if ac_fn_c_try_compile "$LINENO"; then :
15113 ac_cv_c_string_h_warnings=no
15114 else
15115 ac_cv_c_string_h_warnings=yes
15117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15120 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15121 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15122 CFLAGS=$saved_string_h_CFLAGS
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15126 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15127 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15128 $as_echo_n "(cached) " >&6
15129 else
15130 ac_wine_try_cflags_saved=$CFLAGS
15131 CFLAGS="$CFLAGS -Wlogical-op"
15132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15133 /* end confdefs.h. */
15134 int main(int argc, char **argv) { return 0; }
15135 _ACEOF
15136 if ac_fn_c_try_link "$LINENO"; then :
15137 ac_cv_cflags__Wlogical_op=yes
15138 else
15139 ac_cv_cflags__Wlogical_op=no
15141 rm -f core conftest.err conftest.$ac_objext \
15142 conftest$ac_exeext conftest.$ac_ext
15143 CFLAGS=$ac_wine_try_cflags_saved
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15146 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15147 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15148 saved_string_h_CFLAGS=$CFLAGS
15149 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15151 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15152 if ${ac_cv_c_logicalop_noisy+:} false; then :
15153 $as_echo_n "(cached) " >&6
15154 else
15155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15157 #include <string.h>
15158 char*f(const char *h,char n) {return strchr(h,n);}
15160 main ()
15164 return 0;
15166 _ACEOF
15167 if ac_fn_c_try_compile "$LINENO"; then :
15168 ac_cv_c_logicalop_noisy=no
15169 else
15170 ac_cv_c_logicalop_noisy=yes
15172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15175 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15176 CFLAGS=$saved_string_h_CFLAGS
15177 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15180 CFLAGS=$saved_CFLAGS
15182 for ac_flag in $CFLAGS; do
15183 case $ac_flag in
15184 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15185 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15186 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15187 $as_echo_n "(cached) " >&6
15188 else
15189 ac_wine_try_cflags_saved=$CFLAGS
15190 CFLAGS="$CFLAGS -gdwarf-2"
15191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15192 /* end confdefs.h. */
15193 int main(int argc, char **argv) { return 0; }
15194 _ACEOF
15195 if ac_fn_c_try_link "$LINENO"; then :
15196 ac_cv_cflags__gdwarf_2=yes
15197 else
15198 ac_cv_cflags__gdwarf_2=no
15200 rm -f core conftest.err conftest.$ac_objext \
15201 conftest$ac_exeext conftest.$ac_ext
15202 CFLAGS=$ac_wine_try_cflags_saved
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15205 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15206 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15207 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15210 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15211 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15212 $as_echo_n "(cached) " >&6
15213 else
15214 ac_wine_try_cflags_saved=$CFLAGS
15215 CFLAGS="$CFLAGS -gstrict-dwarf"
15216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15218 int main(int argc, char **argv) { return 0; }
15219 _ACEOF
15220 if ac_fn_c_try_link "$LINENO"; then :
15221 ac_cv_cflags__gstrict_dwarf=yes
15222 else
15223 ac_cv_cflags__gstrict_dwarf=no
15225 rm -f core conftest.err conftest.$ac_objext \
15226 conftest$ac_exeext conftest.$ac_ext
15227 CFLAGS=$ac_wine_try_cflags_saved
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15230 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15231 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15232 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15233 fi ;;
15234 esac
15235 done
15237 case $host_cpu in
15238 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15239 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15240 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15241 $as_echo_n "(cached) " >&6
15242 else
15243 ac_wine_try_cflags_saved=$CFLAGS
15244 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15246 /* end confdefs.h. */
15247 int main(int argc, char **argv) { return 0; }
15248 _ACEOF
15249 if ac_fn_c_try_link "$LINENO"; then :
15250 ac_cv_cflags__fno_omit_frame_pointer=yes
15251 else
15252 ac_cv_cflags__fno_omit_frame_pointer=no
15254 rm -f core conftest.err conftest.$ac_objext \
15255 conftest$ac_exeext conftest.$ac_ext
15256 CFLAGS=$ac_wine_try_cflags_saved
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15259 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15260 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15261 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15262 fi ;;
15263 esac
15265 case $host in
15266 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15267 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15268 if ${ac_cv_cflags__Wno_format+:} false; then :
15269 $as_echo_n "(cached) " >&6
15270 else
15271 ac_wine_try_cflags_saved=$CFLAGS
15272 CFLAGS="$CFLAGS -Wno-format"
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15275 int main(int argc, char **argv) { return 0; }
15276 _ACEOF
15277 if ac_fn_c_try_link "$LINENO"; then :
15278 ac_cv_cflags__Wno_format=yes
15279 else
15280 ac_cv_cflags__Wno_format=no
15282 rm -f core conftest.err conftest.$ac_objext \
15283 conftest$ac_exeext conftest.$ac_ext
15284 CFLAGS=$ac_wine_try_cflags_saved
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15287 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15288 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15289 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15290 fi ;;
15291 esac
15293 if test "x$enable_maintainer_mode" = "xyes"
15294 then
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15296 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15297 if ${ac_cv_cflags__Werror+:} false; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15300 ac_wine_try_cflags_saved=$CFLAGS
15301 CFLAGS="$CFLAGS -Werror"
15302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15303 /* end confdefs.h. */
15304 int main(int argc, char **argv) { return 0; }
15305 _ACEOF
15306 if ac_fn_c_try_link "$LINENO"; then :
15307 ac_cv_cflags__Werror=yes
15308 else
15309 ac_cv_cflags__Werror=no
15311 rm -f core conftest.err conftest.$ac_objext \
15312 conftest$ac_exeext conftest.$ac_ext
15313 CFLAGS=$ac_wine_try_cflags_saved
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15316 $as_echo "$ac_cv_cflags__Werror" >&6; }
15317 if test "x$ac_cv_cflags__Werror" = xyes; then :
15318 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15322 saved_CFLAGS="$CFLAGS"
15323 CFLAGS="$CFLAGS -Werror"
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15325 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15326 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15327 $as_echo_n "(cached) " >&6
15328 else
15329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15330 /* end confdefs.h. */
15331 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15333 main ()
15337 return 0;
15339 _ACEOF
15340 if ac_fn_c_try_compile "$LINENO"; then :
15341 ac_cv_have_ms_hook_prologue="yes"
15342 else
15343 ac_cv_have_ms_hook_prologue="no"
15345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15348 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15349 CFLAGS="$saved_CFLAGS"
15350 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15351 then
15353 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15355 else
15356 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15363 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15364 if ${ac_cv_c_fortify_enabled+:} false; then :
15365 $as_echo_n "(cached) " >&6
15366 else
15367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15368 /* end confdefs.h. */
15369 #include <string.h>
15371 main ()
15373 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15374 #error Fortify enabled
15375 #endif
15377 return 0;
15379 _ACEOF
15380 if ac_fn_c_try_compile "$LINENO"; then :
15381 ac_cv_c_fortify_enabled=no
15382 else
15383 ac_cv_c_fortify_enabled=yes
15385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15388 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15389 if test "$ac_cv_c_fortify_enabled" = yes
15390 then
15391 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15396 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15397 if ${ac_cv_c_extern_prefix+:} false; then :
15398 $as_echo_n "(cached) " >&6
15399 else
15400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15401 /* end confdefs.h. */
15402 extern int ac_test;
15404 main ()
15406 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15408 return 0;
15410 _ACEOF
15411 if ac_fn_c_try_link "$LINENO"; then :
15412 ac_cv_c_extern_prefix="yes"
15413 else
15414 ac_cv_c_extern_prefix="no"
15416 rm -f core conftest.err conftest.$ac_objext \
15417 conftest$ac_exeext conftest.$ac_ext
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15420 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15422 case $host_cpu in
15423 *i[3456789]86*)
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15425 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15426 if ${ac_cv_c_stdcall_suffix+:} false; then :
15427 $as_echo_n "(cached) " >&6
15428 else
15429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15430 /* end confdefs.h. */
15431 #ifndef _MSC_VER
15432 #define __stdcall __attribute__((__stdcall__))
15433 #endif
15434 int __stdcall ac_test(int i) { return i; }
15436 main ()
15438 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15440 return 0;
15442 _ACEOF
15443 if ac_fn_c_try_link "$LINENO"; then :
15444 ac_cv_c_stdcall_suffix="yes"
15445 else
15446 ac_cv_c_stdcall_suffix="no"
15448 rm -f core conftest.err conftest.$ac_objext \
15449 conftest$ac_exeext conftest.$ac_ext
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15452 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15453 *) ac_cv_c_stdcall_suffix="no" ;;
15454 esac
15457 if test "$ac_cv_c_extern_prefix" = "yes"
15458 then
15459 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15461 asm_name_prefix="_"
15462 else
15463 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15465 asm_name_prefix=""
15469 if test "$ac_cv_c_stdcall_suffix" = "yes"
15470 then
15471 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15473 else
15474 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15480 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15481 if ${ac_cv_asm_func_def+:} false; then :
15482 $as_echo_n "(cached) " >&6
15483 else
15484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15485 /* end confdefs.h. */
15488 main ()
15490 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15492 return 0;
15494 _ACEOF
15495 if ac_fn_c_try_link "$LINENO"; then :
15496 ac_cv_asm_func_def=".def"
15497 else
15498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15499 /* end confdefs.h. */
15502 main ()
15504 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15506 return 0;
15508 _ACEOF
15509 if ac_fn_c_try_link "$LINENO"; then :
15510 ac_cv_asm_func_def=".type @function"
15511 else
15512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h. */
15516 main ()
15518 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15520 return 0;
15522 _ACEOF
15523 if ac_fn_c_try_link "$LINENO"; then :
15524 ac_cv_asm_func_def=".type 2"
15525 else
15526 ac_cv_asm_func_def="unknown"
15528 rm -f core conftest.err conftest.$ac_objext \
15529 conftest$ac_exeext conftest.$ac_ext
15531 rm -f core conftest.err conftest.$ac_objext \
15532 conftest$ac_exeext conftest.$ac_ext
15534 rm -f core conftest.err conftest.$ac_objext \
15535 conftest$ac_exeext conftest.$ac_ext
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15538 $as_echo "$ac_cv_asm_func_def" >&6; }
15541 case "$ac_cv_asm_func_def" in
15542 ".def")
15543 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15545 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15546 ".type @function")
15547 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15549 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15550 ".type 2")
15551 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15553 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15555 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15557 asm_func_header="" ;;
15558 esac
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15561 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15562 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15563 $as_echo_n "(cached) " >&6
15564 else
15565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15566 /* end confdefs.h. */
15567 asm(".text\n\t.long 0");
15569 main ()
15573 return 0;
15575 _ACEOF
15576 if ac_fn_c_try_compile "$LINENO"; then :
15577 ac_cv_c_asm_outside_funcs="yes"
15578 else
15579 ac_cv_c_asm_outside_funcs="no"
15581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15584 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15587 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15588 if ${ac_cv_c_dot_previous+:} false; then :
15589 $as_echo_n "(cached) " >&6
15590 else
15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15595 main ()
15597 asm(".text\nac_test:\t.long 0\n\t.previous");
15599 return 0;
15601 _ACEOF
15602 if ac_fn_c_try_link "$LINENO"; then :
15603 ac_cv_c_dot_previous="yes"
15604 else
15605 ac_cv_c_dot_previous="no"
15607 rm -f core conftest.err conftest.$ac_objext \
15608 conftest$ac_exeext conftest.$ac_ext
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15611 $as_echo "$ac_cv_c_dot_previous" >&6; }
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15614 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15615 if ${ac_cv_c_cfi_support+:} false; then :
15616 $as_echo_n "(cached) " >&6
15617 else
15618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15619 /* end confdefs.h. */
15620 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15622 main ()
15626 return 0;
15628 _ACEOF
15629 if ac_fn_c_try_compile "$LINENO"; then :
15630 ac_cv_c_cfi_support="yes"
15631 else
15632 ac_cv_c_cfi_support="no"
15634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15637 $as_echo "$ac_cv_c_cfi_support" >&6; }
15639 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15640 asm_func_trailer=""
15641 if test "$ac_cv_c_dot_previous" = "yes"
15642 then
15643 asm_func_trailer="\\n\\t.previous"
15645 if test "$ac_cv_c_cfi_support" = "yes"
15646 then
15647 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15648 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15650 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15652 UNWINDFLAGS=-fasynchronous-unwind-tables
15654 else
15655 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15657 if test "x$enable_win64" = "xyes"
15658 then
15659 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15663 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15666 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15667 then
15668 cat >>confdefs.h <<_ACEOF
15669 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15670 _ACEOF
15672 else
15673 cat >>confdefs.h <<_ACEOF
15674 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15675 _ACEOF
15679 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15682 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15686 case $build_os in
15687 cygwin*|mingw32*) TOOLSEXT=".exe"
15689 esac
15691 case $host_os in
15692 linux*)
15693 case $host_cpu in
15694 *i[3456789]86*|x86_64*|*aarch64*)
15695 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15696 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15698 esac
15700 esac
15703 ac_save_CFLAGS="$CFLAGS"
15704 CFLAGS="$CFLAGS $BUILTINFLAG"
15705 for ac_func in \
15706 __res_get_state \
15707 __res_getservers \
15708 _finite \
15709 _isnan \
15710 _pclose \
15711 _popen \
15712 _snprintf \
15713 _spawnvp \
15714 _strdup \
15715 _stricmp \
15716 _strnicmp \
15717 _strtoi64 \
15718 _strtoui64 \
15719 _vsnprintf \
15720 asctime_r \
15721 chsize \
15722 dlopen \
15723 epoll_create \
15724 ffs \
15725 finitef \
15726 fnmatch \
15727 fork \
15728 fpclass \
15729 fstatfs \
15730 fstatvfs \
15731 ftruncate \
15732 futimens \
15733 futimes \
15734 futimesat \
15735 getattrlist \
15736 getauxval \
15737 getifaddrs \
15738 getopt_long_only \
15739 getpwuid \
15740 gettimeofday \
15741 getuid \
15742 isnanf \
15743 kqueue \
15744 lstat \
15745 memmove \
15746 mmap \
15747 pclose \
15748 pipe2 \
15749 poll \
15750 popen \
15751 port_create \
15752 prctl \
15753 pread \
15754 proc_pidinfo \
15755 pwrite \
15756 readdir \
15757 readlink \
15758 sched_yield \
15759 select \
15760 setproctitle \
15761 setprogname \
15762 setrlimit \
15763 settimeofday \
15764 sigaltstack \
15765 sigprocmask \
15766 snprintf \
15767 statfs \
15768 statvfs \
15769 strcasecmp \
15770 strdup \
15771 strerror \
15772 strncasecmp \
15773 strnlen \
15774 strtold \
15775 strtoll \
15776 strtoull \
15777 symlink \
15778 sysinfo \
15779 tcdrain \
15780 thr_kill2 \
15781 timegm \
15782 usleep \
15783 vsnprintf
15785 do :
15786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15788 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15789 cat >>confdefs.h <<_ACEOF
15790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15791 _ACEOF
15794 done
15796 CFLAGS="$ac_save_CFLAGS"
15798 if test "$ac_cv_func_dlopen" = no
15799 then
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15801 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15802 if ${ac_cv_lib_dl_dlopen+:} false; then :
15803 $as_echo_n "(cached) " >&6
15804 else
15805 ac_check_lib_save_LIBS=$LIBS
15806 LIBS="-ldl $LIBS"
15807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15810 /* Override any GCC internal prototype to avoid an error.
15811 Use char because int might match the return type of a GCC
15812 builtin and then its argument prototype would still apply. */
15813 #ifdef __cplusplus
15814 extern "C"
15815 #endif
15816 char dlopen ();
15818 main ()
15820 return dlopen ();
15822 return 0;
15824 _ACEOF
15825 if ac_fn_c_try_link "$LINENO"; then :
15826 ac_cv_lib_dl_dlopen=yes
15827 else
15828 ac_cv_lib_dl_dlopen=no
15830 rm -f core conftest.err conftest.$ac_objext \
15831 conftest$ac_exeext conftest.$ac_ext
15832 LIBS=$ac_check_lib_save_LIBS
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15835 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15836 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15837 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15838 DL_LIBS="-ldl"
15843 ac_wine_check_funcs_save_LIBS="$LIBS"
15844 LIBS="$LIBS $DL_LIBS"
15845 for ac_func in dladdr
15846 do :
15847 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15848 if test "x$ac_cv_func_dladdr" = xyes; then :
15849 cat >>confdefs.h <<_ACEOF
15850 #define HAVE_DLADDR 1
15851 _ACEOF
15854 done
15856 LIBS="$ac_wine_check_funcs_save_LIBS"
15858 if test "$ac_cv_func_poll" = no
15859 then
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15861 $as_echo_n "checking for poll in -lpoll... " >&6; }
15862 if ${ac_cv_lib_poll_poll+:} false; then :
15863 $as_echo_n "(cached) " >&6
15864 else
15865 ac_check_lib_save_LIBS=$LIBS
15866 LIBS="-lpoll $LIBS"
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15870 /* Override any GCC internal prototype to avoid an error.
15871 Use char because int might match the return type of a GCC
15872 builtin and then its argument prototype would still apply. */
15873 #ifdef __cplusplus
15874 extern "C"
15875 #endif
15876 char poll ();
15878 main ()
15880 return poll ();
15882 return 0;
15884 _ACEOF
15885 if ac_fn_c_try_link "$LINENO"; then :
15886 ac_cv_lib_poll_poll=yes
15887 else
15888 ac_cv_lib_poll_poll=no
15890 rm -f core conftest.err conftest.$ac_objext \
15891 conftest$ac_exeext conftest.$ac_ext
15892 LIBS=$ac_check_lib_save_LIBS
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15895 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15896 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15897 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15898 POLL_LIBS="-lpoll"
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15905 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15906 if ${ac_cv_search_gethostbyname+:} false; then :
15907 $as_echo_n "(cached) " >&6
15908 else
15909 ac_func_search_save_LIBS=$LIBS
15910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15911 /* end confdefs.h. */
15913 /* Override any GCC internal prototype to avoid an error.
15914 Use char because int might match the return type of a GCC
15915 builtin and then its argument prototype would still apply. */
15916 #ifdef __cplusplus
15917 extern "C"
15918 #endif
15919 char gethostbyname ();
15921 main ()
15923 return gethostbyname ();
15925 return 0;
15927 _ACEOF
15928 for ac_lib in '' nsl; do
15929 if test -z "$ac_lib"; then
15930 ac_res="none required"
15931 else
15932 ac_res=-l$ac_lib
15933 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15935 if ac_fn_c_try_link "$LINENO"; then :
15936 ac_cv_search_gethostbyname=$ac_res
15938 rm -f core conftest.err conftest.$ac_objext \
15939 conftest$ac_exeext
15940 if ${ac_cv_search_gethostbyname+:} false; then :
15941 break
15943 done
15944 if ${ac_cv_search_gethostbyname+:} false; then :
15946 else
15947 ac_cv_search_gethostbyname=no
15949 rm conftest.$ac_ext
15950 LIBS=$ac_func_search_save_LIBS
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15953 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15954 ac_res=$ac_cv_search_gethostbyname
15955 if test "$ac_res" != no; then :
15956 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15962 $as_echo_n "checking for library containing connect... " >&6; }
15963 if ${ac_cv_search_connect+:} false; then :
15964 $as_echo_n "(cached) " >&6
15965 else
15966 ac_func_search_save_LIBS=$LIBS
15967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15968 /* end confdefs.h. */
15970 /* Override any GCC internal prototype to avoid an error.
15971 Use char because int might match the return type of a GCC
15972 builtin and then its argument prototype would still apply. */
15973 #ifdef __cplusplus
15974 extern "C"
15975 #endif
15976 char connect ();
15978 main ()
15980 return connect ();
15982 return 0;
15984 _ACEOF
15985 for ac_lib in '' socket; do
15986 if test -z "$ac_lib"; then
15987 ac_res="none required"
15988 else
15989 ac_res=-l$ac_lib
15990 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15992 if ac_fn_c_try_link "$LINENO"; then :
15993 ac_cv_search_connect=$ac_res
15995 rm -f core conftest.err conftest.$ac_objext \
15996 conftest$ac_exeext
15997 if ${ac_cv_search_connect+:} false; then :
15998 break
16000 done
16001 if ${ac_cv_search_connect+:} false; then :
16003 else
16004 ac_cv_search_connect=no
16006 rm conftest.$ac_ext
16007 LIBS=$ac_func_search_save_LIBS
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16010 $as_echo "$ac_cv_search_connect" >&6; }
16011 ac_res=$ac_cv_search_connect
16012 if test "$ac_res" != no; then :
16013 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16019 $as_echo_n "checking for library containing inet_aton... " >&6; }
16020 if ${ac_cv_search_inet_aton+:} false; then :
16021 $as_echo_n "(cached) " >&6
16022 else
16023 ac_func_search_save_LIBS=$LIBS
16024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16025 /* end confdefs.h. */
16027 /* Override any GCC internal prototype to avoid an error.
16028 Use char because int might match the return type of a GCC
16029 builtin and then its argument prototype would still apply. */
16030 #ifdef __cplusplus
16031 extern "C"
16032 #endif
16033 char inet_aton ();
16035 main ()
16037 return inet_aton ();
16039 return 0;
16041 _ACEOF
16042 for ac_lib in '' resolv; do
16043 if test -z "$ac_lib"; then
16044 ac_res="none required"
16045 else
16046 ac_res=-l$ac_lib
16047 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16049 if ac_fn_c_try_link "$LINENO"; then :
16050 ac_cv_search_inet_aton=$ac_res
16052 rm -f core conftest.err conftest.$ac_objext \
16053 conftest$ac_exeext
16054 if ${ac_cv_search_inet_aton+:} false; then :
16055 break
16057 done
16058 if ${ac_cv_search_inet_aton+:} false; then :
16060 else
16061 ac_cv_search_inet_aton=no
16063 rm conftest.$ac_ext
16064 LIBS=$ac_func_search_save_LIBS
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16067 $as_echo "$ac_cv_search_inet_aton" >&6; }
16068 ac_res=$ac_cv_search_inet_aton
16069 if test "$ac_res" != no; then :
16070 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16075 for ac_func in \
16076 getaddrinfo \
16077 getnameinfo \
16078 getnetbyname \
16079 getprotobyname \
16080 getprotobynumber \
16081 getservbyport \
16082 inet_addr \
16083 inet_network \
16084 inet_ntop \
16085 inet_pton \
16086 sendmsg \
16087 socketpair \
16089 do :
16090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16092 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16093 cat >>confdefs.h <<_ACEOF
16094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16095 _ACEOF
16098 done
16101 ac_save_LIBS=$LIBS
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16103 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16104 if ${ac_cv_search_clock_gettime+:} false; then :
16105 $as_echo_n "(cached) " >&6
16106 else
16107 ac_func_search_save_LIBS=$LIBS
16108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16109 /* end confdefs.h. */
16111 /* Override any GCC internal prototype to avoid an error.
16112 Use char because int might match the return type of a GCC
16113 builtin and then its argument prototype would still apply. */
16114 #ifdef __cplusplus
16115 extern "C"
16116 #endif
16117 char clock_gettime ();
16119 main ()
16121 return clock_gettime ();
16123 return 0;
16125 _ACEOF
16126 for ac_lib in '' rt; do
16127 if test -z "$ac_lib"; then
16128 ac_res="none required"
16129 else
16130 ac_res=-l$ac_lib
16131 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16133 if ac_fn_c_try_link "$LINENO"; then :
16134 ac_cv_search_clock_gettime=$ac_res
16136 rm -f core conftest.err conftest.$ac_objext \
16137 conftest$ac_exeext
16138 if ${ac_cv_search_clock_gettime+:} false; then :
16139 break
16141 done
16142 if ${ac_cv_search_clock_gettime+:} false; then :
16144 else
16145 ac_cv_search_clock_gettime=no
16147 rm conftest.$ac_ext
16148 LIBS=$ac_func_search_save_LIBS
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16151 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16152 ac_res=$ac_cv_search_clock_gettime
16153 if test "$ac_res" != no; then :
16154 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16156 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16158 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16162 LIBS=$ac_save_LIBS
16164 if test "x$with_ldap" != "xno"
16165 then
16166 if ${LDAP_CFLAGS:+false} :; then :
16167 if ${PKG_CONFIG+:} false; then :
16168 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16172 if ${LDAP_LIBS:+false} :; then :
16173 if ${PKG_CONFIG+:} false; then :
16174 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16178 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16179 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16180 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16181 ac_save_CPPFLAGS=$CPPFLAGS
16182 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16183 for ac_header in ldap.h lber.h
16184 do :
16185 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16186 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16187 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16188 cat >>confdefs.h <<_ACEOF
16189 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16190 _ACEOF
16194 done
16196 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16197 then
16198 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16200 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16202 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16203 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16204 $as_echo_n "(cached) " >&6
16205 else
16206 ac_check_lib_save_LIBS=$LIBS
16207 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16209 /* end confdefs.h. */
16211 /* Override any GCC internal prototype to avoid an error.
16212 Use char because int might match the return type of a GCC
16213 builtin and then its argument prototype would still apply. */
16214 #ifdef __cplusplus
16215 extern "C"
16216 #endif
16217 char ldap_initialize ();
16219 main ()
16221 return ldap_initialize ();
16223 return 0;
16225 _ACEOF
16226 if ac_fn_c_try_link "$LINENO"; then :
16227 ac_cv_lib_ldap_r_ldap_initialize=yes
16228 else
16229 ac_cv_lib_ldap_r_ldap_initialize=no
16231 rm -f core conftest.err conftest.$ac_objext \
16232 conftest$ac_exeext conftest.$ac_ext
16233 LIBS=$ac_check_lib_save_LIBS
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16236 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16237 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16239 $as_echo_n "checking for ber_init in -llber... " >&6; }
16240 if ${ac_cv_lib_lber_ber_init+:} false; then :
16241 $as_echo_n "(cached) " >&6
16242 else
16243 ac_check_lib_save_LIBS=$LIBS
16244 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16246 /* end confdefs.h. */
16248 /* Override any GCC internal prototype to avoid an error.
16249 Use char because int might match the return type of a GCC
16250 builtin and then its argument prototype would still apply. */
16251 #ifdef __cplusplus
16252 extern "C"
16253 #endif
16254 char ber_init ();
16256 main ()
16258 return ber_init ();
16260 return 0;
16262 _ACEOF
16263 if ac_fn_c_try_link "$LINENO"; then :
16264 ac_cv_lib_lber_ber_init=yes
16265 else
16266 ac_cv_lib_lber_ber_init=no
16268 rm -f core conftest.err conftest.$ac_objext \
16269 conftest$ac_exeext conftest.$ac_ext
16270 LIBS=$ac_check_lib_save_LIBS
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16273 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16274 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16276 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16278 else
16279 LDAP_LIBS=""
16282 else
16283 LDAP_LIBS=""
16286 else
16287 LDAP_LIBS=""
16290 ac_wine_check_funcs_save_LIBS="$LIBS"
16291 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16292 for ac_func in \
16293 ldap_count_references \
16294 ldap_first_reference \
16295 ldap_next_reference \
16296 ldap_parse_reference \
16297 ldap_parse_sort_control \
16298 ldap_parse_sortresponse_control \
16299 ldap_parse_vlv_control \
16300 ldap_parse_vlvresponse_control
16301 do :
16302 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16303 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16304 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16305 cat >>confdefs.h <<_ACEOF
16306 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16307 _ACEOF
16310 done
16312 LIBS="$ac_wine_check_funcs_save_LIBS"
16313 else
16314 LDAP_LIBS=""
16316 CPPFLAGS=$ac_save_CPPFLAGS
16317 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16318 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16321 if test "x$LDAP_LIBS" = "x"; then :
16322 case "x$with_ldap" in
16323 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16324 xno) ;;
16325 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16326 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16327 esac
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16332 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16333 if ${wine_cv_one_arg_mkdir+:} false; then :
16334 $as_echo_n "(cached) " >&6
16335 else
16336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16337 /* end confdefs.h. */
16338 #include <sys/stat.h>
16340 main ()
16342 mkdir("foo");
16344 return 0;
16346 _ACEOF
16347 if ac_fn_c_try_compile "$LINENO"; then :
16348 wine_cv_one_arg_mkdir=yes
16349 else
16350 wine_cv_one_arg_mkdir=no
16352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16355 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16356 if test "$wine_cv_one_arg_mkdir" = "yes"
16357 then
16359 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16364 $as_echo_n "checking for sched_setaffinity... " >&6; }
16365 if ${wine_cv_have_sched_setaffinity+:} false; then :
16366 $as_echo_n "(cached) " >&6
16367 else
16368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16370 #define _GNU_SOURCE
16371 #include <sched.h>
16373 main ()
16375 sched_setaffinity(0, 0, 0);
16377 return 0;
16379 _ACEOF
16380 if ac_fn_c_try_link "$LINENO"; then :
16381 wine_cv_have_sched_setaffinity=yes
16382 else
16383 wine_cv_have_sched_setaffinity=no
16385 rm -f core conftest.err conftest.$ac_objext \
16386 conftest$ac_exeext conftest.$ac_ext
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16389 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16390 if test "$wine_cv_have_sched_setaffinity" = "yes"
16391 then
16393 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16398 $as_echo_n "checking for fallocate... " >&6; }
16399 if ${wine_cv_have_fallocate+:} false; then :
16400 $as_echo_n "(cached) " >&6
16401 else
16402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16403 /* end confdefs.h. */
16404 #define _GNU_SOURCE
16405 #include <fcntl.h>
16407 main ()
16409 fallocate(-1, 0, 0, 0);
16411 return 0;
16413 _ACEOF
16414 if ac_fn_c_try_link "$LINENO"; then :
16415 wine_cv_have_fallocate=yes
16416 else
16417 wine_cv_have_fallocate=no
16419 rm -f core conftest.err conftest.$ac_objext \
16420 conftest$ac_exeext conftest.$ac_ext
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16423 $as_echo "$wine_cv_have_fallocate" >&6; }
16424 if test "$wine_cv_have_fallocate" = "yes"
16425 then
16427 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16433 $as_echo_n "checking for inline... " >&6; }
16434 if ${ac_cv_c_inline+:} false; then :
16435 $as_echo_n "(cached) " >&6
16436 else
16437 ac_cv_c_inline=no
16438 for ac_kw in inline __inline__ __inline; do
16439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16440 /* end confdefs.h. */
16441 #ifndef __cplusplus
16442 typedef int foo_t;
16443 static $ac_kw foo_t static_foo () {return 0; }
16444 $ac_kw foo_t foo () {return 0; }
16445 #endif
16447 _ACEOF
16448 if ac_fn_c_try_compile "$LINENO"; then :
16449 ac_cv_c_inline=$ac_kw
16451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16452 test "$ac_cv_c_inline" != no && break
16453 done
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16457 $as_echo "$ac_cv_c_inline" >&6; }
16459 case $ac_cv_c_inline in
16460 inline | yes) ;;
16462 case $ac_cv_c_inline in
16463 no) ac_val=;;
16464 *) ac_val=$ac_cv_c_inline;;
16465 esac
16466 cat >>confdefs.h <<_ACEOF
16467 #ifndef __cplusplus
16468 #define inline $ac_val
16469 #endif
16470 _ACEOF
16472 esac
16474 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16475 if test "x$ac_cv_type_mode_t" = xyes; then :
16477 cat >>confdefs.h <<_ACEOF
16478 #define HAVE_MODE_T 1
16479 _ACEOF
16483 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16484 if test "x$ac_cv_type_off_t" = xyes; then :
16486 cat >>confdefs.h <<_ACEOF
16487 #define HAVE_OFF_T 1
16488 _ACEOF
16492 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16493 if test "x$ac_cv_type_pid_t" = xyes; then :
16495 cat >>confdefs.h <<_ACEOF
16496 #define HAVE_PID_T 1
16497 _ACEOF
16501 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16502 if test "x$ac_cv_type_size_t" = xyes; then :
16504 cat >>confdefs.h <<_ACEOF
16505 #define HAVE_SIZE_T 1
16506 _ACEOF
16510 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16511 if test "x$ac_cv_type_ssize_t" = xyes; then :
16513 cat >>confdefs.h <<_ACEOF
16514 #define HAVE_SSIZE_T 1
16515 _ACEOF
16519 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16520 if test "x$ac_cv_type_long_long" = xyes; then :
16522 cat >>confdefs.h <<_ACEOF
16523 #define HAVE_LONG_LONG 1
16524 _ACEOF
16528 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16529 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16531 cat >>confdefs.h <<_ACEOF
16532 #define HAVE_FSBLKCNT_T 1
16533 _ACEOF
16537 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16538 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16540 cat >>confdefs.h <<_ACEOF
16541 #define HAVE_FSFILCNT_T 1
16542 _ACEOF
16547 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16548 #include <signal.h>
16550 if test "x$ac_cv_type_sigset_t" = xyes; then :
16552 cat >>confdefs.h <<_ACEOF
16553 #define HAVE_SIGSET_T 1
16554 _ACEOF
16559 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16561 if test "x$ac_cv_type_request_sense" = xyes; then :
16563 cat >>confdefs.h <<_ACEOF
16564 #define HAVE_REQUEST_SENSE 1
16565 _ACEOF
16571 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16572 #ifdef HAVE_SYS_SOCKET_H
16573 #include <sys/socket.h>
16574 #endif
16575 #ifdef HAVE_SYS_SOCKETVAR_H
16576 #include <sys/socketvar.h>
16577 #endif
16578 #ifdef HAVE_NET_ROUTE_H
16579 #include <net/route.h>
16580 #endif
16581 #ifdef HAVE_NETINET_IN_H
16582 #include <netinet/in.h>
16583 #endif
16584 #ifdef HAVE_NETINET_IN_SYSTM_H
16585 #include <netinet/in_systm.h>
16586 #endif
16587 #ifdef HAVE_NETINET_IP_H
16588 #include <netinet/ip.h>
16589 #endif
16590 #ifdef HAVE_NETINET_IN_PCB_H
16591 #include <netinet/in_pcb.h>
16592 #endif
16594 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16596 cat >>confdefs.h <<_ACEOF
16597 #define HAVE_STRUCT_XINPGEN 1
16598 _ACEOF
16604 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16605 #include <link.h>
16606 #endif
16607 #ifdef HAVE_SYS_LINK_H
16608 #include <sys/link.h>
16609 #endif
16611 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16613 cat >>confdefs.h <<_ACEOF
16614 #define HAVE_STRUCT_R_DEBUG 1
16615 _ACEOF
16619 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16620 #include <link.h>
16621 #endif
16622 #ifdef HAVE_SYS_LINK_H
16623 #include <sys/link.h>
16624 #endif
16626 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define HAVE_STRUCT_LINK_MAP 1
16630 _ACEOF
16636 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16637 #include <linux/input.h>
16638 #endif
16640 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16644 _ACEOF
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16651 $as_echo_n "checking for if_nameindex... " >&6; }
16652 if ${wine_cv_have_if_nameindex+:} false; then :
16653 $as_echo_n "(cached) " >&6
16654 else
16655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16656 /* end confdefs.h. */
16657 #ifdef HAVE_SYS_TYPES_H
16658 #include <sys/types.h>
16659 #endif
16660 #ifdef HAVE_SYS_SOCKET_H
16661 #include <sys/socket.h>
16662 #endif
16663 #ifdef HAVE_NET_IF_H
16664 # include <net/if.h>
16665 #endif
16667 main ()
16669 struct if_nameindex *p = if_nameindex(); return p->if_index;
16671 return 0;
16673 _ACEOF
16674 if ac_fn_c_try_link "$LINENO"; then :
16675 wine_cv_have_if_nameindex=yes
16676 else
16677 wine_cv_have_if_nameindex=no
16679 rm -f core conftest.err conftest.$ac_objext \
16680 conftest$ac_exeext conftest.$ac_ext
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16683 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16684 if test "$wine_cv_have_if_nameindex" = "yes"
16685 then
16687 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16692 $as_echo_n "checking for sigaddset... " >&6; }
16693 if ${wine_cv_have_sigaddset+:} false; then :
16694 $as_echo_n "(cached) " >&6
16695 else
16696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h. */
16698 #include <signal.h>
16700 main ()
16702 sigset_t set; sigaddset(&set,SIGTERM);
16704 return 0;
16706 _ACEOF
16707 if ac_fn_c_try_link "$LINENO"; then :
16708 wine_cv_have_sigaddset=yes
16709 else
16710 wine_cv_have_sigaddset=no
16712 rm -f core conftest.err conftest.$ac_objext \
16713 conftest$ac_exeext conftest.$ac_ext
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16716 $as_echo "$wine_cv_have_sigaddset" >&6; }
16717 if test "$wine_cv_have_sigaddset" = "yes"
16718 then
16720 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16726 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16727 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16728 $as_echo_n "(cached) " >&6
16729 else
16730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16732 #include <netdb.h>
16734 main ()
16737 char *name=0;
16738 struct hostent he;
16739 struct hostent *result;
16740 char *buf=0;
16741 int bufsize=0;
16742 int errnr;
16743 char *addr=0;
16744 int addrlen=0;
16745 int addrtype=0;
16746 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16747 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16750 return 0;
16752 _ACEOF
16753 if ac_fn_c_try_link "$LINENO"; then :
16754 wine_cv_linux_gethostbyname_r_6=yes
16755 else
16756 wine_cv_linux_gethostbyname_r_6=no
16759 rm -f core conftest.err conftest.$ac_objext \
16760 conftest$ac_exeext conftest.$ac_ext
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16764 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16765 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16766 then
16768 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16772 if test "$ac_cv_header_linux_joystick_h" = "yes"
16773 then
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16775 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16776 if ${wine_cv_linux_joystick_22_api+:} false; then :
16777 $as_echo_n "(cached) " >&6
16778 else
16779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16780 /* end confdefs.h. */
16782 #include <sys/ioctl.h>
16783 #include <sys/types.h>
16784 #include <linux/joystick.h>
16786 struct js_event blub;
16787 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16788 #error "no 2.2 header"
16789 #endif
16792 main ()
16794 /*empty*/
16796 return 0;
16798 _ACEOF
16799 if ac_fn_c_try_compile "$LINENO"; then :
16800 wine_cv_linux_joystick_22_api=yes
16801 else
16802 wine_cv_linux_joystick_22_api=no
16804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16808 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16809 if test "$wine_cv_linux_joystick_22_api" = "yes"
16810 then
16812 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16818 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16819 #ifdef HAVE_SYS_PARAM_H
16820 # include <sys/param.h>
16821 #endif
16822 #ifdef HAVE_SYS_MOUNT_H
16823 # include <sys/mount.h>
16824 #endif
16825 #ifdef HAVE_SYS_VFS_H
16826 # include <sys/vfs.h>
16827 #endif
16828 #ifdef HAVE_SYS_STATFS_H
16829 # include <sys/statfs.h>
16830 #endif
16832 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16834 cat >>confdefs.h <<_ACEOF
16835 #define HAVE_STRUCT_STATFS_F_BFREE 1
16836 _ACEOF
16840 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16841 #ifdef HAVE_SYS_PARAM_H
16842 # include <sys/param.h>
16843 #endif
16844 #ifdef HAVE_SYS_MOUNT_H
16845 # include <sys/mount.h>
16846 #endif
16847 #ifdef HAVE_SYS_VFS_H
16848 # include <sys/vfs.h>
16849 #endif
16850 #ifdef HAVE_SYS_STATFS_H
16851 # include <sys/statfs.h>
16852 #endif
16854 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16856 cat >>confdefs.h <<_ACEOF
16857 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16858 _ACEOF
16862 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16863 #ifdef HAVE_SYS_PARAM_H
16864 # include <sys/param.h>
16865 #endif
16866 #ifdef HAVE_SYS_MOUNT_H
16867 # include <sys/mount.h>
16868 #endif
16869 #ifdef HAVE_SYS_VFS_H
16870 # include <sys/vfs.h>
16871 #endif
16872 #ifdef HAVE_SYS_STATFS_H
16873 # include <sys/statfs.h>
16874 #endif
16876 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16878 cat >>confdefs.h <<_ACEOF
16879 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16880 _ACEOF
16884 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16885 #ifdef HAVE_SYS_PARAM_H
16886 # include <sys/param.h>
16887 #endif
16888 #ifdef HAVE_SYS_MOUNT_H
16889 # include <sys/mount.h>
16890 #endif
16891 #ifdef HAVE_SYS_VFS_H
16892 # include <sys/vfs.h>
16893 #endif
16894 #ifdef HAVE_SYS_STATFS_H
16895 # include <sys/statfs.h>
16896 #endif
16898 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16900 cat >>confdefs.h <<_ACEOF
16901 #define HAVE_STRUCT_STATFS_F_FFREE 1
16902 _ACEOF
16906 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16907 #ifdef HAVE_SYS_PARAM_H
16908 # include <sys/param.h>
16909 #endif
16910 #ifdef HAVE_SYS_MOUNT_H
16911 # include <sys/mount.h>
16912 #endif
16913 #ifdef HAVE_SYS_VFS_H
16914 # include <sys/vfs.h>
16915 #endif
16916 #ifdef HAVE_SYS_STATFS_H
16917 # include <sys/statfs.h>
16918 #endif
16920 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16922 cat >>confdefs.h <<_ACEOF
16923 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16924 _ACEOF
16928 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16929 #ifdef HAVE_SYS_PARAM_H
16930 # include <sys/param.h>
16931 #endif
16932 #ifdef HAVE_SYS_MOUNT_H
16933 # include <sys/mount.h>
16934 #endif
16935 #ifdef HAVE_SYS_VFS_H
16936 # include <sys/vfs.h>
16937 #endif
16938 #ifdef HAVE_SYS_STATFS_H
16939 # include <sys/statfs.h>
16940 #endif
16942 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16944 cat >>confdefs.h <<_ACEOF
16945 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16946 _ACEOF
16952 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16953 #include <sys/statvfs.h>
16954 #endif
16956 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16958 cat >>confdefs.h <<_ACEOF
16959 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16960 _ACEOF
16966 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16967 #include <dirent.h>
16968 #endif
16970 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16972 cat >>confdefs.h <<_ACEOF
16973 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16974 _ACEOF
16980 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16981 #ifdef HAVE_SYS_SOCKET_H
16982 # include <sys/socket.h>
16983 #endif
16984 #ifdef HAVE_SYS_UN_H
16985 # include <sys/un.h>
16986 #endif
16988 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16990 cat >>confdefs.h <<_ACEOF
16991 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16992 _ACEOF
16996 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16997 #ifdef HAVE_SYS_SOCKET_H
16998 # include <sys/socket.h>
16999 #endif
17000 #ifdef HAVE_SYS_UN_H
17001 # include <sys/un.h>
17002 #endif
17004 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17006 cat >>confdefs.h <<_ACEOF
17007 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17008 _ACEOF
17012 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17013 #ifdef HAVE_SYS_SOCKET_H
17014 # include <sys/socket.h>
17015 #endif
17016 #ifdef HAVE_SYS_UN_H
17017 # include <sys/un.h>
17018 #endif
17020 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17022 cat >>confdefs.h <<_ACEOF
17023 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17024 _ACEOF
17030 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17031 #ifdef HAVE_SCSI_SG_H
17032 #include <scsi/sg.h>
17033 #endif
17035 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17037 cat >>confdefs.h <<_ACEOF
17038 #define HAVE_SCSIREQ_T_CMD 1
17039 _ACEOF
17043 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>
17044 #ifdef HAVE_SCSI_SG_H
17045 #include <scsi/sg.h>
17046 #endif
17048 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17050 cat >>confdefs.h <<_ACEOF
17051 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17052 _ACEOF
17058 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17060 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17062 cat >>confdefs.h <<_ACEOF
17063 #define HAVE_SIGINFO_T_SI_FD 1
17064 _ACEOF
17070 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17071 #ifdef HAVE_SYS_MTIO_H
17072 #include <sys/mtio.h>
17073 #endif
17075 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17077 cat >>confdefs.h <<_ACEOF
17078 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17079 _ACEOF
17083 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17084 #ifdef HAVE_SYS_MTIO_H
17085 #include <sys/mtio.h>
17086 #endif
17088 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17090 cat >>confdefs.h <<_ACEOF
17091 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17092 _ACEOF
17096 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17097 #ifdef HAVE_SYS_MTIO_H
17098 #include <sys/mtio.h>
17099 #endif
17101 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17103 cat >>confdefs.h <<_ACEOF
17104 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17105 _ACEOF
17111 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17112 #include <getopt.h>
17113 #endif
17115 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17117 cat >>confdefs.h <<_ACEOF
17118 #define HAVE_STRUCT_OPTION_NAME 1
17119 _ACEOF
17125 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17126 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17128 cat >>confdefs.h <<_ACEOF
17129 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17130 _ACEOF
17134 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17135 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17137 cat >>confdefs.h <<_ACEOF
17138 #define HAVE_STRUCT_STAT_ST_MTIM 1
17139 _ACEOF
17143 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17144 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17146 cat >>confdefs.h <<_ACEOF
17147 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17148 _ACEOF
17152 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17153 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17155 cat >>confdefs.h <<_ACEOF
17156 #define HAVE_STRUCT_STAT_ST_CTIM 1
17157 _ACEOF
17161 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17162 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17164 cat >>confdefs.h <<_ACEOF
17165 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17166 _ACEOF
17170 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17171 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17173 cat >>confdefs.h <<_ACEOF
17174 #define HAVE_STRUCT_STAT_ST_ATIM 1
17175 _ACEOF
17179 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17180 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17182 cat >>confdefs.h <<_ACEOF
17183 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17184 _ACEOF
17188 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17189 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17191 cat >>confdefs.h <<_ACEOF
17192 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17193 _ACEOF
17197 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17198 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17200 cat >>confdefs.h <<_ACEOF
17201 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17202 _ACEOF
17206 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17207 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17209 cat >>confdefs.h <<_ACEOF
17210 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17211 _ACEOF
17215 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17216 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17218 cat >>confdefs.h <<_ACEOF
17219 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17220 _ACEOF
17224 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17225 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17227 cat >>confdefs.h <<_ACEOF
17228 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17229 _ACEOF
17235 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
17236 #include <sys/types.h>
17237 #endif
17238 #ifdef HAVE_NETINET_IN_H
17239 #include <netinet/in.h>
17240 #endif
17242 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17244 cat >>confdefs.h <<_ACEOF
17245 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17246 _ACEOF
17252 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17253 #include <sys/types.h>
17254 #endif
17255 #ifdef HAVE_NETINET_IN_H
17256 #include <netinet/in.h>
17257 #endif
17258 #ifdef HAVE_RESOLV_H
17259 #include <resolv.h>
17260 #endif
17262 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17264 cat >>confdefs.h <<_ACEOF
17265 #define HAVE_STRUCT___RES_STATE 1
17266 _ACEOF
17272 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
17273 #include <resolv.h>
17274 #endif
17276 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17278 cat >>confdefs.h <<_ACEOF
17279 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17280 _ACEOF
17286 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17287 #include <sys/types.h>
17288 #endif
17289 #ifdef HAVE_NETINET_IN_H
17290 # include <netinet/in.h>
17291 #endif
17292 #ifdef HAVE_ARPA_NAMESER_H
17293 # include <arpa/nameser.h>
17294 #endif
17296 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17298 cat >>confdefs.h <<_ACEOF
17299 #define HAVE_NS_MSG__MSG_PTR 1
17300 _ACEOF
17306 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17307 #include <sys/types.h>
17308 #endif
17309 #ifdef HAVE_NETINET_IN_H
17310 #include <netinet/in.h>
17311 #endif
17312 #ifdef HAVE_NETINET_IP_H
17313 #include <netinet/ip.h>
17314 #endif
17315 #ifdef HAVE_NETINET_IP_ICMP_H
17316 #include <netinet/ip_icmp.h>
17317 #endif
17318 #ifdef HAVE_NETINET_ICMP_VAR_H
17319 #include <netinet/icmp_var.h>
17320 #endif
17322 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17324 cat >>confdefs.h <<_ACEOF
17325 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17326 _ACEOF
17332 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17333 #include <sys/types.h>
17334 #endif
17335 #ifdef HAVE_ALIAS_H
17336 #include <alias.h>
17337 #endif
17338 #ifdef HAVE_SYS_SOCKET_H
17339 #include <sys/socket.h>
17340 #endif
17341 #ifdef HAVE_SYS_SOCKETVAR_H
17342 #include <sys/socketvar.h>
17343 #endif
17344 #ifdef HAVE_SYS_TIMEOUT_H
17345 #include <sys/timeout.h>
17346 #endif
17347 #ifdef HAVE_NETINET_IN_H
17348 #include <netinet/in.h>
17349 #endif
17350 #ifdef HAVE_NETINET_IN_SYSTM_H
17351 #include <netinet/in_systm.h>
17352 #endif
17353 #ifdef HAVE_NETINET_IP_H
17354 #include <netinet/ip.h>
17355 #endif
17356 #ifdef HAVE_NETINET_IP_VAR_H
17357 #include <netinet/ip_var.h>
17358 #endif
17359 #ifdef HAVE_NETINET_IP_ICMP_H
17360 #include <netinet/ip_icmp.h>
17361 #endif
17362 #ifdef HAVE_NETINET_ICMP_VAR_H
17363 #include <netinet/icmp_var.h>
17364 #endif
17366 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17368 cat >>confdefs.h <<_ACEOF
17369 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17370 _ACEOF
17376 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17377 #include <sys/types.h>
17378 #endif
17379 #ifdef HAVE_SYS_SOCKETVAR_H
17380 #include <sys/socketvar.h>
17381 #endif
17382 #ifdef HAVE_NETINET_IN_H
17383 #include <netinet/in.h>
17384 #endif
17385 #ifdef HAVE_NETINET_IP_VAR_H
17386 #include <netinet/ip_var.h>
17387 #endif
17389 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17391 cat >>confdefs.h <<_ACEOF
17392 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17393 _ACEOF
17399 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
17400 #include <netinet/ip_var.h>
17401 #endif
17403 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17405 cat >>confdefs.h <<_ACEOF
17406 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17407 _ACEOF
17413 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17414 #include <sys/types.h>
17415 #endif
17416 #ifdef HAVE_SYS_SOCKETVAR_H
17417 #include <sys/socketvar.h>
17418 #endif
17419 #ifdef HAVE_NETINET_IN_H
17420 #include <netinet/in.h>
17421 #endif
17422 #ifdef HAVE_NETINET_TCP_H
17423 #include <netinet/tcp.h>
17424 #endif
17425 #ifdef HAVE_NETINET_TCP_VAR_H
17426 #include <netinet/tcp_var.h>
17427 #endif
17429 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17431 cat >>confdefs.h <<_ACEOF
17432 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17433 _ACEOF
17439 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
17440 #include <netinet/tcp_var.h>
17441 #endif
17443 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17445 cat >>confdefs.h <<_ACEOF
17446 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17447 _ACEOF
17453 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17454 #include <sys/types.h>
17455 #endif
17456 #ifdef HAVE_NETINET_IN_H
17457 #include <netinet/in.h>
17458 #endif
17459 #ifdef HAVE_NETINET_IP_VAR_H
17460 #include <netinet/ip_var.h>
17461 #endif
17462 #ifdef HAVE_NETINET_UDP_H
17463 #include <netinet/udp.h>
17464 #endif
17465 #ifdef HAVE_NETINET_UDP_VAR_H
17466 #include <netinet/udp_var.h>
17467 #endif
17469 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17471 cat >>confdefs.h <<_ACEOF
17472 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17473 _ACEOF
17479 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17480 #include <sys/types.h>
17481 #endif
17482 #ifdef HAVE_NET_IF_H
17483 # include <net/if.h>
17484 #endif
17486 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17488 cat >>confdefs.h <<_ACEOF
17489 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17490 _ACEOF
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17497 $as_echo_n "checking for timezone variable... " >&6; }
17498 if ${ac_cv_have_timezone+:} false; then :
17499 $as_echo_n "(cached) " >&6
17500 else
17501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17502 /* end confdefs.h. */
17503 #include <time.h>
17505 main ()
17507 timezone = 1
17509 return 0;
17511 _ACEOF
17512 if ac_fn_c_try_link "$LINENO"; then :
17513 ac_cv_have_timezone="yes"
17514 else
17515 ac_cv_have_timezone="no"
17517 rm -f core conftest.err conftest.$ac_objext \
17518 conftest$ac_exeext conftest.$ac_ext
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17521 $as_echo "$ac_cv_have_timezone" >&6; }
17522 if test "$ac_cv_have_timezone" = "yes"
17523 then
17525 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17529 $as_echo_n "checking for daylight variable... " >&6; }
17530 if ${ac_cv_have_daylight+:} false; then :
17531 $as_echo_n "(cached) " >&6
17532 else
17533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17534 /* end confdefs.h. */
17535 #include <time.h>
17537 main ()
17539 daylight = 1
17541 return 0;
17543 _ACEOF
17544 if ac_fn_c_try_link "$LINENO"; then :
17545 ac_cv_have_daylight="yes"
17546 else
17547 ac_cv_have_daylight="no"
17549 rm -f core conftest.err conftest.$ac_objext \
17550 conftest$ac_exeext conftest.$ac_ext
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17553 $as_echo "$ac_cv_have_daylight" >&6; }
17554 if test "$ac_cv_have_daylight" = "yes"
17555 then
17557 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17561 ac_save_LIBS="$LIBS"
17562 LIBS="$LIBS -lm"
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17564 $as_echo_n "checking for isfinite... " >&6; }
17565 if ${ac_cv_have_isfinite+:} false; then :
17566 $as_echo_n "(cached) " >&6
17567 else
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17570 #define _GNU_SOURCE
17571 #include <math.h>
17573 main ()
17575 float f = 0.0; return isfinite(f)
17577 return 0;
17579 _ACEOF
17580 if ac_fn_c_try_link "$LINENO"; then :
17581 ac_cv_have_isfinite="yes"
17582 else
17583 ac_cv_have_isfinite="no"
17585 rm -f core conftest.err conftest.$ac_objext \
17586 conftest$ac_exeext conftest.$ac_ext
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17589 $as_echo "$ac_cv_have_isfinite" >&6; }
17590 if test "$ac_cv_have_isfinite" = "yes"
17591 then
17593 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17598 $as_echo_n "checking for isinf... " >&6; }
17599 if ${ac_cv_have_isinf+:} false; then :
17600 $as_echo_n "(cached) " >&6
17601 else
17602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17603 /* end confdefs.h. */
17604 #include <math.h>
17606 main ()
17608 float f = 0.0; return isinf(f)
17610 return 0;
17612 _ACEOF
17613 if ac_fn_c_try_link "$LINENO"; then :
17614 ac_cv_have_isinf="yes"
17615 else
17616 ac_cv_have_isinf="no"
17618 rm -f core conftest.err conftest.$ac_objext \
17619 conftest$ac_exeext conftest.$ac_ext
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17622 $as_echo "$ac_cv_have_isinf" >&6; }
17623 if test "$ac_cv_have_isinf" = "yes"
17624 then
17626 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17631 $as_echo_n "checking for isnan... " >&6; }
17632 if ${ac_cv_have_isnan+:} false; then :
17633 $as_echo_n "(cached) " >&6
17634 else
17635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17636 /* end confdefs.h. */
17637 #include <math.h>
17639 main ()
17641 float f = 0.0; return isnan(f)
17643 return 0;
17645 _ACEOF
17646 if ac_fn_c_try_link "$LINENO"; then :
17647 ac_cv_have_isnan="yes"
17648 else
17649 ac_cv_have_isnan="no"
17651 rm -f core conftest.err conftest.$ac_objext \
17652 conftest$ac_exeext conftest.$ac_ext
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17655 $as_echo "$ac_cv_have_isnan" >&6; }
17656 if test "$ac_cv_have_isnan" = "yes"
17657 then
17659 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17663 for ac_func in \
17664 acosh \
17665 acoshf \
17666 asinh \
17667 asinhf \
17668 atanh \
17669 atanhf \
17670 cbrt \
17671 cbrtf \
17672 erf \
17673 erfc \
17674 erfcf \
17675 erff \
17676 exp2 \
17677 exp2f \
17678 expm1 \
17679 expm1f \
17680 j0 \
17681 j1 \
17682 jn \
17683 lgamma \
17684 lgammaf \
17685 llrint \
17686 llrintf \
17687 llround \
17688 llroundf \
17689 log1p \
17690 log1pf \
17691 log2 \
17692 log2f \
17693 lrint \
17694 lrintf \
17695 lround \
17696 lroundf \
17697 nearbyint \
17698 nearbyintf \
17699 powl \
17700 remainder \
17701 remainderf \
17702 rint \
17703 rintf \
17704 round \
17705 roundf \
17706 trunc \
17707 truncf \
17708 y0 \
17709 y1 \
17712 do :
17713 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17714 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17715 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17716 cat >>confdefs.h <<_ACEOF
17717 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17718 _ACEOF
17721 done
17723 LIBS="$ac_save_LIBS"
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17726 $as_echo_n "checking for __builtin_clz... " >&6; }
17727 if ${ac_cv_have___builtin_clz+:} false; then :
17728 $as_echo_n "(cached) " >&6
17729 else
17730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17731 /* end confdefs.h. */
17734 main ()
17736 return __builtin_clz(1)
17738 return 0;
17740 _ACEOF
17741 if ac_fn_c_try_link "$LINENO"; then :
17742 ac_cv_have___builtin_clz="yes"
17743 else
17744 ac_cv_have___builtin_clz="no"
17746 rm -f core conftest.err conftest.$ac_objext \
17747 conftest$ac_exeext conftest.$ac_ext
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17750 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17751 if test "$ac_cv_have___builtin_clz" = "yes"
17752 then
17754 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17759 $as_echo_n "checking for __builtin_popcount... " >&6; }
17760 if ${ac_cv_have___builtin_popcount+:} false; then :
17761 $as_echo_n "(cached) " >&6
17762 else
17763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17764 /* end confdefs.h. */
17767 main ()
17769 return __builtin_popcount(1)
17771 return 0;
17773 _ACEOF
17774 if ac_fn_c_try_link "$LINENO"; then :
17775 ac_cv_have___builtin_popcount="yes"
17776 else
17777 ac_cv_have___builtin_popcount="no"
17779 rm -f core conftest.err conftest.$ac_objext \
17780 conftest$ac_exeext conftest.$ac_ext
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17783 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17784 if test "$ac_cv_have___builtin_popcount" = "yes"
17785 then
17787 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17792 $as_echo_n "checking for __clear_cache... " >&6; }
17793 if ${ac_cv_have___clear_cache+:} false; then :
17794 $as_echo_n "(cached) " >&6
17795 else
17796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17797 /* end confdefs.h. */
17800 main ()
17802 __clear_cache((void*)0, (void*)0); return 0;
17804 return 0;
17806 _ACEOF
17807 if ac_fn_c_try_link "$LINENO"; then :
17808 ac_cv_have___clear_cache="yes"
17809 else
17810 ac_cv_have___clear_cache="no"
17812 rm -f core conftest.err conftest.$ac_objext \
17813 conftest$ac_exeext conftest.$ac_ext
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17816 $as_echo "$ac_cv_have___clear_cache" >&6; }
17817 if test "$ac_cv_have___clear_cache" = "yes"
17818 then
17820 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17825 case $host_cpu in
17826 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17827 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17828 if ${ac_cv_cpp_def___i386__+:} false; then :
17829 $as_echo_n "(cached) " >&6
17830 else
17831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17833 #ifndef __i386__
17835 #endif
17836 _ACEOF
17837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17838 $EGREP "yes" >/dev/null 2>&1; then :
17839 ac_cv_cpp_def___i386__=yes
17840 else
17841 ac_cv_cpp_def___i386__=no
17843 rm -f conftest*
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17847 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17848 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17849 CFLAGS="$CFLAGS -D__i386__"
17850 LINTFLAGS="$LINTFLAGS -D__i386__"
17851 fi ;;
17852 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17853 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17854 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17855 $as_echo_n "(cached) " >&6
17856 else
17857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17858 /* end confdefs.h. */
17859 #ifndef __x86_64__
17861 #endif
17862 _ACEOF
17863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17864 $EGREP "yes" >/dev/null 2>&1; then :
17865 ac_cv_cpp_def___x86_64__=yes
17866 else
17867 ac_cv_cpp_def___x86_64__=no
17869 rm -f conftest*
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17873 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17874 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17875 CFLAGS="$CFLAGS -D__x86_64__"
17876 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17877 fi ;;
17878 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17879 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17880 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17881 $as_echo_n "(cached) " >&6
17882 else
17883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17885 #ifndef __sparc64__
17887 #endif
17888 _ACEOF
17889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17890 $EGREP "yes" >/dev/null 2>&1; then :
17891 ac_cv_cpp_def___sparc64__=yes
17892 else
17893 ac_cv_cpp_def___sparc64__=no
17895 rm -f conftest*
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17899 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17900 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17901 CFLAGS="$CFLAGS -D__sparc64__"
17902 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17903 fi ;;
17904 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17905 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17906 if ${ac_cv_cpp_def___sparc__+:} false; then :
17907 $as_echo_n "(cached) " >&6
17908 else
17909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17910 /* end confdefs.h. */
17911 #ifndef __sparc__
17913 #endif
17914 _ACEOF
17915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17916 $EGREP "yes" >/dev/null 2>&1; then :
17917 ac_cv_cpp_def___sparc__=yes
17918 else
17919 ac_cv_cpp_def___sparc__=no
17921 rm -f conftest*
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17925 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17926 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17927 CFLAGS="$CFLAGS -D__sparc__"
17928 LINTFLAGS="$LINTFLAGS -D__sparc__"
17929 fi ;;
17930 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17931 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17932 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17933 $as_echo_n "(cached) " >&6
17934 else
17935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h. */
17937 #ifndef __powerpc64__
17939 #endif
17940 _ACEOF
17941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17942 $EGREP "yes" >/dev/null 2>&1; then :
17943 ac_cv_cpp_def___powerpc64__=yes
17944 else
17945 ac_cv_cpp_def___powerpc64__=no
17947 rm -f conftest*
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17951 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17952 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17953 CFLAGS="$CFLAGS -D__powerpc64__"
17954 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17955 fi ;;
17956 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17957 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17958 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17959 $as_echo_n "(cached) " >&6
17960 else
17961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17962 /* end confdefs.h. */
17963 #ifndef __powerpc__
17965 #endif
17966 _ACEOF
17967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17968 $EGREP "yes" >/dev/null 2>&1; then :
17969 ac_cv_cpp_def___powerpc__=yes
17970 else
17971 ac_cv_cpp_def___powerpc__=no
17973 rm -f conftest*
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17977 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17978 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17979 CFLAGS="$CFLAGS -D__powerpc__"
17980 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17981 fi ;;
17982 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17983 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17984 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17985 $as_echo_n "(cached) " >&6
17986 else
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17989 #ifndef __aarch64__
17991 #endif
17992 _ACEOF
17993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17994 $EGREP "yes" >/dev/null 2>&1; then :
17995 ac_cv_cpp_def___aarch64__=yes
17996 else
17997 ac_cv_cpp_def___aarch64__=no
17999 rm -f conftest*
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18003 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18004 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18005 CFLAGS="$CFLAGS -D__aarch64__"
18006 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18007 fi ;;
18008 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18009 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18010 if ${ac_cv_cpp_def___arm__+:} false; then :
18011 $as_echo_n "(cached) " >&6
18012 else
18013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18014 /* end confdefs.h. */
18015 #ifndef __arm__
18017 #endif
18018 _ACEOF
18019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18020 $EGREP "yes" >/dev/null 2>&1; then :
18021 ac_cv_cpp_def___arm__=yes
18022 else
18023 ac_cv_cpp_def___arm__=no
18025 rm -f conftest*
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18029 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18030 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18031 CFLAGS="$CFLAGS -D__arm__"
18032 LINTFLAGS="$LINTFLAGS -D__arm__"
18033 fi ;;
18034 esac
18036 case $host_vendor in
18037 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18038 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18039 if ${ac_cv_cpp_def___sun__+:} false; then :
18040 $as_echo_n "(cached) " >&6
18041 else
18042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18043 /* end confdefs.h. */
18044 #ifndef __sun__
18046 #endif
18047 _ACEOF
18048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18049 $EGREP "yes" >/dev/null 2>&1; then :
18050 ac_cv_cpp_def___sun__=yes
18051 else
18052 ac_cv_cpp_def___sun__=no
18054 rm -f conftest*
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18058 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18059 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18060 CFLAGS="$CFLAGS -D__sun__"
18061 LINTFLAGS="$LINTFLAGS -D__sun__"
18062 fi ;;
18063 esac
18069 ac_config_commands="$ac_config_commands include/stamp-h"
18071 $as_echo_n "creating Makefile rules..." >&6
18073 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18074 SOCKET_LIBS = $SOCKET_LIBS
18075 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18076 IOKIT_LIBS = $IOKIT_LIBS
18077 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18078 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18079 CORESERVICES_LIBS = $CORESERVICES_LIBS
18080 APPKIT_LIBS = $APPKIT_LIBS
18081 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18082 SECURITY_LIBS = $SECURITY_LIBS
18083 COREAUDIO_LIBS = $COREAUDIO_LIBS
18084 OPENAL_LIBS = $OPENAL_LIBS
18085 OPENCL_LIBS = $OPENCL_LIBS
18086 QUICKTIME_LIBS = $QUICKTIME_LIBS
18087 CARBON_LIBS = $CARBON_LIBS
18088 PTHREAD_LIBS = $PTHREAD_LIBS
18089 X_CFLAGS = $X_CFLAGS
18090 X_PRE_LIBS = $X_PRE_LIBS
18091 X_LIBS = $X_LIBS
18092 X_EXTRA_LIBS = $X_EXTRA_LIBS
18093 PCAP_LIBS = $PCAP_LIBS
18094 XML2_CFLAGS = $XML2_CFLAGS
18095 XML2_LIBS = $XML2_LIBS
18096 XSLT_CFLAGS = $XSLT_CFLAGS
18097 XSLT_LIBS = $XSLT_LIBS
18098 DBUS_CFLAGS = $DBUS_CFLAGS
18099 DBUS_LIBS = $DBUS_LIBS
18100 HAL_CFLAGS = $HAL_CFLAGS
18101 HAL_LIBS = $HAL_LIBS
18102 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18103 GNUTLS_LIBS = $GNUTLS_LIBS
18104 SANE_CFLAGS = $SANE_CFLAGS
18105 SANE_LIBS = $SANE_LIBS
18106 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18107 GPHOTO2_LIBS = $GPHOTO2_LIBS
18108 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18109 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18110 RESOLV_LIBS = $RESOLV_LIBS
18111 LCMS2_CFLAGS = $LCMS2_CFLAGS
18112 LCMS2_LIBS = $LCMS2_LIBS
18113 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18114 FREETYPE_LIBS = $FREETYPE_LIBS
18115 Z_LIBS = $Z_LIBS
18116 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18117 PULSE_CFLAGS = $PULSE_CFLAGS
18118 PULSE_LIBS = $PULSE_LIBS
18119 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18120 GSTREAMER_LIBS = $GSTREAMER_LIBS
18121 ALSA_LIBS = $ALSA_LIBS
18122 OSS4_CFLAGS = $OSS4_CFLAGS
18123 UDEV_CFLAGS = $UDEV_CFLAGS
18124 UDEV_LIBS = $UDEV_LIBS
18125 SDL2_CFLAGS = $SDL2_CFLAGS
18126 SDL2_LIBS = $SDL2_LIBS
18127 CAPI20_CFLAGS = $CAPI20_CFLAGS
18128 CAPI20_LIBS = $CAPI20_LIBS
18129 CUPS_CFLAGS = $CUPS_CFLAGS
18130 CUPS_LIBS = $CUPS_LIBS
18131 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18132 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18133 KRB5_CFLAGS = $KRB5_CFLAGS
18134 KRB5_LIBS = $KRB5_LIBS
18135 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18136 GSSAPI_LIBS = $GSSAPI_LIBS
18137 JPEG_CFLAGS = $JPEG_CFLAGS
18138 JPEG_LIBS = $JPEG_LIBS
18139 PNG_CFLAGS = $PNG_CFLAGS
18140 PNG_LIBS = $PNG_LIBS
18141 TIFF_CFLAGS = $TIFF_CFLAGS
18142 TIFF_LIBS = $TIFF_LIBS
18143 MPG123_CFLAGS = $MPG123_CFLAGS
18144 MPG123_LIBS = $MPG123_LIBS
18145 KSTAT_LIBS = $KSTAT_LIBS
18146 PROCSTAT_LIBS = $PROCSTAT_LIBS
18147 NETAPI_CFLAGS = $NETAPI_CFLAGS
18148 NETAPI_LIBS = $NETAPI_LIBS
18149 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18150 DL_LIBS = $DL_LIBS
18151 POLL_LIBS = $POLL_LIBS
18152 RT_LIBS = $RT_LIBS
18153 LDAP_CFLAGS = $LDAP_CFLAGS
18154 LDAP_LIBS = $LDAP_LIBS
18159 wine_fn_append_rule "
18160 # Rules automatically generated by configure
18162 .INIT: Makefile
18163 .MAKEFILEDEPS:
18164 all: Makefile
18165 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18166 @./config.status Make.tmp Makefile
18167 depend: \$(MAKEDEP) dummy
18168 \$(MAKEDEP)"
18170 if test "x$enable_fonts" != xno; then
18171 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18172 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18173 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18174 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18175 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18176 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18178 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18179 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18180 ac_config_links="$ac_config_links wine:tools/winewrapper"
18181 wine_fn_config_symlink wine
18182 if test "x$enable_win64" != xno; then
18183 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18184 wine_fn_config_symlink wine64
18187 wine_fn_config_makefile dlls/acledit enable_acledit
18188 wine_fn_config_makefile dlls/aclui enable_aclui
18189 wine_fn_config_makefile dlls/activeds enable_activeds
18190 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18191 wine_fn_config_makefile dlls/adsiid enable_adsiid
18192 wine_fn_config_makefile dlls/adsldp enable_adsldp
18193 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18194 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18195 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18196 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18197 wine_fn_config_makefile dlls/advpack enable_advpack
18198 wine_fn_config_makefile dlls/advpack/tests enable_tests
18199 wine_fn_config_makefile dlls/amstream enable_amstream
18200 wine_fn_config_makefile dlls/amstream/tests enable_tests
18201 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18202 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18203 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18204 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18205 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18206 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18207 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18208 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18209 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18210 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18211 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18212 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18213 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18214 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18215 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18216 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18217 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18218 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18219 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18220 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18221 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18222 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18223 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18224 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18225 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18226 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18227 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18228 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18229 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18230 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18231 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18232 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18233 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18234 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18235 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18236 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18237 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18238 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18239 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18240 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18241 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18242 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18243 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18244 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18245 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18246 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18247 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18248 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18249 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18250 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18251 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18252 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18253 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18254 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18255 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18256 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18257 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18258 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18259 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18260 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18261 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18262 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18263 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18264 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18265 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18266 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18267 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18268 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18269 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18270 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18271 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18272 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18273 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18274 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18275 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18276 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18277 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18278 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18279 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18280 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18281 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18282 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18283 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18284 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18285 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18286 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18287 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18288 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18289 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18290 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18291 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18292 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18293 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18294 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18295 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18296 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18297 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18298 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18299 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18300 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18301 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18302 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18303 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18304 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18305 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18306 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18307 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18308 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18309 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18310 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18311 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18312 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18313 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18314 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18315 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18316 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18317 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18318 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18319 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18320 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18321 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18322 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18323 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18324 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18325 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18326 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18327 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18328 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18329 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18330 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18331 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18332 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18333 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18334 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18335 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18336 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18337 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18338 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18339 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18340 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18341 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18342 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18343 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18344 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18345 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18346 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18347 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18348 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18349 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18350 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18351 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18352 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18353 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18354 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18356 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18363 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18365 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18367 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18368 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18369 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18370 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18371 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18372 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18373 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18374 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18375 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18376 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18377 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18378 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18379 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18380 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18381 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18382 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18383 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18384 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18385 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18386 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18387 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18388 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18389 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18390 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18391 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18392 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18393 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18394 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18395 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18396 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18397 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18398 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18399 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18400 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18401 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18402 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18403 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18404 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18405 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18406 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18407 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18408 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18409 wine_fn_config_makefile dlls/apphelp enable_apphelp
18410 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18411 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18412 wine_fn_config_makefile dlls/atl enable_atl
18413 wine_fn_config_makefile dlls/atl/tests enable_tests
18414 wine_fn_config_makefile dlls/atl100 enable_atl100
18415 wine_fn_config_makefile dlls/atl100/tests enable_tests
18416 wine_fn_config_makefile dlls/atl110 enable_atl110
18417 wine_fn_config_makefile dlls/atl80 enable_atl80
18418 wine_fn_config_makefile dlls/atl80/tests enable_tests
18419 wine_fn_config_makefile dlls/atl90 enable_atl90
18420 wine_fn_config_makefile dlls/authz enable_authz
18421 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18422 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18423 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18424 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18425 wine_fn_config_makefile dlls/avrt enable_avrt
18426 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18427 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18428 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18429 wine_fn_config_makefile dlls/browseui enable_browseui
18430 wine_fn_config_makefile dlls/browseui/tests enable_tests
18431 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18432 wine_fn_config_makefile dlls/cabinet enable_cabinet
18433 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18434 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18435 wine_fn_config_makefile dlls/cards enable_cards
18436 wine_fn_config_makefile dlls/cdosys enable_cdosys
18437 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18438 wine_fn_config_makefile dlls/clusapi enable_clusapi
18439 wine_fn_config_makefile dlls/combase enable_combase
18440 wine_fn_config_makefile dlls/combase/tests enable_tests
18441 wine_fn_config_makefile dlls/comcat enable_comcat
18442 wine_fn_config_makefile dlls/comcat/tests enable_tests
18443 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18444 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18445 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18446 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18447 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18448 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18449 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18450 wine_fn_config_makefile dlls/compstui enable_compstui
18451 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18452 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18453 wine_fn_config_makefile dlls/connect enable_connect
18454 wine_fn_config_makefile dlls/credui enable_credui
18455 wine_fn_config_makefile dlls/credui/tests enable_tests
18456 wine_fn_config_makefile dlls/crtdll enable_crtdll
18457 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18458 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18459 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18460 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18461 wine_fn_config_makefile dlls/cryptext enable_cryptext
18462 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18463 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18464 wine_fn_config_makefile dlls/cryptui enable_cryptui
18465 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18466 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18467 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18468 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18469 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18470 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18471 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18472 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18473 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18474 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18475 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18476 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18477 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18478 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18479 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18480 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18481 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18482 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18483 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18484 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18485 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18486 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18487 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18488 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18489 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18490 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18491 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18492 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18493 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18494 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18495 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18496 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18497 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18498 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18499 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18500 wine_fn_config_makefile dlls/d3dim enable_d3dim
18501 wine_fn_config_makefile dlls/d3drm enable_d3drm
18502 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18503 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18504 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18505 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18506 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18507 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18508 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18509 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18510 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18511 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18512 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18513 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18514 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18515 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18516 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18517 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18518 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18519 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18520 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18521 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18522 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18523 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18524 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18525 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18526 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18527 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18528 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18529 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18530 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18531 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18532 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18533 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18534 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18535 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18536 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18537 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18538 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18539 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18540 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18541 wine_fn_config_makefile dlls/davclnt enable_davclnt
18542 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18543 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18544 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18545 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18546 wine_fn_config_makefile dlls/ddraw enable_ddraw
18547 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18548 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18549 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18550 wine_fn_config_makefile dlls/devenum enable_devenum
18551 wine_fn_config_makefile dlls/devenum/tests enable_tests
18552 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18553 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18554 wine_fn_config_makefile dlls/difxapi enable_difxapi
18555 wine_fn_config_makefile dlls/dinput enable_dinput
18556 wine_fn_config_makefile dlls/dinput/tests enable_tests
18557 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18558 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18559 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18560 wine_fn_config_makefile dlls/dispex enable_dispex
18561 wine_fn_config_makefile dlls/dispex/tests enable_tests
18562 wine_fn_config_makefile dlls/display.drv16 enable_win16
18563 wine_fn_config_makefile dlls/dmband enable_dmband
18564 wine_fn_config_makefile dlls/dmband/tests enable_tests
18565 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18566 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18567 wine_fn_config_makefile dlls/dmime enable_dmime
18568 wine_fn_config_makefile dlls/dmime/tests enable_tests
18569 wine_fn_config_makefile dlls/dmloader enable_dmloader
18570 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18571 wine_fn_config_makefile dlls/dmscript enable_dmscript
18572 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18573 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18574 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18575 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18576 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18577 wine_fn_config_makefile dlls/dmusic enable_dmusic
18578 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18579 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18580 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18581 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18582 wine_fn_config_makefile dlls/dplay enable_dplay
18583 wine_fn_config_makefile dlls/dplayx enable_dplayx
18584 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18585 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18586 wine_fn_config_makefile dlls/dpnet enable_dpnet
18587 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18588 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18589 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18590 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18591 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18592 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18593 wine_fn_config_makefile dlls/drmclien enable_drmclien
18594 wine_fn_config_makefile dlls/dsound enable_dsound
18595 wine_fn_config_makefile dlls/dsound/tests enable_tests
18596 wine_fn_config_makefile dlls/dsquery enable_dsquery
18597 wine_fn_config_makefile dlls/dssenh enable_dssenh
18598 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18599 wine_fn_config_makefile dlls/dswave enable_dswave
18600 wine_fn_config_makefile dlls/dswave/tests enable_tests
18601 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18602 wine_fn_config_makefile dlls/dwrite enable_dwrite
18603 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18604 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18605 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18606 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18607 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18608 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18609 wine_fn_config_makefile dlls/dxgi enable_dxgi
18610 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18611 wine_fn_config_makefile dlls/dxguid enable_dxguid
18612 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18613 wine_fn_config_makefile dlls/esent enable_esent
18614 wine_fn_config_makefile dlls/evr enable_evr
18615 wine_fn_config_makefile dlls/evr/tests enable_tests
18616 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18617 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18618 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18619 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18620 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
18621 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18622 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18623 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18624 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18625 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18626 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18627 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18628 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18629 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
18630 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
18631 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18632 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
18633 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18634 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18635 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
18636 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18637 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18638 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18639 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
18640 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18641 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18642 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18643 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
18644 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18645 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18646 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
18647 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
18648 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18649 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
18650 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
18651 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
18652 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18653 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18654 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18655 wine_fn_config_makefile dlls/faultrep enable_faultrep
18656 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18657 wine_fn_config_makefile dlls/fltlib enable_fltlib
18658 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18659 wine_fn_config_makefile dlls/fntcache enable_fntcache
18660 wine_fn_config_makefile dlls/fontsub enable_fontsub
18661 wine_fn_config_makefile dlls/fusion enable_fusion
18662 wine_fn_config_makefile dlls/fusion/tests enable_tests
18663 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18664 wine_fn_config_makefile dlls/gameux enable_gameux
18665 wine_fn_config_makefile dlls/gameux/tests enable_tests
18666 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18667 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18668 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18669 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18670 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18671 wine_fn_config_makefile dlls/glu32 enable_glu32
18672 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18673 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18674 wine_fn_config_makefile dlls/hal enable_hal
18675 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18676 wine_fn_config_makefile dlls/hid enable_hid
18677 wine_fn_config_makefile dlls/hid/tests enable_tests
18678 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18679 wine_fn_config_makefile dlls/hlink enable_hlink
18680 wine_fn_config_makefile dlls/hlink/tests enable_tests
18681 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18682 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18683 wine_fn_config_makefile dlls/httpapi enable_httpapi
18684 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18685 wine_fn_config_makefile dlls/iccvid enable_iccvid
18686 wine_fn_config_makefile dlls/icmp enable_icmp
18687 wine_fn_config_makefile dlls/ieframe enable_ieframe
18688 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18689 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18690 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18691 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18692 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18693 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18694 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18695 wine_fn_config_makefile dlls/imm32 enable_imm32
18696 wine_fn_config_makefile dlls/imm32/tests enable_tests
18697 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18698 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18699 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18700 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18701 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18702 wine_fn_config_makefile dlls/infosoft enable_infosoft
18703 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18704 wine_fn_config_makefile dlls/initpki enable_initpki
18705 wine_fn_config_makefile dlls/inkobj enable_inkobj
18706 wine_fn_config_makefile dlls/inseng enable_inseng
18707 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18708 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18709 wine_fn_config_makefile dlls/iprop enable_iprop
18710 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18711 wine_fn_config_makefile dlls/itircl enable_itircl
18712 wine_fn_config_makefile dlls/itss enable_itss
18713 wine_fn_config_makefile dlls/itss/tests enable_tests
18714 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18715 wine_fn_config_makefile dlls/jscript enable_jscript
18716 wine_fn_config_makefile dlls/jscript/tests enable_tests
18717 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18718 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18719 wine_fn_config_makefile dlls/kerberos enable_kerberos
18720 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18721 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18722 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18723 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18724 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18725 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18726 wine_fn_config_makefile dlls/ksuser enable_ksuser
18727 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18728 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18729 wine_fn_config_makefile dlls/loadperf enable_loadperf
18730 wine_fn_config_makefile dlls/localspl enable_localspl
18731 wine_fn_config_makefile dlls/localspl/tests enable_tests
18732 wine_fn_config_makefile dlls/localui enable_localui
18733 wine_fn_config_makefile dlls/localui/tests enable_tests
18734 wine_fn_config_makefile dlls/lz32 enable_lz32
18735 wine_fn_config_makefile dlls/lz32/tests enable_tests
18736 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18737 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18738 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18739 wine_fn_config_makefile dlls/mapistub enable_mapistub
18740 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18741 wine_fn_config_makefile dlls/mcicda enable_mcicda
18742 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18743 wine_fn_config_makefile dlls/mciseq enable_mciseq
18744 wine_fn_config_makefile dlls/mciwave enable_mciwave
18745 wine_fn_config_makefile dlls/mf enable_mf
18746 wine_fn_config_makefile dlls/mf/tests enable_tests
18747 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18748 wine_fn_config_makefile dlls/mfplat enable_mfplat
18749 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18750 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18751 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18752 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18753 wine_fn_config_makefile dlls/midimap enable_midimap
18754 wine_fn_config_makefile dlls/mlang enable_mlang
18755 wine_fn_config_makefile dlls/mlang/tests enable_tests
18756 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18757 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18758 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18759 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18760 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18761 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18762 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18763 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18764 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18765 wine_fn_config_makefile dlls/mpr enable_mpr
18766 wine_fn_config_makefile dlls/mpr/tests enable_tests
18767 wine_fn_config_makefile dlls/mprapi enable_mprapi
18768 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18769 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18770 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18771 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18772 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18773 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18774 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18775 wine_fn_config_makefile dlls/mscms enable_mscms
18776 wine_fn_config_makefile dlls/mscms/tests enable_tests
18777 wine_fn_config_makefile dlls/mscoree enable_mscoree
18778 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18779 wine_fn_config_makefile dlls/msctf enable_msctf
18780 wine_fn_config_makefile dlls/msctf/tests enable_tests
18781 wine_fn_config_makefile dlls/msctfp enable_msctfp
18782 wine_fn_config_makefile dlls/msdaps enable_msdaps
18783 wine_fn_config_makefile dlls/msdelta enable_msdelta
18784 wine_fn_config_makefile dlls/msdmo enable_msdmo
18785 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18786 wine_fn_config_makefile dlls/msdrm enable_msdrm
18787 wine_fn_config_makefile dlls/msftedit enable_msftedit
18788 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18789 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18790 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18791 wine_fn_config_makefile dlls/mshtml enable_mshtml
18792 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18793 wine_fn_config_makefile dlls/msi enable_msi
18794 wine_fn_config_makefile dlls/msi/tests enable_tests
18795 wine_fn_config_makefile dlls/msident enable_msident
18796 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18797 wine_fn_config_makefile dlls/msimsg enable_msimsg
18798 wine_fn_config_makefile dlls/msimtf enable_msimtf
18799 wine_fn_config_makefile dlls/msisip enable_msisip
18800 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18801 wine_fn_config_makefile dlls/msls31 enable_msls31
18802 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18803 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18804 wine_fn_config_makefile dlls/msports enable_msports
18805 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18806 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18807 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18808 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18809 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18810 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18811 wine_fn_config_makefile dlls/mstask enable_mstask
18812 wine_fn_config_makefile dlls/mstask/tests enable_tests
18813 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18814 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18815 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18816 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18817 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18818 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18819 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18820 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18821 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18822 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18823 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18824 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18825 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18826 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18827 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18828 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18829 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18830 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18831 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18832 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18833 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18834 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18835 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18836 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18837 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18838 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18839 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18840 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18841 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18842 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18843 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18844 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18845 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18846 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18847 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18848 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18849 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
18850 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
18851 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
18852 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
18853 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
18854 wine_fn_config_makefile dlls/mswsock enable_mswsock
18855 wine_fn_config_makefile dlls/msxml enable_msxml
18856 wine_fn_config_makefile dlls/msxml2 enable_msxml2
18857 wine_fn_config_makefile dlls/msxml3 enable_msxml3
18858 wine_fn_config_makefile dlls/msxml3/tests enable_tests
18859 wine_fn_config_makefile dlls/msxml4 enable_msxml4
18860 wine_fn_config_makefile dlls/msxml6 enable_msxml6
18861 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
18862 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
18863 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
18864 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
18865 wine_fn_config_makefile dlls/netapi32 enable_netapi32
18866 wine_fn_config_makefile dlls/netapi32/tests enable_tests
18867 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
18868 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
18869 wine_fn_config_makefile dlls/netprofm enable_netprofm
18870 wine_fn_config_makefile dlls/netprofm/tests enable_tests
18871 wine_fn_config_makefile dlls/newdev enable_newdev
18872 wine_fn_config_makefile dlls/ninput enable_ninput
18873 wine_fn_config_makefile dlls/normaliz enable_normaliz
18874 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
18875 wine_fn_config_makefile dlls/npptools enable_npptools
18876 wine_fn_config_makefile dlls/ntdll enable_ntdll
18877 wine_fn_config_makefile dlls/ntdll/tests enable_tests
18878 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
18879 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
18880 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
18881 wine_fn_config_makefile dlls/ntprint enable_ntprint
18882 wine_fn_config_makefile dlls/ntprint/tests enable_tests
18883 wine_fn_config_makefile dlls/objsel enable_objsel
18884 wine_fn_config_makefile dlls/odbc32 enable_odbc32
18885 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
18886 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
18887 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
18888 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
18889 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
18890 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
18891 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
18892 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
18893 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
18894 wine_fn_config_makefile dlls/ole32 enable_ole32
18895 wine_fn_config_makefile dlls/ole32/tests enable_tests
18896 wine_fn_config_makefile dlls/oleacc enable_oleacc
18897 wine_fn_config_makefile dlls/oleacc/tests enable_tests
18898 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
18899 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
18900 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
18901 wine_fn_config_makefile dlls/olecli32 enable_olecli32
18902 wine_fn_config_makefile dlls/oledb32 enable_oledb32
18903 wine_fn_config_makefile dlls/oledb32/tests enable_tests
18904 wine_fn_config_makefile dlls/oledlg enable_oledlg
18905 wine_fn_config_makefile dlls/oledlg/tests enable_tests
18906 wine_fn_config_makefile dlls/olepro32 enable_olepro32
18907 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
18908 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
18909 wine_fn_config_makefile dlls/olethk32 enable_olethk32
18910 wine_fn_config_makefile dlls/openal32 enable_openal32
18911 wine_fn_config_makefile dlls/opencl enable_opencl
18912 wine_fn_config_makefile dlls/opengl32 enable_opengl32
18913 wine_fn_config_makefile dlls/opengl32/tests enable_tests
18914 wine_fn_config_makefile dlls/packager enable_packager
18915 wine_fn_config_makefile dlls/packager/tests enable_tests
18916 wine_fn_config_makefile dlls/pdh enable_pdh
18917 wine_fn_config_makefile dlls/pdh/tests enable_tests
18918 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
18919 wine_fn_config_makefile dlls/pidgen enable_pidgen
18920 wine_fn_config_makefile dlls/powrprof enable_powrprof
18921 wine_fn_config_makefile dlls/printui enable_printui
18922 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
18923 wine_fn_config_makefile dlls/propsys enable_propsys
18924 wine_fn_config_makefile dlls/propsys/tests enable_tests
18925 wine_fn_config_makefile dlls/psapi enable_psapi
18926 wine_fn_config_makefile dlls/psapi/tests enable_tests
18927 wine_fn_config_makefile dlls/pstorec enable_pstorec
18928 wine_fn_config_makefile dlls/pstorec/tests enable_tests
18929 wine_fn_config_makefile dlls/qcap enable_qcap
18930 wine_fn_config_makefile dlls/qcap/tests enable_tests
18931 wine_fn_config_makefile dlls/qedit enable_qedit
18932 wine_fn_config_makefile dlls/qedit/tests enable_tests
18933 wine_fn_config_makefile dlls/qmgr enable_qmgr
18934 wine_fn_config_makefile dlls/qmgr/tests enable_tests
18935 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
18936 wine_fn_config_makefile dlls/quartz enable_quartz
18937 wine_fn_config_makefile dlls/quartz/tests enable_tests
18938 wine_fn_config_makefile dlls/query enable_query
18939 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
18940 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
18941 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
18942 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
18943 wine_fn_config_makefile dlls/regapi enable_regapi
18944 wine_fn_config_makefile dlls/resutils enable_resutils
18945 wine_fn_config_makefile dlls/riched20 enable_riched20
18946 wine_fn_config_makefile dlls/riched20/tests enable_tests
18947 wine_fn_config_makefile dlls/riched32 enable_riched32
18948 wine_fn_config_makefile dlls/riched32/tests enable_tests
18949 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
18950 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
18951 wine_fn_config_makefile dlls/rsabase enable_rsabase
18952 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
18953 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
18954 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
18955 wine_fn_config_makefile dlls/rtutils enable_rtutils
18956 wine_fn_config_makefile dlls/samlib enable_samlib
18957 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
18958 wine_fn_config_makefile dlls/sapi enable_sapi
18959 wine_fn_config_makefile dlls/sapi/tests enable_tests
18960 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
18961 wine_fn_config_makefile dlls/sccbase enable_sccbase
18962 wine_fn_config_makefile dlls/schannel enable_schannel
18963 wine_fn_config_makefile dlls/schannel/tests enable_tests
18964 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
18965 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
18966 wine_fn_config_makefile dlls/scrobj enable_scrobj
18967 wine_fn_config_makefile dlls/scrrun enable_scrrun
18968 wine_fn_config_makefile dlls/scrrun/tests enable_tests
18969 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
18970 wine_fn_config_makefile dlls/secur32 enable_secur32
18971 wine_fn_config_makefile dlls/secur32/tests enable_tests
18972 wine_fn_config_makefile dlls/security enable_security
18973 wine_fn_config_makefile dlls/sensapi enable_sensapi
18974 wine_fn_config_makefile dlls/serialui enable_serialui
18975 wine_fn_config_makefile dlls/serialui/tests enable_tests
18976 wine_fn_config_makefile dlls/setupapi enable_setupapi
18977 wine_fn_config_makefile dlls/setupapi/tests enable_tests
18978 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
18979 wine_fn_config_makefile dlls/sfc enable_sfc
18980 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
18981 wine_fn_config_makefile dlls/shcore enable_shcore
18982 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
18983 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
18984 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
18985 wine_fn_config_makefile dlls/shell.dll16 enable_win16
18986 wine_fn_config_makefile dlls/shell32 enable_shell32
18987 wine_fn_config_makefile dlls/shell32/tests enable_tests
18988 wine_fn_config_makefile dlls/shfolder enable_shfolder
18989 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
18990 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
18991 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
18992 wine_fn_config_makefile dlls/slc enable_slc
18993 wine_fn_config_makefile dlls/slc/tests enable_tests
18994 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
18995 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
18996 wine_fn_config_makefile dlls/softpub enable_softpub
18997 wine_fn_config_makefile dlls/sound.drv16 enable_win16
18998 wine_fn_config_makefile dlls/spoolss enable_spoolss
18999 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19000 wine_fn_config_makefile dlls/sspicli enable_sspicli
19001 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19002 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19003 wine_fn_config_makefile dlls/sti enable_sti
19004 wine_fn_config_makefile dlls/sti/tests enable_tests
19005 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19006 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19007 wine_fn_config_makefile dlls/strmbase enable_strmbase
19008 wine_fn_config_makefile dlls/strmiids enable_strmiids
19009 wine_fn_config_makefile dlls/svrapi enable_svrapi
19010 wine_fn_config_makefile dlls/sxs enable_sxs
19011 wine_fn_config_makefile dlls/sxs/tests enable_tests
19012 wine_fn_config_makefile dlls/system.drv16 enable_win16
19013 wine_fn_config_makefile dlls/t2embed enable_t2embed
19014 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19015 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19016 wine_fn_config_makefile dlls/taskschd enable_taskschd
19017 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19018 wine_fn_config_makefile dlls/tdh enable_tdh
19019 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19020 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19021 wine_fn_config_makefile dlls/traffic enable_traffic
19022 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19023 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19024 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19025 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19026 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19027 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19028 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19029 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19030 wine_fn_config_makefile dlls/unicows enable_unicows
19031 wine_fn_config_makefile dlls/updspapi enable_updspapi
19032 wine_fn_config_makefile dlls/url enable_url
19033 wine_fn_config_makefile dlls/urlmon enable_urlmon
19034 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19035 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19036 wine_fn_config_makefile dlls/user.exe16 enable_win16
19037 wine_fn_config_makefile dlls/user32 enable_user32
19038 wine_fn_config_makefile dlls/user32/tests enable_tests
19039 wine_fn_config_makefile dlls/userenv enable_userenv
19040 wine_fn_config_makefile dlls/userenv/tests enable_tests
19041 wine_fn_config_makefile dlls/usp10 enable_usp10
19042 wine_fn_config_makefile dlls/usp10/tests enable_tests
19043 wine_fn_config_makefile dlls/uuid enable_uuid
19044 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19045 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19046 wine_fn_config_makefile dlls/vbscript enable_vbscript
19047 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19048 wine_fn_config_makefile dlls/vcomp enable_vcomp
19049 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19050 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19051 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19052 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19053 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19054 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19055 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19056 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19057 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19058 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19059 wine_fn_config_makefile dlls/version enable_version
19060 wine_fn_config_makefile dlls/version/tests enable_tests
19061 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19062 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19063 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19064 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19065 wine_fn_config_makefile dlls/vssapi enable_vssapi
19066 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19067 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19068 wine_fn_config_makefile dlls/w32skrnl enable_win16
19069 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19070 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19071 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19072 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19073 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19074 wine_fn_config_makefile dlls/wdscore enable_wdscore
19075 wine_fn_config_makefile dlls/webservices enable_webservices
19076 wine_fn_config_makefile dlls/webservices/tests enable_tests
19077 wine_fn_config_makefile dlls/wer enable_wer
19078 wine_fn_config_makefile dlls/wer/tests enable_tests
19079 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19080 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19081 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19082 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19083 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19084 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19085 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19086 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19087 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19088 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19089 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19090 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19091 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19092 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19093 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19094 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19095 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19096 wine_fn_config_makefile dlls/wined3d enable_wined3d
19097 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19098 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19099 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19100 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19101 wine_fn_config_makefile dlls/winemapi enable_winemapi
19102 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19103 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19104 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19105 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19106 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19107 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19108 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19109 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19110 wine_fn_config_makefile dlls/wing32 enable_wing32
19111 wine_fn_config_makefile dlls/winhttp enable_winhttp
19112 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19113 wine_fn_config_makefile dlls/wininet enable_wininet
19114 wine_fn_config_makefile dlls/wininet/tests enable_tests
19115 wine_fn_config_makefile dlls/winmm enable_winmm
19116 wine_fn_config_makefile dlls/winmm/tests enable_tests
19117 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19118 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19119 wine_fn_config_makefile dlls/winscard enable_winscard
19120 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19121 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19122 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19123 wine_fn_config_makefile dlls/winsta enable_winsta
19124 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19125 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19126 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19127 wine_fn_config_makefile dlls/wintrust enable_wintrust
19128 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19129 wine_fn_config_makefile dlls/winusb enable_winusb
19130 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19131 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19132 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19133 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19134 wine_fn_config_makefile dlls/wmasf enable_wmasf
19135 wine_fn_config_makefile dlls/wmi enable_wmi
19136 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19137 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19138 wine_fn_config_makefile dlls/wmp enable_wmp
19139 wine_fn_config_makefile dlls/wmp/tests enable_tests
19140 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19141 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19142 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19143 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19144 wine_fn_config_makefile dlls/wow32 enable_win16
19145 wine_fn_config_makefile dlls/wpc enable_wpc
19146 wine_fn_config_makefile dlls/wpc/tests enable_tests
19147 wine_fn_config_makefile dlls/wpcap enable_wpcap
19148 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19149 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19150 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19151 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19152 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19153 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19154 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19155 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19156 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19157 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19158 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19159 wine_fn_config_makefile dlls/wuapi enable_wuapi
19160 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19161 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19162 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19163 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19164 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19165 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19166 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19167 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19168 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19169 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19170 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19171 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19172 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19173 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19174 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19175 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19176 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19177 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19178 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19179 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19180 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19181 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19182 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19183 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19184 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19185 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19186 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19187 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19188 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19189 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19190 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19191 wine_fn_config_makefile dlls/xmllite enable_xmllite
19192 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19193 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19194 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19195 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19196 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19197 wine_fn_config_makefile include enable_include
19198 wine_fn_config_makefile libs/port enable_port
19199 wine_fn_config_makefile libs/wine enable_wine
19200 wine_fn_config_makefile libs/wpp enable_wpp
19201 wine_fn_config_makefile loader enable_loader
19202 wine_fn_config_makefile po enable_po
19203 wine_fn_config_makefile programs/arp enable_arp
19204 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19205 wine_fn_config_makefile programs/attrib enable_attrib
19206 wine_fn_config_makefile programs/cabarc enable_cabarc
19207 wine_fn_config_makefile programs/cacls enable_cacls
19208 wine_fn_config_makefile programs/clock enable_clock
19209 wine_fn_config_makefile programs/cmd enable_cmd
19210 wine_fn_config_makefile programs/cmd/tests enable_tests
19211 wine_fn_config_makefile programs/conhost enable_conhost
19212 wine_fn_config_makefile programs/control enable_control
19213 wine_fn_config_makefile programs/cscript enable_cscript
19214 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19215 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19216 wine_fn_config_makefile programs/eject enable_eject
19217 wine_fn_config_makefile programs/expand enable_expand
19218 wine_fn_config_makefile programs/explorer enable_explorer
19219 wine_fn_config_makefile programs/extrac32 enable_extrac32
19220 wine_fn_config_makefile programs/findstr enable_findstr
19221 wine_fn_config_makefile programs/fsutil enable_fsutil
19222 wine_fn_config_makefile programs/hh enable_hh
19223 wine_fn_config_makefile programs/hostname enable_hostname
19224 wine_fn_config_makefile programs/icacls enable_icacls
19225 wine_fn_config_makefile programs/icinfo enable_icinfo
19226 wine_fn_config_makefile programs/iexplore enable_iexplore
19227 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19228 wine_fn_config_makefile programs/lodctr enable_lodctr
19229 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19230 wine_fn_config_makefile programs/mshta enable_mshta
19231 wine_fn_config_makefile programs/msiexec enable_msiexec
19232 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19233 wine_fn_config_makefile programs/net enable_net
19234 wine_fn_config_makefile programs/netsh enable_netsh
19235 wine_fn_config_makefile programs/netstat enable_netstat
19236 wine_fn_config_makefile programs/ngen enable_ngen
19237 wine_fn_config_makefile programs/notepad enable_notepad
19238 wine_fn_config_makefile programs/oleview enable_oleview
19239 wine_fn_config_makefile programs/ping enable_ping
19240 wine_fn_config_makefile programs/plugplay enable_plugplay
19241 wine_fn_config_makefile programs/powershell enable_powershell
19242 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19243 wine_fn_config_makefile programs/progman enable_progman
19244 wine_fn_config_makefile programs/reg enable_reg
19245 wine_fn_config_makefile programs/reg/tests enable_tests
19246 wine_fn_config_makefile programs/regasm enable_regasm
19247 wine_fn_config_makefile programs/regedit enable_regedit
19248 wine_fn_config_makefile programs/regedit/tests enable_tests
19249 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19250 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19251 wine_fn_config_makefile programs/rpcss enable_rpcss
19252 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19253 wine_fn_config_makefile programs/rundll32 enable_rundll32
19254 wine_fn_config_makefile programs/sc enable_sc
19255 wine_fn_config_makefile programs/schtasks enable_schtasks
19256 wine_fn_config_makefile programs/schtasks/tests enable_tests
19257 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19258 wine_fn_config_makefile programs/secedit enable_secedit
19259 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19260 wine_fn_config_makefile programs/services enable_services
19261 wine_fn_config_makefile programs/services/tests enable_tests
19262 wine_fn_config_makefile programs/shutdown enable_shutdown
19263 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19264 wine_fn_config_makefile programs/start enable_start
19265 wine_fn_config_makefile programs/subst enable_subst
19266 wine_fn_config_makefile programs/svchost enable_svchost
19267 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19268 wine_fn_config_makefile programs/taskkill enable_taskkill
19269 wine_fn_config_makefile programs/tasklist enable_tasklist
19270 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19271 wine_fn_config_makefile programs/termsv enable_termsv
19272 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19273 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19274 wine_fn_config_makefile programs/view enable_view
19275 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19276 wine_fn_config_makefile programs/wineboot enable_wineboot
19277 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19278 wine_fn_config_makefile programs/winecfg enable_winecfg
19279 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19280 wine_fn_config_makefile programs/winedbg enable_winedbg
19281 wine_fn_config_makefile programs/winedevice enable_winedevice
19282 wine_fn_config_makefile programs/winefile enable_winefile
19283 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19284 wine_fn_config_makefile programs/winemine enable_winemine
19285 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19286 wine_fn_config_makefile programs/winepath enable_winepath
19287 wine_fn_config_makefile programs/winetest enable_winetest
19288 wine_fn_config_makefile programs/winevdm enable_win16
19289 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19290 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19291 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19292 wine_fn_config_makefile programs/winver enable_winver
19293 wine_fn_config_makefile programs/wmic enable_wmic
19294 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19295 wine_fn_config_makefile programs/wordpad enable_wordpad
19296 wine_fn_config_makefile programs/write enable_write
19297 wine_fn_config_makefile programs/wscript enable_wscript
19298 wine_fn_config_makefile programs/wscript/tests enable_tests
19299 wine_fn_config_makefile programs/wusa enable_wusa
19300 wine_fn_config_makefile programs/xcopy enable_xcopy
19301 wine_fn_config_makefile programs/xcopy/tests enable_tests
19302 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19303 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19304 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19305 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19306 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19307 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19308 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19309 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19310 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19311 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19314 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19315 wine_fn_append_file CONFIGURE_TARGETS "tags"
19316 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19317 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19318 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19319 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19320 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19321 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19323 if test "x$enable_tools" != xno
19324 then
19325 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19326 ac_config_commands="$ac_config_commands tools/makedep"
19330 ac_config_commands="$ac_config_commands Makefile"
19333 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19337 if test "x$enable_maintainer_mode" = xyes
19338 then
19339 wine_fn_append_rule "configure: configure.ac aclocal.m4
19340 autoconf --warnings=all
19341 include/config.h.in: include/stamp-h.in
19342 include/stamp-h.in: configure.ac aclocal.m4
19343 autoheader --warnings=all
19344 @echo timestamp > \$@"
19347 if test "x$enable_tools" != xno
19348 then
19349 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19350 @./config.status tools/makedep
19351 Makefile: tools/makedep$ac_exeext
19352 fonts: tools/sfnt2fon
19353 include: tools tools/widl"
19354 else
19355 wine_fn_append_rule "\$(MAKEDEP):
19356 @echo \"You need to run make in $TOOLSDIR first\" && false"
19359 if test -n "$with_wine64"
19360 then
19361 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19362 fonts server:
19363 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19364 $with_wine64/loader/wine:
19365 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19366 $with_wine64/loader/wine-preloader:
19367 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19368 clean::
19369 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19370 else
19371 WINELOADER_INSTALL="wine.inf l_intl.nls"
19373 case $host_os in
19374 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19375 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19376 esac
19379 $as_echo " done" >&6
19380 cat >confcache <<\_ACEOF
19381 # This file is a shell script that caches the results of configure
19382 # tests run on this system so they can be shared between configure
19383 # scripts and configure runs, see configure's option --config-cache.
19384 # It is not useful on other systems. If it contains results you don't
19385 # want to keep, you may remove or edit it.
19387 # config.status only pays attention to the cache file if you give it
19388 # the --recheck option to rerun configure.
19390 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19391 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19392 # following values.
19394 _ACEOF
19396 # The following way of writing the cache mishandles newlines in values,
19397 # but we know of no workaround that is simple, portable, and efficient.
19398 # So, we kill variables containing newlines.
19399 # Ultrix sh set writes to stderr and can't be redirected directly,
19400 # and sets the high bit in the cache file unless we assign to the vars.
19402 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19403 eval ac_val=\$$ac_var
19404 case $ac_val in #(
19405 *${as_nl}*)
19406 case $ac_var in #(
19407 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19408 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19409 esac
19410 case $ac_var in #(
19411 _ | IFS | as_nl) ;; #(
19412 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19413 *) { eval $ac_var=; unset $ac_var;} ;;
19414 esac ;;
19415 esac
19416 done
19418 (set) 2>&1 |
19419 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19420 *${as_nl}ac_space=\ *)
19421 # `set' does not quote correctly, so add quotes: double-quote
19422 # substitution turns \\\\ into \\, and sed turns \\ into \.
19423 sed -n \
19424 "s/'/'\\\\''/g;
19425 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19426 ;; #(
19428 # `set' quotes correctly as required by POSIX, so do not add quotes.
19429 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19431 esac |
19432 sort
19434 sed '
19435 /^ac_cv_env_/b end
19436 t clear
19437 :clear
19438 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19439 t end
19440 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19441 :end' >>confcache
19442 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19443 if test -w "$cache_file"; then
19444 if test "x$cache_file" != "x/dev/null"; then
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19446 $as_echo "$as_me: updating cache $cache_file" >&6;}
19447 if test ! -f "$cache_file" || test -h "$cache_file"; then
19448 cat confcache >"$cache_file"
19449 else
19450 case $cache_file in #(
19451 */* | ?:*)
19452 mv -f confcache "$cache_file"$$ &&
19453 mv -f "$cache_file"$$ "$cache_file" ;; #(
19455 mv -f confcache "$cache_file" ;;
19456 esac
19459 else
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19461 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19464 rm -f confcache
19466 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19467 # Let make expand exec_prefix.
19468 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19470 DEFS=-DHAVE_CONFIG_H
19472 ac_libobjs=
19473 ac_ltlibobjs=
19475 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19476 # 1. Remove the extension, and $U if already installed.
19477 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19478 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19479 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19480 # will be set to the directory where LIBOBJS objects are built.
19481 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19482 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19483 done
19484 LIBOBJS=$ac_libobjs
19486 LTLIBOBJS=$ac_ltlibobjs
19490 : "${CONFIG_STATUS=./config.status}"
19491 ac_write_fail=0
19492 ac_clean_files_save=$ac_clean_files
19493 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19495 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19496 as_write_fail=0
19497 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19498 #! $SHELL
19499 # Generated by $as_me.
19500 # Run this file to recreate the current configuration.
19501 # Compiler output produced by configure, useful for debugging
19502 # configure, is in config.log if it exists.
19504 debug=false
19505 ac_cs_recheck=false
19506 ac_cs_silent=false
19508 SHELL=\${CONFIG_SHELL-$SHELL}
19509 export SHELL
19510 _ASEOF
19511 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19512 ## -------------------- ##
19513 ## M4sh Initialization. ##
19514 ## -------------------- ##
19516 # Be more Bourne compatible
19517 DUALCASE=1; export DUALCASE # for MKS sh
19518 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19519 emulate sh
19520 NULLCMD=:
19521 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19522 # is contrary to our usage. Disable this feature.
19523 alias -g '${1+"$@"}'='"$@"'
19524 setopt NO_GLOB_SUBST
19525 else
19526 case `(set -o) 2>/dev/null` in #(
19527 *posix*) :
19528 set -o posix ;; #(
19529 *) :
19531 esac
19535 as_nl='
19537 export as_nl
19538 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19539 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19540 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19542 # Prefer a ksh shell builtin over an external printf program on Solaris,
19543 # but without wasting forks for bash or zsh.
19544 if test -z "$BASH_VERSION$ZSH_VERSION" \
19545 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19546 as_echo='print -r --'
19547 as_echo_n='print -rn --'
19548 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19549 as_echo='printf %s\n'
19550 as_echo_n='printf %s'
19551 else
19552 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19553 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19554 as_echo_n='/usr/ucb/echo -n'
19555 else
19556 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19557 as_echo_n_body='eval
19558 arg=$1;
19559 case $arg in #(
19560 *"$as_nl"*)
19561 expr "X$arg" : "X\\(.*\\)$as_nl";
19562 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19563 esac;
19564 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19566 export as_echo_n_body
19567 as_echo_n='sh -c $as_echo_n_body as_echo'
19569 export as_echo_body
19570 as_echo='sh -c $as_echo_body as_echo'
19573 # The user is always right.
19574 if test "${PATH_SEPARATOR+set}" != set; then
19575 PATH_SEPARATOR=:
19576 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19577 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19578 PATH_SEPARATOR=';'
19583 # IFS
19584 # We need space, tab and new line, in precisely that order. Quoting is
19585 # there to prevent editors from complaining about space-tab.
19586 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19587 # splitting by setting IFS to empty value.)
19588 IFS=" "" $as_nl"
19590 # Find who we are. Look in the path if we contain no directory separator.
19591 as_myself=
19592 case $0 in #((
19593 *[\\/]* ) as_myself=$0 ;;
19594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19595 for as_dir in $PATH
19597 IFS=$as_save_IFS
19598 test -z "$as_dir" && as_dir=.
19599 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19600 done
19601 IFS=$as_save_IFS
19604 esac
19605 # We did not find ourselves, most probably we were run as `sh COMMAND'
19606 # in which case we are not to be found in the path.
19607 if test "x$as_myself" = x; then
19608 as_myself=$0
19610 if test ! -f "$as_myself"; then
19611 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19612 exit 1
19615 # Unset variables that we do not need and which cause bugs (e.g. in
19616 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19617 # suppresses any "Segmentation fault" message there. '((' could
19618 # trigger a bug in pdksh 5.2.14.
19619 for as_var in BASH_ENV ENV MAIL MAILPATH
19620 do eval test x\${$as_var+set} = xset \
19621 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19622 done
19623 PS1='$ '
19624 PS2='> '
19625 PS4='+ '
19627 # NLS nuisances.
19628 LC_ALL=C
19629 export LC_ALL
19630 LANGUAGE=C
19631 export LANGUAGE
19633 # CDPATH.
19634 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19637 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19638 # ----------------------------------------
19639 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19640 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19641 # script with STATUS, using 1 if that was 0.
19642 as_fn_error ()
19644 as_status=$1; test $as_status -eq 0 && as_status=1
19645 if test "$4"; then
19646 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19647 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19649 $as_echo "$as_me: error: $2" >&2
19650 as_fn_exit $as_status
19651 } # as_fn_error
19654 # as_fn_set_status STATUS
19655 # -----------------------
19656 # Set $? to STATUS, without forking.
19657 as_fn_set_status ()
19659 return $1
19660 } # as_fn_set_status
19662 # as_fn_exit STATUS
19663 # -----------------
19664 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19665 as_fn_exit ()
19667 set +e
19668 as_fn_set_status $1
19669 exit $1
19670 } # as_fn_exit
19672 # as_fn_unset VAR
19673 # ---------------
19674 # Portably unset VAR.
19675 as_fn_unset ()
19677 { eval $1=; unset $1;}
19679 as_unset=as_fn_unset
19680 # as_fn_append VAR VALUE
19681 # ----------------------
19682 # Append the text in VALUE to the end of the definition contained in VAR. Take
19683 # advantage of any shell optimizations that allow amortized linear growth over
19684 # repeated appends, instead of the typical quadratic growth present in naive
19685 # implementations.
19686 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19687 eval 'as_fn_append ()
19689 eval $1+=\$2
19691 else
19692 as_fn_append ()
19694 eval $1=\$$1\$2
19696 fi # as_fn_append
19698 # as_fn_arith ARG...
19699 # ------------------
19700 # Perform arithmetic evaluation on the ARGs, and store the result in the
19701 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19702 # must be portable across $(()) and expr.
19703 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19704 eval 'as_fn_arith ()
19706 as_val=$(( $* ))
19708 else
19709 as_fn_arith ()
19711 as_val=`expr "$@" || test $? -eq 1`
19713 fi # as_fn_arith
19716 if expr a : '\(a\)' >/dev/null 2>&1 &&
19717 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19718 as_expr=expr
19719 else
19720 as_expr=false
19723 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19724 as_basename=basename
19725 else
19726 as_basename=false
19729 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19730 as_dirname=dirname
19731 else
19732 as_dirname=false
19735 as_me=`$as_basename -- "$0" ||
19736 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19737 X"$0" : 'X\(//\)$' \| \
19738 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19739 $as_echo X/"$0" |
19740 sed '/^.*\/\([^/][^/]*\)\/*$/{
19741 s//\1/
19744 /^X\/\(\/\/\)$/{
19745 s//\1/
19748 /^X\/\(\/\).*/{
19749 s//\1/
19752 s/.*/./; q'`
19754 # Avoid depending upon Character Ranges.
19755 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19756 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19757 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19758 as_cr_digits='0123456789'
19759 as_cr_alnum=$as_cr_Letters$as_cr_digits
19761 ECHO_C= ECHO_N= ECHO_T=
19762 case `echo -n x` in #(((((
19763 -n*)
19764 case `echo 'xy\c'` in
19765 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19766 xy) ECHO_C='\c';;
19767 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19768 ECHO_T=' ';;
19769 esac;;
19771 ECHO_N='-n';;
19772 esac
19774 rm -f conf$$ conf$$.exe conf$$.file
19775 if test -d conf$$.dir; then
19776 rm -f conf$$.dir/conf$$.file
19777 else
19778 rm -f conf$$.dir
19779 mkdir conf$$.dir 2>/dev/null
19781 if (echo >conf$$.file) 2>/dev/null; then
19782 if ln -s conf$$.file conf$$ 2>/dev/null; then
19783 as_ln_s='ln -s'
19784 # ... but there are two gotchas:
19785 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19786 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19787 # In both cases, we have to default to `cp -pR'.
19788 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19789 as_ln_s='cp -pR'
19790 elif ln conf$$.file conf$$ 2>/dev/null; then
19791 as_ln_s=ln
19792 else
19793 as_ln_s='cp -pR'
19795 else
19796 as_ln_s='cp -pR'
19798 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19799 rmdir conf$$.dir 2>/dev/null
19802 # as_fn_mkdir_p
19803 # -------------
19804 # Create "$as_dir" as a directory, including parents if necessary.
19805 as_fn_mkdir_p ()
19808 case $as_dir in #(
19809 -*) as_dir=./$as_dir;;
19810 esac
19811 test -d "$as_dir" || eval $as_mkdir_p || {
19812 as_dirs=
19813 while :; do
19814 case $as_dir in #(
19815 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19816 *) as_qdir=$as_dir;;
19817 esac
19818 as_dirs="'$as_qdir' $as_dirs"
19819 as_dir=`$as_dirname -- "$as_dir" ||
19820 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19821 X"$as_dir" : 'X\(//\)[^/]' \| \
19822 X"$as_dir" : 'X\(//\)$' \| \
19823 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19824 $as_echo X"$as_dir" |
19825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19826 s//\1/
19829 /^X\(\/\/\)[^/].*/{
19830 s//\1/
19833 /^X\(\/\/\)$/{
19834 s//\1/
19837 /^X\(\/\).*/{
19838 s//\1/
19841 s/.*/./; q'`
19842 test -d "$as_dir" && break
19843 done
19844 test -z "$as_dirs" || eval "mkdir $as_dirs"
19845 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19848 } # as_fn_mkdir_p
19849 if mkdir -p . 2>/dev/null; then
19850 as_mkdir_p='mkdir -p "$as_dir"'
19851 else
19852 test -d ./-p && rmdir ./-p
19853 as_mkdir_p=false
19857 # as_fn_executable_p FILE
19858 # -----------------------
19859 # Test if FILE is an executable regular file.
19860 as_fn_executable_p ()
19862 test -f "$1" && test -x "$1"
19863 } # as_fn_executable_p
19864 as_test_x='test -x'
19865 as_executable_p=as_fn_executable_p
19867 # Sed expression to map a string onto a valid CPP name.
19868 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19870 # Sed expression to map a string onto a valid variable name.
19871 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19874 exec 6>&1
19875 ## ----------------------------------- ##
19876 ## Main body of $CONFIG_STATUS script. ##
19877 ## ----------------------------------- ##
19878 _ASEOF
19879 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19882 # Save the log message, to keep $0 and so on meaningful, and to
19883 # report actual input values of CONFIG_FILES etc. instead of their
19884 # values after options handling.
19885 ac_log="
19886 This file was extended by Wine $as_me 3.3, which was
19887 generated by GNU Autoconf 2.69. Invocation command line was
19889 CONFIG_FILES = $CONFIG_FILES
19890 CONFIG_HEADERS = $CONFIG_HEADERS
19891 CONFIG_LINKS = $CONFIG_LINKS
19892 CONFIG_COMMANDS = $CONFIG_COMMANDS
19893 $ $0 $@
19895 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19898 _ACEOF
19900 case $ac_config_files in *"
19901 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19902 esac
19904 case $ac_config_headers in *"
19905 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19906 esac
19909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19910 # Files that config.status was made for.
19911 config_files="$ac_config_files"
19912 config_headers="$ac_config_headers"
19913 config_links="$ac_config_links"
19914 config_commands="$ac_config_commands"
19916 _ACEOF
19918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19919 ac_cs_usage="\
19920 \`$as_me' instantiates files and other configuration actions
19921 from templates according to the current configuration. Unless the files
19922 and actions are specified as TAGs, all are instantiated by default.
19924 Usage: $0 [OPTION]... [TAG]...
19926 -h, --help print this help, then exit
19927 -V, --version print version number and configuration settings, then exit
19928 --config print configuration, then exit
19929 -q, --quiet, --silent
19930 do not print progress messages
19931 -d, --debug don't remove temporary files
19932 --recheck update $as_me by reconfiguring in the same conditions
19933 --file=FILE[:TEMPLATE]
19934 instantiate the configuration file FILE
19935 --header=FILE[:TEMPLATE]
19936 instantiate the configuration header FILE
19938 Configuration files:
19939 $config_files
19941 Configuration headers:
19942 $config_headers
19944 Configuration links:
19945 $config_links
19947 Configuration commands:
19948 $config_commands
19950 Report bugs to <wine-devel@winehq.org>.
19951 Wine home page: <https://www.winehq.org>."
19953 _ACEOF
19954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19955 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19956 ac_cs_version="\\
19957 Wine config.status 3.3
19958 configured by $0, generated by GNU Autoconf 2.69,
19959 with options \\"\$ac_cs_config\\"
19961 Copyright (C) 2012 Free Software Foundation, Inc.
19962 This config.status script is free software; the Free Software Foundation
19963 gives unlimited permission to copy, distribute and modify it."
19965 ac_pwd='$ac_pwd'
19966 srcdir='$srcdir'
19967 test -n "\$AWK" || AWK=awk
19968 _ACEOF
19970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19971 # The default lists apply if the user does not specify any file.
19972 ac_need_defaults=:
19973 while test $# != 0
19975 case $1 in
19976 --*=?*)
19977 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19978 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19979 ac_shift=:
19981 --*=)
19982 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19983 ac_optarg=
19984 ac_shift=:
19987 ac_option=$1
19988 ac_optarg=$2
19989 ac_shift=shift
19991 esac
19993 case $ac_option in
19994 # Handling of the options.
19995 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19996 ac_cs_recheck=: ;;
19997 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19998 $as_echo "$ac_cs_version"; exit ;;
19999 --config | --confi | --conf | --con | --co | --c )
20000 $as_echo "$ac_cs_config"; exit ;;
20001 --debug | --debu | --deb | --de | --d | -d )
20002 debug=: ;;
20003 --file | --fil | --fi | --f )
20004 $ac_shift
20005 case $ac_optarg in
20006 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20007 '') as_fn_error $? "missing file argument" ;;
20008 esac
20009 as_fn_append CONFIG_FILES " '$ac_optarg'"
20010 ac_need_defaults=false;;
20011 --header | --heade | --head | --hea )
20012 $ac_shift
20013 case $ac_optarg in
20014 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20015 esac
20016 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20017 ac_need_defaults=false;;
20018 --he | --h)
20019 # Conflict between --help and --header
20020 as_fn_error $? "ambiguous option: \`$1'
20021 Try \`$0 --help' for more information.";;
20022 --help | --hel | -h )
20023 $as_echo "$ac_cs_usage"; exit ;;
20024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20025 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20026 ac_cs_silent=: ;;
20028 # This is an error.
20029 -*) as_fn_error $? "unrecognized option: \`$1'
20030 Try \`$0 --help' for more information." ;;
20032 *) as_fn_append ac_config_targets " $1"
20033 ac_need_defaults=false ;;
20035 esac
20036 shift
20037 done
20039 ac_configure_extra_args=
20041 if $ac_cs_silent; then
20042 exec 6>/dev/null
20043 ac_configure_extra_args="$ac_configure_extra_args --silent"
20046 _ACEOF
20047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20048 if \$ac_cs_recheck; then
20049 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20050 shift
20051 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20052 CONFIG_SHELL='$SHELL'
20053 export CONFIG_SHELL
20054 exec "\$@"
20057 _ACEOF
20058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20059 exec 5>>config.log
20061 echo
20062 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20063 ## Running $as_me. ##
20064 _ASBOX
20065 $as_echo "$ac_log"
20066 } >&5
20068 _ACEOF
20069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20071 # INIT-COMMANDS
20073 wine_fn_output_makedep ()
20075 as_dir=tools; as_fn_mkdir_p
20076 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20078 wine_fn_output_makefile ()
20080 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20081 `cat $wine_rules_file`
20082 _WINE_EOF
20083 as_fn_error $? "could not create Makefile" "$LINENO" 5
20086 _ACEOF
20088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20090 # Handling of arguments.
20091 for ac_config_target in $ac_config_targets
20093 case $ac_config_target in
20094 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20095 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20096 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20097 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20098 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20099 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20100 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20101 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20102 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20103 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20104 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20105 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20106 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20108 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20109 esac
20110 done
20113 # If the user did not use the arguments to specify the items to instantiate,
20114 # then the envvar interface is used. Set only those that are not.
20115 # We use the long form for the default assignment because of an extremely
20116 # bizarre bug on SunOS 4.1.3.
20117 if $ac_need_defaults; then
20118 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20119 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20120 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20121 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20124 # Have a temporary directory for convenience. Make it in the build tree
20125 # simply because there is no reason against having it here, and in addition,
20126 # creating and moving files from /tmp can sometimes cause problems.
20127 # Hook for its removal unless debugging.
20128 # Note that there is a small window in which the directory will not be cleaned:
20129 # after its creation but before its name has been assigned to `$tmp'.
20130 $debug ||
20132 tmp= ac_tmp=
20133 trap 'exit_status=$?
20134 : "${ac_tmp:=$tmp}"
20135 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20137 trap 'as_fn_exit 1' 1 2 13 15
20139 # Create a (secure) tmp directory for tmp files.
20142 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20143 test -d "$tmp"
20144 } ||
20146 tmp=./conf$$-$RANDOM
20147 (umask 077 && mkdir "$tmp")
20148 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20149 ac_tmp=$tmp
20151 # Set up the scripts for CONFIG_FILES section.
20152 # No need to generate them if there are no CONFIG_FILES.
20153 # This happens for instance with `./config.status config.h'.
20154 if test -n "$CONFIG_FILES"; then
20157 ac_cr=`echo X | tr X '\015'`
20158 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20159 # But we know of no other shell where ac_cr would be empty at this
20160 # point, so we can use a bashism as a fallback.
20161 if test "x$ac_cr" = x; then
20162 eval ac_cr=\$\'\\r\'
20164 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20165 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20166 ac_cs_awk_cr='\\r'
20167 else
20168 ac_cs_awk_cr=$ac_cr
20171 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20172 _ACEOF
20176 echo "cat >conf$$subs.awk <<_ACEOF" &&
20177 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20178 echo "_ACEOF"
20179 } >conf$$subs.sh ||
20180 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20181 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20182 ac_delim='%!_!# '
20183 for ac_last_try in false false false false false :; do
20184 . ./conf$$subs.sh ||
20185 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20187 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20188 if test $ac_delim_n = $ac_delim_num; then
20189 break
20190 elif $ac_last_try; then
20191 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20192 else
20193 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20195 done
20196 rm -f conf$$subs.sh
20198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20199 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20200 _ACEOF
20201 sed -n '
20203 s/^/S["/; s/!.*/"]=/
20206 s/^[^!]*!//
20207 :repl
20208 t repl
20209 s/'"$ac_delim"'$//
20210 t delim
20213 s/\(.\{148\}\)..*/\1/
20214 t more1
20215 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20218 b repl
20219 :more1
20220 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20223 s/.\{148\}//
20224 t nl
20225 :delim
20227 s/\(.\{148\}\)..*/\1/
20228 t more2
20229 s/["\\]/\\&/g; s/^/"/; s/$/"/
20232 :more2
20233 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20236 s/.\{148\}//
20237 t delim
20238 ' <conf$$subs.awk | sed '
20239 /^[^""]/{
20241 s/\n//
20243 ' >>$CONFIG_STATUS || ac_write_fail=1
20244 rm -f conf$$subs.awk
20245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20246 _ACAWK
20247 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20248 for (key in S) S_is_set[key] = 1
20249 FS = "\a"
20253 line = $ 0
20254 nfields = split(line, field, "@")
20255 substed = 0
20256 len = length(field[1])
20257 for (i = 2; i < nfields; i++) {
20258 key = field[i]
20259 keylen = length(key)
20260 if (S_is_set[key]) {
20261 value = S[key]
20262 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20263 len += length(value) + length(field[++i])
20264 substed = 1
20265 } else
20266 len += 1 + keylen
20269 print line
20272 _ACAWK
20273 _ACEOF
20274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20275 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20276 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20277 else
20279 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20280 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20281 _ACEOF
20283 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20284 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20285 # trailing colons and then remove the whole line if VPATH becomes empty
20286 # (actually we leave an empty line to preserve line numbers).
20287 if test "x$srcdir" = x.; then
20288 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20290 s///
20291 s/^/:/
20292 s/[ ]*$/:/
20293 s/:\$(srcdir):/:/g
20294 s/:\${srcdir}:/:/g
20295 s/:@srcdir@:/:/g
20296 s/^:*//
20297 s/:*$//
20299 s/\(=[ ]*\).*/\1/
20301 s/\n//
20302 s/^[^=]*=[ ]*$//
20306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20307 fi # test -n "$CONFIG_FILES"
20309 # Set up the scripts for CONFIG_HEADERS section.
20310 # No need to generate them if there are no CONFIG_HEADERS.
20311 # This happens for instance with `./config.status Makefile'.
20312 if test -n "$CONFIG_HEADERS"; then
20313 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20314 BEGIN {
20315 _ACEOF
20317 # Transform confdefs.h into an awk script `defines.awk', embedded as
20318 # here-document in config.status, that substitutes the proper values into
20319 # config.h.in to produce config.h.
20321 # Create a delimiter string that does not exist in confdefs.h, to ease
20322 # handling of long lines.
20323 ac_delim='%!_!# '
20324 for ac_last_try in false false :; do
20325 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20326 if test -z "$ac_tt"; then
20327 break
20328 elif $ac_last_try; then
20329 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20330 else
20331 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20333 done
20335 # For the awk script, D is an array of macro values keyed by name,
20336 # likewise P contains macro parameters if any. Preserve backslash
20337 # newline sequences.
20339 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20340 sed -n '
20341 s/.\{148\}/&'"$ac_delim"'/g
20342 t rset
20343 :rset
20344 s/^[ ]*#[ ]*define[ ][ ]*/ /
20345 t def
20347 :def
20348 s/\\$//
20349 t bsnl
20350 s/["\\]/\\&/g
20351 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20352 D["\1"]=" \3"/p
20353 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20355 :bsnl
20356 s/["\\]/\\&/g
20357 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20358 D["\1"]=" \3\\\\\\n"\\/p
20359 t cont
20360 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20361 t cont
20363 :cont
20365 s/.\{148\}/&'"$ac_delim"'/g
20366 t clear
20367 :clear
20368 s/\\$//
20369 t bsnlc
20370 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20372 :bsnlc
20373 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20374 b cont
20375 ' <confdefs.h | sed '
20376 s/'"$ac_delim"'/"\\\
20377 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20380 for (key in D) D_is_set[key] = 1
20381 FS = "\a"
20383 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20384 line = \$ 0
20385 split(line, arg, " ")
20386 if (arg[1] == "#") {
20387 defundef = arg[2]
20388 mac1 = arg[3]
20389 } else {
20390 defundef = substr(arg[1], 2)
20391 mac1 = arg[2]
20393 split(mac1, mac2, "(") #)
20394 macro = mac2[1]
20395 prefix = substr(line, 1, index(line, defundef) - 1)
20396 if (D_is_set[macro]) {
20397 # Preserve the white space surrounding the "#".
20398 print prefix "define", macro P[macro] D[macro]
20399 next
20400 } else {
20401 # Replace #undef with comments. This is necessary, for example,
20402 # in the case of _POSIX_SOURCE, which is predefined and required
20403 # on some systems where configure will not decide to define it.
20404 if (defundef == "undef") {
20405 print "/*", prefix defundef, macro, "*/"
20406 next
20410 { print }
20411 _ACAWK
20412 _ACEOF
20413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20414 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20415 fi # test -n "$CONFIG_HEADERS"
20418 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20419 shift
20420 for ac_tag
20422 case $ac_tag in
20423 :[FHLC]) ac_mode=$ac_tag; continue;;
20424 esac
20425 case $ac_mode$ac_tag in
20426 :[FHL]*:*);;
20427 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20428 :[FH]-) ac_tag=-:-;;
20429 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20430 esac
20431 ac_save_IFS=$IFS
20432 IFS=:
20433 set x $ac_tag
20434 IFS=$ac_save_IFS
20435 shift
20436 ac_file=$1
20437 shift
20439 case $ac_mode in
20440 :L) ac_source=$1;;
20441 :[FH])
20442 ac_file_inputs=
20443 for ac_f
20445 case $ac_f in
20446 -) ac_f="$ac_tmp/stdin";;
20447 *) # Look for the file first in the build tree, then in the source tree
20448 # (if the path is not absolute). The absolute path cannot be DOS-style,
20449 # because $ac_f cannot contain `:'.
20450 test -f "$ac_f" ||
20451 case $ac_f in
20452 [\\/$]*) false;;
20453 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20454 esac ||
20455 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20456 esac
20457 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20458 as_fn_append ac_file_inputs " '$ac_f'"
20459 done
20461 # Let's still pretend it is `configure' which instantiates (i.e., don't
20462 # use $as_me), people would be surprised to read:
20463 # /* config.h. Generated by config.status. */
20464 configure_input='Generated from '`
20465 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20466 `' by configure.'
20467 if test x"$ac_file" != x-; then
20468 configure_input="$ac_file. $configure_input"
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20470 $as_echo "$as_me: creating $ac_file" >&6;}
20472 # Neutralize special characters interpreted by sed in replacement strings.
20473 case $configure_input in #(
20474 *\&* | *\|* | *\\* )
20475 ac_sed_conf_input=`$as_echo "$configure_input" |
20476 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20477 *) ac_sed_conf_input=$configure_input;;
20478 esac
20480 case $ac_tag in
20481 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20482 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20483 esac
20485 esac
20487 ac_dir=`$as_dirname -- "$ac_file" ||
20488 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20489 X"$ac_file" : 'X\(//\)[^/]' \| \
20490 X"$ac_file" : 'X\(//\)$' \| \
20491 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20492 $as_echo X"$ac_file" |
20493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20494 s//\1/
20497 /^X\(\/\/\)[^/].*/{
20498 s//\1/
20501 /^X\(\/\/\)$/{
20502 s//\1/
20505 /^X\(\/\).*/{
20506 s//\1/
20509 s/.*/./; q'`
20510 as_dir="$ac_dir"; as_fn_mkdir_p
20511 ac_builddir=.
20513 case "$ac_dir" in
20514 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20516 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20517 # A ".." for each directory in $ac_dir_suffix.
20518 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20519 case $ac_top_builddir_sub in
20520 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20521 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20522 esac ;;
20523 esac
20524 ac_abs_top_builddir=$ac_pwd
20525 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20526 # for backward compatibility:
20527 ac_top_builddir=$ac_top_build_prefix
20529 case $srcdir in
20530 .) # We are building in place.
20531 ac_srcdir=.
20532 ac_top_srcdir=$ac_top_builddir_sub
20533 ac_abs_top_srcdir=$ac_pwd ;;
20534 [\\/]* | ?:[\\/]* ) # Absolute name.
20535 ac_srcdir=$srcdir$ac_dir_suffix;
20536 ac_top_srcdir=$srcdir
20537 ac_abs_top_srcdir=$srcdir ;;
20538 *) # Relative name.
20539 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20540 ac_top_srcdir=$ac_top_build_prefix$srcdir
20541 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20542 esac
20543 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20546 case $ac_mode in
20549 # CONFIG_FILE
20552 _ACEOF
20554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20555 # If the template does not know about datarootdir, expand it.
20556 # FIXME: This hack should be removed a few years after 2.60.
20557 ac_datarootdir_hack=; ac_datarootdir_seen=
20558 ac_sed_dataroot='
20559 /datarootdir/ {
20563 /@datadir@/p
20564 /@docdir@/p
20565 /@infodir@/p
20566 /@localedir@/p
20567 /@mandir@/p'
20568 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20569 *datarootdir*) ac_datarootdir_seen=yes;;
20570 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20572 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20573 _ACEOF
20574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20575 ac_datarootdir_hack='
20576 s&@datadir@&$datadir&g
20577 s&@docdir@&$docdir&g
20578 s&@infodir@&$infodir&g
20579 s&@localedir@&$localedir&g
20580 s&@mandir@&$mandir&g
20581 s&\\\${datarootdir}&$datarootdir&g' ;;
20582 esac
20583 _ACEOF
20585 # Neutralize VPATH when `$srcdir' = `.'.
20586 # Shell code in configure.ac might set extrasub.
20587 # FIXME: do we really want to maintain this feature?
20588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20589 ac_sed_extra="$ac_vpsub
20590 $extrasub
20591 _ACEOF
20592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20594 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20595 s|@configure_input@|$ac_sed_conf_input|;t t
20596 s&@top_builddir@&$ac_top_builddir_sub&;t t
20597 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20598 s&@srcdir@&$ac_srcdir&;t t
20599 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20600 s&@top_srcdir@&$ac_top_srcdir&;t t
20601 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20602 s&@builddir@&$ac_builddir&;t t
20603 s&@abs_builddir@&$ac_abs_builddir&;t t
20604 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20605 $ac_datarootdir_hack
20607 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20608 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20610 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20611 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20612 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20613 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20615 which seems to be undefined. Please make sure it is defined" >&5
20616 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20617 which seems to be undefined. Please make sure it is defined" >&2;}
20619 rm -f "$ac_tmp/stdin"
20620 case $ac_file in
20621 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20622 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20623 esac \
20624 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20628 # CONFIG_HEADER
20630 if test x"$ac_file" != x-; then
20632 $as_echo "/* $configure_input */" \
20633 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20634 } >"$ac_tmp/config.h" \
20635 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20636 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20638 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20639 else
20640 rm -f "$ac_file"
20641 mv "$ac_tmp/config.h" "$ac_file" \
20642 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20644 else
20645 $as_echo "/* $configure_input */" \
20646 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20647 || as_fn_error $? "could not create -" "$LINENO" 5
20652 # CONFIG_LINK
20655 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20657 else
20658 # Prefer the file from the source tree if names are identical.
20659 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20660 ac_source=$srcdir/$ac_source
20663 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20664 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20666 if test ! -r "$ac_source"; then
20667 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20669 rm -f "$ac_file"
20671 # Try a relative symlink, then a hard link, then a copy.
20672 case $ac_source in
20673 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20674 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20675 esac
20676 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20677 ln "$ac_source" "$ac_file" 2>/dev/null ||
20678 cp -p "$ac_source" "$ac_file" ||
20679 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20682 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20683 $as_echo "$as_me: executing $ac_file commands" >&6;}
20685 esac
20688 case $ac_file$ac_mode in
20689 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20690 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20691 "Makefile":C) wine_fn_output_makefile Makefile ;;
20693 esac
20694 done # for ac_tag
20697 as_fn_exit 0
20698 _ACEOF
20699 ac_clean_files=$ac_clean_files_save
20701 test $ac_write_fail = 0 ||
20702 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20705 # configure is writing to config.log, and then calls config.status.
20706 # config.status does its own redirection, appending to config.log.
20707 # Unfortunately, on DOS this fails, as config.log is still kept open
20708 # by configure, so config.status won't be able to write to it; its
20709 # output is simply discarded. So we exec the FD to /dev/null,
20710 # effectively closing config.log, so it can be properly (re)opened and
20711 # appended to by config.status. When coming back to configure, we
20712 # need to make the FD available again.
20713 if test "$no_create" != yes; then
20714 ac_cs_success=:
20715 ac_config_status_args=
20716 test "$silent" = yes &&
20717 ac_config_status_args="$ac_config_status_args --quiet"
20718 exec 5>/dev/null
20719 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20720 exec 5>>config.log
20721 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20722 # would make configure fail if this is the last instruction.
20723 $ac_cs_success || as_fn_exit 1
20725 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20727 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20731 if test "$no_create" = "yes"
20732 then
20733 exit 0
20736 ac_save_IFS="$IFS"
20737 if test "x$wine_notices" != x; then
20738 echo >&6
20739 IFS="|"
20740 for msg in $wine_notices; do
20741 IFS="$ac_save_IFS"
20742 if ${msg:+false} :; then :
20744 else
20745 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20746 $as_echo "$as_me: $msg" >&6;}
20748 done
20750 IFS="|"
20751 for msg in $wine_warnings; do
20752 IFS="$ac_save_IFS"
20753 if ${msg:+false} :; then :
20755 else
20756 echo >&2
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20758 $as_echo "$as_me: WARNING: $msg" >&2;}
20760 done
20761 IFS="$ac_save_IFS"
20763 $as_echo "
20764 $as_me: Finished. Do '${ac_make}' to compile Wine.
20765 " >&6