mstask: Export the AT Service RPC API.
[wine.git] / configure
blob50badb7cf8aedbc558631ba19a203176941b1217
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.7.
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.7'
584 PACKAGE_STRING='Wine 3.7'
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_dmoguids
1217 enable_dmscript
1218 enable_dmstyle
1219 enable_dmsynth
1220 enable_dmusic
1221 enable_dmusic32
1222 enable_dnsapi
1223 enable_dplay
1224 enable_dplayx
1225 enable_dpnaddr
1226 enable_dpnet
1227 enable_dpnhpast
1228 enable_dpnlobby
1229 enable_dpvoice
1230 enable_dpwsockx
1231 enable_drmclien
1232 enable_dsound
1233 enable_dsquery
1234 enable_dssenh
1235 enable_dswave
1236 enable_dwmapi
1237 enable_dwrite
1238 enable_dx8vb
1239 enable_dxdiagn
1240 enable_dxerr8
1241 enable_dxerr9
1242 enable_dxgi
1243 enable_dxguid
1244 enable_dxva2
1245 enable_esent
1246 enable_evr
1247 enable_explorerframe
1248 enable_ext_ms_win_authz_context_l1_1_0
1249 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1250 enable_ext_ms_win_dwmapi_ext_l1_1_0
1251 enable_ext_ms_win_gdi_dc_create_l1_1_1
1252 enable_ext_ms_win_gdi_dc_l1_2_0
1253 enable_ext_ms_win_gdi_devcaps_l1_1_0
1254 enable_ext_ms_win_gdi_draw_l1_1_1
1255 enable_ext_ms_win_gdi_render_l1_1_0
1256 enable_ext_ms_win_kernel32_package_current_l1_1_0
1257 enable_ext_ms_win_kernel32_package_l1_1_1
1258 enable_ext_ms_win_ntuser_draw_l1_1_0
1259 enable_ext_ms_win_ntuser_gui_l1_3_0
1260 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1261 enable_ext_ms_win_ntuser_message_l1_1_1
1262 enable_ext_ms_win_ntuser_misc_l1_5_1
1263 enable_ext_ms_win_ntuser_mouse_l1_1_0
1264 enable_ext_ms_win_ntuser_private_l1_1_1
1265 enable_ext_ms_win_ntuser_private_l1_3_1
1266 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1267 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1268 enable_ext_ms_win_ntuser_window_l1_1_1
1269 enable_ext_ms_win_ntuser_window_l1_1_4
1270 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1271 enable_ext_ms_win_oleacc_l1_1_0
1272 enable_ext_ms_win_ras_rasapi32_l1_1_0
1273 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1274 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1275 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1276 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1277 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1278 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1279 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1280 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1281 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1282 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1283 enable_ext_ms_win_security_credui_l1_1_0
1284 enable_ext_ms_win_security_cryptui_l1_1_0
1285 enable_faultrep
1286 enable_fltlib
1287 enable_fltmgr_sys
1288 enable_fntcache
1289 enable_fontsub
1290 enable_fusion
1291 enable_fwpuclnt
1292 enable_gameux
1293 enable_gdi32
1294 enable_gdiplus
1295 enable_glu32
1296 enable_gphoto2_ds
1297 enable_gpkcsp
1298 enable_hal
1299 enable_hhctrl_ocx
1300 enable_hid
1301 enable_hidclass_sys
1302 enable_hlink
1303 enable_hnetcfg
1304 enable_httpapi
1305 enable_iccvid
1306 enable_icmp
1307 enable_ieframe
1308 enable_ieproxy
1309 enable_imaadp32_acm
1310 enable_imagehlp
1311 enable_imm32
1312 enable_inetcomm
1313 enable_inetcpl_cpl
1314 enable_inetmib1
1315 enable_infosoft
1316 enable_initpki
1317 enable_inkobj
1318 enable_inseng
1319 enable_iphlpapi
1320 enable_iprop
1321 enable_irprops_cpl
1322 enable_itircl
1323 enable_itss
1324 enable_joy_cpl
1325 enable_jscript
1326 enable_jsproxy
1327 enable_kerberos
1328 enable_kernel32
1329 enable_kernelbase
1330 enable_ksuser
1331 enable_ktmw32
1332 enable_l3codeca_acm
1333 enable_loadperf
1334 enable_localspl
1335 enable_localui
1336 enable_lz32
1337 enable_mapi32
1338 enable_mapistub
1339 enable_mciavi32
1340 enable_mcicda
1341 enable_mciqtz32
1342 enable_mciseq
1343 enable_mciwave
1344 enable_mf
1345 enable_mf3216
1346 enable_mfplat
1347 enable_mfreadwrite
1348 enable_mfuuid
1349 enable_mgmtapi
1350 enable_midimap
1351 enable_mlang
1352 enable_mmcndmgr
1353 enable_mmdevapi
1354 enable_mountmgr_sys
1355 enable_mpr
1356 enable_mprapi
1357 enable_msacm32_drv
1358 enable_msacm32
1359 enable_msadp32_acm
1360 enable_msasn1
1361 enable_mscat32
1362 enable_mscms
1363 enable_mscoree
1364 enable_msctf
1365 enable_msctfp
1366 enable_msdaps
1367 enable_msdelta
1368 enable_msdmo
1369 enable_msdrm
1370 enable_msftedit
1371 enable_msg711_acm
1372 enable_msgsm32_acm
1373 enable_mshtml_tlb
1374 enable_mshtml
1375 enable_msi
1376 enable_msident
1377 enable_msimg32
1378 enable_msimsg
1379 enable_msimtf
1380 enable_msisip
1381 enable_msisys_ocx
1382 enable_msls31
1383 enable_msnet32
1384 enable_mspatcha
1385 enable_msports
1386 enable_msrle32
1387 enable_msscript_ocx
1388 enable_mssign32
1389 enable_mssip32
1390 enable_mstask
1391 enable_msvcirt
1392 enable_msvcm80
1393 enable_msvcm90
1394 enable_msvcp100
1395 enable_msvcp110
1396 enable_msvcp120
1397 enable_msvcp120_app
1398 enable_msvcp140
1399 enable_msvcp60
1400 enable_msvcp70
1401 enable_msvcp71
1402 enable_msvcp80
1403 enable_msvcp90
1404 enable_msvcr100
1405 enable_msvcr110
1406 enable_msvcr120
1407 enable_msvcr120_app
1408 enable_msvcr70
1409 enable_msvcr71
1410 enable_msvcr80
1411 enable_msvcr90
1412 enable_msvcrt
1413 enable_msvcrt20
1414 enable_msvcrt40
1415 enable_msvcrtd
1416 enable_msvfw32
1417 enable_msvidc32
1418 enable_mswsock
1419 enable_msxml
1420 enable_msxml2
1421 enable_msxml3
1422 enable_msxml4
1423 enable_msxml6
1424 enable_mtxdm
1425 enable_ncrypt
1426 enable_nddeapi
1427 enable_ndis_sys
1428 enable_netapi32
1429 enable_netcfgx
1430 enable_netprofm
1431 enable_newdev
1432 enable_ninput
1433 enable_normaliz
1434 enable_npmshtml
1435 enable_npptools
1436 enable_ntdll
1437 enable_ntdsapi
1438 enable_ntoskrnl_exe
1439 enable_ntprint
1440 enable_objsel
1441 enable_odbc32
1442 enable_odbccp32
1443 enable_odbccu32
1444 enable_ole32
1445 enable_oleacc
1446 enable_oleaut32
1447 enable_olecli32
1448 enable_oledb32
1449 enable_oledlg
1450 enable_olepro32
1451 enable_olesvr32
1452 enable_olethk32
1453 enable_openal32
1454 enable_opencl
1455 enable_opengl32
1456 enable_packager
1457 enable_pdh
1458 enable_photometadatahandler
1459 enable_pidgen
1460 enable_powrprof
1461 enable_printui
1462 enable_prntvpt
1463 enable_propsys
1464 enable_psapi
1465 enable_pstorec
1466 enable_qcap
1467 enable_qedit
1468 enable_qmgr
1469 enable_qmgrprxy
1470 enable_quartz
1471 enable_query
1472 enable_rasapi32
1473 enable_rasdlg
1474 enable_regapi
1475 enable_resutils
1476 enable_riched20
1477 enable_riched32
1478 enable_rpcrt4
1479 enable_rsabase
1480 enable_rsaenh
1481 enable_rstrtmgr
1482 enable_rtutils
1483 enable_samlib
1484 enable_sane_ds
1485 enable_sapi
1486 enable_sas
1487 enable_scarddlg
1488 enable_sccbase
1489 enable_schannel
1490 enable_schedsvc
1491 enable_scrobj
1492 enable_scrrun
1493 enable_scsiport_sys
1494 enable_secur32
1495 enable_security
1496 enable_sensapi
1497 enable_serialui
1498 enable_setupapi
1499 enable_sfc
1500 enable_sfc_os
1501 enable_shcore
1502 enable_shdoclc
1503 enable_shdocvw
1504 enable_shell32
1505 enable_shfolder
1506 enable_shlwapi
1507 enable_slbcsp
1508 enable_slc
1509 enable_snmpapi
1510 enable_softpub
1511 enable_spoolss
1512 enable_srclient
1513 enable_sspicli
1514 enable_stdole2_tlb
1515 enable_stdole32_tlb
1516 enable_sti
1517 enable_strmbase
1518 enable_strmdll
1519 enable_strmiids
1520 enable_svrapi
1521 enable_sxs
1522 enable_t2embed
1523 enable_tapi32
1524 enable_taskschd
1525 enable_tdh
1526 enable_tdi_sys
1527 enable_traffic
1528 enable_twain_32
1529 enable_ucrtbase
1530 enable_uiautomationcore
1531 enable_uiribbon
1532 enable_unicows
1533 enable_updspapi
1534 enable_url
1535 enable_urlmon
1536 enable_usbd_sys
1537 enable_user32
1538 enable_userenv
1539 enable_usp10
1540 enable_uuid
1541 enable_uxtheme
1542 enable_vbscript
1543 enable_vcomp
1544 enable_vcomp100
1545 enable_vcomp110
1546 enable_vcomp120
1547 enable_vcomp140
1548 enable_vcomp90
1549 enable_vcruntime140
1550 enable_vdmdbg
1551 enable_version
1552 enable_virtdisk
1553 enable_vssapi
1554 enable_vulkan_1
1555 enable_wbemdisp
1556 enable_wbemprox
1557 enable_wdscore
1558 enable_webservices
1559 enable_wer
1560 enable_wevtapi
1561 enable_wiaservc
1562 enable_wimgapi
1563 enable_windowscodecs
1564 enable_windowscodecsext
1565 enable_winealsa_drv
1566 enable_wineandroid_drv
1567 enable_winebus_sys
1568 enable_winecoreaudio_drv
1569 enable_winecrt0
1570 enable_wined3d
1571 enable_winegstreamer
1572 enable_winehid_sys
1573 enable_winejoystick_drv
1574 enable_winemac_drv
1575 enable_winemapi
1576 enable_wineoss_drv
1577 enable_wineps_drv
1578 enable_winepulse_drv
1579 enable_wineqtdecoder
1580 enable_winevulkan
1581 enable_winex11_drv
1582 enable_wing32
1583 enable_winhttp
1584 enable_wininet
1585 enable_winmm
1586 enable_winnls32
1587 enable_winscard
1588 enable_winspool_drv
1589 enable_winsta
1590 enable_wintab32
1591 enable_wintrust
1592 enable_winusb
1593 enable_wlanapi
1594 enable_wldap32
1595 enable_wmasf
1596 enable_wmi
1597 enable_wmiutils
1598 enable_wmp
1599 enable_wmphoto
1600 enable_wmvcore
1601 enable_wnaspi32
1602 enable_wpc
1603 enable_wpcap
1604 enable_ws2_32
1605 enable_wsdapi
1606 enable_wshom_ocx
1607 enable_wsnmp32
1608 enable_wsock32
1609 enable_wtsapi32
1610 enable_wuapi
1611 enable_wuaueng
1612 enable_x3daudio1_0
1613 enable_x3daudio1_1
1614 enable_x3daudio1_2
1615 enable_x3daudio1_3
1616 enable_x3daudio1_4
1617 enable_x3daudio1_5
1618 enable_x3daudio1_6
1619 enable_x3daudio1_7
1620 enable_xapofx1_1
1621 enable_xapofx1_2
1622 enable_xapofx1_3
1623 enable_xapofx1_4
1624 enable_xapofx1_5
1625 enable_xaudio2_0
1626 enable_xaudio2_1
1627 enable_xaudio2_2
1628 enable_xaudio2_3
1629 enable_xaudio2_4
1630 enable_xaudio2_5
1631 enable_xaudio2_6
1632 enable_xaudio2_7
1633 enable_xaudio2_8
1634 enable_xaudio2_9
1635 enable_xinput1_1
1636 enable_xinput1_2
1637 enable_xinput1_3
1638 enable_xinput1_4
1639 enable_xinput9_1_0
1640 enable_xmllite
1641 enable_xolehlp
1642 enable_xpsprint
1643 enable_xpssvcs
1644 enable_fonts
1645 enable_include
1646 enable_port
1647 enable_wine
1648 enable_wpp
1649 enable_loader
1650 enable_po
1651 enable_arp
1652 enable_aspnet_regiis
1653 enable_attrib
1654 enable_cabarc
1655 enable_cacls
1656 enable_clock
1657 enable_cmd
1658 enable_conhost
1659 enable_control
1660 enable_cscript
1661 enable_dpnsvr
1662 enable_dxdiag
1663 enable_eject
1664 enable_expand
1665 enable_explorer
1666 enable_extrac32
1667 enable_findstr
1668 enable_fsutil
1669 enable_hh
1670 enable_hostname
1671 enable_icacls
1672 enable_icinfo
1673 enable_iexplore
1674 enable_ipconfig
1675 enable_lodctr
1676 enable_mofcomp
1677 enable_mshta
1678 enable_msiexec
1679 enable_msinfo32
1680 enable_net
1681 enable_netsh
1682 enable_netstat
1683 enable_ngen
1684 enable_notepad
1685 enable_oleview
1686 enable_ping
1687 enable_plugplay
1688 enable_powershell
1689 enable_presentationfontcache
1690 enable_progman
1691 enable_reg
1692 enable_regasm
1693 enable_regedit
1694 enable_regsvcs
1695 enable_regsvr32
1696 enable_rpcss
1697 enable_rundll32
1698 enable_sc
1699 enable_schtasks
1700 enable_sdbinst
1701 enable_secedit
1702 enable_servicemodelreg
1703 enable_services
1704 enable_shutdown
1705 enable_spoolsv
1706 enable_start
1707 enable_subst
1708 enable_svchost
1709 enable_systeminfo
1710 enable_taskkill
1711 enable_tasklist
1712 enable_taskmgr
1713 enable_termsv
1714 enable_uninstaller
1715 enable_unlodctr
1716 enable_view
1717 enable_wevtutil
1718 enable_wineboot
1719 enable_winebrowser
1720 enable_winecfg
1721 enable_wineconsole
1722 enable_winedbg
1723 enable_winedevice
1724 enable_winefile
1725 enable_winemenubuilder
1726 enable_winemine
1727 enable_winemsibuilder
1728 enable_winepath
1729 enable_winetest
1730 enable_winhlp32
1731 enable_winmgmt
1732 enable_winver
1733 enable_wmic
1734 enable_wmplayer
1735 enable_wordpad
1736 enable_write
1737 enable_wscript
1738 enable_wusa
1739 enable_xcopy
1740 enable_server
1741 enable_tools
1742 enable_sfnt2fon
1743 enable_widl
1744 enable_winebuild
1745 enable_winedump
1746 enable_winegcc
1747 enable_winemaker
1748 enable_wmc
1749 enable_wrc
1751 ac_precious_vars='build_alias
1752 host_alias
1753 target_alias
1755 CFLAGS
1756 LDFLAGS
1757 LIBS
1758 CPPFLAGS
1760 CXXFLAGS
1763 XMKMF
1764 XML2_CFLAGS
1765 XML2_LIBS
1766 XSLT_CFLAGS
1767 XSLT_LIBS
1768 DBUS_CFLAGS
1769 DBUS_LIBS
1770 HAL_CFLAGS
1771 HAL_LIBS
1772 GNUTLS_CFLAGS
1773 GNUTLS_LIBS
1774 SANE_CFLAGS
1775 SANE_LIBS
1776 GPHOTO2_CFLAGS
1777 GPHOTO2_LIBS
1778 GPHOTO2_PORT_CFLAGS
1779 GPHOTO2_PORT_LIBS
1780 LCMS2_CFLAGS
1781 LCMS2_LIBS
1782 FREETYPE_CFLAGS
1783 FREETYPE_LIBS
1784 PULSE_CFLAGS
1785 PULSE_LIBS
1786 GSTREAMER_CFLAGS
1787 GSTREAMER_LIBS
1788 UDEV_CFLAGS
1789 UDEV_LIBS
1790 SDL2_CFLAGS
1791 SDL2_LIBS
1792 CAPI20_CFLAGS
1793 CAPI20_LIBS
1794 CUPS_CFLAGS
1795 CUPS_LIBS
1796 FONTCONFIG_CFLAGS
1797 FONTCONFIG_LIBS
1798 KRB5_CFLAGS
1799 KRB5_LIBS
1800 GSSAPI_CFLAGS
1801 GSSAPI_LIBS
1802 JPEG_CFLAGS
1803 JPEG_LIBS
1804 PNG_CFLAGS
1805 PNG_LIBS
1806 TIFF_CFLAGS
1807 TIFF_LIBS
1808 MPG123_CFLAGS
1809 MPG123_LIBS
1810 NETAPI_CFLAGS
1811 NETAPI_LIBS
1812 LDAP_CFLAGS
1813 LDAP_LIBS'
1816 # Initialize some variables set by options.
1817 ac_init_help=
1818 ac_init_version=false
1819 ac_unrecognized_opts=
1820 ac_unrecognized_sep=
1821 # The variables have the same names as the options, with
1822 # dashes changed to underlines.
1823 cache_file=/dev/null
1824 exec_prefix=NONE
1825 no_create=
1826 no_recursion=
1827 prefix=NONE
1828 program_prefix=NONE
1829 program_suffix=NONE
1830 program_transform_name=s,x,x,
1831 silent=
1832 site=
1833 srcdir=
1834 verbose=
1835 x_includes=NONE
1836 x_libraries=NONE
1838 # Installation directory options.
1839 # These are left unexpanded so users can "make install exec_prefix=/foo"
1840 # and all the variables that are supposed to be based on exec_prefix
1841 # by default will actually change.
1842 # Use braces instead of parens because sh, perl, etc. also accept them.
1843 # (The list follows the same order as the GNU Coding Standards.)
1844 bindir='${exec_prefix}/bin'
1845 sbindir='${exec_prefix}/sbin'
1846 libexecdir='${exec_prefix}/libexec'
1847 datarootdir='${prefix}/share'
1848 datadir='${datarootdir}'
1849 sysconfdir='${prefix}/etc'
1850 sharedstatedir='${prefix}/com'
1851 localstatedir='${prefix}/var'
1852 runstatedir='${localstatedir}/run'
1853 includedir='${prefix}/include'
1854 oldincludedir='/usr/include'
1855 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1856 infodir='${datarootdir}/info'
1857 htmldir='${docdir}'
1858 dvidir='${docdir}'
1859 pdfdir='${docdir}'
1860 psdir='${docdir}'
1861 libdir='${exec_prefix}/lib'
1862 localedir='${datarootdir}/locale'
1863 mandir='${datarootdir}/man'
1865 ac_prev=
1866 ac_dashdash=
1867 for ac_option
1869 # If the previous option needs an argument, assign it.
1870 if test -n "$ac_prev"; then
1871 eval $ac_prev=\$ac_option
1872 ac_prev=
1873 continue
1876 case $ac_option in
1877 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1878 *=) ac_optarg= ;;
1879 *) ac_optarg=yes ;;
1880 esac
1882 # Accept the important Cygnus configure options, so we can diagnose typos.
1884 case $ac_dashdash$ac_option in
1886 ac_dashdash=yes ;;
1888 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1889 ac_prev=bindir ;;
1890 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1891 bindir=$ac_optarg ;;
1893 -build | --build | --buil | --bui | --bu)
1894 ac_prev=build_alias ;;
1895 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1896 build_alias=$ac_optarg ;;
1898 -cache-file | --cache-file | --cache-fil | --cache-fi \
1899 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1900 ac_prev=cache_file ;;
1901 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1902 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1903 cache_file=$ac_optarg ;;
1905 --config-cache | -C)
1906 cache_file=config.cache ;;
1908 -datadir | --datadir | --datadi | --datad)
1909 ac_prev=datadir ;;
1910 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1911 datadir=$ac_optarg ;;
1913 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1914 | --dataroo | --dataro | --datar)
1915 ac_prev=datarootdir ;;
1916 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1917 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1918 datarootdir=$ac_optarg ;;
1920 -disable-* | --disable-*)
1921 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1922 # Reject names that are not valid shell variable names.
1923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1924 as_fn_error $? "invalid feature name: $ac_useropt"
1925 ac_useropt_orig=$ac_useropt
1926 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1927 case $ac_user_opts in
1929 "enable_$ac_useropt"
1930 "*) ;;
1931 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1932 ac_unrecognized_sep=', ';;
1933 esac
1934 eval enable_$ac_useropt=no ;;
1936 -docdir | --docdir | --docdi | --doc | --do)
1937 ac_prev=docdir ;;
1938 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1939 docdir=$ac_optarg ;;
1941 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1942 ac_prev=dvidir ;;
1943 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1944 dvidir=$ac_optarg ;;
1946 -enable-* | --enable-*)
1947 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1948 # Reject names that are not valid shell variable names.
1949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1950 as_fn_error $? "invalid feature name: $ac_useropt"
1951 ac_useropt_orig=$ac_useropt
1952 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1953 case $ac_user_opts in
1955 "enable_$ac_useropt"
1956 "*) ;;
1957 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1958 ac_unrecognized_sep=', ';;
1959 esac
1960 eval enable_$ac_useropt=\$ac_optarg ;;
1962 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1963 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1964 | --exec | --exe | --ex)
1965 ac_prev=exec_prefix ;;
1966 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1967 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1968 | --exec=* | --exe=* | --ex=*)
1969 exec_prefix=$ac_optarg ;;
1971 -gas | --gas | --ga | --g)
1972 # Obsolete; use --with-gas.
1973 with_gas=yes ;;
1975 -help | --help | --hel | --he | -h)
1976 ac_init_help=long ;;
1977 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1978 ac_init_help=recursive ;;
1979 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1980 ac_init_help=short ;;
1982 -host | --host | --hos | --ho)
1983 ac_prev=host_alias ;;
1984 -host=* | --host=* | --hos=* | --ho=*)
1985 host_alias=$ac_optarg ;;
1987 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1988 ac_prev=htmldir ;;
1989 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1990 | --ht=*)
1991 htmldir=$ac_optarg ;;
1993 -includedir | --includedir | --includedi | --included | --include \
1994 | --includ | --inclu | --incl | --inc)
1995 ac_prev=includedir ;;
1996 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1997 | --includ=* | --inclu=* | --incl=* | --inc=*)
1998 includedir=$ac_optarg ;;
2000 -infodir | --infodir | --infodi | --infod | --info | --inf)
2001 ac_prev=infodir ;;
2002 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2003 infodir=$ac_optarg ;;
2005 -libdir | --libdir | --libdi | --libd)
2006 ac_prev=libdir ;;
2007 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2008 libdir=$ac_optarg ;;
2010 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2011 | --libexe | --libex | --libe)
2012 ac_prev=libexecdir ;;
2013 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2014 | --libexe=* | --libex=* | --libe=*)
2015 libexecdir=$ac_optarg ;;
2017 -localedir | --localedir | --localedi | --localed | --locale)
2018 ac_prev=localedir ;;
2019 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2020 localedir=$ac_optarg ;;
2022 -localstatedir | --localstatedir | --localstatedi | --localstated \
2023 | --localstate | --localstat | --localsta | --localst | --locals)
2024 ac_prev=localstatedir ;;
2025 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2026 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2027 localstatedir=$ac_optarg ;;
2029 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2030 ac_prev=mandir ;;
2031 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2032 mandir=$ac_optarg ;;
2034 -nfp | --nfp | --nf)
2035 # Obsolete; use --without-fp.
2036 with_fp=no ;;
2038 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2039 | --no-cr | --no-c | -n)
2040 no_create=yes ;;
2042 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2043 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2044 no_recursion=yes ;;
2046 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2047 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2048 | --oldin | --oldi | --old | --ol | --o)
2049 ac_prev=oldincludedir ;;
2050 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2051 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2052 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2053 oldincludedir=$ac_optarg ;;
2055 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2056 ac_prev=prefix ;;
2057 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2058 prefix=$ac_optarg ;;
2060 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2061 | --program-pre | --program-pr | --program-p)
2062 ac_prev=program_prefix ;;
2063 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2064 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2065 program_prefix=$ac_optarg ;;
2067 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2068 | --program-suf | --program-su | --program-s)
2069 ac_prev=program_suffix ;;
2070 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2071 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2072 program_suffix=$ac_optarg ;;
2074 -program-transform-name | --program-transform-name \
2075 | --program-transform-nam | --program-transform-na \
2076 | --program-transform-n | --program-transform- \
2077 | --program-transform | --program-transfor \
2078 | --program-transfo | --program-transf \
2079 | --program-trans | --program-tran \
2080 | --progr-tra | --program-tr | --program-t)
2081 ac_prev=program_transform_name ;;
2082 -program-transform-name=* | --program-transform-name=* \
2083 | --program-transform-nam=* | --program-transform-na=* \
2084 | --program-transform-n=* | --program-transform-=* \
2085 | --program-transform=* | --program-transfor=* \
2086 | --program-transfo=* | --program-transf=* \
2087 | --program-trans=* | --program-tran=* \
2088 | --progr-tra=* | --program-tr=* | --program-t=*)
2089 program_transform_name=$ac_optarg ;;
2091 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2092 ac_prev=pdfdir ;;
2093 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2094 pdfdir=$ac_optarg ;;
2096 -psdir | --psdir | --psdi | --psd | --ps)
2097 ac_prev=psdir ;;
2098 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2099 psdir=$ac_optarg ;;
2101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2102 | -silent | --silent | --silen | --sile | --sil)
2103 silent=yes ;;
2105 -runstatedir | --runstatedir | --runstatedi | --runstated \
2106 | --runstate | --runstat | --runsta | --runst | --runs \
2107 | --run | --ru | --r)
2108 ac_prev=runstatedir ;;
2109 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2110 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2111 | --run=* | --ru=* | --r=*)
2112 runstatedir=$ac_optarg ;;
2114 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2115 ac_prev=sbindir ;;
2116 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2117 | --sbi=* | --sb=*)
2118 sbindir=$ac_optarg ;;
2120 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2121 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2122 | --sharedst | --shareds | --shared | --share | --shar \
2123 | --sha | --sh)
2124 ac_prev=sharedstatedir ;;
2125 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2126 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2127 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2128 | --sha=* | --sh=*)
2129 sharedstatedir=$ac_optarg ;;
2131 -site | --site | --sit)
2132 ac_prev=site ;;
2133 -site=* | --site=* | --sit=*)
2134 site=$ac_optarg ;;
2136 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2137 ac_prev=srcdir ;;
2138 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2139 srcdir=$ac_optarg ;;
2141 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2142 | --syscon | --sysco | --sysc | --sys | --sy)
2143 ac_prev=sysconfdir ;;
2144 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2145 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2146 sysconfdir=$ac_optarg ;;
2148 -target | --target | --targe | --targ | --tar | --ta | --t)
2149 ac_prev=target_alias ;;
2150 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2151 target_alias=$ac_optarg ;;
2153 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2154 verbose=yes ;;
2156 -version | --version | --versio | --versi | --vers | -V)
2157 ac_init_version=: ;;
2159 -with-* | --with-*)
2160 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2161 # Reject names that are not valid shell variable names.
2162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2163 as_fn_error $? "invalid package name: $ac_useropt"
2164 ac_useropt_orig=$ac_useropt
2165 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2166 case $ac_user_opts in
2168 "with_$ac_useropt"
2169 "*) ;;
2170 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2171 ac_unrecognized_sep=', ';;
2172 esac
2173 eval with_$ac_useropt=\$ac_optarg ;;
2175 -without-* | --without-*)
2176 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2177 # Reject names that are not valid shell variable names.
2178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2179 as_fn_error $? "invalid package name: $ac_useropt"
2180 ac_useropt_orig=$ac_useropt
2181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2182 case $ac_user_opts in
2184 "with_$ac_useropt"
2185 "*) ;;
2186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2187 ac_unrecognized_sep=', ';;
2188 esac
2189 eval with_$ac_useropt=no ;;
2191 --x)
2192 # Obsolete; use --with-x.
2193 with_x=yes ;;
2195 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2196 | --x-incl | --x-inc | --x-in | --x-i)
2197 ac_prev=x_includes ;;
2198 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2199 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2200 x_includes=$ac_optarg ;;
2202 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2203 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2204 ac_prev=x_libraries ;;
2205 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2206 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2207 x_libraries=$ac_optarg ;;
2209 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2210 Try \`$0 --help' for more information"
2213 *=*)
2214 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2215 # Reject names that are not valid shell variable names.
2216 case $ac_envvar in #(
2217 '' | [0-9]* | *[!_$as_cr_alnum]* )
2218 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2219 esac
2220 eval $ac_envvar=\$ac_optarg
2221 export $ac_envvar ;;
2224 # FIXME: should be removed in autoconf 3.0.
2225 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2226 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2227 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2228 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2231 esac
2232 done
2234 if test -n "$ac_prev"; then
2235 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2236 as_fn_error $? "missing argument to $ac_option"
2239 if test -n "$ac_unrecognized_opts"; then
2240 case $enable_option_checking in
2241 no) ;;
2242 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2243 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2244 esac
2247 # Check all directory arguments for consistency.
2248 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2249 datadir sysconfdir sharedstatedir localstatedir includedir \
2250 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2251 libdir localedir mandir runstatedir
2253 eval ac_val=\$$ac_var
2254 # Remove trailing slashes.
2255 case $ac_val in
2256 */ )
2257 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2258 eval $ac_var=\$ac_val;;
2259 esac
2260 # Be sure to have absolute directory names.
2261 case $ac_val in
2262 [\\/$]* | ?:[\\/]* ) continue;;
2263 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2264 esac
2265 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2266 done
2268 # There might be people who depend on the old broken behavior: `$host'
2269 # used to hold the argument of --host etc.
2270 # FIXME: To remove some day.
2271 build=$build_alias
2272 host=$host_alias
2273 target=$target_alias
2275 # FIXME: To remove some day.
2276 if test "x$host_alias" != x; then
2277 if test "x$build_alias" = x; then
2278 cross_compiling=maybe
2279 elif test "x$build_alias" != "x$host_alias"; then
2280 cross_compiling=yes
2284 ac_tool_prefix=
2285 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2287 test "$silent" = yes && exec 6>/dev/null
2290 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2291 ac_ls_di=`ls -di .` &&
2292 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2293 as_fn_error $? "working directory cannot be determined"
2294 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2295 as_fn_error $? "pwd does not report name of working directory"
2298 # Find the source files, if location was not specified.
2299 if test -z "$srcdir"; then
2300 ac_srcdir_defaulted=yes
2301 # Try the directory containing this script, then the parent directory.
2302 ac_confdir=`$as_dirname -- "$as_myself" ||
2303 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2304 X"$as_myself" : 'X\(//\)[^/]' \| \
2305 X"$as_myself" : 'X\(//\)$' \| \
2306 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2307 $as_echo X"$as_myself" |
2308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2309 s//\1/
2312 /^X\(\/\/\)[^/].*/{
2313 s//\1/
2316 /^X\(\/\/\)$/{
2317 s//\1/
2320 /^X\(\/\).*/{
2321 s//\1/
2324 s/.*/./; q'`
2325 srcdir=$ac_confdir
2326 if test ! -r "$srcdir/$ac_unique_file"; then
2327 srcdir=..
2329 else
2330 ac_srcdir_defaulted=no
2332 if test ! -r "$srcdir/$ac_unique_file"; then
2333 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2334 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2336 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2337 ac_abs_confdir=`(
2338 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2339 pwd)`
2340 # When building in place, set srcdir=.
2341 if test "$ac_abs_confdir" = "$ac_pwd"; then
2342 srcdir=.
2344 # Remove unnecessary trailing slashes from srcdir.
2345 # Double slashes in file names in object file debugging info
2346 # mess up M-x gdb in Emacs.
2347 case $srcdir in
2348 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2349 esac
2350 for ac_var in $ac_precious_vars; do
2351 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2352 eval ac_env_${ac_var}_value=\$${ac_var}
2353 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2354 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2355 done
2358 # Report the --help message.
2360 if test "$ac_init_help" = "long"; then
2361 # Omit some internal or obsolete options to make the list less imposing.
2362 # This message is too long to be a string in the A/UX 3.1 sh.
2363 cat <<_ACEOF
2364 \`configure' configures Wine 3.7 to adapt to many kinds of systems.
2366 Usage: $0 [OPTION]... [VAR=VALUE]...
2368 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2369 VAR=VALUE. See below for descriptions of some of the useful variables.
2371 Defaults for the options are specified in brackets.
2373 Configuration:
2374 -h, --help display this help and exit
2375 --help=short display options specific to this package
2376 --help=recursive display the short help of all the included packages
2377 -V, --version display version information and exit
2378 -q, --quiet, --silent do not print \`checking ...' messages
2379 --cache-file=FILE cache test results in FILE [disabled]
2380 -C, --config-cache alias for \`--cache-file=config.cache'
2381 -n, --no-create do not create output files
2382 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2384 Installation directories:
2385 --prefix=PREFIX install architecture-independent files in PREFIX
2386 [$ac_default_prefix]
2387 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2388 [PREFIX]
2390 By default, \`make install' will install all the files in
2391 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2392 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2393 for instance \`--prefix=\$HOME'.
2395 For better control, use the options below.
2397 Fine tuning of the installation directories:
2398 --bindir=DIR user executables [EPREFIX/bin]
2399 --sbindir=DIR system admin executables [EPREFIX/sbin]
2400 --libexecdir=DIR program executables [EPREFIX/libexec]
2401 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2402 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2403 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2404 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2405 --libdir=DIR object code libraries [EPREFIX/lib]
2406 --includedir=DIR C header files [PREFIX/include]
2407 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2408 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2409 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2410 --infodir=DIR info documentation [DATAROOTDIR/info]
2411 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2412 --mandir=DIR man documentation [DATAROOTDIR/man]
2413 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2414 --htmldir=DIR html documentation [DOCDIR]
2415 --dvidir=DIR dvi documentation [DOCDIR]
2416 --pdfdir=DIR pdf documentation [DOCDIR]
2417 --psdir=DIR ps documentation [DOCDIR]
2418 _ACEOF
2420 cat <<\_ACEOF
2422 X features:
2423 --x-includes=DIR X include files are in DIR
2424 --x-libraries=DIR X library files are in DIR
2426 System types:
2427 --build=BUILD configure for building on BUILD [guessed]
2428 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2429 _ACEOF
2432 if test -n "$ac_init_help"; then
2433 case $ac_init_help in
2434 short | recursive ) echo "Configuration of Wine 3.7:";;
2435 esac
2436 cat <<\_ACEOF
2438 Optional Features:
2439 --disable-option-checking ignore unrecognized --enable/--with options
2440 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2441 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2442 --disable-win16 do not include Win16 support
2443 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2444 binaries)
2445 --disable-tests do not build the regression tests
2446 --enable-maintainer-mode
2447 enable maintainer-specific build rules
2448 --disable-largefile omit support for large files
2450 Optional Packages:
2451 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2452 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2453 --without-alsa do not use the Alsa sound support
2454 --without-capi do not use CAPI (ISDN support)
2455 --without-cms do not use CMS (color management support)
2456 --without-coreaudio do not use the CoreAudio sound support
2457 --without-cups do not use CUPS
2458 --without-curses do not use (n)curses
2459 --without-dbus do not use DBus (dynamic device support)
2460 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2461 --without-fontconfig do not use fontconfig
2462 --without-freetype do not use the FreeType library
2463 --without-gettext do not use gettext
2464 --with-gettextpo use the GetTextPO library to rebuild po files
2465 --without-gphoto do not use gphoto (Digital Camera support)
2466 --without-glu do not use the GLU library
2467 --without-gnutls do not use GnuTLS (schannel support)
2468 --without-gsm do not use libgsm (GSM 06.10 codec support)
2469 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2470 --without-gstreamer do not use GStreamer (codecs support)
2471 --without-hal do not use HAL (dynamic device support)
2472 --without-jpeg do not use JPEG
2473 --without-krb5 do not use krb5 (Kerberos)
2474 --without-ldap do not use LDAP
2475 --without-mpg123 do not use the mpg123 library
2476 --without-netapi do not use the Samba NetAPI library
2477 --without-openal do not use OpenAL
2478 --without-opencl do not use OpenCL
2479 --without-opengl do not use OpenGL
2480 --without-osmesa do not use the OSMesa library
2481 --without-oss do not use the OSS sound support
2482 --without-pcap do not use the Packet Capture library
2483 --without-png do not use PNG
2484 --without-pthread do not use the pthread library
2485 --without-pulse do not use PulseAudio sound support
2486 --without-sane do not use SANE (scanner support)
2487 --without-sdl do not use SDL
2488 --without-tiff do not use TIFF
2489 --without-udev do not use udev (plug and play support)
2490 --without-v4l do not use v4l1 (v4l support)
2491 --without-vulkan do not use Vulkan
2492 --without-xcomposite do not use the Xcomposite extension
2493 --without-xcursor do not use the Xcursor extension
2494 --without-xfixes do not use Xfixes for clipboard change notifications
2495 --without-xinerama do not use Xinerama (multi-monitor support)
2496 --without-xinput do not use the Xinput extension
2497 --without-xinput2 do not use the Xinput 2 extension
2498 --without-xml do not use XML
2499 --without-xrandr do not use Xrandr (resolution changes)
2500 --without-xrender do not use the Xrender extension
2501 --without-xshape do not use the Xshape extension
2502 --without-xshm do not use XShm (shared memory extension)
2503 --without-xslt do not use XSLT
2504 --without-xxf86vm do not use XFree video mode extension
2505 --without-zlib do not use Zlib (data compression)
2506 --with-wine-tools=DIR use Wine tools from directory DIR
2507 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2508 --with-x use the X Window System
2510 Some influential environment variables:
2511 CC C compiler command
2512 CFLAGS C compiler flags
2513 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2514 nonstandard directory <lib dir>
2515 LIBS libraries to pass to the linker, e.g. -l<library>
2516 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2517 you have headers in a nonstandard directory <include dir>
2518 CXX C++ compiler command
2519 CXXFLAGS C++ compiler flags
2520 CPP C preprocessor
2521 XMKMF Path to xmkmf, Makefile generator for X Window System
2522 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2523 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2524 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2525 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2526 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2527 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2528 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2529 HAL_LIBS Linker flags for hal, overriding pkg-config
2530 GNUTLS_CFLAGS
2531 C compiler flags for gnutls, overriding pkg-config
2532 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2533 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2534 SANE_LIBS Linker flags for libsane, overriding pkg-config
2535 GPHOTO2_CFLAGS
2536 C compiler flags for libgphoto2, overriding pkg-config
2537 GPHOTO2_LIBS
2538 Linker flags for libgphoto2, overriding pkg-config
2539 GPHOTO2_PORT_CFLAGS
2540 C compiler flags for libgphoto2_port, overriding pkg-config
2541 GPHOTO2_PORT_LIBS
2542 Linker flags for libgphoto2_port, overriding pkg-config
2543 LCMS2_CFLAGS
2544 C compiler flags for lcms2, overriding pkg-config
2545 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2546 FREETYPE_CFLAGS
2547 C compiler flags for freetype2, overriding pkg-config
2548 FREETYPE_LIBS
2549 Linker flags for freetype2, overriding pkg-config
2550 PULSE_CFLAGS
2551 C compiler flags for libpulse, overriding pkg-config
2552 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2553 GSTREAMER_CFLAGS
2554 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2555 gstreamer-audio-1.0, overriding pkg-config
2556 GSTREAMER_LIBS
2557 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2558 gstreamer-audio-1.0, overriding pkg-config
2559 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2560 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2561 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2562 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2563 CAPI20_CFLAGS
2564 C compiler flags for capi20, overriding pkg-config
2565 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2566 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2567 CUPS_LIBS Linker flags for cups, overriding pkg-config
2568 FONTCONFIG_CFLAGS
2569 C compiler flags for fontconfig, overriding pkg-config
2570 FONTCONFIG_LIBS
2571 Linker flags for fontconfig, overriding pkg-config
2572 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2573 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2574 GSSAPI_CFLAGS
2575 C compiler flags for krb5-gssapi, overriding pkg-config
2576 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2577 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2578 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2579 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2580 PNG_LIBS Linker flags for libpng, overriding pkg-config
2581 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2582 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2583 MPG123_CFLAGS
2584 C compiler flags for libmpg123, overriding pkg-config
2585 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2586 NETAPI_CFLAGS
2587 C compiler flags for netapi, overriding pkg-config
2588 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2589 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2590 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2592 Use these variables to override the choices made by `configure' or to help
2593 it to find libraries and programs with nonstandard names/locations.
2595 Report bugs to <wine-devel@winehq.org>.
2596 Wine home page: <https://www.winehq.org>.
2597 _ACEOF
2598 ac_status=$?
2601 if test "$ac_init_help" = "recursive"; then
2602 # If there are subdirs, report their specific --help.
2603 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2604 test -d "$ac_dir" ||
2605 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2606 continue
2607 ac_builddir=.
2609 case "$ac_dir" in
2610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2612 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2613 # A ".." for each directory in $ac_dir_suffix.
2614 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2615 case $ac_top_builddir_sub in
2616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2618 esac ;;
2619 esac
2620 ac_abs_top_builddir=$ac_pwd
2621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2622 # for backward compatibility:
2623 ac_top_builddir=$ac_top_build_prefix
2625 case $srcdir in
2626 .) # We are building in place.
2627 ac_srcdir=.
2628 ac_top_srcdir=$ac_top_builddir_sub
2629 ac_abs_top_srcdir=$ac_pwd ;;
2630 [\\/]* | ?:[\\/]* ) # Absolute name.
2631 ac_srcdir=$srcdir$ac_dir_suffix;
2632 ac_top_srcdir=$srcdir
2633 ac_abs_top_srcdir=$srcdir ;;
2634 *) # Relative name.
2635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2636 ac_top_srcdir=$ac_top_build_prefix$srcdir
2637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2638 esac
2639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2641 cd "$ac_dir" || { ac_status=$?; continue; }
2642 # Check for guested configure.
2643 if test -f "$ac_srcdir/configure.gnu"; then
2644 echo &&
2645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2646 elif test -f "$ac_srcdir/configure"; then
2647 echo &&
2648 $SHELL "$ac_srcdir/configure" --help=recursive
2649 else
2650 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2651 fi || ac_status=$?
2652 cd "$ac_pwd" || { ac_status=$?; break; }
2653 done
2656 test -n "$ac_init_help" && exit $ac_status
2657 if $ac_init_version; then
2658 cat <<\_ACEOF
2659 Wine configure 3.7
2660 generated by GNU Autoconf 2.69
2662 Copyright (C) 2012 Free Software Foundation, Inc.
2663 This configure script is free software; the Free Software Foundation
2664 gives unlimited permission to copy, distribute and modify it.
2665 _ACEOF
2666 exit
2669 ## ------------------------ ##
2670 ## Autoconf initialization. ##
2671 ## ------------------------ ##
2673 # ac_fn_c_try_compile LINENO
2674 # --------------------------
2675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2676 ac_fn_c_try_compile ()
2678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2679 rm -f conftest.$ac_objext
2680 if { { ac_try="$ac_compile"
2681 case "(($ac_try" in
2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2684 esac
2685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2686 $as_echo "$ac_try_echo"; } >&5
2687 (eval "$ac_compile") 2>conftest.err
2688 ac_status=$?
2689 if test -s conftest.err; then
2690 grep -v '^ *+' conftest.err >conftest.er1
2691 cat conftest.er1 >&5
2692 mv -f conftest.er1 conftest.err
2694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; } && {
2696 test -z "$ac_c_werror_flag" ||
2697 test ! -s conftest.err
2698 } && test -s conftest.$ac_objext; then :
2699 ac_retval=0
2700 else
2701 $as_echo "$as_me: failed program was:" >&5
2702 sed 's/^/| /' conftest.$ac_ext >&5
2704 ac_retval=1
2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2707 as_fn_set_status $ac_retval
2709 } # ac_fn_c_try_compile
2711 # ac_fn_cxx_try_compile LINENO
2712 # ----------------------------
2713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2714 ac_fn_cxx_try_compile ()
2716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2717 rm -f conftest.$ac_objext
2718 if { { ac_try="$ac_compile"
2719 case "(($ac_try" in
2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2721 *) ac_try_echo=$ac_try;;
2722 esac
2723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2724 $as_echo "$ac_try_echo"; } >&5
2725 (eval "$ac_compile") 2>conftest.err
2726 ac_status=$?
2727 if test -s conftest.err; then
2728 grep -v '^ *+' conftest.err >conftest.er1
2729 cat conftest.er1 >&5
2730 mv -f conftest.er1 conftest.err
2732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2733 test $ac_status = 0; } && {
2734 test -z "$ac_cxx_werror_flag" ||
2735 test ! -s conftest.err
2736 } && test -s conftest.$ac_objext; then :
2737 ac_retval=0
2738 else
2739 $as_echo "$as_me: failed program was:" >&5
2740 sed 's/^/| /' conftest.$ac_ext >&5
2742 ac_retval=1
2744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2745 as_fn_set_status $ac_retval
2747 } # ac_fn_cxx_try_compile
2749 # ac_fn_c_try_link LINENO
2750 # -----------------------
2751 # Try to link conftest.$ac_ext, and return whether this succeeded.
2752 ac_fn_c_try_link ()
2754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2755 rm -f conftest.$ac_objext conftest$ac_exeext
2756 if { { ac_try="$ac_link"
2757 case "(($ac_try" in
2758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2759 *) ac_try_echo=$ac_try;;
2760 esac
2761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2762 $as_echo "$ac_try_echo"; } >&5
2763 (eval "$ac_link") 2>conftest.err
2764 ac_status=$?
2765 if test -s conftest.err; then
2766 grep -v '^ *+' conftest.err >conftest.er1
2767 cat conftest.er1 >&5
2768 mv -f conftest.er1 conftest.err
2770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2771 test $ac_status = 0; } && {
2772 test -z "$ac_c_werror_flag" ||
2773 test ! -s conftest.err
2774 } && test -s conftest$ac_exeext && {
2775 test "$cross_compiling" = yes ||
2776 test -x conftest$ac_exeext
2777 }; then :
2778 ac_retval=0
2779 else
2780 $as_echo "$as_me: failed program was:" >&5
2781 sed 's/^/| /' conftest.$ac_ext >&5
2783 ac_retval=1
2785 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2786 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2787 # interfere with the next link command; also delete a directory that is
2788 # left behind by Apple's compiler. We do this before executing the actions.
2789 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2791 as_fn_set_status $ac_retval
2793 } # ac_fn_c_try_link
2795 # ac_fn_c_try_cpp LINENO
2796 # ----------------------
2797 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2798 ac_fn_c_try_cpp ()
2800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2801 if { { ac_try="$ac_cpp conftest.$ac_ext"
2802 case "(($ac_try" in
2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2805 esac
2806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2807 $as_echo "$ac_try_echo"; } >&5
2808 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2809 ac_status=$?
2810 if test -s conftest.err; then
2811 grep -v '^ *+' conftest.err >conftest.er1
2812 cat conftest.er1 >&5
2813 mv -f conftest.er1 conftest.err
2815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2816 test $ac_status = 0; } > conftest.i && {
2817 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2818 test ! -s conftest.err
2819 }; then :
2820 ac_retval=0
2821 else
2822 $as_echo "$as_me: failed program was:" >&5
2823 sed 's/^/| /' conftest.$ac_ext >&5
2825 ac_retval=1
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828 as_fn_set_status $ac_retval
2830 } # ac_fn_c_try_cpp
2832 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2833 # -------------------------------------------------------
2834 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2835 # the include files in INCLUDES and setting the cache variable VAR
2836 # accordingly.
2837 ac_fn_c_check_header_mongrel ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 if eval \${$3+:} false; then :
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2842 $as_echo_n "checking for $2... " >&6; }
2843 if eval \${$3+:} false; then :
2844 $as_echo_n "(cached) " >&6
2846 eval ac_res=\$$3
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2848 $as_echo "$ac_res" >&6; }
2849 else
2850 # Is the header compilable?
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2852 $as_echo_n "checking $2 usability... " >&6; }
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2856 #include <$2>
2857 _ACEOF
2858 if ac_fn_c_try_compile "$LINENO"; then :
2859 ac_header_compiler=yes
2860 else
2861 ac_header_compiler=no
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2865 $as_echo "$ac_header_compiler" >&6; }
2867 # Is the header present?
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2869 $as_echo_n "checking $2 presence... " >&6; }
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2872 #include <$2>
2873 _ACEOF
2874 if ac_fn_c_try_cpp "$LINENO"; then :
2875 ac_header_preproc=yes
2876 else
2877 ac_header_preproc=no
2879 rm -f conftest.err conftest.i conftest.$ac_ext
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2881 $as_echo "$ac_header_preproc" >&6; }
2883 # So? What about this header?
2884 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2885 yes:no: )
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2887 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2889 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2891 no:yes:* )
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2893 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2895 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2897 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2899 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2901 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2902 ( $as_echo "## ------------------------------------ ##
2903 ## Report this to wine-devel@winehq.org ##
2904 ## ------------------------------------ ##"
2905 ) | sed "s/^/$as_me: WARNING: /" >&2
2907 esac
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2909 $as_echo_n "checking for $2... " >&6; }
2910 if eval \${$3+:} false; then :
2911 $as_echo_n "(cached) " >&6
2912 else
2913 eval "$3=\$ac_header_compiler"
2915 eval ac_res=\$$3
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2917 $as_echo "$ac_res" >&6; }
2919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2921 } # ac_fn_c_check_header_mongrel
2923 # ac_fn_c_try_run LINENO
2924 # ----------------------
2925 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2926 # that executables *can* be run.
2927 ac_fn_c_try_run ()
2929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2930 if { { ac_try="$ac_link"
2931 case "(($ac_try" in
2932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933 *) ac_try_echo=$ac_try;;
2934 esac
2935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2936 $as_echo "$ac_try_echo"; } >&5
2937 (eval "$ac_link") 2>&5
2938 ac_status=$?
2939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2940 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2941 { { case "(($ac_try" in
2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2944 esac
2945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2946 $as_echo "$ac_try_echo"; } >&5
2947 (eval "$ac_try") 2>&5
2948 ac_status=$?
2949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2950 test $ac_status = 0; }; }; then :
2951 ac_retval=0
2952 else
2953 $as_echo "$as_me: program exited with status $ac_status" >&5
2954 $as_echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2957 ac_retval=$ac_status
2959 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2961 as_fn_set_status $ac_retval
2963 } # ac_fn_c_try_run
2965 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2966 # -------------------------------------------------------
2967 # Tests whether HEADER exists and can be compiled using the include files in
2968 # INCLUDES, setting the cache variable VAR accordingly.
2969 ac_fn_c_check_header_compile ()
2971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2973 $as_echo_n "checking for $2... " >&6; }
2974 if eval \${$3+:} false; then :
2975 $as_echo_n "(cached) " >&6
2976 else
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2980 #include <$2>
2981 _ACEOF
2982 if ac_fn_c_try_compile "$LINENO"; then :
2983 eval "$3=yes"
2984 else
2985 eval "$3=no"
2987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 eval ac_res=\$$3
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2991 $as_echo "$ac_res" >&6; }
2992 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2994 } # ac_fn_c_check_header_compile
2996 # ac_fn_c_check_func LINENO FUNC VAR
2997 # ----------------------------------
2998 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2999 ac_fn_c_check_func ()
3001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3003 $as_echo_n "checking for $2... " >&6; }
3004 if eval \${$3+:} false; then :
3005 $as_echo_n "(cached) " >&6
3006 else
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3009 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3011 #define $2 innocuous_$2
3013 /* System header to define __stub macros and hopefully few prototypes,
3014 which can conflict with char $2 (); below.
3015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3016 <limits.h> exists even on freestanding compilers. */
3018 #ifdef __STDC__
3019 # include <limits.h>
3020 #else
3021 # include <assert.h>
3022 #endif
3024 #undef $2
3026 /* Override any GCC internal prototype to avoid an error.
3027 Use char because int might match the return type of a GCC
3028 builtin and then its argument prototype would still apply. */
3029 #ifdef __cplusplus
3030 extern "C"
3031 #endif
3032 char $2 ();
3033 /* The GNU C library defines this for functions which it implements
3034 to always fail with ENOSYS. Some functions are actually named
3035 something starting with __ and the normal name is an alias. */
3036 #if defined __stub_$2 || defined __stub___$2
3037 choke me
3038 #endif
3041 main ()
3043 return $2 ();
3045 return 0;
3047 _ACEOF
3048 if ac_fn_c_try_link "$LINENO"; then :
3049 eval "$3=yes"
3050 else
3051 eval "$3=no"
3053 rm -f core conftest.err conftest.$ac_objext \
3054 conftest$ac_exeext conftest.$ac_ext
3056 eval ac_res=\$$3
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3058 $as_echo "$ac_res" >&6; }
3059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3061 } # ac_fn_c_check_func
3063 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3064 # ----------------------------------------------------
3065 # Tries to find if the field MEMBER exists in type AGGR, after including
3066 # INCLUDES, setting cache variable VAR accordingly.
3067 ac_fn_c_check_member ()
3069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3071 $as_echo_n "checking for $2.$3... " >&6; }
3072 if eval \${$4+:} false; then :
3073 $as_echo_n "(cached) " >&6
3074 else
3075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3076 /* end confdefs.h. */
3079 main ()
3081 static $2 ac_aggr;
3082 if (ac_aggr.$3)
3083 return 0;
3085 return 0;
3087 _ACEOF
3088 if ac_fn_c_try_compile "$LINENO"; then :
3089 eval "$4=yes"
3090 else
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3095 main ()
3097 static $2 ac_aggr;
3098 if (sizeof ac_aggr.$3)
3099 return 0;
3101 return 0;
3103 _ACEOF
3104 if ac_fn_c_try_compile "$LINENO"; then :
3105 eval "$4=yes"
3106 else
3107 eval "$4=no"
3109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 eval ac_res=\$$4
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3115 $as_echo "$ac_res" >&6; }
3116 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3118 } # ac_fn_c_check_member
3120 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3121 # -------------------------------------------
3122 # Tests whether TYPE exists after having included INCLUDES, setting cache
3123 # variable VAR accordingly.
3124 ac_fn_c_check_type ()
3126 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3128 $as_echo_n "checking for $2... " >&6; }
3129 if eval \${$3+:} false; then :
3130 $as_echo_n "(cached) " >&6
3131 else
3132 eval "$3=no"
3133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3134 /* end confdefs.h. */
3137 main ()
3139 if (sizeof ($2))
3140 return 0;
3142 return 0;
3144 _ACEOF
3145 if ac_fn_c_try_compile "$LINENO"; then :
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3150 main ()
3152 if (sizeof (($2)))
3153 return 0;
3155 return 0;
3157 _ACEOF
3158 if ac_fn_c_try_compile "$LINENO"; then :
3160 else
3161 eval "$3=yes"
3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3167 eval ac_res=\$$3
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3169 $as_echo "$ac_res" >&6; }
3170 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3172 } # ac_fn_c_check_type
3173 cat >config.log <<_ACEOF
3174 This file contains any messages produced by compilers while
3175 running configure, to aid debugging if configure makes a mistake.
3177 It was created by Wine $as_me 3.7, which was
3178 generated by GNU Autoconf 2.69. Invocation command line was
3180 $ $0 $@
3182 _ACEOF
3183 exec 5>>config.log
3185 cat <<_ASUNAME
3186 ## --------- ##
3187 ## Platform. ##
3188 ## --------- ##
3190 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3191 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3192 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3193 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3194 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3196 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3197 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3199 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3200 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3201 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3202 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3203 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3204 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3205 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3207 _ASUNAME
3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210 for as_dir in $PATH
3212 IFS=$as_save_IFS
3213 test -z "$as_dir" && as_dir=.
3214 $as_echo "PATH: $as_dir"
3215 done
3216 IFS=$as_save_IFS
3218 } >&5
3220 cat >&5 <<_ACEOF
3223 ## ----------- ##
3224 ## Core tests. ##
3225 ## ----------- ##
3227 _ACEOF
3230 # Keep a trace of the command line.
3231 # Strip out --no-create and --no-recursion so they do not pile up.
3232 # Strip out --silent because we don't want to record it for future runs.
3233 # Also quote any args containing shell meta-characters.
3234 # Make two passes to allow for proper duplicate-argument suppression.
3235 ac_configure_args=
3236 ac_configure_args0=
3237 ac_configure_args1=
3238 ac_must_keep_next=false
3239 for ac_pass in 1 2
3241 for ac_arg
3243 case $ac_arg in
3244 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3246 | -silent | --silent | --silen | --sile | --sil)
3247 continue ;;
3248 *\'*)
3249 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3250 esac
3251 case $ac_pass in
3252 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3254 as_fn_append ac_configure_args1 " '$ac_arg'"
3255 if test $ac_must_keep_next = true; then
3256 ac_must_keep_next=false # Got value, back to normal.
3257 else
3258 case $ac_arg in
3259 *=* | --config-cache | -C | -disable-* | --disable-* \
3260 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3261 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3262 | -with-* | --with-* | -without-* | --without-* | --x)
3263 case "$ac_configure_args0 " in
3264 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3265 esac
3267 -* ) ac_must_keep_next=true ;;
3268 esac
3270 as_fn_append ac_configure_args " '$ac_arg'"
3272 esac
3273 done
3274 done
3275 { ac_configure_args0=; unset ac_configure_args0;}
3276 { ac_configure_args1=; unset ac_configure_args1;}
3278 # When interrupted or exit'd, cleanup temporary files, and complete
3279 # config.log. We remove comments because anyway the quotes in there
3280 # would cause problems or look ugly.
3281 # WARNING: Use '\'' to represent an apostrophe within the trap.
3282 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3283 trap 'exit_status=$?
3284 # Save into config.log some information that might help in debugging.
3286 echo
3288 $as_echo "## ---------------- ##
3289 ## Cache variables. ##
3290 ## ---------------- ##"
3291 echo
3292 # The following way of writing the cache mishandles newlines in values,
3294 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3295 eval ac_val=\$$ac_var
3296 case $ac_val in #(
3297 *${as_nl}*)
3298 case $ac_var in #(
3299 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3300 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3301 esac
3302 case $ac_var in #(
3303 _ | IFS | as_nl) ;; #(
3304 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3305 *) { eval $ac_var=; unset $ac_var;} ;;
3306 esac ;;
3307 esac
3308 done
3309 (set) 2>&1 |
3310 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3311 *${as_nl}ac_space=\ *)
3312 sed -n \
3313 "s/'\''/'\''\\\\'\'''\''/g;
3314 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3315 ;; #(
3317 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3319 esac |
3320 sort
3322 echo
3324 $as_echo "## ----------------- ##
3325 ## Output variables. ##
3326 ## ----------------- ##"
3327 echo
3328 for ac_var in $ac_subst_vars
3330 eval ac_val=\$$ac_var
3331 case $ac_val in
3332 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3333 esac
3334 $as_echo "$ac_var='\''$ac_val'\''"
3335 done | sort
3336 echo
3338 if test -n "$ac_subst_files"; then
3339 $as_echo "## ------------------- ##
3340 ## File substitutions. ##
3341 ## ------------------- ##"
3342 echo
3343 for ac_var in $ac_subst_files
3345 eval ac_val=\$$ac_var
3346 case $ac_val in
3347 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3348 esac
3349 $as_echo "$ac_var='\''$ac_val'\''"
3350 done | sort
3351 echo
3354 if test -s confdefs.h; then
3355 $as_echo "## ----------- ##
3356 ## confdefs.h. ##
3357 ## ----------- ##"
3358 echo
3359 cat confdefs.h
3360 echo
3362 test "$ac_signal" != 0 &&
3363 $as_echo "$as_me: caught signal $ac_signal"
3364 $as_echo "$as_me: exit $exit_status"
3365 } >&5
3366 rm -f core *.core core.conftest.* &&
3367 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3368 exit $exit_status
3370 for ac_signal in 1 2 13 15; do
3371 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3372 done
3373 ac_signal=0
3375 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3376 rm -f -r conftest* confdefs.h
3378 $as_echo "/* confdefs.h */" > confdefs.h
3380 # Predefined preprocessor variables.
3382 cat >>confdefs.h <<_ACEOF
3383 #define PACKAGE_NAME "$PACKAGE_NAME"
3384 _ACEOF
3386 cat >>confdefs.h <<_ACEOF
3387 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3388 _ACEOF
3390 cat >>confdefs.h <<_ACEOF
3391 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3392 _ACEOF
3394 cat >>confdefs.h <<_ACEOF
3395 #define PACKAGE_STRING "$PACKAGE_STRING"
3396 _ACEOF
3398 cat >>confdefs.h <<_ACEOF
3399 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3400 _ACEOF
3402 cat >>confdefs.h <<_ACEOF
3403 #define PACKAGE_URL "$PACKAGE_URL"
3404 _ACEOF
3407 # Let the site file select an alternate cache file if it wants to.
3408 # Prefer an explicitly selected file to automatically selected ones.
3409 ac_site_file1=NONE
3410 ac_site_file2=NONE
3411 if test -n "$CONFIG_SITE"; then
3412 # We do not want a PATH search for config.site.
3413 case $CONFIG_SITE in #((
3414 -*) ac_site_file1=./$CONFIG_SITE;;
3415 */*) ac_site_file1=$CONFIG_SITE;;
3416 *) ac_site_file1=./$CONFIG_SITE;;
3417 esac
3418 elif test "x$prefix" != xNONE; then
3419 ac_site_file1=$prefix/share/config.site
3420 ac_site_file2=$prefix/etc/config.site
3421 else
3422 ac_site_file1=$ac_default_prefix/share/config.site
3423 ac_site_file2=$ac_default_prefix/etc/config.site
3425 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3427 test "x$ac_site_file" = xNONE && continue
3428 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3430 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3431 sed 's/^/| /' "$ac_site_file" >&5
3432 . "$ac_site_file" \
3433 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3435 as_fn_error $? "failed to load site script $ac_site_file
3436 See \`config.log' for more details" "$LINENO" 5; }
3438 done
3440 if test -r "$cache_file"; then
3441 # Some versions of bash will fail to source /dev/null (special files
3442 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3443 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3445 $as_echo "$as_me: loading cache $cache_file" >&6;}
3446 case $cache_file in
3447 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3448 *) . "./$cache_file";;
3449 esac
3451 else
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3453 $as_echo "$as_me: creating cache $cache_file" >&6;}
3454 >$cache_file
3457 # Check that the precious variables saved in the cache have kept the same
3458 # value.
3459 ac_cache_corrupted=false
3460 for ac_var in $ac_precious_vars; do
3461 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3462 eval ac_new_set=\$ac_env_${ac_var}_set
3463 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3464 eval ac_new_val=\$ac_env_${ac_var}_value
3465 case $ac_old_set,$ac_new_set in
3466 set,)
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3468 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3469 ac_cache_corrupted=: ;;
3470 ,set)
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3472 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3473 ac_cache_corrupted=: ;;
3474 ,);;
3476 if test "x$ac_old_val" != "x$ac_new_val"; then
3477 # differences in whitespace do not lead to failure.
3478 ac_old_val_w=`echo x $ac_old_val`
3479 ac_new_val_w=`echo x $ac_new_val`
3480 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3482 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3483 ac_cache_corrupted=:
3484 else
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3486 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3487 eval $ac_var=\$ac_old_val
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3490 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3492 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3493 fi;;
3494 esac
3495 # Pass precious variables to config.status.
3496 if test "$ac_new_set" = set; then
3497 case $ac_new_val in
3498 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3499 *) ac_arg=$ac_var=$ac_new_val ;;
3500 esac
3501 case " $ac_configure_args " in
3502 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3503 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3504 esac
3506 done
3507 if $ac_cache_corrupted; then
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3511 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3512 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3514 ## -------------------- ##
3515 ## Main body of script. ##
3516 ## -------------------- ##
3518 ac_ext=c
3519 ac_cpp='$CPP $CPPFLAGS'
3520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3526 ac_config_headers="$ac_config_headers include/config.h"
3528 ac_aux_dir=
3529 for ac_dir in tools "$srcdir"/tools; do
3530 if test -f "$ac_dir/install-sh"; then
3531 ac_aux_dir=$ac_dir
3532 ac_install_sh="$ac_aux_dir/install-sh -c"
3533 break
3534 elif test -f "$ac_dir/install.sh"; then
3535 ac_aux_dir=$ac_dir
3536 ac_install_sh="$ac_aux_dir/install.sh -c"
3537 break
3538 elif test -f "$ac_dir/shtool"; then
3539 ac_aux_dir=$ac_dir
3540 ac_install_sh="$ac_aux_dir/shtool install -c"
3541 break
3543 done
3544 if test -z "$ac_aux_dir"; then
3545 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3548 # These three variables are undocumented and unsupported,
3549 # and are intended to be withdrawn in a future Autoconf release.
3550 # They can cause serious problems if a builder's source tree is in a directory
3551 # whose full name contains unusual characters.
3552 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3553 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3554 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3558 libwine_version="1.0"
3562 # Check whether --enable-win16 was given.
3563 if test "${enable_win16+set}" = set; then :
3564 enableval=$enable_win16;
3567 # Check whether --enable-win64 was given.
3568 if test "${enable_win64+set}" = set; then :
3569 enableval=$enable_win64;
3572 # Check whether --enable-tests was given.
3573 if test "${enable_tests+set}" = set; then :
3574 enableval=$enable_tests;
3577 # Check whether --enable-maintainer-mode was given.
3578 if test "${enable_maintainer_mode+set}" = set; then :
3579 enableval=$enable_maintainer_mode;
3584 # Check whether --with-alsa was given.
3585 if test "${with_alsa+set}" = set; then :
3586 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3590 # Check whether --with-capi was given.
3591 if test "${with_capi+set}" = set; then :
3592 withval=$with_capi;
3596 # Check whether --with-cms was given.
3597 if test "${with_cms+set}" = set; then :
3598 withval=$with_cms;
3602 # Check whether --with-coreaudio was given.
3603 if test "${with_coreaudio+set}" = set; then :
3604 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3608 # Check whether --with-cups was given.
3609 if test "${with_cups+set}" = set; then :
3610 withval=$with_cups;
3614 # Check whether --with-curses was given.
3615 if test "${with_curses+set}" = set; then :
3616 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3620 # Check whether --with-dbus was given.
3621 if test "${with_dbus+set}" = set; then :
3622 withval=$with_dbus;
3626 # Check whether --with-float-abi was given.
3627 if test "${with_float_abi+set}" = set; then :
3628 withval=$with_float_abi;
3632 # Check whether --with-fontconfig was given.
3633 if test "${with_fontconfig+set}" = set; then :
3634 withval=$with_fontconfig;
3638 # Check whether --with-freetype was given.
3639 if test "${with_freetype+set}" = set; then :
3640 withval=$with_freetype;
3644 # Check whether --with-gettext was given.
3645 if test "${with_gettext+set}" = set; then :
3646 withval=$with_gettext;
3650 # Check whether --with-gettextpo was given.
3651 if test "${with_gettextpo+set}" = set; then :
3652 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3656 # Check whether --with-gphoto was given.
3657 if test "${with_gphoto+set}" = set; then :
3658 withval=$with_gphoto;
3662 # Check whether --with-glu was given.
3663 if test "${with_glu+set}" = set; then :
3664 withval=$with_glu;
3668 # Check whether --with-gnutls was given.
3669 if test "${with_gnutls+set}" = set; then :
3670 withval=$with_gnutls;
3674 # Check whether --with-gsm was given.
3675 if test "${with_gsm+set}" = set; then :
3676 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3680 # Check whether --with-gssapi was given.
3681 if test "${with_gssapi+set}" = set; then :
3682 withval=$with_gssapi;
3686 # Check whether --with-gstreamer was given.
3687 if test "${with_gstreamer+set}" = set; then :
3688 withval=$with_gstreamer;
3692 # Check whether --with-hal was given.
3693 if test "${with_hal+set}" = set; then :
3694 withval=$with_hal;
3698 # Check whether --with-jpeg was given.
3699 if test "${with_jpeg+set}" = set; then :
3700 withval=$with_jpeg;
3704 # Check whether --with-krb5 was given.
3705 if test "${with_krb5+set}" = set; then :
3706 withval=$with_krb5;
3710 # Check whether --with-ldap was given.
3711 if test "${with_ldap+set}" = set; then :
3712 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3716 # Check whether --with-mpg123 was given.
3717 if test "${with_mpg123+set}" = set; then :
3718 withval=$with_mpg123;
3722 # Check whether --with-netapi was given.
3723 if test "${with_netapi+set}" = set; then :
3724 withval=$with_netapi;
3728 # Check whether --with-openal was given.
3729 if test "${with_openal+set}" = set; then :
3730 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3734 # Check whether --with-opencl was given.
3735 if test "${with_opencl+set}" = set; then :
3736 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3740 # Check whether --with-opengl was given.
3741 if test "${with_opengl+set}" = set; then :
3742 withval=$with_opengl;
3746 # Check whether --with-osmesa was given.
3747 if test "${with_osmesa+set}" = set; then :
3748 withval=$with_osmesa;
3752 # Check whether --with-oss was given.
3753 if test "${with_oss+set}" = set; then :
3754 withval=$with_oss;
3758 # Check whether --with-pcap was given.
3759 if test "${with_pcap+set}" = set; then :
3760 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3764 # Check whether --with-png was given.
3765 if test "${with_png+set}" = set; then :
3766 withval=$with_png;
3770 # Check whether --with-pthread was given.
3771 if test "${with_pthread+set}" = set; then :
3772 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3776 # Check whether --with-pulse was given.
3777 if test "${with_pulse+set}" = set; then :
3778 withval=$with_pulse;
3782 # Check whether --with-sane was given.
3783 if test "${with_sane+set}" = set; then :
3784 withval=$with_sane;
3788 # Check whether --with-sdl was given.
3789 if test "${with_sdl+set}" = set; then :
3790 withval=$with_sdl;
3794 # Check whether --with-tiff was given.
3795 if test "${with_tiff+set}" = set; then :
3796 withval=$with_tiff;
3800 # Check whether --with-udev was given.
3801 if test "${with_udev+set}" = set; then :
3802 withval=$with_udev;
3806 # Check whether --with-v4l was given.
3807 if test "${with_v4l+set}" = set; then :
3808 withval=$with_v4l;
3812 # Check whether --with-vulkan was given.
3813 if test "${with_vulkan+set}" = set; then :
3814 withval=$with_vulkan;
3818 # Check whether --with-xcomposite was given.
3819 if test "${with_xcomposite+set}" = set; then :
3820 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3824 # Check whether --with-xcursor was given.
3825 if test "${with_xcursor+set}" = set; then :
3826 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3830 # Check whether --with-xfixes was given.
3831 if test "${with_xfixes+set}" = set; then :
3832 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3836 # Check whether --with-xinerama was given.
3837 if test "${with_xinerama+set}" = set; then :
3838 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3842 # Check whether --with-xinput was given.
3843 if test "${with_xinput+set}" = set; then :
3844 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3848 # Check whether --with-xinput2 was given.
3849 if test "${with_xinput2+set}" = set; then :
3850 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3854 # Check whether --with-xml was given.
3855 if test "${with_xml+set}" = set; then :
3856 withval=$with_xml;
3860 # Check whether --with-xrandr was given.
3861 if test "${with_xrandr+set}" = set; then :
3862 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3866 # Check whether --with-xrender was given.
3867 if test "${with_xrender+set}" = set; then :
3868 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3872 # Check whether --with-xshape was given.
3873 if test "${with_xshape+set}" = set; then :
3874 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3878 # Check whether --with-xshm was given.
3879 if test "${with_xshm+set}" = set; then :
3880 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3884 # Check whether --with-xslt was given.
3885 if test "${with_xslt+set}" = set; then :
3886 withval=$with_xslt;
3890 # Check whether --with-xxf86vm was given.
3891 if test "${with_xxf86vm+set}" = set; then :
3892 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
3896 # Check whether --with-zlib was given.
3897 if test "${with_zlib+set}" = set; then :
3898 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3903 # Check whether --with-wine-tools was given.
3904 if test "${with_wine_tools+set}" = set; then :
3905 withval=$with_wine_tools;
3909 # Check whether --with-wine64 was given.
3910 if test "${with_wine64+set}" = set; then :
3911 withval=$with_wine64;
3915 # Make sure we can run config.sub.
3916 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3917 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3920 $as_echo_n "checking build system type... " >&6; }
3921 if ${ac_cv_build+:} false; then :
3922 $as_echo_n "(cached) " >&6
3923 else
3924 ac_build_alias=$build_alias
3925 test "x$ac_build_alias" = x &&
3926 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3927 test "x$ac_build_alias" = x &&
3928 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3929 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3930 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3934 $as_echo "$ac_cv_build" >&6; }
3935 case $ac_cv_build in
3936 *-*-*) ;;
3937 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3938 esac
3939 build=$ac_cv_build
3940 ac_save_IFS=$IFS; IFS='-'
3941 set x $ac_cv_build
3942 shift
3943 build_cpu=$1
3944 build_vendor=$2
3945 shift; shift
3946 # Remember, the first character of IFS is used to create $*,
3947 # except with old shells:
3948 build_os=$*
3949 IFS=$ac_save_IFS
3950 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3954 $as_echo_n "checking host system type... " >&6; }
3955 if ${ac_cv_host+:} false; then :
3956 $as_echo_n "(cached) " >&6
3957 else
3958 if test "x$host_alias" = x; then
3959 ac_cv_host=$ac_cv_build
3960 else
3961 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3962 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3967 $as_echo "$ac_cv_host" >&6; }
3968 case $ac_cv_host in
3969 *-*-*) ;;
3970 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3971 esac
3972 host=$ac_cv_host
3973 ac_save_IFS=$IFS; IFS='-'
3974 set x $ac_cv_host
3975 shift
3976 host_cpu=$1
3977 host_vendor=$2
3978 shift; shift
3979 # Remember, the first character of IFS is used to create $*,
3980 # except with old shells:
3981 host_os=$*
3982 IFS=$ac_save_IFS
3983 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3987 case "$srcdir" in
3988 .) ;;
3989 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3990 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3991 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3992 fi ;;
3993 esac
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3997 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3998 set x ${MAKE-make}
3999 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4000 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4001 $as_echo_n "(cached) " >&6
4002 else
4003 cat >conftest.make <<\_ACEOF
4004 SHELL = /bin/sh
4005 all:
4006 @echo '@@@%%%=$(MAKE)=@@@%%%'
4007 _ACEOF
4008 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4009 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4010 *@@@%%%=?*=@@@%%%*)
4011 eval ac_cv_prog_make_${ac_make}_set=yes;;
4013 eval ac_cv_prog_make_${ac_make}_set=no;;
4014 esac
4015 rm -f conftest.make
4017 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4019 $as_echo "yes" >&6; }
4020 SET_MAKE=
4021 else
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4024 SET_MAKE="MAKE=${MAKE-make}"
4027 ac_ext=c
4028 ac_cpp='$CPP $CPPFLAGS'
4029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4032 if test -n "$ac_tool_prefix"; then
4033 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4034 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4036 $as_echo_n "checking for $ac_word... " >&6; }
4037 if ${ac_cv_prog_CC+:} false; then :
4038 $as_echo_n "(cached) " >&6
4039 else
4040 if test -n "$CC"; then
4041 ac_cv_prog_CC="$CC" # Let the user override the test.
4042 else
4043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4044 for as_dir in $PATH
4046 IFS=$as_save_IFS
4047 test -z "$as_dir" && as_dir=.
4048 for ac_exec_ext in '' $ac_executable_extensions; do
4049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4050 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4052 break 2
4054 done
4055 done
4056 IFS=$as_save_IFS
4060 CC=$ac_cv_prog_CC
4061 if test -n "$CC"; then
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4063 $as_echo "$CC" >&6; }
4064 else
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4066 $as_echo "no" >&6; }
4071 if test -z "$ac_cv_prog_CC"; then
4072 ac_ct_CC=$CC
4073 # Extract the first word of "gcc", so it can be a program name with args.
4074 set dummy gcc; ac_word=$2
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4076 $as_echo_n "checking for $ac_word... " >&6; }
4077 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4078 $as_echo_n "(cached) " >&6
4079 else
4080 if test -n "$ac_ct_CC"; then
4081 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4082 else
4083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4084 for as_dir in $PATH
4086 IFS=$as_save_IFS
4087 test -z "$as_dir" && as_dir=.
4088 for ac_exec_ext in '' $ac_executable_extensions; do
4089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4090 ac_cv_prog_ac_ct_CC="gcc"
4091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4092 break 2
4094 done
4095 done
4096 IFS=$as_save_IFS
4100 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4101 if test -n "$ac_ct_CC"; then
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4103 $as_echo "$ac_ct_CC" >&6; }
4104 else
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4106 $as_echo "no" >&6; }
4109 if test "x$ac_ct_CC" = x; then
4110 CC=""
4111 else
4112 case $cross_compiling:$ac_tool_warned in
4113 yes:)
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4116 ac_tool_warned=yes ;;
4117 esac
4118 CC=$ac_ct_CC
4120 else
4121 CC="$ac_cv_prog_CC"
4124 if test -z "$CC"; then
4125 if test -n "$ac_tool_prefix"; then
4126 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4127 set dummy ${ac_tool_prefix}cc; ac_word=$2
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4129 $as_echo_n "checking for $ac_word... " >&6; }
4130 if ${ac_cv_prog_CC+:} false; then :
4131 $as_echo_n "(cached) " >&6
4132 else
4133 if test -n "$CC"; then
4134 ac_cv_prog_CC="$CC" # Let the user override the test.
4135 else
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 for as_dir in $PATH
4139 IFS=$as_save_IFS
4140 test -z "$as_dir" && as_dir=.
4141 for ac_exec_ext in '' $ac_executable_extensions; do
4142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4143 ac_cv_prog_CC="${ac_tool_prefix}cc"
4144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 break 2
4147 done
4148 done
4149 IFS=$as_save_IFS
4153 CC=$ac_cv_prog_CC
4154 if test -n "$CC"; then
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4156 $as_echo "$CC" >&6; }
4157 else
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4159 $as_echo "no" >&6; }
4165 if test -z "$CC"; then
4166 # Extract the first word of "cc", so it can be a program name with args.
4167 set dummy cc; ac_word=$2
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4169 $as_echo_n "checking for $ac_word... " >&6; }
4170 if ${ac_cv_prog_CC+:} false; then :
4171 $as_echo_n "(cached) " >&6
4172 else
4173 if test -n "$CC"; then
4174 ac_cv_prog_CC="$CC" # Let the user override the test.
4175 else
4176 ac_prog_rejected=no
4177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4178 for as_dir in $PATH
4180 IFS=$as_save_IFS
4181 test -z "$as_dir" && as_dir=.
4182 for ac_exec_ext in '' $ac_executable_extensions; do
4183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4185 ac_prog_rejected=yes
4186 continue
4188 ac_cv_prog_CC="cc"
4189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4190 break 2
4192 done
4193 done
4194 IFS=$as_save_IFS
4196 if test $ac_prog_rejected = yes; then
4197 # We found a bogon in the path, so make sure we never use it.
4198 set dummy $ac_cv_prog_CC
4199 shift
4200 if test $# != 0; then
4201 # We chose a different compiler from the bogus one.
4202 # However, it has the same basename, so the bogon will be chosen
4203 # first if we set CC to just the basename; use the full file name.
4204 shift
4205 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4210 CC=$ac_cv_prog_CC
4211 if test -n "$CC"; then
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4213 $as_echo "$CC" >&6; }
4214 else
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216 $as_echo "no" >&6; }
4221 if test -z "$CC"; then
4222 if test -n "$ac_tool_prefix"; then
4223 for ac_prog in cl.exe
4225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4228 $as_echo_n "checking for $ac_word... " >&6; }
4229 if ${ac_cv_prog_CC+:} false; then :
4230 $as_echo_n "(cached) " >&6
4231 else
4232 if test -n "$CC"; then
4233 ac_cv_prog_CC="$CC" # Let the user override the test.
4234 else
4235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4236 for as_dir in $PATH
4238 IFS=$as_save_IFS
4239 test -z "$as_dir" && as_dir=.
4240 for ac_exec_ext in '' $ac_executable_extensions; do
4241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4242 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4244 break 2
4246 done
4247 done
4248 IFS=$as_save_IFS
4252 CC=$ac_cv_prog_CC
4253 if test -n "$CC"; then
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4255 $as_echo "$CC" >&6; }
4256 else
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4258 $as_echo "no" >&6; }
4262 test -n "$CC" && break
4263 done
4265 if test -z "$CC"; then
4266 ac_ct_CC=$CC
4267 for ac_prog in cl.exe
4269 # Extract the first word of "$ac_prog", so it can be a program name with args.
4270 set dummy $ac_prog; ac_word=$2
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4272 $as_echo_n "checking for $ac_word... " >&6; }
4273 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4274 $as_echo_n "(cached) " >&6
4275 else
4276 if test -n "$ac_ct_CC"; then
4277 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4278 else
4279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280 for as_dir in $PATH
4282 IFS=$as_save_IFS
4283 test -z "$as_dir" && as_dir=.
4284 for ac_exec_ext in '' $ac_executable_extensions; do
4285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4286 ac_cv_prog_ac_ct_CC="$ac_prog"
4287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4288 break 2
4290 done
4291 done
4292 IFS=$as_save_IFS
4296 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4297 if test -n "$ac_ct_CC"; then
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4299 $as_echo "$ac_ct_CC" >&6; }
4300 else
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4302 $as_echo "no" >&6; }
4306 test -n "$ac_ct_CC" && break
4307 done
4309 if test "x$ac_ct_CC" = x; then
4310 CC=""
4311 else
4312 case $cross_compiling:$ac_tool_warned in
4313 yes:)
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4316 ac_tool_warned=yes ;;
4317 esac
4318 CC=$ac_ct_CC
4325 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4327 as_fn_error $? "no acceptable C compiler found in \$PATH
4328 See \`config.log' for more details" "$LINENO" 5; }
4330 # Provide some information about the compiler.
4331 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4332 set X $ac_compile
4333 ac_compiler=$2
4334 for ac_option in --version -v -V -qversion; do
4335 { { ac_try="$ac_compiler $ac_option >&5"
4336 case "(($ac_try" in
4337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4338 *) ac_try_echo=$ac_try;;
4339 esac
4340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4341 $as_echo "$ac_try_echo"; } >&5
4342 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4343 ac_status=$?
4344 if test -s conftest.err; then
4345 sed '10a\
4346 ... rest of stderr output deleted ...
4347 10q' conftest.err >conftest.er1
4348 cat conftest.er1 >&5
4350 rm -f conftest.er1 conftest.err
4351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4352 test $ac_status = 0; }
4353 done
4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4359 main ()
4363 return 0;
4365 _ACEOF
4366 ac_clean_files_save=$ac_clean_files
4367 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4368 # Try to create an executable without -o first, disregard a.out.
4369 # It will help us diagnose broken compilers, and finding out an intuition
4370 # of exeext.
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4372 $as_echo_n "checking whether the C compiler works... " >&6; }
4373 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4375 # The possible output files:
4376 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4378 ac_rmfiles=
4379 for ac_file in $ac_files
4381 case $ac_file in
4382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4383 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4384 esac
4385 done
4386 rm -f $ac_rmfiles
4388 if { { ac_try="$ac_link_default"
4389 case "(($ac_try" in
4390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4392 esac
4393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4394 $as_echo "$ac_try_echo"; } >&5
4395 (eval "$ac_link_default") 2>&5
4396 ac_status=$?
4397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4398 test $ac_status = 0; }; then :
4399 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4400 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4401 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4402 # so that the user can short-circuit this test for compilers unknown to
4403 # Autoconf.
4404 for ac_file in $ac_files ''
4406 test -f "$ac_file" || continue
4407 case $ac_file in
4408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4410 [ab].out )
4411 # We found the default executable, but exeext='' is most
4412 # certainly right.
4413 break;;
4414 *.* )
4415 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4416 then :; else
4417 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4419 # We set ac_cv_exeext here because the later test for it is not
4420 # safe: cross compilers may not add the suffix if given an `-o'
4421 # argument, so we may need to know it at that point already.
4422 # Even if this section looks crufty: it has the advantage of
4423 # actually working.
4424 break;;
4426 break;;
4427 esac
4428 done
4429 test "$ac_cv_exeext" = no && ac_cv_exeext=
4431 else
4432 ac_file=''
4434 if test -z "$ac_file"; then :
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436 $as_echo "no" >&6; }
4437 $as_echo "$as_me: failed program was:" >&5
4438 sed 's/^/| /' conftest.$ac_ext >&5
4440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4442 as_fn_error 77 "C compiler cannot create executables
4443 See \`config.log' for more details" "$LINENO" 5; }
4444 else
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4446 $as_echo "yes" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4449 $as_echo_n "checking for C compiler default output file name... " >&6; }
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4451 $as_echo "$ac_file" >&6; }
4452 ac_exeext=$ac_cv_exeext
4454 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4455 ac_clean_files=$ac_clean_files_save
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4457 $as_echo_n "checking for suffix of executables... " >&6; }
4458 if { { ac_try="$ac_link"
4459 case "(($ac_try" in
4460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4461 *) ac_try_echo=$ac_try;;
4462 esac
4463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4464 $as_echo "$ac_try_echo"; } >&5
4465 (eval "$ac_link") 2>&5
4466 ac_status=$?
4467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4468 test $ac_status = 0; }; then :
4469 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4470 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4471 # work properly (i.e., refer to `conftest.exe'), while it won't with
4472 # `rm'.
4473 for ac_file in conftest.exe conftest conftest.*; do
4474 test -f "$ac_file" || continue
4475 case $ac_file in
4476 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4477 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4478 break;;
4479 * ) break;;
4480 esac
4481 done
4482 else
4483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4485 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4486 See \`config.log' for more details" "$LINENO" 5; }
4488 rm -f conftest conftest$ac_cv_exeext
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4490 $as_echo "$ac_cv_exeext" >&6; }
4492 rm -f conftest.$ac_ext
4493 EXEEXT=$ac_cv_exeext
4494 ac_exeext=$EXEEXT
4495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4496 /* end confdefs.h. */
4497 #include <stdio.h>
4499 main ()
4501 FILE *f = fopen ("conftest.out", "w");
4502 return ferror (f) || fclose (f) != 0;
4505 return 0;
4507 _ACEOF
4508 ac_clean_files="$ac_clean_files conftest.out"
4509 # Check that the compiler produces executables we can run. If not, either
4510 # the compiler is broken, or we cross compile.
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4512 $as_echo_n "checking whether we are cross compiling... " >&6; }
4513 if test "$cross_compiling" != yes; then
4514 { { ac_try="$ac_link"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4520 $as_echo "$ac_try_echo"; } >&5
4521 (eval "$ac_link") 2>&5
4522 ac_status=$?
4523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4524 test $ac_status = 0; }
4525 if { ac_try='./conftest$ac_cv_exeext'
4526 { { case "(($ac_try" in
4527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4528 *) ac_try_echo=$ac_try;;
4529 esac
4530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4531 $as_echo "$ac_try_echo"; } >&5
4532 (eval "$ac_try") 2>&5
4533 ac_status=$?
4534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4535 test $ac_status = 0; }; }; then
4536 cross_compiling=no
4537 else
4538 if test "$cross_compiling" = maybe; then
4539 cross_compiling=yes
4540 else
4541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4543 as_fn_error $? "cannot run C compiled programs.
4544 If you meant to cross compile, use \`--host'.
4545 See \`config.log' for more details" "$LINENO" 5; }
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4550 $as_echo "$cross_compiling" >&6; }
4552 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4553 ac_clean_files=$ac_clean_files_save
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4555 $as_echo_n "checking for suffix of object files... " >&6; }
4556 if ${ac_cv_objext+:} false; then :
4557 $as_echo_n "(cached) " >&6
4558 else
4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4563 main ()
4567 return 0;
4569 _ACEOF
4570 rm -f conftest.o conftest.obj
4571 if { { ac_try="$ac_compile"
4572 case "(($ac_try" in
4573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4574 *) ac_try_echo=$ac_try;;
4575 esac
4576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4577 $as_echo "$ac_try_echo"; } >&5
4578 (eval "$ac_compile") 2>&5
4579 ac_status=$?
4580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4581 test $ac_status = 0; }; then :
4582 for ac_file in conftest.o conftest.obj conftest.*; do
4583 test -f "$ac_file" || continue;
4584 case $ac_file in
4585 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4586 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4587 break;;
4588 esac
4589 done
4590 else
4591 $as_echo "$as_me: failed program was:" >&5
4592 sed 's/^/| /' conftest.$ac_ext >&5
4594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4596 as_fn_error $? "cannot compute suffix of object files: cannot compile
4597 See \`config.log' for more details" "$LINENO" 5; }
4599 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4602 $as_echo "$ac_cv_objext" >&6; }
4603 OBJEXT=$ac_cv_objext
4604 ac_objext=$OBJEXT
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4606 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4607 if ${ac_cv_c_compiler_gnu+:} false; then :
4608 $as_echo_n "(cached) " >&6
4609 else
4610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4614 main ()
4616 #ifndef __GNUC__
4617 choke me
4618 #endif
4621 return 0;
4623 _ACEOF
4624 if ac_fn_c_try_compile "$LINENO"; then :
4625 ac_compiler_gnu=yes
4626 else
4627 ac_compiler_gnu=no
4629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4630 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4634 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4635 if test $ac_compiler_gnu = yes; then
4636 GCC=yes
4637 else
4638 GCC=
4640 ac_test_CFLAGS=${CFLAGS+set}
4641 ac_save_CFLAGS=$CFLAGS
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4643 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4644 if ${ac_cv_prog_cc_g+:} false; then :
4645 $as_echo_n "(cached) " >&6
4646 else
4647 ac_save_c_werror_flag=$ac_c_werror_flag
4648 ac_c_werror_flag=yes
4649 ac_cv_prog_cc_g=no
4650 CFLAGS="-g"
4651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4652 /* end confdefs.h. */
4655 main ()
4659 return 0;
4661 _ACEOF
4662 if ac_fn_c_try_compile "$LINENO"; then :
4663 ac_cv_prog_cc_g=yes
4664 else
4665 CFLAGS=""
4666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667 /* end confdefs.h. */
4670 main ()
4674 return 0;
4676 _ACEOF
4677 if ac_fn_c_try_compile "$LINENO"; then :
4679 else
4680 ac_c_werror_flag=$ac_save_c_werror_flag
4681 CFLAGS="-g"
4682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4686 main ()
4690 return 0;
4692 _ACEOF
4693 if ac_fn_c_try_compile "$LINENO"; then :
4694 ac_cv_prog_cc_g=yes
4696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4701 ac_c_werror_flag=$ac_save_c_werror_flag
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4704 $as_echo "$ac_cv_prog_cc_g" >&6; }
4705 if test "$ac_test_CFLAGS" = set; then
4706 CFLAGS=$ac_save_CFLAGS
4707 elif test $ac_cv_prog_cc_g = yes; then
4708 if test "$GCC" = yes; then
4709 CFLAGS="-g -O2"
4710 else
4711 CFLAGS="-g"
4713 else
4714 if test "$GCC" = yes; then
4715 CFLAGS="-O2"
4716 else
4717 CFLAGS=
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4721 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4722 if ${ac_cv_prog_cc_c89+:} false; then :
4723 $as_echo_n "(cached) " >&6
4724 else
4725 ac_cv_prog_cc_c89=no
4726 ac_save_CC=$CC
4727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4729 #include <stdarg.h>
4730 #include <stdio.h>
4731 struct stat;
4732 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4733 struct buf { int x; };
4734 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4735 static char *e (p, i)
4736 char **p;
4737 int i;
4739 return p[i];
4741 static char *f (char * (*g) (char **, int), char **p, ...)
4743 char *s;
4744 va_list v;
4745 va_start (v,p);
4746 s = g (p, va_arg (v,int));
4747 va_end (v);
4748 return s;
4751 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4752 function prototypes and stuff, but not '\xHH' hex character constants.
4753 These don't provoke an error unfortunately, instead are silently treated
4754 as 'x'. The following induces an error, until -std is added to get
4755 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4756 array size at least. It's necessary to write '\x00'==0 to get something
4757 that's true only with -std. */
4758 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4760 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4761 inside strings and character constants. */
4762 #define FOO(x) 'x'
4763 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4765 int test (int i, double x);
4766 struct s1 {int (*f) (int a);};
4767 struct s2 {int (*f) (double a);};
4768 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4769 int argc;
4770 char **argv;
4772 main ()
4774 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4776 return 0;
4778 _ACEOF
4779 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4780 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4782 CC="$ac_save_CC $ac_arg"
4783 if ac_fn_c_try_compile "$LINENO"; then :
4784 ac_cv_prog_cc_c89=$ac_arg
4786 rm -f core conftest.err conftest.$ac_objext
4787 test "x$ac_cv_prog_cc_c89" != "xno" && break
4788 done
4789 rm -f conftest.$ac_ext
4790 CC=$ac_save_CC
4793 # AC_CACHE_VAL
4794 case "x$ac_cv_prog_cc_c89" in
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4797 $as_echo "none needed" >&6; } ;;
4798 xno)
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4800 $as_echo "unsupported" >&6; } ;;
4802 CC="$CC $ac_cv_prog_cc_c89"
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4804 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4805 esac
4806 if test "x$ac_cv_prog_cc_c89" != xno; then :
4810 ac_ext=c
4811 ac_cpp='$CPP $CPPFLAGS'
4812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4816 ac_ext=cpp
4817 ac_cpp='$CXXCPP $CPPFLAGS'
4818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4821 if test -z "$CXX"; then
4822 if test -n "$CCC"; then
4823 CXX=$CCC
4824 else
4825 if test -n "$ac_tool_prefix"; then
4826 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4828 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4829 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4831 $as_echo_n "checking for $ac_word... " >&6; }
4832 if ${ac_cv_prog_CXX+:} false; then :
4833 $as_echo_n "(cached) " >&6
4834 else
4835 if test -n "$CXX"; then
4836 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4837 else
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 for as_dir in $PATH
4841 IFS=$as_save_IFS
4842 test -z "$as_dir" && as_dir=.
4843 for ac_exec_ext in '' $ac_executable_extensions; do
4844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4845 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 break 2
4849 done
4850 done
4851 IFS=$as_save_IFS
4855 CXX=$ac_cv_prog_CXX
4856 if test -n "$CXX"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4858 $as_echo "$CXX" >&6; }
4859 else
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4865 test -n "$CXX" && break
4866 done
4868 if test -z "$CXX"; then
4869 ac_ct_CXX=$CXX
4870 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4872 # Extract the first word of "$ac_prog", so it can be a program name with args.
4873 set dummy $ac_prog; ac_word=$2
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 $as_echo_n "checking for $ac_word... " >&6; }
4876 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4877 $as_echo_n "(cached) " >&6
4878 else
4879 if test -n "$ac_ct_CXX"; then
4880 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4881 else
4882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4883 for as_dir in $PATH
4885 IFS=$as_save_IFS
4886 test -z "$as_dir" && as_dir=.
4887 for ac_exec_ext in '' $ac_executable_extensions; do
4888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_ac_ct_CXX="$ac_prog"
4890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4891 break 2
4893 done
4894 done
4895 IFS=$as_save_IFS
4899 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4900 if test -n "$ac_ct_CXX"; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4902 $as_echo "$ac_ct_CXX" >&6; }
4903 else
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4909 test -n "$ac_ct_CXX" && break
4910 done
4912 if test "x$ac_ct_CXX" = x; then
4913 CXX="g++"
4914 else
4915 case $cross_compiling:$ac_tool_warned in
4916 yes:)
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned=yes ;;
4920 esac
4921 CXX=$ac_ct_CXX
4927 # Provide some information about the compiler.
4928 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4929 set X $ac_compile
4930 ac_compiler=$2
4931 for ac_option in --version -v -V -qversion; do
4932 { { ac_try="$ac_compiler $ac_option >&5"
4933 case "(($ac_try" in
4934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4935 *) ac_try_echo=$ac_try;;
4936 esac
4937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4938 $as_echo "$ac_try_echo"; } >&5
4939 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4940 ac_status=$?
4941 if test -s conftest.err; then
4942 sed '10a\
4943 ... rest of stderr output deleted ...
4944 10q' conftest.err >conftest.er1
4945 cat conftest.er1 >&5
4947 rm -f conftest.er1 conftest.err
4948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4949 test $ac_status = 0; }
4950 done
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4953 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4954 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4955 $as_echo_n "(cached) " >&6
4956 else
4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4961 main ()
4963 #ifndef __GNUC__
4964 choke me
4965 #endif
4968 return 0;
4970 _ACEOF
4971 if ac_fn_cxx_try_compile "$LINENO"; then :
4972 ac_compiler_gnu=yes
4973 else
4974 ac_compiler_gnu=no
4976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4977 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4981 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4982 if test $ac_compiler_gnu = yes; then
4983 GXX=yes
4984 else
4985 GXX=
4987 ac_test_CXXFLAGS=${CXXFLAGS+set}
4988 ac_save_CXXFLAGS=$CXXFLAGS
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4990 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4991 if ${ac_cv_prog_cxx_g+:} false; then :
4992 $as_echo_n "(cached) " >&6
4993 else
4994 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4995 ac_cxx_werror_flag=yes
4996 ac_cv_prog_cxx_g=no
4997 CXXFLAGS="-g"
4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5002 main ()
5006 return 0;
5008 _ACEOF
5009 if ac_fn_cxx_try_compile "$LINENO"; then :
5010 ac_cv_prog_cxx_g=yes
5011 else
5012 CXXFLAGS=""
5013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5014 /* end confdefs.h. */
5017 main ()
5021 return 0;
5023 _ACEOF
5024 if ac_fn_cxx_try_compile "$LINENO"; then :
5026 else
5027 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5028 CXXFLAGS="-g"
5029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5030 /* end confdefs.h. */
5033 main ()
5037 return 0;
5039 _ACEOF
5040 if ac_fn_cxx_try_compile "$LINENO"; then :
5041 ac_cv_prog_cxx_g=yes
5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5048 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5051 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5052 if test "$ac_test_CXXFLAGS" = set; then
5053 CXXFLAGS=$ac_save_CXXFLAGS
5054 elif test $ac_cv_prog_cxx_g = yes; then
5055 if test "$GXX" = yes; then
5056 CXXFLAGS="-g -O2"
5057 else
5058 CXXFLAGS="-g"
5060 else
5061 if test "$GXX" = yes; then
5062 CXXFLAGS="-O2"
5063 else
5064 CXXFLAGS=
5067 ac_ext=c
5068 ac_cpp='$CPP $CPPFLAGS'
5069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5073 if test -n "$ac_tool_prefix"; then
5074 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5075 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if ${ac_cv_prog_CPPBIN+:} false; then :
5079 $as_echo_n "(cached) " >&6
5080 else
5081 if test -n "$CPPBIN"; then
5082 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5083 else
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085 for as_dir in $PATH
5087 IFS=$as_save_IFS
5088 test -z "$as_dir" && as_dir=.
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5091 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 break 2
5095 done
5096 done
5097 IFS=$as_save_IFS
5101 CPPBIN=$ac_cv_prog_CPPBIN
5102 if test -n "$CPPBIN"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5104 $as_echo "$CPPBIN" >&6; }
5105 else
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5112 if test -z "$ac_cv_prog_CPPBIN"; then
5113 ac_ct_CPPBIN=$CPPBIN
5114 # Extract the first word of "cpp", so it can be a program name with args.
5115 set dummy cpp; ac_word=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5119 $as_echo_n "(cached) " >&6
5120 else
5121 if test -n "$ac_ct_CPPBIN"; then
5122 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5123 else
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5125 for as_dir in $PATH
5127 IFS=$as_save_IFS
5128 test -z "$as_dir" && as_dir=.
5129 for ac_exec_ext in '' $ac_executable_extensions; do
5130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5131 ac_cv_prog_ac_ct_CPPBIN="cpp"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 break 2
5135 done
5136 done
5137 IFS=$as_save_IFS
5141 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5142 if test -n "$ac_ct_CPPBIN"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5144 $as_echo "$ac_ct_CPPBIN" >&6; }
5145 else
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5150 if test "x$ac_ct_CPPBIN" = x; then
5151 CPPBIN="cpp"
5152 else
5153 case $cross_compiling:$ac_tool_warned in
5154 yes:)
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5157 ac_tool_warned=yes ;;
5158 esac
5159 CPPBIN=$ac_ct_CPPBIN
5161 else
5162 CPPBIN="$ac_cv_prog_CPPBIN"
5166 cat >>confdefs.h <<_ACEOF
5167 #define EXEEXT "$ac_exeext"
5168 _ACEOF
5170 if test -n "$ac_tool_prefix"; then
5171 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5172 set dummy ${ac_tool_prefix}ld; ac_word=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_LD+:} false; then :
5176 $as_echo_n "(cached) " >&6
5177 else
5178 if test -n "$LD"; then
5179 ac_cv_prog_LD="$LD" # Let the user override the test.
5180 else
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182 for as_dir in $PATH
5184 IFS=$as_save_IFS
5185 test -z "$as_dir" && as_dir=.
5186 for ac_exec_ext in '' $ac_executable_extensions; do
5187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5188 ac_cv_prog_LD="${ac_tool_prefix}ld"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 break 2
5192 done
5193 done
5194 IFS=$as_save_IFS
5198 LD=$ac_cv_prog_LD
5199 if test -n "$LD"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5201 $as_echo "$LD" >&6; }
5202 else
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5209 if test -z "$ac_cv_prog_LD"; then
5210 ac_ct_LD=$LD
5211 # Extract the first word of "ld", so it can be a program name with args.
5212 set dummy ld; ac_word=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5216 $as_echo_n "(cached) " >&6
5217 else
5218 if test -n "$ac_ct_LD"; then
5219 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5220 else
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 for as_dir in $PATH
5224 IFS=$as_save_IFS
5225 test -z "$as_dir" && as_dir=.
5226 for ac_exec_ext in '' $ac_executable_extensions; do
5227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_ac_ct_LD="ld"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 break 2
5232 done
5233 done
5234 IFS=$as_save_IFS
5238 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5239 if test -n "$ac_ct_LD"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5241 $as_echo "$ac_ct_LD" >&6; }
5242 else
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5247 if test "x$ac_ct_LD" = x; then
5248 LD=""
5249 else
5250 case $cross_compiling:$ac_tool_warned in
5251 yes:)
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5254 ac_tool_warned=yes ;;
5255 esac
5256 LD=$ac_ct_LD
5258 else
5259 LD="$ac_cv_prog_LD"
5263 case $host in
5264 *-darwin*)
5265 with_fontconfig=${with_fontconfig:-no}
5267 *-mingw32*|*-cygwin*)
5268 enable_win16=${enable_win16:-no}
5269 CFLAGS="$CFLAGS -D_WIN32"
5271 esac
5273 case $host in
5274 x86_64*|amd64*)
5275 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5276 then
5277 CC="$CC -m32"
5278 CXX="$CXX -m32"
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5280 $as_echo_n "checking whether $CC works... " >&6; }
5282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5283 /* end confdefs.h. */
5286 main ()
5290 return 0;
5292 _ACEOF
5293 if ac_fn_c_try_link "$LINENO"; then :
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5295 $as_echo "yes" >&6; }
5296 else
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5299 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5301 rm -f core conftest.err conftest.$ac_objext \
5302 conftest$ac_exeext conftest.$ac_ext
5303 host_cpu="i386"
5304 notice_platform="32-bit "
5305 TARGETFLAGS="-m32"
5307 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5308 export PKG_CONFIG_PATH
5309 enable_win16=${enable_win16:-yes}
5310 else
5311 if test "x${GCC}" = "xyes"
5312 then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5314 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5317 #include <stdarg.h>
5319 main ()
5321 void func(__builtin_ms_va_list *args);
5323 return 0;
5325 _ACEOF
5326 if ac_fn_c_try_compile "$LINENO"; then :
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5328 $as_echo "yes" >&6; }
5329 else
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5331 $as_echo "no" >&6; }
5332 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5336 CC="$CC -m64"
5337 CXX="$CXX -m64"
5338 host_cpu="x86_64"
5339 notice_platform="64-bit "
5340 TARGETFLAGS="-m64"
5344 arm*)
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5346 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5348 /* end confdefs.h. */
5349 int ac_test(int i) { return i; }
5351 main ()
5353 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5355 return 0;
5357 _ACEOF
5358 if ac_fn_c_try_link "$LINENO"; then :
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5360 $as_echo "yes" >&6; }
5361 else
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5363 $as_echo "no" >&6; }
5364 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5366 rm -f core conftest.err conftest.$ac_objext \
5367 conftest$ac_exeext conftest.$ac_ext
5368 case $with_float_abi in
5369 soft|softfp|hard)
5370 float_abi=$with_float_abi ;;
5372 case $host_os in
5373 *eabihf)
5374 float_abi=hard ;;
5376 float_abi=softfp
5377 saved_CFLAGS=$CFLAGS
5378 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5380 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5385 main ()
5387 asm("vmrs r2,fpscr");
5389 return 0;
5391 _ACEOF
5392 if ac_fn_c_try_link "$LINENO"; then :
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5394 $as_echo "yes" >&6; }
5395 else
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5397 $as_echo "no" >&6; }
5398 float_abi=soft
5399 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5401 rm -f core conftest.err conftest.$ac_objext \
5402 conftest$ac_exeext conftest.$ac_ext
5403 CFLAGS=$saved_CFLAGS
5404 esac
5406 esac
5407 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5408 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5411 i[3456789]86*)
5412 enable_win16=${enable_win16:-yes}
5414 esac
5416 enable_win16=${enable_win16:-no}
5417 enable_win64=${enable_win64:-no}
5419 enable_winetest=${enable_winetest:-$enable_tests}
5421 if test -n "$with_wine64"
5422 then
5423 if test "x$enable_win64" = "xyes"
5424 then
5425 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5426 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5428 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5429 You should create a separate build directory and run configure from there." "$LINENO" 5
5430 enable_fonts=${enable_fonts:-no}
5431 enable_server=${enable_server:-no}
5432 wine64_disable=\#
5434 elif test "x$enable_win64" = "xyes"
5435 then
5436 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5440 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5441 if ${wine_cv_toolsdir+:} false; then :
5442 $as_echo_n "(cached) " >&6
5443 else
5444 wine_cv_toolsdir="$with_wine_tools"
5445 if test -z "$with_wine_tools"; then
5446 if test "$cross_compiling" = "yes"; then
5447 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5448 elif test -n "$with_wine64"; then
5449 wine_cv_toolsdir="$with_wine64"
5452 if test -z "$wine_cv_toolsdir"; then
5453 wine_makedep=tools/makedep
5454 wine_cv_toolsdir="\$(top_builddir)"
5455 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5456 wine_makedep=$wine_cv_toolsdir/tools/makedep
5457 case "$wine_cv_toolsdir" in
5458 /*) ;;
5459 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5460 esac
5461 enable_tools=${enable_tools:-no}
5462 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5463 else
5464 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5468 $as_echo "$wine_cv_toolsdir" >&6; }
5469 TOOLSDIR=$wine_cv_toolsdir
5471 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5472 then
5473 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5477 for ac_prog in flex
5479 # Extract the first word of "$ac_prog", so it can be a program name with args.
5480 set dummy $ac_prog; ac_word=$2
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5482 $as_echo_n "checking for $ac_word... " >&6; }
5483 if ${ac_cv_prog_FLEX+:} false; then :
5484 $as_echo_n "(cached) " >&6
5485 else
5486 if test -n "$FLEX"; then
5487 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5488 else
5489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5490 for as_dir in $PATH
5492 IFS=$as_save_IFS
5493 test -z "$as_dir" && as_dir=.
5494 for ac_exec_ext in '' $ac_executable_extensions; do
5495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5496 ac_cv_prog_FLEX="$ac_prog"
5497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5498 break 2
5500 done
5501 done
5502 IFS=$as_save_IFS
5506 FLEX=$ac_cv_prog_FLEX
5507 if test -n "$FLEX"; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5509 $as_echo "$FLEX" >&6; }
5510 else
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512 $as_echo "no" >&6; }
5516 test -n "$FLEX" && break
5517 done
5518 test -n "$FLEX" || FLEX="none"
5520 if test "$FLEX" = "none"
5521 then
5522 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5525 $as_echo_n "checking whether flex is recent enough... " >&6; }
5526 cat >conftest.l <<EOF
5527 %top{
5528 #include "prediluvian.h"
5532 if $FLEX -t conftest.l >/dev/null 2>&5
5533 then
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5535 $as_echo "yes" >&6; }
5536 else
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5538 $as_echo "no" >&6; }
5539 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5542 for ac_prog in bison
5544 # Extract the first word of "$ac_prog", so it can be a program name with args.
5545 set dummy $ac_prog; ac_word=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_BISON+:} false; then :
5549 $as_echo_n "(cached) " >&6
5550 else
5551 if test -n "$BISON"; then
5552 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5553 else
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555 for as_dir in $PATH
5557 IFS=$as_save_IFS
5558 test -z "$as_dir" && as_dir=.
5559 for ac_exec_ext in '' $ac_executable_extensions; do
5560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_BISON="$ac_prog"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 break 2
5565 done
5566 done
5567 IFS=$as_save_IFS
5571 BISON=$ac_cv_prog_BISON
5572 if test -n "$BISON"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5574 $as_echo "$BISON" >&6; }
5575 else
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5581 test -n "$BISON" && break
5582 done
5583 test -n "$BISON" || BISON="none"
5585 if test "$BISON" = "none"
5586 then
5587 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5590 if test -n "$ac_tool_prefix"; then
5591 for ac_prog in ar gar
5593 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5594 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5596 $as_echo_n "checking for $ac_word... " >&6; }
5597 if ${ac_cv_prog_AR+:} false; then :
5598 $as_echo_n "(cached) " >&6
5599 else
5600 if test -n "$AR"; then
5601 ac_cv_prog_AR="$AR" # Let the user override the test.
5602 else
5603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604 for as_dir in $PATH
5606 IFS=$as_save_IFS
5607 test -z "$as_dir" && as_dir=.
5608 for ac_exec_ext in '' $ac_executable_extensions; do
5609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5610 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5612 break 2
5614 done
5615 done
5616 IFS=$as_save_IFS
5620 AR=$ac_cv_prog_AR
5621 if test -n "$AR"; then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5623 $as_echo "$AR" >&6; }
5624 else
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5626 $as_echo "no" >&6; }
5630 test -n "$AR" && break
5631 done
5633 if test -z "$AR"; then
5634 ac_ct_AR=$AR
5635 for ac_prog in ar gar
5637 # Extract the first word of "$ac_prog", so it can be a program name with args.
5638 set dummy $ac_prog; ac_word=$2
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5640 $as_echo_n "checking for $ac_word... " >&6; }
5641 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5642 $as_echo_n "(cached) " >&6
5643 else
5644 if test -n "$ac_ct_AR"; then
5645 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5646 else
5647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 for as_dir in $PATH
5650 IFS=$as_save_IFS
5651 test -z "$as_dir" && as_dir=.
5652 for ac_exec_ext in '' $ac_executable_extensions; do
5653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5654 ac_cv_prog_ac_ct_AR="$ac_prog"
5655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 break 2
5658 done
5659 done
5660 IFS=$as_save_IFS
5664 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5665 if test -n "$ac_ct_AR"; then
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5667 $as_echo "$ac_ct_AR" >&6; }
5668 else
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5670 $as_echo "no" >&6; }
5674 test -n "$ac_ct_AR" && break
5675 done
5677 if test "x$ac_ct_AR" = x; then
5678 AR="ar"
5679 else
5680 case $cross_compiling:$ac_tool_warned in
5681 yes:)
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5684 ac_tool_warned=yes ;;
5685 esac
5686 AR=$ac_ct_AR
5690 if test -n "$ac_tool_prefix"; then
5691 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5692 set dummy ${ac_tool_prefix}strip; ac_word=$2
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694 $as_echo_n "checking for $ac_word... " >&6; }
5695 if ${ac_cv_prog_STRIP+:} false; then :
5696 $as_echo_n "(cached) " >&6
5697 else
5698 if test -n "$STRIP"; then
5699 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5700 else
5701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5702 for as_dir in $PATH
5704 IFS=$as_save_IFS
5705 test -z "$as_dir" && as_dir=.
5706 for ac_exec_ext in '' $ac_executable_extensions; do
5707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5708 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5710 break 2
5712 done
5713 done
5714 IFS=$as_save_IFS
5718 STRIP=$ac_cv_prog_STRIP
5719 if test -n "$STRIP"; then
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5721 $as_echo "$STRIP" >&6; }
5722 else
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5724 $as_echo "no" >&6; }
5729 if test -z "$ac_cv_prog_STRIP"; then
5730 ac_ct_STRIP=$STRIP
5731 # Extract the first word of "strip", so it can be a program name with args.
5732 set dummy strip; ac_word=$2
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 $as_echo_n "checking for $ac_word... " >&6; }
5735 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5736 $as_echo_n "(cached) " >&6
5737 else
5738 if test -n "$ac_ct_STRIP"; then
5739 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5740 else
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 for as_dir in $PATH
5744 IFS=$as_save_IFS
5745 test -z "$as_dir" && as_dir=.
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5748 ac_cv_prog_ac_ct_STRIP="strip"
5749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 break 2
5752 done
5753 done
5754 IFS=$as_save_IFS
5758 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5759 if test -n "$ac_ct_STRIP"; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5761 $as_echo "$ac_ct_STRIP" >&6; }
5762 else
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 $as_echo "no" >&6; }
5767 if test "x$ac_ct_STRIP" = x; then
5768 STRIP="strip"
5769 else
5770 case $cross_compiling:$ac_tool_warned in
5771 yes:)
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5774 ac_tool_warned=yes ;;
5775 esac
5776 STRIP=$ac_ct_STRIP
5778 else
5779 STRIP="$ac_cv_prog_STRIP"
5782 ARFLAGS=rc
5784 if test -n "$ac_tool_prefix"; then
5785 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5786 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788 $as_echo_n "checking for $ac_word... " >&6; }
5789 if ${ac_cv_prog_RANLIB+:} false; then :
5790 $as_echo_n "(cached) " >&6
5791 else
5792 if test -n "$RANLIB"; then
5793 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5794 else
5795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796 for as_dir in $PATH
5798 IFS=$as_save_IFS
5799 test -z "$as_dir" && as_dir=.
5800 for ac_exec_ext in '' $ac_executable_extensions; do
5801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5802 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5804 break 2
5806 done
5807 done
5808 IFS=$as_save_IFS
5812 RANLIB=$ac_cv_prog_RANLIB
5813 if test -n "$RANLIB"; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5815 $as_echo "$RANLIB" >&6; }
5816 else
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818 $as_echo "no" >&6; }
5823 if test -z "$ac_cv_prog_RANLIB"; then
5824 ac_ct_RANLIB=$RANLIB
5825 # Extract the first word of "ranlib", so it can be a program name with args.
5826 set dummy ranlib; ac_word=$2
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828 $as_echo_n "checking for $ac_word... " >&6; }
5829 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5830 $as_echo_n "(cached) " >&6
5831 else
5832 if test -n "$ac_ct_RANLIB"; then
5833 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5834 else
5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836 for as_dir in $PATH
5838 IFS=$as_save_IFS
5839 test -z "$as_dir" && as_dir=.
5840 for ac_exec_ext in '' $ac_executable_extensions; do
5841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5842 ac_cv_prog_ac_ct_RANLIB="ranlib"
5843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5844 break 2
5846 done
5847 done
5848 IFS=$as_save_IFS
5852 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5853 if test -n "$ac_ct_RANLIB"; then
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5855 $as_echo "$ac_ct_RANLIB" >&6; }
5856 else
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858 $as_echo "no" >&6; }
5861 if test "x$ac_ct_RANLIB" = x; then
5862 RANLIB=":"
5863 else
5864 case $cross_compiling:$ac_tool_warned in
5865 yes:)
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5867 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5868 ac_tool_warned=yes ;;
5869 esac
5870 RANLIB=$ac_ct_RANLIB
5872 else
5873 RANLIB="$ac_cv_prog_RANLIB"
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5877 $as_echo_n "checking whether ln -s works... " >&6; }
5878 LN_S=$as_ln_s
5879 if test "$LN_S" = "ln -s"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5881 $as_echo "yes" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5884 $as_echo "no, using $LN_S" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5888 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5889 if ${ac_cv_path_GREP+:} false; then :
5890 $as_echo_n "(cached) " >&6
5891 else
5892 if test -z "$GREP"; then
5893 ac_path_GREP_found=false
5894 # Loop through the user's path and test for each of PROGNAME-LIST
5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5898 IFS=$as_save_IFS
5899 test -z "$as_dir" && as_dir=.
5900 for ac_prog in grep ggrep; do
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5903 as_fn_executable_p "$ac_path_GREP" || continue
5904 # Check for GNU ac_path_GREP and select it if it is found.
5905 # Check for GNU $ac_path_GREP
5906 case `"$ac_path_GREP" --version 2>&1` in
5907 *GNU*)
5908 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5910 ac_count=0
5911 $as_echo_n 0123456789 >"conftest.in"
5912 while :
5914 cat "conftest.in" "conftest.in" >"conftest.tmp"
5915 mv "conftest.tmp" "conftest.in"
5916 cp "conftest.in" "conftest.nl"
5917 $as_echo 'GREP' >> "conftest.nl"
5918 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5919 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5920 as_fn_arith $ac_count + 1 && ac_count=$as_val
5921 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5922 # Best one so far, save it but keep looking for a better one
5923 ac_cv_path_GREP="$ac_path_GREP"
5924 ac_path_GREP_max=$ac_count
5926 # 10*(2^10) chars as input seems more than enough
5927 test $ac_count -gt 10 && break
5928 done
5929 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5930 esac
5932 $ac_path_GREP_found && break 3
5933 done
5934 done
5935 done
5936 IFS=$as_save_IFS
5937 if test -z "$ac_cv_path_GREP"; then
5938 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5940 else
5941 ac_cv_path_GREP=$GREP
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5946 $as_echo "$ac_cv_path_GREP" >&6; }
5947 GREP="$ac_cv_path_GREP"
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5951 $as_echo_n "checking for egrep... " >&6; }
5952 if ${ac_cv_path_EGREP+:} false; then :
5953 $as_echo_n "(cached) " >&6
5954 else
5955 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5956 then ac_cv_path_EGREP="$GREP -E"
5957 else
5958 if test -z "$EGREP"; then
5959 ac_path_EGREP_found=false
5960 # Loop through the user's path and test for each of PROGNAME-LIST
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5964 IFS=$as_save_IFS
5965 test -z "$as_dir" && as_dir=.
5966 for ac_prog in egrep; do
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5969 as_fn_executable_p "$ac_path_EGREP" || continue
5970 # Check for GNU ac_path_EGREP and select it if it is found.
5971 # Check for GNU $ac_path_EGREP
5972 case `"$ac_path_EGREP" --version 2>&1` in
5973 *GNU*)
5974 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5976 ac_count=0
5977 $as_echo_n 0123456789 >"conftest.in"
5978 while :
5980 cat "conftest.in" "conftest.in" >"conftest.tmp"
5981 mv "conftest.tmp" "conftest.in"
5982 cp "conftest.in" "conftest.nl"
5983 $as_echo 'EGREP' >> "conftest.nl"
5984 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5986 as_fn_arith $ac_count + 1 && ac_count=$as_val
5987 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5988 # Best one so far, save it but keep looking for a better one
5989 ac_cv_path_EGREP="$ac_path_EGREP"
5990 ac_path_EGREP_max=$ac_count
5992 # 10*(2^10) chars as input seems more than enough
5993 test $ac_count -gt 10 && break
5994 done
5995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5996 esac
5998 $ac_path_EGREP_found && break 3
5999 done
6000 done
6001 done
6002 IFS=$as_save_IFS
6003 if test -z "$ac_cv_path_EGREP"; then
6004 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6006 else
6007 ac_cv_path_EGREP=$EGREP
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6013 $as_echo "$ac_cv_path_EGREP" >&6; }
6014 EGREP="$ac_cv_path_EGREP"
6017 # Extract the first word of "ldconfig", so it can be a program name with args.
6018 set dummy ldconfig; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_path_LDCONFIG+:} false; then :
6022 $as_echo_n "(cached) " >&6
6023 else
6024 case $LDCONFIG in
6025 [\\/]* | ?:[\\/]*)
6026 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in /sbin /usr/sbin $PATH
6032 IFS=$as_save_IFS
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 break 2
6040 done
6041 done
6042 IFS=$as_save_IFS
6044 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6046 esac
6048 LDCONFIG=$ac_cv_path_LDCONFIG
6049 if test -n "$LDCONFIG"; then
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6051 $as_echo "$LDCONFIG" >&6; }
6052 else
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6054 $as_echo "no" >&6; }
6058 for ac_prog in msgfmt
6060 # Extract the first word of "$ac_prog", so it can be a program name with args.
6061 set dummy $ac_prog; ac_word=$2
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 $as_echo_n "checking for $ac_word... " >&6; }
6064 if ${ac_cv_prog_MSGFMT+:} false; then :
6065 $as_echo_n "(cached) " >&6
6066 else
6067 if test -n "$MSGFMT"; then
6068 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6069 else
6070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071 for as_dir in $PATH
6073 IFS=$as_save_IFS
6074 test -z "$as_dir" && as_dir=.
6075 for ac_exec_ext in '' $ac_executable_extensions; do
6076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6077 ac_cv_prog_MSGFMT="$ac_prog"
6078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6079 break 2
6081 done
6082 done
6083 IFS=$as_save_IFS
6087 MSGFMT=$ac_cv_prog_MSGFMT
6088 if test -n "$MSGFMT"; then
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6090 $as_echo "$MSGFMT" >&6; }
6091 else
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6093 $as_echo "no" >&6; }
6097 test -n "$MSGFMT" && break
6098 done
6099 test -n "$MSGFMT" || MSGFMT="false"
6101 if ${ac_tool_prefix+:} false; then :
6102 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6103 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 $as_echo_n "checking for $ac_word... " >&6; }
6106 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6107 $as_echo_n "(cached) " >&6
6108 else
6109 if test -n "$PKG_CONFIG"; then
6110 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6111 else
6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 for as_dir in $PATH
6115 IFS=$as_save_IFS
6116 test -z "$as_dir" && as_dir=.
6117 for ac_exec_ext in '' $ac_executable_extensions; do
6118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6119 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6121 break 2
6123 done
6124 done
6125 IFS=$as_save_IFS
6129 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6130 if test -n "$PKG_CONFIG"; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6132 $as_echo "$PKG_CONFIG" >&6; }
6133 else
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6140 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6141 if test "x$cross_compiling" = xyes; then :
6143 else
6144 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6145 # Extract the first word of "pkg-config", so it can be a program name with args.
6146 set dummy pkg-config; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$PKG_CONFIG"; then
6153 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6162 ac_cv_prog_PKG_CONFIG="pkg-config"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6166 done
6167 done
6168 IFS=$as_save_IFS
6172 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6173 if test -n "$PKG_CONFIG"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6175 $as_echo "$PKG_CONFIG" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6183 else
6184 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6187 if test "x$enable_maintainer_mode" != "xyes"
6188 then
6189 FONTFORGE=""
6190 RSVG=""
6191 CONVERT=""
6192 ICOTOOL=""
6193 else
6194 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6195 for ac_prog in fontforge
6197 # Extract the first word of "$ac_prog", so it can be a program name with args.
6198 set dummy $ac_prog; ac_word=$2
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6200 $as_echo_n "checking for $ac_word... " >&6; }
6201 if ${ac_cv_prog_FONTFORGE+:} false; then :
6202 $as_echo_n "(cached) " >&6
6203 else
6204 if test -n "$FONTFORGE"; then
6205 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6206 else
6207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6208 for as_dir in $PATH
6210 IFS=$as_save_IFS
6211 test -z "$as_dir" && as_dir=.
6212 for ac_exec_ext in '' $ac_executable_extensions; do
6213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6214 ac_cv_prog_FONTFORGE="$ac_prog"
6215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6216 break 2
6218 done
6219 done
6220 IFS=$as_save_IFS
6224 FONTFORGE=$ac_cv_prog_FONTFORGE
6225 if test -n "$FONTFORGE"; then
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6227 $as_echo "$FONTFORGE" >&6; }
6228 else
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6230 $as_echo "no" >&6; }
6234 test -n "$FONTFORGE" && break
6235 done
6236 test -n "$FONTFORGE" || FONTFORGE="false"
6238 for ac_prog in rsvg-convert rsvg
6240 # Extract the first word of "$ac_prog", so it can be a program name with args.
6241 set dummy $ac_prog; ac_word=$2
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6243 $as_echo_n "checking for $ac_word... " >&6; }
6244 if ${ac_cv_prog_RSVG+:} false; then :
6245 $as_echo_n "(cached) " >&6
6246 else
6247 if test -n "$RSVG"; then
6248 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6249 else
6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 for as_dir in $PATH
6253 IFS=$as_save_IFS
6254 test -z "$as_dir" && as_dir=.
6255 for ac_exec_ext in '' $ac_executable_extensions; do
6256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6257 ac_cv_prog_RSVG="$ac_prog"
6258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6259 break 2
6261 done
6262 done
6263 IFS=$as_save_IFS
6267 RSVG=$ac_cv_prog_RSVG
6268 if test -n "$RSVG"; then
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6270 $as_echo "$RSVG" >&6; }
6271 else
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6273 $as_echo "no" >&6; }
6277 test -n "$RSVG" && break
6278 done
6279 test -n "$RSVG" || RSVG="false"
6281 for ac_prog in convert
6283 # Extract the first word of "$ac_prog", so it can be a program name with args.
6284 set dummy $ac_prog; ac_word=$2
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6286 $as_echo_n "checking for $ac_word... " >&6; }
6287 if ${ac_cv_prog_CONVERT+:} false; then :
6288 $as_echo_n "(cached) " >&6
6289 else
6290 if test -n "$CONVERT"; then
6291 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6292 else
6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6294 for as_dir in $PATH
6296 IFS=$as_save_IFS
6297 test -z "$as_dir" && as_dir=.
6298 for ac_exec_ext in '' $ac_executable_extensions; do
6299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6300 ac_cv_prog_CONVERT="$ac_prog"
6301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6302 break 2
6304 done
6305 done
6306 IFS=$as_save_IFS
6310 CONVERT=$ac_cv_prog_CONVERT
6311 if test -n "$CONVERT"; then
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6313 $as_echo "$CONVERT" >&6; }
6314 else
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6316 $as_echo "no" >&6; }
6320 test -n "$CONVERT" && break
6321 done
6322 test -n "$CONVERT" || CONVERT="false"
6324 for ac_prog in icotool
6326 # Extract the first word of "$ac_prog", so it can be a program name with args.
6327 set dummy $ac_prog; ac_word=$2
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6329 $as_echo_n "checking for $ac_word... " >&6; }
6330 if ${ac_cv_prog_ICOTOOL+:} false; then :
6331 $as_echo_n "(cached) " >&6
6332 else
6333 if test -n "$ICOTOOL"; then
6334 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6335 else
6336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6337 for as_dir in $PATH
6339 IFS=$as_save_IFS
6340 test -z "$as_dir" && as_dir=.
6341 for ac_exec_ext in '' $ac_executable_extensions; do
6342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6343 ac_cv_prog_ICOTOOL="$ac_prog"
6344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6345 break 2
6347 done
6348 done
6349 IFS=$as_save_IFS
6353 ICOTOOL=$ac_cv_prog_ICOTOOL
6354 if test -n "$ICOTOOL"; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6356 $as_echo "$ICOTOOL" >&6; }
6357 else
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6359 $as_echo "no" >&6; }
6363 test -n "$ICOTOOL" && break
6364 done
6365 test -n "$ICOTOOL" || ICOTOOL="false"
6367 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6368 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6370 if test "$CONVERT" = false
6371 then
6372 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6373 else
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6375 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6376 convert_version=`convert --version | head -n1`
6377 if test "x$convert_version" != "x"
6378 then
6379 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6380 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6381 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6382 then
6383 CONVERT=false
6386 if test "$CONVERT" = false
6387 then
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6389 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6390 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6391 else
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6393 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6397 if test "$ICOTOOL" = false
6398 then
6399 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6400 else
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6402 $as_echo_n "checking for recent enough icotool... " >&6; }
6403 icotool_version=`icotool --version | head -n1`
6404 if test "x$icotool_version" != "x"
6405 then
6406 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6407 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6408 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6409 then
6410 ICOTOOL=false
6411 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6414 if test "$ICOTOOL" = false
6415 then
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6417 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6418 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6419 else
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6421 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6425 with_gettext=yes
6426 with_gettextpo=yes
6427 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6430 test "x$with_gettext" != xno || MSGFMT=false
6431 if test "$MSGFMT" != "false"
6432 then
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6434 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6435 cat >conftest.po <<EOF
6436 # comment
6437 msgctxt "ctxt"
6438 msgid "id"
6439 msgstr "str"
6441 if $MSGFMT -o /dev/null conftest.po 2>&5
6442 then
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6444 $as_echo "yes" >&6; }
6445 else
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6447 $as_echo "no" >&6; }
6448 MSGFMT=false
6451 if test "$MSGFMT" = false; then :
6452 case "x$with_gettext" in
6453 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6454 xno) ;;
6455 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6456 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6457 esac
6458 enable_po=${enable_po:-no}
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6463 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6464 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6465 $as_echo_n "(cached) " >&6
6466 else
6467 ac_check_lib_save_LIBS=$LIBS
6468 LIBS="-li386 $LIBS"
6469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6470 /* end confdefs.h. */
6472 /* Override any GCC internal prototype to avoid an error.
6473 Use char because int might match the return type of a GCC
6474 builtin and then its argument prototype would still apply. */
6475 #ifdef __cplusplus
6476 extern "C"
6477 #endif
6478 char i386_set_ldt ();
6480 main ()
6482 return i386_set_ldt ();
6484 return 0;
6486 _ACEOF
6487 if ac_fn_c_try_link "$LINENO"; then :
6488 ac_cv_lib_i386_i386_set_ldt=yes
6489 else
6490 ac_cv_lib_i386_i386_set_ldt=no
6492 rm -f core conftest.err conftest.$ac_objext \
6493 conftest$ac_exeext conftest.$ac_ext
6494 LIBS=$ac_check_lib_save_LIBS
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6497 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6498 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6499 cat >>confdefs.h <<_ACEOF
6500 #define HAVE_LIBI386 1
6501 _ACEOF
6503 LIBS="-li386 $LIBS"
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6508 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6509 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6510 $as_echo_n "(cached) " >&6
6511 else
6512 ac_check_lib_save_LIBS=$LIBS
6513 LIBS="-lossaudio $LIBS"
6514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6515 /* end confdefs.h. */
6517 /* Override any GCC internal prototype to avoid an error.
6518 Use char because int might match the return type of a GCC
6519 builtin and then its argument prototype would still apply. */
6520 #ifdef __cplusplus
6521 extern "C"
6522 #endif
6523 char _oss_ioctl ();
6525 main ()
6527 return _oss_ioctl ();
6529 return 0;
6531 _ACEOF
6532 if ac_fn_c_try_link "$LINENO"; then :
6533 ac_cv_lib_ossaudio__oss_ioctl=yes
6534 else
6535 ac_cv_lib_ossaudio__oss_ioctl=no
6537 rm -f core conftest.err conftest.$ac_objext \
6538 conftest$ac_exeext conftest.$ac_ext
6539 LIBS=$ac_check_lib_save_LIBS
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6542 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6543 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6544 cat >>confdefs.h <<_ACEOF
6545 #define HAVE_LIBOSSAUDIO 1
6546 _ACEOF
6548 LIBS="-lossaudio $LIBS"
6553 OPENGL_LIBS=""
6557 # Check whether --enable-largefile was given.
6558 if test "${enable_largefile+set}" = set; then :
6559 enableval=$enable_largefile;
6562 if test "$enable_largefile" != no; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6565 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6566 if ${ac_cv_sys_largefile_CC+:} false; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 ac_cv_sys_largefile_CC=no
6570 if test "$GCC" != yes; then
6571 ac_save_CC=$CC
6572 while :; do
6573 # IRIX 6.2 and later do not support large files by default,
6574 # so use the C compiler's -n32 option if that helps.
6575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6577 #include <sys/types.h>
6578 /* Check that off_t can represent 2**63 - 1 correctly.
6579 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6580 since some C++ compilers masquerading as C compilers
6581 incorrectly reject 9223372036854775807. */
6582 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6583 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6584 && LARGE_OFF_T % 2147483647 == 1)
6585 ? 1 : -1];
6587 main ()
6591 return 0;
6593 _ACEOF
6594 if ac_fn_c_try_compile "$LINENO"; then :
6595 break
6597 rm -f core conftest.err conftest.$ac_objext
6598 CC="$CC -n32"
6599 if ac_fn_c_try_compile "$LINENO"; then :
6600 ac_cv_sys_largefile_CC=' -n32'; break
6602 rm -f core conftest.err conftest.$ac_objext
6603 break
6604 done
6605 CC=$ac_save_CC
6606 rm -f conftest.$ac_ext
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6610 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6611 if test "$ac_cv_sys_largefile_CC" != no; then
6612 CC=$CC$ac_cv_sys_largefile_CC
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6616 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6617 if ${ac_cv_sys_file_offset_bits+:} false; then :
6618 $as_echo_n "(cached) " >&6
6619 else
6620 while :; do
6621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */
6623 #include <sys/types.h>
6624 /* Check that off_t can represent 2**63 - 1 correctly.
6625 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6626 since some C++ compilers masquerading as C compilers
6627 incorrectly reject 9223372036854775807. */
6628 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6629 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6630 && LARGE_OFF_T % 2147483647 == 1)
6631 ? 1 : -1];
6633 main ()
6637 return 0;
6639 _ACEOF
6640 if ac_fn_c_try_compile "$LINENO"; then :
6641 ac_cv_sys_file_offset_bits=no; break
6643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6645 /* end confdefs.h. */
6646 #define _FILE_OFFSET_BITS 64
6647 #include <sys/types.h>
6648 /* Check that off_t can represent 2**63 - 1 correctly.
6649 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6650 since some C++ compilers masquerading as C compilers
6651 incorrectly reject 9223372036854775807. */
6652 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6653 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6654 && LARGE_OFF_T % 2147483647 == 1)
6655 ? 1 : -1];
6657 main ()
6661 return 0;
6663 _ACEOF
6664 if ac_fn_c_try_compile "$LINENO"; then :
6665 ac_cv_sys_file_offset_bits=64; break
6667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6668 ac_cv_sys_file_offset_bits=unknown
6669 break
6670 done
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6673 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6674 case $ac_cv_sys_file_offset_bits in #(
6675 no | unknown) ;;
6677 cat >>confdefs.h <<_ACEOF
6678 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6679 _ACEOF
6681 esac
6682 rm -rf conftest*
6683 if test $ac_cv_sys_file_offset_bits = unknown; then
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6685 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6686 if ${ac_cv_sys_large_files+:} false; then :
6687 $as_echo_n "(cached) " >&6
6688 else
6689 while :; do
6690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h. */
6692 #include <sys/types.h>
6693 /* Check that off_t can represent 2**63 - 1 correctly.
6694 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6695 since some C++ compilers masquerading as C compilers
6696 incorrectly reject 9223372036854775807. */
6697 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6698 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6699 && LARGE_OFF_T % 2147483647 == 1)
6700 ? 1 : -1];
6702 main ()
6706 return 0;
6708 _ACEOF
6709 if ac_fn_c_try_compile "$LINENO"; then :
6710 ac_cv_sys_large_files=no; break
6712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6714 /* end confdefs.h. */
6715 #define _LARGE_FILES 1
6716 #include <sys/types.h>
6717 /* Check that off_t can represent 2**63 - 1 correctly.
6718 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6719 since some C++ compilers masquerading as C compilers
6720 incorrectly reject 9223372036854775807. */
6721 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6722 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6723 && LARGE_OFF_T % 2147483647 == 1)
6724 ? 1 : -1];
6726 main ()
6730 return 0;
6732 _ACEOF
6733 if ac_fn_c_try_compile "$LINENO"; then :
6734 ac_cv_sys_large_files=1; break
6736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6737 ac_cv_sys_large_files=unknown
6738 break
6739 done
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6742 $as_echo "$ac_cv_sys_large_files" >&6; }
6743 case $ac_cv_sys_large_files in #(
6744 no | unknown) ;;
6746 cat >>confdefs.h <<_ACEOF
6747 #define _LARGE_FILES $ac_cv_sys_large_files
6748 _ACEOF
6750 esac
6751 rm -rf conftest*
6758 ac_ext=c
6759 ac_cpp='$CPP $CPPFLAGS'
6760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6764 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6765 # On Suns, sometimes $CPP names a directory.
6766 if test -n "$CPP" && test -d "$CPP"; then
6767 CPP=
6769 if test -z "$CPP"; then
6770 if ${ac_cv_prog_CPP+:} false; then :
6771 $as_echo_n "(cached) " >&6
6772 else
6773 # Double quotes because CPP needs to be expanded
6774 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6776 ac_preproc_ok=false
6777 for ac_c_preproc_warn_flag in '' yes
6779 # Use a header file that comes with gcc, so configuring glibc
6780 # with a fresh cross-compiler works.
6781 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6782 # <limits.h> exists even on freestanding compilers.
6783 # On the NeXT, cc -E runs the code through the compiler's parser,
6784 # not just through cpp. "Syntax error" is here to catch this case.
6785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6786 /* end confdefs.h. */
6787 #ifdef __STDC__
6788 # include <limits.h>
6789 #else
6790 # include <assert.h>
6791 #endif
6792 Syntax error
6793 _ACEOF
6794 if ac_fn_c_try_cpp "$LINENO"; then :
6796 else
6797 # Broken: fails on valid input.
6798 continue
6800 rm -f conftest.err conftest.i conftest.$ac_ext
6802 # OK, works on sane cases. Now check whether nonexistent headers
6803 # can be detected and how.
6804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6805 /* end confdefs.h. */
6806 #include <ac_nonexistent.h>
6807 _ACEOF
6808 if ac_fn_c_try_cpp "$LINENO"; then :
6809 # Broken: success on invalid input.
6810 continue
6811 else
6812 # Passes both tests.
6813 ac_preproc_ok=:
6814 break
6816 rm -f conftest.err conftest.i conftest.$ac_ext
6818 done
6819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6820 rm -f conftest.i conftest.err conftest.$ac_ext
6821 if $ac_preproc_ok; then :
6822 break
6825 done
6826 ac_cv_prog_CPP=$CPP
6829 CPP=$ac_cv_prog_CPP
6830 else
6831 ac_cv_prog_CPP=$CPP
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6834 $as_echo "$CPP" >&6; }
6835 ac_preproc_ok=false
6836 for ac_c_preproc_warn_flag in '' yes
6838 # Use a header file that comes with gcc, so configuring glibc
6839 # with a fresh cross-compiler works.
6840 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6841 # <limits.h> exists even on freestanding compilers.
6842 # On the NeXT, cc -E runs the code through the compiler's parser,
6843 # not just through cpp. "Syntax error" is here to catch this case.
6844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6845 /* end confdefs.h. */
6846 #ifdef __STDC__
6847 # include <limits.h>
6848 #else
6849 # include <assert.h>
6850 #endif
6851 Syntax error
6852 _ACEOF
6853 if ac_fn_c_try_cpp "$LINENO"; then :
6855 else
6856 # Broken: fails on valid input.
6857 continue
6859 rm -f conftest.err conftest.i conftest.$ac_ext
6861 # OK, works on sane cases. Now check whether nonexistent headers
6862 # can be detected and how.
6863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6864 /* end confdefs.h. */
6865 #include <ac_nonexistent.h>
6866 _ACEOF
6867 if ac_fn_c_try_cpp "$LINENO"; then :
6868 # Broken: success on invalid input.
6869 continue
6870 else
6871 # Passes both tests.
6872 ac_preproc_ok=:
6873 break
6875 rm -f conftest.err conftest.i conftest.$ac_ext
6877 done
6878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6879 rm -f conftest.i conftest.err conftest.$ac_ext
6880 if $ac_preproc_ok; then :
6882 else
6883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6885 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6886 See \`config.log' for more details" "$LINENO" 5; }
6889 ac_ext=c
6890 ac_cpp='$CPP $CPPFLAGS'
6891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6897 $as_echo_n "checking for ANSI C header files... " >&6; }
6898 if ${ac_cv_header_stdc+:} false; then :
6899 $as_echo_n "(cached) " >&6
6900 else
6901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6902 /* end confdefs.h. */
6903 #include <stdlib.h>
6904 #include <stdarg.h>
6905 #include <string.h>
6906 #include <float.h>
6909 main ()
6913 return 0;
6915 _ACEOF
6916 if ac_fn_c_try_compile "$LINENO"; then :
6917 ac_cv_header_stdc=yes
6918 else
6919 ac_cv_header_stdc=no
6921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6923 if test $ac_cv_header_stdc = yes; then
6924 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6926 /* end confdefs.h. */
6927 #include <string.h>
6929 _ACEOF
6930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6931 $EGREP "memchr" >/dev/null 2>&1; then :
6933 else
6934 ac_cv_header_stdc=no
6936 rm -f conftest*
6940 if test $ac_cv_header_stdc = yes; then
6941 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6943 /* end confdefs.h. */
6944 #include <stdlib.h>
6946 _ACEOF
6947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6948 $EGREP "free" >/dev/null 2>&1; then :
6950 else
6951 ac_cv_header_stdc=no
6953 rm -f conftest*
6957 if test $ac_cv_header_stdc = yes; then
6958 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6959 if test "$cross_compiling" = yes; then :
6961 else
6962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6963 /* end confdefs.h. */
6964 #include <ctype.h>
6965 #include <stdlib.h>
6966 #if ((' ' & 0x0FF) == 0x020)
6967 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6968 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6969 #else
6970 # define ISLOWER(c) \
6971 (('a' <= (c) && (c) <= 'i') \
6972 || ('j' <= (c) && (c) <= 'r') \
6973 || ('s' <= (c) && (c) <= 'z'))
6974 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6975 #endif
6977 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6979 main ()
6981 int i;
6982 for (i = 0; i < 256; i++)
6983 if (XOR (islower (i), ISLOWER (i))
6984 || toupper (i) != TOUPPER (i))
6985 return 2;
6986 return 0;
6988 _ACEOF
6989 if ac_fn_c_try_run "$LINENO"; then :
6991 else
6992 ac_cv_header_stdc=no
6994 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6995 conftest.$ac_objext conftest.beam conftest.$ac_ext
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7001 $as_echo "$ac_cv_header_stdc" >&6; }
7002 if test $ac_cv_header_stdc = yes; then
7004 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7008 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7009 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7010 inttypes.h stdint.h unistd.h
7011 do :
7012 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7013 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7015 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7016 cat >>confdefs.h <<_ACEOF
7017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7018 _ACEOF
7022 done
7025 for ac_header in \
7026 AL/al.h \
7027 ApplicationServices/ApplicationServices.h \
7028 AudioToolbox/AudioConverter.h \
7029 AudioUnit/AudioUnit.h \
7030 AudioUnit/AudioComponent.h \
7031 CL/cl.h \
7032 Carbon/Carbon.h \
7033 CommonCrypto/CommonCryptor.h \
7034 CoreAudio/CoreAudio.h \
7035 CoreServices/CoreServices.h \
7036 DiskArbitration/DiskArbitration.h \
7037 EGL/egl.h \
7038 IOKit/IOKitLib.h \
7039 IOKit/hid/IOHIDLib.h \
7040 OpenAL/al.h \
7041 OpenCL/opencl.h \
7042 QuickTime/ImageCompression.h \
7043 Security/Security.h \
7044 alias.h \
7045 alsa/asoundlib.h \
7046 arpa/inet.h \
7047 arpa/nameser.h \
7048 asm/types.h \
7049 asm/user.h \
7050 curses.h \
7051 direct.h \
7052 dirent.h \
7053 dlfcn.h \
7054 elf.h \
7055 float.h \
7056 fnmatch.h \
7057 getopt.h \
7058 gettext-po.h \
7059 grp.h \
7060 gsm.h \
7061 gsm/gsm.h \
7062 ieeefp.h \
7063 inet/mib2.h \
7064 io.h \
7065 kstat.h \
7066 libproc.h \
7067 link.h \
7068 linux/cdrom.h \
7069 linux/compiler.h \
7070 linux/filter.h \
7071 linux/hdreg.h \
7072 linux/hidraw.h \
7073 linux/input.h \
7074 linux/ioctl.h \
7075 linux/joystick.h \
7076 linux/major.h \
7077 linux/param.h \
7078 linux/serial.h \
7079 linux/types.h \
7080 linux/ucdrom.h \
7081 lwp.h \
7082 mach-o/nlist.h \
7083 mach-o/loader.h \
7084 mach/mach.h \
7085 mach/machine.h \
7086 machine/cpu.h \
7087 machine/limits.h \
7088 machine/sysarch.h \
7089 mntent.h \
7090 ncurses.h \
7091 netdb.h \
7092 netinet/in.h \
7093 netinet/in_systm.h \
7094 netinet/tcp.h \
7095 netinet/tcp_fsm.h \
7096 pcap/pcap.h \
7097 poll.h \
7098 port.h \
7099 process.h \
7100 pthread.h \
7101 pwd.h \
7102 sched.h \
7103 scsi/scsi.h \
7104 scsi/scsi_ioctl.h \
7105 scsi/sg.h \
7106 stdbool.h \
7107 stdint.h \
7108 stropts.h \
7109 sys/asoundlib.h \
7110 sys/attr.h \
7111 sys/auxv.h \
7112 sys/cdio.h \
7113 sys/elf32.h \
7114 sys/epoll.h \
7115 sys/event.h \
7116 sys/exec_elf.h \
7117 sys/filio.h \
7118 sys/inotify.h \
7119 sys/ioctl.h \
7120 sys/ipc.h \
7121 sys/limits.h \
7122 sys/link.h \
7123 sys/mman.h \
7124 sys/modem.h \
7125 sys/msg.h \
7126 sys/mtio.h \
7127 sys/param.h \
7128 sys/poll.h \
7129 sys/prctl.h \
7130 sys/protosw.h \
7131 sys/ptrace.h \
7132 sys/queue.h \
7133 sys/resource.h \
7134 sys/scsiio.h \
7135 sys/shm.h \
7136 sys/signal.h \
7137 sys/socket.h \
7138 sys/socketvar.h \
7139 sys/sockio.h \
7140 sys/statvfs.h \
7141 sys/strtio.h \
7142 sys/syscall.h \
7143 sys/sysinfo.h \
7144 sys/tihdr.h \
7145 sys/time.h \
7146 sys/timeout.h \
7147 sys/times.h \
7148 sys/uio.h \
7149 sys/user.h \
7150 sys/utsname.h \
7151 sys/vnode.h \
7152 sys/wait.h \
7153 syscall.h \
7154 termios.h \
7155 unistd.h \
7156 utime.h \
7157 valgrind/memcheck.h \
7158 valgrind/valgrind.h \
7159 zlib.h
7161 do :
7162 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7163 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7164 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7165 cat >>confdefs.h <<_ACEOF
7166 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7167 _ACEOF
7171 done
7173 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7174 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7176 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7181 if test $ac_cv_header_sys_mkdev_h = no; then
7182 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7183 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7185 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7192 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7193 if ${ac_cv_header_stat_broken+:} false; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7197 /* end confdefs.h. */
7198 #include <sys/types.h>
7199 #include <sys/stat.h>
7201 #if defined S_ISBLK && defined S_IFDIR
7202 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7203 #endif
7205 #if defined S_ISBLK && defined S_IFCHR
7206 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7207 #endif
7209 #if defined S_ISLNK && defined S_IFREG
7210 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7211 #endif
7213 #if defined S_ISSOCK && defined S_IFREG
7214 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7215 #endif
7217 _ACEOF
7218 if ac_fn_c_try_compile "$LINENO"; then :
7219 ac_cv_header_stat_broken=no
7220 else
7221 ac_cv_header_stat_broken=yes
7223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7226 $as_echo "$ac_cv_header_stat_broken" >&6; }
7227 if test $ac_cv_header_stat_broken = yes; then
7229 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7235 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7236 do :
7237 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7238 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7239 #ifdef HAVE_SYS_PARAM_H
7240 # include <sys/param.h>
7241 #endif
7243 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7244 cat >>confdefs.h <<_ACEOF
7245 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7246 _ACEOF
7250 done
7253 for ac_header in \
7254 netinet/ip.h \
7255 net/if.h \
7256 net/if_arp.h \
7257 net/if_dl.h \
7258 net/if_types.h \
7259 net/route.h \
7260 netinet/if_ether.h \
7261 netinet/if_inarp.h \
7262 netinet/in_pcb.h \
7263 netinet/ip_icmp.h \
7264 netinet/ip_var.h \
7265 netinet/udp.h \
7266 netipx/ipx.h \
7267 sys/un.h \
7269 do :
7270 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7271 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7272 #ifdef HAVE_SYS_SOCKET_H
7273 # include <sys/socket.h>
7274 #endif
7275 #ifdef HAVE_SYS_SOCKETVAR_H
7276 # include <sys/socketvar.h>
7277 #endif
7278 #ifdef HAVE_NET_ROUTE_H
7279 # include <net/route.h>
7280 #endif
7281 #ifdef HAVE_NETINET_IN_H
7282 # include <netinet/in.h>
7283 #endif
7284 #ifdef HAVE_NETINET_IN_SYSTM_H
7285 # include <netinet/in_systm.h>
7286 #endif
7287 #ifdef HAVE_NET_IF_H
7288 # include <net/if.h>
7289 #endif
7290 #ifdef HAVE_NETINET_IP_H
7291 # include <netinet/ip.h>
7292 #endif
7294 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7295 cat >>confdefs.h <<_ACEOF
7296 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7297 _ACEOF
7301 done
7304 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7305 do :
7306 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7307 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7308 #ifdef HAVE_ALIAS_H
7309 # include <alias.h>
7310 #endif
7311 #ifdef HAVE_SYS_SOCKET_H
7312 # include <sys/socket.h>
7313 #endif
7314 #ifdef HAVE_SYS_SOCKETVAR_H
7315 # include <sys/socketvar.h>
7316 #endif
7317 #ifdef HAVE_SYS_TIMEOUT_H
7318 # include <sys/timeout.h>
7319 #endif
7320 #ifdef HAVE_NETINET_IN_H
7321 # include <netinet/in.h>
7322 #endif
7323 #ifdef HAVE_NETINET_IN_SYSTM_H
7324 # include <netinet/in_systm.h>
7325 #endif
7326 #ifdef HAVE_NETINET_IP_H
7327 # include <netinet/ip.h>
7328 #endif
7329 #ifdef HAVE_NETINET_IP_VAR_H
7330 # include <netinet/ip_var.h>
7331 #endif
7332 #ifdef HAVE_NETINET_IP_ICMP_H
7333 # include <netinet/ip_icmp.h>
7334 #endif
7335 #ifdef HAVE_NETINET_UDP_H
7336 # include <netinet/udp.h>
7337 #endif
7338 #ifdef HAVE_NETINET_TCP_H
7339 # include <netinet/tcp.h>
7340 #endif
7341 #ifdef HAVE_NETINET_TCP_TIMER_H
7342 #include <netinet/tcp_timer.h>
7343 #endif
7345 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7346 cat >>confdefs.h <<_ACEOF
7347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7348 _ACEOF
7352 done
7355 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7356 do :
7357 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7358 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7359 #ifdef HAVE_ASM_TYPES_H
7360 # include <asm/types.h>
7361 #endif
7362 #ifdef HAVE_SYS_SOCKET_H
7363 # include <sys/socket.h>
7364 #endif
7365 #ifdef HAVE_LINUX_TYPES_H
7366 # include <linux/types.h>
7367 #endif
7369 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7370 cat >>confdefs.h <<_ACEOF
7371 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7372 _ACEOF
7376 done
7379 for ac_header in mach-o/dyld_images.h
7380 do :
7381 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7382 # include <stdbool.h>
7383 #endif
7384 #ifdef HAVE_STDINT_H
7385 # include <stdint.h>
7386 #endif
7388 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7389 cat >>confdefs.h <<_ACEOF
7390 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7391 _ACEOF
7395 done
7398 for ac_header in resolv.h
7399 do :
7400 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7401 #ifdef HAVE_SYS_SOCKET_H
7402 # include <sys/socket.h>
7403 #endif
7404 #ifdef HAVE_NETINET_IN_H
7405 # include <netinet/in.h>
7406 #endif
7407 #ifdef HAVE_ARPA_NAMESER_H
7408 # include <arpa/nameser.h>
7409 #endif
7411 if test "x$ac_cv_header_resolv_h" = xyes; then :
7412 cat >>confdefs.h <<_ACEOF
7413 #define HAVE_RESOLV_H 1
7414 _ACEOF
7418 done
7421 for ac_header in ifaddrs.h
7422 do :
7423 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7425 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7426 cat >>confdefs.h <<_ACEOF
7427 #define HAVE_IFADDRS_H 1
7428 _ACEOF
7432 done
7435 for ac_header in sys/ucontext.h
7436 do :
7437 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7439 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7440 cat >>confdefs.h <<_ACEOF
7441 #define HAVE_SYS_UCONTEXT_H 1
7442 _ACEOF
7446 done
7449 for ac_header in sys/thr.h
7450 do :
7451 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7452 #ifdef HAVE_SYS_UCONTEXT_H
7453 #include <sys/ucontext.h>
7454 #endif
7456 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7457 cat >>confdefs.h <<_ACEOF
7458 #define HAVE_SYS_THR_H 1
7459 _ACEOF
7463 done
7466 for ac_header in pthread_np.h
7467 do :
7468 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7469 #include <pthread.h>
7470 #endif
7472 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7473 cat >>confdefs.h <<_ACEOF
7474 #define HAVE_PTHREAD_NP_H 1
7475 _ACEOF
7479 done
7482 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7483 do :
7484 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7485 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7486 #include <sys/time.h>
7487 #endif
7488 #include <sys/types.h>
7489 #ifdef HAVE_ASM_TYPES_H
7490 #include <asm/types.h>
7491 #endif
7493 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7494 cat >>confdefs.h <<_ACEOF
7495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7496 _ACEOF
7500 done
7503 for ac_header in libprocstat.h
7504 do :
7505 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7506 #include <sys/param.h>
7507 #endif
7508 #ifdef HAVE_SYS_QUEUE_H
7509 #include <sys/queue.h>
7510 #endif
7511 #ifdef HAVE_SYS_SOCKET_H
7512 #include <sys/socket.h>
7513 #endif
7515 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7516 cat >>confdefs.h <<_ACEOF
7517 #define HAVE_LIBPROCSTAT_H 1
7518 _ACEOF
7522 done
7526 DLLFLAGS="-D_REENTRANT"
7528 LDRPATH_INSTALL=""
7530 LDRPATH_LOCAL=""
7532 LDEXECFLAGS=""
7534 WINELOADER_LDFLAGS=""
7536 LIBEXT="so"
7537 DLLEXT=".so"
7538 IMPLIBEXT="def"
7539 # Extract the first word of "ldd", so it can be a program name with args.
7540 set dummy ldd; ac_word=$2
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7542 $as_echo_n "checking for $ac_word... " >&6; }
7543 if ${ac_cv_path_LDD+:} false; then :
7544 $as_echo_n "(cached) " >&6
7545 else
7546 case $LDD in
7547 [\\/]* | ?:[\\/]*)
7548 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7552 as_dummy="/sbin:/usr/sbin:$PATH"
7553 for as_dir in $as_dummy
7555 IFS=$as_save_IFS
7556 test -z "$as_dir" && as_dir=.
7557 for ac_exec_ext in '' $ac_executable_extensions; do
7558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7559 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7561 break 2
7563 done
7564 done
7565 IFS=$as_save_IFS
7567 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7569 esac
7571 LDD=$ac_cv_path_LDD
7572 if test -n "$LDD"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7574 $as_echo "$LDD" >&6; }
7575 else
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7581 if test -n "$ac_tool_prefix"; then
7582 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7583 set dummy ${ac_tool_prefix}otool; ac_word=$2
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7585 $as_echo_n "checking for $ac_word... " >&6; }
7586 if ${ac_cv_prog_OTOOL+:} false; then :
7587 $as_echo_n "(cached) " >&6
7588 else
7589 if test -n "$OTOOL"; then
7590 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7591 else
7592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7593 for as_dir in $PATH
7595 IFS=$as_save_IFS
7596 test -z "$as_dir" && as_dir=.
7597 for ac_exec_ext in '' $ac_executable_extensions; do
7598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7599 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7601 break 2
7603 done
7604 done
7605 IFS=$as_save_IFS
7609 OTOOL=$ac_cv_prog_OTOOL
7610 if test -n "$OTOOL"; then
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7612 $as_echo "$OTOOL" >&6; }
7613 else
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7615 $as_echo "no" >&6; }
7620 if test -z "$ac_cv_prog_OTOOL"; then
7621 ac_ct_OTOOL=$OTOOL
7622 # Extract the first word of "otool", so it can be a program name with args.
7623 set dummy otool; ac_word=$2
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625 $as_echo_n "checking for $ac_word... " >&6; }
7626 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7627 $as_echo_n "(cached) " >&6
7628 else
7629 if test -n "$ac_ct_OTOOL"; then
7630 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7631 else
7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7633 for as_dir in $PATH
7635 IFS=$as_save_IFS
7636 test -z "$as_dir" && as_dir=.
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7639 ac_cv_prog_ac_ct_OTOOL="otool"
7640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7641 break 2
7643 done
7644 done
7645 IFS=$as_save_IFS
7649 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7650 if test -n "$ac_ct_OTOOL"; then
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7652 $as_echo "$ac_ct_OTOOL" >&6; }
7653 else
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 $as_echo "no" >&6; }
7658 if test "x$ac_ct_OTOOL" = x; then
7659 OTOOL="otool"
7660 else
7661 case $cross_compiling:$ac_tool_warned in
7662 yes:)
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7665 ac_tool_warned=yes ;;
7666 esac
7667 OTOOL=$ac_ct_OTOOL
7669 else
7670 OTOOL="$ac_cv_prog_OTOOL"
7673 if test -n "$ac_tool_prefix"; then
7674 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7675 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7677 $as_echo_n "checking for $ac_word... " >&6; }
7678 if ${ac_cv_prog_READELF+:} false; then :
7679 $as_echo_n "(cached) " >&6
7680 else
7681 if test -n "$READELF"; then
7682 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7683 else
7684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7685 for as_dir in $PATH
7687 IFS=$as_save_IFS
7688 test -z "$as_dir" && as_dir=.
7689 for ac_exec_ext in '' $ac_executable_extensions; do
7690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7691 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7693 break 2
7695 done
7696 done
7697 IFS=$as_save_IFS
7701 READELF=$ac_cv_prog_READELF
7702 if test -n "$READELF"; then
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7704 $as_echo "$READELF" >&6; }
7705 else
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7707 $as_echo "no" >&6; }
7712 if test -z "$ac_cv_prog_READELF"; then
7713 ac_ct_READELF=$READELF
7714 # Extract the first word of "readelf", so it can be a program name with args.
7715 set dummy readelf; ac_word=$2
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7717 $as_echo_n "checking for $ac_word... " >&6; }
7718 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7719 $as_echo_n "(cached) " >&6
7720 else
7721 if test -n "$ac_ct_READELF"; then
7722 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7723 else
7724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7725 for as_dir in $PATH
7727 IFS=$as_save_IFS
7728 test -z "$as_dir" && as_dir=.
7729 for ac_exec_ext in '' $ac_executable_extensions; do
7730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7731 ac_cv_prog_ac_ct_READELF="readelf"
7732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7733 break 2
7735 done
7736 done
7737 IFS=$as_save_IFS
7741 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7742 if test -n "$ac_ct_READELF"; then
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7744 $as_echo "$ac_ct_READELF" >&6; }
7745 else
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7747 $as_echo "no" >&6; }
7750 if test "x$ac_ct_READELF" = x; then
7751 READELF="true"
7752 else
7753 case $cross_compiling:$ac_tool_warned in
7754 yes:)
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7757 ac_tool_warned=yes ;;
7758 esac
7759 READELF=$ac_ct_READELF
7761 else
7762 READELF="$ac_cv_prog_READELF"
7765 wine_rules_file=conf$$rules.make
7766 rm -f $wine_rules_file
7767 SUBDIRS=""
7769 DISABLED_SUBDIRS=""
7771 CONFIGURE_TARGETS=""
7774 wine_fn_append_file ()
7776 as_fn_append $1 " \\$as_nl $2"
7779 wine_fn_append_rule ()
7781 $as_echo "$1" >>$wine_rules_file
7784 wine_fn_config_makefile ()
7786 wine_fn_append_file SUBDIRS $1
7787 if eval test \"x\$"$2"\" = x"no"; then :
7788 wine_fn_append_file DISABLED_SUBDIRS $1
7792 wine_fn_config_symlink ()
7794 ac_links=$@
7795 wine_fn_append_rule \
7796 "$ac_links:
7797 @./config.status \$@"
7798 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7801 wine_binary="wine"
7802 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7803 WINELOADER_PROGRAMS="$wine_binary"
7805 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7807 case $host_os in
7808 cygwin*|mingw32*)
7809 if test -n "$ac_tool_prefix"; then
7810 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7811 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7813 $as_echo_n "checking for $ac_word... " >&6; }
7814 if ${ac_cv_prog_DLLTOOL+:} false; then :
7815 $as_echo_n "(cached) " >&6
7816 else
7817 if test -n "$DLLTOOL"; then
7818 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7819 else
7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7821 for as_dir in $PATH
7823 IFS=$as_save_IFS
7824 test -z "$as_dir" && as_dir=.
7825 for ac_exec_ext in '' $ac_executable_extensions; do
7826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7827 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7829 break 2
7831 done
7832 done
7833 IFS=$as_save_IFS
7837 DLLTOOL=$ac_cv_prog_DLLTOOL
7838 if test -n "$DLLTOOL"; then
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7840 $as_echo "$DLLTOOL" >&6; }
7841 else
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7843 $as_echo "no" >&6; }
7848 if test -z "$ac_cv_prog_DLLTOOL"; then
7849 ac_ct_DLLTOOL=$DLLTOOL
7850 # Extract the first word of "dlltool", so it can be a program name with args.
7851 set dummy dlltool; ac_word=$2
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7853 $as_echo_n "checking for $ac_word... " >&6; }
7854 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7855 $as_echo_n "(cached) " >&6
7856 else
7857 if test -n "$ac_ct_DLLTOOL"; then
7858 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7859 else
7860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7861 for as_dir in $PATH
7863 IFS=$as_save_IFS
7864 test -z "$as_dir" && as_dir=.
7865 for ac_exec_ext in '' $ac_executable_extensions; do
7866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7867 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7869 break 2
7871 done
7872 done
7873 IFS=$as_save_IFS
7877 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7878 if test -n "$ac_ct_DLLTOOL"; then
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7880 $as_echo "$ac_ct_DLLTOOL" >&6; }
7881 else
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7883 $as_echo "no" >&6; }
7886 if test "x$ac_ct_DLLTOOL" = x; then
7887 DLLTOOL="false"
7888 else
7889 case $cross_compiling:$ac_tool_warned in
7890 yes:)
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7893 ac_tool_warned=yes ;;
7894 esac
7895 DLLTOOL=$ac_ct_DLLTOOL
7897 else
7898 DLLTOOL="$ac_cv_prog_DLLTOOL"
7901 LIBEXT="dll"
7902 DLLEXT=""
7903 IMPLIBEXT="a"
7904 enable_iphlpapi=${enable_iphlpapi:-no}
7905 enable_kernel32=${enable_kernel32:-no}
7906 enable_msvcrt=${enable_msvcrt:-no}
7907 enable_ntdll=${enable_ntdll:-no}
7908 enable_ws2_32=${enable_ws2_32:-no}
7909 enable_loader=${enable_loader:-no}
7910 enable_server=${enable_server:-no}
7911 with_x=${with_x:-no}
7912 with_pthread=${with_pthread:-no}
7914 crtlibs=""
7915 case $host_os in
7916 mingw32*)
7917 crtlibs="-lmsvcrt"
7918 SOCKET_LIBS="-lws2_32"
7920 esac
7922 LIBWINE_SHAREDLIB="libwine.dll"
7924 LIBWINE_IMPORTLIB="libwine.a"
7926 LIBWINE_INSTALL_LIB="libwine.dll"
7928 LIBWINE_INSTALL_DEV="libwine.a"
7930 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7932 LIBWINE_DEPENDS="wine.def"
7936 darwin*|macosx*)
7937 for ac_header in libunwind.h
7938 do :
7939 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7941 cat >>confdefs.h <<_ACEOF
7942 #define HAVE_LIBUNWIND_H 1
7943 _ACEOF
7947 done
7949 LIBEXT="dylib"
7950 DLLFLAGS="$DLLFLAGS -fPIC"
7951 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7952 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7953 COREFOUNDATION_LIBS="-framework CoreFoundation"
7955 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7957 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7959 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7961 CORESERVICES_LIBS="-framework CoreServices"
7963 APPKIT_LIBS="-framework AppKit"
7965 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7967 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7968 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7969 $as_echo_n "(cached) " >&6
7970 else
7971 ac_wine_try_cflags_saved=$CFLAGS
7972 CFLAGS="$CFLAGS -Wl,-no_pie"
7973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7974 /* end confdefs.h. */
7975 int main(int argc, char **argv) { return 0; }
7976 _ACEOF
7977 if ac_fn_c_try_link "$LINENO"; then :
7978 ac_cv_cflags__Wl__no_pie=yes
7979 else
7980 ac_cv_cflags__Wl__no_pie=no
7982 rm -f core conftest.err conftest.$ac_objext \
7983 conftest$ac_exeext conftest.$ac_ext
7984 CFLAGS=$ac_wine_try_cflags_saved
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7987 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7988 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7989 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
7991 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7992 then
7993 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7996 if test "$ac_cv_header_Security_Security_h" = "yes"
7997 then
7998 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8000 ac_save_LIBS="$LIBS"
8001 LIBS="$LIBS $SECURITY_LIBS"
8002 for ac_func in SSLCopyPeerCertificates
8003 do :
8004 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8005 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8006 cat >>confdefs.h <<_ACEOF
8007 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8008 _ACEOF
8011 done
8013 LIBS="$ac_save_LIBS"
8014 with_gnutls=${with_gnutls:-no}
8016 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8017 then
8018 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8019 then
8020 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8022 else
8023 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8026 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8027 ac_save_LIBS="$LIBS"
8028 LIBS="$LIBS $COREAUDIO_LIBS"
8029 for ac_func in AUGraphAddNode
8030 do :
8031 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8032 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8033 cat >>confdefs.h <<_ACEOF
8034 #define HAVE_AUGRAPHADDNODE 1
8035 _ACEOF
8038 done
8040 LIBS="$ac_save_LIBS"
8042 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8043 then
8044 OPENAL_LIBS="-framework OpenAL"
8047 cat >>confdefs.h <<_ACEOF
8048 #define HAVE_OPENAL 1
8049 _ACEOF
8051 ac_cv_lib_openal=yes
8053 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8054 then
8055 OPENCL_LIBS="-framework OpenCL"
8057 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8059 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8060 then
8061 ac_save_LIBS="$LIBS"
8062 LIBS="$LIBS $IOKIT_LIBS"
8063 for ac_func in IOHIDManagerCreate
8064 do :
8065 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8066 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8067 cat >>confdefs.h <<_ACEOF
8068 #define HAVE_IOHIDMANAGERCREATE 1
8069 _ACEOF
8072 done
8074 LIBS="$ac_save_LIBS"
8076 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8077 then
8078 ac_save_LIBS="$LIBS"
8079 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8081 $as_echo_n "checking for the QuickTime framework... " >&6; }
8082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8083 /* end confdefs.h. */
8084 #include <QuickTime/ImageCompression.h>
8086 main ()
8088 CodecManagerVersion(NULL);
8090 return 0;
8092 _ACEOF
8093 if ac_fn_c_try_link "$LINENO"; then :
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8095 $as_echo "yes" >&6; }
8096 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8098 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8099 else
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8101 $as_echo "no" >&6; }
8102 ac_cv_header_QuickTime_ImageCompression_h=no
8104 rm -f core conftest.err conftest.$ac_objext \
8105 conftest$ac_exeext conftest.$ac_ext
8106 LIBS="$ac_save_LIBS"
8108 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8109 then
8110 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8112 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8113 then
8114 CARBON_LIBS="-framework Carbon"
8118 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8119 then
8120 ac_save_LIBS="$LIBS"
8121 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8122 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8123 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8124 enable_winemac_drv=${enable_winemac_drv:-yes}
8127 LIBS="$ac_save_LIBS"
8130 if test "x$enable_win16" = "xyes"
8131 then
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8133 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8134 if test "$cross_compiling" = yes; then :
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8136 $as_echo "cross-compiling, assuming yes" >&6; }
8137 else
8138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8139 /* end confdefs.h. */
8140 asm(".text\n"
8141 "bad:\tnop;nop\n"
8142 "good:\tnop;nop\n\t"
8143 ".globl _testfunc\n"
8144 "_testfunc:\tcallw good");
8145 extern void testfunc();
8147 main ()
8149 unsigned short *p = (unsigned short *)testfunc;
8150 return p[0] != 0xe866 || p[1] != 0xfffa
8152 return 0;
8154 _ACEOF
8155 if ac_fn_c_try_run "$LINENO"; then :
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8157 $as_echo "yes" >&6; }
8158 else
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8160 $as_echo "no" >&6; }
8161 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
8163 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8164 conftest.$ac_objext conftest.beam conftest.$ac_ext
8169 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8171 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8173 LIBWINE_INSTALL_DEV="libwine.dylib"
8175 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8177 WINELOADER_DEPENDS="wine_info.plist"
8181 linux-android*)
8182 DLLFLAGS="$DLLFLAGS -fPIC"
8183 LDEXECFLAGS="-Wl,-pie"
8184 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8186 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8187 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8188 $as_echo_n "(cached) " >&6
8189 else
8190 ac_wine_try_cflags_saved=$CFLAGS
8191 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8193 /* end confdefs.h. */
8194 int main(int argc, char **argv) { return 0; }
8195 _ACEOF
8196 if ac_fn_c_try_link "$LINENO"; then :
8197 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8198 else
8199 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8201 rm -f core conftest.err conftest.$ac_objext \
8202 conftest$ac_exeext conftest.$ac_ext
8203 CFLAGS=$ac_wine_try_cflags_saved
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8206 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8207 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8208 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8210 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8212 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8213 if eval \${$as_ac_var+:} false; then :
8214 $as_echo_n "(cached) " >&6
8215 else
8216 ac_wine_try_cflags_saved=$CFLAGS
8217 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8219 /* end confdefs.h. */
8220 int main(int argc, char **argv) { return 0; }
8221 _ACEOF
8222 if ac_fn_c_try_link "$LINENO"; then :
8223 eval "$as_ac_var=yes"
8224 else
8225 eval "$as_ac_var=no"
8227 rm -f core conftest.err conftest.$ac_objext \
8228 conftest$ac_exeext conftest.$ac_ext
8229 CFLAGS=$ac_wine_try_cflags_saved
8231 eval ac_res=\$$as_ac_var
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8233 $as_echo "$ac_res" >&6; }
8234 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8235 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8236 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8237 else
8238 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8240 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8241 if eval \${$as_ac_var+:} false; then :
8242 $as_echo_n "(cached) " >&6
8243 else
8244 ac_wine_try_cflags_saved=$CFLAGS
8245 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8247 /* end confdefs.h. */
8248 int main(int argc, char **argv) { return 0; }
8249 _ACEOF
8250 if ac_fn_c_try_link "$LINENO"; then :
8251 eval "$as_ac_var=yes"
8252 else
8253 eval "$as_ac_var=no"
8255 rm -f core conftest.err conftest.$ac_objext \
8256 conftest$ac_exeext conftest.$ac_ext
8257 CFLAGS=$ac_wine_try_cflags_saved
8259 eval ac_res=\$$as_ac_var
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8261 $as_echo "$ac_res" >&6; }
8262 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8263 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8264 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8268 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8269 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8270 $as_echo_n "(cached) " >&6
8271 else
8272 ac_wine_try_cflags_saved=$CFLAGS
8273 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8275 /* end confdefs.h. */
8276 int main(int argc, char **argv) { return 0; }
8277 _ACEOF
8278 if ac_fn_c_try_link "$LINENO"; then :
8279 ac_cv_cflags__Wl___enable_new_dtags=yes
8280 else
8281 ac_cv_cflags__Wl___enable_new_dtags=no
8283 rm -f core conftest.err conftest.$ac_objext \
8284 conftest$ac_exeext conftest.$ac_ext
8285 CFLAGS=$ac_wine_try_cflags_saved
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8288 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8289 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8290 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8293 LIBWINE_SHAREDLIB="libwine.so"
8295 LIBWINE_INSTALL_LIB="libwine.so"
8297 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8301 $as_echo_n "checking for -lEGL... " >&6; }
8302 if ${ac_cv_lib_soname_EGL+:} false; then :
8303 $as_echo_n "(cached) " >&6
8304 else
8305 ac_check_soname_save_LIBS=$LIBS
8306 LIBS="-lEGL $LIBS"
8307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8310 /* Override any GCC internal prototype to avoid an error.
8311 Use char because int might match the return type of a GCC
8312 builtin and then its argument prototype would still apply. */
8313 #ifdef __cplusplus
8314 extern "C"
8315 #endif
8316 char eglGetProcAddress ();
8318 main ()
8320 return eglGetProcAddress ();
8322 return 0;
8324 _ACEOF
8325 if ac_fn_c_try_link "$LINENO"; then :
8326 case "$LIBEXT" in
8327 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8328 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'` ;;
8329 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8330 if ${ac_cv_lib_soname_EGL:+false} :; then :
8331 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8332 fi ;;
8333 esac
8335 rm -f core conftest.err conftest.$ac_objext \
8336 conftest$ac_exeext conftest.$ac_ext
8337 LIBS=$ac_check_soname_save_LIBS
8339 if ${ac_cv_lib_soname_EGL:+false} :; then :
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8341 $as_echo "not found" >&6; }
8343 else
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8345 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8347 cat >>confdefs.h <<_ACEOF
8348 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8349 _ACEOF
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8354 $as_echo_n "checking for -lGLESv2... " >&6; }
8355 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8356 $as_echo_n "(cached) " >&6
8357 else
8358 ac_check_soname_save_LIBS=$LIBS
8359 LIBS="-lGLESv2 $LIBS"
8360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8361 /* end confdefs.h. */
8363 /* Override any GCC internal prototype to avoid an error.
8364 Use char because int might match the return type of a GCC
8365 builtin and then its argument prototype would still apply. */
8366 #ifdef __cplusplus
8367 extern "C"
8368 #endif
8369 char glFlush ();
8371 main ()
8373 return glFlush ();
8375 return 0;
8377 _ACEOF
8378 if ac_fn_c_try_link "$LINENO"; then :
8379 case "$LIBEXT" in
8380 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8381 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'` ;;
8382 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8383 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8384 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8385 fi ;;
8386 esac
8388 rm -f core conftest.err conftest.$ac_objext \
8389 conftest$ac_exeext conftest.$ac_ext
8390 LIBS=$ac_check_soname_save_LIBS
8392 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8394 $as_echo "not found" >&6; }
8396 else
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8398 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8400 cat >>confdefs.h <<_ACEOF
8401 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8402 _ACEOF
8407 if test "x$exec_prefix" = xNONE
8408 then
8409 case $host_cpu in
8410 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8411 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8412 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8413 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8414 esac
8419 DLLFLAGS="$DLLFLAGS -fPIC"
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8421 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8422 if ${ac_cv_c_dll_gnuelf+:} false; then :
8423 $as_echo_n "(cached) " >&6
8424 else
8425 ac_wine_try_cflags_saved=$CFLAGS
8426 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8429 void myfunc() {}
8430 _ACEOF
8431 if ac_fn_c_try_link "$LINENO"; then :
8432 ac_cv_c_dll_gnuelf="yes"
8433 else
8434 ac_cv_c_dll_gnuelf="no"
8436 rm -f core conftest.err conftest.$ac_objext \
8437 conftest$ac_exeext conftest.$ac_ext
8438 CFLAGS=$ac_wine_try_cflags_saved
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8441 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8442 if test "$ac_cv_c_dll_gnuelf" = "yes"
8443 then
8444 LIBWINE_LDFLAGS="-shared"
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8446 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8447 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8448 $as_echo_n "(cached) " >&6
8449 else
8450 ac_wine_try_cflags_saved=$CFLAGS
8451 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8453 /* end confdefs.h. */
8454 int main(int argc, char **argv) { return 0; }
8455 _ACEOF
8456 if ac_fn_c_try_link "$LINENO"; then :
8457 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8458 else
8459 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8461 rm -f core conftest.err conftest.$ac_objext \
8462 conftest$ac_exeext conftest.$ac_ext
8463 CFLAGS=$ac_wine_try_cflags_saved
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8466 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8467 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8468 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8469 else
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8471 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8472 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8473 $as_echo_n "(cached) " >&6
8474 else
8475 ac_wine_try_cflags_saved=$CFLAGS
8476 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8479 int main(int argc, char **argv) { return 0; }
8480 _ACEOF
8481 if ac_fn_c_try_link "$LINENO"; then :
8482 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8483 else
8484 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8486 rm -f core conftest.err conftest.$ac_objext \
8487 conftest$ac_exeext conftest.$ac_ext
8488 CFLAGS=$ac_wine_try_cflags_saved
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8491 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8492 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8493 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8497 echo '{ global: *; };' >conftest.map
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8499 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8500 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8501 $as_echo_n "(cached) " >&6
8502 else
8503 ac_wine_try_cflags_saved=$CFLAGS
8504 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8507 int main(int argc, char **argv) { return 0; }
8508 _ACEOF
8509 if ac_fn_c_try_link "$LINENO"; then :
8510 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8511 else
8512 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8514 rm -f core conftest.err conftest.$ac_objext \
8515 conftest$ac_exeext conftest.$ac_ext
8516 CFLAGS=$ac_wine_try_cflags_saved
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8519 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8520 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8521 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8523 rm -f conftest.map
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8526 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8527 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8528 $as_echo_n "(cached) " >&6
8529 else
8530 ac_wine_try_cflags_saved=$CFLAGS
8531 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8534 int main(int argc, char **argv) { return 0; }
8535 _ACEOF
8536 if ac_fn_c_try_link "$LINENO"; then :
8537 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8538 else
8539 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8541 rm -f core conftest.err conftest.$ac_objext \
8542 conftest$ac_exeext conftest.$ac_ext
8543 CFLAGS=$ac_wine_try_cflags_saved
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8546 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8547 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8548 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8551 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8553 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8554 if eval \${$as_ac_var+:} false; then :
8555 $as_echo_n "(cached) " >&6
8556 else
8557 ac_wine_try_cflags_saved=$CFLAGS
8558 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 int main(int argc, char **argv) { return 0; }
8562 _ACEOF
8563 if ac_fn_c_try_link "$LINENO"; then :
8564 eval "$as_ac_var=yes"
8565 else
8566 eval "$as_ac_var=no"
8568 rm -f core conftest.err conftest.$ac_objext \
8569 conftest$ac_exeext conftest.$ac_ext
8570 CFLAGS=$ac_wine_try_cflags_saved
8572 eval ac_res=\$$as_ac_var
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8574 $as_echo "$ac_res" >&6; }
8575 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8576 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8577 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8578 else
8579 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8581 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8582 if eval \${$as_ac_var+:} false; then :
8583 $as_echo_n "(cached) " >&6
8584 else
8585 ac_wine_try_cflags_saved=$CFLAGS
8586 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8588 /* end confdefs.h. */
8589 int main(int argc, char **argv) { return 0; }
8590 _ACEOF
8591 if ac_fn_c_try_link "$LINENO"; then :
8592 eval "$as_ac_var=yes"
8593 else
8594 eval "$as_ac_var=no"
8596 rm -f core conftest.err conftest.$ac_objext \
8597 conftest$ac_exeext conftest.$ac_ext
8598 CFLAGS=$ac_wine_try_cflags_saved
8600 eval ac_res=\$$as_ac_var
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8602 $as_echo "$ac_res" >&6; }
8603 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8604 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8605 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8610 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8611 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8612 $as_echo_n "(cached) " >&6
8613 else
8614 ac_wine_try_cflags_saved=$CFLAGS
8615 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8617 /* end confdefs.h. */
8618 int main(int argc, char **argv) { return 0; }
8619 _ACEOF
8620 if ac_fn_c_try_link "$LINENO"; then :
8621 ac_cv_cflags__Wl___enable_new_dtags=yes
8622 else
8623 ac_cv_cflags__Wl___enable_new_dtags=no
8625 rm -f core conftest.err conftest.$ac_objext \
8626 conftest$ac_exeext conftest.$ac_ext
8627 CFLAGS=$ac_wine_try_cflags_saved
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8630 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8631 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8632 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8635 case $host_cpu in
8636 *i[3456789]86* | x86_64 | *aarch64*)
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8638 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8639 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8640 $as_echo_n "(cached) " >&6
8641 else
8642 ac_wine_try_cflags_saved=$CFLAGS
8643 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8645 /* end confdefs.h. */
8646 int main(int argc, char **argv) { return 0; }
8647 _ACEOF
8648 if ac_fn_c_try_link "$LINENO"; then :
8649 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8650 else
8651 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8653 rm -f core conftest.err conftest.$ac_objext \
8654 conftest$ac_exeext conftest.$ac_ext
8655 CFLAGS=$ac_wine_try_cflags_saved
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8658 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8659 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8660 case $host_os in
8661 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8662 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8663 esac
8664 else
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8666 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8667 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8668 $as_echo_n "(cached) " >&6
8669 else
8670 ac_wine_try_cflags_saved=$CFLAGS
8671 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8673 /* end confdefs.h. */
8674 int main(int argc, char **argv) { return 0; }
8675 _ACEOF
8676 if ac_fn_c_try_link "$LINENO"; then :
8677 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8678 else
8679 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8681 rm -f core conftest.err conftest.$ac_objext \
8682 conftest$ac_exeext conftest.$ac_ext
8683 CFLAGS=$ac_wine_try_cflags_saved
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8686 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8687 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8688 case $host_os in
8689 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8690 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8691 esac
8693 # Extract the first word of "prelink", so it can be a program name with args.
8694 set dummy prelink; ac_word=$2
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8696 $as_echo_n "checking for $ac_word... " >&6; }
8697 if ${ac_cv_path_PRELINK+:} false; then :
8698 $as_echo_n "(cached) " >&6
8699 else
8700 case $PRELINK in
8701 [\\/]* | ?:[\\/]*)
8702 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8706 for as_dir in /sbin /usr/sbin $PATH
8708 IFS=$as_save_IFS
8709 test -z "$as_dir" && as_dir=.
8710 for ac_exec_ext in '' $ac_executable_extensions; do
8711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8712 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8714 break 2
8716 done
8717 done
8718 IFS=$as_save_IFS
8720 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8722 esac
8724 PRELINK=$ac_cv_path_PRELINK
8725 if test -n "$PRELINK"; then
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8727 $as_echo "$PRELINK" >&6; }
8728 else
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8730 $as_echo "no" >&6; }
8734 if test "x$PRELINK" = xfalse
8735 then
8736 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8740 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8741 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8742 $as_echo_n "(cached) " >&6
8743 else
8744 ac_wine_try_cflags_saved=$CFLAGS
8745 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8747 /* end confdefs.h. */
8748 int main(int argc, char **argv) { return 0; }
8749 _ACEOF
8750 if ac_fn_c_try_link "$LINENO"; then :
8751 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8752 else
8753 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8755 rm -f core conftest.err conftest.$ac_objext \
8756 conftest$ac_exeext conftest.$ac_ext
8757 CFLAGS=$ac_wine_try_cflags_saved
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8760 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8761 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8762 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8765 esac
8767 else
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8769 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8770 if ${ac_cv_c_dll_unixware+:} false; then :
8771 $as_echo_n "(cached) " >&6
8772 else
8773 ac_wine_try_cflags_saved=$CFLAGS
8774 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776 /* end confdefs.h. */
8777 void myfunc() {}
8778 _ACEOF
8779 if ac_fn_c_try_link "$LINENO"; then :
8780 ac_cv_c_dll_unixware="yes"
8781 else
8782 ac_cv_c_dll_unixware="no"
8784 rm -f core conftest.err conftest.$ac_objext \
8785 conftest$ac_exeext conftest.$ac_ext
8786 CFLAGS=$ac_wine_try_cflags_saved
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8789 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8790 if test "$ac_cv_c_dll_unixware" = "yes"
8791 then
8792 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8795 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8797 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8799 LIBWINE_INSTALL_DEV="libwine.so"
8801 LIBWINE_DEPENDS="wine.map"
8804 esac
8806 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8807 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8808 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8809 enable_winemac_drv=${enable_winemac_drv:-no}
8810 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8812 CROSSTARGET=""
8814 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8815 then
8816 case "$host_cpu" in
8817 arm*)
8818 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8819 i[3456789]86*)
8820 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
8821 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8822 mingw32-gcc" ;;
8823 x86_64)
8824 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
8825 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8827 ac_prefix_list="" ;;
8828 esac
8829 for ac_prog in $ac_prefix_list
8831 # Extract the first word of "$ac_prog", so it can be a program name with args.
8832 set dummy $ac_prog; ac_word=$2
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8834 $as_echo_n "checking for $ac_word... " >&6; }
8835 if ${ac_cv_prog_CROSSCC+:} false; then :
8836 $as_echo_n "(cached) " >&6
8837 else
8838 if test -n "$CROSSCC"; then
8839 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8840 else
8841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8842 for as_dir in $PATH
8844 IFS=$as_save_IFS
8845 test -z "$as_dir" && as_dir=.
8846 for ac_exec_ext in '' $ac_executable_extensions; do
8847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8848 ac_cv_prog_CROSSCC="$ac_prog"
8849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8850 break 2
8852 done
8853 done
8854 IFS=$as_save_IFS
8858 CROSSCC=$ac_cv_prog_CROSSCC
8859 if test -n "$CROSSCC"; then
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8861 $as_echo "$CROSSCC" >&6; }
8862 else
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8864 $as_echo "no" >&6; }
8868 test -n "$CROSSCC" && break
8869 done
8870 test -n "$CROSSCC" || CROSSCC="false"
8872 if test "$CROSSCC" != "false"
8873 then
8874 ac_save_CC="$CC"
8875 CC="$CROSSCC"
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8877 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8879 /* end confdefs.h. */
8882 main ()
8886 return 0;
8888 _ACEOF
8889 if ac_fn_c_try_compile "$LINENO"; then :
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8891 $as_echo "yes" >&6; }
8892 set x $CROSSCC
8893 shift
8894 while test $# -ge 1
8896 case "$1" in
8897 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8898 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8899 esac
8900 shift
8901 done
8902 else
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8904 $as_echo "no" >&6; }
8906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8907 CC="$ac_save_CC"
8908 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8914 if test "$ac_cv_header_pthread_h" = "yes"
8915 then
8916 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8917 if test "x$ac_cv_func_pthread_create" = xyes; then :
8919 else
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8921 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8922 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 ac_check_lib_save_LIBS=$LIBS
8926 LIBS="-lpthread $LIBS"
8927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8928 /* end confdefs.h. */
8930 /* Override any GCC internal prototype to avoid an error.
8931 Use char because int might match the return type of a GCC
8932 builtin and then its argument prototype would still apply. */
8933 #ifdef __cplusplus
8934 extern "C"
8935 #endif
8936 char pthread_create ();
8938 main ()
8940 return pthread_create ();
8942 return 0;
8944 _ACEOF
8945 if ac_fn_c_try_link "$LINENO"; then :
8946 ac_cv_lib_pthread_pthread_create=yes
8947 else
8948 ac_cv_lib_pthread_pthread_create=no
8950 rm -f core conftest.err conftest.$ac_objext \
8951 conftest$ac_exeext conftest.$ac_ext
8952 LIBS=$ac_check_lib_save_LIBS
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8955 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8956 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8957 PTHREAD_LIBS="-lpthread"
8964 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8965 case "x$with_pthread" in
8966 xno) ;;
8967 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8968 Wine cannot support threads without libpthread.
8969 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8970 esac
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8976 $as_echo_n "checking for X... " >&6; }
8979 # Check whether --with-x was given.
8980 if test "${with_x+set}" = set; then :
8981 withval=$with_x;
8984 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8985 if test "x$with_x" = xno; then
8986 # The user explicitly disabled X.
8987 have_x=disabled
8988 else
8989 case $x_includes,$x_libraries in #(
8990 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8991 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8992 $as_echo_n "(cached) " >&6
8993 else
8994 # One or both of the vars are not set, and there is no cached value.
8995 ac_x_includes=no ac_x_libraries=no
8996 rm -f -r conftest.dir
8997 if mkdir conftest.dir; then
8998 cd conftest.dir
8999 cat >Imakefile <<'_ACEOF'
9000 incroot:
9001 @echo incroot='${INCROOT}'
9002 usrlibdir:
9003 @echo usrlibdir='${USRLIBDIR}'
9004 libdir:
9005 @echo libdir='${LIBDIR}'
9006 _ACEOF
9007 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9008 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9009 for ac_var in incroot usrlibdir libdir; do
9010 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9011 done
9012 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9013 for ac_extension in a so sl dylib la dll; do
9014 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9015 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9016 ac_im_usrlibdir=$ac_im_libdir; break
9018 done
9019 # Screen out bogus values from the imake configuration. They are
9020 # bogus both because they are the default anyway, and because
9021 # using them would break gcc on systems where it needs fixed includes.
9022 case $ac_im_incroot in
9023 /usr/include) ac_x_includes= ;;
9024 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9025 esac
9026 case $ac_im_usrlibdir in
9027 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9028 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9029 esac
9031 cd ..
9032 rm -f -r conftest.dir
9035 # Standard set of common directories for X headers.
9036 # Check X11 before X11Rn because it is often a symlink to the current release.
9037 ac_x_header_dirs='
9038 /usr/X11/include
9039 /usr/X11R7/include
9040 /usr/X11R6/include
9041 /usr/X11R5/include
9042 /usr/X11R4/include
9044 /usr/include/X11
9045 /usr/include/X11R7
9046 /usr/include/X11R6
9047 /usr/include/X11R5
9048 /usr/include/X11R4
9050 /usr/local/X11/include
9051 /usr/local/X11R7/include
9052 /usr/local/X11R6/include
9053 /usr/local/X11R5/include
9054 /usr/local/X11R4/include
9056 /usr/local/include/X11
9057 /usr/local/include/X11R7
9058 /usr/local/include/X11R6
9059 /usr/local/include/X11R5
9060 /usr/local/include/X11R4
9062 /usr/X386/include
9063 /usr/x386/include
9064 /usr/XFree86/include/X11
9066 /usr/include
9067 /usr/local/include
9068 /usr/unsupported/include
9069 /usr/athena/include
9070 /usr/local/x11r5/include
9071 /usr/lpp/Xamples/include
9073 /usr/openwin/include
9074 /usr/openwin/share/include'
9076 if test "$ac_x_includes" = no; then
9077 # Guess where to find include files, by looking for Xlib.h.
9078 # First, try using that file with no special directory specified.
9079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9081 #include <X11/Xlib.h>
9082 _ACEOF
9083 if ac_fn_c_try_cpp "$LINENO"; then :
9084 # We can compile using X headers with no special include directory.
9085 ac_x_includes=
9086 else
9087 for ac_dir in $ac_x_header_dirs; do
9088 if test -r "$ac_dir/X11/Xlib.h"; then
9089 ac_x_includes=$ac_dir
9090 break
9092 done
9094 rm -f conftest.err conftest.i conftest.$ac_ext
9095 fi # $ac_x_includes = no
9097 if test "$ac_x_libraries" = no; then
9098 # Check for the libraries.
9099 # See if we find them without any special options.
9100 # Don't add to $LIBS permanently.
9101 ac_save_LIBS=$LIBS
9102 LIBS="-lX11 $LIBS"
9103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9105 #include <X11/Xlib.h>
9107 main ()
9109 XrmInitialize ()
9111 return 0;
9113 _ACEOF
9114 if ac_fn_c_try_link "$LINENO"; then :
9115 LIBS=$ac_save_LIBS
9116 # We can link X programs with no special library path.
9117 ac_x_libraries=
9118 else
9119 LIBS=$ac_save_LIBS
9120 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9122 # Don't even attempt the hair of trying to link an X program!
9123 for ac_extension in a so sl dylib la dll; do
9124 if test -r "$ac_dir/libX11.$ac_extension"; then
9125 ac_x_libraries=$ac_dir
9126 break 2
9128 done
9129 done
9131 rm -f core conftest.err conftest.$ac_objext \
9132 conftest$ac_exeext conftest.$ac_ext
9133 fi # $ac_x_libraries = no
9135 case $ac_x_includes,$ac_x_libraries in #(
9136 no,* | *,no | *\'*)
9137 # Didn't find X, or a directory has "'" in its name.
9138 ac_cv_have_x="have_x=no";; #(
9140 # Record where we found X for the cache.
9141 ac_cv_have_x="have_x=yes\
9142 ac_x_includes='$ac_x_includes'\
9143 ac_x_libraries='$ac_x_libraries'"
9144 esac
9146 ;; #(
9147 *) have_x=yes;;
9148 esac
9149 eval "$ac_cv_have_x"
9150 fi # $with_x != no
9152 if test "$have_x" != yes; then
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9154 $as_echo "$have_x" >&6; }
9155 no_x=yes
9156 else
9157 # If each of the values was on the command line, it overrides each guess.
9158 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9159 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9160 # Update the cache value to reflect the command line values.
9161 ac_cv_have_x="have_x=yes\
9162 ac_x_includes='$x_includes'\
9163 ac_x_libraries='$x_libraries'"
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9165 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9168 if test "$no_x" = yes; then
9169 # Not all programs may use this symbol, but it does not hurt to define it.
9171 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9173 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9174 else
9175 if test -n "$x_includes"; then
9176 X_CFLAGS="$X_CFLAGS -I$x_includes"
9179 # It would also be nice to do this for all -L options, not just this one.
9180 if test -n "$x_libraries"; then
9181 X_LIBS="$X_LIBS -L$x_libraries"
9182 # For Solaris; some versions of Sun CC require a space after -R and
9183 # others require no space. Words are not sufficient . . . .
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9185 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9186 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9187 ac_xsave_c_werror_flag=$ac_c_werror_flag
9188 ac_c_werror_flag=yes
9189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9190 /* end confdefs.h. */
9193 main ()
9197 return 0;
9199 _ACEOF
9200 if ac_fn_c_try_link "$LINENO"; then :
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9202 $as_echo "no" >&6; }
9203 X_LIBS="$X_LIBS -R$x_libraries"
9204 else
9205 LIBS="$ac_xsave_LIBS -R $x_libraries"
9206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9207 /* end confdefs.h. */
9210 main ()
9214 return 0;
9216 _ACEOF
9217 if ac_fn_c_try_link "$LINENO"; then :
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9219 $as_echo "yes" >&6; }
9220 X_LIBS="$X_LIBS -R $x_libraries"
9221 else
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9223 $as_echo "neither works" >&6; }
9225 rm -f core conftest.err conftest.$ac_objext \
9226 conftest$ac_exeext conftest.$ac_ext
9228 rm -f core conftest.err conftest.$ac_objext \
9229 conftest$ac_exeext conftest.$ac_ext
9230 ac_c_werror_flag=$ac_xsave_c_werror_flag
9231 LIBS=$ac_xsave_LIBS
9234 # Check for system-dependent libraries X programs must link with.
9235 # Do this before checking for the system-independent R6 libraries
9236 # (-lICE), since we may need -lsocket or whatever for X linking.
9238 if test "$ISC" = yes; then
9239 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9240 else
9241 # Martyn Johnson says this is needed for Ultrix, if the X
9242 # libraries were built with DECnet support. And Karl Berry says
9243 # the Alpha needs dnet_stub (dnet does not exist).
9244 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9248 /* Override any GCC internal prototype to avoid an error.
9249 Use char because int might match the return type of a GCC
9250 builtin and then its argument prototype would still apply. */
9251 #ifdef __cplusplus
9252 extern "C"
9253 #endif
9254 char XOpenDisplay ();
9256 main ()
9258 return XOpenDisplay ();
9260 return 0;
9262 _ACEOF
9263 if ac_fn_c_try_link "$LINENO"; then :
9265 else
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9267 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9268 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9269 $as_echo_n "(cached) " >&6
9270 else
9271 ac_check_lib_save_LIBS=$LIBS
9272 LIBS="-ldnet $LIBS"
9273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9279 #ifdef __cplusplus
9280 extern "C"
9281 #endif
9282 char dnet_ntoa ();
9284 main ()
9286 return dnet_ntoa ();
9288 return 0;
9290 _ACEOF
9291 if ac_fn_c_try_link "$LINENO"; then :
9292 ac_cv_lib_dnet_dnet_ntoa=yes
9293 else
9294 ac_cv_lib_dnet_dnet_ntoa=no
9296 rm -f core conftest.err conftest.$ac_objext \
9297 conftest$ac_exeext conftest.$ac_ext
9298 LIBS=$ac_check_lib_save_LIBS
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9301 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9302 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9303 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9306 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9308 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9309 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9310 $as_echo_n "(cached) " >&6
9311 else
9312 ac_check_lib_save_LIBS=$LIBS
9313 LIBS="-ldnet_stub $LIBS"
9314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9317 /* Override any GCC internal prototype to avoid an error.
9318 Use char because int might match the return type of a GCC
9319 builtin and then its argument prototype would still apply. */
9320 #ifdef __cplusplus
9321 extern "C"
9322 #endif
9323 char dnet_ntoa ();
9325 main ()
9327 return dnet_ntoa ();
9329 return 0;
9331 _ACEOF
9332 if ac_fn_c_try_link "$LINENO"; then :
9333 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9334 else
9335 ac_cv_lib_dnet_stub_dnet_ntoa=no
9337 rm -f core conftest.err conftest.$ac_objext \
9338 conftest$ac_exeext conftest.$ac_ext
9339 LIBS=$ac_check_lib_save_LIBS
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9342 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9343 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9344 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9349 rm -f core conftest.err conftest.$ac_objext \
9350 conftest$ac_exeext conftest.$ac_ext
9351 LIBS="$ac_xsave_LIBS"
9353 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9354 # to get the SysV transport functions.
9355 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9356 # needs -lnsl.
9357 # The nsl library prevents programs from opening the X display
9358 # on Irix 5.2, according to T.E. Dickey.
9359 # The functions gethostbyname, getservbyname, and inet_addr are
9360 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9361 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9362 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9366 if test $ac_cv_func_gethostbyname = no; then
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9368 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9369 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9370 $as_echo_n "(cached) " >&6
9371 else
9372 ac_check_lib_save_LIBS=$LIBS
9373 LIBS="-lnsl $LIBS"
9374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9377 /* Override any GCC internal prototype to avoid an error.
9378 Use char because int might match the return type of a GCC
9379 builtin and then its argument prototype would still apply. */
9380 #ifdef __cplusplus
9381 extern "C"
9382 #endif
9383 char gethostbyname ();
9385 main ()
9387 return gethostbyname ();
9389 return 0;
9391 _ACEOF
9392 if ac_fn_c_try_link "$LINENO"; then :
9393 ac_cv_lib_nsl_gethostbyname=yes
9394 else
9395 ac_cv_lib_nsl_gethostbyname=no
9397 rm -f core conftest.err conftest.$ac_objext \
9398 conftest$ac_exeext conftest.$ac_ext
9399 LIBS=$ac_check_lib_save_LIBS
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9402 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9403 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9404 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9407 if test $ac_cv_lib_nsl_gethostbyname = no; then
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9409 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9410 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9411 $as_echo_n "(cached) " >&6
9412 else
9413 ac_check_lib_save_LIBS=$LIBS
9414 LIBS="-lbsd $LIBS"
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9418 /* Override any GCC internal prototype to avoid an error.
9419 Use char because int might match the return type of a GCC
9420 builtin and then its argument prototype would still apply. */
9421 #ifdef __cplusplus
9422 extern "C"
9423 #endif
9424 char gethostbyname ();
9426 main ()
9428 return gethostbyname ();
9430 return 0;
9432 _ACEOF
9433 if ac_fn_c_try_link "$LINENO"; then :
9434 ac_cv_lib_bsd_gethostbyname=yes
9435 else
9436 ac_cv_lib_bsd_gethostbyname=no
9438 rm -f core conftest.err conftest.$ac_objext \
9439 conftest$ac_exeext conftest.$ac_ext
9440 LIBS=$ac_check_lib_save_LIBS
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9443 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9444 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9445 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9451 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9452 # socket/setsockopt and other routines are undefined under SCO ODT
9453 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9454 # on later versions), says Simon Leinen: it contains gethostby*
9455 # variants that don't use the name server (or something). -lsocket
9456 # must be given before -lnsl if both are needed. We assume that
9457 # if connect needs -lnsl, so does gethostbyname.
9458 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9459 if test "x$ac_cv_func_connect" = xyes; then :
9463 if test $ac_cv_func_connect = no; then
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9465 $as_echo_n "checking for connect in -lsocket... " >&6; }
9466 if ${ac_cv_lib_socket_connect+:} false; then :
9467 $as_echo_n "(cached) " >&6
9468 else
9469 ac_check_lib_save_LIBS=$LIBS
9470 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9474 /* Override any GCC internal prototype to avoid an error.
9475 Use char because int might match the return type of a GCC
9476 builtin and then its argument prototype would still apply. */
9477 #ifdef __cplusplus
9478 extern "C"
9479 #endif
9480 char connect ();
9482 main ()
9484 return connect ();
9486 return 0;
9488 _ACEOF
9489 if ac_fn_c_try_link "$LINENO"; then :
9490 ac_cv_lib_socket_connect=yes
9491 else
9492 ac_cv_lib_socket_connect=no
9494 rm -f core conftest.err conftest.$ac_objext \
9495 conftest$ac_exeext conftest.$ac_ext
9496 LIBS=$ac_check_lib_save_LIBS
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9499 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9500 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9501 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9506 # Guillermo Gomez says -lposix is necessary on A/UX.
9507 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9508 if test "x$ac_cv_func_remove" = xyes; then :
9512 if test $ac_cv_func_remove = no; then
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9514 $as_echo_n "checking for remove in -lposix... " >&6; }
9515 if ${ac_cv_lib_posix_remove+:} false; then :
9516 $as_echo_n "(cached) " >&6
9517 else
9518 ac_check_lib_save_LIBS=$LIBS
9519 LIBS="-lposix $LIBS"
9520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9523 /* Override any GCC internal prototype to avoid an error.
9524 Use char because int might match the return type of a GCC
9525 builtin and then its argument prototype would still apply. */
9526 #ifdef __cplusplus
9527 extern "C"
9528 #endif
9529 char remove ();
9531 main ()
9533 return remove ();
9535 return 0;
9537 _ACEOF
9538 if ac_fn_c_try_link "$LINENO"; then :
9539 ac_cv_lib_posix_remove=yes
9540 else
9541 ac_cv_lib_posix_remove=no
9543 rm -f core conftest.err conftest.$ac_objext \
9544 conftest$ac_exeext conftest.$ac_ext
9545 LIBS=$ac_check_lib_save_LIBS
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9548 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9549 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9550 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9555 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9556 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9557 if test "x$ac_cv_func_shmat" = xyes; then :
9561 if test $ac_cv_func_shmat = no; then
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9563 $as_echo_n "checking for shmat in -lipc... " >&6; }
9564 if ${ac_cv_lib_ipc_shmat+:} false; then :
9565 $as_echo_n "(cached) " >&6
9566 else
9567 ac_check_lib_save_LIBS=$LIBS
9568 LIBS="-lipc $LIBS"
9569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9572 /* Override any GCC internal prototype to avoid an error.
9573 Use char because int might match the return type of a GCC
9574 builtin and then its argument prototype would still apply. */
9575 #ifdef __cplusplus
9576 extern "C"
9577 #endif
9578 char shmat ();
9580 main ()
9582 return shmat ();
9584 return 0;
9586 _ACEOF
9587 if ac_fn_c_try_link "$LINENO"; then :
9588 ac_cv_lib_ipc_shmat=yes
9589 else
9590 ac_cv_lib_ipc_shmat=no
9592 rm -f core conftest.err conftest.$ac_objext \
9593 conftest$ac_exeext conftest.$ac_ext
9594 LIBS=$ac_check_lib_save_LIBS
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9597 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9598 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9599 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9605 # Check for libraries that X11R6 Xt/Xaw programs need.
9606 ac_save_LDFLAGS=$LDFLAGS
9607 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9608 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9609 # check for ICE first), but we must link in the order -lSM -lICE or
9610 # we get undefined symbols. So assume we have SM if we have ICE.
9611 # These have to be linked with before -lX11, unlike the other
9612 # libraries we check for below, so use a different variable.
9613 # John Interrante, Karl Berry
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9615 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9616 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9617 $as_echo_n "(cached) " >&6
9618 else
9619 ac_check_lib_save_LIBS=$LIBS
9620 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h. */
9624 /* Override any GCC internal prototype to avoid an error.
9625 Use char because int might match the return type of a GCC
9626 builtin and then its argument prototype would still apply. */
9627 #ifdef __cplusplus
9628 extern "C"
9629 #endif
9630 char IceConnectionNumber ();
9632 main ()
9634 return IceConnectionNumber ();
9636 return 0;
9638 _ACEOF
9639 if ac_fn_c_try_link "$LINENO"; then :
9640 ac_cv_lib_ICE_IceConnectionNumber=yes
9641 else
9642 ac_cv_lib_ICE_IceConnectionNumber=no
9644 rm -f core conftest.err conftest.$ac_objext \
9645 conftest$ac_exeext conftest.$ac_ext
9646 LIBS=$ac_check_lib_save_LIBS
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9649 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9650 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9651 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9654 LDFLAGS=$ac_save_LDFLAGS
9659 if test "$have_x" = "yes"
9660 then
9661 ac_save_CPPFLAGS="$CPPFLAGS"
9662 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9665 $as_echo_n "checking for -lX11... " >&6; }
9666 if ${ac_cv_lib_soname_X11+:} false; then :
9667 $as_echo_n "(cached) " >&6
9668 else
9669 ac_check_soname_save_LIBS=$LIBS
9670 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9674 /* Override any GCC internal prototype to avoid an error.
9675 Use char because int might match the return type of a GCC
9676 builtin and then its argument prototype would still apply. */
9677 #ifdef __cplusplus
9678 extern "C"
9679 #endif
9680 char XCreateWindow ();
9682 main ()
9684 return XCreateWindow ();
9686 return 0;
9688 _ACEOF
9689 if ac_fn_c_try_link "$LINENO"; then :
9690 case "$LIBEXT" in
9691 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9692 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'` ;;
9693 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9694 if ${ac_cv_lib_soname_X11:+false} :; then :
9695 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9696 fi ;;
9697 esac
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 LIBS=$ac_check_soname_save_LIBS
9703 if ${ac_cv_lib_soname_X11:+false} :; then :
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9705 $as_echo "not found" >&6; }
9707 else
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9709 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9711 cat >>confdefs.h <<_ACEOF
9712 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9713 _ACEOF
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9718 $as_echo_n "checking for -lXext... " >&6; }
9719 if ${ac_cv_lib_soname_Xext+:} false; then :
9720 $as_echo_n "(cached) " >&6
9721 else
9722 ac_check_soname_save_LIBS=$LIBS
9723 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9725 /* end confdefs.h. */
9727 /* Override any GCC internal prototype to avoid an error.
9728 Use char because int might match the return type of a GCC
9729 builtin and then its argument prototype would still apply. */
9730 #ifdef __cplusplus
9731 extern "C"
9732 #endif
9733 char XextCreateExtension ();
9735 main ()
9737 return XextCreateExtension ();
9739 return 0;
9741 _ACEOF
9742 if ac_fn_c_try_link "$LINENO"; then :
9743 case "$LIBEXT" in
9744 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9745 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'` ;;
9746 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9747 if ${ac_cv_lib_soname_Xext:+false} :; then :
9748 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9749 fi ;;
9750 esac
9752 rm -f core conftest.err conftest.$ac_objext \
9753 conftest$ac_exeext conftest.$ac_ext
9754 LIBS=$ac_check_soname_save_LIBS
9756 if ${ac_cv_lib_soname_Xext:+false} :; then :
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9758 $as_echo "not found" >&6; }
9760 else
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9762 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9764 cat >>confdefs.h <<_ACEOF
9765 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9766 _ACEOF
9768 X_LIBS="$X_LIBS -lXext"
9770 X_LIBS="$X_LIBS -lX11"
9772 for ac_header in X11/Xlib.h \
9773 X11/XKBlib.h \
9774 X11/Xutil.h \
9775 X11/Xcursor/Xcursor.h \
9776 X11/extensions/shape.h \
9777 X11/extensions/XInput.h \
9778 X11/extensions/XInput2.h \
9779 X11/extensions/XShm.h \
9780 X11/extensions/Xcomposite.h \
9781 X11/extensions/Xfixes.h \
9782 X11/extensions/Xinerama.h \
9783 X11/extensions/Xrandr.h \
9784 X11/extensions/Xrender.h \
9785 X11/extensions/xf86vmode.h \
9786 X11/extensions/xf86vmproto.h
9787 do :
9788 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9789 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9790 # include <X11/Xlib.h>
9791 #endif
9792 #ifdef HAVE_X11_XUTIL_H
9793 # include <X11/Xutil.h>
9794 #endif
9796 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9797 cat >>confdefs.h <<_ACEOF
9798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9799 _ACEOF
9803 done
9806 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9807 then
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9809 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9810 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9811 $as_echo_n "(cached) " >&6
9812 else
9813 ac_check_lib_save_LIBS=$LIBS
9814 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9818 /* Override any GCC internal prototype to avoid an error.
9819 Use char because int might match the return type of a GCC
9820 builtin and then its argument prototype would still apply. */
9821 #ifdef __cplusplus
9822 extern "C"
9823 #endif
9824 char XkbQueryExtension ();
9826 main ()
9828 return XkbQueryExtension ();
9830 return 0;
9832 _ACEOF
9833 if ac_fn_c_try_link "$LINENO"; then :
9834 ac_cv_lib_X11_XkbQueryExtension=yes
9835 else
9836 ac_cv_lib_X11_XkbQueryExtension=no
9838 rm -f core conftest.err conftest.$ac_objext \
9839 conftest$ac_exeext conftest.$ac_ext
9840 LIBS=$ac_check_lib_save_LIBS
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9843 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9844 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9846 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9852 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9853 then
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9855 $as_echo_n "checking for -lXcursor... " >&6; }
9856 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9857 $as_echo_n "(cached) " >&6
9858 else
9859 ac_check_soname_save_LIBS=$LIBS
9860 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9864 /* Override any GCC internal prototype to avoid an error.
9865 Use char because int might match the return type of a GCC
9866 builtin and then its argument prototype would still apply. */
9867 #ifdef __cplusplus
9868 extern "C"
9869 #endif
9870 char XcursorImageLoadCursor ();
9872 main ()
9874 return XcursorImageLoadCursor ();
9876 return 0;
9878 _ACEOF
9879 if ac_fn_c_try_link "$LINENO"; then :
9880 case "$LIBEXT" in
9881 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9882 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'` ;;
9883 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9884 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9885 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9886 fi ;;
9887 esac
9889 rm -f core conftest.err conftest.$ac_objext \
9890 conftest$ac_exeext conftest.$ac_ext
9891 LIBS=$ac_check_soname_save_LIBS
9893 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9895 $as_echo "not found" >&6; }
9897 else
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9899 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9901 cat >>confdefs.h <<_ACEOF
9902 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9903 _ACEOF
9908 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9909 case "x$with_xcursor" in
9910 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9911 xno) ;;
9912 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9913 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9914 esac
9918 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9919 then
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9921 $as_echo_n "checking for -lXi... " >&6; }
9922 if ${ac_cv_lib_soname_Xi+:} false; then :
9923 $as_echo_n "(cached) " >&6
9924 else
9925 ac_check_soname_save_LIBS=$LIBS
9926 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928 /* end confdefs.h. */
9930 /* Override any GCC internal prototype to avoid an error.
9931 Use char because int might match the return type of a GCC
9932 builtin and then its argument prototype would still apply. */
9933 #ifdef __cplusplus
9934 extern "C"
9935 #endif
9936 char XOpenDevice ();
9938 main ()
9940 return XOpenDevice ();
9942 return 0;
9944 _ACEOF
9945 if ac_fn_c_try_link "$LINENO"; then :
9946 case "$LIBEXT" in
9947 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9948 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'` ;;
9949 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9950 if ${ac_cv_lib_soname_Xi:+false} :; then :
9951 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9952 fi ;;
9953 esac
9955 rm -f core conftest.err conftest.$ac_objext \
9956 conftest$ac_exeext conftest.$ac_ext
9957 LIBS=$ac_check_soname_save_LIBS
9959 if ${ac_cv_lib_soname_Xi:+false} :; then :
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9961 $as_echo "not found" >&6; }
9963 else
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9965 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9967 cat >>confdefs.h <<_ACEOF
9968 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9969 _ACEOF
9974 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9975 case "x$with_xinput" in
9976 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9977 xno) ;;
9978 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9979 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9980 esac
9984 if test "x$ac_cv_lib_soname_Xi" != x
9985 then
9986 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9987 case "x$with_xinput2" in
9988 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9989 xno) ;;
9990 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9991 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9992 esac
9997 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9998 then
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10000 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10001 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10002 $as_echo_n "(cached) " >&6
10003 else
10004 ac_check_lib_save_LIBS=$LIBS
10005 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10009 /* Override any GCC internal prototype to avoid an error.
10010 Use char because int might match the return type of a GCC
10011 builtin and then its argument prototype would still apply. */
10012 #ifdef __cplusplus
10013 extern "C"
10014 #endif
10015 char XShmQueryExtension ();
10017 main ()
10019 return XShmQueryExtension ();
10021 return 0;
10023 _ACEOF
10024 if ac_fn_c_try_link "$LINENO"; then :
10025 ac_cv_lib_Xext_XShmQueryExtension=yes
10026 else
10027 ac_cv_lib_Xext_XShmQueryExtension=no
10029 rm -f core conftest.err conftest.$ac_objext \
10030 conftest$ac_exeext conftest.$ac_ext
10031 LIBS=$ac_check_lib_save_LIBS
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10034 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10035 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10037 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10042 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10043 case "x$with_xshm" in
10044 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10045 xno) ;;
10046 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10047 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10048 esac
10052 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10053 then
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10055 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10056 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10057 $as_echo_n "(cached) " >&6
10058 else
10059 ac_check_lib_save_LIBS=$LIBS
10060 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10067 #ifdef __cplusplus
10068 extern "C"
10069 #endif
10070 char XShapeQueryExtension ();
10072 main ()
10074 return XShapeQueryExtension ();
10076 return 0;
10078 _ACEOF
10079 if ac_fn_c_try_link "$LINENO"; then :
10080 ac_cv_lib_Xext_XShapeQueryExtension=yes
10081 else
10082 ac_cv_lib_Xext_XShapeQueryExtension=no
10084 rm -f core conftest.err conftest.$ac_objext \
10085 conftest$ac_exeext conftest.$ac_ext
10086 LIBS=$ac_check_lib_save_LIBS
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10089 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10090 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10092 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10097 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10098 case "x$with_xshape" in
10099 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10100 xno) ;;
10101 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10102 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10103 esac
10107 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10108 then
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10110 $as_echo_n "checking for -lXxf86vm... " >&6; }
10111 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10112 $as_echo_n "(cached) " >&6
10113 else
10114 ac_check_soname_save_LIBS=$LIBS
10115 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10119 /* Override any GCC internal prototype to avoid an error.
10120 Use char because int might match the return type of a GCC
10121 builtin and then its argument prototype would still apply. */
10122 #ifdef __cplusplus
10123 extern "C"
10124 #endif
10125 char XF86VidModeQueryExtension ();
10127 main ()
10129 return XF86VidModeQueryExtension ();
10131 return 0;
10133 _ACEOF
10134 if ac_fn_c_try_link "$LINENO"; then :
10135 case "$LIBEXT" in
10136 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10137 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'` ;;
10138 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10139 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10140 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10141 fi ;;
10142 esac
10144 rm -f core conftest.err conftest.$ac_objext \
10145 conftest$ac_exeext conftest.$ac_ext
10146 LIBS=$ac_check_soname_save_LIBS
10148 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10150 $as_echo "not found" >&6; }
10152 else
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10154 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10156 cat >>confdefs.h <<_ACEOF
10157 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10158 _ACEOF
10163 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10164 case "x$with_xxf86vm" in
10165 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10166 xno) ;;
10167 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10168 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10169 esac
10173 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10174 then
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10176 $as_echo_n "checking for -lXrender... " >&6; }
10177 if ${ac_cv_lib_soname_Xrender+:} false; then :
10178 $as_echo_n "(cached) " >&6
10179 else
10180 ac_check_soname_save_LIBS=$LIBS
10181 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h. */
10185 /* Override any GCC internal prototype to avoid an error.
10186 Use char because int might match the return type of a GCC
10187 builtin and then its argument prototype would still apply. */
10188 #ifdef __cplusplus
10189 extern "C"
10190 #endif
10191 char XRenderQueryExtension ();
10193 main ()
10195 return XRenderQueryExtension ();
10197 return 0;
10199 _ACEOF
10200 if ac_fn_c_try_link "$LINENO"; then :
10201 case "$LIBEXT" in
10202 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10203 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'` ;;
10204 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10205 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10206 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10207 fi ;;
10208 esac
10210 rm -f core conftest.err conftest.$ac_objext \
10211 conftest$ac_exeext conftest.$ac_ext
10212 LIBS=$ac_check_soname_save_LIBS
10214 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10216 $as_echo "not found" >&6; }
10218 else
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10220 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10222 cat >>confdefs.h <<_ACEOF
10223 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10224 _ACEOF
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10227 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10228 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10229 $as_echo_n "(cached) " >&6
10230 else
10231 ac_check_lib_save_LIBS=$LIBS
10232 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10236 /* Override any GCC internal prototype to avoid an error.
10237 Use char because int might match the return type of a GCC
10238 builtin and then its argument prototype would still apply. */
10239 #ifdef __cplusplus
10240 extern "C"
10241 #endif
10242 char XRenderSetPictureTransform ();
10244 main ()
10246 return XRenderSetPictureTransform ();
10248 return 0;
10250 _ACEOF
10251 if ac_fn_c_try_link "$LINENO"; then :
10252 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10253 else
10254 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10256 rm -f core conftest.err conftest.$ac_objext \
10257 conftest$ac_exeext conftest.$ac_ext
10258 LIBS=$ac_check_lib_save_LIBS
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10261 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10262 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10264 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10269 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10270 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10271 $as_echo_n "(cached) " >&6
10272 else
10273 ac_check_lib_save_LIBS=$LIBS
10274 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10278 /* Override any GCC internal prototype to avoid an error.
10279 Use char because int might match the return type of a GCC
10280 builtin and then its argument prototype would still apply. */
10281 #ifdef __cplusplus
10282 extern "C"
10283 #endif
10284 char XRenderCreateLinearGradient ();
10286 main ()
10288 return XRenderCreateLinearGradient ();
10290 return 0;
10292 _ACEOF
10293 if ac_fn_c_try_link "$LINENO"; then :
10294 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10295 else
10296 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10298 rm -f core conftest.err conftest.$ac_objext \
10299 conftest$ac_exeext conftest.$ac_ext
10300 LIBS=$ac_check_lib_save_LIBS
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10303 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10304 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10306 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10313 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10314 case "x$with_xrender" in
10315 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10316 xno) ;;
10317 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10318 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10319 esac
10323 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10324 then
10325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10327 #include <X11/Xlib.h>
10328 #include <X11/extensions/Xrandr.h>
10330 main ()
10332 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10334 return 0;
10336 _ACEOF
10337 if ac_fn_c_try_compile "$LINENO"; then :
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10339 $as_echo_n "checking for -lXrandr... " >&6; }
10340 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10341 $as_echo_n "(cached) " >&6
10342 else
10343 ac_check_soname_save_LIBS=$LIBS
10344 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10348 /* Override any GCC internal prototype to avoid an error.
10349 Use char because int might match the return type of a GCC
10350 builtin and then its argument prototype would still apply. */
10351 #ifdef __cplusplus
10352 extern "C"
10353 #endif
10354 char XRRQueryExtension ();
10356 main ()
10358 return XRRQueryExtension ();
10360 return 0;
10362 _ACEOF
10363 if ac_fn_c_try_link "$LINENO"; then :
10364 case "$LIBEXT" in
10365 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10366 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'` ;;
10367 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10368 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10369 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10370 fi ;;
10371 esac
10373 rm -f core conftest.err conftest.$ac_objext \
10374 conftest$ac_exeext conftest.$ac_ext
10375 LIBS=$ac_check_soname_save_LIBS
10377 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10379 $as_echo "not found" >&6; }
10381 else
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10383 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10385 cat >>confdefs.h <<_ACEOF
10386 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10387 _ACEOF
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 #include <X11/Xlib.h>
10392 #include <X11/extensions/Xrandr.h>
10394 main ()
10396 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10398 return 0;
10400 _ACEOF
10401 if ac_fn_c_try_compile "$LINENO"; then :
10403 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10411 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10412 case "x$with_xrandr" in
10413 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10414 xno) ;;
10415 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10416 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10417 esac
10421 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10422 then
10423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10424 /* end confdefs.h. */
10425 #include <X11/Xlib.h>
10426 #include <X11/extensions/Xfixes.h>
10428 main ()
10430 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10432 return 0;
10434 _ACEOF
10435 if ac_fn_c_try_compile "$LINENO"; then :
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10437 $as_echo_n "checking for -lXfixes... " >&6; }
10438 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10439 $as_echo_n "(cached) " >&6
10440 else
10441 ac_check_soname_save_LIBS=$LIBS
10442 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10444 /* end confdefs.h. */
10446 /* Override any GCC internal prototype to avoid an error.
10447 Use char because int might match the return type of a GCC
10448 builtin and then its argument prototype would still apply. */
10449 #ifdef __cplusplus
10450 extern "C"
10451 #endif
10452 char XFixesQueryVersion ();
10454 main ()
10456 return XFixesQueryVersion ();
10458 return 0;
10460 _ACEOF
10461 if ac_fn_c_try_link "$LINENO"; then :
10462 case "$LIBEXT" in
10463 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10464 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'` ;;
10465 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10466 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10467 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10468 fi ;;
10469 esac
10471 rm -f core conftest.err conftest.$ac_objext \
10472 conftest$ac_exeext conftest.$ac_ext
10473 LIBS=$ac_check_soname_save_LIBS
10475 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10477 $as_echo "not found" >&6; }
10479 else
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10481 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10483 cat >>confdefs.h <<_ACEOF
10484 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10485 _ACEOF
10490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10492 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10493 case "x$with_xfixes" in
10494 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10495 xno) ;;
10496 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10497 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10498 esac
10502 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10503 then
10504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10505 /* end confdefs.h. */
10506 #include <X11/Xlib.h>
10507 #include <X11/extensions/Xinerama.h>
10509 main ()
10511 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10513 return 0;
10515 _ACEOF
10516 if ac_fn_c_try_compile "$LINENO"; then :
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10518 $as_echo_n "checking for -lXinerama... " >&6; }
10519 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10520 $as_echo_n "(cached) " >&6
10521 else
10522 ac_check_soname_save_LIBS=$LIBS
10523 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10527 /* Override any GCC internal prototype to avoid an error.
10528 Use char because int might match the return type of a GCC
10529 builtin and then its argument prototype would still apply. */
10530 #ifdef __cplusplus
10531 extern "C"
10532 #endif
10533 char XineramaQueryScreens ();
10535 main ()
10537 return XineramaQueryScreens ();
10539 return 0;
10541 _ACEOF
10542 if ac_fn_c_try_link "$LINENO"; then :
10543 case "$LIBEXT" in
10544 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10545 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'` ;;
10546 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10547 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10548 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10549 fi ;;
10550 esac
10552 rm -f core conftest.err conftest.$ac_objext \
10553 conftest$ac_exeext conftest.$ac_ext
10554 LIBS=$ac_check_soname_save_LIBS
10556 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10558 $as_echo "not found" >&6; }
10560 else
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10562 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10564 cat >>confdefs.h <<_ACEOF
10565 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10566 _ACEOF
10571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10573 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10574 case "x$with_xinerama" in
10575 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10576 xno) ;;
10577 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10578 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10579 esac
10583 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10584 then
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10586 $as_echo_n "checking for -lXcomposite... " >&6; }
10587 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10588 $as_echo_n "(cached) " >&6
10589 else
10590 ac_check_soname_save_LIBS=$LIBS
10591 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10593 /* end confdefs.h. */
10595 /* Override any GCC internal prototype to avoid an error.
10596 Use char because int might match the return type of a GCC
10597 builtin and then its argument prototype would still apply. */
10598 #ifdef __cplusplus
10599 extern "C"
10600 #endif
10601 char XCompositeRedirectWindow ();
10603 main ()
10605 return XCompositeRedirectWindow ();
10607 return 0;
10609 _ACEOF
10610 if ac_fn_c_try_link "$LINENO"; then :
10611 case "$LIBEXT" in
10612 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10613 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'` ;;
10614 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10615 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10616 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10617 fi ;;
10618 esac
10620 rm -f core conftest.err conftest.$ac_objext \
10621 conftest$ac_exeext conftest.$ac_ext
10622 LIBS=$ac_check_soname_save_LIBS
10624 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10626 $as_echo "not found" >&6; }
10628 else
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10630 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10632 cat >>confdefs.h <<_ACEOF
10633 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10634 _ACEOF
10639 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10640 case "x$with_xcomposite" in
10641 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10642 xno) ;;
10643 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10644 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10645 esac
10649 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10650 #include <X11/Xlib.h>
10651 #endif
10653 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10655 cat >>confdefs.h <<_ACEOF
10656 #define HAVE_XICCALLBACK_CALLBACK 1
10657 _ACEOF
10661 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10662 #include <X11/Xlib.h>
10663 #endif
10665 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10667 cat >>confdefs.h <<_ACEOF
10668 #define HAVE_XEVENT_XCOOKIE 1
10669 _ACEOF
10676 opengl_msg=""
10677 if test "x$with_opengl" != "xno"
10678 then
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10680 $as_echo_n "checking for -lGL... " >&6; }
10681 if ${ac_cv_lib_soname_GL+:} false; then :
10682 $as_echo_n "(cached) " >&6
10683 else
10684 ac_check_soname_save_LIBS=$LIBS
10685 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10689 /* Override any GCC internal prototype to avoid an error.
10690 Use char because int might match the return type of a GCC
10691 builtin and then its argument prototype would still apply. */
10692 #ifdef __cplusplus
10693 extern "C"
10694 #endif
10695 char glXCreateContext ();
10697 main ()
10699 return glXCreateContext ();
10701 return 0;
10703 _ACEOF
10704 if ac_fn_c_try_link "$LINENO"; then :
10705 case "$LIBEXT" in
10706 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10707 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'` ;;
10708 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10709 if ${ac_cv_lib_soname_GL:+false} :; then :
10710 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10711 fi ;;
10712 esac
10714 rm -f core conftest.err conftest.$ac_objext \
10715 conftest$ac_exeext conftest.$ac_ext
10716 LIBS=$ac_check_soname_save_LIBS
10718 if ${ac_cv_lib_soname_GL:+false} :; then :
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10720 $as_echo "not found" >&6; }
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10722 $as_echo_n "checking for -lGL... " >&6; }
10723 if ${ac_cv_lib_soname_GL+:} false; then :
10724 $as_echo_n "(cached) " >&6
10725 else
10726 ac_check_soname_save_LIBS=$LIBS
10727 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"
10728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10729 /* end confdefs.h. */
10731 /* Override any GCC internal prototype to avoid an error.
10732 Use char because int might match the return type of a GCC
10733 builtin and then its argument prototype would still apply. */
10734 #ifdef __cplusplus
10735 extern "C"
10736 #endif
10737 char glXCreateContext ();
10739 main ()
10741 return glXCreateContext ();
10743 return 0;
10745 _ACEOF
10746 if ac_fn_c_try_link "$LINENO"; then :
10747 case "$LIBEXT" in
10748 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10749 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'` ;;
10750 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10751 if ${ac_cv_lib_soname_GL:+false} :; then :
10752 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10753 fi ;;
10754 esac
10756 rm -f core conftest.err conftest.$ac_objext \
10757 conftest$ac_exeext conftest.$ac_ext
10758 LIBS=$ac_check_soname_save_LIBS
10760 if ${ac_cv_lib_soname_GL:+false} :; then :
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10762 $as_echo "not found" >&6; }
10763 if test -f /usr/X11R6/lib/libGL.a
10764 then
10765 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10766 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10767 else
10768 opengl_msg="No OpenGL library found on this system."
10770 else
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10772 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10774 cat >>confdefs.h <<_ACEOF
10775 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10776 _ACEOF
10778 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"
10780 else
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10782 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10784 cat >>confdefs.h <<_ACEOF
10785 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10786 _ACEOF
10788 OPENGL_LIBS="-lGL"
10790 if test "x$with_glu" != "xno"
10791 then
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10793 $as_echo_n "checking for -lGLU... " >&6; }
10794 if ${ac_cv_lib_soname_GLU+:} false; then :
10795 $as_echo_n "(cached) " >&6
10796 else
10797 ac_check_soname_save_LIBS=$LIBS
10798 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10800 /* end confdefs.h. */
10802 /* Override any GCC internal prototype to avoid an error.
10803 Use char because int might match the return type of a GCC
10804 builtin and then its argument prototype would still apply. */
10805 #ifdef __cplusplus
10806 extern "C"
10807 #endif
10808 char gluLookAt ();
10810 main ()
10812 return gluLookAt ();
10814 return 0;
10816 _ACEOF
10817 if ac_fn_c_try_link "$LINENO"; then :
10818 case "$LIBEXT" in
10819 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10820 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'` ;;
10821 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10822 if ${ac_cv_lib_soname_GLU:+false} :; then :
10823 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10824 fi ;;
10825 esac
10827 rm -f core conftest.err conftest.$ac_objext \
10828 conftest$ac_exeext conftest.$ac_ext
10829 LIBS=$ac_check_soname_save_LIBS
10831 if ${ac_cv_lib_soname_GLU:+false} :; then :
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10833 $as_echo "not found" >&6; }
10835 else
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10837 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10839 cat >>confdefs.h <<_ACEOF
10840 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10841 _ACEOF
10845 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10846 case "x$with_glu" in
10847 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10848 xno) ;;
10849 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10850 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10851 esac
10856 if test "x$with_osmesa" != "xno"
10857 then
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10859 $as_echo_n "checking for -lOSMesa... " >&6; }
10860 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10861 $as_echo_n "(cached) " >&6
10862 else
10863 ac_check_soname_save_LIBS=$LIBS
10864 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10868 /* Override any GCC internal prototype to avoid an error.
10869 Use char because int might match the return type of a GCC
10870 builtin and then its argument prototype would still apply. */
10871 #ifdef __cplusplus
10872 extern "C"
10873 #endif
10874 char OSMesaGetProcAddress ();
10876 main ()
10878 return OSMesaGetProcAddress ();
10880 return 0;
10882 _ACEOF
10883 if ac_fn_c_try_link "$LINENO"; then :
10884 case "$LIBEXT" in
10885 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10886 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'` ;;
10887 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10888 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10889 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10890 fi ;;
10891 esac
10893 rm -f core conftest.err conftest.$ac_objext \
10894 conftest$ac_exeext conftest.$ac_ext
10895 LIBS=$ac_check_soname_save_LIBS
10897 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10899 $as_echo "not found" >&6; }
10901 else
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10903 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10905 cat >>confdefs.h <<_ACEOF
10906 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10907 _ACEOF
10911 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10912 case "x$with_osmesa" in
10913 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10914 xno) ;;
10915 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10916 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10917 esac
10922 if test -n "$opengl_msg"; then :
10923 case "x$with_opengl" in
10924 x) as_fn_append wine_warnings "|$opengl_msg
10925 OpenGL and Direct3D won't be supported." ;;
10926 xno) ;;
10927 *) as_fn_error $? "$opengl_msg
10928 OpenGL and Direct3D won't be supported.
10929 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10930 esac
10934 CPPFLAGS="$ac_save_CPPFLAGS"
10935 else
10936 X_CFLAGS=""
10937 X_LIBS=""
10940 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10941 then
10942 if test "x$X_LIBS" = "x"; then :
10943 case "x$with_x" in
10944 xno) ;;
10945 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10946 without X support, which probably isn't what you want. You will need
10947 to install ${notice_platform}development packages of Xlib at the very least.
10948 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10949 esac
10950 enable_winex11_drv=${enable_winex11_drv:-no}
10952 else
10953 if test "x$X_LIBS" = "x"; then :
10954 case "x$with_x" in
10955 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10956 xno) ;;
10957 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10958 This is an error since --with-x was requested." "$LINENO" 5 ;;
10959 esac
10960 enable_winex11_drv=${enable_winex11_drv:-no}
10964 if test "$ac_cv_header_CL_cl_h" = "yes"
10965 then
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10967 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10968 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10969 $as_echo_n "(cached) " >&6
10970 else
10971 ac_check_lib_save_LIBS=$LIBS
10972 LIBS="-lOpenCL $LIBS"
10973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10976 /* Override any GCC internal prototype to avoid an error.
10977 Use char because int might match the return type of a GCC
10978 builtin and then its argument prototype would still apply. */
10979 #ifdef __cplusplus
10980 extern "C"
10981 #endif
10982 char clGetPlatformInfo ();
10984 main ()
10986 return clGetPlatformInfo ();
10988 return 0;
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"; then :
10992 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10993 else
10994 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10996 rm -f core conftest.err conftest.$ac_objext \
10997 conftest$ac_exeext conftest.$ac_ext
10998 LIBS=$ac_check_lib_save_LIBS
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11001 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11002 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11003 OPENCL_LIBS="-lOpenCL"
11008 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11009 case "x$with_opencl" in
11010 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11011 xno) ;;
11012 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11013 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11014 esac
11015 enable_opencl=${enable_opencl:-no}
11018 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11019 then
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11021 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11022 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11023 $as_echo_n "(cached) " >&6
11024 else
11025 ac_check_lib_save_LIBS=$LIBS
11026 LIBS="-lpcap $LIBS"
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11030 /* Override any GCC internal prototype to avoid an error.
11031 Use char because int might match the return type of a GCC
11032 builtin and then its argument prototype would still apply. */
11033 #ifdef __cplusplus
11034 extern "C"
11035 #endif
11036 char pcap_create ();
11038 main ()
11040 return pcap_create ();
11042 return 0;
11044 _ACEOF
11045 if ac_fn_c_try_link "$LINENO"; then :
11046 ac_cv_lib_pcap_pcap_create=yes
11047 else
11048 ac_cv_lib_pcap_pcap_create=no
11050 rm -f core conftest.err conftest.$ac_objext \
11051 conftest$ac_exeext conftest.$ac_ext
11052 LIBS=$ac_check_lib_save_LIBS
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11055 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11056 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11057 PCAP_LIBS="-lpcap"
11062 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11063 case "x$with_pcap" in
11064 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11065 xno) ;;
11066 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11067 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11068 esac
11069 enable_wpcap=${enable_wpcap:-no}
11073 if test "x$with_xml" != "xno"
11074 then
11075 if ${XML2_CFLAGS:+false} :; then :
11076 if ${PKG_CONFIG+:} false; then :
11077 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11080 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11081 if ${XML2_LIBS:+false} :; then :
11082 if ${PKG_CONFIG+:} false; then :
11083 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11086 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11087 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11088 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11089 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11090 ac_save_CPPFLAGS=$CPPFLAGS
11091 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11092 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11093 do :
11094 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11095 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11096 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11097 cat >>confdefs.h <<_ACEOF
11098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11099 _ACEOF
11103 done
11105 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"
11106 then
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11108 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11109 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11110 $as_echo_n "(cached) " >&6
11111 else
11112 ac_check_lib_save_LIBS=$LIBS
11113 LIBS="-lxml2 $XML2_LIBS $LIBS"
11114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h. */
11117 /* Override any GCC internal prototype to avoid an error.
11118 Use char because int might match the return type of a GCC
11119 builtin and then its argument prototype would still apply. */
11120 #ifdef __cplusplus
11121 extern "C"
11122 #endif
11123 char xmlParseMemory ();
11125 main ()
11127 return xmlParseMemory ();
11129 return 0;
11131 _ACEOF
11132 if ac_fn_c_try_link "$LINENO"; then :
11133 ac_cv_lib_xml2_xmlParseMemory=yes
11134 else
11135 ac_cv_lib_xml2_xmlParseMemory=no
11137 rm -f core conftest.err conftest.$ac_objext \
11138 conftest$ac_exeext conftest.$ac_ext
11139 LIBS=$ac_check_lib_save_LIBS
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11142 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11143 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11145 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11147 else
11148 XML2_LIBS=""
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11152 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11153 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11154 $as_echo_n "(cached) " >&6
11155 else
11156 ac_check_lib_save_LIBS=$LIBS
11157 LIBS="-lxml2 $XML2_LIBS $LIBS"
11158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11161 /* Override any GCC internal prototype to avoid an error.
11162 Use char because int might match the return type of a GCC
11163 builtin and then its argument prototype would still apply. */
11164 #ifdef __cplusplus
11165 extern "C"
11166 #endif
11167 char xmlReadMemory ();
11169 main ()
11171 return xmlReadMemory ();
11173 return 0;
11175 _ACEOF
11176 if ac_fn_c_try_link "$LINENO"; then :
11177 ac_cv_lib_xml2_xmlReadMemory=yes
11178 else
11179 ac_cv_lib_xml2_xmlReadMemory=no
11181 rm -f core conftest.err conftest.$ac_objext \
11182 conftest$ac_exeext conftest.$ac_ext
11183 LIBS=$ac_check_lib_save_LIBS
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11186 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11187 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11189 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11194 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11195 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11196 $as_echo_n "(cached) " >&6
11197 else
11198 ac_check_lib_save_LIBS=$LIBS
11199 LIBS="-lxml2 $XML2_LIBS $LIBS"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11206 #ifdef __cplusplus
11207 extern "C"
11208 #endif
11209 char xmlNewDocPI ();
11211 main ()
11213 return xmlNewDocPI ();
11215 return 0;
11217 _ACEOF
11218 if ac_fn_c_try_link "$LINENO"; then :
11219 ac_cv_lib_xml2_xmlNewDocPI=yes
11220 else
11221 ac_cv_lib_xml2_xmlNewDocPI=no
11223 rm -f core conftest.err conftest.$ac_objext \
11224 conftest$ac_exeext conftest.$ac_ext
11225 LIBS=$ac_check_lib_save_LIBS
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11228 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11229 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11231 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11236 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11237 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11238 $as_echo_n "(cached) " >&6
11239 else
11240 ac_check_lib_save_LIBS=$LIBS
11241 LIBS="-lxml2 $XML2_LIBS $LIBS"
11242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243 /* end confdefs.h. */
11245 /* Override any GCC internal prototype to avoid an error.
11246 Use char because int might match the return type of a GCC
11247 builtin and then its argument prototype would still apply. */
11248 #ifdef __cplusplus
11249 extern "C"
11250 #endif
11251 char xmlSchemaSetParserStructuredErrors ();
11253 main ()
11255 return xmlSchemaSetParserStructuredErrors ();
11257 return 0;
11259 _ACEOF
11260 if ac_fn_c_try_link "$LINENO"; then :
11261 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11262 else
11263 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11265 rm -f core conftest.err conftest.$ac_objext \
11266 conftest$ac_exeext conftest.$ac_ext
11267 LIBS=$ac_check_lib_save_LIBS
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11270 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11271 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11273 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11278 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11279 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11280 $as_echo_n "(cached) " >&6
11281 else
11282 ac_check_lib_save_LIBS=$LIBS
11283 LIBS="-lxml2 $XML2_LIBS $LIBS"
11284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11285 /* end confdefs.h. */
11287 /* Override any GCC internal prototype to avoid an error.
11288 Use char because int might match the return type of a GCC
11289 builtin and then its argument prototype would still apply. */
11290 #ifdef __cplusplus
11291 extern "C"
11292 #endif
11293 char xmlSchemaSetValidStructuredErrors ();
11295 main ()
11297 return xmlSchemaSetValidStructuredErrors ();
11299 return 0;
11301 _ACEOF
11302 if ac_fn_c_try_link "$LINENO"; then :
11303 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11304 else
11305 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11307 rm -f core conftest.err conftest.$ac_objext \
11308 conftest$ac_exeext conftest.$ac_ext
11309 LIBS=$ac_check_lib_save_LIBS
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11312 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11313 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11315 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11320 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11321 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11322 $as_echo_n "(cached) " >&6
11323 else
11324 ac_check_lib_save_LIBS=$LIBS
11325 LIBS="-lxml2 $XML2_LIBS $LIBS"
11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11329 /* Override any GCC internal prototype to avoid an error.
11330 Use char because int might match the return type of a GCC
11331 builtin and then its argument prototype would still apply. */
11332 #ifdef __cplusplus
11333 extern "C"
11334 #endif
11335 char xmlFirstElementChild ();
11337 main ()
11339 return xmlFirstElementChild ();
11341 return 0;
11343 _ACEOF
11344 if ac_fn_c_try_link "$LINENO"; then :
11345 ac_cv_lib_xml2_xmlFirstElementChild=yes
11346 else
11347 ac_cv_lib_xml2_xmlFirstElementChild=no
11349 rm -f core conftest.err conftest.$ac_objext \
11350 conftest$ac_exeext conftest.$ac_ext
11351 LIBS=$ac_check_lib_save_LIBS
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11354 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11355 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11357 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11361 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11363 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11365 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11369 else
11370 XML2_CFLAGS=""
11371 XML2_LIBS=""
11373 CPPFLAGS=$ac_save_CPPFLAGS
11374 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11375 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11378 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11379 case "x$with_xml" in
11380 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11381 xno) ;;
11382 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11383 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11384 esac
11388 if test "x$with_xslt" != "xno"
11389 then
11390 if ${XSLT_CFLAGS:+false} :; then :
11391 if ${PKG_CONFIG+:} false; then :
11392 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11395 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11396 if ${XSLT_LIBS:+false} :; then :
11397 if ${PKG_CONFIG+:} false; then :
11398 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11401 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11402 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11403 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11404 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11405 ac_save_CPPFLAGS=$CPPFLAGS
11406 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11407 for ac_header in libxslt/pattern.h libxslt/transform.h
11408 do :
11409 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11410 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11411 # include <libxslt/pattern.h>
11412 #endif
11414 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11415 cat >>confdefs.h <<_ACEOF
11416 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11417 _ACEOF
11421 done
11423 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11424 then
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11426 $as_echo_n "checking for -lxslt... " >&6; }
11427 if ${ac_cv_lib_soname_xslt+:} false; then :
11428 $as_echo_n "(cached) " >&6
11429 else
11430 ac_check_soname_save_LIBS=$LIBS
11431 LIBS="-lxslt $XSLT_LIBS $LIBS"
11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11435 /* Override any GCC internal prototype to avoid an error.
11436 Use char because int might match the return type of a GCC
11437 builtin and then its argument prototype would still apply. */
11438 #ifdef __cplusplus
11439 extern "C"
11440 #endif
11441 char xsltCompilePattern ();
11443 main ()
11445 return xsltCompilePattern ();
11447 return 0;
11449 _ACEOF
11450 if ac_fn_c_try_link "$LINENO"; then :
11451 case "$LIBEXT" in
11452 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11453 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'` ;;
11454 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11455 if ${ac_cv_lib_soname_xslt:+false} :; then :
11456 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11457 fi ;;
11458 esac
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_soname_save_LIBS
11464 if ${ac_cv_lib_soname_xslt:+false} :; then :
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11466 $as_echo "not found" >&6; }
11468 else
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11470 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11472 cat >>confdefs.h <<_ACEOF
11473 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11474 _ACEOF
11478 else
11479 XSLT_CFLAGS=""
11481 CPPFLAGS=$ac_save_CPPFLAGS
11482 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11483 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11486 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11487 case "x$with_xslt" in
11488 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11489 xno) ;;
11490 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11491 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11492 esac
11496 if test "x$with_dbus" != "xno"
11497 then
11498 if ${DBUS_CFLAGS:+false} :; then :
11499 if ${PKG_CONFIG+:} false; then :
11500 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11504 if ${DBUS_LIBS:+false} :; then :
11505 if ${PKG_CONFIG+:} false; then :
11506 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11511 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11512 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11513 ac_save_CPPFLAGS=$CPPFLAGS
11514 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11515 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11516 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11518 $as_echo_n "checking for -ldbus-1... " >&6; }
11519 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11520 $as_echo_n "(cached) " >&6
11521 else
11522 ac_check_soname_save_LIBS=$LIBS
11523 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11525 /* end confdefs.h. */
11527 /* Override any GCC internal prototype to avoid an error.
11528 Use char because int might match the return type of a GCC
11529 builtin and then its argument prototype would still apply. */
11530 #ifdef __cplusplus
11531 extern "C"
11532 #endif
11533 char dbus_connection_close ();
11535 main ()
11537 return dbus_connection_close ();
11539 return 0;
11541 _ACEOF
11542 if ac_fn_c_try_link "$LINENO"; then :
11543 case "$LIBEXT" in
11544 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11545 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'` ;;
11546 *) 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'`
11547 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11548 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11549 fi ;;
11550 esac
11552 rm -f core conftest.err conftest.$ac_objext \
11553 conftest$ac_exeext conftest.$ac_ext
11554 LIBS=$ac_check_soname_save_LIBS
11556 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11558 $as_echo "not found" >&6; }
11559 DBUS_CFLAGS=""
11560 else
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11562 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11564 cat >>confdefs.h <<_ACEOF
11565 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11566 _ACEOF
11570 else
11571 DBUS_CFLAGS=""
11575 CPPFLAGS=$ac_save_CPPFLAGS
11576 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11577 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11580 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11581 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11582 case "x$with_dbus" in
11583 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11584 xno) ;;
11585 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11586 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11587 esac
11591 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11592 then
11593 if ${HAL_CFLAGS:+false} :; then :
11594 if ${PKG_CONFIG+:} false; then :
11595 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11599 if ${HAL_LIBS:+false} :; then :
11600 if ${PKG_CONFIG+:} false; then :
11601 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11605 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11606 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11607 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11608 ac_save_CPPFLAGS=$CPPFLAGS
11609 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11610 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11611 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11613 $as_echo_n "checking for -lhal... " >&6; }
11614 if ${ac_cv_lib_soname_hal+:} false; then :
11615 $as_echo_n "(cached) " >&6
11616 else
11617 ac_check_soname_save_LIBS=$LIBS
11618 LIBS="-lhal $HAL_LIBS $LIBS"
11619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11625 #ifdef __cplusplus
11626 extern "C"
11627 #endif
11628 char libhal_ctx_new ();
11630 main ()
11632 return libhal_ctx_new ();
11634 return 0;
11636 _ACEOF
11637 if ac_fn_c_try_link "$LINENO"; then :
11638 case "$LIBEXT" in
11639 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11640 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'` ;;
11641 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11642 if ${ac_cv_lib_soname_hal:+false} :; then :
11643 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11644 fi ;;
11645 esac
11647 rm -f core conftest.err conftest.$ac_objext \
11648 conftest$ac_exeext conftest.$ac_ext
11649 LIBS=$ac_check_soname_save_LIBS
11651 if ${ac_cv_lib_soname_hal:+false} :; then :
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11653 $as_echo "not found" >&6; }
11654 HAL_CFLAGS=""
11655 else
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11657 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11659 cat >>confdefs.h <<_ACEOF
11660 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11661 _ACEOF
11665 else
11666 HAL_CFLAGS=""
11670 CPPFLAGS=$ac_save_CPPFLAGS
11671 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11672 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11674 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11675 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11676 case "x$with_hal" in
11677 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11678 xno) ;;
11679 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11680 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11681 esac
11686 if test "x$with_gnutls" != "xno"
11687 then
11688 if ${GNUTLS_CFLAGS:+false} :; then :
11689 if ${PKG_CONFIG+:} false; then :
11690 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11694 if ${GNUTLS_LIBS:+false} :; then :
11695 if ${PKG_CONFIG+:} false; then :
11696 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11701 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11702 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11703 ac_save_CPPFLAGS=$CPPFLAGS
11704 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11705 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11706 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11708 /* end confdefs.h. */
11709 #include <gnutls/gnutls.h>
11710 #include <gnutls/crypto.h>
11712 main ()
11714 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11716 return 0;
11718 _ACEOF
11719 if ac_fn_c_try_compile "$LINENO"; then :
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11721 $as_echo_n "checking for -lgnutls... " >&6; }
11722 if ${ac_cv_lib_soname_gnutls+:} false; then :
11723 $as_echo_n "(cached) " >&6
11724 else
11725 ac_check_soname_save_LIBS=$LIBS
11726 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 /* end confdefs.h. */
11730 /* Override any GCC internal prototype to avoid an error.
11731 Use char because int might match the return type of a GCC
11732 builtin and then its argument prototype would still apply. */
11733 #ifdef __cplusplus
11734 extern "C"
11735 #endif
11736 char gnutls_global_init ();
11738 main ()
11740 return gnutls_global_init ();
11742 return 0;
11744 _ACEOF
11745 if ac_fn_c_try_link "$LINENO"; then :
11746 case "$LIBEXT" in
11747 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11748 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'` ;;
11749 *) 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'`
11750 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11751 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'`
11752 fi ;;
11753 esac
11755 rm -f core conftest.err conftest.$ac_objext \
11756 conftest$ac_exeext conftest.$ac_ext
11757 LIBS=$ac_check_soname_save_LIBS
11759 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11761 $as_echo "not found" >&6; }
11762 GNUTLS_CFLAGS=""
11763 else
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11765 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11767 cat >>confdefs.h <<_ACEOF
11768 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11769 _ACEOF
11773 ac_wine_check_funcs_save_LIBS="$LIBS"
11774 LIBS="$LIBS $GNUTLS_LIBS"
11775 for ac_func in gnutls_cipher_init
11776 do :
11777 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11778 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11779 cat >>confdefs.h <<_ACEOF
11780 #define HAVE_GNUTLS_CIPHER_INIT 1
11781 _ACEOF
11783 else
11784 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11786 done
11788 LIBS="$ac_wine_check_funcs_save_LIBS"
11790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11791 else
11792 GNUTLS_CFLAGS=""
11796 CPPFLAGS=$ac_save_CPPFLAGS
11797 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11798 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11801 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11802 case "x$with_gnutls" in
11803 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11804 xno) ;;
11805 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11806 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11807 esac
11811 CURSES_LIBS=""
11812 if test "$ac_cv_header_ncurses_h" = "yes"
11813 then
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11815 $as_echo_n "checking for -lncurses... " >&6; }
11816 if ${ac_cv_lib_soname_ncurses+:} false; then :
11817 $as_echo_n "(cached) " >&6
11818 else
11819 ac_check_soname_save_LIBS=$LIBS
11820 LIBS="-lncurses $LIBS"
11821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11822 /* end confdefs.h. */
11824 /* Override any GCC internal prototype to avoid an error.
11825 Use char because int might match the return type of a GCC
11826 builtin and then its argument prototype would still apply. */
11827 #ifdef __cplusplus
11828 extern "C"
11829 #endif
11830 char waddch ();
11832 main ()
11834 return waddch ();
11836 return 0;
11838 _ACEOF
11839 if ac_fn_c_try_link "$LINENO"; then :
11840 case "$LIBEXT" in
11841 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11842 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'` ;;
11843 *) 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'`
11844 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11845 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11846 fi ;;
11847 esac
11849 rm -f core conftest.err conftest.$ac_objext \
11850 conftest$ac_exeext conftest.$ac_ext
11851 LIBS=$ac_check_soname_save_LIBS
11853 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11855 $as_echo "not found" >&6; }
11857 else
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11859 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11861 cat >>confdefs.h <<_ACEOF
11862 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11863 _ACEOF
11865 CURSES_LIBS="-lncurses"
11867 elif test "$ac_cv_header_curses_h" = "yes"
11868 then
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11870 $as_echo_n "checking for -lcurses... " >&6; }
11871 if ${ac_cv_lib_soname_curses+:} false; then :
11872 $as_echo_n "(cached) " >&6
11873 else
11874 ac_check_soname_save_LIBS=$LIBS
11875 LIBS="-lcurses $LIBS"
11876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h. */
11879 /* Override any GCC internal prototype to avoid an error.
11880 Use char because int might match the return type of a GCC
11881 builtin and then its argument prototype would still apply. */
11882 #ifdef __cplusplus
11883 extern "C"
11884 #endif
11885 char waddch ();
11887 main ()
11889 return waddch ();
11891 return 0;
11893 _ACEOF
11894 if ac_fn_c_try_link "$LINENO"; then :
11895 case "$LIBEXT" in
11896 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11897 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'` ;;
11898 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11899 if ${ac_cv_lib_soname_curses:+false} :; then :
11900 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11901 fi ;;
11902 esac
11904 rm -f core conftest.err conftest.$ac_objext \
11905 conftest$ac_exeext conftest.$ac_ext
11906 LIBS=$ac_check_soname_save_LIBS
11908 if ${ac_cv_lib_soname_curses:+false} :; then :
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11910 $as_echo "not found" >&6; }
11912 else
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11914 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11916 cat >>confdefs.h <<_ACEOF
11917 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11918 _ACEOF
11920 CURSES_LIBS="-lcurses"
11923 ac_save_LIBS="$LIBS"
11924 LIBS="$LIBS $CURSES_LIBS"
11925 for ac_func in mousemask
11926 do :
11927 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11928 if test "x$ac_cv_func_mousemask" = xyes; then :
11929 cat >>confdefs.h <<_ACEOF
11930 #define HAVE_MOUSEMASK 1
11931 _ACEOF
11934 done
11936 LIBS="$ac_save_LIBS"
11937 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11938 case "x$with_curses" in
11939 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11940 xno) ;;
11941 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11942 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11943 esac
11947 if test "x$with_sane" != "xno"
11948 then
11949 if ${SANE_CFLAGS:+false} :; then :
11950 if ${PKG_CONFIG+:} false; then :
11951 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11954 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11955 if ${SANE_LIBS:+false} :; then :
11956 if ${PKG_CONFIG+:} false; then :
11957 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11960 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11962 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11963 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11964 ac_save_CPPFLAGS=$CPPFLAGS
11965 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11966 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11967 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11969 $as_echo_n "checking for -lsane... " >&6; }
11970 if ${ac_cv_lib_soname_sane+:} false; then :
11971 $as_echo_n "(cached) " >&6
11972 else
11973 ac_check_soname_save_LIBS=$LIBS
11974 LIBS="-lsane $SANE_LIBS $LIBS"
11975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11976 /* end confdefs.h. */
11978 /* Override any GCC internal prototype to avoid an error.
11979 Use char because int might match the return type of a GCC
11980 builtin and then its argument prototype would still apply. */
11981 #ifdef __cplusplus
11982 extern "C"
11983 #endif
11984 char sane_init ();
11986 main ()
11988 return sane_init ();
11990 return 0;
11992 _ACEOF
11993 if ac_fn_c_try_link "$LINENO"; then :
11994 case "$LIBEXT" in
11995 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11996 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'` ;;
11997 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11998 if ${ac_cv_lib_soname_sane:+false} :; then :
11999 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12000 fi ;;
12001 esac
12003 rm -f core conftest.err conftest.$ac_objext \
12004 conftest$ac_exeext conftest.$ac_ext
12005 LIBS=$ac_check_soname_save_LIBS
12007 if ${ac_cv_lib_soname_sane:+false} :; then :
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12009 $as_echo "not found" >&6; }
12010 SANE_CFLAGS=""
12011 else
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12013 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12015 cat >>confdefs.h <<_ACEOF
12016 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12017 _ACEOF
12021 else
12022 SANE_CFLAGS=""
12026 CPPFLAGS=$ac_save_CPPFLAGS
12027 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12028 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12031 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12032 case "x$with_sane" in
12033 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12034 xno) ;;
12035 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12036 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12037 esac
12041 if test "x$with_v4l" != "xno"
12042 then
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12044 $as_echo_n "checking for -lv4l1... " >&6; }
12045 if ${ac_cv_lib_soname_v4l1+:} false; then :
12046 $as_echo_n "(cached) " >&6
12047 else
12048 ac_check_soname_save_LIBS=$LIBS
12049 LIBS="-lv4l1 $LIBS"
12050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12051 /* end confdefs.h. */
12053 /* Override any GCC internal prototype to avoid an error.
12054 Use char because int might match the return type of a GCC
12055 builtin and then its argument prototype would still apply. */
12056 #ifdef __cplusplus
12057 extern "C"
12058 #endif
12059 char v4l1_open ();
12061 main ()
12063 return v4l1_open ();
12065 return 0;
12067 _ACEOF
12068 if ac_fn_c_try_link "$LINENO"; then :
12069 case "$LIBEXT" in
12070 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12071 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'` ;;
12072 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12073 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12074 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12075 fi ;;
12076 esac
12078 rm -f core conftest.err conftest.$ac_objext \
12079 conftest$ac_exeext conftest.$ac_ext
12080 LIBS=$ac_check_soname_save_LIBS
12082 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12084 $as_echo "not found" >&6; }
12086 else
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12088 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12090 cat >>confdefs.h <<_ACEOF
12091 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12092 _ACEOF
12097 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12098 case "x$with_v4l" in
12099 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12100 xno) ;;
12101 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12102 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12103 esac
12107 if test "x$with_gphoto" != "xno"
12108 then
12109 if ${GPHOTO2_CFLAGS:+false} :; then :
12110 if ${PKG_CONFIG+:} false; then :
12111 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12114 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12115 if ${GPHOTO2_LIBS:+false} :; then :
12116 if ${PKG_CONFIG+:} false; then :
12117 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12120 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12121 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12122 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12123 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12124 ac_save_CPPFLAGS=$CPPFLAGS
12125 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12126 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12127 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12129 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12130 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12131 $as_echo_n "(cached) " >&6
12132 else
12133 ac_check_lib_save_LIBS=$LIBS
12134 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12136 /* end confdefs.h. */
12138 /* Override any GCC internal prototype to avoid an error.
12139 Use char because int might match the return type of a GCC
12140 builtin and then its argument prototype would still apply. */
12141 #ifdef __cplusplus
12142 extern "C"
12143 #endif
12144 char gp_camera_new ();
12146 main ()
12148 return gp_camera_new ();
12150 return 0;
12152 _ACEOF
12153 if ac_fn_c_try_link "$LINENO"; then :
12154 ac_cv_lib_gphoto2_gp_camera_new=yes
12155 else
12156 ac_cv_lib_gphoto2_gp_camera_new=no
12158 rm -f core conftest.err conftest.$ac_objext \
12159 conftest$ac_exeext conftest.$ac_ext
12160 LIBS=$ac_check_lib_save_LIBS
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12163 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12164 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12166 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12168 else
12169 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12172 else
12173 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12177 CPPFLAGS=$ac_save_CPPFLAGS
12178 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12179 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12181 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12182 if ${PKG_CONFIG+:} false; then :
12183 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12186 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12187 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12188 if ${PKG_CONFIG+:} false; then :
12189 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12192 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12193 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12194 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12195 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12196 ac_save_CPPFLAGS=$CPPFLAGS
12197 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12198 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12199 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12201 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12202 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12203 $as_echo_n "(cached) " >&6
12204 else
12205 ac_check_lib_save_LIBS=$LIBS
12206 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12210 /* Override any GCC internal prototype to avoid an error.
12211 Use char because int might match the return type of a GCC
12212 builtin and then its argument prototype would still apply. */
12213 #ifdef __cplusplus
12214 extern "C"
12215 #endif
12216 char gp_port_info_list_new ();
12218 main ()
12220 return gp_port_info_list_new ();
12222 return 0;
12224 _ACEOF
12225 if ac_fn_c_try_link "$LINENO"; then :
12226 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12227 else
12228 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12230 rm -f core conftest.err conftest.$ac_objext \
12231 conftest$ac_exeext conftest.$ac_ext
12232 LIBS=$ac_check_lib_save_LIBS
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12235 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12236 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12238 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12240 else
12241 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12244 else
12245 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12249 CPPFLAGS=$ac_save_CPPFLAGS
12250 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12251 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12254 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12255 case "x$with_gphoto" in
12256 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12257 xno) ;;
12258 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12259 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12260 esac
12263 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12264 case "x$with_gphoto" in
12265 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12266 xno) ;;
12267 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12268 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12269 esac
12274 if test "$ac_cv_header_resolv_h" = "yes"
12275 then
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12277 $as_echo_n "checking for resolver library... " >&6; }
12278 if ${ac_cv_have_resolv+:} false; then :
12279 $as_echo_n "(cached) " >&6
12280 else
12281 ac_save_LIBS="$LIBS"
12282 for lib in '' -lresolv
12284 LIBS="$lib $ac_save_LIBS"
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12287 #ifdef HAVE_NETINET_IN_H
12288 #include <netinet/in.h>
12289 #endif
12290 #include <resolv.h>
12292 main ()
12294 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12296 return 0;
12298 _ACEOF
12299 if ac_fn_c_try_link "$LINENO"; then :
12300 ac_cv_have_resolv=${lib:-"none required"}
12301 else
12302 ac_cv_have_resolv="not found"
12304 rm -f core conftest.err conftest.$ac_objext \
12305 conftest$ac_exeext conftest.$ac_ext
12306 test "x$ac_cv_have_resolv" = "xnot found" || break
12307 done
12308 LIBS="$ac_save_LIBS"
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12311 $as_echo "$ac_cv_have_resolv" >&6; }
12313 case "$ac_cv_have_resolv" in
12314 "not found") ;;
12315 "none required")
12317 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12320 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12322 RESOLV_LIBS=$ac_cv_have_resolv
12324 esac
12327 if test "x$with_cms" != "xno"
12328 then
12329 if ${LCMS2_CFLAGS:+false} :; then :
12330 if ${PKG_CONFIG+:} false; then :
12331 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12335 if ${LCMS2_LIBS:+false} :; then :
12336 if ${PKG_CONFIG+:} false; then :
12337 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12341 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12342 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12343 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12344 ac_save_CPPFLAGS=$CPPFLAGS
12345 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12346 for ac_header in lcms2.h
12347 do :
12348 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12349 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12350 cat >>confdefs.h <<_ACEOF
12351 #define HAVE_LCMS2_H 1
12352 _ACEOF
12356 done
12358 if test "$ac_cv_header_lcms2_h" = "yes"
12359 then
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12361 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12362 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12363 $as_echo_n "(cached) " >&6
12364 else
12365 ac_check_lib_save_LIBS=$LIBS
12366 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h. */
12370 /* Override any GCC internal prototype to avoid an error.
12371 Use char because int might match the return type of a GCC
12372 builtin and then its argument prototype would still apply. */
12373 #ifdef __cplusplus
12374 extern "C"
12375 #endif
12376 char cmsOpenProfileFromFile ();
12378 main ()
12380 return cmsOpenProfileFromFile ();
12382 return 0;
12384 _ACEOF
12385 if ac_fn_c_try_link "$LINENO"; then :
12386 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12387 else
12388 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12390 rm -f core conftest.err conftest.$ac_objext \
12391 conftest$ac_exeext conftest.$ac_ext
12392 LIBS=$ac_check_lib_save_LIBS
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12395 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12396 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12398 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12400 else
12401 LCMS2_LIBS=""
12404 else
12405 LCMS2_CFLAGS=""
12406 LCMS2_LIBS=""
12408 CPPFLAGS=$ac_save_CPPFLAGS
12409 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12410 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12413 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12414 case "x$with_cms" in
12415 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12416 xno) ;;
12417 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12418 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12419 esac
12423 if test "x$with_freetype" != "xno"
12424 then
12425 if ${FREETYPE_CFLAGS:+false} :; then :
12426 if ${PKG_CONFIG+:} false; then :
12427 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12430 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12431 if ${FREETYPE_LIBS:+false} :; then :
12432 if ${PKG_CONFIG+:} false; then :
12433 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12436 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12437 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12438 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12439 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12440 ac_save_CPPFLAGS=$CPPFLAGS
12441 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12442 for ac_header in ft2build.h
12443 do :
12444 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12445 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12446 cat >>confdefs.h <<_ACEOF
12447 #define HAVE_FT2BUILD_H 1
12448 _ACEOF
12452 done
12454 if test "$ac_cv_header_ft2build_h" = "yes"
12455 then
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12457 $as_echo_n "checking for -lfreetype... " >&6; }
12458 if ${ac_cv_lib_soname_freetype+:} false; then :
12459 $as_echo_n "(cached) " >&6
12460 else
12461 ac_check_soname_save_LIBS=$LIBS
12462 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 /* Override any GCC internal prototype to avoid an error.
12467 Use char because int might match the return type of a GCC
12468 builtin and then its argument prototype would still apply. */
12469 #ifdef __cplusplus
12470 extern "C"
12471 #endif
12472 char FT_Init_FreeType ();
12474 main ()
12476 return FT_Init_FreeType ();
12478 return 0;
12480 _ACEOF
12481 if ac_fn_c_try_link "$LINENO"; then :
12482 case "$LIBEXT" in
12483 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12484 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'` ;;
12485 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12486 if ${ac_cv_lib_soname_freetype:+false} :; then :
12487 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12488 fi ;;
12489 esac
12491 rm -f core conftest.err conftest.$ac_objext \
12492 conftest$ac_exeext conftest.$ac_ext
12493 LIBS=$ac_check_soname_save_LIBS
12495 if ${ac_cv_lib_soname_freetype:+false} :; then :
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12497 $as_echo "not found" >&6; }
12498 FREETYPE_LIBS=""
12499 else
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12501 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12503 cat >>confdefs.h <<_ACEOF
12504 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12505 _ACEOF
12508 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12510 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12511 #include FT_MODULE_H
12513 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12515 cat >>confdefs.h <<_ACEOF
12516 #define HAVE_FT_TRUETYPEENGINETYPE 1
12517 _ACEOF
12523 else
12524 FREETYPE_CFLAGS=""
12525 FREETYPE_LIBS=""
12527 CPPFLAGS=$ac_save_CPPFLAGS
12528 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12529 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12532 if test "x$ac_cv_lib_soname_freetype" = x; then :
12533 case "x$with_freetype" in
12534 xno) ;;
12535 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12536 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12537 esac
12538 enable_fonts=${enable_fonts:-no}
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12542 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12543 if ${ac_cv_c_ppdev+:} false; then :
12544 $as_echo_n "(cached) " >&6
12545 else
12546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12547 /* end confdefs.h. */
12548 #ifdef HAVE_SYS_IOCTL_H
12549 # include <sys/ioctl.h>
12550 #endif
12551 #include <linux/ppdev.h>
12553 main ()
12555 ioctl (1,PPCLAIM,0)
12557 return 0;
12559 _ACEOF
12560 if ac_fn_c_try_compile "$LINENO"; then :
12561 ac_cv_c_ppdev="yes"
12562 else
12563 ac_cv_c_ppdev="no"
12565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12568 $as_echo "$ac_cv_c_ppdev" >&6; }
12569 if test "$ac_cv_c_ppdev" = "yes"
12570 then
12572 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12576 ac_wine_check_funcs_save_LIBS="$LIBS"
12577 LIBS="$LIBS $PTHREAD_LIBS"
12578 for ac_func in \
12579 pthread_attr_get_np \
12580 pthread_getattr_np \
12581 pthread_getthreadid_np \
12582 pthread_get_stackaddr_np \
12583 pthread_get_stacksize_np
12584 do :
12585 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12586 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12587 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12588 cat >>confdefs.h <<_ACEOF
12589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12590 _ACEOF
12593 done
12595 LIBS="$ac_wine_check_funcs_save_LIBS"
12597 if test "$ac_cv_header_zlib_h" = "yes"
12598 then
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12600 $as_echo_n "checking for inflate in -lz... " >&6; }
12601 if ${ac_cv_lib_z_inflate+:} false; then :
12602 $as_echo_n "(cached) " >&6
12603 else
12604 ac_check_lib_save_LIBS=$LIBS
12605 LIBS="-lz $LIBS"
12606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12607 /* end confdefs.h. */
12609 /* Override any GCC internal prototype to avoid an error.
12610 Use char because int might match the return type of a GCC
12611 builtin and then its argument prototype would still apply. */
12612 #ifdef __cplusplus
12613 extern "C"
12614 #endif
12615 char inflate ();
12617 main ()
12619 return inflate ();
12621 return 0;
12623 _ACEOF
12624 if ac_fn_c_try_link "$LINENO"; then :
12625 ac_cv_lib_z_inflate=yes
12626 else
12627 ac_cv_lib_z_inflate=no
12629 rm -f core conftest.err conftest.$ac_objext \
12630 conftest$ac_exeext conftest.$ac_ext
12631 LIBS=$ac_check_lib_save_LIBS
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12634 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12635 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12637 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12639 Z_LIBS="-lz"
12644 if test "x$Z_LIBS" = "x"; then :
12645 case "x$with_zlib" in
12646 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12647 xno) ;;
12648 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12649 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12650 esac
12654 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12655 then
12656 if test "$ac_cv_header_gettext_po_h" = "yes"
12657 then
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12659 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12660 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12661 $as_echo_n "(cached) " >&6
12662 else
12663 ac_check_lib_save_LIBS=$LIBS
12664 LIBS="-lgettextpo $LIBS"
12665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12666 /* end confdefs.h. */
12668 /* Override any GCC internal prototype to avoid an error.
12669 Use char because int might match the return type of a GCC
12670 builtin and then its argument prototype would still apply. */
12671 #ifdef __cplusplus
12672 extern "C"
12673 #endif
12674 char po_message_msgctxt ();
12676 main ()
12678 return po_message_msgctxt ();
12680 return 0;
12682 _ACEOF
12683 if ac_fn_c_try_link "$LINENO"; then :
12684 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12685 else
12686 ac_cv_lib_gettextpo_po_message_msgctxt=no
12688 rm -f core conftest.err conftest.$ac_objext \
12689 conftest$ac_exeext conftest.$ac_ext
12690 LIBS=$ac_check_lib_save_LIBS
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12693 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12694 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12696 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12698 GETTEXTPO_LIBS="-lgettextpo"
12703 if test "x$GETTEXTPO_LIBS" = "x"; then :
12704 case "x$with_gettextpo" in
12705 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12706 xno) ;;
12707 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12708 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12709 esac
12712 if test "$srcdir" != .; then :
12713 case "x$with_gettextpo" in
12714 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12715 xno) ;;
12716 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12717 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12718 esac
12723 if test "x$with_pulse" != "xno";
12724 then
12725 if ${PULSE_CFLAGS:+false} :; then :
12726 if ${PKG_CONFIG+:} false; then :
12727 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12731 if ${PULSE_LIBS:+false} :; then :
12732 if ${PKG_CONFIG+:} false; then :
12733 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12738 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12739 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12740 ac_save_CPPFLAGS=$CPPFLAGS
12741 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12742 for ac_header in pulse/pulseaudio.h
12743 do :
12744 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12745 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12746 cat >>confdefs.h <<_ACEOF
12747 #define HAVE_PULSE_PULSEAUDIO_H 1
12748 _ACEOF
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12750 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12751 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12752 $as_echo_n "(cached) " >&6
12753 else
12754 ac_check_lib_save_LIBS=$LIBS
12755 LIBS="-lpulse $PULSE_LIBS $LIBS"
12756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12759 /* Override any GCC internal prototype to avoid an error.
12760 Use char because int might match the return type of a GCC
12761 builtin and then its argument prototype would still apply. */
12762 #ifdef __cplusplus
12763 extern "C"
12764 #endif
12765 char pa_stream_is_corked ();
12767 main ()
12769 return pa_stream_is_corked ();
12771 return 0;
12773 _ACEOF
12774 if ac_fn_c_try_link "$LINENO"; then :
12775 ac_cv_lib_pulse_pa_stream_is_corked=yes
12776 else
12777 ac_cv_lib_pulse_pa_stream_is_corked=no
12779 rm -f core conftest.err conftest.$ac_objext \
12780 conftest$ac_exeext conftest.$ac_ext
12781 LIBS=$ac_check_lib_save_LIBS
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12784 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12785 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12787 else
12788 PULSE_LIBS=""
12791 else
12792 PULSE_LIBS=""
12795 done
12797 CPPFLAGS=$ac_save_CPPFLAGS
12798 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12799 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12802 if test -z "$PULSE_LIBS"; then :
12803 case "x$with_pulse" in
12804 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12805 xno) ;;
12806 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12807 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12808 esac
12809 enable_winepulse_drv=${enable_winepulse_drv:-no}
12812 if test "x$with_gstreamer" != "xno"
12813 then
12814 if ${GSTREAMER_CFLAGS:+false} :; then :
12815 if ${PKG_CONFIG+:} false; then :
12816 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12820 if ${GSTREAMER_LIBS:+false} :; then :
12821 if ${PKG_CONFIG+:} false; then :
12822 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12827 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12828 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12829 ac_save_CPPFLAGS=$CPPFLAGS
12830 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12831 ac_gst_incl=""
12832 for i in $GSTREAMER_CFLAGS
12834 case "$i" in
12835 -I*) ac_gst_incl="$ac_gst_incl $i";;
12836 esac
12837 done
12838 GSTREAMER_CFLAGS=$ac_gst_incl
12839 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12840 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12841 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12843 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12846 #include <gst/gst.h>
12848 main ()
12850 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12852 return 0;
12854 _ACEOF
12855 if ac_fn_c_try_compile "$LINENO"; then :
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12857 $as_echo "yes" >&6; }
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12859 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12860 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12861 $as_echo_n "(cached) " >&6
12862 else
12863 ac_check_lib_save_LIBS=$LIBS
12864 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h. */
12868 /* Override any GCC internal prototype to avoid an error.
12869 Use char because int might match the return type of a GCC
12870 builtin and then its argument prototype would still apply. */
12871 #ifdef __cplusplus
12872 extern "C"
12873 #endif
12874 char gst_pad_new ();
12876 main ()
12878 return gst_pad_new ();
12880 return 0;
12882 _ACEOF
12883 if ac_fn_c_try_link "$LINENO"; then :
12884 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12885 else
12886 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12888 rm -f core conftest.err conftest.$ac_objext \
12889 conftest$ac_exeext conftest.$ac_ext
12890 LIBS=$ac_check_lib_save_LIBS
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12893 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12894 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12898 else
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12900 $as_echo "no" >&6; }
12901 ac_glib2_broken=yes
12902 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12908 CPPFLAGS=$ac_save_CPPFLAGS
12909 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12910 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12913 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 :
12914 case "x$with_gstreamer" in
12915 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12916 xno) ;;
12917 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12918 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12919 esac
12922 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12924 ALSA_LIBS=""
12926 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12927 then
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12929 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12930 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12931 $as_echo_n "(cached) " >&6
12932 else
12933 ac_check_lib_save_LIBS=$LIBS
12934 LIBS="-lasound $LIBS"
12935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12936 /* end confdefs.h. */
12938 /* Override any GCC internal prototype to avoid an error.
12939 Use char because int might match the return type of a GCC
12940 builtin and then its argument prototype would still apply. */
12941 #ifdef __cplusplus
12942 extern "C"
12943 #endif
12944 char snd_pcm_hw_params_get_access_mask ();
12946 main ()
12948 return snd_pcm_hw_params_get_access_mask ();
12950 return 0;
12952 _ACEOF
12953 if ac_fn_c_try_link "$LINENO"; then :
12954 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12955 else
12956 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12958 rm -f core conftest.err conftest.$ac_objext \
12959 conftest$ac_exeext conftest.$ac_ext
12960 LIBS=$ac_check_lib_save_LIBS
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12963 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12964 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12966 /* end confdefs.h. */
12967 #ifdef HAVE_ALSA_ASOUNDLIB_H
12968 #include <alsa/asoundlib.h>
12969 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12970 #include <sys/asoundlib.h>
12971 #endif
12973 main ()
12975 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12977 return 0;
12979 _ACEOF
12980 if ac_fn_c_try_compile "$LINENO"; then :
12981 ALSA_LIBS="-lasound"
12983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12987 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12989 if test "x$with_oss" != xno
12990 then
12991 ac_save_CPPFLAGS="$CPPFLAGS"
12992 if test -f /etc/oss.conf
12993 then
12994 . /etc/oss.conf
12996 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12997 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12998 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12999 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13000 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13002 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13004 cat >>confdefs.h <<_ACEOF
13005 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13006 _ACEOF
13008 OSS4_CFLAGS="$ac_oss_incl"
13015 CPPFLAGS="$ac_save_CPPFLAGS"
13017 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13018 case "x$with_oss" in
13019 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13020 xno) ;;
13021 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13022 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13023 esac
13024 enable_wineoss_drv=${enable_wineoss_drv:-no}
13027 if test "x$with_udev" != "xno"
13028 then
13029 if ${UDEV_CFLAGS:+false} :; then :
13030 if ${PKG_CONFIG+:} false; then :
13031 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13035 if ${UDEV_LIBS:+false} :; then :
13036 if ${PKG_CONFIG+:} false; then :
13037 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13041 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13042 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13043 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13044 ac_save_CPPFLAGS=$CPPFLAGS
13045 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13046 for ac_header in libudev.h
13047 do :
13048 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13049 if test "x$ac_cv_header_libudev_h" = xyes; then :
13050 cat >>confdefs.h <<_ACEOF
13051 #define HAVE_LIBUDEV_H 1
13052 _ACEOF
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13054 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13055 if ${ac_cv_lib_udev_udev_new+:} false; then :
13056 $as_echo_n "(cached) " >&6
13057 else
13058 ac_check_lib_save_LIBS=$LIBS
13059 LIBS="-ludev $UDEV_LIBS $LIBS"
13060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13063 /* Override any GCC internal prototype to avoid an error.
13064 Use char because int might match the return type of a GCC
13065 builtin and then its argument prototype would still apply. */
13066 #ifdef __cplusplus
13067 extern "C"
13068 #endif
13069 char udev_new ();
13071 main ()
13073 return udev_new ();
13075 return 0;
13077 _ACEOF
13078 if ac_fn_c_try_link "$LINENO"; then :
13079 ac_cv_lib_udev_udev_new=yes
13080 else
13081 ac_cv_lib_udev_udev_new=no
13083 rm -f core conftest.err conftest.$ac_objext \
13084 conftest$ac_exeext conftest.$ac_ext
13085 LIBS=$ac_check_lib_save_LIBS
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13088 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13089 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13091 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13093 else
13094 UDEV_LIBS=""
13097 else
13098 UDEV_LIBS=""
13101 done
13103 CPPFLAGS=$ac_save_CPPFLAGS
13104 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13105 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13108 if test "x$UDEV_LIBS" = "x"; then :
13109 case "x$with_udev" in
13110 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13111 xno) ;;
13112 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13113 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13114 esac
13118 if test "x$with_sdl" != "xno"
13119 then
13120 if ${SDL2_CFLAGS:+false} :; then :
13121 if ${PKG_CONFIG+:} false; then :
13122 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13126 if ${SDL2_LIBS:+false} :; then :
13127 if ${PKG_CONFIG+:} false; then :
13128 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13132 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13133 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13134 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13135 ac_save_CPPFLAGS=$CPPFLAGS
13136 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13137 for ac_header in SDL2/SDL.h
13138 do :
13139 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13140 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13141 cat >>confdefs.h <<_ACEOF
13142 #define HAVE_SDL2_SDL_H 1
13143 _ACEOF
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13145 $as_echo_n "checking for -lSDL2... " >&6; }
13146 if ${ac_cv_lib_soname_SDL2+:} false; then :
13147 $as_echo_n "(cached) " >&6
13148 else
13149 ac_check_soname_save_LIBS=$LIBS
13150 LIBS="-lSDL2 $LIBS"
13151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13152 /* end confdefs.h. */
13154 /* Override any GCC internal prototype to avoid an error.
13155 Use char because int might match the return type of a GCC
13156 builtin and then its argument prototype would still apply. */
13157 #ifdef __cplusplus
13158 extern "C"
13159 #endif
13160 char SDL_Init ();
13162 main ()
13164 return SDL_Init ();
13166 return 0;
13168 _ACEOF
13169 if ac_fn_c_try_link "$LINENO"; then :
13170 case "$LIBEXT" in
13171 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13172 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'` ;;
13173 *) 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'`
13174 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13175 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13176 fi ;;
13177 esac
13179 rm -f core conftest.err conftest.$ac_objext \
13180 conftest$ac_exeext conftest.$ac_ext
13181 LIBS=$ac_check_soname_save_LIBS
13183 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13185 $as_echo "not found" >&6; }
13187 else
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13189 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13191 cat >>confdefs.h <<_ACEOF
13192 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13193 _ACEOF
13199 done
13201 CPPFLAGS=$ac_save_CPPFLAGS
13202 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13203 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13206 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13207 case "x$with_sdl" in
13208 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13209 xno) ;;
13210 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13211 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13212 esac
13216 if test "x$with_capi" != "xno"
13217 then
13218 if ${CAPI20_CFLAGS:+false} :; then :
13219 if ${PKG_CONFIG+:} false; then :
13220 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13224 if ${CAPI20_LIBS:+false} :; then :
13225 if ${PKG_CONFIG+:} false; then :
13226 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13231 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13232 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13233 ac_save_CPPFLAGS=$CPPFLAGS
13234 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13235 for ac_header in capi20.h linux/capi.h
13236 do :
13237 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13238 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13240 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13241 cat >>confdefs.h <<_ACEOF
13242 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13243 _ACEOF
13247 done
13249 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13250 then
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13252 $as_echo_n "checking for -lcapi20... " >&6; }
13253 if ${ac_cv_lib_soname_capi20+:} false; then :
13254 $as_echo_n "(cached) " >&6
13255 else
13256 ac_check_soname_save_LIBS=$LIBS
13257 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13261 /* Override any GCC internal prototype to avoid an error.
13262 Use char because int might match the return type of a GCC
13263 builtin and then its argument prototype would still apply. */
13264 #ifdef __cplusplus
13265 extern "C"
13266 #endif
13267 char capi20_register ();
13269 main ()
13271 return capi20_register ();
13273 return 0;
13275 _ACEOF
13276 if ac_fn_c_try_link "$LINENO"; then :
13277 case "$LIBEXT" in
13278 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13279 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'` ;;
13280 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13281 if ${ac_cv_lib_soname_capi20:+false} :; then :
13282 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13283 fi ;;
13284 esac
13286 rm -f core conftest.err conftest.$ac_objext \
13287 conftest$ac_exeext conftest.$ac_ext
13288 LIBS=$ac_check_soname_save_LIBS
13290 if ${ac_cv_lib_soname_capi20:+false} :; then :
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13292 $as_echo "not found" >&6; }
13294 else
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13296 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13298 cat >>confdefs.h <<_ACEOF
13299 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13300 _ACEOF
13305 CPPFLAGS=$ac_save_CPPFLAGS
13306 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13307 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13310 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13311 case "x$with_capi" in
13312 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13313 xno) ;;
13314 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13315 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13316 esac
13320 if test "x$with_cups" != "xno"
13321 then
13322 if ${CUPS_CFLAGS:+false} :; then :
13323 if ${PKG_CONFIG+:} false; then :
13324 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13327 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13328 if ${CUPS_LIBS:+false} :; then :
13329 if ${PKG_CONFIG+:} false; then :
13330 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13333 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13334 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13335 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13336 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13337 ac_save_CPPFLAGS=$CPPFLAGS
13338 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13339 for ac_header in cups/cups.h cups/ppd.h
13340 do :
13341 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13342 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13343 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13344 cat >>confdefs.h <<_ACEOF
13345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13346 _ACEOF
13350 done
13352 if test "$ac_cv_header_cups_cups_h" = "yes"
13353 then
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13355 $as_echo_n "checking for -lcups... " >&6; }
13356 if ${ac_cv_lib_soname_cups+:} false; then :
13357 $as_echo_n "(cached) " >&6
13358 else
13359 ac_check_soname_save_LIBS=$LIBS
13360 LIBS="-lcups $CUPS_LIBS $LIBS"
13361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13362 /* end confdefs.h. */
13364 /* Override any GCC internal prototype to avoid an error.
13365 Use char because int might match the return type of a GCC
13366 builtin and then its argument prototype would still apply. */
13367 #ifdef __cplusplus
13368 extern "C"
13369 #endif
13370 char cupsGetDefault ();
13372 main ()
13374 return cupsGetDefault ();
13376 return 0;
13378 _ACEOF
13379 if ac_fn_c_try_link "$LINENO"; then :
13380 case "$LIBEXT" in
13381 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13382 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'` ;;
13383 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13384 if ${ac_cv_lib_soname_cups:+false} :; then :
13385 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13386 fi ;;
13387 esac
13389 rm -f core conftest.err conftest.$ac_objext \
13390 conftest$ac_exeext conftest.$ac_ext
13391 LIBS=$ac_check_soname_save_LIBS
13393 if ${ac_cv_lib_soname_cups:+false} :; then :
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13395 $as_echo "not found" >&6; }
13396 CUPS_LIBS=""
13397 else
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13399 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13401 cat >>confdefs.h <<_ACEOF
13402 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13403 _ACEOF
13407 else
13408 CUPS_CFLAGS=""
13409 CUPS_LIBS=""
13411 CPPFLAGS=$ac_save_CPPFLAGS
13412 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13413 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13416 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13417 case "x$with_cups" in
13418 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13419 xno) ;;
13420 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13421 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13422 esac
13426 if test "x$with_fontconfig" != "xno"
13427 then
13428 if ${FONTCONFIG_CFLAGS:+false} :; then :
13429 if ${PKG_CONFIG+:} false; then :
13430 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13433 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13434 if ${FONTCONFIG_LIBS:+false} :; then :
13435 if ${PKG_CONFIG+:} false; then :
13436 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13439 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13441 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13442 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13443 ac_save_CPPFLAGS=$CPPFLAGS
13444 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13445 for ac_header in fontconfig/fontconfig.h
13446 do :
13447 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13448 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13449 cat >>confdefs.h <<_ACEOF
13450 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13451 _ACEOF
13455 done
13457 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13458 then
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13460 $as_echo_n "checking for -lfontconfig... " >&6; }
13461 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13462 $as_echo_n "(cached) " >&6
13463 else
13464 ac_check_soname_save_LIBS=$LIBS
13465 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13467 /* end confdefs.h. */
13469 /* Override any GCC internal prototype to avoid an error.
13470 Use char because int might match the return type of a GCC
13471 builtin and then its argument prototype would still apply. */
13472 #ifdef __cplusplus
13473 extern "C"
13474 #endif
13475 char FcInit ();
13477 main ()
13479 return FcInit ();
13481 return 0;
13483 _ACEOF
13484 if ac_fn_c_try_link "$LINENO"; then :
13485 case "$LIBEXT" in
13486 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13487 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'` ;;
13488 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13489 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13490 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13491 fi ;;
13492 esac
13494 rm -f core conftest.err conftest.$ac_objext \
13495 conftest$ac_exeext conftest.$ac_ext
13496 LIBS=$ac_check_soname_save_LIBS
13498 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13500 $as_echo "not found" >&6; }
13501 FONTCONFIG_CFLAGS=""
13502 else
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13504 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13506 cat >>confdefs.h <<_ACEOF
13507 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13508 _ACEOF
13512 else
13513 FONTCONFIG_CFLAGS=""
13515 CPPFLAGS=$ac_save_CPPFLAGS
13516 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13517 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13520 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13521 case "x$with_fontconfig" in
13522 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13523 xno) ;;
13524 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13525 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13526 esac
13530 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13531 then
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13533 $as_echo_n "checking for -lgsm... " >&6; }
13534 if ${ac_cv_lib_soname_gsm+:} false; then :
13535 $as_echo_n "(cached) " >&6
13536 else
13537 ac_check_soname_save_LIBS=$LIBS
13538 LIBS="-lgsm $LIBS"
13539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13540 /* end confdefs.h. */
13542 /* Override any GCC internal prototype to avoid an error.
13543 Use char because int might match the return type of a GCC
13544 builtin and then its argument prototype would still apply. */
13545 #ifdef __cplusplus
13546 extern "C"
13547 #endif
13548 char gsm_create ();
13550 main ()
13552 return gsm_create ();
13554 return 0;
13556 _ACEOF
13557 if ac_fn_c_try_link "$LINENO"; then :
13558 case "$LIBEXT" in
13559 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13560 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'` ;;
13561 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13562 if ${ac_cv_lib_soname_gsm:+false} :; then :
13563 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13564 fi ;;
13565 esac
13567 rm -f core conftest.err conftest.$ac_objext \
13568 conftest$ac_exeext conftest.$ac_ext
13569 LIBS=$ac_check_soname_save_LIBS
13571 if ${ac_cv_lib_soname_gsm:+false} :; then :
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13573 $as_echo "not found" >&6; }
13575 else
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13577 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13579 cat >>confdefs.h <<_ACEOF
13580 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13581 _ACEOF
13586 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13587 case "x$with_gsm" in
13588 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13589 xno) ;;
13590 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13591 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13592 esac
13596 if test "x$with_krb5" != "xno"
13597 then
13598 if ${KRB5_CFLAGS:+false} :; then :
13599 if ${PKG_CONFIG+:} false; then :
13600 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13603 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13604 if ${KRB5_LIBS:+false} :; then :
13605 if ${PKG_CONFIG+:} false; then :
13606 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13609 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13611 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13612 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13613 ac_save_CPPFLAGS=$CPPFLAGS
13614 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13615 for ac_header in krb5/krb5.h
13616 do :
13617 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13618 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13619 cat >>confdefs.h <<_ACEOF
13620 #define HAVE_KRB5_KRB5_H 1
13621 _ACEOF
13625 done
13627 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13628 then
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13630 $as_echo_n "checking for -lkrb5... " >&6; }
13631 if ${ac_cv_lib_soname_krb5+:} false; then :
13632 $as_echo_n "(cached) " >&6
13633 else
13634 ac_check_soname_save_LIBS=$LIBS
13635 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13639 /* Override any GCC internal prototype to avoid an error.
13640 Use char because int might match the return type of a GCC
13641 builtin and then its argument prototype would still apply. */
13642 #ifdef __cplusplus
13643 extern "C"
13644 #endif
13645 char krb5_is_config_principal ();
13647 main ()
13649 return krb5_is_config_principal ();
13651 return 0;
13653 _ACEOF
13654 if ac_fn_c_try_link "$LINENO"; then :
13655 case "$LIBEXT" in
13656 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13657 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'` ;;
13658 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13659 if ${ac_cv_lib_soname_krb5:+false} :; then :
13660 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13661 fi ;;
13662 esac
13664 rm -f core conftest.err conftest.$ac_objext \
13665 conftest$ac_exeext conftest.$ac_ext
13666 LIBS=$ac_check_soname_save_LIBS
13668 if ${ac_cv_lib_soname_krb5:+false} :; then :
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13670 $as_echo "not found" >&6; }
13671 KRB5_CFLAGS=""
13672 else
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13674 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13676 cat >>confdefs.h <<_ACEOF
13677 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13678 _ACEOF
13682 else
13683 KRB5_CFLAGS=""
13685 CPPFLAGS=$ac_save_CPPFLAGS
13686 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13687 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13689 else
13690 with_gssapi=${with_gssapi:-no}
13692 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13693 case "x$with_krb5" in
13694 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
13695 xno) ;;
13696 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
13697 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13698 esac
13702 if test "x$with_gssapi" != "xno"
13703 then
13704 if ${GSSAPI_CFLAGS:+false} :; then :
13705 if ${PKG_CONFIG+:} false; then :
13706 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13709 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13710 if ${GSSAPI_LIBS:+false} :; then :
13711 if ${PKG_CONFIG+:} false; then :
13712 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13715 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13717 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13718 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13719 ac_save_CPPFLAGS=$CPPFLAGS
13720 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13721 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13722 do :
13723 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13724 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13725 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13726 cat >>confdefs.h <<_ACEOF
13727 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13728 _ACEOF
13732 done
13734 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13735 then
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13737 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13738 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13739 $as_echo_n "(cached) " >&6
13740 else
13741 ac_check_soname_save_LIBS=$LIBS
13742 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13746 /* Override any GCC internal prototype to avoid an error.
13747 Use char because int might match the return type of a GCC
13748 builtin and then its argument prototype would still apply. */
13749 #ifdef __cplusplus
13750 extern "C"
13751 #endif
13752 char gss_init_sec_context ();
13754 main ()
13756 return gss_init_sec_context ();
13758 return 0;
13760 _ACEOF
13761 if ac_fn_c_try_link "$LINENO"; then :
13762 case "$LIBEXT" in
13763 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13764 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'` ;;
13765 *) 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'`
13766 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13767 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13768 fi ;;
13769 esac
13771 rm -f core conftest.err conftest.$ac_objext \
13772 conftest$ac_exeext conftest.$ac_ext
13773 LIBS=$ac_check_soname_save_LIBS
13775 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13777 $as_echo "not found" >&6; }
13778 GSSAPI_CFLAGS=""
13779 else
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13781 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13783 cat >>confdefs.h <<_ACEOF
13784 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13785 _ACEOF
13789 else
13790 GSSAPI_CFLAGS=""
13792 CPPFLAGS=$ac_save_CPPFLAGS
13793 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13794 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13797 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13798 case "x$with_gssapi" in
13799 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13800 xno) ;;
13801 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13802 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13803 esac
13807 if test "x$with_jpeg" != "xno"
13808 then
13809 if ${JPEG_CFLAGS:+false} :; then :
13810 if ${PKG_CONFIG+:} false; then :
13811 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13815 if ${JPEG_LIBS:+false} :; then :
13816 if ${PKG_CONFIG+:} false; then :
13817 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13822 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13823 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13824 ac_save_CPPFLAGS=$CPPFLAGS
13825 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13826 for ac_header in jpeglib.h
13827 do :
13828 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13829 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13830 cat >>confdefs.h <<_ACEOF
13831 #define HAVE_JPEGLIB_H 1
13832 _ACEOF
13836 done
13838 if test "$ac_cv_header_jpeglib_h" = "yes"
13839 then
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13841 $as_echo_n "checking for -ljpeg... " >&6; }
13842 if ${ac_cv_lib_soname_jpeg+:} false; then :
13843 $as_echo_n "(cached) " >&6
13844 else
13845 ac_check_soname_save_LIBS=$LIBS
13846 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13848 /* end confdefs.h. */
13850 /* Override any GCC internal prototype to avoid an error.
13851 Use char because int might match the return type of a GCC
13852 builtin and then its argument prototype would still apply. */
13853 #ifdef __cplusplus
13854 extern "C"
13855 #endif
13856 char jpeg_start_decompress ();
13858 main ()
13860 return jpeg_start_decompress ();
13862 return 0;
13864 _ACEOF
13865 if ac_fn_c_try_link "$LINENO"; then :
13866 case "$LIBEXT" in
13867 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13868 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'` ;;
13869 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13870 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13871 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13872 fi ;;
13873 esac
13875 rm -f core conftest.err conftest.$ac_objext \
13876 conftest$ac_exeext conftest.$ac_ext
13877 LIBS=$ac_check_soname_save_LIBS
13879 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13881 $as_echo "not found" >&6; }
13882 JPEG_CFLAGS=""
13883 else
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13885 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13887 cat >>confdefs.h <<_ACEOF
13888 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13889 _ACEOF
13893 else
13894 JPEG_CFLAGS=""
13896 CPPFLAGS=$ac_save_CPPFLAGS
13897 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13898 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13901 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13902 case "x$with_jpeg" in
13903 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13904 xno) ;;
13905 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13906 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13907 esac
13911 if test "x$with_png" != "xno"
13912 then
13913 if ${PNG_CFLAGS:+false} :; then :
13914 if ${PKG_CONFIG+:} false; then :
13915 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13918 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13919 if ${PNG_LIBS:+false} :; then :
13920 if ${PKG_CONFIG+:} false; then :
13921 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13924 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13926 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13927 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13928 ac_save_CPPFLAGS=$CPPFLAGS
13929 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13930 for ac_header in png.h
13931 do :
13932 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13933 if test "x$ac_cv_header_png_h" = xyes; then :
13934 cat >>confdefs.h <<_ACEOF
13935 #define HAVE_PNG_H 1
13936 _ACEOF
13940 done
13942 if test "$ac_cv_header_png_h" = "yes"
13943 then
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13945 $as_echo_n "checking for -lpng... " >&6; }
13946 if ${ac_cv_lib_soname_png+:} false; then :
13947 $as_echo_n "(cached) " >&6
13948 else
13949 ac_check_soname_save_LIBS=$LIBS
13950 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13954 /* Override any GCC internal prototype to avoid an error.
13955 Use char because int might match the return type of a GCC
13956 builtin and then its argument prototype would still apply. */
13957 #ifdef __cplusplus
13958 extern "C"
13959 #endif
13960 char png_create_read_struct ();
13962 main ()
13964 return png_create_read_struct ();
13966 return 0;
13968 _ACEOF
13969 if ac_fn_c_try_link "$LINENO"; then :
13970 case "$LIBEXT" in
13971 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13972 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'` ;;
13973 *) 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'`
13974 if ${ac_cv_lib_soname_png:+false} :; then :
13975 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13976 fi ;;
13977 esac
13979 rm -f core conftest.err conftest.$ac_objext \
13980 conftest$ac_exeext conftest.$ac_ext
13981 LIBS=$ac_check_soname_save_LIBS
13983 if ${ac_cv_lib_soname_png:+false} :; then :
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13985 $as_echo "not found" >&6; }
13986 PNG_CFLAGS=""
13987 else
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13989 $as_echo "$ac_cv_lib_soname_png" >&6; }
13991 cat >>confdefs.h <<_ACEOF
13992 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13993 _ACEOF
13997 else
13998 PNG_CFLAGS=""
14000 CPPFLAGS=$ac_save_CPPFLAGS
14001 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14002 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14005 if test "x$ac_cv_lib_soname_png" = "x"; then :
14006 case "x$with_png" in
14007 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14008 xno) ;;
14009 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14010 This is an error since --with-png was requested." "$LINENO" 5 ;;
14011 esac
14015 if test "x$with_tiff" != "xno"
14016 then
14017 if ${TIFF_CFLAGS:+false} :; then :
14018 if ${PKG_CONFIG+:} false; then :
14019 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14023 if ${TIFF_LIBS:+false} :; then :
14024 if ${PKG_CONFIG+:} false; then :
14025 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14030 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14031 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14032 ac_save_CPPFLAGS=$CPPFLAGS
14033 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14034 for ac_header in tiffio.h
14035 do :
14036 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14037 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14038 cat >>confdefs.h <<_ACEOF
14039 #define HAVE_TIFFIO_H 1
14040 _ACEOF
14044 done
14046 if test "$ac_cv_header_tiffio_h" = "yes"
14047 then
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14049 $as_echo_n "checking for -ltiff... " >&6; }
14050 if ${ac_cv_lib_soname_tiff+:} false; then :
14051 $as_echo_n "(cached) " >&6
14052 else
14053 ac_check_soname_save_LIBS=$LIBS
14054 LIBS="-ltiff $TIFF_LIBS $LIBS"
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14058 /* Override any GCC internal prototype to avoid an error.
14059 Use char because int might match the return type of a GCC
14060 builtin and then its argument prototype would still apply. */
14061 #ifdef __cplusplus
14062 extern "C"
14063 #endif
14064 char TIFFClientOpen ();
14066 main ()
14068 return TIFFClientOpen ();
14070 return 0;
14072 _ACEOF
14073 if ac_fn_c_try_link "$LINENO"; then :
14074 case "$LIBEXT" in
14075 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14076 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'` ;;
14077 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14078 if ${ac_cv_lib_soname_tiff:+false} :; then :
14079 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14080 fi ;;
14081 esac
14083 rm -f core conftest.err conftest.$ac_objext \
14084 conftest$ac_exeext conftest.$ac_ext
14085 LIBS=$ac_check_soname_save_LIBS
14087 if ${ac_cv_lib_soname_tiff:+false} :; then :
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14089 $as_echo "not found" >&6; }
14091 else
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14093 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14095 cat >>confdefs.h <<_ACEOF
14096 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14097 _ACEOF
14102 CPPFLAGS=$ac_save_CPPFLAGS
14103 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14104 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14107 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14108 case "x$with_tiff" in
14109 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14110 xno) ;;
14111 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14112 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14113 esac
14117 if test "x$with_mpg123" != "xno"
14118 then
14119 if ${MPG123_CFLAGS:+false} :; then :
14120 if ${PKG_CONFIG+:} false; then :
14121 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14125 if ${MPG123_LIBS:+false} :; then :
14126 if ${PKG_CONFIG+:} false; then :
14127 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14131 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14132 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14133 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14134 ac_save_CPPFLAGS=$CPPFLAGS
14135 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14136 for ac_header in mpg123.h
14137 do :
14138 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14139 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14140 cat >>confdefs.h <<_ACEOF
14141 #define HAVE_MPG123_H 1
14142 _ACEOF
14146 done
14148 if test "$ac_cv_header_mpg123_h" = "yes"
14149 then
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14151 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14152 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14153 $as_echo_n "(cached) " >&6
14154 else
14155 ac_check_lib_save_LIBS=$LIBS
14156 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14160 /* Override any GCC internal prototype to avoid an error.
14161 Use char because int might match the return type of a GCC
14162 builtin and then its argument prototype would still apply. */
14163 #ifdef __cplusplus
14164 extern "C"
14165 #endif
14166 char mpg123_feed ();
14168 main ()
14170 return mpg123_feed ();
14172 return 0;
14174 _ACEOF
14175 if ac_fn_c_try_link "$LINENO"; then :
14176 ac_cv_lib_mpg123_mpg123_feed=yes
14177 else
14178 ac_cv_lib_mpg123_mpg123_feed=no
14180 rm -f core conftest.err conftest.$ac_objext \
14181 conftest$ac_exeext conftest.$ac_ext
14182 LIBS=$ac_check_lib_save_LIBS
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14185 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14186 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14188 else
14189 MPG123_LIBS=""
14192 else
14193 MPG123_CFLAGS=""
14194 MPG123_LIBS=""
14196 CPPFLAGS=$ac_save_CPPFLAGS
14197 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14198 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14201 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14202 case "x$with_mpg123" in
14203 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14204 xno) ;;
14205 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14206 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14207 esac
14208 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14211 if test "$ac_cv_header_AL_al_h" = "yes"
14212 then
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14214 $as_echo_n "checking for -lopenal... " >&6; }
14215 if ${ac_cv_lib_soname_openal+:} false; then :
14216 $as_echo_n "(cached) " >&6
14217 else
14218 ac_check_soname_save_LIBS=$LIBS
14219 LIBS="-lopenal $LIBS"
14220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14221 /* end confdefs.h. */
14223 /* Override any GCC internal prototype to avoid an error.
14224 Use char because int might match the return type of a GCC
14225 builtin and then its argument prototype would still apply. */
14226 #ifdef __cplusplus
14227 extern "C"
14228 #endif
14229 char alGetSource3i ();
14231 main ()
14233 return alGetSource3i ();
14235 return 0;
14237 _ACEOF
14238 if ac_fn_c_try_link "$LINENO"; then :
14239 case "$LIBEXT" in
14240 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14241 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'` ;;
14242 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14243 if ${ac_cv_lib_soname_openal:+false} :; then :
14244 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14245 fi ;;
14246 esac
14248 rm -f core conftest.err conftest.$ac_objext \
14249 conftest$ac_exeext conftest.$ac_ext
14250 LIBS=$ac_check_soname_save_LIBS
14252 if ${ac_cv_lib_soname_openal:+false} :; then :
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14254 $as_echo "not found" >&6; }
14256 else
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14258 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14260 cat >>confdefs.h <<_ACEOF
14261 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14262 _ACEOF
14264 OPENAL_LIBS="-lopenal"
14266 ac_cv_lib_openal=yes
14268 cat >>confdefs.h <<_ACEOF
14269 #define HAVE_OPENAL 1
14270 _ACEOF
14274 if test "x$ac_cv_lib_openal" != xyes; then :
14275 case "x$with_openal" in
14276 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14277 xno) ;;
14278 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14279 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14280 esac
14281 enable_openal32=${enable_openal32:-no}
14284 if test "x$ac_cv_lib_openal" = xyes
14285 then
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14287 $as_echo_n "checking for openal-soft... " >&6; }
14288 if ${ac_cv_have_openalsoft+:} false; then :
14289 $as_echo_n "(cached) " >&6
14290 else
14291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14292 /* end confdefs.h. */
14293 #include <AL/al.h>
14294 #include <AL/alc.h>
14295 #include <AL/alext.h>
14296 LPALCRENDERSAMPLESSOFT x;
14298 main ()
14302 return 0;
14304 _ACEOF
14305 if ac_fn_c_try_compile "$LINENO"; then :
14306 ac_cv_have_openalsoft=yes
14307 else
14308 ac_cv_have_openalsoft=no
14310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14313 $as_echo "$ac_cv_have_openalsoft" >&6; }
14315 if test "x$ac_cv_have_openalsoft" != xyes
14316 then
14317 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14318 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14319 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14320 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14321 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14322 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14323 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14324 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14325 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14326 enable_xapofx1_1=${enable_xapofx1_1:-no}
14327 enable_xapofx1_2=${enable_xapofx1_2:-no}
14328 enable_xapofx1_3=${enable_xapofx1_3:-no}
14329 enable_xapofx1_4=${enable_xapofx1_4:-no}
14330 enable_xapofx1_5=${enable_xapofx1_5:-no}
14331 enable_xaudio2_0=${enable_xaudio2_0:-no}
14332 enable_xaudio2_1=${enable_xaudio2_1:-no}
14333 enable_xaudio2_2=${enable_xaudio2_2:-no}
14334 enable_xaudio2_3=${enable_xaudio2_3:-no}
14335 enable_xaudio2_4=${enable_xaudio2_4:-no}
14336 enable_xaudio2_5=${enable_xaudio2_5:-no}
14337 enable_xaudio2_6=${enable_xaudio2_6:-no}
14338 enable_xaudio2_7=${enable_xaudio2_7:-no}
14339 enable_xaudio2_8=${enable_xaudio2_8:-no}
14340 enable_xaudio2_9=${enable_xaudio2_9:-no}
14343 if test "$ac_cv_header_kstat_h" = "yes"
14344 then
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14346 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14347 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14348 $as_echo_n "(cached) " >&6
14349 else
14350 ac_check_lib_save_LIBS=$LIBS
14351 LIBS="-lkstat $LIBS"
14352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14353 /* end confdefs.h. */
14355 /* Override any GCC internal prototype to avoid an error.
14356 Use char because int might match the return type of a GCC
14357 builtin and then its argument prototype would still apply. */
14358 #ifdef __cplusplus
14359 extern "C"
14360 #endif
14361 char kstat_open ();
14363 main ()
14365 return kstat_open ();
14367 return 0;
14369 _ACEOF
14370 if ac_fn_c_try_link "$LINENO"; then :
14371 ac_cv_lib_kstat_kstat_open=yes
14372 else
14373 ac_cv_lib_kstat_kstat_open=no
14375 rm -f core conftest.err conftest.$ac_objext \
14376 conftest$ac_exeext conftest.$ac_ext
14377 LIBS=$ac_check_lib_save_LIBS
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14380 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14381 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14383 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14385 KSTAT_LIBS="-lkstat"
14391 if test "$ac_cv_header_libprocstat_h" = "yes"
14392 then
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14394 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14395 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14396 $as_echo_n "(cached) " >&6
14397 else
14398 ac_check_lib_save_LIBS=$LIBS
14399 LIBS="-lprocstat $LIBS"
14400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14401 /* end confdefs.h. */
14403 /* Override any GCC internal prototype to avoid an error.
14404 Use char because int might match the return type of a GCC
14405 builtin and then its argument prototype would still apply. */
14406 #ifdef __cplusplus
14407 extern "C"
14408 #endif
14409 char procstat_open_sysctl ();
14411 main ()
14413 return procstat_open_sysctl ();
14415 return 0;
14417 _ACEOF
14418 if ac_fn_c_try_link "$LINENO"; then :
14419 ac_cv_lib_procstat_procstat_open_sysctl=yes
14420 else
14421 ac_cv_lib_procstat_procstat_open_sysctl=no
14423 rm -f core conftest.err conftest.$ac_objext \
14424 conftest$ac_exeext conftest.$ac_ext
14425 LIBS=$ac_check_lib_save_LIBS
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14428 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14429 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14431 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14433 PROCSTAT_LIBS="-lprocstat"
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14440 $as_echo_n "checking for -lodbc... " >&6; }
14441 if ${ac_cv_lib_soname_odbc+:} false; then :
14442 $as_echo_n "(cached) " >&6
14443 else
14444 ac_check_soname_save_LIBS=$LIBS
14445 LIBS="-lodbc $LIBS"
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14449 /* Override any GCC internal prototype to avoid an error.
14450 Use char because int might match the return type of a GCC
14451 builtin and then its argument prototype would still apply. */
14452 #ifdef __cplusplus
14453 extern "C"
14454 #endif
14455 char SQLConnect ();
14457 main ()
14459 return SQLConnect ();
14461 return 0;
14463 _ACEOF
14464 if ac_fn_c_try_link "$LINENO"; then :
14465 case "$LIBEXT" in
14466 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14467 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'` ;;
14468 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14469 if ${ac_cv_lib_soname_odbc:+false} :; then :
14470 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14471 fi ;;
14472 esac
14474 rm -f core conftest.err conftest.$ac_objext \
14475 conftest$ac_exeext conftest.$ac_ext
14476 LIBS=$ac_check_soname_save_LIBS
14478 if ${ac_cv_lib_soname_odbc:+false} :; then :
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14480 $as_echo "not found" >&6; }
14481 cat >>confdefs.h <<_ACEOF
14482 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14483 _ACEOF
14485 else
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14487 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14489 cat >>confdefs.h <<_ACEOF
14490 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14491 _ACEOF
14496 if test "x$with_netapi" != "xno"
14497 then
14498 if ${NETAPI_CFLAGS:+false} :; then :
14499 if ${PKG_CONFIG+:} false; then :
14500 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14504 if ${NETAPI_LIBS:+false} :; then :
14505 if ${PKG_CONFIG+:} false; then :
14506 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14511 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14512 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14513 ac_save_CPPFLAGS=$CPPFLAGS
14514 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14516 $as_echo_n "checking for -lnetapi... " >&6; }
14517 if ${ac_cv_lib_soname_netapi+:} false; then :
14518 $as_echo_n "(cached) " >&6
14519 else
14520 ac_check_soname_save_LIBS=$LIBS
14521 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14525 /* Override any GCC internal prototype to avoid an error.
14526 Use char because int might match the return type of a GCC
14527 builtin and then its argument prototype would still apply. */
14528 #ifdef __cplusplus
14529 extern "C"
14530 #endif
14531 char libnetapi_init ();
14533 main ()
14535 return libnetapi_init ();
14537 return 0;
14539 _ACEOF
14540 if ac_fn_c_try_link "$LINENO"; then :
14541 case "$LIBEXT" in
14542 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14543 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'` ;;
14544 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14545 if ${ac_cv_lib_soname_netapi:+false} :; then :
14546 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14547 fi ;;
14548 esac
14550 rm -f core conftest.err conftest.$ac_objext \
14551 conftest$ac_exeext conftest.$ac_ext
14552 LIBS=$ac_check_soname_save_LIBS
14554 if ${ac_cv_lib_soname_netapi:+false} :; then :
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14556 $as_echo "not found" >&6; }
14557 cat >>confdefs.h <<_ACEOF
14558 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14559 _ACEOF
14561 else
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14563 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14565 cat >>confdefs.h <<_ACEOF
14566 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14567 _ACEOF
14571 CPPFLAGS=$ac_save_CPPFLAGS
14572 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14573 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14577 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14578 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14579 then
14580 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14583 if test "x$with_vulkan" != "xno"
14584 then
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14586 $as_echo_n "checking for -lvulkan... " >&6; }
14587 if ${ac_cv_lib_soname_vulkan+:} false; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 ac_check_soname_save_LIBS=$LIBS
14591 LIBS="-lvulkan $LIBS"
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14595 /* Override any GCC internal prototype to avoid an error.
14596 Use char because int might match the return type of a GCC
14597 builtin and then its argument prototype would still apply. */
14598 #ifdef __cplusplus
14599 extern "C"
14600 #endif
14601 char vkGetInstanceProcAddr ();
14603 main ()
14605 return vkGetInstanceProcAddr ();
14607 return 0;
14609 _ACEOF
14610 if ac_fn_c_try_link "$LINENO"; then :
14611 case "$LIBEXT" in
14612 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14613 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'` ;;
14614 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14615 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14616 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14617 fi ;;
14618 esac
14620 rm -f core conftest.err conftest.$ac_objext \
14621 conftest$ac_exeext conftest.$ac_ext
14622 LIBS=$ac_check_soname_save_LIBS
14624 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14626 $as_echo "not found" >&6; }
14628 else
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14630 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14632 cat >>confdefs.h <<_ACEOF
14633 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14634 _ACEOF
14639 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14640 case "x$with_vulkan" in
14641 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14642 xno) ;;
14643 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14644 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14645 esac
14650 EXTRACFLAGS=""
14652 if test "x${GCC}" = "xyes"
14653 then
14654 EXTRACFLAGS="-Wall -pipe"
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14657 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14658 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14659 $as_echo_n "(cached) " >&6
14660 else
14661 if test "$cross_compiling" = yes; then :
14662 ac_cv_c_gcc_strength_bug="no"
14663 else
14664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14665 /* end confdefs.h. */
14666 int L[4] = {0,1,2,3};
14668 main ()
14670 static int Array[3];
14671 unsigned int B = 3;
14672 int i;
14673 for(i=0; i<B; i++) Array[i] = i - 3;
14674 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14675 L[i] = 4;
14676 return (Array[1] != -2 || L[2] != 3)
14678 return 0;
14680 _ACEOF
14681 if ac_fn_c_try_run "$LINENO"; then :
14682 ac_cv_c_gcc_strength_bug="no"
14683 else
14684 ac_cv_c_gcc_strength_bug="yes"
14686 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14687 conftest.$ac_objext conftest.beam conftest.$ac_ext
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14692 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14693 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14694 then
14695 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14699 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14700 if ${ac_cv_cflags__fno_builtin+:} false; then :
14701 $as_echo_n "(cached) " >&6
14702 else
14703 ac_wine_try_cflags_saved=$CFLAGS
14704 CFLAGS="$CFLAGS -fno-builtin"
14705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14706 /* end confdefs.h. */
14707 int main(int argc, char **argv) { return 0; }
14708 _ACEOF
14709 if ac_fn_c_try_link "$LINENO"; then :
14710 ac_cv_cflags__fno_builtin=yes
14711 else
14712 ac_cv_cflags__fno_builtin=no
14714 rm -f core conftest.err conftest.$ac_objext \
14715 conftest$ac_exeext conftest.$ac_ext
14716 CFLAGS=$ac_wine_try_cflags_saved
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14719 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14720 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14721 BUILTINFLAG="-fno-builtin"
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14725 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14726 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14727 $as_echo_n "(cached) " >&6
14728 else
14729 ac_wine_try_cflags_saved=$CFLAGS
14730 CFLAGS="$CFLAGS -fno-strict-aliasing"
14731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14732 /* end confdefs.h. */
14733 int main(int argc, char **argv) { return 0; }
14734 _ACEOF
14735 if ac_fn_c_try_link "$LINENO"; then :
14736 ac_cv_cflags__fno_strict_aliasing=yes
14737 else
14738 ac_cv_cflags__fno_strict_aliasing=no
14740 rm -f core conftest.err conftest.$ac_objext \
14741 conftest$ac_exeext conftest.$ac_ext
14742 CFLAGS=$ac_wine_try_cflags_saved
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14745 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14746 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14747 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14750 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14751 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14752 $as_echo_n "(cached) " >&6
14753 else
14754 ac_wine_try_cflags_saved=$CFLAGS
14755 CFLAGS="$CFLAGS -fexcess-precision=standard"
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14758 int main(int argc, char **argv) { return 0; }
14759 _ACEOF
14760 if ac_fn_c_try_link "$LINENO"; then :
14761 ac_cv_cflags__fexcess_precision_standard=yes
14762 else
14763 ac_cv_cflags__fexcess_precision_standard=no
14765 rm -f core conftest.err conftest.$ac_objext \
14766 conftest$ac_exeext conftest.$ac_ext
14767 CFLAGS=$ac_wine_try_cflags_saved
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14770 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14771 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14772 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14775 saved_CFLAGS=$CFLAGS
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14777 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14778 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14779 $as_echo_n "(cached) " >&6
14780 else
14781 ac_wine_try_cflags_saved=$CFLAGS
14782 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14784 /* end confdefs.h. */
14785 int main(int argc, char **argv) { return 0; }
14786 _ACEOF
14787 if ac_fn_c_try_link "$LINENO"; then :
14788 ac_cv_cflags__Werror_unknown_warning_option=yes
14789 else
14790 ac_cv_cflags__Werror_unknown_warning_option=no
14792 rm -f core conftest.err conftest.$ac_objext \
14793 conftest$ac_exeext conftest.$ac_ext
14794 CFLAGS=$ac_wine_try_cflags_saved
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14797 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14798 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14799 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14802 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14803 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14804 $as_echo_n "(cached) " >&6
14805 else
14806 ac_wine_try_cflags_saved=$CFLAGS
14807 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14809 /* end confdefs.h. */
14810 int main(int argc, char **argv) { return 0; }
14811 _ACEOF
14812 if ac_fn_c_try_link "$LINENO"; then :
14813 ac_cv_cflags__Wdeclaration_after_statement=yes
14814 else
14815 ac_cv_cflags__Wdeclaration_after_statement=no
14817 rm -f core conftest.err conftest.$ac_objext \
14818 conftest$ac_exeext conftest.$ac_ext
14819 CFLAGS=$ac_wine_try_cflags_saved
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14822 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14823 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14824 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14827 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14828 if ${ac_cv_cflags__Wempty_body+:} false; then :
14829 $as_echo_n "(cached) " >&6
14830 else
14831 ac_wine_try_cflags_saved=$CFLAGS
14832 CFLAGS="$CFLAGS -Wempty-body"
14833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14834 /* end confdefs.h. */
14835 int main(int argc, char **argv) { return 0; }
14836 _ACEOF
14837 if ac_fn_c_try_link "$LINENO"; then :
14838 ac_cv_cflags__Wempty_body=yes
14839 else
14840 ac_cv_cflags__Wempty_body=no
14842 rm -f core conftest.err conftest.$ac_objext \
14843 conftest$ac_exeext conftest.$ac_ext
14844 CFLAGS=$ac_wine_try_cflags_saved
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14847 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14848 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14849 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14852 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14853 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14854 $as_echo_n "(cached) " >&6
14855 else
14856 ac_wine_try_cflags_saved=$CFLAGS
14857 CFLAGS="$CFLAGS -Wignored-qualifiers"
14858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14860 int main(int argc, char **argv) { return 0; }
14861 _ACEOF
14862 if ac_fn_c_try_link "$LINENO"; then :
14863 ac_cv_cflags__Wignored_qualifiers=yes
14864 else
14865 ac_cv_cflags__Wignored_qualifiers=no
14867 rm -f core conftest.err conftest.$ac_objext \
14868 conftest$ac_exeext conftest.$ac_ext
14869 CFLAGS=$ac_wine_try_cflags_saved
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14872 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14873 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14874 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14877 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14878 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14879 $as_echo_n "(cached) " >&6
14880 else
14881 ac_wine_try_cflags_saved=$CFLAGS
14882 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14885 int main(int argc, char **argv) { return 0; }
14886 _ACEOF
14887 if ac_fn_c_try_link "$LINENO"; then :
14888 ac_cv_cflags__Wpacked_not_aligned=yes
14889 else
14890 ac_cv_cflags__Wpacked_not_aligned=no
14892 rm -f core conftest.err conftest.$ac_objext \
14893 conftest$ac_exeext conftest.$ac_ext
14894 CFLAGS=$ac_wine_try_cflags_saved
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14897 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14898 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14899 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14902 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14903 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14904 $as_echo_n "(cached) " >&6
14905 else
14906 ac_wine_try_cflags_saved=$CFLAGS
14907 CFLAGS="$CFLAGS -Wpragma-pack"
14908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14910 int main(int argc, char **argv) { return 0; }
14911 _ACEOF
14912 if ac_fn_c_try_link "$LINENO"; then :
14913 ac_cv_cflags__Wpragma_pack=yes
14914 else
14915 ac_cv_cflags__Wpragma_pack=no
14917 rm -f core conftest.err conftest.$ac_objext \
14918 conftest$ac_exeext conftest.$ac_ext
14919 CFLAGS=$ac_wine_try_cflags_saved
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14922 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14923 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14924 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14927 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14928 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14929 $as_echo_n "(cached) " >&6
14930 else
14931 ac_wine_try_cflags_saved=$CFLAGS
14932 CFLAGS="$CFLAGS -Wshift-overflow=2"
14933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14934 /* end confdefs.h. */
14935 int main(int argc, char **argv) { return 0; }
14936 _ACEOF
14937 if ac_fn_c_try_link "$LINENO"; then :
14938 ac_cv_cflags__Wshift_overflow_2=yes
14939 else
14940 ac_cv_cflags__Wshift_overflow_2=no
14942 rm -f core conftest.err conftest.$ac_objext \
14943 conftest$ac_exeext conftest.$ac_ext
14944 CFLAGS=$ac_wine_try_cflags_saved
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14947 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14948 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14949 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14952 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14953 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14954 $as_echo_n "(cached) " >&6
14955 else
14956 ac_wine_try_cflags_saved=$CFLAGS
14957 CFLAGS="$CFLAGS -Wstrict-prototypes"
14958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14959 /* end confdefs.h. */
14960 int main(int argc, char **argv) { return 0; }
14961 _ACEOF
14962 if ac_fn_c_try_link "$LINENO"; then :
14963 ac_cv_cflags__Wstrict_prototypes=yes
14964 else
14965 ac_cv_cflags__Wstrict_prototypes=no
14967 rm -f core conftest.err conftest.$ac_objext \
14968 conftest$ac_exeext conftest.$ac_ext
14969 CFLAGS=$ac_wine_try_cflags_saved
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14972 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14973 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14974 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14977 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14978 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14979 $as_echo_n "(cached) " >&6
14980 else
14981 ac_wine_try_cflags_saved=$CFLAGS
14982 CFLAGS="$CFLAGS -Wtype-limits"
14983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14984 /* end confdefs.h. */
14985 int main(int argc, char **argv) { return 0; }
14986 _ACEOF
14987 if ac_fn_c_try_link "$LINENO"; then :
14988 ac_cv_cflags__Wtype_limits=yes
14989 else
14990 ac_cv_cflags__Wtype_limits=no
14992 rm -f core conftest.err conftest.$ac_objext \
14993 conftest$ac_exeext conftest.$ac_ext
14994 CFLAGS=$ac_wine_try_cflags_saved
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14997 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14998 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14999 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15002 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15003 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15004 $as_echo_n "(cached) " >&6
15005 else
15006 ac_wine_try_cflags_saved=$CFLAGS
15007 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15010 int main(int argc, char **argv) { return 0; }
15011 _ACEOF
15012 if ac_fn_c_try_link "$LINENO"; then :
15013 ac_cv_cflags__Wunused_but_set_parameter=yes
15014 else
15015 ac_cv_cflags__Wunused_but_set_parameter=no
15017 rm -f core conftest.err conftest.$ac_objext \
15018 conftest$ac_exeext conftest.$ac_ext
15019 CFLAGS=$ac_wine_try_cflags_saved
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15022 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15023 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15024 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15027 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15028 if ${ac_cv_cflags__Wvla+:} false; then :
15029 $as_echo_n "(cached) " >&6
15030 else
15031 ac_wine_try_cflags_saved=$CFLAGS
15032 CFLAGS="$CFLAGS -Wvla"
15033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15034 /* end confdefs.h. */
15035 int main(int argc, char **argv) { return 0; }
15036 _ACEOF
15037 if ac_fn_c_try_link "$LINENO"; then :
15038 ac_cv_cflags__Wvla=yes
15039 else
15040 ac_cv_cflags__Wvla=no
15042 rm -f core conftest.err conftest.$ac_objext \
15043 conftest$ac_exeext conftest.$ac_ext
15044 CFLAGS=$ac_wine_try_cflags_saved
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15047 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15048 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15049 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15052 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15053 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15054 $as_echo_n "(cached) " >&6
15055 else
15056 ac_wine_try_cflags_saved=$CFLAGS
15057 CFLAGS="$CFLAGS -Wwrite-strings"
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15060 int main(int argc, char **argv) { return 0; }
15061 _ACEOF
15062 if ac_fn_c_try_link "$LINENO"; then :
15063 ac_cv_cflags__Wwrite_strings=yes
15064 else
15065 ac_cv_cflags__Wwrite_strings=no
15067 rm -f core conftest.err conftest.$ac_objext \
15068 conftest$ac_exeext conftest.$ac_ext
15069 CFLAGS=$ac_wine_try_cflags_saved
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15072 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15073 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15074 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15078 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15079 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15080 $as_echo_n "(cached) " >&6
15081 else
15082 ac_wine_try_cflags_saved=$CFLAGS
15083 CFLAGS="$CFLAGS -Wpointer-arith"
15084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h. */
15086 int main(int argc, char **argv) { return 0; }
15087 _ACEOF
15088 if ac_fn_c_try_link "$LINENO"; then :
15089 ac_cv_cflags__Wpointer_arith=yes
15090 else
15091 ac_cv_cflags__Wpointer_arith=no
15093 rm -f core conftest.err conftest.$ac_objext \
15094 conftest$ac_exeext conftest.$ac_ext
15095 CFLAGS=$ac_wine_try_cflags_saved
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15098 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15099 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15100 saved_string_h_CFLAGS=$CFLAGS
15101 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15103 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15104 if ${ac_cv_c_string_h_warnings+:} false; then :
15105 $as_echo_n "(cached) " >&6
15106 else
15107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15109 #include <string.h>
15111 main ()
15115 return 0;
15117 _ACEOF
15118 if ac_fn_c_try_compile "$LINENO"; then :
15119 ac_cv_c_string_h_warnings=no
15120 else
15121 ac_cv_c_string_h_warnings=yes
15123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15126 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15127 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15128 CFLAGS=$saved_string_h_CFLAGS
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15132 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15133 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15134 $as_echo_n "(cached) " >&6
15135 else
15136 ac_wine_try_cflags_saved=$CFLAGS
15137 CFLAGS="$CFLAGS -Wlogical-op"
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15140 int main(int argc, char **argv) { return 0; }
15141 _ACEOF
15142 if ac_fn_c_try_link "$LINENO"; then :
15143 ac_cv_cflags__Wlogical_op=yes
15144 else
15145 ac_cv_cflags__Wlogical_op=no
15147 rm -f core conftest.err conftest.$ac_objext \
15148 conftest$ac_exeext conftest.$ac_ext
15149 CFLAGS=$ac_wine_try_cflags_saved
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15152 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15153 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15154 saved_string_h_CFLAGS=$CFLAGS
15155 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15157 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15158 if ${ac_cv_c_logicalop_noisy+:} false; then :
15159 $as_echo_n "(cached) " >&6
15160 else
15161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15162 /* end confdefs.h. */
15163 #include <string.h>
15164 char*f(const char *h,char n) {return strchr(h,n);}
15166 main ()
15170 return 0;
15172 _ACEOF
15173 if ac_fn_c_try_compile "$LINENO"; then :
15174 ac_cv_c_logicalop_noisy=no
15175 else
15176 ac_cv_c_logicalop_noisy=yes
15178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15181 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15182 CFLAGS=$saved_string_h_CFLAGS
15183 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15186 CFLAGS=$saved_CFLAGS
15188 for ac_flag in $CFLAGS; do
15189 case $ac_flag in
15190 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15191 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15192 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15193 $as_echo_n "(cached) " >&6
15194 else
15195 ac_wine_try_cflags_saved=$CFLAGS
15196 CFLAGS="$CFLAGS -gdwarf-2"
15197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198 /* end confdefs.h. */
15199 int main(int argc, char **argv) { return 0; }
15200 _ACEOF
15201 if ac_fn_c_try_link "$LINENO"; then :
15202 ac_cv_cflags__gdwarf_2=yes
15203 else
15204 ac_cv_cflags__gdwarf_2=no
15206 rm -f core conftest.err conftest.$ac_objext \
15207 conftest$ac_exeext conftest.$ac_ext
15208 CFLAGS=$ac_wine_try_cflags_saved
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15211 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15212 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15213 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15216 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15217 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15218 $as_echo_n "(cached) " >&6
15219 else
15220 ac_wine_try_cflags_saved=$CFLAGS
15221 CFLAGS="$CFLAGS -gstrict-dwarf"
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15224 int main(int argc, char **argv) { return 0; }
15225 _ACEOF
15226 if ac_fn_c_try_link "$LINENO"; then :
15227 ac_cv_cflags__gstrict_dwarf=yes
15228 else
15229 ac_cv_cflags__gstrict_dwarf=no
15231 rm -f core conftest.err conftest.$ac_objext \
15232 conftest$ac_exeext conftest.$ac_ext
15233 CFLAGS=$ac_wine_try_cflags_saved
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15236 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15237 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15238 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15239 fi ;;
15240 esac
15241 done
15243 case $host_cpu in
15244 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15245 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15246 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15247 $as_echo_n "(cached) " >&6
15248 else
15249 ac_wine_try_cflags_saved=$CFLAGS
15250 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15252 /* end confdefs.h. */
15253 int main(int argc, char **argv) { return 0; }
15254 _ACEOF
15255 if ac_fn_c_try_link "$LINENO"; then :
15256 ac_cv_cflags__fno_omit_frame_pointer=yes
15257 else
15258 ac_cv_cflags__fno_omit_frame_pointer=no
15260 rm -f core conftest.err conftest.$ac_objext \
15261 conftest$ac_exeext conftest.$ac_ext
15262 CFLAGS=$ac_wine_try_cflags_saved
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15265 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15266 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15267 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15268 fi ;;
15269 esac
15271 case $host in
15272 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15273 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15274 if ${ac_cv_cflags__Wno_format+:} false; then :
15275 $as_echo_n "(cached) " >&6
15276 else
15277 ac_wine_try_cflags_saved=$CFLAGS
15278 CFLAGS="$CFLAGS -Wno-format"
15279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15280 /* end confdefs.h. */
15281 int main(int argc, char **argv) { return 0; }
15282 _ACEOF
15283 if ac_fn_c_try_link "$LINENO"; then :
15284 ac_cv_cflags__Wno_format=yes
15285 else
15286 ac_cv_cflags__Wno_format=no
15288 rm -f core conftest.err conftest.$ac_objext \
15289 conftest$ac_exeext conftest.$ac_ext
15290 CFLAGS=$ac_wine_try_cflags_saved
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15293 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15294 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15295 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15296 fi ;;
15297 esac
15299 if test "x$enable_maintainer_mode" = "xyes"
15300 then
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15302 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15303 if ${ac_cv_cflags__Werror+:} false; then :
15304 $as_echo_n "(cached) " >&6
15305 else
15306 ac_wine_try_cflags_saved=$CFLAGS
15307 CFLAGS="$CFLAGS -Werror"
15308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15309 /* end confdefs.h. */
15310 int main(int argc, char **argv) { return 0; }
15311 _ACEOF
15312 if ac_fn_c_try_link "$LINENO"; then :
15313 ac_cv_cflags__Werror=yes
15314 else
15315 ac_cv_cflags__Werror=no
15317 rm -f core conftest.err conftest.$ac_objext \
15318 conftest$ac_exeext conftest.$ac_ext
15319 CFLAGS=$ac_wine_try_cflags_saved
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15322 $as_echo "$ac_cv_cflags__Werror" >&6; }
15323 if test "x$ac_cv_cflags__Werror" = xyes; then :
15324 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15328 saved_CFLAGS="$CFLAGS"
15329 CFLAGS="$CFLAGS -Werror"
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15331 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15332 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15333 $as_echo_n "(cached) " >&6
15334 else
15335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15337 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15339 main ()
15343 return 0;
15345 _ACEOF
15346 if ac_fn_c_try_compile "$LINENO"; then :
15347 ac_cv_have_ms_hook_prologue="yes"
15348 else
15349 ac_cv_have_ms_hook_prologue="no"
15351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15354 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15355 CFLAGS="$saved_CFLAGS"
15356 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15357 then
15359 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15361 else
15362 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15369 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15370 if ${ac_cv_c_fortify_enabled+:} false; then :
15371 $as_echo_n "(cached) " >&6
15372 else
15373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15374 /* end confdefs.h. */
15375 #include <string.h>
15377 main ()
15379 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15380 #error Fortify enabled
15381 #endif
15383 return 0;
15385 _ACEOF
15386 if ac_fn_c_try_compile "$LINENO"; then :
15387 ac_cv_c_fortify_enabled=no
15388 else
15389 ac_cv_c_fortify_enabled=yes
15391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15394 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15395 if test "$ac_cv_c_fortify_enabled" = yes
15396 then
15397 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15402 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15403 if ${ac_cv_c_extern_prefix+:} false; then :
15404 $as_echo_n "(cached) " >&6
15405 else
15406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15407 /* end confdefs.h. */
15408 extern int ac_test;
15410 main ()
15412 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15414 return 0;
15416 _ACEOF
15417 if ac_fn_c_try_link "$LINENO"; then :
15418 ac_cv_c_extern_prefix="yes"
15419 else
15420 ac_cv_c_extern_prefix="no"
15422 rm -f core conftest.err conftest.$ac_objext \
15423 conftest$ac_exeext conftest.$ac_ext
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15426 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15428 case $host_cpu in
15429 *i[3456789]86*)
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15431 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15432 if ${ac_cv_c_stdcall_suffix+:} false; then :
15433 $as_echo_n "(cached) " >&6
15434 else
15435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15436 /* end confdefs.h. */
15437 #ifndef _MSC_VER
15438 #define __stdcall __attribute__((__stdcall__))
15439 #endif
15440 int __stdcall ac_test(int i) { return i; }
15442 main ()
15444 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15446 return 0;
15448 _ACEOF
15449 if ac_fn_c_try_link "$LINENO"; then :
15450 ac_cv_c_stdcall_suffix="yes"
15451 else
15452 ac_cv_c_stdcall_suffix="no"
15454 rm -f core conftest.err conftest.$ac_objext \
15455 conftest$ac_exeext conftest.$ac_ext
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15458 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15459 *) ac_cv_c_stdcall_suffix="no" ;;
15460 esac
15463 if test "$ac_cv_c_extern_prefix" = "yes"
15464 then
15465 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15467 asm_name_prefix="_"
15468 else
15469 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15471 asm_name_prefix=""
15475 if test "$ac_cv_c_stdcall_suffix" = "yes"
15476 then
15477 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15479 else
15480 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15486 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15487 if ${ac_cv_asm_func_def+:} false; then :
15488 $as_echo_n "(cached) " >&6
15489 else
15490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15491 /* end confdefs.h. */
15494 main ()
15496 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15498 return 0;
15500 _ACEOF
15501 if ac_fn_c_try_link "$LINENO"; then :
15502 ac_cv_asm_func_def=".def"
15503 else
15504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15505 /* end confdefs.h. */
15508 main ()
15510 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15512 return 0;
15514 _ACEOF
15515 if ac_fn_c_try_link "$LINENO"; then :
15516 ac_cv_asm_func_def=".type @function"
15517 else
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15522 main ()
15524 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15526 return 0;
15528 _ACEOF
15529 if ac_fn_c_try_link "$LINENO"; then :
15530 ac_cv_asm_func_def=".type 2"
15531 else
15532 ac_cv_asm_func_def="unknown"
15534 rm -f core conftest.err conftest.$ac_objext \
15535 conftest$ac_exeext conftest.$ac_ext
15537 rm -f core conftest.err conftest.$ac_objext \
15538 conftest$ac_exeext conftest.$ac_ext
15540 rm -f core conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext conftest.$ac_ext
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15544 $as_echo "$ac_cv_asm_func_def" >&6; }
15547 case "$ac_cv_asm_func_def" in
15548 ".def")
15549 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15551 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15552 ".type @function")
15553 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15555 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15556 ".type 2")
15557 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15559 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15561 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15563 asm_func_header="" ;;
15564 esac
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15567 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15568 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15569 $as_echo_n "(cached) " >&6
15570 else
15571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15572 /* end confdefs.h. */
15573 asm(".text\n\t.long 0");
15575 main ()
15579 return 0;
15581 _ACEOF
15582 if ac_fn_c_try_compile "$LINENO"; then :
15583 ac_cv_c_asm_outside_funcs="yes"
15584 else
15585 ac_cv_c_asm_outside_funcs="no"
15587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15590 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15593 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15594 if ${ac_cv_c_dot_previous+:} false; then :
15595 $as_echo_n "(cached) " >&6
15596 else
15597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15598 /* end confdefs.h. */
15601 main ()
15603 asm(".text\nac_test:\t.long 0\n\t.previous");
15605 return 0;
15607 _ACEOF
15608 if ac_fn_c_try_link "$LINENO"; then :
15609 ac_cv_c_dot_previous="yes"
15610 else
15611 ac_cv_c_dot_previous="no"
15613 rm -f core conftest.err conftest.$ac_objext \
15614 conftest$ac_exeext conftest.$ac_ext
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15617 $as_echo "$ac_cv_c_dot_previous" >&6; }
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15620 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15621 if ${ac_cv_c_cfi_support+:} false; then :
15622 $as_echo_n "(cached) " >&6
15623 else
15624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15625 /* end confdefs.h. */
15626 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15628 main ()
15632 return 0;
15634 _ACEOF
15635 if ac_fn_c_try_compile "$LINENO"; then :
15636 ac_cv_c_cfi_support="yes"
15637 else
15638 ac_cv_c_cfi_support="no"
15640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15643 $as_echo "$ac_cv_c_cfi_support" >&6; }
15645 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15646 asm_func_trailer=""
15647 if test "$ac_cv_c_dot_previous" = "yes"
15648 then
15649 asm_func_trailer="\\n\\t.previous"
15651 if test "$ac_cv_c_cfi_support" = "yes"
15652 then
15653 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15654 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15656 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15658 UNWINDFLAGS=-fasynchronous-unwind-tables
15660 else
15661 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15663 if test "x$enable_win64" = "xyes"
15664 then
15665 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15669 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15672 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15673 then
15674 cat >>confdefs.h <<_ACEOF
15675 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15676 _ACEOF
15678 else
15679 cat >>confdefs.h <<_ACEOF
15680 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15681 _ACEOF
15685 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15688 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15692 case $build_os in
15693 cygwin*|mingw32*) TOOLSEXT=".exe"
15695 esac
15697 case $host_os in
15698 linux*)
15699 case $host_cpu in
15700 *i[3456789]86*|x86_64*|*aarch64*)
15701 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15702 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15704 esac
15706 esac
15709 ac_save_CFLAGS="$CFLAGS"
15710 CFLAGS="$CFLAGS $BUILTINFLAG"
15711 for ac_func in \
15712 __res_get_state \
15713 __res_getservers \
15714 _finite \
15715 _isnan \
15716 _pclose \
15717 _popen \
15718 _snprintf \
15719 _spawnvp \
15720 _strdup \
15721 _stricmp \
15722 _strnicmp \
15723 _strtoi64 \
15724 _strtoui64 \
15725 _vsnprintf \
15726 asctime_r \
15727 chsize \
15728 dlopen \
15729 epoll_create \
15730 ffs \
15731 finitef \
15732 fnmatch \
15733 fork \
15734 fpclass \
15735 fstatfs \
15736 fstatvfs \
15737 ftruncate \
15738 futimens \
15739 futimes \
15740 futimesat \
15741 getattrlist \
15742 getauxval \
15743 getifaddrs \
15744 getopt_long_only \
15745 getpwuid \
15746 gettimeofday \
15747 getuid \
15748 isnanf \
15749 kqueue \
15750 lstat \
15751 memmove \
15752 mmap \
15753 pclose \
15754 pipe2 \
15755 poll \
15756 popen \
15757 port_create \
15758 prctl \
15759 pread \
15760 proc_pidinfo \
15761 pwrite \
15762 readdir \
15763 readlink \
15764 sched_yield \
15765 select \
15766 setproctitle \
15767 setprogname \
15768 setrlimit \
15769 settimeofday \
15770 sigaltstack \
15771 sigprocmask \
15772 snprintf \
15773 statfs \
15774 statvfs \
15775 strcasecmp \
15776 strdup \
15777 strerror \
15778 strncasecmp \
15779 strnlen \
15780 strtold \
15781 strtoll \
15782 strtoull \
15783 symlink \
15784 sysinfo \
15785 tcdrain \
15786 thr_kill2 \
15787 timegm \
15788 usleep \
15789 vsnprintf
15791 do :
15792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15794 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15795 cat >>confdefs.h <<_ACEOF
15796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15797 _ACEOF
15800 done
15802 CFLAGS="$ac_save_CFLAGS"
15804 if test "$ac_cv_func_dlopen" = no
15805 then
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15807 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15808 if ${ac_cv_lib_dl_dlopen+:} false; then :
15809 $as_echo_n "(cached) " >&6
15810 else
15811 ac_check_lib_save_LIBS=$LIBS
15812 LIBS="-ldl $LIBS"
15813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15814 /* end confdefs.h. */
15816 /* Override any GCC internal prototype to avoid an error.
15817 Use char because int might match the return type of a GCC
15818 builtin and then its argument prototype would still apply. */
15819 #ifdef __cplusplus
15820 extern "C"
15821 #endif
15822 char dlopen ();
15824 main ()
15826 return dlopen ();
15828 return 0;
15830 _ACEOF
15831 if ac_fn_c_try_link "$LINENO"; then :
15832 ac_cv_lib_dl_dlopen=yes
15833 else
15834 ac_cv_lib_dl_dlopen=no
15836 rm -f core conftest.err conftest.$ac_objext \
15837 conftest$ac_exeext conftest.$ac_ext
15838 LIBS=$ac_check_lib_save_LIBS
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15841 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15842 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15843 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15844 DL_LIBS="-ldl"
15849 ac_wine_check_funcs_save_LIBS="$LIBS"
15850 LIBS="$LIBS $DL_LIBS"
15851 for ac_func in dladdr
15852 do :
15853 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15854 if test "x$ac_cv_func_dladdr" = xyes; then :
15855 cat >>confdefs.h <<_ACEOF
15856 #define HAVE_DLADDR 1
15857 _ACEOF
15860 done
15862 LIBS="$ac_wine_check_funcs_save_LIBS"
15864 if test "$ac_cv_func_poll" = no
15865 then
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15867 $as_echo_n "checking for poll in -lpoll... " >&6; }
15868 if ${ac_cv_lib_poll_poll+:} false; then :
15869 $as_echo_n "(cached) " >&6
15870 else
15871 ac_check_lib_save_LIBS=$LIBS
15872 LIBS="-lpoll $LIBS"
15873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15874 /* end confdefs.h. */
15876 /* Override any GCC internal prototype to avoid an error.
15877 Use char because int might match the return type of a GCC
15878 builtin and then its argument prototype would still apply. */
15879 #ifdef __cplusplus
15880 extern "C"
15881 #endif
15882 char poll ();
15884 main ()
15886 return poll ();
15888 return 0;
15890 _ACEOF
15891 if ac_fn_c_try_link "$LINENO"; then :
15892 ac_cv_lib_poll_poll=yes
15893 else
15894 ac_cv_lib_poll_poll=no
15896 rm -f core conftest.err conftest.$ac_objext \
15897 conftest$ac_exeext conftest.$ac_ext
15898 LIBS=$ac_check_lib_save_LIBS
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15901 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15902 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15903 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15904 POLL_LIBS="-lpoll"
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15911 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15912 if ${ac_cv_search_gethostbyname+:} false; then :
15913 $as_echo_n "(cached) " >&6
15914 else
15915 ac_func_search_save_LIBS=$LIBS
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15919 /* Override any GCC internal prototype to avoid an error.
15920 Use char because int might match the return type of a GCC
15921 builtin and then its argument prototype would still apply. */
15922 #ifdef __cplusplus
15923 extern "C"
15924 #endif
15925 char gethostbyname ();
15927 main ()
15929 return gethostbyname ();
15931 return 0;
15933 _ACEOF
15934 for ac_lib in '' nsl; do
15935 if test -z "$ac_lib"; then
15936 ac_res="none required"
15937 else
15938 ac_res=-l$ac_lib
15939 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15941 if ac_fn_c_try_link "$LINENO"; then :
15942 ac_cv_search_gethostbyname=$ac_res
15944 rm -f core conftest.err conftest.$ac_objext \
15945 conftest$ac_exeext
15946 if ${ac_cv_search_gethostbyname+:} false; then :
15947 break
15949 done
15950 if ${ac_cv_search_gethostbyname+:} false; then :
15952 else
15953 ac_cv_search_gethostbyname=no
15955 rm conftest.$ac_ext
15956 LIBS=$ac_func_search_save_LIBS
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15959 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15960 ac_res=$ac_cv_search_gethostbyname
15961 if test "$ac_res" != no; then :
15962 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15968 $as_echo_n "checking for library containing connect... " >&6; }
15969 if ${ac_cv_search_connect+:} false; then :
15970 $as_echo_n "(cached) " >&6
15971 else
15972 ac_func_search_save_LIBS=$LIBS
15973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15974 /* end confdefs.h. */
15976 /* Override any GCC internal prototype to avoid an error.
15977 Use char because int might match the return type of a GCC
15978 builtin and then its argument prototype would still apply. */
15979 #ifdef __cplusplus
15980 extern "C"
15981 #endif
15982 char connect ();
15984 main ()
15986 return connect ();
15988 return 0;
15990 _ACEOF
15991 for ac_lib in '' socket; do
15992 if test -z "$ac_lib"; then
15993 ac_res="none required"
15994 else
15995 ac_res=-l$ac_lib
15996 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15998 if ac_fn_c_try_link "$LINENO"; then :
15999 ac_cv_search_connect=$ac_res
16001 rm -f core conftest.err conftest.$ac_objext \
16002 conftest$ac_exeext
16003 if ${ac_cv_search_connect+:} false; then :
16004 break
16006 done
16007 if ${ac_cv_search_connect+:} false; then :
16009 else
16010 ac_cv_search_connect=no
16012 rm conftest.$ac_ext
16013 LIBS=$ac_func_search_save_LIBS
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16016 $as_echo "$ac_cv_search_connect" >&6; }
16017 ac_res=$ac_cv_search_connect
16018 if test "$ac_res" != no; then :
16019 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16025 $as_echo_n "checking for library containing inet_aton... " >&6; }
16026 if ${ac_cv_search_inet_aton+:} false; then :
16027 $as_echo_n "(cached) " >&6
16028 else
16029 ac_func_search_save_LIBS=$LIBS
16030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16031 /* end confdefs.h. */
16033 /* Override any GCC internal prototype to avoid an error.
16034 Use char because int might match the return type of a GCC
16035 builtin and then its argument prototype would still apply. */
16036 #ifdef __cplusplus
16037 extern "C"
16038 #endif
16039 char inet_aton ();
16041 main ()
16043 return inet_aton ();
16045 return 0;
16047 _ACEOF
16048 for ac_lib in '' resolv; do
16049 if test -z "$ac_lib"; then
16050 ac_res="none required"
16051 else
16052 ac_res=-l$ac_lib
16053 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16055 if ac_fn_c_try_link "$LINENO"; then :
16056 ac_cv_search_inet_aton=$ac_res
16058 rm -f core conftest.err conftest.$ac_objext \
16059 conftest$ac_exeext
16060 if ${ac_cv_search_inet_aton+:} false; then :
16061 break
16063 done
16064 if ${ac_cv_search_inet_aton+:} false; then :
16066 else
16067 ac_cv_search_inet_aton=no
16069 rm conftest.$ac_ext
16070 LIBS=$ac_func_search_save_LIBS
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16073 $as_echo "$ac_cv_search_inet_aton" >&6; }
16074 ac_res=$ac_cv_search_inet_aton
16075 if test "$ac_res" != no; then :
16076 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16081 for ac_func in \
16082 getaddrinfo \
16083 getnameinfo \
16084 getnetbyname \
16085 getprotobyname \
16086 getprotobynumber \
16087 getservbyport \
16088 inet_addr \
16089 inet_network \
16090 inet_ntop \
16091 inet_pton \
16092 sendmsg \
16093 socketpair \
16095 do :
16096 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16097 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16098 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16099 cat >>confdefs.h <<_ACEOF
16100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16101 _ACEOF
16104 done
16107 ac_save_LIBS=$LIBS
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16109 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16110 if ${ac_cv_search_clock_gettime+:} false; then :
16111 $as_echo_n "(cached) " >&6
16112 else
16113 ac_func_search_save_LIBS=$LIBS
16114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16115 /* end confdefs.h. */
16117 /* Override any GCC internal prototype to avoid an error.
16118 Use char because int might match the return type of a GCC
16119 builtin and then its argument prototype would still apply. */
16120 #ifdef __cplusplus
16121 extern "C"
16122 #endif
16123 char clock_gettime ();
16125 main ()
16127 return clock_gettime ();
16129 return 0;
16131 _ACEOF
16132 for ac_lib in '' rt; do
16133 if test -z "$ac_lib"; then
16134 ac_res="none required"
16135 else
16136 ac_res=-l$ac_lib
16137 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16139 if ac_fn_c_try_link "$LINENO"; then :
16140 ac_cv_search_clock_gettime=$ac_res
16142 rm -f core conftest.err conftest.$ac_objext \
16143 conftest$ac_exeext
16144 if ${ac_cv_search_clock_gettime+:} false; then :
16145 break
16147 done
16148 if ${ac_cv_search_clock_gettime+:} false; then :
16150 else
16151 ac_cv_search_clock_gettime=no
16153 rm conftest.$ac_ext
16154 LIBS=$ac_func_search_save_LIBS
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16157 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16158 ac_res=$ac_cv_search_clock_gettime
16159 if test "$ac_res" != no; then :
16160 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16162 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16164 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16168 LIBS=$ac_save_LIBS
16170 if test "x$with_ldap" != "xno"
16171 then
16172 if ${LDAP_CFLAGS:+false} :; then :
16173 if ${PKG_CONFIG+:} false; then :
16174 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16178 if ${LDAP_LIBS:+false} :; then :
16179 if ${PKG_CONFIG+:} false; then :
16180 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16184 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16185 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16186 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16187 ac_save_CPPFLAGS=$CPPFLAGS
16188 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16189 for ac_header in ldap.h lber.h
16190 do :
16191 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16192 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16193 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16194 cat >>confdefs.h <<_ACEOF
16195 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16196 _ACEOF
16200 done
16202 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16203 then
16204 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16206 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16208 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16209 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16210 $as_echo_n "(cached) " >&6
16211 else
16212 ac_check_lib_save_LIBS=$LIBS
16213 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16215 /* end confdefs.h. */
16217 /* Override any GCC internal prototype to avoid an error.
16218 Use char because int might match the return type of a GCC
16219 builtin and then its argument prototype would still apply. */
16220 #ifdef __cplusplus
16221 extern "C"
16222 #endif
16223 char ldap_initialize ();
16225 main ()
16227 return ldap_initialize ();
16229 return 0;
16231 _ACEOF
16232 if ac_fn_c_try_link "$LINENO"; then :
16233 ac_cv_lib_ldap_r_ldap_initialize=yes
16234 else
16235 ac_cv_lib_ldap_r_ldap_initialize=no
16237 rm -f core conftest.err conftest.$ac_objext \
16238 conftest$ac_exeext conftest.$ac_ext
16239 LIBS=$ac_check_lib_save_LIBS
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16242 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16243 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16245 $as_echo_n "checking for ber_init in -llber... " >&6; }
16246 if ${ac_cv_lib_lber_ber_init+:} false; then :
16247 $as_echo_n "(cached) " >&6
16248 else
16249 ac_check_lib_save_LIBS=$LIBS
16250 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16252 /* end confdefs.h. */
16254 /* Override any GCC internal prototype to avoid an error.
16255 Use char because int might match the return type of a GCC
16256 builtin and then its argument prototype would still apply. */
16257 #ifdef __cplusplus
16258 extern "C"
16259 #endif
16260 char ber_init ();
16262 main ()
16264 return ber_init ();
16266 return 0;
16268 _ACEOF
16269 if ac_fn_c_try_link "$LINENO"; then :
16270 ac_cv_lib_lber_ber_init=yes
16271 else
16272 ac_cv_lib_lber_ber_init=no
16274 rm -f core conftest.err conftest.$ac_objext \
16275 conftest$ac_exeext conftest.$ac_ext
16276 LIBS=$ac_check_lib_save_LIBS
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16279 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16280 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16282 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16284 else
16285 LDAP_LIBS=""
16288 else
16289 LDAP_LIBS=""
16292 else
16293 LDAP_LIBS=""
16296 ac_wine_check_funcs_save_LIBS="$LIBS"
16297 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16298 for ac_func in \
16299 ldap_count_references \
16300 ldap_first_reference \
16301 ldap_next_reference \
16302 ldap_parse_reference \
16303 ldap_parse_sort_control \
16304 ldap_parse_sortresponse_control \
16305 ldap_parse_vlv_control \
16306 ldap_parse_vlvresponse_control
16307 do :
16308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16310 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16311 cat >>confdefs.h <<_ACEOF
16312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16313 _ACEOF
16316 done
16318 LIBS="$ac_wine_check_funcs_save_LIBS"
16319 else
16320 LDAP_LIBS=""
16322 CPPFLAGS=$ac_save_CPPFLAGS
16323 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16324 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16327 if test "x$LDAP_LIBS" = "x"; then :
16328 case "x$with_ldap" in
16329 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16330 xno) ;;
16331 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16332 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16333 esac
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16338 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16339 if ${wine_cv_one_arg_mkdir+:} false; then :
16340 $as_echo_n "(cached) " >&6
16341 else
16342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16343 /* end confdefs.h. */
16344 #include <sys/stat.h>
16346 main ()
16348 mkdir("foo");
16350 return 0;
16352 _ACEOF
16353 if ac_fn_c_try_compile "$LINENO"; then :
16354 wine_cv_one_arg_mkdir=yes
16355 else
16356 wine_cv_one_arg_mkdir=no
16358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16361 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16362 if test "$wine_cv_one_arg_mkdir" = "yes"
16363 then
16365 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16370 $as_echo_n "checking for sched_setaffinity... " >&6; }
16371 if ${wine_cv_have_sched_setaffinity+:} false; then :
16372 $as_echo_n "(cached) " >&6
16373 else
16374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16375 /* end confdefs.h. */
16376 #define _GNU_SOURCE
16377 #include <sched.h>
16379 main ()
16381 sched_setaffinity(0, 0, 0);
16383 return 0;
16385 _ACEOF
16386 if ac_fn_c_try_link "$LINENO"; then :
16387 wine_cv_have_sched_setaffinity=yes
16388 else
16389 wine_cv_have_sched_setaffinity=no
16391 rm -f core conftest.err conftest.$ac_objext \
16392 conftest$ac_exeext conftest.$ac_ext
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16395 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16396 if test "$wine_cv_have_sched_setaffinity" = "yes"
16397 then
16399 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16404 $as_echo_n "checking for fallocate... " >&6; }
16405 if ${wine_cv_have_fallocate+:} false; then :
16406 $as_echo_n "(cached) " >&6
16407 else
16408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16409 /* end confdefs.h. */
16410 #define _GNU_SOURCE
16411 #include <fcntl.h>
16413 main ()
16415 fallocate(-1, 0, 0, 0);
16417 return 0;
16419 _ACEOF
16420 if ac_fn_c_try_link "$LINENO"; then :
16421 wine_cv_have_fallocate=yes
16422 else
16423 wine_cv_have_fallocate=no
16425 rm -f core conftest.err conftest.$ac_objext \
16426 conftest$ac_exeext conftest.$ac_ext
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16429 $as_echo "$wine_cv_have_fallocate" >&6; }
16430 if test "$wine_cv_have_fallocate" = "yes"
16431 then
16433 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16439 $as_echo_n "checking for inline... " >&6; }
16440 if ${ac_cv_c_inline+:} false; then :
16441 $as_echo_n "(cached) " >&6
16442 else
16443 ac_cv_c_inline=no
16444 for ac_kw in inline __inline__ __inline; do
16445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16446 /* end confdefs.h. */
16447 #ifndef __cplusplus
16448 typedef int foo_t;
16449 static $ac_kw foo_t static_foo () {return 0; }
16450 $ac_kw foo_t foo () {return 0; }
16451 #endif
16453 _ACEOF
16454 if ac_fn_c_try_compile "$LINENO"; then :
16455 ac_cv_c_inline=$ac_kw
16457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16458 test "$ac_cv_c_inline" != no && break
16459 done
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16463 $as_echo "$ac_cv_c_inline" >&6; }
16465 case $ac_cv_c_inline in
16466 inline | yes) ;;
16468 case $ac_cv_c_inline in
16469 no) ac_val=;;
16470 *) ac_val=$ac_cv_c_inline;;
16471 esac
16472 cat >>confdefs.h <<_ACEOF
16473 #ifndef __cplusplus
16474 #define inline $ac_val
16475 #endif
16476 _ACEOF
16478 esac
16480 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16481 if test "x$ac_cv_type_mode_t" = xyes; then :
16483 cat >>confdefs.h <<_ACEOF
16484 #define HAVE_MODE_T 1
16485 _ACEOF
16489 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16490 if test "x$ac_cv_type_off_t" = xyes; then :
16492 cat >>confdefs.h <<_ACEOF
16493 #define HAVE_OFF_T 1
16494 _ACEOF
16498 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16499 if test "x$ac_cv_type_pid_t" = xyes; then :
16501 cat >>confdefs.h <<_ACEOF
16502 #define HAVE_PID_T 1
16503 _ACEOF
16507 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16508 if test "x$ac_cv_type_size_t" = xyes; then :
16510 cat >>confdefs.h <<_ACEOF
16511 #define HAVE_SIZE_T 1
16512 _ACEOF
16516 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16517 if test "x$ac_cv_type_ssize_t" = xyes; then :
16519 cat >>confdefs.h <<_ACEOF
16520 #define HAVE_SSIZE_T 1
16521 _ACEOF
16525 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16526 if test "x$ac_cv_type_long_long" = xyes; then :
16528 cat >>confdefs.h <<_ACEOF
16529 #define HAVE_LONG_LONG 1
16530 _ACEOF
16534 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16535 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16537 cat >>confdefs.h <<_ACEOF
16538 #define HAVE_FSBLKCNT_T 1
16539 _ACEOF
16543 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16544 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16546 cat >>confdefs.h <<_ACEOF
16547 #define HAVE_FSFILCNT_T 1
16548 _ACEOF
16553 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16554 #include <signal.h>
16556 if test "x$ac_cv_type_sigset_t" = xyes; then :
16558 cat >>confdefs.h <<_ACEOF
16559 #define HAVE_SIGSET_T 1
16560 _ACEOF
16565 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16567 if test "x$ac_cv_type_request_sense" = xyes; then :
16569 cat >>confdefs.h <<_ACEOF
16570 #define HAVE_REQUEST_SENSE 1
16571 _ACEOF
16577 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16578 #ifdef HAVE_SYS_SOCKET_H
16579 #include <sys/socket.h>
16580 #endif
16581 #ifdef HAVE_SYS_SOCKETVAR_H
16582 #include <sys/socketvar.h>
16583 #endif
16584 #ifdef HAVE_NET_ROUTE_H
16585 #include <net/route.h>
16586 #endif
16587 #ifdef HAVE_NETINET_IN_H
16588 #include <netinet/in.h>
16589 #endif
16590 #ifdef HAVE_NETINET_IN_SYSTM_H
16591 #include <netinet/in_systm.h>
16592 #endif
16593 #ifdef HAVE_NETINET_IP_H
16594 #include <netinet/ip.h>
16595 #endif
16596 #ifdef HAVE_NETINET_IN_PCB_H
16597 #include <netinet/in_pcb.h>
16598 #endif
16600 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16602 cat >>confdefs.h <<_ACEOF
16603 #define HAVE_STRUCT_XINPGEN 1
16604 _ACEOF
16610 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16611 #include <link.h>
16612 #endif
16613 #ifdef HAVE_SYS_LINK_H
16614 #include <sys/link.h>
16615 #endif
16617 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16619 cat >>confdefs.h <<_ACEOF
16620 #define HAVE_STRUCT_R_DEBUG 1
16621 _ACEOF
16625 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16626 #include <link.h>
16627 #endif
16628 #ifdef HAVE_SYS_LINK_H
16629 #include <sys/link.h>
16630 #endif
16632 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16634 cat >>confdefs.h <<_ACEOF
16635 #define HAVE_STRUCT_LINK_MAP 1
16636 _ACEOF
16642 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16643 #include <linux/input.h>
16644 #endif
16646 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16648 cat >>confdefs.h <<_ACEOF
16649 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16650 _ACEOF
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16657 $as_echo_n "checking for if_nameindex... " >&6; }
16658 if ${wine_cv_have_if_nameindex+:} false; then :
16659 $as_echo_n "(cached) " >&6
16660 else
16661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h. */
16663 #ifdef HAVE_SYS_TYPES_H
16664 #include <sys/types.h>
16665 #endif
16666 #ifdef HAVE_SYS_SOCKET_H
16667 #include <sys/socket.h>
16668 #endif
16669 #ifdef HAVE_NET_IF_H
16670 # include <net/if.h>
16671 #endif
16673 main ()
16675 struct if_nameindex *p = if_nameindex(); return p->if_index;
16677 return 0;
16679 _ACEOF
16680 if ac_fn_c_try_link "$LINENO"; then :
16681 wine_cv_have_if_nameindex=yes
16682 else
16683 wine_cv_have_if_nameindex=no
16685 rm -f core conftest.err conftest.$ac_objext \
16686 conftest$ac_exeext conftest.$ac_ext
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16689 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16690 if test "$wine_cv_have_if_nameindex" = "yes"
16691 then
16693 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16698 $as_echo_n "checking for sigaddset... " >&6; }
16699 if ${wine_cv_have_sigaddset+:} false; then :
16700 $as_echo_n "(cached) " >&6
16701 else
16702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16703 /* end confdefs.h. */
16704 #include <signal.h>
16706 main ()
16708 sigset_t set; sigaddset(&set,SIGTERM);
16710 return 0;
16712 _ACEOF
16713 if ac_fn_c_try_link "$LINENO"; then :
16714 wine_cv_have_sigaddset=yes
16715 else
16716 wine_cv_have_sigaddset=no
16718 rm -f core conftest.err conftest.$ac_objext \
16719 conftest$ac_exeext conftest.$ac_ext
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16722 $as_echo "$wine_cv_have_sigaddset" >&6; }
16723 if test "$wine_cv_have_sigaddset" = "yes"
16724 then
16726 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16732 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16733 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16734 $as_echo_n "(cached) " >&6
16735 else
16736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16737 /* end confdefs.h. */
16738 #include <netdb.h>
16740 main ()
16743 char *name=0;
16744 struct hostent he;
16745 struct hostent *result;
16746 char *buf=0;
16747 int bufsize=0;
16748 int errnr;
16749 char *addr=0;
16750 int addrlen=0;
16751 int addrtype=0;
16752 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16753 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16756 return 0;
16758 _ACEOF
16759 if ac_fn_c_try_link "$LINENO"; then :
16760 wine_cv_linux_gethostbyname_r_6=yes
16761 else
16762 wine_cv_linux_gethostbyname_r_6=no
16765 rm -f core conftest.err conftest.$ac_objext \
16766 conftest$ac_exeext conftest.$ac_ext
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16770 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16771 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16772 then
16774 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16778 if test "$ac_cv_header_linux_joystick_h" = "yes"
16779 then
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16781 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16782 if ${wine_cv_linux_joystick_22_api+:} false; then :
16783 $as_echo_n "(cached) " >&6
16784 else
16785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16786 /* end confdefs.h. */
16788 #include <sys/ioctl.h>
16789 #include <sys/types.h>
16790 #include <linux/joystick.h>
16792 struct js_event blub;
16793 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16794 #error "no 2.2 header"
16795 #endif
16798 main ()
16800 /*empty*/
16802 return 0;
16804 _ACEOF
16805 if ac_fn_c_try_compile "$LINENO"; then :
16806 wine_cv_linux_joystick_22_api=yes
16807 else
16808 wine_cv_linux_joystick_22_api=no
16810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16814 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16815 if test "$wine_cv_linux_joystick_22_api" = "yes"
16816 then
16818 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16824 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16825 #ifdef HAVE_SYS_PARAM_H
16826 # include <sys/param.h>
16827 #endif
16828 #ifdef HAVE_SYS_MOUNT_H
16829 # include <sys/mount.h>
16830 #endif
16831 #ifdef HAVE_SYS_VFS_H
16832 # include <sys/vfs.h>
16833 #endif
16834 #ifdef HAVE_SYS_STATFS_H
16835 # include <sys/statfs.h>
16836 #endif
16838 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16840 cat >>confdefs.h <<_ACEOF
16841 #define HAVE_STRUCT_STATFS_F_BFREE 1
16842 _ACEOF
16846 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16847 #ifdef HAVE_SYS_PARAM_H
16848 # include <sys/param.h>
16849 #endif
16850 #ifdef HAVE_SYS_MOUNT_H
16851 # include <sys/mount.h>
16852 #endif
16853 #ifdef HAVE_SYS_VFS_H
16854 # include <sys/vfs.h>
16855 #endif
16856 #ifdef HAVE_SYS_STATFS_H
16857 # include <sys/statfs.h>
16858 #endif
16860 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16862 cat >>confdefs.h <<_ACEOF
16863 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16864 _ACEOF
16868 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16869 #ifdef HAVE_SYS_PARAM_H
16870 # include <sys/param.h>
16871 #endif
16872 #ifdef HAVE_SYS_MOUNT_H
16873 # include <sys/mount.h>
16874 #endif
16875 #ifdef HAVE_SYS_VFS_H
16876 # include <sys/vfs.h>
16877 #endif
16878 #ifdef HAVE_SYS_STATFS_H
16879 # include <sys/statfs.h>
16880 #endif
16882 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16884 cat >>confdefs.h <<_ACEOF
16885 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16886 _ACEOF
16890 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16891 #ifdef HAVE_SYS_PARAM_H
16892 # include <sys/param.h>
16893 #endif
16894 #ifdef HAVE_SYS_MOUNT_H
16895 # include <sys/mount.h>
16896 #endif
16897 #ifdef HAVE_SYS_VFS_H
16898 # include <sys/vfs.h>
16899 #endif
16900 #ifdef HAVE_SYS_STATFS_H
16901 # include <sys/statfs.h>
16902 #endif
16904 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16906 cat >>confdefs.h <<_ACEOF
16907 #define HAVE_STRUCT_STATFS_F_FFREE 1
16908 _ACEOF
16912 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16913 #ifdef HAVE_SYS_PARAM_H
16914 # include <sys/param.h>
16915 #endif
16916 #ifdef HAVE_SYS_MOUNT_H
16917 # include <sys/mount.h>
16918 #endif
16919 #ifdef HAVE_SYS_VFS_H
16920 # include <sys/vfs.h>
16921 #endif
16922 #ifdef HAVE_SYS_STATFS_H
16923 # include <sys/statfs.h>
16924 #endif
16926 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16928 cat >>confdefs.h <<_ACEOF
16929 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16930 _ACEOF
16934 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16935 #ifdef HAVE_SYS_PARAM_H
16936 # include <sys/param.h>
16937 #endif
16938 #ifdef HAVE_SYS_MOUNT_H
16939 # include <sys/mount.h>
16940 #endif
16941 #ifdef HAVE_SYS_VFS_H
16942 # include <sys/vfs.h>
16943 #endif
16944 #ifdef HAVE_SYS_STATFS_H
16945 # include <sys/statfs.h>
16946 #endif
16948 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16950 cat >>confdefs.h <<_ACEOF
16951 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16952 _ACEOF
16958 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16959 #include <sys/statvfs.h>
16960 #endif
16962 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16964 cat >>confdefs.h <<_ACEOF
16965 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16966 _ACEOF
16972 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16973 #include <dirent.h>
16974 #endif
16976 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16978 cat >>confdefs.h <<_ACEOF
16979 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16980 _ACEOF
16986 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16987 #ifdef HAVE_SYS_SOCKET_H
16988 # include <sys/socket.h>
16989 #endif
16990 #ifdef HAVE_SYS_UN_H
16991 # include <sys/un.h>
16992 #endif
16994 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16996 cat >>confdefs.h <<_ACEOF
16997 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16998 _ACEOF
17002 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17003 #ifdef HAVE_SYS_SOCKET_H
17004 # include <sys/socket.h>
17005 #endif
17006 #ifdef HAVE_SYS_UN_H
17007 # include <sys/un.h>
17008 #endif
17010 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17012 cat >>confdefs.h <<_ACEOF
17013 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17014 _ACEOF
17018 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17019 #ifdef HAVE_SYS_SOCKET_H
17020 # include <sys/socket.h>
17021 #endif
17022 #ifdef HAVE_SYS_UN_H
17023 # include <sys/un.h>
17024 #endif
17026 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17028 cat >>confdefs.h <<_ACEOF
17029 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17030 _ACEOF
17036 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17037 #ifdef HAVE_SCSI_SG_H
17038 #include <scsi/sg.h>
17039 #endif
17041 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17043 cat >>confdefs.h <<_ACEOF
17044 #define HAVE_SCSIREQ_T_CMD 1
17045 _ACEOF
17049 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>
17050 #ifdef HAVE_SCSI_SG_H
17051 #include <scsi/sg.h>
17052 #endif
17054 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17056 cat >>confdefs.h <<_ACEOF
17057 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17058 _ACEOF
17064 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17066 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17068 cat >>confdefs.h <<_ACEOF
17069 #define HAVE_SIGINFO_T_SI_FD 1
17070 _ACEOF
17076 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17077 #ifdef HAVE_SYS_MTIO_H
17078 #include <sys/mtio.h>
17079 #endif
17081 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17083 cat >>confdefs.h <<_ACEOF
17084 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17085 _ACEOF
17089 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17090 #ifdef HAVE_SYS_MTIO_H
17091 #include <sys/mtio.h>
17092 #endif
17094 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17096 cat >>confdefs.h <<_ACEOF
17097 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17098 _ACEOF
17102 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17103 #ifdef HAVE_SYS_MTIO_H
17104 #include <sys/mtio.h>
17105 #endif
17107 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17109 cat >>confdefs.h <<_ACEOF
17110 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17111 _ACEOF
17117 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17118 #include <getopt.h>
17119 #endif
17121 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17123 cat >>confdefs.h <<_ACEOF
17124 #define HAVE_STRUCT_OPTION_NAME 1
17125 _ACEOF
17131 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17132 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17134 cat >>confdefs.h <<_ACEOF
17135 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17136 _ACEOF
17140 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17141 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17143 cat >>confdefs.h <<_ACEOF
17144 #define HAVE_STRUCT_STAT_ST_MTIM 1
17145 _ACEOF
17149 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17150 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17152 cat >>confdefs.h <<_ACEOF
17153 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17154 _ACEOF
17158 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17159 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17161 cat >>confdefs.h <<_ACEOF
17162 #define HAVE_STRUCT_STAT_ST_CTIM 1
17163 _ACEOF
17167 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17168 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17170 cat >>confdefs.h <<_ACEOF
17171 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17172 _ACEOF
17176 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17177 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17179 cat >>confdefs.h <<_ACEOF
17180 #define HAVE_STRUCT_STAT_ST_ATIM 1
17181 _ACEOF
17185 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17186 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17188 cat >>confdefs.h <<_ACEOF
17189 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17190 _ACEOF
17194 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17195 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17197 cat >>confdefs.h <<_ACEOF
17198 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17199 _ACEOF
17203 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17204 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17206 cat >>confdefs.h <<_ACEOF
17207 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17208 _ACEOF
17212 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17213 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17215 cat >>confdefs.h <<_ACEOF
17216 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17217 _ACEOF
17221 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17222 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17224 cat >>confdefs.h <<_ACEOF
17225 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17226 _ACEOF
17230 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17231 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17233 cat >>confdefs.h <<_ACEOF
17234 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17235 _ACEOF
17241 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
17242 #include <sys/types.h>
17243 #endif
17244 #ifdef HAVE_NETINET_IN_H
17245 #include <netinet/in.h>
17246 #endif
17248 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17250 cat >>confdefs.h <<_ACEOF
17251 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17252 _ACEOF
17258 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17259 #include <sys/types.h>
17260 #endif
17261 #ifdef HAVE_NETINET_IN_H
17262 #include <netinet/in.h>
17263 #endif
17264 #ifdef HAVE_RESOLV_H
17265 #include <resolv.h>
17266 #endif
17268 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17270 cat >>confdefs.h <<_ACEOF
17271 #define HAVE_STRUCT___RES_STATE 1
17272 _ACEOF
17278 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
17279 #include <resolv.h>
17280 #endif
17282 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17284 cat >>confdefs.h <<_ACEOF
17285 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17286 _ACEOF
17292 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17293 #include <sys/types.h>
17294 #endif
17295 #ifdef HAVE_NETINET_IN_H
17296 # include <netinet/in.h>
17297 #endif
17298 #ifdef HAVE_ARPA_NAMESER_H
17299 # include <arpa/nameser.h>
17300 #endif
17302 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17304 cat >>confdefs.h <<_ACEOF
17305 #define HAVE_NS_MSG__MSG_PTR 1
17306 _ACEOF
17312 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17313 #include <sys/types.h>
17314 #endif
17315 #ifdef HAVE_NETINET_IN_H
17316 #include <netinet/in.h>
17317 #endif
17318 #ifdef HAVE_NETINET_IP_H
17319 #include <netinet/ip.h>
17320 #endif
17321 #ifdef HAVE_NETINET_IP_ICMP_H
17322 #include <netinet/ip_icmp.h>
17323 #endif
17324 #ifdef HAVE_NETINET_ICMP_VAR_H
17325 #include <netinet/icmp_var.h>
17326 #endif
17328 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17330 cat >>confdefs.h <<_ACEOF
17331 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17332 _ACEOF
17338 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17339 #include <sys/types.h>
17340 #endif
17341 #ifdef HAVE_ALIAS_H
17342 #include <alias.h>
17343 #endif
17344 #ifdef HAVE_SYS_SOCKET_H
17345 #include <sys/socket.h>
17346 #endif
17347 #ifdef HAVE_SYS_SOCKETVAR_H
17348 #include <sys/socketvar.h>
17349 #endif
17350 #ifdef HAVE_SYS_TIMEOUT_H
17351 #include <sys/timeout.h>
17352 #endif
17353 #ifdef HAVE_NETINET_IN_H
17354 #include <netinet/in.h>
17355 #endif
17356 #ifdef HAVE_NETINET_IN_SYSTM_H
17357 #include <netinet/in_systm.h>
17358 #endif
17359 #ifdef HAVE_NETINET_IP_H
17360 #include <netinet/ip.h>
17361 #endif
17362 #ifdef HAVE_NETINET_IP_VAR_H
17363 #include <netinet/ip_var.h>
17364 #endif
17365 #ifdef HAVE_NETINET_IP_ICMP_H
17366 #include <netinet/ip_icmp.h>
17367 #endif
17368 #ifdef HAVE_NETINET_ICMP_VAR_H
17369 #include <netinet/icmp_var.h>
17370 #endif
17372 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17374 cat >>confdefs.h <<_ACEOF
17375 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17376 _ACEOF
17382 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17383 #include <sys/types.h>
17384 #endif
17385 #ifdef HAVE_SYS_SOCKETVAR_H
17386 #include <sys/socketvar.h>
17387 #endif
17388 #ifdef HAVE_NETINET_IN_H
17389 #include <netinet/in.h>
17390 #endif
17391 #ifdef HAVE_NETINET_IP_VAR_H
17392 #include <netinet/ip_var.h>
17393 #endif
17395 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17397 cat >>confdefs.h <<_ACEOF
17398 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17399 _ACEOF
17405 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
17406 #include <netinet/ip_var.h>
17407 #endif
17409 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17411 cat >>confdefs.h <<_ACEOF
17412 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17413 _ACEOF
17419 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17420 #include <sys/types.h>
17421 #endif
17422 #ifdef HAVE_SYS_SOCKETVAR_H
17423 #include <sys/socketvar.h>
17424 #endif
17425 #ifdef HAVE_NETINET_IN_H
17426 #include <netinet/in.h>
17427 #endif
17428 #ifdef HAVE_NETINET_TCP_H
17429 #include <netinet/tcp.h>
17430 #endif
17431 #ifdef HAVE_NETINET_TCP_VAR_H
17432 #include <netinet/tcp_var.h>
17433 #endif
17435 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17437 cat >>confdefs.h <<_ACEOF
17438 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17439 _ACEOF
17445 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
17446 #include <netinet/tcp_var.h>
17447 #endif
17449 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17451 cat >>confdefs.h <<_ACEOF
17452 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17453 _ACEOF
17459 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17460 #include <sys/types.h>
17461 #endif
17462 #ifdef HAVE_NETINET_IN_H
17463 #include <netinet/in.h>
17464 #endif
17465 #ifdef HAVE_NETINET_IP_VAR_H
17466 #include <netinet/ip_var.h>
17467 #endif
17468 #ifdef HAVE_NETINET_UDP_H
17469 #include <netinet/udp.h>
17470 #endif
17471 #ifdef HAVE_NETINET_UDP_VAR_H
17472 #include <netinet/udp_var.h>
17473 #endif
17475 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17477 cat >>confdefs.h <<_ACEOF
17478 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17479 _ACEOF
17485 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17486 #include <sys/types.h>
17487 #endif
17488 #ifdef HAVE_NET_IF_H
17489 # include <net/if.h>
17490 #endif
17492 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17494 cat >>confdefs.h <<_ACEOF
17495 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17496 _ACEOF
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17503 $as_echo_n "checking for timezone variable... " >&6; }
17504 if ${ac_cv_have_timezone+:} false; then :
17505 $as_echo_n "(cached) " >&6
17506 else
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 #include <time.h>
17511 main ()
17513 timezone = 1
17515 return 0;
17517 _ACEOF
17518 if ac_fn_c_try_link "$LINENO"; then :
17519 ac_cv_have_timezone="yes"
17520 else
17521 ac_cv_have_timezone="no"
17523 rm -f core conftest.err conftest.$ac_objext \
17524 conftest$ac_exeext conftest.$ac_ext
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17527 $as_echo "$ac_cv_have_timezone" >&6; }
17528 if test "$ac_cv_have_timezone" = "yes"
17529 then
17531 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17535 $as_echo_n "checking for daylight variable... " >&6; }
17536 if ${ac_cv_have_daylight+:} false; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17540 /* end confdefs.h. */
17541 #include <time.h>
17543 main ()
17545 daylight = 1
17547 return 0;
17549 _ACEOF
17550 if ac_fn_c_try_link "$LINENO"; then :
17551 ac_cv_have_daylight="yes"
17552 else
17553 ac_cv_have_daylight="no"
17555 rm -f core conftest.err conftest.$ac_objext \
17556 conftest$ac_exeext conftest.$ac_ext
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17559 $as_echo "$ac_cv_have_daylight" >&6; }
17560 if test "$ac_cv_have_daylight" = "yes"
17561 then
17563 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17567 ac_save_LIBS="$LIBS"
17568 LIBS="$LIBS -lm"
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17570 $as_echo_n "checking for isfinite... " >&6; }
17571 if ${ac_cv_have_isfinite+:} false; then :
17572 $as_echo_n "(cached) " >&6
17573 else
17574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17575 /* end confdefs.h. */
17576 #define _GNU_SOURCE
17577 #include <math.h>
17579 main ()
17581 float f = 0.0; return isfinite(f)
17583 return 0;
17585 _ACEOF
17586 if ac_fn_c_try_link "$LINENO"; then :
17587 ac_cv_have_isfinite="yes"
17588 else
17589 ac_cv_have_isfinite="no"
17591 rm -f core conftest.err conftest.$ac_objext \
17592 conftest$ac_exeext conftest.$ac_ext
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17595 $as_echo "$ac_cv_have_isfinite" >&6; }
17596 if test "$ac_cv_have_isfinite" = "yes"
17597 then
17599 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17604 $as_echo_n "checking for isinf... " >&6; }
17605 if ${ac_cv_have_isinf+:} false; then :
17606 $as_echo_n "(cached) " >&6
17607 else
17608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17609 /* end confdefs.h. */
17610 #include <math.h>
17612 main ()
17614 float f = 0.0; return isinf(f)
17616 return 0;
17618 _ACEOF
17619 if ac_fn_c_try_link "$LINENO"; then :
17620 ac_cv_have_isinf="yes"
17621 else
17622 ac_cv_have_isinf="no"
17624 rm -f core conftest.err conftest.$ac_objext \
17625 conftest$ac_exeext conftest.$ac_ext
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17628 $as_echo "$ac_cv_have_isinf" >&6; }
17629 if test "$ac_cv_have_isinf" = "yes"
17630 then
17632 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17637 $as_echo_n "checking for isnan... " >&6; }
17638 if ${ac_cv_have_isnan+:} false; then :
17639 $as_echo_n "(cached) " >&6
17640 else
17641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h. */
17643 #include <math.h>
17645 main ()
17647 float f = 0.0; return isnan(f)
17649 return 0;
17651 _ACEOF
17652 if ac_fn_c_try_link "$LINENO"; then :
17653 ac_cv_have_isnan="yes"
17654 else
17655 ac_cv_have_isnan="no"
17657 rm -f core conftest.err conftest.$ac_objext \
17658 conftest$ac_exeext conftest.$ac_ext
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17661 $as_echo "$ac_cv_have_isnan" >&6; }
17662 if test "$ac_cv_have_isnan" = "yes"
17663 then
17665 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17669 for ac_func in \
17670 acosh \
17671 acoshf \
17672 asinh \
17673 asinhf \
17674 atanh \
17675 atanhf \
17676 cbrt \
17677 cbrtf \
17678 erf \
17679 erfc \
17680 erfcf \
17681 erff \
17682 exp2 \
17683 exp2f \
17684 expm1 \
17685 expm1f \
17686 j0 \
17687 j1 \
17688 jn \
17689 lgamma \
17690 lgammaf \
17691 llrint \
17692 llrintf \
17693 llround \
17694 llroundf \
17695 log1p \
17696 log1pf \
17697 log2 \
17698 log2f \
17699 lrint \
17700 lrintf \
17701 lround \
17702 lroundf \
17703 nearbyint \
17704 nearbyintf \
17705 powl \
17706 remainder \
17707 remainderf \
17708 rint \
17709 rintf \
17710 round \
17711 roundf \
17712 trunc \
17713 truncf \
17714 y0 \
17715 y1 \
17718 do :
17719 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17720 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17721 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17722 cat >>confdefs.h <<_ACEOF
17723 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17724 _ACEOF
17727 done
17729 LIBS="$ac_save_LIBS"
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17732 $as_echo_n "checking for __builtin_clz... " >&6; }
17733 if ${ac_cv_have___builtin_clz+:} false; then :
17734 $as_echo_n "(cached) " >&6
17735 else
17736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17737 /* end confdefs.h. */
17740 main ()
17742 return __builtin_clz(1)
17744 return 0;
17746 _ACEOF
17747 if ac_fn_c_try_link "$LINENO"; then :
17748 ac_cv_have___builtin_clz="yes"
17749 else
17750 ac_cv_have___builtin_clz="no"
17752 rm -f core conftest.err conftest.$ac_objext \
17753 conftest$ac_exeext conftest.$ac_ext
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17756 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17757 if test "$ac_cv_have___builtin_clz" = "yes"
17758 then
17760 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17765 $as_echo_n "checking for __builtin_popcount... " >&6; }
17766 if ${ac_cv_have___builtin_popcount+:} false; then :
17767 $as_echo_n "(cached) " >&6
17768 else
17769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17770 /* end confdefs.h. */
17773 main ()
17775 return __builtin_popcount(1)
17777 return 0;
17779 _ACEOF
17780 if ac_fn_c_try_link "$LINENO"; then :
17781 ac_cv_have___builtin_popcount="yes"
17782 else
17783 ac_cv_have___builtin_popcount="no"
17785 rm -f core conftest.err conftest.$ac_objext \
17786 conftest$ac_exeext conftest.$ac_ext
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17789 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17790 if test "$ac_cv_have___builtin_popcount" = "yes"
17791 then
17793 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17798 $as_echo_n "checking for __clear_cache... " >&6; }
17799 if ${ac_cv_have___clear_cache+:} false; then :
17800 $as_echo_n "(cached) " >&6
17801 else
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17806 main ()
17808 __clear_cache((void*)0, (void*)0); return 0;
17810 return 0;
17812 _ACEOF
17813 if ac_fn_c_try_link "$LINENO"; then :
17814 ac_cv_have___clear_cache="yes"
17815 else
17816 ac_cv_have___clear_cache="no"
17818 rm -f core conftest.err conftest.$ac_objext \
17819 conftest$ac_exeext conftest.$ac_ext
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17822 $as_echo "$ac_cv_have___clear_cache" >&6; }
17823 if test "$ac_cv_have___clear_cache" = "yes"
17824 then
17826 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17831 case $host_cpu in
17832 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17833 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17834 if ${ac_cv_cpp_def___i386__+:} false; then :
17835 $as_echo_n "(cached) " >&6
17836 else
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h. */
17839 #ifndef __i386__
17841 #endif
17842 _ACEOF
17843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17844 $EGREP "yes" >/dev/null 2>&1; then :
17845 ac_cv_cpp_def___i386__=yes
17846 else
17847 ac_cv_cpp_def___i386__=no
17849 rm -f conftest*
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17853 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17854 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17855 CFLAGS="$CFLAGS -D__i386__"
17856 LINTFLAGS="$LINTFLAGS -D__i386__"
17857 fi ;;
17858 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17859 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17860 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17861 $as_echo_n "(cached) " >&6
17862 else
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17865 #ifndef __x86_64__
17867 #endif
17868 _ACEOF
17869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17870 $EGREP "yes" >/dev/null 2>&1; then :
17871 ac_cv_cpp_def___x86_64__=yes
17872 else
17873 ac_cv_cpp_def___x86_64__=no
17875 rm -f conftest*
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17879 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17880 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17881 CFLAGS="$CFLAGS -D__x86_64__"
17882 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17883 fi ;;
17884 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17885 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17886 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17887 $as_echo_n "(cached) " >&6
17888 else
17889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17890 /* end confdefs.h. */
17891 #ifndef __sparc64__
17893 #endif
17894 _ACEOF
17895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17896 $EGREP "yes" >/dev/null 2>&1; then :
17897 ac_cv_cpp_def___sparc64__=yes
17898 else
17899 ac_cv_cpp_def___sparc64__=no
17901 rm -f conftest*
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17905 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17906 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17907 CFLAGS="$CFLAGS -D__sparc64__"
17908 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17909 fi ;;
17910 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17911 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17912 if ${ac_cv_cpp_def___sparc__+:} false; then :
17913 $as_echo_n "(cached) " >&6
17914 else
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17917 #ifndef __sparc__
17919 #endif
17920 _ACEOF
17921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17922 $EGREP "yes" >/dev/null 2>&1; then :
17923 ac_cv_cpp_def___sparc__=yes
17924 else
17925 ac_cv_cpp_def___sparc__=no
17927 rm -f conftest*
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17931 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17932 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17933 CFLAGS="$CFLAGS -D__sparc__"
17934 LINTFLAGS="$LINTFLAGS -D__sparc__"
17935 fi ;;
17936 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17937 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17938 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17939 $as_echo_n "(cached) " >&6
17940 else
17941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17942 /* end confdefs.h. */
17943 #ifndef __powerpc64__
17945 #endif
17946 _ACEOF
17947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17948 $EGREP "yes" >/dev/null 2>&1; then :
17949 ac_cv_cpp_def___powerpc64__=yes
17950 else
17951 ac_cv_cpp_def___powerpc64__=no
17953 rm -f conftest*
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17957 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17958 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17959 CFLAGS="$CFLAGS -D__powerpc64__"
17960 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17961 fi ;;
17962 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17963 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17964 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17965 $as_echo_n "(cached) " >&6
17966 else
17967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17968 /* end confdefs.h. */
17969 #ifndef __powerpc__
17971 #endif
17972 _ACEOF
17973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17974 $EGREP "yes" >/dev/null 2>&1; then :
17975 ac_cv_cpp_def___powerpc__=yes
17976 else
17977 ac_cv_cpp_def___powerpc__=no
17979 rm -f conftest*
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17983 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17984 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17985 CFLAGS="$CFLAGS -D__powerpc__"
17986 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17987 fi ;;
17988 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17989 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17990 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17991 $as_echo_n "(cached) " >&6
17992 else
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h. */
17995 #ifndef __aarch64__
17997 #endif
17998 _ACEOF
17999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18000 $EGREP "yes" >/dev/null 2>&1; then :
18001 ac_cv_cpp_def___aarch64__=yes
18002 else
18003 ac_cv_cpp_def___aarch64__=no
18005 rm -f conftest*
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18009 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18010 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18011 CFLAGS="$CFLAGS -D__aarch64__"
18012 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18013 fi ;;
18014 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18015 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18016 if ${ac_cv_cpp_def___arm__+:} false; then :
18017 $as_echo_n "(cached) " >&6
18018 else
18019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18020 /* end confdefs.h. */
18021 #ifndef __arm__
18023 #endif
18024 _ACEOF
18025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18026 $EGREP "yes" >/dev/null 2>&1; then :
18027 ac_cv_cpp_def___arm__=yes
18028 else
18029 ac_cv_cpp_def___arm__=no
18031 rm -f conftest*
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18035 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18036 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18037 CFLAGS="$CFLAGS -D__arm__"
18038 LINTFLAGS="$LINTFLAGS -D__arm__"
18039 fi ;;
18040 esac
18042 case $host_vendor in
18043 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18044 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18045 if ${ac_cv_cpp_def___sun__+:} false; then :
18046 $as_echo_n "(cached) " >&6
18047 else
18048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18050 #ifndef __sun__
18052 #endif
18053 _ACEOF
18054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18055 $EGREP "yes" >/dev/null 2>&1; then :
18056 ac_cv_cpp_def___sun__=yes
18057 else
18058 ac_cv_cpp_def___sun__=no
18060 rm -f conftest*
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18064 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18065 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18066 CFLAGS="$CFLAGS -D__sun__"
18067 LINTFLAGS="$LINTFLAGS -D__sun__"
18068 fi ;;
18069 esac
18075 ac_config_commands="$ac_config_commands include/stamp-h"
18077 $as_echo_n "creating Makefile rules..." >&6
18079 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18080 SOCKET_LIBS = $SOCKET_LIBS
18081 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18082 IOKIT_LIBS = $IOKIT_LIBS
18083 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18084 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18085 CORESERVICES_LIBS = $CORESERVICES_LIBS
18086 APPKIT_LIBS = $APPKIT_LIBS
18087 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18088 SECURITY_LIBS = $SECURITY_LIBS
18089 COREAUDIO_LIBS = $COREAUDIO_LIBS
18090 OPENAL_LIBS = $OPENAL_LIBS
18091 OPENCL_LIBS = $OPENCL_LIBS
18092 QUICKTIME_LIBS = $QUICKTIME_LIBS
18093 CARBON_LIBS = $CARBON_LIBS
18094 PTHREAD_LIBS = $PTHREAD_LIBS
18095 X_CFLAGS = $X_CFLAGS
18096 X_PRE_LIBS = $X_PRE_LIBS
18097 X_LIBS = $X_LIBS
18098 X_EXTRA_LIBS = $X_EXTRA_LIBS
18099 PCAP_LIBS = $PCAP_LIBS
18100 XML2_CFLAGS = $XML2_CFLAGS
18101 XML2_LIBS = $XML2_LIBS
18102 XSLT_CFLAGS = $XSLT_CFLAGS
18103 XSLT_LIBS = $XSLT_LIBS
18104 DBUS_CFLAGS = $DBUS_CFLAGS
18105 DBUS_LIBS = $DBUS_LIBS
18106 HAL_CFLAGS = $HAL_CFLAGS
18107 HAL_LIBS = $HAL_LIBS
18108 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18109 GNUTLS_LIBS = $GNUTLS_LIBS
18110 SANE_CFLAGS = $SANE_CFLAGS
18111 SANE_LIBS = $SANE_LIBS
18112 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18113 GPHOTO2_LIBS = $GPHOTO2_LIBS
18114 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18115 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18116 RESOLV_LIBS = $RESOLV_LIBS
18117 LCMS2_CFLAGS = $LCMS2_CFLAGS
18118 LCMS2_LIBS = $LCMS2_LIBS
18119 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18120 FREETYPE_LIBS = $FREETYPE_LIBS
18121 Z_LIBS = $Z_LIBS
18122 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18123 PULSE_CFLAGS = $PULSE_CFLAGS
18124 PULSE_LIBS = $PULSE_LIBS
18125 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18126 GSTREAMER_LIBS = $GSTREAMER_LIBS
18127 ALSA_LIBS = $ALSA_LIBS
18128 OSS4_CFLAGS = $OSS4_CFLAGS
18129 UDEV_CFLAGS = $UDEV_CFLAGS
18130 UDEV_LIBS = $UDEV_LIBS
18131 SDL2_CFLAGS = $SDL2_CFLAGS
18132 SDL2_LIBS = $SDL2_LIBS
18133 CAPI20_CFLAGS = $CAPI20_CFLAGS
18134 CAPI20_LIBS = $CAPI20_LIBS
18135 CUPS_CFLAGS = $CUPS_CFLAGS
18136 CUPS_LIBS = $CUPS_LIBS
18137 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18138 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18139 KRB5_CFLAGS = $KRB5_CFLAGS
18140 KRB5_LIBS = $KRB5_LIBS
18141 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18142 GSSAPI_LIBS = $GSSAPI_LIBS
18143 JPEG_CFLAGS = $JPEG_CFLAGS
18144 JPEG_LIBS = $JPEG_LIBS
18145 PNG_CFLAGS = $PNG_CFLAGS
18146 PNG_LIBS = $PNG_LIBS
18147 TIFF_CFLAGS = $TIFF_CFLAGS
18148 TIFF_LIBS = $TIFF_LIBS
18149 MPG123_CFLAGS = $MPG123_CFLAGS
18150 MPG123_LIBS = $MPG123_LIBS
18151 KSTAT_LIBS = $KSTAT_LIBS
18152 PROCSTAT_LIBS = $PROCSTAT_LIBS
18153 NETAPI_CFLAGS = $NETAPI_CFLAGS
18154 NETAPI_LIBS = $NETAPI_LIBS
18155 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18156 DL_LIBS = $DL_LIBS
18157 POLL_LIBS = $POLL_LIBS
18158 RT_LIBS = $RT_LIBS
18159 LDAP_CFLAGS = $LDAP_CFLAGS
18160 LDAP_LIBS = $LDAP_LIBS
18165 wine_fn_append_rule "
18166 # Rules automatically generated by configure
18168 .INIT: Makefile
18169 .MAKEFILEDEPS:
18170 all: Makefile
18171 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18172 @./config.status Make.tmp Makefile
18173 depend: \$(MAKEDEP) dummy
18174 \$(MAKEDEP)"
18176 if test "x$enable_fonts" != xno; then
18177 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18178 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18179 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18180 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18181 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18182 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18184 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18185 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18186 ac_config_links="$ac_config_links wine:tools/winewrapper"
18187 wine_fn_config_symlink wine
18188 if test "x$enable_win64" != xno; then
18189 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18190 wine_fn_config_symlink wine64
18193 wine_fn_config_makefile dlls/acledit enable_acledit
18194 wine_fn_config_makefile dlls/aclui enable_aclui
18195 wine_fn_config_makefile dlls/activeds enable_activeds
18196 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18197 wine_fn_config_makefile dlls/adsiid enable_adsiid
18198 wine_fn_config_makefile dlls/adsldp enable_adsldp
18199 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18200 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18201 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18202 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18203 wine_fn_config_makefile dlls/advpack enable_advpack
18204 wine_fn_config_makefile dlls/advpack/tests enable_tests
18205 wine_fn_config_makefile dlls/amstream enable_amstream
18206 wine_fn_config_makefile dlls/amstream/tests enable_tests
18207 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18208 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18209 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18210 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18211 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18212 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18213 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18214 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18215 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18216 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18217 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18218 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18219 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18220 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18221 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18222 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18223 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18224 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18225 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18226 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18227 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18228 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18229 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18230 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18231 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18232 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18233 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18234 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18235 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18236 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18237 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18238 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18239 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18240 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18241 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18242 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18243 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18244 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18245 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18246 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18247 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18248 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18249 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18250 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18251 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18252 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18253 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18254 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18255 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18256 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18257 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18258 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18259 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18260 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18261 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18262 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18263 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18264 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18265 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18266 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18267 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18268 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18269 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18270 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18271 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18272 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18273 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18274 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18275 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18276 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18277 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18278 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18279 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18280 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18281 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18282 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18283 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18284 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18285 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18286 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18287 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18288 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18289 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18290 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18291 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18292 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18293 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18294 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18295 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18296 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18297 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18298 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18299 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18300 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18301 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18302 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18303 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18304 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18305 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18306 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18307 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18308 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18309 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18310 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18311 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18312 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18313 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18314 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18315 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18316 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18317 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18318 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18319 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18320 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18321 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18322 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18323 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18324 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18325 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18326 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18327 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18328 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18329 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18330 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18331 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18332 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18333 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18334 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18335 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18336 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18337 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18338 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18339 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18340 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18341 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18342 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18343 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18344 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18345 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18346 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18347 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18348 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18349 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18350 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18351 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18352 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18353 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18354 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18356 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18363 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18365 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18367 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18368 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18369 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18370 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18371 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18372 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18373 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18374 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18375 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18376 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18377 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18378 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18379 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18380 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18381 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18382 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18383 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18384 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18385 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18386 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18387 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18388 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18389 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18390 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18391 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18392 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18393 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18394 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18395 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18396 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18397 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18398 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18399 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18400 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18401 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18402 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18403 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18404 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18405 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18406 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18407 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18408 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18409 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18410 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18411 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18412 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18413 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18414 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18415 wine_fn_config_makefile dlls/apphelp enable_apphelp
18416 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18417 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18418 wine_fn_config_makefile dlls/atl enable_atl
18419 wine_fn_config_makefile dlls/atl/tests enable_tests
18420 wine_fn_config_makefile dlls/atl100 enable_atl100
18421 wine_fn_config_makefile dlls/atl100/tests enable_tests
18422 wine_fn_config_makefile dlls/atl110 enable_atl110
18423 wine_fn_config_makefile dlls/atl80 enable_atl80
18424 wine_fn_config_makefile dlls/atl80/tests enable_tests
18425 wine_fn_config_makefile dlls/atl90 enable_atl90
18426 wine_fn_config_makefile dlls/authz enable_authz
18427 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18428 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18429 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18430 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18431 wine_fn_config_makefile dlls/avrt enable_avrt
18432 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18433 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18434 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18435 wine_fn_config_makefile dlls/browseui enable_browseui
18436 wine_fn_config_makefile dlls/browseui/tests enable_tests
18437 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18438 wine_fn_config_makefile dlls/cabinet enable_cabinet
18439 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18440 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18441 wine_fn_config_makefile dlls/cards enable_cards
18442 wine_fn_config_makefile dlls/cdosys enable_cdosys
18443 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18444 wine_fn_config_makefile dlls/clusapi enable_clusapi
18445 wine_fn_config_makefile dlls/combase enable_combase
18446 wine_fn_config_makefile dlls/combase/tests enable_tests
18447 wine_fn_config_makefile dlls/comcat enable_comcat
18448 wine_fn_config_makefile dlls/comcat/tests enable_tests
18449 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18450 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18451 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18452 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18453 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18454 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18455 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18456 wine_fn_config_makefile dlls/compstui enable_compstui
18457 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18458 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18459 wine_fn_config_makefile dlls/connect enable_connect
18460 wine_fn_config_makefile dlls/credui enable_credui
18461 wine_fn_config_makefile dlls/credui/tests enable_tests
18462 wine_fn_config_makefile dlls/crtdll enable_crtdll
18463 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18464 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18465 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18466 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18467 wine_fn_config_makefile dlls/cryptext enable_cryptext
18468 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18469 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18470 wine_fn_config_makefile dlls/cryptui enable_cryptui
18471 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18472 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18473 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18474 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18475 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18476 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18477 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18478 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18479 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18480 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18481 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18482 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18483 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18484 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18485 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18486 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18487 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18488 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18489 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18490 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18491 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18492 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18493 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18494 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18495 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18496 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18497 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18498 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18499 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18500 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18501 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18502 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18503 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18504 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18505 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18506 wine_fn_config_makefile dlls/d3dim enable_d3dim
18507 wine_fn_config_makefile dlls/d3drm enable_d3drm
18508 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18509 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18510 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18511 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18512 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18513 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18514 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18515 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18516 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18517 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18518 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18519 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18520 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18521 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18522 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18523 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18524 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18525 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18526 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18527 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18528 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18529 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18530 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18531 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18532 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18533 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18534 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18535 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18536 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18537 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18538 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18539 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18540 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18541 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18542 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18543 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18544 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18545 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18546 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18547 wine_fn_config_makefile dlls/davclnt enable_davclnt
18548 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18549 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18550 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18551 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18552 wine_fn_config_makefile dlls/ddraw enable_ddraw
18553 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18554 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18555 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18556 wine_fn_config_makefile dlls/devenum enable_devenum
18557 wine_fn_config_makefile dlls/devenum/tests enable_tests
18558 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18559 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18560 wine_fn_config_makefile dlls/difxapi enable_difxapi
18561 wine_fn_config_makefile dlls/dinput enable_dinput
18562 wine_fn_config_makefile dlls/dinput/tests enable_tests
18563 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18564 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18565 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18566 wine_fn_config_makefile dlls/dispex enable_dispex
18567 wine_fn_config_makefile dlls/dispex/tests enable_tests
18568 wine_fn_config_makefile dlls/display.drv16 enable_win16
18569 wine_fn_config_makefile dlls/dmband enable_dmband
18570 wine_fn_config_makefile dlls/dmband/tests enable_tests
18571 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18572 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18573 wine_fn_config_makefile dlls/dmime enable_dmime
18574 wine_fn_config_makefile dlls/dmime/tests enable_tests
18575 wine_fn_config_makefile dlls/dmloader enable_dmloader
18576 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18577 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
18578 wine_fn_config_makefile dlls/dmscript enable_dmscript
18579 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18580 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18581 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18582 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18583 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18584 wine_fn_config_makefile dlls/dmusic enable_dmusic
18585 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18586 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18587 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18588 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18589 wine_fn_config_makefile dlls/dplay enable_dplay
18590 wine_fn_config_makefile dlls/dplayx enable_dplayx
18591 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18592 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18593 wine_fn_config_makefile dlls/dpnet enable_dpnet
18594 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18595 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18596 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18597 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18598 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18599 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18600 wine_fn_config_makefile dlls/drmclien enable_drmclien
18601 wine_fn_config_makefile dlls/dsound enable_dsound
18602 wine_fn_config_makefile dlls/dsound/tests enable_tests
18603 wine_fn_config_makefile dlls/dsquery enable_dsquery
18604 wine_fn_config_makefile dlls/dssenh enable_dssenh
18605 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18606 wine_fn_config_makefile dlls/dswave enable_dswave
18607 wine_fn_config_makefile dlls/dswave/tests enable_tests
18608 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18609 wine_fn_config_makefile dlls/dwrite enable_dwrite
18610 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18611 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18612 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18613 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18614 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18615 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18616 wine_fn_config_makefile dlls/dxgi enable_dxgi
18617 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18618 wine_fn_config_makefile dlls/dxguid enable_dxguid
18619 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18620 wine_fn_config_makefile dlls/esent enable_esent
18621 wine_fn_config_makefile dlls/evr enable_evr
18622 wine_fn_config_makefile dlls/evr/tests enable_tests
18623 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18624 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18625 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18626 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18627 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
18628 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18629 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18630 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18631 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18632 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18633 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18634 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18635 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18636 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
18637 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
18638 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18639 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
18640 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18641 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18642 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
18643 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18644 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18645 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18646 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
18647 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18648 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18649 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18650 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
18651 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18652 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18653 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
18654 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
18655 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18656 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
18657 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
18658 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
18659 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18660 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18661 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18662 wine_fn_config_makefile dlls/faultrep enable_faultrep
18663 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18664 wine_fn_config_makefile dlls/fltlib enable_fltlib
18665 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18666 wine_fn_config_makefile dlls/fntcache enable_fntcache
18667 wine_fn_config_makefile dlls/fontsub enable_fontsub
18668 wine_fn_config_makefile dlls/fusion enable_fusion
18669 wine_fn_config_makefile dlls/fusion/tests enable_tests
18670 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18671 wine_fn_config_makefile dlls/gameux enable_gameux
18672 wine_fn_config_makefile dlls/gameux/tests enable_tests
18673 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18674 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18675 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18676 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18677 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18678 wine_fn_config_makefile dlls/glu32 enable_glu32
18679 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18680 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18681 wine_fn_config_makefile dlls/hal enable_hal
18682 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18683 wine_fn_config_makefile dlls/hid enable_hid
18684 wine_fn_config_makefile dlls/hid/tests enable_tests
18685 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18686 wine_fn_config_makefile dlls/hlink enable_hlink
18687 wine_fn_config_makefile dlls/hlink/tests enable_tests
18688 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18689 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18690 wine_fn_config_makefile dlls/httpapi enable_httpapi
18691 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18692 wine_fn_config_makefile dlls/iccvid enable_iccvid
18693 wine_fn_config_makefile dlls/icmp enable_icmp
18694 wine_fn_config_makefile dlls/ieframe enable_ieframe
18695 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18696 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18697 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18698 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18699 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18700 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18701 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18702 wine_fn_config_makefile dlls/imm32 enable_imm32
18703 wine_fn_config_makefile dlls/imm32/tests enable_tests
18704 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18705 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18706 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18707 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18708 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18709 wine_fn_config_makefile dlls/infosoft enable_infosoft
18710 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18711 wine_fn_config_makefile dlls/initpki enable_initpki
18712 wine_fn_config_makefile dlls/inkobj enable_inkobj
18713 wine_fn_config_makefile dlls/inseng enable_inseng
18714 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18715 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18716 wine_fn_config_makefile dlls/iprop enable_iprop
18717 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18718 wine_fn_config_makefile dlls/itircl enable_itircl
18719 wine_fn_config_makefile dlls/itss enable_itss
18720 wine_fn_config_makefile dlls/itss/tests enable_tests
18721 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18722 wine_fn_config_makefile dlls/jscript enable_jscript
18723 wine_fn_config_makefile dlls/jscript/tests enable_tests
18724 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18725 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18726 wine_fn_config_makefile dlls/kerberos enable_kerberos
18727 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18728 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18729 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18730 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18731 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18732 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18733 wine_fn_config_makefile dlls/ksuser enable_ksuser
18734 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18735 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18736 wine_fn_config_makefile dlls/loadperf enable_loadperf
18737 wine_fn_config_makefile dlls/localspl enable_localspl
18738 wine_fn_config_makefile dlls/localspl/tests enable_tests
18739 wine_fn_config_makefile dlls/localui enable_localui
18740 wine_fn_config_makefile dlls/localui/tests enable_tests
18741 wine_fn_config_makefile dlls/lz32 enable_lz32
18742 wine_fn_config_makefile dlls/lz32/tests enable_tests
18743 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18744 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18745 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18746 wine_fn_config_makefile dlls/mapistub enable_mapistub
18747 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18748 wine_fn_config_makefile dlls/mcicda enable_mcicda
18749 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18750 wine_fn_config_makefile dlls/mciseq enable_mciseq
18751 wine_fn_config_makefile dlls/mciwave enable_mciwave
18752 wine_fn_config_makefile dlls/mf enable_mf
18753 wine_fn_config_makefile dlls/mf/tests enable_tests
18754 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18755 wine_fn_config_makefile dlls/mfplat enable_mfplat
18756 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18757 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18758 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18759 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18760 wine_fn_config_makefile dlls/midimap enable_midimap
18761 wine_fn_config_makefile dlls/mlang enable_mlang
18762 wine_fn_config_makefile dlls/mlang/tests enable_tests
18763 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18764 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18765 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18766 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18767 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18768 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18769 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18770 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18771 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18772 wine_fn_config_makefile dlls/mpr enable_mpr
18773 wine_fn_config_makefile dlls/mpr/tests enable_tests
18774 wine_fn_config_makefile dlls/mprapi enable_mprapi
18775 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18776 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18777 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18778 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18779 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18780 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18781 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18782 wine_fn_config_makefile dlls/mscms enable_mscms
18783 wine_fn_config_makefile dlls/mscms/tests enable_tests
18784 wine_fn_config_makefile dlls/mscoree enable_mscoree
18785 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18786 wine_fn_config_makefile dlls/msctf enable_msctf
18787 wine_fn_config_makefile dlls/msctf/tests enable_tests
18788 wine_fn_config_makefile dlls/msctfp enable_msctfp
18789 wine_fn_config_makefile dlls/msdaps enable_msdaps
18790 wine_fn_config_makefile dlls/msdelta enable_msdelta
18791 wine_fn_config_makefile dlls/msdmo enable_msdmo
18792 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18793 wine_fn_config_makefile dlls/msdrm enable_msdrm
18794 wine_fn_config_makefile dlls/msftedit enable_msftedit
18795 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18796 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18797 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18798 wine_fn_config_makefile dlls/mshtml enable_mshtml
18799 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18800 wine_fn_config_makefile dlls/msi enable_msi
18801 wine_fn_config_makefile dlls/msi/tests enable_tests
18802 wine_fn_config_makefile dlls/msident enable_msident
18803 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18804 wine_fn_config_makefile dlls/msimsg enable_msimsg
18805 wine_fn_config_makefile dlls/msimtf enable_msimtf
18806 wine_fn_config_makefile dlls/msisip enable_msisip
18807 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18808 wine_fn_config_makefile dlls/msls31 enable_msls31
18809 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18810 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18811 wine_fn_config_makefile dlls/msports enable_msports
18812 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18813 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18814 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18815 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18816 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18817 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18818 wine_fn_config_makefile dlls/mstask enable_mstask
18819 wine_fn_config_makefile dlls/mstask/tests enable_tests
18820 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18821 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18822 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18823 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18824 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18825 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18826 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18827 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18828 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18829 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18830 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18831 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18832 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18833 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18834 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18835 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18836 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18837 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18838 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18839 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18840 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18841 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18842 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18843 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
18844 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18845 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18846 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18847 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18848 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18849 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18850 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18851 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18852 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18853 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18854 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18855 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18856 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18857 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
18858 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
18859 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
18860 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
18861 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
18862 wine_fn_config_makefile dlls/mswsock enable_mswsock
18863 wine_fn_config_makefile dlls/msxml enable_msxml
18864 wine_fn_config_makefile dlls/msxml2 enable_msxml2
18865 wine_fn_config_makefile dlls/msxml3 enable_msxml3
18866 wine_fn_config_makefile dlls/msxml3/tests enable_tests
18867 wine_fn_config_makefile dlls/msxml4 enable_msxml4
18868 wine_fn_config_makefile dlls/msxml6 enable_msxml6
18869 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
18870 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
18871 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
18872 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
18873 wine_fn_config_makefile dlls/netapi32 enable_netapi32
18874 wine_fn_config_makefile dlls/netapi32/tests enable_tests
18875 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
18876 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
18877 wine_fn_config_makefile dlls/netprofm enable_netprofm
18878 wine_fn_config_makefile dlls/netprofm/tests enable_tests
18879 wine_fn_config_makefile dlls/newdev enable_newdev
18880 wine_fn_config_makefile dlls/ninput enable_ninput
18881 wine_fn_config_makefile dlls/normaliz enable_normaliz
18882 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
18883 wine_fn_config_makefile dlls/npptools enable_npptools
18884 wine_fn_config_makefile dlls/ntdll enable_ntdll
18885 wine_fn_config_makefile dlls/ntdll/tests enable_tests
18886 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
18887 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
18888 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
18889 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
18890 wine_fn_config_makefile dlls/ntprint enable_ntprint
18891 wine_fn_config_makefile dlls/ntprint/tests enable_tests
18892 wine_fn_config_makefile dlls/objsel enable_objsel
18893 wine_fn_config_makefile dlls/odbc32 enable_odbc32
18894 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
18895 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
18896 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
18897 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
18898 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
18899 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
18900 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
18901 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
18902 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
18903 wine_fn_config_makefile dlls/ole32 enable_ole32
18904 wine_fn_config_makefile dlls/ole32/tests enable_tests
18905 wine_fn_config_makefile dlls/oleacc enable_oleacc
18906 wine_fn_config_makefile dlls/oleacc/tests enable_tests
18907 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
18908 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
18909 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
18910 wine_fn_config_makefile dlls/olecli32 enable_olecli32
18911 wine_fn_config_makefile dlls/oledb32 enable_oledb32
18912 wine_fn_config_makefile dlls/oledb32/tests enable_tests
18913 wine_fn_config_makefile dlls/oledlg enable_oledlg
18914 wine_fn_config_makefile dlls/oledlg/tests enable_tests
18915 wine_fn_config_makefile dlls/olepro32 enable_olepro32
18916 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
18917 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
18918 wine_fn_config_makefile dlls/olethk32 enable_olethk32
18919 wine_fn_config_makefile dlls/openal32 enable_openal32
18920 wine_fn_config_makefile dlls/opencl enable_opencl
18921 wine_fn_config_makefile dlls/opengl32 enable_opengl32
18922 wine_fn_config_makefile dlls/opengl32/tests enable_tests
18923 wine_fn_config_makefile dlls/packager enable_packager
18924 wine_fn_config_makefile dlls/packager/tests enable_tests
18925 wine_fn_config_makefile dlls/pdh enable_pdh
18926 wine_fn_config_makefile dlls/pdh/tests enable_tests
18927 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
18928 wine_fn_config_makefile dlls/pidgen enable_pidgen
18929 wine_fn_config_makefile dlls/powrprof enable_powrprof
18930 wine_fn_config_makefile dlls/printui enable_printui
18931 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
18932 wine_fn_config_makefile dlls/propsys enable_propsys
18933 wine_fn_config_makefile dlls/propsys/tests enable_tests
18934 wine_fn_config_makefile dlls/psapi enable_psapi
18935 wine_fn_config_makefile dlls/psapi/tests enable_tests
18936 wine_fn_config_makefile dlls/pstorec enable_pstorec
18937 wine_fn_config_makefile dlls/pstorec/tests enable_tests
18938 wine_fn_config_makefile dlls/qcap enable_qcap
18939 wine_fn_config_makefile dlls/qcap/tests enable_tests
18940 wine_fn_config_makefile dlls/qedit enable_qedit
18941 wine_fn_config_makefile dlls/qedit/tests enable_tests
18942 wine_fn_config_makefile dlls/qmgr enable_qmgr
18943 wine_fn_config_makefile dlls/qmgr/tests enable_tests
18944 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
18945 wine_fn_config_makefile dlls/quartz enable_quartz
18946 wine_fn_config_makefile dlls/quartz/tests enable_tests
18947 wine_fn_config_makefile dlls/query enable_query
18948 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
18949 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
18950 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
18951 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
18952 wine_fn_config_makefile dlls/regapi enable_regapi
18953 wine_fn_config_makefile dlls/resutils enable_resutils
18954 wine_fn_config_makefile dlls/riched20 enable_riched20
18955 wine_fn_config_makefile dlls/riched20/tests enable_tests
18956 wine_fn_config_makefile dlls/riched32 enable_riched32
18957 wine_fn_config_makefile dlls/riched32/tests enable_tests
18958 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
18959 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
18960 wine_fn_config_makefile dlls/rsabase enable_rsabase
18961 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
18962 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
18963 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
18964 wine_fn_config_makefile dlls/rtutils enable_rtutils
18965 wine_fn_config_makefile dlls/samlib enable_samlib
18966 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
18967 wine_fn_config_makefile dlls/sapi enable_sapi
18968 wine_fn_config_makefile dlls/sapi/tests enable_tests
18969 wine_fn_config_makefile dlls/sas enable_sas
18970 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
18971 wine_fn_config_makefile dlls/sccbase enable_sccbase
18972 wine_fn_config_makefile dlls/schannel enable_schannel
18973 wine_fn_config_makefile dlls/schannel/tests enable_tests
18974 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
18975 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
18976 wine_fn_config_makefile dlls/scrobj enable_scrobj
18977 wine_fn_config_makefile dlls/scrrun enable_scrrun
18978 wine_fn_config_makefile dlls/scrrun/tests enable_tests
18979 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
18980 wine_fn_config_makefile dlls/secur32 enable_secur32
18981 wine_fn_config_makefile dlls/secur32/tests enable_tests
18982 wine_fn_config_makefile dlls/security enable_security
18983 wine_fn_config_makefile dlls/sensapi enable_sensapi
18984 wine_fn_config_makefile dlls/serialui enable_serialui
18985 wine_fn_config_makefile dlls/serialui/tests enable_tests
18986 wine_fn_config_makefile dlls/setupapi enable_setupapi
18987 wine_fn_config_makefile dlls/setupapi/tests enable_tests
18988 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
18989 wine_fn_config_makefile dlls/sfc enable_sfc
18990 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
18991 wine_fn_config_makefile dlls/shcore enable_shcore
18992 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
18993 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
18994 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
18995 wine_fn_config_makefile dlls/shell.dll16 enable_win16
18996 wine_fn_config_makefile dlls/shell32 enable_shell32
18997 wine_fn_config_makefile dlls/shell32/tests enable_tests
18998 wine_fn_config_makefile dlls/shfolder enable_shfolder
18999 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19000 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19001 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19002 wine_fn_config_makefile dlls/slc enable_slc
19003 wine_fn_config_makefile dlls/slc/tests enable_tests
19004 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19005 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19006 wine_fn_config_makefile dlls/softpub enable_softpub
19007 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19008 wine_fn_config_makefile dlls/spoolss enable_spoolss
19009 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19010 wine_fn_config_makefile dlls/srclient enable_srclient
19011 wine_fn_config_makefile dlls/sspicli enable_sspicli
19012 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19013 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19014 wine_fn_config_makefile dlls/sti enable_sti
19015 wine_fn_config_makefile dlls/sti/tests enable_tests
19016 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19017 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19018 wine_fn_config_makefile dlls/strmbase enable_strmbase
19019 wine_fn_config_makefile dlls/strmdll enable_strmdll
19020 wine_fn_config_makefile dlls/strmiids enable_strmiids
19021 wine_fn_config_makefile dlls/svrapi enable_svrapi
19022 wine_fn_config_makefile dlls/sxs enable_sxs
19023 wine_fn_config_makefile dlls/sxs/tests enable_tests
19024 wine_fn_config_makefile dlls/system.drv16 enable_win16
19025 wine_fn_config_makefile dlls/t2embed enable_t2embed
19026 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19027 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19028 wine_fn_config_makefile dlls/taskschd enable_taskschd
19029 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19030 wine_fn_config_makefile dlls/tdh enable_tdh
19031 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19032 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19033 wine_fn_config_makefile dlls/traffic enable_traffic
19034 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19035 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19036 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19037 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19038 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19039 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19040 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19041 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19042 wine_fn_config_makefile dlls/unicows enable_unicows
19043 wine_fn_config_makefile dlls/updspapi enable_updspapi
19044 wine_fn_config_makefile dlls/url enable_url
19045 wine_fn_config_makefile dlls/urlmon enable_urlmon
19046 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19047 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19048 wine_fn_config_makefile dlls/user.exe16 enable_win16
19049 wine_fn_config_makefile dlls/user32 enable_user32
19050 wine_fn_config_makefile dlls/user32/tests enable_tests
19051 wine_fn_config_makefile dlls/userenv enable_userenv
19052 wine_fn_config_makefile dlls/userenv/tests enable_tests
19053 wine_fn_config_makefile dlls/usp10 enable_usp10
19054 wine_fn_config_makefile dlls/usp10/tests enable_tests
19055 wine_fn_config_makefile dlls/uuid enable_uuid
19056 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19057 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19058 wine_fn_config_makefile dlls/vbscript enable_vbscript
19059 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19060 wine_fn_config_makefile dlls/vcomp enable_vcomp
19061 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19062 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19063 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19064 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19065 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19066 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19067 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19068 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19069 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19070 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19071 wine_fn_config_makefile dlls/version enable_version
19072 wine_fn_config_makefile dlls/version/tests enable_tests
19073 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19074 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19075 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19076 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19077 wine_fn_config_makefile dlls/vssapi enable_vssapi
19078 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19079 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19080 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19081 wine_fn_config_makefile dlls/w32skrnl enable_win16
19082 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19083 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19084 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19085 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19086 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19087 wine_fn_config_makefile dlls/wdscore enable_wdscore
19088 wine_fn_config_makefile dlls/webservices enable_webservices
19089 wine_fn_config_makefile dlls/webservices/tests enable_tests
19090 wine_fn_config_makefile dlls/wer enable_wer
19091 wine_fn_config_makefile dlls/wer/tests enable_tests
19092 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19093 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19094 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19095 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19096 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19097 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19098 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19099 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19100 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19101 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19102 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19103 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19104 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19105 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19106 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19107 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19108 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19109 wine_fn_config_makefile dlls/wined3d enable_wined3d
19110 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19111 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19112 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19113 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19114 wine_fn_config_makefile dlls/winemapi enable_winemapi
19115 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19116 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19117 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19118 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19119 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19120 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19121 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19122 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19123 wine_fn_config_makefile dlls/wing32 enable_wing32
19124 wine_fn_config_makefile dlls/winhttp enable_winhttp
19125 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19126 wine_fn_config_makefile dlls/wininet enable_wininet
19127 wine_fn_config_makefile dlls/wininet/tests enable_tests
19128 wine_fn_config_makefile dlls/winmm enable_winmm
19129 wine_fn_config_makefile dlls/winmm/tests enable_tests
19130 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19131 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19132 wine_fn_config_makefile dlls/winscard enable_winscard
19133 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19134 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19135 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19136 wine_fn_config_makefile dlls/winsta enable_winsta
19137 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19138 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19139 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19140 wine_fn_config_makefile dlls/wintrust enable_wintrust
19141 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19142 wine_fn_config_makefile dlls/winusb enable_winusb
19143 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19144 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19145 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19146 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19147 wine_fn_config_makefile dlls/wmasf enable_wmasf
19148 wine_fn_config_makefile dlls/wmi enable_wmi
19149 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19150 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19151 wine_fn_config_makefile dlls/wmp enable_wmp
19152 wine_fn_config_makefile dlls/wmp/tests enable_tests
19153 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19154 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19155 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19156 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19157 wine_fn_config_makefile dlls/wow32 enable_win16
19158 wine_fn_config_makefile dlls/wpc enable_wpc
19159 wine_fn_config_makefile dlls/wpc/tests enable_tests
19160 wine_fn_config_makefile dlls/wpcap enable_wpcap
19161 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19162 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19163 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19164 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19165 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19166 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19167 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19168 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19169 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19170 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19171 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19172 wine_fn_config_makefile dlls/wuapi enable_wuapi
19173 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19174 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19175 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19176 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19177 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19178 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19179 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19180 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19181 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19182 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19183 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19184 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19185 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19186 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19187 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19188 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19189 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19190 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19191 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19192 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19193 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19194 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19195 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19196 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19197 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19198 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19199 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19200 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19201 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19202 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19203 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19204 wine_fn_config_makefile dlls/xmllite enable_xmllite
19205 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19206 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19207 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19208 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19209 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19210 wine_fn_config_makefile include enable_include
19211 wine_fn_config_makefile libs/port enable_port
19212 wine_fn_config_makefile libs/wine enable_wine
19213 wine_fn_config_makefile libs/wpp enable_wpp
19214 wine_fn_config_makefile loader enable_loader
19215 wine_fn_config_makefile po enable_po
19216 wine_fn_config_makefile programs/arp enable_arp
19217 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19218 wine_fn_config_makefile programs/attrib enable_attrib
19219 wine_fn_config_makefile programs/cabarc enable_cabarc
19220 wine_fn_config_makefile programs/cacls enable_cacls
19221 wine_fn_config_makefile programs/clock enable_clock
19222 wine_fn_config_makefile programs/cmd enable_cmd
19223 wine_fn_config_makefile programs/cmd/tests enable_tests
19224 wine_fn_config_makefile programs/conhost enable_conhost
19225 wine_fn_config_makefile programs/control enable_control
19226 wine_fn_config_makefile programs/cscript enable_cscript
19227 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19228 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19229 wine_fn_config_makefile programs/eject enable_eject
19230 wine_fn_config_makefile programs/expand enable_expand
19231 wine_fn_config_makefile programs/explorer enable_explorer
19232 wine_fn_config_makefile programs/extrac32 enable_extrac32
19233 wine_fn_config_makefile programs/findstr enable_findstr
19234 wine_fn_config_makefile programs/fsutil enable_fsutil
19235 wine_fn_config_makefile programs/hh enable_hh
19236 wine_fn_config_makefile programs/hostname enable_hostname
19237 wine_fn_config_makefile programs/icacls enable_icacls
19238 wine_fn_config_makefile programs/icinfo enable_icinfo
19239 wine_fn_config_makefile programs/iexplore enable_iexplore
19240 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19241 wine_fn_config_makefile programs/lodctr enable_lodctr
19242 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19243 wine_fn_config_makefile programs/mshta enable_mshta
19244 wine_fn_config_makefile programs/msiexec enable_msiexec
19245 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19246 wine_fn_config_makefile programs/net enable_net
19247 wine_fn_config_makefile programs/netsh enable_netsh
19248 wine_fn_config_makefile programs/netstat enable_netstat
19249 wine_fn_config_makefile programs/ngen enable_ngen
19250 wine_fn_config_makefile programs/notepad enable_notepad
19251 wine_fn_config_makefile programs/oleview enable_oleview
19252 wine_fn_config_makefile programs/ping enable_ping
19253 wine_fn_config_makefile programs/plugplay enable_plugplay
19254 wine_fn_config_makefile programs/powershell enable_powershell
19255 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19256 wine_fn_config_makefile programs/progman enable_progman
19257 wine_fn_config_makefile programs/reg enable_reg
19258 wine_fn_config_makefile programs/reg/tests enable_tests
19259 wine_fn_config_makefile programs/regasm enable_regasm
19260 wine_fn_config_makefile programs/regedit enable_regedit
19261 wine_fn_config_makefile programs/regedit/tests enable_tests
19262 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19263 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19264 wine_fn_config_makefile programs/rpcss enable_rpcss
19265 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19266 wine_fn_config_makefile programs/rundll32 enable_rundll32
19267 wine_fn_config_makefile programs/sc enable_sc
19268 wine_fn_config_makefile programs/schtasks enable_schtasks
19269 wine_fn_config_makefile programs/schtasks/tests enable_tests
19270 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19271 wine_fn_config_makefile programs/secedit enable_secedit
19272 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19273 wine_fn_config_makefile programs/services enable_services
19274 wine_fn_config_makefile programs/services/tests enable_tests
19275 wine_fn_config_makefile programs/shutdown enable_shutdown
19276 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19277 wine_fn_config_makefile programs/start enable_start
19278 wine_fn_config_makefile programs/subst enable_subst
19279 wine_fn_config_makefile programs/svchost enable_svchost
19280 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19281 wine_fn_config_makefile programs/taskkill enable_taskkill
19282 wine_fn_config_makefile programs/tasklist enable_tasklist
19283 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19284 wine_fn_config_makefile programs/termsv enable_termsv
19285 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19286 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19287 wine_fn_config_makefile programs/view enable_view
19288 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19289 wine_fn_config_makefile programs/wineboot enable_wineboot
19290 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19291 wine_fn_config_makefile programs/winecfg enable_winecfg
19292 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19293 wine_fn_config_makefile programs/winedbg enable_winedbg
19294 wine_fn_config_makefile programs/winedevice enable_winedevice
19295 wine_fn_config_makefile programs/winefile enable_winefile
19296 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19297 wine_fn_config_makefile programs/winemine enable_winemine
19298 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19299 wine_fn_config_makefile programs/winepath enable_winepath
19300 wine_fn_config_makefile programs/winetest enable_winetest
19301 wine_fn_config_makefile programs/winevdm enable_win16
19302 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19303 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19304 wine_fn_config_makefile programs/winmgmt enable_winmgmt
19305 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19306 wine_fn_config_makefile programs/winver enable_winver
19307 wine_fn_config_makefile programs/wmic enable_wmic
19308 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19309 wine_fn_config_makefile programs/wordpad enable_wordpad
19310 wine_fn_config_makefile programs/write enable_write
19311 wine_fn_config_makefile programs/wscript enable_wscript
19312 wine_fn_config_makefile programs/wscript/tests enable_tests
19313 wine_fn_config_makefile programs/wusa enable_wusa
19314 wine_fn_config_makefile programs/xcopy enable_xcopy
19315 wine_fn_config_makefile programs/xcopy/tests enable_tests
19316 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19317 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19318 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19319 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19320 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19321 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19322 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19323 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19324 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19325 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19328 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19329 wine_fn_append_file CONFIGURE_TARGETS "tags"
19330 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19331 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19332 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19333 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19334 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19335 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19337 if test "x$enable_tools" != xno
19338 then
19339 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19340 ac_config_commands="$ac_config_commands tools/makedep"
19344 ac_config_commands="$ac_config_commands Makefile"
19347 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19351 if test "x$enable_maintainer_mode" = xyes
19352 then
19353 wine_fn_append_rule "configure: configure.ac aclocal.m4
19354 autoconf --warnings=all
19355 include/config.h.in: include/stamp-h.in
19356 include/stamp-h.in: configure.ac aclocal.m4
19357 autoheader --warnings=all
19358 @echo timestamp > \$@"
19361 if test "x$enable_tools" != xno
19362 then
19363 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19364 @./config.status tools/makedep
19365 Makefile: tools/makedep$ac_exeext
19366 fonts: tools/sfnt2fon
19367 include: tools tools/widl"
19368 else
19369 wine_fn_append_rule "\$(MAKEDEP):
19370 @echo \"You need to run make in $TOOLSDIR first\" && false"
19373 if test -n "$with_wine64"
19374 then
19375 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19376 fonts server:
19377 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19378 $with_wine64/loader/wine:
19379 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19380 $with_wine64/loader/wine-preloader:
19381 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19382 clean::
19383 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19384 else
19385 WINELOADER_INSTALL="wine.inf l_intl.nls"
19387 case $host_os in
19388 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19389 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19390 esac
19393 $as_echo " done" >&6
19394 cat >confcache <<\_ACEOF
19395 # This file is a shell script that caches the results of configure
19396 # tests run on this system so they can be shared between configure
19397 # scripts and configure runs, see configure's option --config-cache.
19398 # It is not useful on other systems. If it contains results you don't
19399 # want to keep, you may remove or edit it.
19401 # config.status only pays attention to the cache file if you give it
19402 # the --recheck option to rerun configure.
19404 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19405 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19406 # following values.
19408 _ACEOF
19410 # The following way of writing the cache mishandles newlines in values,
19411 # but we know of no workaround that is simple, portable, and efficient.
19412 # So, we kill variables containing newlines.
19413 # Ultrix sh set writes to stderr and can't be redirected directly,
19414 # and sets the high bit in the cache file unless we assign to the vars.
19416 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19417 eval ac_val=\$$ac_var
19418 case $ac_val in #(
19419 *${as_nl}*)
19420 case $ac_var in #(
19421 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19422 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19423 esac
19424 case $ac_var in #(
19425 _ | IFS | as_nl) ;; #(
19426 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19427 *) { eval $ac_var=; unset $ac_var;} ;;
19428 esac ;;
19429 esac
19430 done
19432 (set) 2>&1 |
19433 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19434 *${as_nl}ac_space=\ *)
19435 # `set' does not quote correctly, so add quotes: double-quote
19436 # substitution turns \\\\ into \\, and sed turns \\ into \.
19437 sed -n \
19438 "s/'/'\\\\''/g;
19439 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19440 ;; #(
19442 # `set' quotes correctly as required by POSIX, so do not add quotes.
19443 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19445 esac |
19446 sort
19448 sed '
19449 /^ac_cv_env_/b end
19450 t clear
19451 :clear
19452 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19453 t end
19454 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19455 :end' >>confcache
19456 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19457 if test -w "$cache_file"; then
19458 if test "x$cache_file" != "x/dev/null"; then
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19460 $as_echo "$as_me: updating cache $cache_file" >&6;}
19461 if test ! -f "$cache_file" || test -h "$cache_file"; then
19462 cat confcache >"$cache_file"
19463 else
19464 case $cache_file in #(
19465 */* | ?:*)
19466 mv -f confcache "$cache_file"$$ &&
19467 mv -f "$cache_file"$$ "$cache_file" ;; #(
19469 mv -f confcache "$cache_file" ;;
19470 esac
19473 else
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19475 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19478 rm -f confcache
19480 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19481 # Let make expand exec_prefix.
19482 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19484 DEFS=-DHAVE_CONFIG_H
19486 ac_libobjs=
19487 ac_ltlibobjs=
19489 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19490 # 1. Remove the extension, and $U if already installed.
19491 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19492 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19493 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19494 # will be set to the directory where LIBOBJS objects are built.
19495 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19496 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19497 done
19498 LIBOBJS=$ac_libobjs
19500 LTLIBOBJS=$ac_ltlibobjs
19504 : "${CONFIG_STATUS=./config.status}"
19505 ac_write_fail=0
19506 ac_clean_files_save=$ac_clean_files
19507 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19508 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19509 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19510 as_write_fail=0
19511 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19512 #! $SHELL
19513 # Generated by $as_me.
19514 # Run this file to recreate the current configuration.
19515 # Compiler output produced by configure, useful for debugging
19516 # configure, is in config.log if it exists.
19518 debug=false
19519 ac_cs_recheck=false
19520 ac_cs_silent=false
19522 SHELL=\${CONFIG_SHELL-$SHELL}
19523 export SHELL
19524 _ASEOF
19525 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19526 ## -------------------- ##
19527 ## M4sh Initialization. ##
19528 ## -------------------- ##
19530 # Be more Bourne compatible
19531 DUALCASE=1; export DUALCASE # for MKS sh
19532 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19533 emulate sh
19534 NULLCMD=:
19535 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19536 # is contrary to our usage. Disable this feature.
19537 alias -g '${1+"$@"}'='"$@"'
19538 setopt NO_GLOB_SUBST
19539 else
19540 case `(set -o) 2>/dev/null` in #(
19541 *posix*) :
19542 set -o posix ;; #(
19543 *) :
19545 esac
19549 as_nl='
19551 export as_nl
19552 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19553 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19554 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19555 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19556 # Prefer a ksh shell builtin over an external printf program on Solaris,
19557 # but without wasting forks for bash or zsh.
19558 if test -z "$BASH_VERSION$ZSH_VERSION" \
19559 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19560 as_echo='print -r --'
19561 as_echo_n='print -rn --'
19562 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19563 as_echo='printf %s\n'
19564 as_echo_n='printf %s'
19565 else
19566 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19567 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19568 as_echo_n='/usr/ucb/echo -n'
19569 else
19570 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19571 as_echo_n_body='eval
19572 arg=$1;
19573 case $arg in #(
19574 *"$as_nl"*)
19575 expr "X$arg" : "X\\(.*\\)$as_nl";
19576 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19577 esac;
19578 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19580 export as_echo_n_body
19581 as_echo_n='sh -c $as_echo_n_body as_echo'
19583 export as_echo_body
19584 as_echo='sh -c $as_echo_body as_echo'
19587 # The user is always right.
19588 if test "${PATH_SEPARATOR+set}" != set; then
19589 PATH_SEPARATOR=:
19590 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19591 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19592 PATH_SEPARATOR=';'
19597 # IFS
19598 # We need space, tab and new line, in precisely that order. Quoting is
19599 # there to prevent editors from complaining about space-tab.
19600 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19601 # splitting by setting IFS to empty value.)
19602 IFS=" "" $as_nl"
19604 # Find who we are. Look in the path if we contain no directory separator.
19605 as_myself=
19606 case $0 in #((
19607 *[\\/]* ) as_myself=$0 ;;
19608 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19609 for as_dir in $PATH
19611 IFS=$as_save_IFS
19612 test -z "$as_dir" && as_dir=.
19613 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19614 done
19615 IFS=$as_save_IFS
19618 esac
19619 # We did not find ourselves, most probably we were run as `sh COMMAND'
19620 # in which case we are not to be found in the path.
19621 if test "x$as_myself" = x; then
19622 as_myself=$0
19624 if test ! -f "$as_myself"; then
19625 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19626 exit 1
19629 # Unset variables that we do not need and which cause bugs (e.g. in
19630 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19631 # suppresses any "Segmentation fault" message there. '((' could
19632 # trigger a bug in pdksh 5.2.14.
19633 for as_var in BASH_ENV ENV MAIL MAILPATH
19634 do eval test x\${$as_var+set} = xset \
19635 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19636 done
19637 PS1='$ '
19638 PS2='> '
19639 PS4='+ '
19641 # NLS nuisances.
19642 LC_ALL=C
19643 export LC_ALL
19644 LANGUAGE=C
19645 export LANGUAGE
19647 # CDPATH.
19648 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19651 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19652 # ----------------------------------------
19653 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19654 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19655 # script with STATUS, using 1 if that was 0.
19656 as_fn_error ()
19658 as_status=$1; test $as_status -eq 0 && as_status=1
19659 if test "$4"; then
19660 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19661 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19663 $as_echo "$as_me: error: $2" >&2
19664 as_fn_exit $as_status
19665 } # as_fn_error
19668 # as_fn_set_status STATUS
19669 # -----------------------
19670 # Set $? to STATUS, without forking.
19671 as_fn_set_status ()
19673 return $1
19674 } # as_fn_set_status
19676 # as_fn_exit STATUS
19677 # -----------------
19678 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19679 as_fn_exit ()
19681 set +e
19682 as_fn_set_status $1
19683 exit $1
19684 } # as_fn_exit
19686 # as_fn_unset VAR
19687 # ---------------
19688 # Portably unset VAR.
19689 as_fn_unset ()
19691 { eval $1=; unset $1;}
19693 as_unset=as_fn_unset
19694 # as_fn_append VAR VALUE
19695 # ----------------------
19696 # Append the text in VALUE to the end of the definition contained in VAR. Take
19697 # advantage of any shell optimizations that allow amortized linear growth over
19698 # repeated appends, instead of the typical quadratic growth present in naive
19699 # implementations.
19700 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19701 eval 'as_fn_append ()
19703 eval $1+=\$2
19705 else
19706 as_fn_append ()
19708 eval $1=\$$1\$2
19710 fi # as_fn_append
19712 # as_fn_arith ARG...
19713 # ------------------
19714 # Perform arithmetic evaluation on the ARGs, and store the result in the
19715 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19716 # must be portable across $(()) and expr.
19717 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19718 eval 'as_fn_arith ()
19720 as_val=$(( $* ))
19722 else
19723 as_fn_arith ()
19725 as_val=`expr "$@" || test $? -eq 1`
19727 fi # as_fn_arith
19730 if expr a : '\(a\)' >/dev/null 2>&1 &&
19731 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19732 as_expr=expr
19733 else
19734 as_expr=false
19737 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19738 as_basename=basename
19739 else
19740 as_basename=false
19743 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19744 as_dirname=dirname
19745 else
19746 as_dirname=false
19749 as_me=`$as_basename -- "$0" ||
19750 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19751 X"$0" : 'X\(//\)$' \| \
19752 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19753 $as_echo X/"$0" |
19754 sed '/^.*\/\([^/][^/]*\)\/*$/{
19755 s//\1/
19758 /^X\/\(\/\/\)$/{
19759 s//\1/
19762 /^X\/\(\/\).*/{
19763 s//\1/
19766 s/.*/./; q'`
19768 # Avoid depending upon Character Ranges.
19769 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19770 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19771 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19772 as_cr_digits='0123456789'
19773 as_cr_alnum=$as_cr_Letters$as_cr_digits
19775 ECHO_C= ECHO_N= ECHO_T=
19776 case `echo -n x` in #(((((
19777 -n*)
19778 case `echo 'xy\c'` in
19779 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19780 xy) ECHO_C='\c';;
19781 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19782 ECHO_T=' ';;
19783 esac;;
19785 ECHO_N='-n';;
19786 esac
19788 rm -f conf$$ conf$$.exe conf$$.file
19789 if test -d conf$$.dir; then
19790 rm -f conf$$.dir/conf$$.file
19791 else
19792 rm -f conf$$.dir
19793 mkdir conf$$.dir 2>/dev/null
19795 if (echo >conf$$.file) 2>/dev/null; then
19796 if ln -s conf$$.file conf$$ 2>/dev/null; then
19797 as_ln_s='ln -s'
19798 # ... but there are two gotchas:
19799 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19800 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19801 # In both cases, we have to default to `cp -pR'.
19802 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19803 as_ln_s='cp -pR'
19804 elif ln conf$$.file conf$$ 2>/dev/null; then
19805 as_ln_s=ln
19806 else
19807 as_ln_s='cp -pR'
19809 else
19810 as_ln_s='cp -pR'
19812 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19813 rmdir conf$$.dir 2>/dev/null
19816 # as_fn_mkdir_p
19817 # -------------
19818 # Create "$as_dir" as a directory, including parents if necessary.
19819 as_fn_mkdir_p ()
19822 case $as_dir in #(
19823 -*) as_dir=./$as_dir;;
19824 esac
19825 test -d "$as_dir" || eval $as_mkdir_p || {
19826 as_dirs=
19827 while :; do
19828 case $as_dir in #(
19829 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19830 *) as_qdir=$as_dir;;
19831 esac
19832 as_dirs="'$as_qdir' $as_dirs"
19833 as_dir=`$as_dirname -- "$as_dir" ||
19834 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19835 X"$as_dir" : 'X\(//\)[^/]' \| \
19836 X"$as_dir" : 'X\(//\)$' \| \
19837 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19838 $as_echo X"$as_dir" |
19839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19840 s//\1/
19843 /^X\(\/\/\)[^/].*/{
19844 s//\1/
19847 /^X\(\/\/\)$/{
19848 s//\1/
19851 /^X\(\/\).*/{
19852 s//\1/
19855 s/.*/./; q'`
19856 test -d "$as_dir" && break
19857 done
19858 test -z "$as_dirs" || eval "mkdir $as_dirs"
19859 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19862 } # as_fn_mkdir_p
19863 if mkdir -p . 2>/dev/null; then
19864 as_mkdir_p='mkdir -p "$as_dir"'
19865 else
19866 test -d ./-p && rmdir ./-p
19867 as_mkdir_p=false
19871 # as_fn_executable_p FILE
19872 # -----------------------
19873 # Test if FILE is an executable regular file.
19874 as_fn_executable_p ()
19876 test -f "$1" && test -x "$1"
19877 } # as_fn_executable_p
19878 as_test_x='test -x'
19879 as_executable_p=as_fn_executable_p
19881 # Sed expression to map a string onto a valid CPP name.
19882 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19884 # Sed expression to map a string onto a valid variable name.
19885 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19888 exec 6>&1
19889 ## ----------------------------------- ##
19890 ## Main body of $CONFIG_STATUS script. ##
19891 ## ----------------------------------- ##
19892 _ASEOF
19893 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19896 # Save the log message, to keep $0 and so on meaningful, and to
19897 # report actual input values of CONFIG_FILES etc. instead of their
19898 # values after options handling.
19899 ac_log="
19900 This file was extended by Wine $as_me 3.7, which was
19901 generated by GNU Autoconf 2.69. Invocation command line was
19903 CONFIG_FILES = $CONFIG_FILES
19904 CONFIG_HEADERS = $CONFIG_HEADERS
19905 CONFIG_LINKS = $CONFIG_LINKS
19906 CONFIG_COMMANDS = $CONFIG_COMMANDS
19907 $ $0 $@
19909 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19912 _ACEOF
19914 case $ac_config_files in *"
19915 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19916 esac
19918 case $ac_config_headers in *"
19919 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19920 esac
19923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19924 # Files that config.status was made for.
19925 config_files="$ac_config_files"
19926 config_headers="$ac_config_headers"
19927 config_links="$ac_config_links"
19928 config_commands="$ac_config_commands"
19930 _ACEOF
19932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19933 ac_cs_usage="\
19934 \`$as_me' instantiates files and other configuration actions
19935 from templates according to the current configuration. Unless the files
19936 and actions are specified as TAGs, all are instantiated by default.
19938 Usage: $0 [OPTION]... [TAG]...
19940 -h, --help print this help, then exit
19941 -V, --version print version number and configuration settings, then exit
19942 --config print configuration, then exit
19943 -q, --quiet, --silent
19944 do not print progress messages
19945 -d, --debug don't remove temporary files
19946 --recheck update $as_me by reconfiguring in the same conditions
19947 --file=FILE[:TEMPLATE]
19948 instantiate the configuration file FILE
19949 --header=FILE[:TEMPLATE]
19950 instantiate the configuration header FILE
19952 Configuration files:
19953 $config_files
19955 Configuration headers:
19956 $config_headers
19958 Configuration links:
19959 $config_links
19961 Configuration commands:
19962 $config_commands
19964 Report bugs to <wine-devel@winehq.org>.
19965 Wine home page: <https://www.winehq.org>."
19967 _ACEOF
19968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19969 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19970 ac_cs_version="\\
19971 Wine config.status 3.7
19972 configured by $0, generated by GNU Autoconf 2.69,
19973 with options \\"\$ac_cs_config\\"
19975 Copyright (C) 2012 Free Software Foundation, Inc.
19976 This config.status script is free software; the Free Software Foundation
19977 gives unlimited permission to copy, distribute and modify it."
19979 ac_pwd='$ac_pwd'
19980 srcdir='$srcdir'
19981 test -n "\$AWK" || AWK=awk
19982 _ACEOF
19984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19985 # The default lists apply if the user does not specify any file.
19986 ac_need_defaults=:
19987 while test $# != 0
19989 case $1 in
19990 --*=?*)
19991 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19992 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19993 ac_shift=:
19995 --*=)
19996 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19997 ac_optarg=
19998 ac_shift=:
20001 ac_option=$1
20002 ac_optarg=$2
20003 ac_shift=shift
20005 esac
20007 case $ac_option in
20008 # Handling of the options.
20009 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20010 ac_cs_recheck=: ;;
20011 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20012 $as_echo "$ac_cs_version"; exit ;;
20013 --config | --confi | --conf | --con | --co | --c )
20014 $as_echo "$ac_cs_config"; exit ;;
20015 --debug | --debu | --deb | --de | --d | -d )
20016 debug=: ;;
20017 --file | --fil | --fi | --f )
20018 $ac_shift
20019 case $ac_optarg in
20020 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20021 '') as_fn_error $? "missing file argument" ;;
20022 esac
20023 as_fn_append CONFIG_FILES " '$ac_optarg'"
20024 ac_need_defaults=false;;
20025 --header | --heade | --head | --hea )
20026 $ac_shift
20027 case $ac_optarg in
20028 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20029 esac
20030 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20031 ac_need_defaults=false;;
20032 --he | --h)
20033 # Conflict between --help and --header
20034 as_fn_error $? "ambiguous option: \`$1'
20035 Try \`$0 --help' for more information.";;
20036 --help | --hel | -h )
20037 $as_echo "$ac_cs_usage"; exit ;;
20038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20039 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20040 ac_cs_silent=: ;;
20042 # This is an error.
20043 -*) as_fn_error $? "unrecognized option: \`$1'
20044 Try \`$0 --help' for more information." ;;
20046 *) as_fn_append ac_config_targets " $1"
20047 ac_need_defaults=false ;;
20049 esac
20050 shift
20051 done
20053 ac_configure_extra_args=
20055 if $ac_cs_silent; then
20056 exec 6>/dev/null
20057 ac_configure_extra_args="$ac_configure_extra_args --silent"
20060 _ACEOF
20061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20062 if \$ac_cs_recheck; then
20063 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20064 shift
20065 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20066 CONFIG_SHELL='$SHELL'
20067 export CONFIG_SHELL
20068 exec "\$@"
20071 _ACEOF
20072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20073 exec 5>>config.log
20075 echo
20076 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20077 ## Running $as_me. ##
20078 _ASBOX
20079 $as_echo "$ac_log"
20080 } >&5
20082 _ACEOF
20083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20085 # INIT-COMMANDS
20087 wine_fn_output_makedep ()
20089 as_dir=tools; as_fn_mkdir_p
20090 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20092 wine_fn_output_makefile ()
20094 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20095 `cat $wine_rules_file`
20096 _WINE_EOF
20097 as_fn_error $? "could not create Makefile" "$LINENO" 5
20100 _ACEOF
20102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20104 # Handling of arguments.
20105 for ac_config_target in $ac_config_targets
20107 case $ac_config_target in
20108 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20109 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20110 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20111 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20112 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20113 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20114 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20115 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20116 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20117 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20118 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20119 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20120 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20122 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20123 esac
20124 done
20127 # If the user did not use the arguments to specify the items to instantiate,
20128 # then the envvar interface is used. Set only those that are not.
20129 # We use the long form for the default assignment because of an extremely
20130 # bizarre bug on SunOS 4.1.3.
20131 if $ac_need_defaults; then
20132 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20133 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20134 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20135 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20138 # Have a temporary directory for convenience. Make it in the build tree
20139 # simply because there is no reason against having it here, and in addition,
20140 # creating and moving files from /tmp can sometimes cause problems.
20141 # Hook for its removal unless debugging.
20142 # Note that there is a small window in which the directory will not be cleaned:
20143 # after its creation but before its name has been assigned to `$tmp'.
20144 $debug ||
20146 tmp= ac_tmp=
20147 trap 'exit_status=$?
20148 : "${ac_tmp:=$tmp}"
20149 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20151 trap 'as_fn_exit 1' 1 2 13 15
20153 # Create a (secure) tmp directory for tmp files.
20156 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20157 test -d "$tmp"
20158 } ||
20160 tmp=./conf$$-$RANDOM
20161 (umask 077 && mkdir "$tmp")
20162 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20163 ac_tmp=$tmp
20165 # Set up the scripts for CONFIG_FILES section.
20166 # No need to generate them if there are no CONFIG_FILES.
20167 # This happens for instance with `./config.status config.h'.
20168 if test -n "$CONFIG_FILES"; then
20171 ac_cr=`echo X | tr X '\015'`
20172 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20173 # But we know of no other shell where ac_cr would be empty at this
20174 # point, so we can use a bashism as a fallback.
20175 if test "x$ac_cr" = x; then
20176 eval ac_cr=\$\'\\r\'
20178 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20179 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20180 ac_cs_awk_cr='\\r'
20181 else
20182 ac_cs_awk_cr=$ac_cr
20185 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20186 _ACEOF
20190 echo "cat >conf$$subs.awk <<_ACEOF" &&
20191 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20192 echo "_ACEOF"
20193 } >conf$$subs.sh ||
20194 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20195 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20196 ac_delim='%!_!# '
20197 for ac_last_try in false false false false false :; do
20198 . ./conf$$subs.sh ||
20199 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20201 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20202 if test $ac_delim_n = $ac_delim_num; then
20203 break
20204 elif $ac_last_try; then
20205 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20206 else
20207 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20209 done
20210 rm -f conf$$subs.sh
20212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20213 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20214 _ACEOF
20215 sed -n '
20217 s/^/S["/; s/!.*/"]=/
20220 s/^[^!]*!//
20221 :repl
20222 t repl
20223 s/'"$ac_delim"'$//
20224 t delim
20227 s/\(.\{148\}\)..*/\1/
20228 t more1
20229 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20232 b repl
20233 :more1
20234 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20237 s/.\{148\}//
20238 t nl
20239 :delim
20241 s/\(.\{148\}\)..*/\1/
20242 t more2
20243 s/["\\]/\\&/g; s/^/"/; s/$/"/
20246 :more2
20247 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20250 s/.\{148\}//
20251 t delim
20252 ' <conf$$subs.awk | sed '
20253 /^[^""]/{
20255 s/\n//
20257 ' >>$CONFIG_STATUS || ac_write_fail=1
20258 rm -f conf$$subs.awk
20259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20260 _ACAWK
20261 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20262 for (key in S) S_is_set[key] = 1
20263 FS = "\a"
20267 line = $ 0
20268 nfields = split(line, field, "@")
20269 substed = 0
20270 len = length(field[1])
20271 for (i = 2; i < nfields; i++) {
20272 key = field[i]
20273 keylen = length(key)
20274 if (S_is_set[key]) {
20275 value = S[key]
20276 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20277 len += length(value) + length(field[++i])
20278 substed = 1
20279 } else
20280 len += 1 + keylen
20283 print line
20286 _ACAWK
20287 _ACEOF
20288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20289 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20290 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20291 else
20293 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20294 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20295 _ACEOF
20297 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20298 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20299 # trailing colons and then remove the whole line if VPATH becomes empty
20300 # (actually we leave an empty line to preserve line numbers).
20301 if test "x$srcdir" = x.; then
20302 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20304 s///
20305 s/^/:/
20306 s/[ ]*$/:/
20307 s/:\$(srcdir):/:/g
20308 s/:\${srcdir}:/:/g
20309 s/:@srcdir@:/:/g
20310 s/^:*//
20311 s/:*$//
20313 s/\(=[ ]*\).*/\1/
20315 s/\n//
20316 s/^[^=]*=[ ]*$//
20320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20321 fi # test -n "$CONFIG_FILES"
20323 # Set up the scripts for CONFIG_HEADERS section.
20324 # No need to generate them if there are no CONFIG_HEADERS.
20325 # This happens for instance with `./config.status Makefile'.
20326 if test -n "$CONFIG_HEADERS"; then
20327 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20328 BEGIN {
20329 _ACEOF
20331 # Transform confdefs.h into an awk script `defines.awk', embedded as
20332 # here-document in config.status, that substitutes the proper values into
20333 # config.h.in to produce config.h.
20335 # Create a delimiter string that does not exist in confdefs.h, to ease
20336 # handling of long lines.
20337 ac_delim='%!_!# '
20338 for ac_last_try in false false :; do
20339 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20340 if test -z "$ac_tt"; then
20341 break
20342 elif $ac_last_try; then
20343 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20344 else
20345 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20347 done
20349 # For the awk script, D is an array of macro values keyed by name,
20350 # likewise P contains macro parameters if any. Preserve backslash
20351 # newline sequences.
20353 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20354 sed -n '
20355 s/.\{148\}/&'"$ac_delim"'/g
20356 t rset
20357 :rset
20358 s/^[ ]*#[ ]*define[ ][ ]*/ /
20359 t def
20361 :def
20362 s/\\$//
20363 t bsnl
20364 s/["\\]/\\&/g
20365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20366 D["\1"]=" \3"/p
20367 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20369 :bsnl
20370 s/["\\]/\\&/g
20371 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20372 D["\1"]=" \3\\\\\\n"\\/p
20373 t cont
20374 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20375 t cont
20377 :cont
20379 s/.\{148\}/&'"$ac_delim"'/g
20380 t clear
20381 :clear
20382 s/\\$//
20383 t bsnlc
20384 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20386 :bsnlc
20387 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20388 b cont
20389 ' <confdefs.h | sed '
20390 s/'"$ac_delim"'/"\\\
20391 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20394 for (key in D) D_is_set[key] = 1
20395 FS = "\a"
20397 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20398 line = \$ 0
20399 split(line, arg, " ")
20400 if (arg[1] == "#") {
20401 defundef = arg[2]
20402 mac1 = arg[3]
20403 } else {
20404 defundef = substr(arg[1], 2)
20405 mac1 = arg[2]
20407 split(mac1, mac2, "(") #)
20408 macro = mac2[1]
20409 prefix = substr(line, 1, index(line, defundef) - 1)
20410 if (D_is_set[macro]) {
20411 # Preserve the white space surrounding the "#".
20412 print prefix "define", macro P[macro] D[macro]
20413 next
20414 } else {
20415 # Replace #undef with comments. This is necessary, for example,
20416 # in the case of _POSIX_SOURCE, which is predefined and required
20417 # on some systems where configure will not decide to define it.
20418 if (defundef == "undef") {
20419 print "/*", prefix defundef, macro, "*/"
20420 next
20424 { print }
20425 _ACAWK
20426 _ACEOF
20427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20428 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20429 fi # test -n "$CONFIG_HEADERS"
20432 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20433 shift
20434 for ac_tag
20436 case $ac_tag in
20437 :[FHLC]) ac_mode=$ac_tag; continue;;
20438 esac
20439 case $ac_mode$ac_tag in
20440 :[FHL]*:*);;
20441 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20442 :[FH]-) ac_tag=-:-;;
20443 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20444 esac
20445 ac_save_IFS=$IFS
20446 IFS=:
20447 set x $ac_tag
20448 IFS=$ac_save_IFS
20449 shift
20450 ac_file=$1
20451 shift
20453 case $ac_mode in
20454 :L) ac_source=$1;;
20455 :[FH])
20456 ac_file_inputs=
20457 for ac_f
20459 case $ac_f in
20460 -) ac_f="$ac_tmp/stdin";;
20461 *) # Look for the file first in the build tree, then in the source tree
20462 # (if the path is not absolute). The absolute path cannot be DOS-style,
20463 # because $ac_f cannot contain `:'.
20464 test -f "$ac_f" ||
20465 case $ac_f in
20466 [\\/$]*) false;;
20467 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20468 esac ||
20469 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20470 esac
20471 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20472 as_fn_append ac_file_inputs " '$ac_f'"
20473 done
20475 # Let's still pretend it is `configure' which instantiates (i.e., don't
20476 # use $as_me), people would be surprised to read:
20477 # /* config.h. Generated by config.status. */
20478 configure_input='Generated from '`
20479 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20480 `' by configure.'
20481 if test x"$ac_file" != x-; then
20482 configure_input="$ac_file. $configure_input"
20483 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20484 $as_echo "$as_me: creating $ac_file" >&6;}
20486 # Neutralize special characters interpreted by sed in replacement strings.
20487 case $configure_input in #(
20488 *\&* | *\|* | *\\* )
20489 ac_sed_conf_input=`$as_echo "$configure_input" |
20490 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20491 *) ac_sed_conf_input=$configure_input;;
20492 esac
20494 case $ac_tag in
20495 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20496 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20497 esac
20499 esac
20501 ac_dir=`$as_dirname -- "$ac_file" ||
20502 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20503 X"$ac_file" : 'X\(//\)[^/]' \| \
20504 X"$ac_file" : 'X\(//\)$' \| \
20505 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20506 $as_echo X"$ac_file" |
20507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20508 s//\1/
20511 /^X\(\/\/\)[^/].*/{
20512 s//\1/
20515 /^X\(\/\/\)$/{
20516 s//\1/
20519 /^X\(\/\).*/{
20520 s//\1/
20523 s/.*/./; q'`
20524 as_dir="$ac_dir"; as_fn_mkdir_p
20525 ac_builddir=.
20527 case "$ac_dir" in
20528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20530 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20531 # A ".." for each directory in $ac_dir_suffix.
20532 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20533 case $ac_top_builddir_sub in
20534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20536 esac ;;
20537 esac
20538 ac_abs_top_builddir=$ac_pwd
20539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20540 # for backward compatibility:
20541 ac_top_builddir=$ac_top_build_prefix
20543 case $srcdir in
20544 .) # We are building in place.
20545 ac_srcdir=.
20546 ac_top_srcdir=$ac_top_builddir_sub
20547 ac_abs_top_srcdir=$ac_pwd ;;
20548 [\\/]* | ?:[\\/]* ) # Absolute name.
20549 ac_srcdir=$srcdir$ac_dir_suffix;
20550 ac_top_srcdir=$srcdir
20551 ac_abs_top_srcdir=$srcdir ;;
20552 *) # Relative name.
20553 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20554 ac_top_srcdir=$ac_top_build_prefix$srcdir
20555 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20556 esac
20557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20560 case $ac_mode in
20563 # CONFIG_FILE
20566 _ACEOF
20568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20569 # If the template does not know about datarootdir, expand it.
20570 # FIXME: This hack should be removed a few years after 2.60.
20571 ac_datarootdir_hack=; ac_datarootdir_seen=
20572 ac_sed_dataroot='
20573 /datarootdir/ {
20577 /@datadir@/p
20578 /@docdir@/p
20579 /@infodir@/p
20580 /@localedir@/p
20581 /@mandir@/p'
20582 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20583 *datarootdir*) ac_datarootdir_seen=yes;;
20584 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20586 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20587 _ACEOF
20588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20589 ac_datarootdir_hack='
20590 s&@datadir@&$datadir&g
20591 s&@docdir@&$docdir&g
20592 s&@infodir@&$infodir&g
20593 s&@localedir@&$localedir&g
20594 s&@mandir@&$mandir&g
20595 s&\\\${datarootdir}&$datarootdir&g' ;;
20596 esac
20597 _ACEOF
20599 # Neutralize VPATH when `$srcdir' = `.'.
20600 # Shell code in configure.ac might set extrasub.
20601 # FIXME: do we really want to maintain this feature?
20602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20603 ac_sed_extra="$ac_vpsub
20604 $extrasub
20605 _ACEOF
20606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20608 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20609 s|@configure_input@|$ac_sed_conf_input|;t t
20610 s&@top_builddir@&$ac_top_builddir_sub&;t t
20611 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20612 s&@srcdir@&$ac_srcdir&;t t
20613 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20614 s&@top_srcdir@&$ac_top_srcdir&;t t
20615 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20616 s&@builddir@&$ac_builddir&;t t
20617 s&@abs_builddir@&$ac_abs_builddir&;t t
20618 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20619 $ac_datarootdir_hack
20621 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20622 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20624 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20625 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20626 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20627 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20629 which seems to be undefined. Please make sure it is defined" >&5
20630 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20631 which seems to be undefined. Please make sure it is defined" >&2;}
20633 rm -f "$ac_tmp/stdin"
20634 case $ac_file in
20635 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20636 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20637 esac \
20638 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20642 # CONFIG_HEADER
20644 if test x"$ac_file" != x-; then
20646 $as_echo "/* $configure_input */" \
20647 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20648 } >"$ac_tmp/config.h" \
20649 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20650 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20651 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20652 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20653 else
20654 rm -f "$ac_file"
20655 mv "$ac_tmp/config.h" "$ac_file" \
20656 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20658 else
20659 $as_echo "/* $configure_input */" \
20660 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20661 || as_fn_error $? "could not create -" "$LINENO" 5
20666 # CONFIG_LINK
20669 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20671 else
20672 # Prefer the file from the source tree if names are identical.
20673 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20674 ac_source=$srcdir/$ac_source
20677 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20678 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20680 if test ! -r "$ac_source"; then
20681 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20683 rm -f "$ac_file"
20685 # Try a relative symlink, then a hard link, then a copy.
20686 case $ac_source in
20687 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20688 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20689 esac
20690 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20691 ln "$ac_source" "$ac_file" 2>/dev/null ||
20692 cp -p "$ac_source" "$ac_file" ||
20693 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20696 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20697 $as_echo "$as_me: executing $ac_file commands" >&6;}
20699 esac
20702 case $ac_file$ac_mode in
20703 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20704 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20705 "Makefile":C) wine_fn_output_makefile Makefile ;;
20707 esac
20708 done # for ac_tag
20711 as_fn_exit 0
20712 _ACEOF
20713 ac_clean_files=$ac_clean_files_save
20715 test $ac_write_fail = 0 ||
20716 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20719 # configure is writing to config.log, and then calls config.status.
20720 # config.status does its own redirection, appending to config.log.
20721 # Unfortunately, on DOS this fails, as config.log is still kept open
20722 # by configure, so config.status won't be able to write to it; its
20723 # output is simply discarded. So we exec the FD to /dev/null,
20724 # effectively closing config.log, so it can be properly (re)opened and
20725 # appended to by config.status. When coming back to configure, we
20726 # need to make the FD available again.
20727 if test "$no_create" != yes; then
20728 ac_cs_success=:
20729 ac_config_status_args=
20730 test "$silent" = yes &&
20731 ac_config_status_args="$ac_config_status_args --quiet"
20732 exec 5>/dev/null
20733 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20734 exec 5>>config.log
20735 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20736 # would make configure fail if this is the last instruction.
20737 $ac_cs_success || as_fn_exit 1
20739 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20741 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20745 if test "$no_create" = "yes"
20746 then
20747 exit 0
20750 ac_save_IFS="$IFS"
20751 if test "x$wine_notices" != x; then
20752 echo >&6
20753 IFS="|"
20754 for msg in $wine_notices; do
20755 IFS="$ac_save_IFS"
20756 if ${msg:+false} :; then :
20758 else
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20760 $as_echo "$as_me: $msg" >&6;}
20762 done
20764 IFS="|"
20765 for msg in $wine_warnings; do
20766 IFS="$ac_save_IFS"
20767 if ${msg:+false} :; then :
20769 else
20770 echo >&2
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20772 $as_echo "$as_me: WARNING: $msg" >&2;}
20774 done
20775 IFS="$ac_save_IFS"
20777 $as_echo "
20778 $as_me: Finished. Do '${ac_make}' to compile Wine.
20779 " >&6