gdi32: Check that emf records are within the file.
[wine.git] / configure
blob30d53da48379e906253903425dbd34f425a05a5b
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_atmlib
1111 enable_authz
1112 enable_avicap32
1113 enable_avifil32
1114 enable_avrt
1115 enable_bcrypt
1116 enable_bluetoothapis
1117 enable_browseui
1118 enable_bthprops_cpl
1119 enable_cabinet
1120 enable_capi2032
1121 enable_cards
1122 enable_cdosys
1123 enable_cfgmgr32
1124 enable_clusapi
1125 enable_combase
1126 enable_comcat
1127 enable_comctl32
1128 enable_comdlg32
1129 enable_compstui
1130 enable_comsvcs
1131 enable_concrt140
1132 enable_connect
1133 enable_credui
1134 enable_crtdll
1135 enable_crypt32
1136 enable_cryptdlg
1137 enable_cryptdll
1138 enable_cryptext
1139 enable_cryptnet
1140 enable_cryptui
1141 enable_ctapi32
1142 enable_ctl3d32
1143 enable_d2d1
1144 enable_d3d10
1145 enable_d3d10_1
1146 enable_d3d10core
1147 enable_d3d11
1148 enable_d3d12
1149 enable_d3d8
1150 enable_d3d9
1151 enable_d3dcompiler_33
1152 enable_d3dcompiler_34
1153 enable_d3dcompiler_35
1154 enable_d3dcompiler_36
1155 enable_d3dcompiler_37
1156 enable_d3dcompiler_38
1157 enable_d3dcompiler_39
1158 enable_d3dcompiler_40
1159 enable_d3dcompiler_41
1160 enable_d3dcompiler_42
1161 enable_d3dcompiler_43
1162 enable_d3dcompiler_46
1163 enable_d3dcompiler_47
1164 enable_d3dim
1165 enable_d3drm
1166 enable_d3dx10_33
1167 enable_d3dx10_34
1168 enable_d3dx10_35
1169 enable_d3dx10_36
1170 enable_d3dx10_37
1171 enable_d3dx10_38
1172 enable_d3dx10_39
1173 enable_d3dx10_40
1174 enable_d3dx10_41
1175 enable_d3dx10_42
1176 enable_d3dx10_43
1177 enable_d3dx11_42
1178 enable_d3dx11_43
1179 enable_d3dx9_24
1180 enable_d3dx9_25
1181 enable_d3dx9_26
1182 enable_d3dx9_27
1183 enable_d3dx9_28
1184 enable_d3dx9_29
1185 enable_d3dx9_30
1186 enable_d3dx9_31
1187 enable_d3dx9_32
1188 enable_d3dx9_33
1189 enable_d3dx9_34
1190 enable_d3dx9_35
1191 enable_d3dx9_36
1192 enable_d3dx9_37
1193 enable_d3dx9_38
1194 enable_d3dx9_39
1195 enable_d3dx9_40
1196 enable_d3dx9_41
1197 enable_d3dx9_42
1198 enable_d3dx9_43
1199 enable_d3dxof
1200 enable_davclnt
1201 enable_dbgeng
1202 enable_dbghelp
1203 enable_dciman32
1204 enable_ddraw
1205 enable_ddrawex
1206 enable_devenum
1207 enable_dhcpcsvc
1208 enable_dhtmled_ocx
1209 enable_difxapi
1210 enable_dinput
1211 enable_dinput8
1212 enable_dispex
1213 enable_dmband
1214 enable_dmcompos
1215 enable_dmime
1216 enable_dmloader
1217 enable_dmoguids
1218 enable_dmscript
1219 enable_dmstyle
1220 enable_dmsynth
1221 enable_dmusic
1222 enable_dmusic32
1223 enable_dnsapi
1224 enable_dplay
1225 enable_dplayx
1226 enable_dpnaddr
1227 enable_dpnet
1228 enable_dpnhpast
1229 enable_dpnlobby
1230 enable_dpvoice
1231 enable_dpwsockx
1232 enable_drmclien
1233 enable_dsound
1234 enable_dsquery
1235 enable_dssenh
1236 enable_dswave
1237 enable_dwmapi
1238 enable_dwrite
1239 enable_dx8vb
1240 enable_dxdiagn
1241 enable_dxerr8
1242 enable_dxerr9
1243 enable_dxgi
1244 enable_dxguid
1245 enable_dxva2
1246 enable_esent
1247 enable_evr
1248 enable_explorerframe
1249 enable_ext_ms_win_authz_context_l1_1_0
1250 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1251 enable_ext_ms_win_dwmapi_ext_l1_1_0
1252 enable_ext_ms_win_gdi_dc_create_l1_1_1
1253 enable_ext_ms_win_gdi_dc_l1_2_0
1254 enable_ext_ms_win_gdi_devcaps_l1_1_0
1255 enable_ext_ms_win_gdi_draw_l1_1_1
1256 enable_ext_ms_win_gdi_render_l1_1_0
1257 enable_ext_ms_win_kernel32_package_current_l1_1_0
1258 enable_ext_ms_win_kernel32_package_l1_1_1
1259 enable_ext_ms_win_ntuser_draw_l1_1_0
1260 enable_ext_ms_win_ntuser_gui_l1_3_0
1261 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1262 enable_ext_ms_win_ntuser_message_l1_1_1
1263 enable_ext_ms_win_ntuser_misc_l1_5_1
1264 enable_ext_ms_win_ntuser_mouse_l1_1_0
1265 enable_ext_ms_win_ntuser_private_l1_1_1
1266 enable_ext_ms_win_ntuser_private_l1_3_1
1267 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1268 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1269 enable_ext_ms_win_ntuser_window_l1_1_1
1270 enable_ext_ms_win_ntuser_window_l1_1_4
1271 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1272 enable_ext_ms_win_oleacc_l1_1_0
1273 enable_ext_ms_win_ras_rasapi32_l1_1_0
1274 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1275 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1276 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1277 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1278 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1279 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1280 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1281 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1282 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1283 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1284 enable_ext_ms_win_security_credui_l1_1_0
1285 enable_ext_ms_win_security_cryptui_l1_1_0
1286 enable_faultrep
1287 enable_fltlib
1288 enable_fltmgr_sys
1289 enable_fntcache
1290 enable_fontsub
1291 enable_fusion
1292 enable_fwpuclnt
1293 enable_gameux
1294 enable_gdi32
1295 enable_gdiplus
1296 enable_glu32
1297 enable_gphoto2_ds
1298 enable_gpkcsp
1299 enable_hal
1300 enable_hhctrl_ocx
1301 enable_hid
1302 enable_hidclass_sys
1303 enable_hlink
1304 enable_hnetcfg
1305 enable_httpapi
1306 enable_iccvid
1307 enable_icmp
1308 enable_ieframe
1309 enable_ieproxy
1310 enable_imaadp32_acm
1311 enable_imagehlp
1312 enable_imm32
1313 enable_inetcomm
1314 enable_inetcpl_cpl
1315 enable_inetmib1
1316 enable_infosoft
1317 enable_initpki
1318 enable_inkobj
1319 enable_inseng
1320 enable_iphlpapi
1321 enable_iprop
1322 enable_irprops_cpl
1323 enable_itircl
1324 enable_itss
1325 enable_joy_cpl
1326 enable_jscript
1327 enable_jsproxy
1328 enable_kerberos
1329 enable_kernel32
1330 enable_kernelbase
1331 enable_ksuser
1332 enable_ktmw32
1333 enable_l3codeca_acm
1334 enable_loadperf
1335 enable_localspl
1336 enable_localui
1337 enable_lz32
1338 enable_mapi32
1339 enable_mapistub
1340 enable_mciavi32
1341 enable_mcicda
1342 enable_mciqtz32
1343 enable_mciseq
1344 enable_mciwave
1345 enable_mf
1346 enable_mf3216
1347 enable_mfplat
1348 enable_mfreadwrite
1349 enable_mfuuid
1350 enable_mgmtapi
1351 enable_midimap
1352 enable_mlang
1353 enable_mmcndmgr
1354 enable_mmdevapi
1355 enable_mountmgr_sys
1356 enable_mpr
1357 enable_mprapi
1358 enable_msacm32_drv
1359 enable_msacm32
1360 enable_msadp32_acm
1361 enable_msasn1
1362 enable_mscat32
1363 enable_mscms
1364 enable_mscoree
1365 enable_msctf
1366 enable_msctfp
1367 enable_msdaps
1368 enable_msdelta
1369 enable_msdmo
1370 enable_msdrm
1371 enable_msftedit
1372 enable_msg711_acm
1373 enable_msgsm32_acm
1374 enable_mshtml_tlb
1375 enable_mshtml
1376 enable_msi
1377 enable_msident
1378 enable_msimg32
1379 enable_msimsg
1380 enable_msimtf
1381 enable_msisip
1382 enable_msisys_ocx
1383 enable_msls31
1384 enable_msnet32
1385 enable_mspatcha
1386 enable_msports
1387 enable_msrle32
1388 enable_msscript_ocx
1389 enable_mssign32
1390 enable_mssip32
1391 enable_mstask
1392 enable_msvcirt
1393 enable_msvcm80
1394 enable_msvcm90
1395 enable_msvcp100
1396 enable_msvcp110
1397 enable_msvcp120
1398 enable_msvcp120_app
1399 enable_msvcp140
1400 enable_msvcp60
1401 enable_msvcp70
1402 enable_msvcp71
1403 enable_msvcp80
1404 enable_msvcp90
1405 enable_msvcr100
1406 enable_msvcr110
1407 enable_msvcr120
1408 enable_msvcr120_app
1409 enable_msvcr70
1410 enable_msvcr71
1411 enable_msvcr80
1412 enable_msvcr90
1413 enable_msvcrt
1414 enable_msvcrt20
1415 enable_msvcrt40
1416 enable_msvcrtd
1417 enable_msvfw32
1418 enable_msvidc32
1419 enable_mswsock
1420 enable_msxml
1421 enable_msxml2
1422 enable_msxml3
1423 enable_msxml4
1424 enable_msxml6
1425 enable_mtxdm
1426 enable_ncrypt
1427 enable_nddeapi
1428 enable_ndis_sys
1429 enable_netapi32
1430 enable_netcfgx
1431 enable_netprofm
1432 enable_newdev
1433 enable_ninput
1434 enable_normaliz
1435 enable_npmshtml
1436 enable_npptools
1437 enable_ntdll
1438 enable_ntdsapi
1439 enable_ntoskrnl_exe
1440 enable_ntprint
1441 enable_objsel
1442 enable_odbc32
1443 enable_odbccp32
1444 enable_odbccu32
1445 enable_ole32
1446 enable_oleacc
1447 enable_oleaut32
1448 enable_olecli32
1449 enable_oledb32
1450 enable_oledlg
1451 enable_olepro32
1452 enable_olesvr32
1453 enable_olethk32
1454 enable_openal32
1455 enable_opencl
1456 enable_opengl32
1457 enable_packager
1458 enable_pdh
1459 enable_photometadatahandler
1460 enable_pidgen
1461 enable_powrprof
1462 enable_printui
1463 enable_prntvpt
1464 enable_propsys
1465 enable_psapi
1466 enable_pstorec
1467 enable_qcap
1468 enable_qedit
1469 enable_qmgr
1470 enable_qmgrprxy
1471 enable_quartz
1472 enable_query
1473 enable_rasapi32
1474 enable_rasdlg
1475 enable_regapi
1476 enable_resutils
1477 enable_riched20
1478 enable_riched32
1479 enable_rpcrt4
1480 enable_rsabase
1481 enable_rsaenh
1482 enable_rstrtmgr
1483 enable_rtutils
1484 enable_samlib
1485 enable_sane_ds
1486 enable_sapi
1487 enable_sas
1488 enable_scarddlg
1489 enable_sccbase
1490 enable_schannel
1491 enable_schedsvc
1492 enable_scrobj
1493 enable_scrrun
1494 enable_scsiport_sys
1495 enable_secur32
1496 enable_security
1497 enable_sensapi
1498 enable_serialui
1499 enable_setupapi
1500 enable_sfc
1501 enable_sfc_os
1502 enable_shcore
1503 enable_shdoclc
1504 enable_shdocvw
1505 enable_shell32
1506 enable_shfolder
1507 enable_shlwapi
1508 enable_slbcsp
1509 enable_slc
1510 enable_snmpapi
1511 enable_softpub
1512 enable_spoolss
1513 enable_srclient
1514 enable_sspicli
1515 enable_stdole2_tlb
1516 enable_stdole32_tlb
1517 enable_sti
1518 enable_strmbase
1519 enable_strmdll
1520 enable_strmiids
1521 enable_svrapi
1522 enable_sxs
1523 enable_t2embed
1524 enable_tapi32
1525 enable_taskschd
1526 enable_tdh
1527 enable_tdi_sys
1528 enable_traffic
1529 enable_twain_32
1530 enable_ucrtbase
1531 enable_uiautomationcore
1532 enable_uiribbon
1533 enable_unicows
1534 enable_updspapi
1535 enable_url
1536 enable_urlmon
1537 enable_usbd_sys
1538 enable_user32
1539 enable_userenv
1540 enable_usp10
1541 enable_uuid
1542 enable_uxtheme
1543 enable_vbscript
1544 enable_vcomp
1545 enable_vcomp100
1546 enable_vcomp110
1547 enable_vcomp120
1548 enable_vcomp140
1549 enable_vcomp90
1550 enable_vcruntime140
1551 enable_vdmdbg
1552 enable_version
1553 enable_virtdisk
1554 enable_vssapi
1555 enable_vulkan_1
1556 enable_wbemdisp
1557 enable_wbemprox
1558 enable_wdscore
1559 enable_webservices
1560 enable_wer
1561 enable_wevtapi
1562 enable_wiaservc
1563 enable_wimgapi
1564 enable_windowscodecs
1565 enable_windowscodecsext
1566 enable_winealsa_drv
1567 enable_wineandroid_drv
1568 enable_winebus_sys
1569 enable_winecoreaudio_drv
1570 enable_winecrt0
1571 enable_wined3d
1572 enable_winegstreamer
1573 enable_winehid_sys
1574 enable_winejoystick_drv
1575 enable_winemac_drv
1576 enable_winemapi
1577 enable_wineoss_drv
1578 enable_wineps_drv
1579 enable_winepulse_drv
1580 enable_wineqtdecoder
1581 enable_winevulkan
1582 enable_winex11_drv
1583 enable_wing32
1584 enable_winhttp
1585 enable_wininet
1586 enable_winmm
1587 enable_winnls32
1588 enable_winscard
1589 enable_winspool_drv
1590 enable_winsta
1591 enable_wintab32
1592 enable_wintrust
1593 enable_winusb
1594 enable_wlanapi
1595 enable_wldap32
1596 enable_wmasf
1597 enable_wmi
1598 enable_wmiutils
1599 enable_wmp
1600 enable_wmphoto
1601 enable_wmvcore
1602 enable_wnaspi32
1603 enable_wpc
1604 enable_wpcap
1605 enable_ws2_32
1606 enable_wsdapi
1607 enable_wshom_ocx
1608 enable_wsnmp32
1609 enable_wsock32
1610 enable_wtsapi32
1611 enable_wuapi
1612 enable_wuaueng
1613 enable_x3daudio1_0
1614 enable_x3daudio1_1
1615 enable_x3daudio1_2
1616 enable_x3daudio1_3
1617 enable_x3daudio1_4
1618 enable_x3daudio1_5
1619 enable_x3daudio1_6
1620 enable_x3daudio1_7
1621 enable_xapofx1_1
1622 enable_xapofx1_2
1623 enable_xapofx1_3
1624 enable_xapofx1_4
1625 enable_xapofx1_5
1626 enable_xaudio2_0
1627 enable_xaudio2_1
1628 enable_xaudio2_2
1629 enable_xaudio2_3
1630 enable_xaudio2_4
1631 enable_xaudio2_5
1632 enable_xaudio2_6
1633 enable_xaudio2_7
1634 enable_xaudio2_8
1635 enable_xaudio2_9
1636 enable_xinput1_1
1637 enable_xinput1_2
1638 enable_xinput1_3
1639 enable_xinput1_4
1640 enable_xinput9_1_0
1641 enable_xmllite
1642 enable_xolehlp
1643 enable_xpsprint
1644 enable_xpssvcs
1645 enable_fonts
1646 enable_include
1647 enable_port
1648 enable_wine
1649 enable_wpp
1650 enable_loader
1651 enable_po
1652 enable_arp
1653 enable_aspnet_regiis
1654 enable_attrib
1655 enable_cabarc
1656 enable_cacls
1657 enable_clock
1658 enable_cmd
1659 enable_conhost
1660 enable_control
1661 enable_cscript
1662 enable_dpnsvr
1663 enable_dxdiag
1664 enable_eject
1665 enable_expand
1666 enable_explorer
1667 enable_extrac32
1668 enable_findstr
1669 enable_fsutil
1670 enable_hh
1671 enable_hostname
1672 enable_icacls
1673 enable_icinfo
1674 enable_iexplore
1675 enable_ipconfig
1676 enable_lodctr
1677 enable_mofcomp
1678 enable_mshta
1679 enable_msiexec
1680 enable_msinfo32
1681 enable_net
1682 enable_netsh
1683 enable_netstat
1684 enable_ngen
1685 enable_notepad
1686 enable_oleview
1687 enable_ping
1688 enable_plugplay
1689 enable_powershell
1690 enable_presentationfontcache
1691 enable_progman
1692 enable_reg
1693 enable_regasm
1694 enable_regedit
1695 enable_regsvcs
1696 enable_regsvr32
1697 enable_rpcss
1698 enable_rundll32
1699 enable_sc
1700 enable_schtasks
1701 enable_sdbinst
1702 enable_secedit
1703 enable_servicemodelreg
1704 enable_services
1705 enable_shutdown
1706 enable_spoolsv
1707 enable_start
1708 enable_subst
1709 enable_svchost
1710 enable_systeminfo
1711 enable_taskkill
1712 enable_tasklist
1713 enable_taskmgr
1714 enable_termsv
1715 enable_uninstaller
1716 enable_unlodctr
1717 enable_view
1718 enable_wevtutil
1719 enable_wineboot
1720 enable_winebrowser
1721 enable_winecfg
1722 enable_wineconsole
1723 enable_winedbg
1724 enable_winedevice
1725 enable_winefile
1726 enable_winemenubuilder
1727 enable_winemine
1728 enable_winemsibuilder
1729 enable_winepath
1730 enable_winetest
1731 enable_winhlp32
1732 enable_winmgmt
1733 enable_winver
1734 enable_wmic
1735 enable_wmplayer
1736 enable_wordpad
1737 enable_write
1738 enable_wscript
1739 enable_wusa
1740 enable_xcopy
1741 enable_server
1742 enable_tools
1743 enable_sfnt2fon
1744 enable_widl
1745 enable_winebuild
1746 enable_winedump
1747 enable_winegcc
1748 enable_winemaker
1749 enable_wmc
1750 enable_wrc
1752 ac_precious_vars='build_alias
1753 host_alias
1754 target_alias
1756 CFLAGS
1757 LDFLAGS
1758 LIBS
1759 CPPFLAGS
1761 CXXFLAGS
1764 XMKMF
1765 XML2_CFLAGS
1766 XML2_LIBS
1767 XSLT_CFLAGS
1768 XSLT_LIBS
1769 DBUS_CFLAGS
1770 DBUS_LIBS
1771 HAL_CFLAGS
1772 HAL_LIBS
1773 GNUTLS_CFLAGS
1774 GNUTLS_LIBS
1775 SANE_CFLAGS
1776 SANE_LIBS
1777 GPHOTO2_CFLAGS
1778 GPHOTO2_LIBS
1779 GPHOTO2_PORT_CFLAGS
1780 GPHOTO2_PORT_LIBS
1781 LCMS2_CFLAGS
1782 LCMS2_LIBS
1783 FREETYPE_CFLAGS
1784 FREETYPE_LIBS
1785 PULSE_CFLAGS
1786 PULSE_LIBS
1787 GSTREAMER_CFLAGS
1788 GSTREAMER_LIBS
1789 UDEV_CFLAGS
1790 UDEV_LIBS
1791 SDL2_CFLAGS
1792 SDL2_LIBS
1793 CAPI20_CFLAGS
1794 CAPI20_LIBS
1795 CUPS_CFLAGS
1796 CUPS_LIBS
1797 FONTCONFIG_CFLAGS
1798 FONTCONFIG_LIBS
1799 KRB5_CFLAGS
1800 KRB5_LIBS
1801 GSSAPI_CFLAGS
1802 GSSAPI_LIBS
1803 JPEG_CFLAGS
1804 JPEG_LIBS
1805 PNG_CFLAGS
1806 PNG_LIBS
1807 TIFF_CFLAGS
1808 TIFF_LIBS
1809 MPG123_CFLAGS
1810 MPG123_LIBS
1811 NETAPI_CFLAGS
1812 NETAPI_LIBS
1813 LDAP_CFLAGS
1814 LDAP_LIBS'
1817 # Initialize some variables set by options.
1818 ac_init_help=
1819 ac_init_version=false
1820 ac_unrecognized_opts=
1821 ac_unrecognized_sep=
1822 # The variables have the same names as the options, with
1823 # dashes changed to underlines.
1824 cache_file=/dev/null
1825 exec_prefix=NONE
1826 no_create=
1827 no_recursion=
1828 prefix=NONE
1829 program_prefix=NONE
1830 program_suffix=NONE
1831 program_transform_name=s,x,x,
1832 silent=
1833 site=
1834 srcdir=
1835 verbose=
1836 x_includes=NONE
1837 x_libraries=NONE
1839 # Installation directory options.
1840 # These are left unexpanded so users can "make install exec_prefix=/foo"
1841 # and all the variables that are supposed to be based on exec_prefix
1842 # by default will actually change.
1843 # Use braces instead of parens because sh, perl, etc. also accept them.
1844 # (The list follows the same order as the GNU Coding Standards.)
1845 bindir='${exec_prefix}/bin'
1846 sbindir='${exec_prefix}/sbin'
1847 libexecdir='${exec_prefix}/libexec'
1848 datarootdir='${prefix}/share'
1849 datadir='${datarootdir}'
1850 sysconfdir='${prefix}/etc'
1851 sharedstatedir='${prefix}/com'
1852 localstatedir='${prefix}/var'
1853 runstatedir='${localstatedir}/run'
1854 includedir='${prefix}/include'
1855 oldincludedir='/usr/include'
1856 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1857 infodir='${datarootdir}/info'
1858 htmldir='${docdir}'
1859 dvidir='${docdir}'
1860 pdfdir='${docdir}'
1861 psdir='${docdir}'
1862 libdir='${exec_prefix}/lib'
1863 localedir='${datarootdir}/locale'
1864 mandir='${datarootdir}/man'
1866 ac_prev=
1867 ac_dashdash=
1868 for ac_option
1870 # If the previous option needs an argument, assign it.
1871 if test -n "$ac_prev"; then
1872 eval $ac_prev=\$ac_option
1873 ac_prev=
1874 continue
1877 case $ac_option in
1878 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1879 *=) ac_optarg= ;;
1880 *) ac_optarg=yes ;;
1881 esac
1883 # Accept the important Cygnus configure options, so we can diagnose typos.
1885 case $ac_dashdash$ac_option in
1887 ac_dashdash=yes ;;
1889 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1890 ac_prev=bindir ;;
1891 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1892 bindir=$ac_optarg ;;
1894 -build | --build | --buil | --bui | --bu)
1895 ac_prev=build_alias ;;
1896 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1897 build_alias=$ac_optarg ;;
1899 -cache-file | --cache-file | --cache-fil | --cache-fi \
1900 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1901 ac_prev=cache_file ;;
1902 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1903 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1904 cache_file=$ac_optarg ;;
1906 --config-cache | -C)
1907 cache_file=config.cache ;;
1909 -datadir | --datadir | --datadi | --datad)
1910 ac_prev=datadir ;;
1911 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1912 datadir=$ac_optarg ;;
1914 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1915 | --dataroo | --dataro | --datar)
1916 ac_prev=datarootdir ;;
1917 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1918 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1919 datarootdir=$ac_optarg ;;
1921 -disable-* | --disable-*)
1922 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1923 # Reject names that are not valid shell variable names.
1924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1925 as_fn_error $? "invalid feature name: $ac_useropt"
1926 ac_useropt_orig=$ac_useropt
1927 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1928 case $ac_user_opts in
1930 "enable_$ac_useropt"
1931 "*) ;;
1932 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1933 ac_unrecognized_sep=', ';;
1934 esac
1935 eval enable_$ac_useropt=no ;;
1937 -docdir | --docdir | --docdi | --doc | --do)
1938 ac_prev=docdir ;;
1939 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1940 docdir=$ac_optarg ;;
1942 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1943 ac_prev=dvidir ;;
1944 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1945 dvidir=$ac_optarg ;;
1947 -enable-* | --enable-*)
1948 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1949 # Reject names that are not valid shell variable names.
1950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1951 as_fn_error $? "invalid feature name: $ac_useropt"
1952 ac_useropt_orig=$ac_useropt
1953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1954 case $ac_user_opts in
1956 "enable_$ac_useropt"
1957 "*) ;;
1958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1959 ac_unrecognized_sep=', ';;
1960 esac
1961 eval enable_$ac_useropt=\$ac_optarg ;;
1963 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1964 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1965 | --exec | --exe | --ex)
1966 ac_prev=exec_prefix ;;
1967 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1968 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1969 | --exec=* | --exe=* | --ex=*)
1970 exec_prefix=$ac_optarg ;;
1972 -gas | --gas | --ga | --g)
1973 # Obsolete; use --with-gas.
1974 with_gas=yes ;;
1976 -help | --help | --hel | --he | -h)
1977 ac_init_help=long ;;
1978 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1979 ac_init_help=recursive ;;
1980 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1981 ac_init_help=short ;;
1983 -host | --host | --hos | --ho)
1984 ac_prev=host_alias ;;
1985 -host=* | --host=* | --hos=* | --ho=*)
1986 host_alias=$ac_optarg ;;
1988 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1989 ac_prev=htmldir ;;
1990 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1991 | --ht=*)
1992 htmldir=$ac_optarg ;;
1994 -includedir | --includedir | --includedi | --included | --include \
1995 | --includ | --inclu | --incl | --inc)
1996 ac_prev=includedir ;;
1997 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1998 | --includ=* | --inclu=* | --incl=* | --inc=*)
1999 includedir=$ac_optarg ;;
2001 -infodir | --infodir | --infodi | --infod | --info | --inf)
2002 ac_prev=infodir ;;
2003 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2004 infodir=$ac_optarg ;;
2006 -libdir | --libdir | --libdi | --libd)
2007 ac_prev=libdir ;;
2008 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2009 libdir=$ac_optarg ;;
2011 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2012 | --libexe | --libex | --libe)
2013 ac_prev=libexecdir ;;
2014 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2015 | --libexe=* | --libex=* | --libe=*)
2016 libexecdir=$ac_optarg ;;
2018 -localedir | --localedir | --localedi | --localed | --locale)
2019 ac_prev=localedir ;;
2020 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2021 localedir=$ac_optarg ;;
2023 -localstatedir | --localstatedir | --localstatedi | --localstated \
2024 | --localstate | --localstat | --localsta | --localst | --locals)
2025 ac_prev=localstatedir ;;
2026 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2027 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2028 localstatedir=$ac_optarg ;;
2030 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2031 ac_prev=mandir ;;
2032 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2033 mandir=$ac_optarg ;;
2035 -nfp | --nfp | --nf)
2036 # Obsolete; use --without-fp.
2037 with_fp=no ;;
2039 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2040 | --no-cr | --no-c | -n)
2041 no_create=yes ;;
2043 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2044 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2045 no_recursion=yes ;;
2047 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2048 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2049 | --oldin | --oldi | --old | --ol | --o)
2050 ac_prev=oldincludedir ;;
2051 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2052 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2053 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2054 oldincludedir=$ac_optarg ;;
2056 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2057 ac_prev=prefix ;;
2058 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2059 prefix=$ac_optarg ;;
2061 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2062 | --program-pre | --program-pr | --program-p)
2063 ac_prev=program_prefix ;;
2064 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2065 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2066 program_prefix=$ac_optarg ;;
2068 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2069 | --program-suf | --program-su | --program-s)
2070 ac_prev=program_suffix ;;
2071 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2072 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2073 program_suffix=$ac_optarg ;;
2075 -program-transform-name | --program-transform-name \
2076 | --program-transform-nam | --program-transform-na \
2077 | --program-transform-n | --program-transform- \
2078 | --program-transform | --program-transfor \
2079 | --program-transfo | --program-transf \
2080 | --program-trans | --program-tran \
2081 | --progr-tra | --program-tr | --program-t)
2082 ac_prev=program_transform_name ;;
2083 -program-transform-name=* | --program-transform-name=* \
2084 | --program-transform-nam=* | --program-transform-na=* \
2085 | --program-transform-n=* | --program-transform-=* \
2086 | --program-transform=* | --program-transfor=* \
2087 | --program-transfo=* | --program-transf=* \
2088 | --program-trans=* | --program-tran=* \
2089 | --progr-tra=* | --program-tr=* | --program-t=*)
2090 program_transform_name=$ac_optarg ;;
2092 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2093 ac_prev=pdfdir ;;
2094 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2095 pdfdir=$ac_optarg ;;
2097 -psdir | --psdir | --psdi | --psd | --ps)
2098 ac_prev=psdir ;;
2099 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2100 psdir=$ac_optarg ;;
2102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2103 | -silent | --silent | --silen | --sile | --sil)
2104 silent=yes ;;
2106 -runstatedir | --runstatedir | --runstatedi | --runstated \
2107 | --runstate | --runstat | --runsta | --runst | --runs \
2108 | --run | --ru | --r)
2109 ac_prev=runstatedir ;;
2110 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2111 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2112 | --run=* | --ru=* | --r=*)
2113 runstatedir=$ac_optarg ;;
2115 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2116 ac_prev=sbindir ;;
2117 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2118 | --sbi=* | --sb=*)
2119 sbindir=$ac_optarg ;;
2121 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2122 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2123 | --sharedst | --shareds | --shared | --share | --shar \
2124 | --sha | --sh)
2125 ac_prev=sharedstatedir ;;
2126 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2127 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2128 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2129 | --sha=* | --sh=*)
2130 sharedstatedir=$ac_optarg ;;
2132 -site | --site | --sit)
2133 ac_prev=site ;;
2134 -site=* | --site=* | --sit=*)
2135 site=$ac_optarg ;;
2137 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2138 ac_prev=srcdir ;;
2139 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2140 srcdir=$ac_optarg ;;
2142 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2143 | --syscon | --sysco | --sysc | --sys | --sy)
2144 ac_prev=sysconfdir ;;
2145 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2146 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2147 sysconfdir=$ac_optarg ;;
2149 -target | --target | --targe | --targ | --tar | --ta | --t)
2150 ac_prev=target_alias ;;
2151 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2152 target_alias=$ac_optarg ;;
2154 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2155 verbose=yes ;;
2157 -version | --version | --versio | --versi | --vers | -V)
2158 ac_init_version=: ;;
2160 -with-* | --with-*)
2161 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2162 # Reject names that are not valid shell variable names.
2163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2164 as_fn_error $? "invalid package name: $ac_useropt"
2165 ac_useropt_orig=$ac_useropt
2166 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2167 case $ac_user_opts in
2169 "with_$ac_useropt"
2170 "*) ;;
2171 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2172 ac_unrecognized_sep=', ';;
2173 esac
2174 eval with_$ac_useropt=\$ac_optarg ;;
2176 -without-* | --without-*)
2177 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2178 # Reject names that are not valid shell variable names.
2179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2180 as_fn_error $? "invalid package name: $ac_useropt"
2181 ac_useropt_orig=$ac_useropt
2182 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2183 case $ac_user_opts in
2185 "with_$ac_useropt"
2186 "*) ;;
2187 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2188 ac_unrecognized_sep=', ';;
2189 esac
2190 eval with_$ac_useropt=no ;;
2192 --x)
2193 # Obsolete; use --with-x.
2194 with_x=yes ;;
2196 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2197 | --x-incl | --x-inc | --x-in | --x-i)
2198 ac_prev=x_includes ;;
2199 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2200 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2201 x_includes=$ac_optarg ;;
2203 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2204 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2205 ac_prev=x_libraries ;;
2206 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2207 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2208 x_libraries=$ac_optarg ;;
2210 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2211 Try \`$0 --help' for more information"
2214 *=*)
2215 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2216 # Reject names that are not valid shell variable names.
2217 case $ac_envvar in #(
2218 '' | [0-9]* | *[!_$as_cr_alnum]* )
2219 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2220 esac
2221 eval $ac_envvar=\$ac_optarg
2222 export $ac_envvar ;;
2225 # FIXME: should be removed in autoconf 3.0.
2226 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2227 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2228 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2229 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2232 esac
2233 done
2235 if test -n "$ac_prev"; then
2236 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2237 as_fn_error $? "missing argument to $ac_option"
2240 if test -n "$ac_unrecognized_opts"; then
2241 case $enable_option_checking in
2242 no) ;;
2243 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2244 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2245 esac
2248 # Check all directory arguments for consistency.
2249 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2250 datadir sysconfdir sharedstatedir localstatedir includedir \
2251 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2252 libdir localedir mandir runstatedir
2254 eval ac_val=\$$ac_var
2255 # Remove trailing slashes.
2256 case $ac_val in
2257 */ )
2258 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2259 eval $ac_var=\$ac_val;;
2260 esac
2261 # Be sure to have absolute directory names.
2262 case $ac_val in
2263 [\\/$]* | ?:[\\/]* ) continue;;
2264 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2265 esac
2266 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2267 done
2269 # There might be people who depend on the old broken behavior: `$host'
2270 # used to hold the argument of --host etc.
2271 # FIXME: To remove some day.
2272 build=$build_alias
2273 host=$host_alias
2274 target=$target_alias
2276 # FIXME: To remove some day.
2277 if test "x$host_alias" != x; then
2278 if test "x$build_alias" = x; then
2279 cross_compiling=maybe
2280 elif test "x$build_alias" != "x$host_alias"; then
2281 cross_compiling=yes
2285 ac_tool_prefix=
2286 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2288 test "$silent" = yes && exec 6>/dev/null
2291 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2292 ac_ls_di=`ls -di .` &&
2293 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2294 as_fn_error $? "working directory cannot be determined"
2295 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2296 as_fn_error $? "pwd does not report name of working directory"
2299 # Find the source files, if location was not specified.
2300 if test -z "$srcdir"; then
2301 ac_srcdir_defaulted=yes
2302 # Try the directory containing this script, then the parent directory.
2303 ac_confdir=`$as_dirname -- "$as_myself" ||
2304 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2305 X"$as_myself" : 'X\(//\)[^/]' \| \
2306 X"$as_myself" : 'X\(//\)$' \| \
2307 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2308 $as_echo X"$as_myself" |
2309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2310 s//\1/
2313 /^X\(\/\/\)[^/].*/{
2314 s//\1/
2317 /^X\(\/\/\)$/{
2318 s//\1/
2321 /^X\(\/\).*/{
2322 s//\1/
2325 s/.*/./; q'`
2326 srcdir=$ac_confdir
2327 if test ! -r "$srcdir/$ac_unique_file"; then
2328 srcdir=..
2330 else
2331 ac_srcdir_defaulted=no
2333 if test ! -r "$srcdir/$ac_unique_file"; then
2334 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2335 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2337 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2338 ac_abs_confdir=`(
2339 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2340 pwd)`
2341 # When building in place, set srcdir=.
2342 if test "$ac_abs_confdir" = "$ac_pwd"; then
2343 srcdir=.
2345 # Remove unnecessary trailing slashes from srcdir.
2346 # Double slashes in file names in object file debugging info
2347 # mess up M-x gdb in Emacs.
2348 case $srcdir in
2349 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2350 esac
2351 for ac_var in $ac_precious_vars; do
2352 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2353 eval ac_env_${ac_var}_value=\$${ac_var}
2354 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2355 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2356 done
2359 # Report the --help message.
2361 if test "$ac_init_help" = "long"; then
2362 # Omit some internal or obsolete options to make the list less imposing.
2363 # This message is too long to be a string in the A/UX 3.1 sh.
2364 cat <<_ACEOF
2365 \`configure' configures Wine 3.7 to adapt to many kinds of systems.
2367 Usage: $0 [OPTION]... [VAR=VALUE]...
2369 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2370 VAR=VALUE. See below for descriptions of some of the useful variables.
2372 Defaults for the options are specified in brackets.
2374 Configuration:
2375 -h, --help display this help and exit
2376 --help=short display options specific to this package
2377 --help=recursive display the short help of all the included packages
2378 -V, --version display version information and exit
2379 -q, --quiet, --silent do not print \`checking ...' messages
2380 --cache-file=FILE cache test results in FILE [disabled]
2381 -C, --config-cache alias for \`--cache-file=config.cache'
2382 -n, --no-create do not create output files
2383 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2385 Installation directories:
2386 --prefix=PREFIX install architecture-independent files in PREFIX
2387 [$ac_default_prefix]
2388 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2389 [PREFIX]
2391 By default, \`make install' will install all the files in
2392 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2393 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2394 for instance \`--prefix=\$HOME'.
2396 For better control, use the options below.
2398 Fine tuning of the installation directories:
2399 --bindir=DIR user executables [EPREFIX/bin]
2400 --sbindir=DIR system admin executables [EPREFIX/sbin]
2401 --libexecdir=DIR program executables [EPREFIX/libexec]
2402 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2403 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2404 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2405 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2406 --libdir=DIR object code libraries [EPREFIX/lib]
2407 --includedir=DIR C header files [PREFIX/include]
2408 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2409 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2410 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2411 --infodir=DIR info documentation [DATAROOTDIR/info]
2412 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2413 --mandir=DIR man documentation [DATAROOTDIR/man]
2414 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2415 --htmldir=DIR html documentation [DOCDIR]
2416 --dvidir=DIR dvi documentation [DOCDIR]
2417 --pdfdir=DIR pdf documentation [DOCDIR]
2418 --psdir=DIR ps documentation [DOCDIR]
2419 _ACEOF
2421 cat <<\_ACEOF
2423 X features:
2424 --x-includes=DIR X include files are in DIR
2425 --x-libraries=DIR X library files are in DIR
2427 System types:
2428 --build=BUILD configure for building on BUILD [guessed]
2429 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2430 _ACEOF
2433 if test -n "$ac_init_help"; then
2434 case $ac_init_help in
2435 short | recursive ) echo "Configuration of Wine 3.7:";;
2436 esac
2437 cat <<\_ACEOF
2439 Optional Features:
2440 --disable-option-checking ignore unrecognized --enable/--with options
2441 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2442 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2443 --disable-win16 do not include Win16 support
2444 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2445 binaries)
2446 --disable-tests do not build the regression tests
2447 --enable-maintainer-mode
2448 enable maintainer-specific build rules
2449 --disable-largefile omit support for large files
2451 Optional Packages:
2452 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2453 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2454 --without-alsa do not use the Alsa sound support
2455 --without-capi do not use CAPI (ISDN support)
2456 --without-cms do not use CMS (color management support)
2457 --without-coreaudio do not use the CoreAudio sound support
2458 --without-cups do not use CUPS
2459 --without-curses do not use (n)curses
2460 --without-dbus do not use DBus (dynamic device support)
2461 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2462 --without-fontconfig do not use fontconfig
2463 --without-freetype do not use the FreeType library
2464 --without-gettext do not use gettext
2465 --with-gettextpo use the GetTextPO library to rebuild po files
2466 --without-gphoto do not use gphoto (Digital Camera support)
2467 --without-glu do not use the GLU library
2468 --without-gnutls do not use GnuTLS (schannel support)
2469 --without-gsm do not use libgsm (GSM 06.10 codec support)
2470 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2471 --without-gstreamer do not use GStreamer (codecs support)
2472 --without-hal do not use HAL (dynamic device support)
2473 --without-jpeg do not use JPEG
2474 --without-krb5 do not use krb5 (Kerberos)
2475 --without-ldap do not use LDAP
2476 --without-mpg123 do not use the mpg123 library
2477 --without-netapi do not use the Samba NetAPI library
2478 --without-openal do not use OpenAL
2479 --without-opencl do not use OpenCL
2480 --without-opengl do not use OpenGL
2481 --without-osmesa do not use the OSMesa library
2482 --without-oss do not use the OSS sound support
2483 --without-pcap do not use the Packet Capture library
2484 --without-png do not use PNG
2485 --without-pthread do not use the pthread library
2486 --without-pulse do not use PulseAudio sound support
2487 --without-sane do not use SANE (scanner support)
2488 --without-sdl do not use SDL
2489 --without-tiff do not use TIFF
2490 --without-udev do not use udev (plug and play support)
2491 --without-v4l do not use v4l1 (v4l support)
2492 --without-vulkan do not use Vulkan
2493 --without-xcomposite do not use the Xcomposite extension
2494 --without-xcursor do not use the Xcursor extension
2495 --without-xfixes do not use Xfixes for clipboard change notifications
2496 --without-xinerama do not use Xinerama (multi-monitor support)
2497 --without-xinput do not use the Xinput extension
2498 --without-xinput2 do not use the Xinput 2 extension
2499 --without-xml do not use XML
2500 --without-xrandr do not use Xrandr (resolution changes)
2501 --without-xrender do not use the Xrender extension
2502 --without-xshape do not use the Xshape extension
2503 --without-xshm do not use XShm (shared memory extension)
2504 --without-xslt do not use XSLT
2505 --without-xxf86vm do not use XFree video mode extension
2506 --without-zlib do not use Zlib (data compression)
2507 --with-wine-tools=DIR use Wine tools from directory DIR
2508 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2509 --with-x use the X Window System
2511 Some influential environment variables:
2512 CC C compiler command
2513 CFLAGS C compiler flags
2514 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2515 nonstandard directory <lib dir>
2516 LIBS libraries to pass to the linker, e.g. -l<library>
2517 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2518 you have headers in a nonstandard directory <include dir>
2519 CXX C++ compiler command
2520 CXXFLAGS C++ compiler flags
2521 CPP C preprocessor
2522 XMKMF Path to xmkmf, Makefile generator for X Window System
2523 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2524 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2525 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2526 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2527 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2528 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2529 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2530 HAL_LIBS Linker flags for hal, overriding pkg-config
2531 GNUTLS_CFLAGS
2532 C compiler flags for gnutls, overriding pkg-config
2533 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2534 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2535 SANE_LIBS Linker flags for libsane, overriding pkg-config
2536 GPHOTO2_CFLAGS
2537 C compiler flags for libgphoto2, overriding pkg-config
2538 GPHOTO2_LIBS
2539 Linker flags for libgphoto2, overriding pkg-config
2540 GPHOTO2_PORT_CFLAGS
2541 C compiler flags for libgphoto2_port, overriding pkg-config
2542 GPHOTO2_PORT_LIBS
2543 Linker flags for libgphoto2_port, overriding pkg-config
2544 LCMS2_CFLAGS
2545 C compiler flags for lcms2, overriding pkg-config
2546 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2547 FREETYPE_CFLAGS
2548 C compiler flags for freetype2, overriding pkg-config
2549 FREETYPE_LIBS
2550 Linker flags for freetype2, overriding pkg-config
2551 PULSE_CFLAGS
2552 C compiler flags for libpulse, overriding pkg-config
2553 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2554 GSTREAMER_CFLAGS
2555 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2556 gstreamer-audio-1.0, overriding pkg-config
2557 GSTREAMER_LIBS
2558 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2559 gstreamer-audio-1.0, overriding pkg-config
2560 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2561 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2562 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2563 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2564 CAPI20_CFLAGS
2565 C compiler flags for capi20, overriding pkg-config
2566 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2567 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2568 CUPS_LIBS Linker flags for cups, overriding pkg-config
2569 FONTCONFIG_CFLAGS
2570 C compiler flags for fontconfig, overriding pkg-config
2571 FONTCONFIG_LIBS
2572 Linker flags for fontconfig, overriding pkg-config
2573 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2574 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2575 GSSAPI_CFLAGS
2576 C compiler flags for krb5-gssapi, overriding pkg-config
2577 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2578 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2579 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2580 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2581 PNG_LIBS Linker flags for libpng, overriding pkg-config
2582 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2583 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2584 MPG123_CFLAGS
2585 C compiler flags for libmpg123, overriding pkg-config
2586 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2587 NETAPI_CFLAGS
2588 C compiler flags for netapi, overriding pkg-config
2589 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2590 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2591 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2593 Use these variables to override the choices made by `configure' or to help
2594 it to find libraries and programs with nonstandard names/locations.
2596 Report bugs to <wine-devel@winehq.org>.
2597 Wine home page: <https://www.winehq.org>.
2598 _ACEOF
2599 ac_status=$?
2602 if test "$ac_init_help" = "recursive"; then
2603 # If there are subdirs, report their specific --help.
2604 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2605 test -d "$ac_dir" ||
2606 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2607 continue
2608 ac_builddir=.
2610 case "$ac_dir" in
2611 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2613 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2614 # A ".." for each directory in $ac_dir_suffix.
2615 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2616 case $ac_top_builddir_sub in
2617 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2618 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2619 esac ;;
2620 esac
2621 ac_abs_top_builddir=$ac_pwd
2622 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2623 # for backward compatibility:
2624 ac_top_builddir=$ac_top_build_prefix
2626 case $srcdir in
2627 .) # We are building in place.
2628 ac_srcdir=.
2629 ac_top_srcdir=$ac_top_builddir_sub
2630 ac_abs_top_srcdir=$ac_pwd ;;
2631 [\\/]* | ?:[\\/]* ) # Absolute name.
2632 ac_srcdir=$srcdir$ac_dir_suffix;
2633 ac_top_srcdir=$srcdir
2634 ac_abs_top_srcdir=$srcdir ;;
2635 *) # Relative name.
2636 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2637 ac_top_srcdir=$ac_top_build_prefix$srcdir
2638 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2639 esac
2640 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2642 cd "$ac_dir" || { ac_status=$?; continue; }
2643 # Check for guested configure.
2644 if test -f "$ac_srcdir/configure.gnu"; then
2645 echo &&
2646 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2647 elif test -f "$ac_srcdir/configure"; then
2648 echo &&
2649 $SHELL "$ac_srcdir/configure" --help=recursive
2650 else
2651 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2652 fi || ac_status=$?
2653 cd "$ac_pwd" || { ac_status=$?; break; }
2654 done
2657 test -n "$ac_init_help" && exit $ac_status
2658 if $ac_init_version; then
2659 cat <<\_ACEOF
2660 Wine configure 3.7
2661 generated by GNU Autoconf 2.69
2663 Copyright (C) 2012 Free Software Foundation, Inc.
2664 This configure script is free software; the Free Software Foundation
2665 gives unlimited permission to copy, distribute and modify it.
2666 _ACEOF
2667 exit
2670 ## ------------------------ ##
2671 ## Autoconf initialization. ##
2672 ## ------------------------ ##
2674 # ac_fn_c_try_compile LINENO
2675 # --------------------------
2676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2677 ac_fn_c_try_compile ()
2679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2680 rm -f conftest.$ac_objext
2681 if { { ac_try="$ac_compile"
2682 case "(($ac_try" in
2683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2685 esac
2686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2687 $as_echo "$ac_try_echo"; } >&5
2688 (eval "$ac_compile") 2>conftest.err
2689 ac_status=$?
2690 if test -s conftest.err; then
2691 grep -v '^ *+' conftest.err >conftest.er1
2692 cat conftest.er1 >&5
2693 mv -f conftest.er1 conftest.err
2695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2696 test $ac_status = 0; } && {
2697 test -z "$ac_c_werror_flag" ||
2698 test ! -s conftest.err
2699 } && test -s conftest.$ac_objext; then :
2700 ac_retval=0
2701 else
2702 $as_echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2705 ac_retval=1
2707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2708 as_fn_set_status $ac_retval
2710 } # ac_fn_c_try_compile
2712 # ac_fn_cxx_try_compile LINENO
2713 # ----------------------------
2714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2715 ac_fn_cxx_try_compile ()
2717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2718 rm -f conftest.$ac_objext
2719 if { { ac_try="$ac_compile"
2720 case "(($ac_try" in
2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2723 esac
2724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2725 $as_echo "$ac_try_echo"; } >&5
2726 (eval "$ac_compile") 2>conftest.err
2727 ac_status=$?
2728 if test -s conftest.err; then
2729 grep -v '^ *+' conftest.err >conftest.er1
2730 cat conftest.er1 >&5
2731 mv -f conftest.er1 conftest.err
2733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2734 test $ac_status = 0; } && {
2735 test -z "$ac_cxx_werror_flag" ||
2736 test ! -s conftest.err
2737 } && test -s conftest.$ac_objext; then :
2738 ac_retval=0
2739 else
2740 $as_echo "$as_me: failed program was:" >&5
2741 sed 's/^/| /' conftest.$ac_ext >&5
2743 ac_retval=1
2745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2746 as_fn_set_status $ac_retval
2748 } # ac_fn_cxx_try_compile
2750 # ac_fn_c_try_link LINENO
2751 # -----------------------
2752 # Try to link conftest.$ac_ext, and return whether this succeeded.
2753 ac_fn_c_try_link ()
2755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2756 rm -f conftest.$ac_objext conftest$ac_exeext
2757 if { { ac_try="$ac_link"
2758 case "(($ac_try" in
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2761 esac
2762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2763 $as_echo "$ac_try_echo"; } >&5
2764 (eval "$ac_link") 2>conftest.err
2765 ac_status=$?
2766 if test -s conftest.err; then
2767 grep -v '^ *+' conftest.err >conftest.er1
2768 cat conftest.er1 >&5
2769 mv -f conftest.er1 conftest.err
2771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2772 test $ac_status = 0; } && {
2773 test -z "$ac_c_werror_flag" ||
2774 test ! -s conftest.err
2775 } && test -s conftest$ac_exeext && {
2776 test "$cross_compiling" = yes ||
2777 test -x conftest$ac_exeext
2778 }; then :
2779 ac_retval=0
2780 else
2781 $as_echo "$as_me: failed program was:" >&5
2782 sed 's/^/| /' conftest.$ac_ext >&5
2784 ac_retval=1
2786 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2787 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2788 # interfere with the next link command; also delete a directory that is
2789 # left behind by Apple's compiler. We do this before executing the actions.
2790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2792 as_fn_set_status $ac_retval
2794 } # ac_fn_c_try_link
2796 # ac_fn_c_try_cpp LINENO
2797 # ----------------------
2798 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2799 ac_fn_c_try_cpp ()
2801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2802 if { { ac_try="$ac_cpp conftest.$ac_ext"
2803 case "(($ac_try" in
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2806 esac
2807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2808 $as_echo "$ac_try_echo"; } >&5
2809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2810 ac_status=$?
2811 if test -s conftest.err; then
2812 grep -v '^ *+' conftest.err >conftest.er1
2813 cat conftest.er1 >&5
2814 mv -f conftest.er1 conftest.err
2816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2817 test $ac_status = 0; } > conftest.i && {
2818 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2819 test ! -s conftest.err
2820 }; then :
2821 ac_retval=0
2822 else
2823 $as_echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.$ac_ext >&5
2826 ac_retval=1
2828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2829 as_fn_set_status $ac_retval
2831 } # ac_fn_c_try_cpp
2833 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2834 # -------------------------------------------------------
2835 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2836 # the include files in INCLUDES and setting the cache variable VAR
2837 # accordingly.
2838 ac_fn_c_check_header_mongrel ()
2840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2841 if eval \${$3+:} false; then :
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2843 $as_echo_n "checking for $2... " >&6; }
2844 if eval \${$3+:} false; then :
2845 $as_echo_n "(cached) " >&6
2847 eval ac_res=\$$3
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2849 $as_echo "$ac_res" >&6; }
2850 else
2851 # Is the header compilable?
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2853 $as_echo_n "checking $2 usability... " >&6; }
2854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2857 #include <$2>
2858 _ACEOF
2859 if ac_fn_c_try_compile "$LINENO"; then :
2860 ac_header_compiler=yes
2861 else
2862 ac_header_compiler=no
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2866 $as_echo "$ac_header_compiler" >&6; }
2868 # Is the header present?
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2870 $as_echo_n "checking $2 presence... " >&6; }
2871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872 /* end confdefs.h. */
2873 #include <$2>
2874 _ACEOF
2875 if ac_fn_c_try_cpp "$LINENO"; then :
2876 ac_header_preproc=yes
2877 else
2878 ac_header_preproc=no
2880 rm -f conftest.err conftest.i conftest.$ac_ext
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2882 $as_echo "$ac_header_preproc" >&6; }
2884 # So? What about this header?
2885 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2886 yes:no: )
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2888 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2890 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2892 no:yes:* )
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2894 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2896 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2898 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2900 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2902 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2903 ( $as_echo "## ------------------------------------ ##
2904 ## Report this to wine-devel@winehq.org ##
2905 ## ------------------------------------ ##"
2906 ) | sed "s/^/$as_me: WARNING: /" >&2
2908 esac
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2910 $as_echo_n "checking for $2... " >&6; }
2911 if eval \${$3+:} false; then :
2912 $as_echo_n "(cached) " >&6
2913 else
2914 eval "$3=\$ac_header_compiler"
2916 eval ac_res=\$$3
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2918 $as_echo "$ac_res" >&6; }
2920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2922 } # ac_fn_c_check_header_mongrel
2924 # ac_fn_c_try_run LINENO
2925 # ----------------------
2926 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2927 # that executables *can* be run.
2928 ac_fn_c_try_run ()
2930 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2931 if { { ac_try="$ac_link"
2932 case "(($ac_try" in
2933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934 *) ac_try_echo=$ac_try;;
2935 esac
2936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2937 $as_echo "$ac_try_echo"; } >&5
2938 (eval "$ac_link") 2>&5
2939 ac_status=$?
2940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2941 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2942 { { case "(($ac_try" in
2943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2945 esac
2946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2947 $as_echo "$ac_try_echo"; } >&5
2948 (eval "$ac_try") 2>&5
2949 ac_status=$?
2950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2951 test $ac_status = 0; }; }; then :
2952 ac_retval=0
2953 else
2954 $as_echo "$as_me: program exited with status $ac_status" >&5
2955 $as_echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2958 ac_retval=$ac_status
2960 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2962 as_fn_set_status $ac_retval
2964 } # ac_fn_c_try_run
2966 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2967 # -------------------------------------------------------
2968 # Tests whether HEADER exists and can be compiled using the include files in
2969 # INCLUDES, setting the cache variable VAR accordingly.
2970 ac_fn_c_check_header_compile ()
2972 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2974 $as_echo_n "checking for $2... " >&6; }
2975 if eval \${$3+:} false; then :
2976 $as_echo_n "(cached) " >&6
2977 else
2978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2979 /* end confdefs.h. */
2981 #include <$2>
2982 _ACEOF
2983 if ac_fn_c_try_compile "$LINENO"; then :
2984 eval "$3=yes"
2985 else
2986 eval "$3=no"
2988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2990 eval ac_res=\$$3
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2992 $as_echo "$ac_res" >&6; }
2993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2995 } # ac_fn_c_check_header_compile
2997 # ac_fn_c_check_func LINENO FUNC VAR
2998 # ----------------------------------
2999 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3000 ac_fn_c_check_func ()
3002 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3004 $as_echo_n "checking for $2... " >&6; }
3005 if eval \${$3+:} false; then :
3006 $as_echo_n "(cached) " >&6
3007 else
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3010 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3012 #define $2 innocuous_$2
3014 /* System header to define __stub macros and hopefully few prototypes,
3015 which can conflict with char $2 (); below.
3016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3017 <limits.h> exists even on freestanding compilers. */
3019 #ifdef __STDC__
3020 # include <limits.h>
3021 #else
3022 # include <assert.h>
3023 #endif
3025 #undef $2
3027 /* Override any GCC internal prototype to avoid an error.
3028 Use char because int might match the return type of a GCC
3029 builtin and then its argument prototype would still apply. */
3030 #ifdef __cplusplus
3031 extern "C"
3032 #endif
3033 char $2 ();
3034 /* The GNU C library defines this for functions which it implements
3035 to always fail with ENOSYS. Some functions are actually named
3036 something starting with __ and the normal name is an alias. */
3037 #if defined __stub_$2 || defined __stub___$2
3038 choke me
3039 #endif
3042 main ()
3044 return $2 ();
3046 return 0;
3048 _ACEOF
3049 if ac_fn_c_try_link "$LINENO"; then :
3050 eval "$3=yes"
3051 else
3052 eval "$3=no"
3054 rm -f core conftest.err conftest.$ac_objext \
3055 conftest$ac_exeext conftest.$ac_ext
3057 eval ac_res=\$$3
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3059 $as_echo "$ac_res" >&6; }
3060 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3062 } # ac_fn_c_check_func
3064 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3065 # ----------------------------------------------------
3066 # Tries to find if the field MEMBER exists in type AGGR, after including
3067 # INCLUDES, setting cache variable VAR accordingly.
3068 ac_fn_c_check_member ()
3070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3072 $as_echo_n "checking for $2.$3... " >&6; }
3073 if eval \${$4+:} false; then :
3074 $as_echo_n "(cached) " >&6
3075 else
3076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077 /* end confdefs.h. */
3080 main ()
3082 static $2 ac_aggr;
3083 if (ac_aggr.$3)
3084 return 0;
3086 return 0;
3088 _ACEOF
3089 if ac_fn_c_try_compile "$LINENO"; then :
3090 eval "$4=yes"
3091 else
3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3093 /* end confdefs.h. */
3096 main ()
3098 static $2 ac_aggr;
3099 if (sizeof ac_aggr.$3)
3100 return 0;
3102 return 0;
3104 _ACEOF
3105 if ac_fn_c_try_compile "$LINENO"; then :
3106 eval "$4=yes"
3107 else
3108 eval "$4=no"
3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3114 eval ac_res=\$$4
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3116 $as_echo "$ac_res" >&6; }
3117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3119 } # ac_fn_c_check_member
3121 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3122 # -------------------------------------------
3123 # Tests whether TYPE exists after having included INCLUDES, setting cache
3124 # variable VAR accordingly.
3125 ac_fn_c_check_type ()
3127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3129 $as_echo_n "checking for $2... " >&6; }
3130 if eval \${$3+:} false; then :
3131 $as_echo_n "(cached) " >&6
3132 else
3133 eval "$3=no"
3134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3135 /* end confdefs.h. */
3138 main ()
3140 if (sizeof ($2))
3141 return 0;
3143 return 0;
3145 _ACEOF
3146 if ac_fn_c_try_compile "$LINENO"; then :
3147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3151 main ()
3153 if (sizeof (($2)))
3154 return 0;
3156 return 0;
3158 _ACEOF
3159 if ac_fn_c_try_compile "$LINENO"; then :
3161 else
3162 eval "$3=yes"
3164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3168 eval ac_res=\$$3
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3170 $as_echo "$ac_res" >&6; }
3171 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3173 } # ac_fn_c_check_type
3174 cat >config.log <<_ACEOF
3175 This file contains any messages produced by compilers while
3176 running configure, to aid debugging if configure makes a mistake.
3178 It was created by Wine $as_me 3.7, which was
3179 generated by GNU Autoconf 2.69. Invocation command line was
3181 $ $0 $@
3183 _ACEOF
3184 exec 5>>config.log
3186 cat <<_ASUNAME
3187 ## --------- ##
3188 ## Platform. ##
3189 ## --------- ##
3191 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3192 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3193 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3194 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3195 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3197 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3198 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3200 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3201 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3202 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3203 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3204 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3205 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3206 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3208 _ASUNAME
3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3211 for as_dir in $PATH
3213 IFS=$as_save_IFS
3214 test -z "$as_dir" && as_dir=.
3215 $as_echo "PATH: $as_dir"
3216 done
3217 IFS=$as_save_IFS
3219 } >&5
3221 cat >&5 <<_ACEOF
3224 ## ----------- ##
3225 ## Core tests. ##
3226 ## ----------- ##
3228 _ACEOF
3231 # Keep a trace of the command line.
3232 # Strip out --no-create and --no-recursion so they do not pile up.
3233 # Strip out --silent because we don't want to record it for future runs.
3234 # Also quote any args containing shell meta-characters.
3235 # Make two passes to allow for proper duplicate-argument suppression.
3236 ac_configure_args=
3237 ac_configure_args0=
3238 ac_configure_args1=
3239 ac_must_keep_next=false
3240 for ac_pass in 1 2
3242 for ac_arg
3244 case $ac_arg in
3245 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3246 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3247 | -silent | --silent | --silen | --sile | --sil)
3248 continue ;;
3249 *\'*)
3250 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3251 esac
3252 case $ac_pass in
3253 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3255 as_fn_append ac_configure_args1 " '$ac_arg'"
3256 if test $ac_must_keep_next = true; then
3257 ac_must_keep_next=false # Got value, back to normal.
3258 else
3259 case $ac_arg in
3260 *=* | --config-cache | -C | -disable-* | --disable-* \
3261 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3262 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3263 | -with-* | --with-* | -without-* | --without-* | --x)
3264 case "$ac_configure_args0 " in
3265 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3266 esac
3268 -* ) ac_must_keep_next=true ;;
3269 esac
3271 as_fn_append ac_configure_args " '$ac_arg'"
3273 esac
3274 done
3275 done
3276 { ac_configure_args0=; unset ac_configure_args0;}
3277 { ac_configure_args1=; unset ac_configure_args1;}
3279 # When interrupted or exit'd, cleanup temporary files, and complete
3280 # config.log. We remove comments because anyway the quotes in there
3281 # would cause problems or look ugly.
3282 # WARNING: Use '\'' to represent an apostrophe within the trap.
3283 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3284 trap 'exit_status=$?
3285 # Save into config.log some information that might help in debugging.
3287 echo
3289 $as_echo "## ---------------- ##
3290 ## Cache variables. ##
3291 ## ---------------- ##"
3292 echo
3293 # The following way of writing the cache mishandles newlines in values,
3295 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3296 eval ac_val=\$$ac_var
3297 case $ac_val in #(
3298 *${as_nl}*)
3299 case $ac_var in #(
3300 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3301 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3302 esac
3303 case $ac_var in #(
3304 _ | IFS | as_nl) ;; #(
3305 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3306 *) { eval $ac_var=; unset $ac_var;} ;;
3307 esac ;;
3308 esac
3309 done
3310 (set) 2>&1 |
3311 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3312 *${as_nl}ac_space=\ *)
3313 sed -n \
3314 "s/'\''/'\''\\\\'\'''\''/g;
3315 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3316 ;; #(
3318 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3320 esac |
3321 sort
3323 echo
3325 $as_echo "## ----------------- ##
3326 ## Output variables. ##
3327 ## ----------------- ##"
3328 echo
3329 for ac_var in $ac_subst_vars
3331 eval ac_val=\$$ac_var
3332 case $ac_val in
3333 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3334 esac
3335 $as_echo "$ac_var='\''$ac_val'\''"
3336 done | sort
3337 echo
3339 if test -n "$ac_subst_files"; then
3340 $as_echo "## ------------------- ##
3341 ## File substitutions. ##
3342 ## ------------------- ##"
3343 echo
3344 for ac_var in $ac_subst_files
3346 eval ac_val=\$$ac_var
3347 case $ac_val in
3348 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3349 esac
3350 $as_echo "$ac_var='\''$ac_val'\''"
3351 done | sort
3352 echo
3355 if test -s confdefs.h; then
3356 $as_echo "## ----------- ##
3357 ## confdefs.h. ##
3358 ## ----------- ##"
3359 echo
3360 cat confdefs.h
3361 echo
3363 test "$ac_signal" != 0 &&
3364 $as_echo "$as_me: caught signal $ac_signal"
3365 $as_echo "$as_me: exit $exit_status"
3366 } >&5
3367 rm -f core *.core core.conftest.* &&
3368 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3369 exit $exit_status
3371 for ac_signal in 1 2 13 15; do
3372 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3373 done
3374 ac_signal=0
3376 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3377 rm -f -r conftest* confdefs.h
3379 $as_echo "/* confdefs.h */" > confdefs.h
3381 # Predefined preprocessor variables.
3383 cat >>confdefs.h <<_ACEOF
3384 #define PACKAGE_NAME "$PACKAGE_NAME"
3385 _ACEOF
3387 cat >>confdefs.h <<_ACEOF
3388 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3389 _ACEOF
3391 cat >>confdefs.h <<_ACEOF
3392 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3393 _ACEOF
3395 cat >>confdefs.h <<_ACEOF
3396 #define PACKAGE_STRING "$PACKAGE_STRING"
3397 _ACEOF
3399 cat >>confdefs.h <<_ACEOF
3400 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3401 _ACEOF
3403 cat >>confdefs.h <<_ACEOF
3404 #define PACKAGE_URL "$PACKAGE_URL"
3405 _ACEOF
3408 # Let the site file select an alternate cache file if it wants to.
3409 # Prefer an explicitly selected file to automatically selected ones.
3410 ac_site_file1=NONE
3411 ac_site_file2=NONE
3412 if test -n "$CONFIG_SITE"; then
3413 # We do not want a PATH search for config.site.
3414 case $CONFIG_SITE in #((
3415 -*) ac_site_file1=./$CONFIG_SITE;;
3416 */*) ac_site_file1=$CONFIG_SITE;;
3417 *) ac_site_file1=./$CONFIG_SITE;;
3418 esac
3419 elif test "x$prefix" != xNONE; then
3420 ac_site_file1=$prefix/share/config.site
3421 ac_site_file2=$prefix/etc/config.site
3422 else
3423 ac_site_file1=$ac_default_prefix/share/config.site
3424 ac_site_file2=$ac_default_prefix/etc/config.site
3426 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3428 test "x$ac_site_file" = xNONE && continue
3429 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3431 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3432 sed 's/^/| /' "$ac_site_file" >&5
3433 . "$ac_site_file" \
3434 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436 as_fn_error $? "failed to load site script $ac_site_file
3437 See \`config.log' for more details" "$LINENO" 5; }
3439 done
3441 if test -r "$cache_file"; then
3442 # Some versions of bash will fail to source /dev/null (special files
3443 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3444 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3446 $as_echo "$as_me: loading cache $cache_file" >&6;}
3447 case $cache_file in
3448 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3449 *) . "./$cache_file";;
3450 esac
3452 else
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3454 $as_echo "$as_me: creating cache $cache_file" >&6;}
3455 >$cache_file
3458 # Check that the precious variables saved in the cache have kept the same
3459 # value.
3460 ac_cache_corrupted=false
3461 for ac_var in $ac_precious_vars; do
3462 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3463 eval ac_new_set=\$ac_env_${ac_var}_set
3464 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3465 eval ac_new_val=\$ac_env_${ac_var}_value
3466 case $ac_old_set,$ac_new_set in
3467 set,)
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3469 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3470 ac_cache_corrupted=: ;;
3471 ,set)
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3473 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3474 ac_cache_corrupted=: ;;
3475 ,);;
3477 if test "x$ac_old_val" != "x$ac_new_val"; then
3478 # differences in whitespace do not lead to failure.
3479 ac_old_val_w=`echo x $ac_old_val`
3480 ac_new_val_w=`echo x $ac_new_val`
3481 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3483 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3484 ac_cache_corrupted=:
3485 else
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3487 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3488 eval $ac_var=\$ac_old_val
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3491 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3493 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3494 fi;;
3495 esac
3496 # Pass precious variables to config.status.
3497 if test "$ac_new_set" = set; then
3498 case $ac_new_val in
3499 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3500 *) ac_arg=$ac_var=$ac_new_val ;;
3501 esac
3502 case " $ac_configure_args " in
3503 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3504 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3505 esac
3507 done
3508 if $ac_cache_corrupted; then
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3512 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3513 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3515 ## -------------------- ##
3516 ## Main body of script. ##
3517 ## -------------------- ##
3519 ac_ext=c
3520 ac_cpp='$CPP $CPPFLAGS'
3521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3527 ac_config_headers="$ac_config_headers include/config.h"
3529 ac_aux_dir=
3530 for ac_dir in tools "$srcdir"/tools; do
3531 if test -f "$ac_dir/install-sh"; then
3532 ac_aux_dir=$ac_dir
3533 ac_install_sh="$ac_aux_dir/install-sh -c"
3534 break
3535 elif test -f "$ac_dir/install.sh"; then
3536 ac_aux_dir=$ac_dir
3537 ac_install_sh="$ac_aux_dir/install.sh -c"
3538 break
3539 elif test -f "$ac_dir/shtool"; then
3540 ac_aux_dir=$ac_dir
3541 ac_install_sh="$ac_aux_dir/shtool install -c"
3542 break
3544 done
3545 if test -z "$ac_aux_dir"; then
3546 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3549 # These three variables are undocumented and unsupported,
3550 # and are intended to be withdrawn in a future Autoconf release.
3551 # They can cause serious problems if a builder's source tree is in a directory
3552 # whose full name contains unusual characters.
3553 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3554 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3555 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3559 libwine_version="1.0"
3563 # Check whether --enable-win16 was given.
3564 if test "${enable_win16+set}" = set; then :
3565 enableval=$enable_win16;
3568 # Check whether --enable-win64 was given.
3569 if test "${enable_win64+set}" = set; then :
3570 enableval=$enable_win64;
3573 # Check whether --enable-tests was given.
3574 if test "${enable_tests+set}" = set; then :
3575 enableval=$enable_tests;
3578 # Check whether --enable-maintainer-mode was given.
3579 if test "${enable_maintainer_mode+set}" = set; then :
3580 enableval=$enable_maintainer_mode;
3585 # Check whether --with-alsa was given.
3586 if test "${with_alsa+set}" = set; then :
3587 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3591 # Check whether --with-capi was given.
3592 if test "${with_capi+set}" = set; then :
3593 withval=$with_capi;
3597 # Check whether --with-cms was given.
3598 if test "${with_cms+set}" = set; then :
3599 withval=$with_cms;
3603 # Check whether --with-coreaudio was given.
3604 if test "${with_coreaudio+set}" = set; then :
3605 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3609 # Check whether --with-cups was given.
3610 if test "${with_cups+set}" = set; then :
3611 withval=$with_cups;
3615 # Check whether --with-curses was given.
3616 if test "${with_curses+set}" = set; then :
3617 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3621 # Check whether --with-dbus was given.
3622 if test "${with_dbus+set}" = set; then :
3623 withval=$with_dbus;
3627 # Check whether --with-float-abi was given.
3628 if test "${with_float_abi+set}" = set; then :
3629 withval=$with_float_abi;
3633 # Check whether --with-fontconfig was given.
3634 if test "${with_fontconfig+set}" = set; then :
3635 withval=$with_fontconfig;
3639 # Check whether --with-freetype was given.
3640 if test "${with_freetype+set}" = set; then :
3641 withval=$with_freetype;
3645 # Check whether --with-gettext was given.
3646 if test "${with_gettext+set}" = set; then :
3647 withval=$with_gettext;
3651 # Check whether --with-gettextpo was given.
3652 if test "${with_gettextpo+set}" = set; then :
3653 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3657 # Check whether --with-gphoto was given.
3658 if test "${with_gphoto+set}" = set; then :
3659 withval=$with_gphoto;
3663 # Check whether --with-glu was given.
3664 if test "${with_glu+set}" = set; then :
3665 withval=$with_glu;
3669 # Check whether --with-gnutls was given.
3670 if test "${with_gnutls+set}" = set; then :
3671 withval=$with_gnutls;
3675 # Check whether --with-gsm was given.
3676 if test "${with_gsm+set}" = set; then :
3677 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3681 # Check whether --with-gssapi was given.
3682 if test "${with_gssapi+set}" = set; then :
3683 withval=$with_gssapi;
3687 # Check whether --with-gstreamer was given.
3688 if test "${with_gstreamer+set}" = set; then :
3689 withval=$with_gstreamer;
3693 # Check whether --with-hal was given.
3694 if test "${with_hal+set}" = set; then :
3695 withval=$with_hal;
3699 # Check whether --with-jpeg was given.
3700 if test "${with_jpeg+set}" = set; then :
3701 withval=$with_jpeg;
3705 # Check whether --with-krb5 was given.
3706 if test "${with_krb5+set}" = set; then :
3707 withval=$with_krb5;
3711 # Check whether --with-ldap was given.
3712 if test "${with_ldap+set}" = set; then :
3713 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3717 # Check whether --with-mpg123 was given.
3718 if test "${with_mpg123+set}" = set; then :
3719 withval=$with_mpg123;
3723 # Check whether --with-netapi was given.
3724 if test "${with_netapi+set}" = set; then :
3725 withval=$with_netapi;
3729 # Check whether --with-openal was given.
3730 if test "${with_openal+set}" = set; then :
3731 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3735 # Check whether --with-opencl was given.
3736 if test "${with_opencl+set}" = set; then :
3737 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3741 # Check whether --with-opengl was given.
3742 if test "${with_opengl+set}" = set; then :
3743 withval=$with_opengl;
3747 # Check whether --with-osmesa was given.
3748 if test "${with_osmesa+set}" = set; then :
3749 withval=$with_osmesa;
3753 # Check whether --with-oss was given.
3754 if test "${with_oss+set}" = set; then :
3755 withval=$with_oss;
3759 # Check whether --with-pcap was given.
3760 if test "${with_pcap+set}" = set; then :
3761 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3765 # Check whether --with-png was given.
3766 if test "${with_png+set}" = set; then :
3767 withval=$with_png;
3771 # Check whether --with-pthread was given.
3772 if test "${with_pthread+set}" = set; then :
3773 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3777 # Check whether --with-pulse was given.
3778 if test "${with_pulse+set}" = set; then :
3779 withval=$with_pulse;
3783 # Check whether --with-sane was given.
3784 if test "${with_sane+set}" = set; then :
3785 withval=$with_sane;
3789 # Check whether --with-sdl was given.
3790 if test "${with_sdl+set}" = set; then :
3791 withval=$with_sdl;
3795 # Check whether --with-tiff was given.
3796 if test "${with_tiff+set}" = set; then :
3797 withval=$with_tiff;
3801 # Check whether --with-udev was given.
3802 if test "${with_udev+set}" = set; then :
3803 withval=$with_udev;
3807 # Check whether --with-v4l was given.
3808 if test "${with_v4l+set}" = set; then :
3809 withval=$with_v4l;
3813 # Check whether --with-vulkan was given.
3814 if test "${with_vulkan+set}" = set; then :
3815 withval=$with_vulkan;
3819 # Check whether --with-xcomposite was given.
3820 if test "${with_xcomposite+set}" = set; then :
3821 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3825 # Check whether --with-xcursor was given.
3826 if test "${with_xcursor+set}" = set; then :
3827 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3831 # Check whether --with-xfixes was given.
3832 if test "${with_xfixes+set}" = set; then :
3833 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3837 # Check whether --with-xinerama was given.
3838 if test "${with_xinerama+set}" = set; then :
3839 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3843 # Check whether --with-xinput was given.
3844 if test "${with_xinput+set}" = set; then :
3845 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3849 # Check whether --with-xinput2 was given.
3850 if test "${with_xinput2+set}" = set; then :
3851 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3855 # Check whether --with-xml was given.
3856 if test "${with_xml+set}" = set; then :
3857 withval=$with_xml;
3861 # Check whether --with-xrandr was given.
3862 if test "${with_xrandr+set}" = set; then :
3863 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3867 # Check whether --with-xrender was given.
3868 if test "${with_xrender+set}" = set; then :
3869 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3873 # Check whether --with-xshape was given.
3874 if test "${with_xshape+set}" = set; then :
3875 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3879 # Check whether --with-xshm was given.
3880 if test "${with_xshm+set}" = set; then :
3881 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3885 # Check whether --with-xslt was given.
3886 if test "${with_xslt+set}" = set; then :
3887 withval=$with_xslt;
3891 # Check whether --with-xxf86vm was given.
3892 if test "${with_xxf86vm+set}" = set; then :
3893 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
3897 # Check whether --with-zlib was given.
3898 if test "${with_zlib+set}" = set; then :
3899 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3904 # Check whether --with-wine-tools was given.
3905 if test "${with_wine_tools+set}" = set; then :
3906 withval=$with_wine_tools;
3910 # Check whether --with-wine64 was given.
3911 if test "${with_wine64+set}" = set; then :
3912 withval=$with_wine64;
3916 # Make sure we can run config.sub.
3917 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3918 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3921 $as_echo_n "checking build system type... " >&6; }
3922 if ${ac_cv_build+:} false; then :
3923 $as_echo_n "(cached) " >&6
3924 else
3925 ac_build_alias=$build_alias
3926 test "x$ac_build_alias" = x &&
3927 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3928 test "x$ac_build_alias" = x &&
3929 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3930 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3931 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3935 $as_echo "$ac_cv_build" >&6; }
3936 case $ac_cv_build in
3937 *-*-*) ;;
3938 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3939 esac
3940 build=$ac_cv_build
3941 ac_save_IFS=$IFS; IFS='-'
3942 set x $ac_cv_build
3943 shift
3944 build_cpu=$1
3945 build_vendor=$2
3946 shift; shift
3947 # Remember, the first character of IFS is used to create $*,
3948 # except with old shells:
3949 build_os=$*
3950 IFS=$ac_save_IFS
3951 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3955 $as_echo_n "checking host system type... " >&6; }
3956 if ${ac_cv_host+:} false; then :
3957 $as_echo_n "(cached) " >&6
3958 else
3959 if test "x$host_alias" = x; then
3960 ac_cv_host=$ac_cv_build
3961 else
3962 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3963 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3968 $as_echo "$ac_cv_host" >&6; }
3969 case $ac_cv_host in
3970 *-*-*) ;;
3971 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3972 esac
3973 host=$ac_cv_host
3974 ac_save_IFS=$IFS; IFS='-'
3975 set x $ac_cv_host
3976 shift
3977 host_cpu=$1
3978 host_vendor=$2
3979 shift; shift
3980 # Remember, the first character of IFS is used to create $*,
3981 # except with old shells:
3982 host_os=$*
3983 IFS=$ac_save_IFS
3984 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3988 case "$srcdir" in
3989 .) ;;
3990 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3991 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3992 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3993 fi ;;
3994 esac
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3998 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3999 set x ${MAKE-make}
4000 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4001 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4002 $as_echo_n "(cached) " >&6
4003 else
4004 cat >conftest.make <<\_ACEOF
4005 SHELL = /bin/sh
4006 all:
4007 @echo '@@@%%%=$(MAKE)=@@@%%%'
4008 _ACEOF
4009 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4010 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4011 *@@@%%%=?*=@@@%%%*)
4012 eval ac_cv_prog_make_${ac_make}_set=yes;;
4014 eval ac_cv_prog_make_${ac_make}_set=no;;
4015 esac
4016 rm -f conftest.make
4018 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4020 $as_echo "yes" >&6; }
4021 SET_MAKE=
4022 else
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4024 $as_echo "no" >&6; }
4025 SET_MAKE="MAKE=${MAKE-make}"
4028 ac_ext=c
4029 ac_cpp='$CPP $CPPFLAGS'
4030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4033 if test -n "$ac_tool_prefix"; then
4034 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4035 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4037 $as_echo_n "checking for $ac_word... " >&6; }
4038 if ${ac_cv_prog_CC+:} false; then :
4039 $as_echo_n "(cached) " >&6
4040 else
4041 if test -n "$CC"; then
4042 ac_cv_prog_CC="$CC" # Let the user override the test.
4043 else
4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045 for as_dir in $PATH
4047 IFS=$as_save_IFS
4048 test -z "$as_dir" && as_dir=.
4049 for ac_exec_ext in '' $ac_executable_extensions; do
4050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4051 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 break 2
4055 done
4056 done
4057 IFS=$as_save_IFS
4061 CC=$ac_cv_prog_CC
4062 if test -n "$CC"; then
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4064 $as_echo "$CC" >&6; }
4065 else
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4067 $as_echo "no" >&6; }
4072 if test -z "$ac_cv_prog_CC"; then
4073 ac_ct_CC=$CC
4074 # Extract the first word of "gcc", so it can be a program name with args.
4075 set dummy gcc; ac_word=$2
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4077 $as_echo_n "checking for $ac_word... " >&6; }
4078 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4079 $as_echo_n "(cached) " >&6
4080 else
4081 if test -n "$ac_ct_CC"; then
4082 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4083 else
4084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085 for as_dir in $PATH
4087 IFS=$as_save_IFS
4088 test -z "$as_dir" && as_dir=.
4089 for ac_exec_ext in '' $ac_executable_extensions; do
4090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4091 ac_cv_prog_ac_ct_CC="gcc"
4092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4093 break 2
4095 done
4096 done
4097 IFS=$as_save_IFS
4101 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4102 if test -n "$ac_ct_CC"; then
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4104 $as_echo "$ac_ct_CC" >&6; }
4105 else
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4107 $as_echo "no" >&6; }
4110 if test "x$ac_ct_CC" = x; then
4111 CC=""
4112 else
4113 case $cross_compiling:$ac_tool_warned in
4114 yes:)
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4117 ac_tool_warned=yes ;;
4118 esac
4119 CC=$ac_ct_CC
4121 else
4122 CC="$ac_cv_prog_CC"
4125 if test -z "$CC"; then
4126 if test -n "$ac_tool_prefix"; then
4127 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4128 set dummy ${ac_tool_prefix}cc; ac_word=$2
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4130 $as_echo_n "checking for $ac_word... " >&6; }
4131 if ${ac_cv_prog_CC+:} false; then :
4132 $as_echo_n "(cached) " >&6
4133 else
4134 if test -n "$CC"; then
4135 ac_cv_prog_CC="$CC" # Let the user override the test.
4136 else
4137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4138 for as_dir in $PATH
4140 IFS=$as_save_IFS
4141 test -z "$as_dir" && as_dir=.
4142 for ac_exec_ext in '' $ac_executable_extensions; do
4143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4144 ac_cv_prog_CC="${ac_tool_prefix}cc"
4145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4146 break 2
4148 done
4149 done
4150 IFS=$as_save_IFS
4154 CC=$ac_cv_prog_CC
4155 if test -n "$CC"; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4157 $as_echo "$CC" >&6; }
4158 else
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4166 if test -z "$CC"; then
4167 # Extract the first word of "cc", so it can be a program name with args.
4168 set dummy cc; ac_word=$2
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4170 $as_echo_n "checking for $ac_word... " >&6; }
4171 if ${ac_cv_prog_CC+:} false; then :
4172 $as_echo_n "(cached) " >&6
4173 else
4174 if test -n "$CC"; then
4175 ac_cv_prog_CC="$CC" # Let the user override the test.
4176 else
4177 ac_prog_rejected=no
4178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4179 for as_dir in $PATH
4181 IFS=$as_save_IFS
4182 test -z "$as_dir" && as_dir=.
4183 for ac_exec_ext in '' $ac_executable_extensions; do
4184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4185 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4186 ac_prog_rejected=yes
4187 continue
4189 ac_cv_prog_CC="cc"
4190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4191 break 2
4193 done
4194 done
4195 IFS=$as_save_IFS
4197 if test $ac_prog_rejected = yes; then
4198 # We found a bogon in the path, so make sure we never use it.
4199 set dummy $ac_cv_prog_CC
4200 shift
4201 if test $# != 0; then
4202 # We chose a different compiler from the bogus one.
4203 # However, it has the same basename, so the bogon will be chosen
4204 # first if we set CC to just the basename; use the full file name.
4205 shift
4206 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4211 CC=$ac_cv_prog_CC
4212 if test -n "$CC"; then
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4214 $as_echo "$CC" >&6; }
4215 else
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4217 $as_echo "no" >&6; }
4222 if test -z "$CC"; then
4223 if test -n "$ac_tool_prefix"; then
4224 for ac_prog in cl.exe
4226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4229 $as_echo_n "checking for $ac_word... " >&6; }
4230 if ${ac_cv_prog_CC+:} false; then :
4231 $as_echo_n "(cached) " >&6
4232 else
4233 if test -n "$CC"; then
4234 ac_cv_prog_CC="$CC" # Let the user override the test.
4235 else
4236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4237 for as_dir in $PATH
4239 IFS=$as_save_IFS
4240 test -z "$as_dir" && as_dir=.
4241 for ac_exec_ext in '' $ac_executable_extensions; do
4242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4243 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4245 break 2
4247 done
4248 done
4249 IFS=$as_save_IFS
4253 CC=$ac_cv_prog_CC
4254 if test -n "$CC"; then
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4256 $as_echo "$CC" >&6; }
4257 else
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 $as_echo "no" >&6; }
4263 test -n "$CC" && break
4264 done
4266 if test -z "$CC"; then
4267 ac_ct_CC=$CC
4268 for ac_prog in cl.exe
4270 # Extract the first word of "$ac_prog", so it can be a program name with args.
4271 set dummy $ac_prog; ac_word=$2
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4273 $as_echo_n "checking for $ac_word... " >&6; }
4274 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4275 $as_echo_n "(cached) " >&6
4276 else
4277 if test -n "$ac_ct_CC"; then
4278 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4279 else
4280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4281 for as_dir in $PATH
4283 IFS=$as_save_IFS
4284 test -z "$as_dir" && as_dir=.
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4287 ac_cv_prog_ac_ct_CC="$ac_prog"
4288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 break 2
4291 done
4292 done
4293 IFS=$as_save_IFS
4297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4298 if test -n "$ac_ct_CC"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4300 $as_echo "$ac_ct_CC" >&6; }
4301 else
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4307 test -n "$ac_ct_CC" && break
4308 done
4310 if test "x$ac_ct_CC" = x; then
4311 CC=""
4312 else
4313 case $cross_compiling:$ac_tool_warned in
4314 yes:)
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4317 ac_tool_warned=yes ;;
4318 esac
4319 CC=$ac_ct_CC
4326 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4328 as_fn_error $? "no acceptable C compiler found in \$PATH
4329 See \`config.log' for more details" "$LINENO" 5; }
4331 # Provide some information about the compiler.
4332 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4333 set X $ac_compile
4334 ac_compiler=$2
4335 for ac_option in --version -v -V -qversion; do
4336 { { ac_try="$ac_compiler $ac_option >&5"
4337 case "(($ac_try" in
4338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339 *) ac_try_echo=$ac_try;;
4340 esac
4341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4342 $as_echo "$ac_try_echo"; } >&5
4343 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4344 ac_status=$?
4345 if test -s conftest.err; then
4346 sed '10a\
4347 ... rest of stderr output deleted ...
4348 10q' conftest.err >conftest.er1
4349 cat conftest.er1 >&5
4351 rm -f conftest.er1 conftest.err
4352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4353 test $ac_status = 0; }
4354 done
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4360 main ()
4364 return 0;
4366 _ACEOF
4367 ac_clean_files_save=$ac_clean_files
4368 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4369 # Try to create an executable without -o first, disregard a.out.
4370 # It will help us diagnose broken compilers, and finding out an intuition
4371 # of exeext.
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4373 $as_echo_n "checking whether the C compiler works... " >&6; }
4374 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4376 # The possible output files:
4377 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4379 ac_rmfiles=
4380 for ac_file in $ac_files
4382 case $ac_file in
4383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4384 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4385 esac
4386 done
4387 rm -f $ac_rmfiles
4389 if { { ac_try="$ac_link_default"
4390 case "(($ac_try" in
4391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4392 *) ac_try_echo=$ac_try;;
4393 esac
4394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4395 $as_echo "$ac_try_echo"; } >&5
4396 (eval "$ac_link_default") 2>&5
4397 ac_status=$?
4398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4399 test $ac_status = 0; }; then :
4400 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4401 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4402 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4403 # so that the user can short-circuit this test for compilers unknown to
4404 # Autoconf.
4405 for ac_file in $ac_files ''
4407 test -f "$ac_file" || continue
4408 case $ac_file in
4409 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4411 [ab].out )
4412 # We found the default executable, but exeext='' is most
4413 # certainly right.
4414 break;;
4415 *.* )
4416 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4417 then :; else
4418 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4420 # We set ac_cv_exeext here because the later test for it is not
4421 # safe: cross compilers may not add the suffix if given an `-o'
4422 # argument, so we may need to know it at that point already.
4423 # Even if this section looks crufty: it has the advantage of
4424 # actually working.
4425 break;;
4427 break;;
4428 esac
4429 done
4430 test "$ac_cv_exeext" = no && ac_cv_exeext=
4432 else
4433 ac_file=''
4435 if test -z "$ac_file"; then :
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4437 $as_echo "no" >&6; }
4438 $as_echo "$as_me: failed program was:" >&5
4439 sed 's/^/| /' conftest.$ac_ext >&5
4441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4443 as_fn_error 77 "C compiler cannot create executables
4444 See \`config.log' for more details" "$LINENO" 5; }
4445 else
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4447 $as_echo "yes" >&6; }
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4450 $as_echo_n "checking for C compiler default output file name... " >&6; }
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4452 $as_echo "$ac_file" >&6; }
4453 ac_exeext=$ac_cv_exeext
4455 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4456 ac_clean_files=$ac_clean_files_save
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4458 $as_echo_n "checking for suffix of executables... " >&6; }
4459 if { { ac_try="$ac_link"
4460 case "(($ac_try" in
4461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4462 *) ac_try_echo=$ac_try;;
4463 esac
4464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4465 $as_echo "$ac_try_echo"; } >&5
4466 (eval "$ac_link") 2>&5
4467 ac_status=$?
4468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4469 test $ac_status = 0; }; then :
4470 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4471 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4472 # work properly (i.e., refer to `conftest.exe'), while it won't with
4473 # `rm'.
4474 for ac_file in conftest.exe conftest conftest.*; do
4475 test -f "$ac_file" || continue
4476 case $ac_file in
4477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4478 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4479 break;;
4480 * ) break;;
4481 esac
4482 done
4483 else
4484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4486 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4487 See \`config.log' for more details" "$LINENO" 5; }
4489 rm -f conftest conftest$ac_cv_exeext
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4491 $as_echo "$ac_cv_exeext" >&6; }
4493 rm -f conftest.$ac_ext
4494 EXEEXT=$ac_cv_exeext
4495 ac_exeext=$EXEEXT
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4498 #include <stdio.h>
4500 main ()
4502 FILE *f = fopen ("conftest.out", "w");
4503 return ferror (f) || fclose (f) != 0;
4506 return 0;
4508 _ACEOF
4509 ac_clean_files="$ac_clean_files conftest.out"
4510 # Check that the compiler produces executables we can run. If not, either
4511 # the compiler is broken, or we cross compile.
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4513 $as_echo_n "checking whether we are cross compiling... " >&6; }
4514 if test "$cross_compiling" != yes; then
4515 { { ac_try="$ac_link"
4516 case "(($ac_try" in
4517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4518 *) ac_try_echo=$ac_try;;
4519 esac
4520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4521 $as_echo "$ac_try_echo"; } >&5
4522 (eval "$ac_link") 2>&5
4523 ac_status=$?
4524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4525 test $ac_status = 0; }
4526 if { ac_try='./conftest$ac_cv_exeext'
4527 { { case "(($ac_try" in
4528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4529 *) ac_try_echo=$ac_try;;
4530 esac
4531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4532 $as_echo "$ac_try_echo"; } >&5
4533 (eval "$ac_try") 2>&5
4534 ac_status=$?
4535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4536 test $ac_status = 0; }; }; then
4537 cross_compiling=no
4538 else
4539 if test "$cross_compiling" = maybe; then
4540 cross_compiling=yes
4541 else
4542 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4544 as_fn_error $? "cannot run C compiled programs.
4545 If you meant to cross compile, use \`--host'.
4546 See \`config.log' for more details" "$LINENO" 5; }
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4551 $as_echo "$cross_compiling" >&6; }
4553 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4554 ac_clean_files=$ac_clean_files_save
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4556 $as_echo_n "checking for suffix of object files... " >&6; }
4557 if ${ac_cv_objext+:} false; then :
4558 $as_echo_n "(cached) " >&6
4559 else
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4564 main ()
4568 return 0;
4570 _ACEOF
4571 rm -f conftest.o conftest.obj
4572 if { { ac_try="$ac_compile"
4573 case "(($ac_try" in
4574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4575 *) ac_try_echo=$ac_try;;
4576 esac
4577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4578 $as_echo "$ac_try_echo"; } >&5
4579 (eval "$ac_compile") 2>&5
4580 ac_status=$?
4581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4582 test $ac_status = 0; }; then :
4583 for ac_file in conftest.o conftest.obj conftest.*; do
4584 test -f "$ac_file" || continue;
4585 case $ac_file in
4586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4587 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4588 break;;
4589 esac
4590 done
4591 else
4592 $as_echo "$as_me: failed program was:" >&5
4593 sed 's/^/| /' conftest.$ac_ext >&5
4595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4597 as_fn_error $? "cannot compute suffix of object files: cannot compile
4598 See \`config.log' for more details" "$LINENO" 5; }
4600 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4603 $as_echo "$ac_cv_objext" >&6; }
4604 OBJEXT=$ac_cv_objext
4605 ac_objext=$OBJEXT
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4607 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4608 if ${ac_cv_c_compiler_gnu+:} false; then :
4609 $as_echo_n "(cached) " >&6
4610 else
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4615 main ()
4617 #ifndef __GNUC__
4618 choke me
4619 #endif
4622 return 0;
4624 _ACEOF
4625 if ac_fn_c_try_compile "$LINENO"; then :
4626 ac_compiler_gnu=yes
4627 else
4628 ac_compiler_gnu=no
4630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4631 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4635 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4636 if test $ac_compiler_gnu = yes; then
4637 GCC=yes
4638 else
4639 GCC=
4641 ac_test_CFLAGS=${CFLAGS+set}
4642 ac_save_CFLAGS=$CFLAGS
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4644 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4645 if ${ac_cv_prog_cc_g+:} false; then :
4646 $as_echo_n "(cached) " >&6
4647 else
4648 ac_save_c_werror_flag=$ac_c_werror_flag
4649 ac_c_werror_flag=yes
4650 ac_cv_prog_cc_g=no
4651 CFLAGS="-g"
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4656 main ()
4660 return 0;
4662 _ACEOF
4663 if ac_fn_c_try_compile "$LINENO"; then :
4664 ac_cv_prog_cc_g=yes
4665 else
4666 CFLAGS=""
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4671 main ()
4675 return 0;
4677 _ACEOF
4678 if ac_fn_c_try_compile "$LINENO"; then :
4680 else
4681 ac_c_werror_flag=$ac_save_c_werror_flag
4682 CFLAGS="-g"
4683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4687 main ()
4691 return 0;
4693 _ACEOF
4694 if ac_fn_c_try_compile "$LINENO"; then :
4695 ac_cv_prog_cc_g=yes
4697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4702 ac_c_werror_flag=$ac_save_c_werror_flag
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4705 $as_echo "$ac_cv_prog_cc_g" >&6; }
4706 if test "$ac_test_CFLAGS" = set; then
4707 CFLAGS=$ac_save_CFLAGS
4708 elif test $ac_cv_prog_cc_g = yes; then
4709 if test "$GCC" = yes; then
4710 CFLAGS="-g -O2"
4711 else
4712 CFLAGS="-g"
4714 else
4715 if test "$GCC" = yes; then
4716 CFLAGS="-O2"
4717 else
4718 CFLAGS=
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4722 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4723 if ${ac_cv_prog_cc_c89+:} false; then :
4724 $as_echo_n "(cached) " >&6
4725 else
4726 ac_cv_prog_cc_c89=no
4727 ac_save_CC=$CC
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4730 #include <stdarg.h>
4731 #include <stdio.h>
4732 struct stat;
4733 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4734 struct buf { int x; };
4735 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4736 static char *e (p, i)
4737 char **p;
4738 int i;
4740 return p[i];
4742 static char *f (char * (*g) (char **, int), char **p, ...)
4744 char *s;
4745 va_list v;
4746 va_start (v,p);
4747 s = g (p, va_arg (v,int));
4748 va_end (v);
4749 return s;
4752 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4753 function prototypes and stuff, but not '\xHH' hex character constants.
4754 These don't provoke an error unfortunately, instead are silently treated
4755 as 'x'. The following induces an error, until -std is added to get
4756 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4757 array size at least. It's necessary to write '\x00'==0 to get something
4758 that's true only with -std. */
4759 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4761 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4762 inside strings and character constants. */
4763 #define FOO(x) 'x'
4764 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4766 int test (int i, double x);
4767 struct s1 {int (*f) (int a);};
4768 struct s2 {int (*f) (double a);};
4769 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4770 int argc;
4771 char **argv;
4773 main ()
4775 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4777 return 0;
4779 _ACEOF
4780 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4781 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4783 CC="$ac_save_CC $ac_arg"
4784 if ac_fn_c_try_compile "$LINENO"; then :
4785 ac_cv_prog_cc_c89=$ac_arg
4787 rm -f core conftest.err conftest.$ac_objext
4788 test "x$ac_cv_prog_cc_c89" != "xno" && break
4789 done
4790 rm -f conftest.$ac_ext
4791 CC=$ac_save_CC
4794 # AC_CACHE_VAL
4795 case "x$ac_cv_prog_cc_c89" in
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4798 $as_echo "none needed" >&6; } ;;
4799 xno)
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4801 $as_echo "unsupported" >&6; } ;;
4803 CC="$CC $ac_cv_prog_cc_c89"
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4805 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4806 esac
4807 if test "x$ac_cv_prog_cc_c89" != xno; then :
4811 ac_ext=c
4812 ac_cpp='$CPP $CPPFLAGS'
4813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4817 ac_ext=cpp
4818 ac_cpp='$CXXCPP $CPPFLAGS'
4819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4822 if test -z "$CXX"; then
4823 if test -n "$CCC"; then
4824 CXX=$CCC
4825 else
4826 if test -n "$ac_tool_prefix"; then
4827 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4829 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4830 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4832 $as_echo_n "checking for $ac_word... " >&6; }
4833 if ${ac_cv_prog_CXX+:} false; then :
4834 $as_echo_n "(cached) " >&6
4835 else
4836 if test -n "$CXX"; then
4837 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4838 else
4839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 for as_dir in $PATH
4842 IFS=$as_save_IFS
4843 test -z "$as_dir" && as_dir=.
4844 for ac_exec_ext in '' $ac_executable_extensions; do
4845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4846 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4848 break 2
4850 done
4851 done
4852 IFS=$as_save_IFS
4856 CXX=$ac_cv_prog_CXX
4857 if test -n "$CXX"; then
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4859 $as_echo "$CXX" >&6; }
4860 else
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4862 $as_echo "no" >&6; }
4866 test -n "$CXX" && break
4867 done
4869 if test -z "$CXX"; then
4870 ac_ct_CXX=$CXX
4871 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4873 # Extract the first word of "$ac_prog", so it can be a program name with args.
4874 set dummy $ac_prog; ac_word=$2
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4876 $as_echo_n "checking for $ac_word... " >&6; }
4877 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4878 $as_echo_n "(cached) " >&6
4879 else
4880 if test -n "$ac_ct_CXX"; then
4881 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4882 else
4883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4884 for as_dir in $PATH
4886 IFS=$as_save_IFS
4887 test -z "$as_dir" && as_dir=.
4888 for ac_exec_ext in '' $ac_executable_extensions; do
4889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4890 ac_cv_prog_ac_ct_CXX="$ac_prog"
4891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 break 2
4894 done
4895 done
4896 IFS=$as_save_IFS
4900 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4901 if test -n "$ac_ct_CXX"; then
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4903 $as_echo "$ac_ct_CXX" >&6; }
4904 else
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906 $as_echo "no" >&6; }
4910 test -n "$ac_ct_CXX" && break
4911 done
4913 if test "x$ac_ct_CXX" = x; then
4914 CXX="g++"
4915 else
4916 case $cross_compiling:$ac_tool_warned in
4917 yes:)
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4920 ac_tool_warned=yes ;;
4921 esac
4922 CXX=$ac_ct_CXX
4928 # Provide some information about the compiler.
4929 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4930 set X $ac_compile
4931 ac_compiler=$2
4932 for ac_option in --version -v -V -qversion; do
4933 { { ac_try="$ac_compiler $ac_option >&5"
4934 case "(($ac_try" in
4935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4936 *) ac_try_echo=$ac_try;;
4937 esac
4938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4939 $as_echo "$ac_try_echo"; } >&5
4940 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4941 ac_status=$?
4942 if test -s conftest.err; then
4943 sed '10a\
4944 ... rest of stderr output deleted ...
4945 10q' conftest.err >conftest.er1
4946 cat conftest.er1 >&5
4948 rm -f conftest.er1 conftest.err
4949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4950 test $ac_status = 0; }
4951 done
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4954 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4955 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4956 $as_echo_n "(cached) " >&6
4957 else
4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4962 main ()
4964 #ifndef __GNUC__
4965 choke me
4966 #endif
4969 return 0;
4971 _ACEOF
4972 if ac_fn_cxx_try_compile "$LINENO"; then :
4973 ac_compiler_gnu=yes
4974 else
4975 ac_compiler_gnu=no
4977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4978 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4982 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4983 if test $ac_compiler_gnu = yes; then
4984 GXX=yes
4985 else
4986 GXX=
4988 ac_test_CXXFLAGS=${CXXFLAGS+set}
4989 ac_save_CXXFLAGS=$CXXFLAGS
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4991 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4992 if ${ac_cv_prog_cxx_g+:} false; then :
4993 $as_echo_n "(cached) " >&6
4994 else
4995 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4996 ac_cxx_werror_flag=yes
4997 ac_cv_prog_cxx_g=no
4998 CXXFLAGS="-g"
4999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5003 main ()
5007 return 0;
5009 _ACEOF
5010 if ac_fn_cxx_try_compile "$LINENO"; then :
5011 ac_cv_prog_cxx_g=yes
5012 else
5013 CXXFLAGS=""
5014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5015 /* end confdefs.h. */
5018 main ()
5022 return 0;
5024 _ACEOF
5025 if ac_fn_cxx_try_compile "$LINENO"; then :
5027 else
5028 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5029 CXXFLAGS="-g"
5030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5034 main ()
5038 return 0;
5040 _ACEOF
5041 if ac_fn_cxx_try_compile "$LINENO"; then :
5042 ac_cv_prog_cxx_g=yes
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5049 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5052 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5053 if test "$ac_test_CXXFLAGS" = set; then
5054 CXXFLAGS=$ac_save_CXXFLAGS
5055 elif test $ac_cv_prog_cxx_g = yes; then
5056 if test "$GXX" = yes; then
5057 CXXFLAGS="-g -O2"
5058 else
5059 CXXFLAGS="-g"
5061 else
5062 if test "$GXX" = yes; then
5063 CXXFLAGS="-O2"
5064 else
5065 CXXFLAGS=
5068 ac_ext=c
5069 ac_cpp='$CPP $CPPFLAGS'
5070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5074 if test -n "$ac_tool_prefix"; then
5075 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5076 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if ${ac_cv_prog_CPPBIN+:} false; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 if test -n "$CPPBIN"; then
5083 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5088 IFS=$as_save_IFS
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5092 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 break 2
5096 done
5097 done
5098 IFS=$as_save_IFS
5102 CPPBIN=$ac_cv_prog_CPPBIN
5103 if test -n "$CPPBIN"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5105 $as_echo "$CPPBIN" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5113 if test -z "$ac_cv_prog_CPPBIN"; then
5114 ac_ct_CPPBIN=$CPPBIN
5115 # Extract the first word of "cpp", so it can be a program name with args.
5116 set dummy cpp; ac_word=$2
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118 $as_echo_n "checking for $ac_word... " >&6; }
5119 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5120 $as_echo_n "(cached) " >&6
5121 else
5122 if test -n "$ac_ct_CPPBIN"; then
5123 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5124 else
5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5126 for as_dir in $PATH
5128 IFS=$as_save_IFS
5129 test -z "$as_dir" && as_dir=.
5130 for ac_exec_ext in '' $ac_executable_extensions; do
5131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5132 ac_cv_prog_ac_ct_CPPBIN="cpp"
5133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134 break 2
5136 done
5137 done
5138 IFS=$as_save_IFS
5142 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5143 if test -n "$ac_ct_CPPBIN"; then
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5145 $as_echo "$ac_ct_CPPBIN" >&6; }
5146 else
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148 $as_echo "no" >&6; }
5151 if test "x$ac_ct_CPPBIN" = x; then
5152 CPPBIN="cpp"
5153 else
5154 case $cross_compiling:$ac_tool_warned in
5155 yes:)
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5158 ac_tool_warned=yes ;;
5159 esac
5160 CPPBIN=$ac_ct_CPPBIN
5162 else
5163 CPPBIN="$ac_cv_prog_CPPBIN"
5167 cat >>confdefs.h <<_ACEOF
5168 #define EXEEXT "$ac_exeext"
5169 _ACEOF
5171 if test -n "$ac_tool_prefix"; then
5172 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5173 set dummy ${ac_tool_prefix}ld; ac_word=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_prog_LD+:} false; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 if test -n "$LD"; then
5180 ac_cv_prog_LD="$LD" # Let the user override the test.
5181 else
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 for as_dir in $PATH
5185 IFS=$as_save_IFS
5186 test -z "$as_dir" && as_dir=.
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_LD="${ac_tool_prefix}ld"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 break 2
5193 done
5194 done
5195 IFS=$as_save_IFS
5199 LD=$ac_cv_prog_LD
5200 if test -n "$LD"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5202 $as_echo "$LD" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5210 if test -z "$ac_cv_prog_LD"; then
5211 ac_ct_LD=$LD
5212 # Extract the first word of "ld", so it can be a program name with args.
5213 set dummy ld; ac_word=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5217 $as_echo_n "(cached) " >&6
5218 else
5219 if test -n "$ac_ct_LD"; then
5220 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5221 else
5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223 for as_dir in $PATH
5225 IFS=$as_save_IFS
5226 test -z "$as_dir" && as_dir=.
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5229 ac_cv_prog_ac_ct_LD="ld"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 break 2
5233 done
5234 done
5235 IFS=$as_save_IFS
5239 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5240 if test -n "$ac_ct_LD"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5242 $as_echo "$ac_ct_LD" >&6; }
5243 else
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5248 if test "x$ac_ct_LD" = x; then
5249 LD=""
5250 else
5251 case $cross_compiling:$ac_tool_warned in
5252 yes:)
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5255 ac_tool_warned=yes ;;
5256 esac
5257 LD=$ac_ct_LD
5259 else
5260 LD="$ac_cv_prog_LD"
5264 case $host in
5265 *-darwin*)
5266 with_fontconfig=${with_fontconfig:-no}
5268 *-mingw32*|*-cygwin*)
5269 enable_win16=${enable_win16:-no}
5270 CFLAGS="$CFLAGS -D_WIN32"
5272 esac
5274 case $host in
5275 x86_64*|amd64*)
5276 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5277 then
5278 CC="$CC -m32"
5279 CXX="$CXX -m32"
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5281 $as_echo_n "checking whether $CC works... " >&6; }
5283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5284 /* end confdefs.h. */
5287 main ()
5291 return 0;
5293 _ACEOF
5294 if ac_fn_c_try_link "$LINENO"; then :
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5296 $as_echo "yes" >&6; }
5297 else
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299 $as_echo "no" >&6; }
5300 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5302 rm -f core conftest.err conftest.$ac_objext \
5303 conftest$ac_exeext conftest.$ac_ext
5304 host_cpu="i386"
5305 notice_platform="32-bit "
5306 TARGETFLAGS="-m32"
5308 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5309 export PKG_CONFIG_PATH
5310 enable_win16=${enable_win16:-yes}
5311 else
5312 if test "x${GCC}" = "xyes"
5313 then
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5315 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5318 #include <stdarg.h>
5320 main ()
5322 void func(__builtin_ms_va_list *args);
5324 return 0;
5326 _ACEOF
5327 if ac_fn_c_try_compile "$LINENO"; then :
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5329 $as_echo "yes" >&6; }
5330 else
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5333 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5337 CC="$CC -m64"
5338 CXX="$CXX -m64"
5339 host_cpu="x86_64"
5340 notice_platform="64-bit "
5341 TARGETFLAGS="-m64"
5345 arm*)
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5347 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5350 int ac_test(int i) { return i; }
5352 main ()
5354 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5356 return 0;
5358 _ACEOF
5359 if ac_fn_c_try_link "$LINENO"; then :
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5361 $as_echo "yes" >&6; }
5362 else
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5365 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5367 rm -f core conftest.err conftest.$ac_objext \
5368 conftest$ac_exeext conftest.$ac_ext
5369 case $with_float_abi in
5370 soft|softfp|hard)
5371 float_abi=$with_float_abi ;;
5373 case $host_os in
5374 *eabihf)
5375 float_abi=hard ;;
5377 float_abi=softfp
5378 saved_CFLAGS=$CFLAGS
5379 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5381 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5383 /* end confdefs.h. */
5386 main ()
5388 asm("vmrs r2,fpscr");
5390 return 0;
5392 _ACEOF
5393 if ac_fn_c_try_link "$LINENO"; then :
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5395 $as_echo "yes" >&6; }
5396 else
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5399 float_abi=soft
5400 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5402 rm -f core conftest.err conftest.$ac_objext \
5403 conftest$ac_exeext conftest.$ac_ext
5404 CFLAGS=$saved_CFLAGS
5405 esac
5407 esac
5408 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5409 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5412 i[3456789]86*)
5413 enable_win16=${enable_win16:-yes}
5415 esac
5417 enable_win16=${enable_win16:-no}
5418 enable_win64=${enable_win64:-no}
5420 enable_winetest=${enable_winetest:-$enable_tests}
5422 if test -n "$with_wine64"
5423 then
5424 if test "x$enable_win64" = "xyes"
5425 then
5426 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5427 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5429 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5430 You should create a separate build directory and run configure from there." "$LINENO" 5
5431 enable_fonts=${enable_fonts:-no}
5432 enable_server=${enable_server:-no}
5433 wine64_disable=\#
5435 elif test "x$enable_win64" = "xyes"
5436 then
5437 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5441 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5442 if ${wine_cv_toolsdir+:} false; then :
5443 $as_echo_n "(cached) " >&6
5444 else
5445 wine_cv_toolsdir="$with_wine_tools"
5446 if test -z "$with_wine_tools"; then
5447 if test "$cross_compiling" = "yes"; then
5448 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5449 elif test -n "$with_wine64"; then
5450 wine_cv_toolsdir="$with_wine64"
5453 if test -z "$wine_cv_toolsdir"; then
5454 wine_makedep=tools/makedep
5455 wine_cv_toolsdir="\$(top_builddir)"
5456 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5457 wine_makedep=$wine_cv_toolsdir/tools/makedep
5458 case "$wine_cv_toolsdir" in
5459 /*) ;;
5460 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5461 esac
5462 enable_tools=${enable_tools:-no}
5463 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5464 else
5465 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5469 $as_echo "$wine_cv_toolsdir" >&6; }
5470 TOOLSDIR=$wine_cv_toolsdir
5472 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5473 then
5474 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5478 for ac_prog in flex
5480 # Extract the first word of "$ac_prog", so it can be a program name with args.
5481 set dummy $ac_prog; ac_word=$2
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5483 $as_echo_n "checking for $ac_word... " >&6; }
5484 if ${ac_cv_prog_FLEX+:} false; then :
5485 $as_echo_n "(cached) " >&6
5486 else
5487 if test -n "$FLEX"; then
5488 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5489 else
5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5491 for as_dir in $PATH
5493 IFS=$as_save_IFS
5494 test -z "$as_dir" && as_dir=.
5495 for ac_exec_ext in '' $ac_executable_extensions; do
5496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5497 ac_cv_prog_FLEX="$ac_prog"
5498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5499 break 2
5501 done
5502 done
5503 IFS=$as_save_IFS
5507 FLEX=$ac_cv_prog_FLEX
5508 if test -n "$FLEX"; then
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5510 $as_echo "$FLEX" >&6; }
5511 else
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5513 $as_echo "no" >&6; }
5517 test -n "$FLEX" && break
5518 done
5519 test -n "$FLEX" || FLEX="none"
5521 if test "$FLEX" = "none"
5522 then
5523 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5526 $as_echo_n "checking whether flex is recent enough... " >&6; }
5527 cat >conftest.l <<EOF
5528 %top{
5529 #include "prediluvian.h"
5533 if $FLEX -t conftest.l >/dev/null 2>&5
5534 then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5536 $as_echo "yes" >&6; }
5537 else
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5540 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5543 for ac_prog in bison
5545 # Extract the first word of "$ac_prog", so it can be a program name with args.
5546 set dummy $ac_prog; ac_word=$2
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5548 $as_echo_n "checking for $ac_word... " >&6; }
5549 if ${ac_cv_prog_BISON+:} false; then :
5550 $as_echo_n "(cached) " >&6
5551 else
5552 if test -n "$BISON"; then
5553 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5554 else
5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 for as_dir in $PATH
5558 IFS=$as_save_IFS
5559 test -z "$as_dir" && as_dir=.
5560 for ac_exec_ext in '' $ac_executable_extensions; do
5561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5562 ac_cv_prog_BISON="$ac_prog"
5563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 break 2
5566 done
5567 done
5568 IFS=$as_save_IFS
5572 BISON=$ac_cv_prog_BISON
5573 if test -n "$BISON"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5575 $as_echo "$BISON" >&6; }
5576 else
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5582 test -n "$BISON" && break
5583 done
5584 test -n "$BISON" || BISON="none"
5586 if test "$BISON" = "none"
5587 then
5588 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5591 if test -n "$ac_tool_prefix"; then
5592 for ac_prog in ar gar
5594 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5595 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5597 $as_echo_n "checking for $ac_word... " >&6; }
5598 if ${ac_cv_prog_AR+:} false; then :
5599 $as_echo_n "(cached) " >&6
5600 else
5601 if test -n "$AR"; then
5602 ac_cv_prog_AR="$AR" # Let the user override the test.
5603 else
5604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5605 for as_dir in $PATH
5607 IFS=$as_save_IFS
5608 test -z "$as_dir" && as_dir=.
5609 for ac_exec_ext in '' $ac_executable_extensions; do
5610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 break 2
5615 done
5616 done
5617 IFS=$as_save_IFS
5621 AR=$ac_cv_prog_AR
5622 if test -n "$AR"; then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5624 $as_echo "$AR" >&6; }
5625 else
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627 $as_echo "no" >&6; }
5631 test -n "$AR" && break
5632 done
5634 if test -z "$AR"; then
5635 ac_ct_AR=$AR
5636 for ac_prog in ar gar
5638 # Extract the first word of "$ac_prog", so it can be a program name with args.
5639 set dummy $ac_prog; ac_word=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5643 $as_echo_n "(cached) " >&6
5644 else
5645 if test -n "$ac_ct_AR"; then
5646 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5647 else
5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 for as_dir in $PATH
5651 IFS=$as_save_IFS
5652 test -z "$as_dir" && as_dir=.
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_ac_ct_AR="$ac_prog"
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 break 2
5659 done
5660 done
5661 IFS=$as_save_IFS
5665 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5666 if test -n "$ac_ct_AR"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5668 $as_echo "$ac_ct_AR" >&6; }
5669 else
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5675 test -n "$ac_ct_AR" && break
5676 done
5678 if test "x$ac_ct_AR" = x; then
5679 AR="ar"
5680 else
5681 case $cross_compiling:$ac_tool_warned in
5682 yes:)
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5685 ac_tool_warned=yes ;;
5686 esac
5687 AR=$ac_ct_AR
5691 if test -n "$ac_tool_prefix"; then
5692 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5693 set dummy ${ac_tool_prefix}strip; ac_word=$2
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5695 $as_echo_n "checking for $ac_word... " >&6; }
5696 if ${ac_cv_prog_STRIP+:} false; then :
5697 $as_echo_n "(cached) " >&6
5698 else
5699 if test -n "$STRIP"; then
5700 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5701 else
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703 for as_dir in $PATH
5705 IFS=$as_save_IFS
5706 test -z "$as_dir" && as_dir=.
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5709 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 break 2
5713 done
5714 done
5715 IFS=$as_save_IFS
5719 STRIP=$ac_cv_prog_STRIP
5720 if test -n "$STRIP"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5722 $as_echo "$STRIP" >&6; }
5723 else
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5725 $as_echo "no" >&6; }
5730 if test -z "$ac_cv_prog_STRIP"; then
5731 ac_ct_STRIP=$STRIP
5732 # Extract the first word of "strip", so it can be a program name with args.
5733 set dummy strip; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 if test -n "$ac_ct_STRIP"; then
5740 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5749 ac_cv_prog_ac_ct_STRIP="strip"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 break 2
5753 done
5754 done
5755 IFS=$as_save_IFS
5759 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5760 if test -n "$ac_ct_STRIP"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5762 $as_echo "$ac_ct_STRIP" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5768 if test "x$ac_ct_STRIP" = x; then
5769 STRIP="strip"
5770 else
5771 case $cross_compiling:$ac_tool_warned in
5772 yes:)
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5775 ac_tool_warned=yes ;;
5776 esac
5777 STRIP=$ac_ct_STRIP
5779 else
5780 STRIP="$ac_cv_prog_STRIP"
5783 ARFLAGS=rc
5785 if test -n "$ac_tool_prefix"; then
5786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5787 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5789 $as_echo_n "checking for $ac_word... " >&6; }
5790 if ${ac_cv_prog_RANLIB+:} false; then :
5791 $as_echo_n "(cached) " >&6
5792 else
5793 if test -n "$RANLIB"; then
5794 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5795 else
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 for as_dir in $PATH
5799 IFS=$as_save_IFS
5800 test -z "$as_dir" && as_dir=.
5801 for ac_exec_ext in '' $ac_executable_extensions; do
5802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5803 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5805 break 2
5807 done
5808 done
5809 IFS=$as_save_IFS
5813 RANLIB=$ac_cv_prog_RANLIB
5814 if test -n "$RANLIB"; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5816 $as_echo "$RANLIB" >&6; }
5817 else
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5819 $as_echo "no" >&6; }
5824 if test -z "$ac_cv_prog_RANLIB"; then
5825 ac_ct_RANLIB=$RANLIB
5826 # Extract the first word of "ranlib", so it can be a program name with args.
5827 set dummy ranlib; ac_word=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829 $as_echo_n "checking for $ac_word... " >&6; }
5830 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5831 $as_echo_n "(cached) " >&6
5832 else
5833 if test -n "$ac_ct_RANLIB"; then
5834 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5835 else
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 for as_dir in $PATH
5839 IFS=$as_save_IFS
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843 ac_cv_prog_ac_ct_RANLIB="ranlib"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845 break 2
5847 done
5848 done
5849 IFS=$as_save_IFS
5853 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5854 if test -n "$ac_ct_RANLIB"; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5856 $as_echo "$ac_ct_RANLIB" >&6; }
5857 else
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859 $as_echo "no" >&6; }
5862 if test "x$ac_ct_RANLIB" = x; then
5863 RANLIB=":"
5864 else
5865 case $cross_compiling:$ac_tool_warned in
5866 yes:)
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5869 ac_tool_warned=yes ;;
5870 esac
5871 RANLIB=$ac_ct_RANLIB
5873 else
5874 RANLIB="$ac_cv_prog_RANLIB"
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5878 $as_echo_n "checking whether ln -s works... " >&6; }
5879 LN_S=$as_ln_s
5880 if test "$LN_S" = "ln -s"; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5882 $as_echo "yes" >&6; }
5883 else
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5885 $as_echo "no, using $LN_S" >&6; }
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5889 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5890 if ${ac_cv_path_GREP+:} false; then :
5891 $as_echo_n "(cached) " >&6
5892 else
5893 if test -z "$GREP"; then
5894 ac_path_GREP_found=false
5895 # Loop through the user's path and test for each of PROGNAME-LIST
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5899 IFS=$as_save_IFS
5900 test -z "$as_dir" && as_dir=.
5901 for ac_prog in grep ggrep; do
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5904 as_fn_executable_p "$ac_path_GREP" || continue
5905 # Check for GNU ac_path_GREP and select it if it is found.
5906 # Check for GNU $ac_path_GREP
5907 case `"$ac_path_GREP" --version 2>&1` in
5908 *GNU*)
5909 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5911 ac_count=0
5912 $as_echo_n 0123456789 >"conftest.in"
5913 while :
5915 cat "conftest.in" "conftest.in" >"conftest.tmp"
5916 mv "conftest.tmp" "conftest.in"
5917 cp "conftest.in" "conftest.nl"
5918 $as_echo 'GREP' >> "conftest.nl"
5919 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5920 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5921 as_fn_arith $ac_count + 1 && ac_count=$as_val
5922 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5923 # Best one so far, save it but keep looking for a better one
5924 ac_cv_path_GREP="$ac_path_GREP"
5925 ac_path_GREP_max=$ac_count
5927 # 10*(2^10) chars as input seems more than enough
5928 test $ac_count -gt 10 && break
5929 done
5930 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5931 esac
5933 $ac_path_GREP_found && break 3
5934 done
5935 done
5936 done
5937 IFS=$as_save_IFS
5938 if test -z "$ac_cv_path_GREP"; then
5939 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5941 else
5942 ac_cv_path_GREP=$GREP
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5947 $as_echo "$ac_cv_path_GREP" >&6; }
5948 GREP="$ac_cv_path_GREP"
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5952 $as_echo_n "checking for egrep... " >&6; }
5953 if ${ac_cv_path_EGREP+:} false; then :
5954 $as_echo_n "(cached) " >&6
5955 else
5956 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5957 then ac_cv_path_EGREP="$GREP -E"
5958 else
5959 if test -z "$EGREP"; then
5960 ac_path_EGREP_found=false
5961 # Loop through the user's path and test for each of PROGNAME-LIST
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5965 IFS=$as_save_IFS
5966 test -z "$as_dir" && as_dir=.
5967 for ac_prog in egrep; do
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5970 as_fn_executable_p "$ac_path_EGREP" || continue
5971 # Check for GNU ac_path_EGREP and select it if it is found.
5972 # Check for GNU $ac_path_EGREP
5973 case `"$ac_path_EGREP" --version 2>&1` in
5974 *GNU*)
5975 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5977 ac_count=0
5978 $as_echo_n 0123456789 >"conftest.in"
5979 while :
5981 cat "conftest.in" "conftest.in" >"conftest.tmp"
5982 mv "conftest.tmp" "conftest.in"
5983 cp "conftest.in" "conftest.nl"
5984 $as_echo 'EGREP' >> "conftest.nl"
5985 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5986 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5987 as_fn_arith $ac_count + 1 && ac_count=$as_val
5988 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5989 # Best one so far, save it but keep looking for a better one
5990 ac_cv_path_EGREP="$ac_path_EGREP"
5991 ac_path_EGREP_max=$ac_count
5993 # 10*(2^10) chars as input seems more than enough
5994 test $ac_count -gt 10 && break
5995 done
5996 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5997 esac
5999 $ac_path_EGREP_found && break 3
6000 done
6001 done
6002 done
6003 IFS=$as_save_IFS
6004 if test -z "$ac_cv_path_EGREP"; then
6005 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6007 else
6008 ac_cv_path_EGREP=$EGREP
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6014 $as_echo "$ac_cv_path_EGREP" >&6; }
6015 EGREP="$ac_cv_path_EGREP"
6018 # Extract the first word of "ldconfig", so it can be a program name with args.
6019 set dummy ldconfig; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if ${ac_cv_path_LDCONFIG+:} false; then :
6023 $as_echo_n "(cached) " >&6
6024 else
6025 case $LDCONFIG in
6026 [\\/]* | ?:[\\/]*)
6027 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 for as_dir in /sbin /usr/sbin $PATH
6033 IFS=$as_save_IFS
6034 test -z "$as_dir" && as_dir=.
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6037 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 break 2
6041 done
6042 done
6043 IFS=$as_save_IFS
6045 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6047 esac
6049 LDCONFIG=$ac_cv_path_LDCONFIG
6050 if test -n "$LDCONFIG"; then
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6052 $as_echo "$LDCONFIG" >&6; }
6053 else
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055 $as_echo "no" >&6; }
6059 for ac_prog in msgfmt
6061 # Extract the first word of "$ac_prog", so it can be a program name with args.
6062 set dummy $ac_prog; ac_word=$2
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 $as_echo_n "checking for $ac_word... " >&6; }
6065 if ${ac_cv_prog_MSGFMT+:} false; then :
6066 $as_echo_n "(cached) " >&6
6067 else
6068 if test -n "$MSGFMT"; then
6069 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6070 else
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 for as_dir in $PATH
6074 IFS=$as_save_IFS
6075 test -z "$as_dir" && as_dir=.
6076 for ac_exec_ext in '' $ac_executable_extensions; do
6077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6078 ac_cv_prog_MSGFMT="$ac_prog"
6079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6080 break 2
6082 done
6083 done
6084 IFS=$as_save_IFS
6088 MSGFMT=$ac_cv_prog_MSGFMT
6089 if test -n "$MSGFMT"; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6091 $as_echo "$MSGFMT" >&6; }
6092 else
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 $as_echo "no" >&6; }
6098 test -n "$MSGFMT" && break
6099 done
6100 test -n "$MSGFMT" || MSGFMT="false"
6102 if ${ac_tool_prefix+:} false; then :
6103 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6104 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6108 $as_echo_n "(cached) " >&6
6109 else
6110 if test -n "$PKG_CONFIG"; then
6111 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6112 else
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 for as_dir in $PATH
6116 IFS=$as_save_IFS
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122 break 2
6124 done
6125 done
6126 IFS=$as_save_IFS
6130 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6131 if test -n "$PKG_CONFIG"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6133 $as_echo "$PKG_CONFIG" >&6; }
6134 else
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6141 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6142 if test "x$cross_compiling" = xyes; then :
6144 else
6145 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6146 # Extract the first word of "pkg-config", so it can be a program name with args.
6147 set dummy pkg-config; ac_word=$2
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6149 $as_echo_n "checking for $ac_word... " >&6; }
6150 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6151 $as_echo_n "(cached) " >&6
6152 else
6153 if test -n "$PKG_CONFIG"; then
6154 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6155 else
6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 for as_dir in $PATH
6159 IFS=$as_save_IFS
6160 test -z "$as_dir" && as_dir=.
6161 for ac_exec_ext in '' $ac_executable_extensions; do
6162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6163 ac_cv_prog_PKG_CONFIG="pkg-config"
6164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6165 break 2
6167 done
6168 done
6169 IFS=$as_save_IFS
6173 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6174 if test -n "$PKG_CONFIG"; then
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6176 $as_echo "$PKG_CONFIG" >&6; }
6177 else
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6179 $as_echo "no" >&6; }
6184 else
6185 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6188 if test "x$enable_maintainer_mode" != "xyes"
6189 then
6190 FONTFORGE=""
6191 RSVG=""
6192 CONVERT=""
6193 ICOTOOL=""
6194 else
6195 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6196 for ac_prog in fontforge
6198 # Extract the first word of "$ac_prog", so it can be a program name with args.
6199 set dummy $ac_prog; ac_word=$2
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6201 $as_echo_n "checking for $ac_word... " >&6; }
6202 if ${ac_cv_prog_FONTFORGE+:} false; then :
6203 $as_echo_n "(cached) " >&6
6204 else
6205 if test -n "$FONTFORGE"; then
6206 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6207 else
6208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 for as_dir in $PATH
6211 IFS=$as_save_IFS
6212 test -z "$as_dir" && as_dir=.
6213 for ac_exec_ext in '' $ac_executable_extensions; do
6214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6215 ac_cv_prog_FONTFORGE="$ac_prog"
6216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6217 break 2
6219 done
6220 done
6221 IFS=$as_save_IFS
6225 FONTFORGE=$ac_cv_prog_FONTFORGE
6226 if test -n "$FONTFORGE"; then
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6228 $as_echo "$FONTFORGE" >&6; }
6229 else
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6231 $as_echo "no" >&6; }
6235 test -n "$FONTFORGE" && break
6236 done
6237 test -n "$FONTFORGE" || FONTFORGE="false"
6239 for ac_prog in rsvg-convert rsvg
6241 # Extract the first word of "$ac_prog", so it can be a program name with args.
6242 set dummy $ac_prog; ac_word=$2
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6244 $as_echo_n "checking for $ac_word... " >&6; }
6245 if ${ac_cv_prog_RSVG+:} false; then :
6246 $as_echo_n "(cached) " >&6
6247 else
6248 if test -n "$RSVG"; then
6249 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6250 else
6251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 for as_dir in $PATH
6254 IFS=$as_save_IFS
6255 test -z "$as_dir" && as_dir=.
6256 for ac_exec_ext in '' $ac_executable_extensions; do
6257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6258 ac_cv_prog_RSVG="$ac_prog"
6259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6260 break 2
6262 done
6263 done
6264 IFS=$as_save_IFS
6268 RSVG=$ac_cv_prog_RSVG
6269 if test -n "$RSVG"; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6271 $as_echo "$RSVG" >&6; }
6272 else
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6274 $as_echo "no" >&6; }
6278 test -n "$RSVG" && break
6279 done
6280 test -n "$RSVG" || RSVG="false"
6282 for ac_prog in convert
6284 # Extract the first word of "$ac_prog", so it can be a program name with args.
6285 set dummy $ac_prog; ac_word=$2
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6287 $as_echo_n "checking for $ac_word... " >&6; }
6288 if ${ac_cv_prog_CONVERT+:} false; then :
6289 $as_echo_n "(cached) " >&6
6290 else
6291 if test -n "$CONVERT"; then
6292 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6293 else
6294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6295 for as_dir in $PATH
6297 IFS=$as_save_IFS
6298 test -z "$as_dir" && as_dir=.
6299 for ac_exec_ext in '' $ac_executable_extensions; do
6300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6301 ac_cv_prog_CONVERT="$ac_prog"
6302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6303 break 2
6305 done
6306 done
6307 IFS=$as_save_IFS
6311 CONVERT=$ac_cv_prog_CONVERT
6312 if test -n "$CONVERT"; then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6314 $as_echo "$CONVERT" >&6; }
6315 else
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6317 $as_echo "no" >&6; }
6321 test -n "$CONVERT" && break
6322 done
6323 test -n "$CONVERT" || CONVERT="false"
6325 for ac_prog in icotool
6327 # Extract the first word of "$ac_prog", so it can be a program name with args.
6328 set dummy $ac_prog; ac_word=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330 $as_echo_n "checking for $ac_word... " >&6; }
6331 if ${ac_cv_prog_ICOTOOL+:} false; then :
6332 $as_echo_n "(cached) " >&6
6333 else
6334 if test -n "$ICOTOOL"; then
6335 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6336 else
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338 for as_dir in $PATH
6340 IFS=$as_save_IFS
6341 test -z "$as_dir" && as_dir=.
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344 ac_cv_prog_ICOTOOL="$ac_prog"
6345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346 break 2
6348 done
6349 done
6350 IFS=$as_save_IFS
6354 ICOTOOL=$ac_cv_prog_ICOTOOL
6355 if test -n "$ICOTOOL"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6357 $as_echo "$ICOTOOL" >&6; }
6358 else
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6360 $as_echo "no" >&6; }
6364 test -n "$ICOTOOL" && break
6365 done
6366 test -n "$ICOTOOL" || ICOTOOL="false"
6368 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6369 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6371 if test "$CONVERT" = false
6372 then
6373 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6374 else
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6376 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6377 convert_version=`convert --version | head -n1`
6378 if test "x$convert_version" != "x"
6379 then
6380 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6381 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6382 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6383 then
6384 CONVERT=false
6387 if test "$CONVERT" = false
6388 then
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6390 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6391 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6392 else
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6394 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6398 if test "$ICOTOOL" = false
6399 then
6400 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6401 else
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6403 $as_echo_n "checking for recent enough icotool... " >&6; }
6404 icotool_version=`icotool --version | head -n1`
6405 if test "x$icotool_version" != "x"
6406 then
6407 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6408 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6409 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6410 then
6411 ICOTOOL=false
6412 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6415 if test "$ICOTOOL" = false
6416 then
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6418 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6419 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6420 else
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6422 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6426 with_gettext=yes
6427 with_gettextpo=yes
6428 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6431 test "x$with_gettext" != xno || MSGFMT=false
6432 if test "$MSGFMT" != "false"
6433 then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6435 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6436 cat >conftest.po <<EOF
6437 # comment
6438 msgctxt "ctxt"
6439 msgid "id"
6440 msgstr "str"
6442 if $MSGFMT -o /dev/null conftest.po 2>&5
6443 then
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6445 $as_echo "yes" >&6; }
6446 else
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6448 $as_echo "no" >&6; }
6449 MSGFMT=false
6452 if test "$MSGFMT" = false; then :
6453 case "x$with_gettext" in
6454 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6455 xno) ;;
6456 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6457 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6458 esac
6459 enable_po=${enable_po:-no}
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6464 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6465 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6466 $as_echo_n "(cached) " >&6
6467 else
6468 ac_check_lib_save_LIBS=$LIBS
6469 LIBS="-li386 $LIBS"
6470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6471 /* end confdefs.h. */
6473 /* Override any GCC internal prototype to avoid an error.
6474 Use char because int might match the return type of a GCC
6475 builtin and then its argument prototype would still apply. */
6476 #ifdef __cplusplus
6477 extern "C"
6478 #endif
6479 char i386_set_ldt ();
6481 main ()
6483 return i386_set_ldt ();
6485 return 0;
6487 _ACEOF
6488 if ac_fn_c_try_link "$LINENO"; then :
6489 ac_cv_lib_i386_i386_set_ldt=yes
6490 else
6491 ac_cv_lib_i386_i386_set_ldt=no
6493 rm -f core conftest.err conftest.$ac_objext \
6494 conftest$ac_exeext conftest.$ac_ext
6495 LIBS=$ac_check_lib_save_LIBS
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6498 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6499 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6500 cat >>confdefs.h <<_ACEOF
6501 #define HAVE_LIBI386 1
6502 _ACEOF
6504 LIBS="-li386 $LIBS"
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6509 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6510 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6511 $as_echo_n "(cached) " >&6
6512 else
6513 ac_check_lib_save_LIBS=$LIBS
6514 LIBS="-lossaudio $LIBS"
6515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6516 /* end confdefs.h. */
6518 /* Override any GCC internal prototype to avoid an error.
6519 Use char because int might match the return type of a GCC
6520 builtin and then its argument prototype would still apply. */
6521 #ifdef __cplusplus
6522 extern "C"
6523 #endif
6524 char _oss_ioctl ();
6526 main ()
6528 return _oss_ioctl ();
6530 return 0;
6532 _ACEOF
6533 if ac_fn_c_try_link "$LINENO"; then :
6534 ac_cv_lib_ossaudio__oss_ioctl=yes
6535 else
6536 ac_cv_lib_ossaudio__oss_ioctl=no
6538 rm -f core conftest.err conftest.$ac_objext \
6539 conftest$ac_exeext conftest.$ac_ext
6540 LIBS=$ac_check_lib_save_LIBS
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6543 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6544 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6545 cat >>confdefs.h <<_ACEOF
6546 #define HAVE_LIBOSSAUDIO 1
6547 _ACEOF
6549 LIBS="-lossaudio $LIBS"
6554 OPENGL_LIBS=""
6558 # Check whether --enable-largefile was given.
6559 if test "${enable_largefile+set}" = set; then :
6560 enableval=$enable_largefile;
6563 if test "$enable_largefile" != no; then
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6566 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6567 if ${ac_cv_sys_largefile_CC+:} false; then :
6568 $as_echo_n "(cached) " >&6
6569 else
6570 ac_cv_sys_largefile_CC=no
6571 if test "$GCC" != yes; then
6572 ac_save_CC=$CC
6573 while :; do
6574 # IRIX 6.2 and later do not support large files by default,
6575 # so use the C compiler's -n32 option if that helps.
6576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6577 /* end confdefs.h. */
6578 #include <sys/types.h>
6579 /* Check that off_t can represent 2**63 - 1 correctly.
6580 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6581 since some C++ compilers masquerading as C compilers
6582 incorrectly reject 9223372036854775807. */
6583 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6584 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6585 && LARGE_OFF_T % 2147483647 == 1)
6586 ? 1 : -1];
6588 main ()
6592 return 0;
6594 _ACEOF
6595 if ac_fn_c_try_compile "$LINENO"; then :
6596 break
6598 rm -f core conftest.err conftest.$ac_objext
6599 CC="$CC -n32"
6600 if ac_fn_c_try_compile "$LINENO"; then :
6601 ac_cv_sys_largefile_CC=' -n32'; break
6603 rm -f core conftest.err conftest.$ac_objext
6604 break
6605 done
6606 CC=$ac_save_CC
6607 rm -f conftest.$ac_ext
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6611 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6612 if test "$ac_cv_sys_largefile_CC" != no; then
6613 CC=$CC$ac_cv_sys_largefile_CC
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6617 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6618 if ${ac_cv_sys_file_offset_bits+:} false; then :
6619 $as_echo_n "(cached) " >&6
6620 else
6621 while :; do
6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6624 #include <sys/types.h>
6625 /* Check that off_t can represent 2**63 - 1 correctly.
6626 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6627 since some C++ compilers masquerading as C compilers
6628 incorrectly reject 9223372036854775807. */
6629 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6630 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6631 && LARGE_OFF_T % 2147483647 == 1)
6632 ? 1 : -1];
6634 main ()
6638 return 0;
6640 _ACEOF
6641 if ac_fn_c_try_compile "$LINENO"; then :
6642 ac_cv_sys_file_offset_bits=no; break
6644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6646 /* end confdefs.h. */
6647 #define _FILE_OFFSET_BITS 64
6648 #include <sys/types.h>
6649 /* Check that off_t can represent 2**63 - 1 correctly.
6650 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6651 since some C++ compilers masquerading as C compilers
6652 incorrectly reject 9223372036854775807. */
6653 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6654 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6655 && LARGE_OFF_T % 2147483647 == 1)
6656 ? 1 : -1];
6658 main ()
6662 return 0;
6664 _ACEOF
6665 if ac_fn_c_try_compile "$LINENO"; then :
6666 ac_cv_sys_file_offset_bits=64; break
6668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6669 ac_cv_sys_file_offset_bits=unknown
6670 break
6671 done
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6674 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6675 case $ac_cv_sys_file_offset_bits in #(
6676 no | unknown) ;;
6678 cat >>confdefs.h <<_ACEOF
6679 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6680 _ACEOF
6682 esac
6683 rm -rf conftest*
6684 if test $ac_cv_sys_file_offset_bits = unknown; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6686 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6687 if ${ac_cv_sys_large_files+:} false; then :
6688 $as_echo_n "(cached) " >&6
6689 else
6690 while :; do
6691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6692 /* end confdefs.h. */
6693 #include <sys/types.h>
6694 /* Check that off_t can represent 2**63 - 1 correctly.
6695 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6696 since some C++ compilers masquerading as C compilers
6697 incorrectly reject 9223372036854775807. */
6698 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6699 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6700 && LARGE_OFF_T % 2147483647 == 1)
6701 ? 1 : -1];
6703 main ()
6707 return 0;
6709 _ACEOF
6710 if ac_fn_c_try_compile "$LINENO"; then :
6711 ac_cv_sys_large_files=no; break
6713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6715 /* end confdefs.h. */
6716 #define _LARGE_FILES 1
6717 #include <sys/types.h>
6718 /* Check that off_t can represent 2**63 - 1 correctly.
6719 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6720 since some C++ compilers masquerading as C compilers
6721 incorrectly reject 9223372036854775807. */
6722 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6723 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6724 && LARGE_OFF_T % 2147483647 == 1)
6725 ? 1 : -1];
6727 main ()
6731 return 0;
6733 _ACEOF
6734 if ac_fn_c_try_compile "$LINENO"; then :
6735 ac_cv_sys_large_files=1; break
6737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6738 ac_cv_sys_large_files=unknown
6739 break
6740 done
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6743 $as_echo "$ac_cv_sys_large_files" >&6; }
6744 case $ac_cv_sys_large_files in #(
6745 no | unknown) ;;
6747 cat >>confdefs.h <<_ACEOF
6748 #define _LARGE_FILES $ac_cv_sys_large_files
6749 _ACEOF
6751 esac
6752 rm -rf conftest*
6759 ac_ext=c
6760 ac_cpp='$CPP $CPPFLAGS'
6761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6765 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6766 # On Suns, sometimes $CPP names a directory.
6767 if test -n "$CPP" && test -d "$CPP"; then
6768 CPP=
6770 if test -z "$CPP"; then
6771 if ${ac_cv_prog_CPP+:} false; then :
6772 $as_echo_n "(cached) " >&6
6773 else
6774 # Double quotes because CPP needs to be expanded
6775 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6777 ac_preproc_ok=false
6778 for ac_c_preproc_warn_flag in '' yes
6780 # Use a header file that comes with gcc, so configuring glibc
6781 # with a fresh cross-compiler works.
6782 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6783 # <limits.h> exists even on freestanding compilers.
6784 # On the NeXT, cc -E runs the code through the compiler's parser,
6785 # not just through cpp. "Syntax error" is here to catch this case.
6786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6787 /* end confdefs.h. */
6788 #ifdef __STDC__
6789 # include <limits.h>
6790 #else
6791 # include <assert.h>
6792 #endif
6793 Syntax error
6794 _ACEOF
6795 if ac_fn_c_try_cpp "$LINENO"; then :
6797 else
6798 # Broken: fails on valid input.
6799 continue
6801 rm -f conftest.err conftest.i conftest.$ac_ext
6803 # OK, works on sane cases. Now check whether nonexistent headers
6804 # can be detected and how.
6805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6806 /* end confdefs.h. */
6807 #include <ac_nonexistent.h>
6808 _ACEOF
6809 if ac_fn_c_try_cpp "$LINENO"; then :
6810 # Broken: success on invalid input.
6811 continue
6812 else
6813 # Passes both tests.
6814 ac_preproc_ok=:
6815 break
6817 rm -f conftest.err conftest.i conftest.$ac_ext
6819 done
6820 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6821 rm -f conftest.i conftest.err conftest.$ac_ext
6822 if $ac_preproc_ok; then :
6823 break
6826 done
6827 ac_cv_prog_CPP=$CPP
6830 CPP=$ac_cv_prog_CPP
6831 else
6832 ac_cv_prog_CPP=$CPP
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6835 $as_echo "$CPP" >&6; }
6836 ac_preproc_ok=false
6837 for ac_c_preproc_warn_flag in '' yes
6839 # Use a header file that comes with gcc, so configuring glibc
6840 # with a fresh cross-compiler works.
6841 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6842 # <limits.h> exists even on freestanding compilers.
6843 # On the NeXT, cc -E runs the code through the compiler's parser,
6844 # not just through cpp. "Syntax error" is here to catch this case.
6845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6846 /* end confdefs.h. */
6847 #ifdef __STDC__
6848 # include <limits.h>
6849 #else
6850 # include <assert.h>
6851 #endif
6852 Syntax error
6853 _ACEOF
6854 if ac_fn_c_try_cpp "$LINENO"; then :
6856 else
6857 # Broken: fails on valid input.
6858 continue
6860 rm -f conftest.err conftest.i conftest.$ac_ext
6862 # OK, works on sane cases. Now check whether nonexistent headers
6863 # can be detected and how.
6864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6865 /* end confdefs.h. */
6866 #include <ac_nonexistent.h>
6867 _ACEOF
6868 if ac_fn_c_try_cpp "$LINENO"; then :
6869 # Broken: success on invalid input.
6870 continue
6871 else
6872 # Passes both tests.
6873 ac_preproc_ok=:
6874 break
6876 rm -f conftest.err conftest.i conftest.$ac_ext
6878 done
6879 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6880 rm -f conftest.i conftest.err conftest.$ac_ext
6881 if $ac_preproc_ok; then :
6883 else
6884 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6885 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6886 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6887 See \`config.log' for more details" "$LINENO" 5; }
6890 ac_ext=c
6891 ac_cpp='$CPP $CPPFLAGS'
6892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6898 $as_echo_n "checking for ANSI C header files... " >&6; }
6899 if ${ac_cv_header_stdc+:} false; then :
6900 $as_echo_n "(cached) " >&6
6901 else
6902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6903 /* end confdefs.h. */
6904 #include <stdlib.h>
6905 #include <stdarg.h>
6906 #include <string.h>
6907 #include <float.h>
6910 main ()
6914 return 0;
6916 _ACEOF
6917 if ac_fn_c_try_compile "$LINENO"; then :
6918 ac_cv_header_stdc=yes
6919 else
6920 ac_cv_header_stdc=no
6922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6924 if test $ac_cv_header_stdc = yes; then
6925 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6927 /* end confdefs.h. */
6928 #include <string.h>
6930 _ACEOF
6931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6932 $EGREP "memchr" >/dev/null 2>&1; then :
6934 else
6935 ac_cv_header_stdc=no
6937 rm -f conftest*
6941 if test $ac_cv_header_stdc = yes; then
6942 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6944 /* end confdefs.h. */
6945 #include <stdlib.h>
6947 _ACEOF
6948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6949 $EGREP "free" >/dev/null 2>&1; then :
6951 else
6952 ac_cv_header_stdc=no
6954 rm -f conftest*
6958 if test $ac_cv_header_stdc = yes; then
6959 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6960 if test "$cross_compiling" = yes; then :
6962 else
6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6965 #include <ctype.h>
6966 #include <stdlib.h>
6967 #if ((' ' & 0x0FF) == 0x020)
6968 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6969 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6970 #else
6971 # define ISLOWER(c) \
6972 (('a' <= (c) && (c) <= 'i') \
6973 || ('j' <= (c) && (c) <= 'r') \
6974 || ('s' <= (c) && (c) <= 'z'))
6975 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6976 #endif
6978 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6980 main ()
6982 int i;
6983 for (i = 0; i < 256; i++)
6984 if (XOR (islower (i), ISLOWER (i))
6985 || toupper (i) != TOUPPER (i))
6986 return 2;
6987 return 0;
6989 _ACEOF
6990 if ac_fn_c_try_run "$LINENO"; then :
6992 else
6993 ac_cv_header_stdc=no
6995 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6996 conftest.$ac_objext conftest.beam conftest.$ac_ext
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7002 $as_echo "$ac_cv_header_stdc" >&6; }
7003 if test $ac_cv_header_stdc = yes; then
7005 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7009 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7010 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7011 inttypes.h stdint.h unistd.h
7012 do :
7013 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7014 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7016 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7017 cat >>confdefs.h <<_ACEOF
7018 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7019 _ACEOF
7023 done
7026 for ac_header in \
7027 AL/al.h \
7028 ApplicationServices/ApplicationServices.h \
7029 AudioToolbox/AudioConverter.h \
7030 AudioUnit/AudioUnit.h \
7031 AudioUnit/AudioComponent.h \
7032 CL/cl.h \
7033 Carbon/Carbon.h \
7034 CommonCrypto/CommonCryptor.h \
7035 CoreAudio/CoreAudio.h \
7036 CoreServices/CoreServices.h \
7037 DiskArbitration/DiskArbitration.h \
7038 EGL/egl.h \
7039 IOKit/IOKitLib.h \
7040 IOKit/hid/IOHIDLib.h \
7041 OpenAL/al.h \
7042 OpenCL/opencl.h \
7043 QuickTime/ImageCompression.h \
7044 Security/Security.h \
7045 alias.h \
7046 alsa/asoundlib.h \
7047 arpa/inet.h \
7048 arpa/nameser.h \
7049 asm/types.h \
7050 asm/user.h \
7051 curses.h \
7052 direct.h \
7053 dirent.h \
7054 dlfcn.h \
7055 elf.h \
7056 float.h \
7057 fnmatch.h \
7058 getopt.h \
7059 gettext-po.h \
7060 grp.h \
7061 gsm.h \
7062 gsm/gsm.h \
7063 ieeefp.h \
7064 inet/mib2.h \
7065 io.h \
7066 kstat.h \
7067 libproc.h \
7068 link.h \
7069 linux/cdrom.h \
7070 linux/compiler.h \
7071 linux/filter.h \
7072 linux/hdreg.h \
7073 linux/hidraw.h \
7074 linux/input.h \
7075 linux/ioctl.h \
7076 linux/joystick.h \
7077 linux/major.h \
7078 linux/param.h \
7079 linux/serial.h \
7080 linux/types.h \
7081 linux/ucdrom.h \
7082 lwp.h \
7083 mach-o/nlist.h \
7084 mach-o/loader.h \
7085 mach/mach.h \
7086 mach/machine.h \
7087 machine/cpu.h \
7088 machine/limits.h \
7089 machine/sysarch.h \
7090 mntent.h \
7091 ncurses.h \
7092 netdb.h \
7093 netinet/in.h \
7094 netinet/in_systm.h \
7095 netinet/tcp.h \
7096 netinet/tcp_fsm.h \
7097 pcap/pcap.h \
7098 poll.h \
7099 port.h \
7100 process.h \
7101 pthread.h \
7102 pwd.h \
7103 sched.h \
7104 scsi/scsi.h \
7105 scsi/scsi_ioctl.h \
7106 scsi/sg.h \
7107 stdbool.h \
7108 stdint.h \
7109 stropts.h \
7110 sys/asoundlib.h \
7111 sys/attr.h \
7112 sys/auxv.h \
7113 sys/cdio.h \
7114 sys/elf32.h \
7115 sys/epoll.h \
7116 sys/event.h \
7117 sys/exec_elf.h \
7118 sys/filio.h \
7119 sys/inotify.h \
7120 sys/ioctl.h \
7121 sys/ipc.h \
7122 sys/limits.h \
7123 sys/link.h \
7124 sys/mman.h \
7125 sys/modem.h \
7126 sys/msg.h \
7127 sys/mtio.h \
7128 sys/param.h \
7129 sys/poll.h \
7130 sys/prctl.h \
7131 sys/protosw.h \
7132 sys/ptrace.h \
7133 sys/queue.h \
7134 sys/resource.h \
7135 sys/scsiio.h \
7136 sys/shm.h \
7137 sys/signal.h \
7138 sys/socket.h \
7139 sys/socketvar.h \
7140 sys/sockio.h \
7141 sys/statvfs.h \
7142 sys/strtio.h \
7143 sys/syscall.h \
7144 sys/sysinfo.h \
7145 sys/tihdr.h \
7146 sys/time.h \
7147 sys/timeout.h \
7148 sys/times.h \
7149 sys/uio.h \
7150 sys/user.h \
7151 sys/utsname.h \
7152 sys/vnode.h \
7153 sys/wait.h \
7154 syscall.h \
7155 termios.h \
7156 unistd.h \
7157 utime.h \
7158 valgrind/memcheck.h \
7159 valgrind/valgrind.h \
7160 zlib.h
7162 do :
7163 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7164 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7165 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7166 cat >>confdefs.h <<_ACEOF
7167 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7168 _ACEOF
7172 done
7174 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7175 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7177 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7182 if test $ac_cv_header_sys_mkdev_h = no; then
7183 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7184 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7186 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7193 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7194 if ${ac_cv_header_stat_broken+:} false; then :
7195 $as_echo_n "(cached) " >&6
7196 else
7197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7198 /* end confdefs.h. */
7199 #include <sys/types.h>
7200 #include <sys/stat.h>
7202 #if defined S_ISBLK && defined S_IFDIR
7203 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7204 #endif
7206 #if defined S_ISBLK && defined S_IFCHR
7207 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7208 #endif
7210 #if defined S_ISLNK && defined S_IFREG
7211 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7212 #endif
7214 #if defined S_ISSOCK && defined S_IFREG
7215 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7216 #endif
7218 _ACEOF
7219 if ac_fn_c_try_compile "$LINENO"; then :
7220 ac_cv_header_stat_broken=no
7221 else
7222 ac_cv_header_stat_broken=yes
7224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7227 $as_echo "$ac_cv_header_stat_broken" >&6; }
7228 if test $ac_cv_header_stat_broken = yes; then
7230 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7236 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7237 do :
7238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7239 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7240 #ifdef HAVE_SYS_PARAM_H
7241 # include <sys/param.h>
7242 #endif
7244 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7245 cat >>confdefs.h <<_ACEOF
7246 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7247 _ACEOF
7251 done
7254 for ac_header in \
7255 netinet/ip.h \
7256 net/if.h \
7257 net/if_arp.h \
7258 net/if_dl.h \
7259 net/if_types.h \
7260 net/route.h \
7261 netinet/if_ether.h \
7262 netinet/if_inarp.h \
7263 netinet/in_pcb.h \
7264 netinet/ip_icmp.h \
7265 netinet/ip_var.h \
7266 netinet/udp.h \
7267 netipx/ipx.h \
7268 sys/un.h \
7270 do :
7271 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7272 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7273 #ifdef HAVE_SYS_SOCKET_H
7274 # include <sys/socket.h>
7275 #endif
7276 #ifdef HAVE_SYS_SOCKETVAR_H
7277 # include <sys/socketvar.h>
7278 #endif
7279 #ifdef HAVE_NET_ROUTE_H
7280 # include <net/route.h>
7281 #endif
7282 #ifdef HAVE_NETINET_IN_H
7283 # include <netinet/in.h>
7284 #endif
7285 #ifdef HAVE_NETINET_IN_SYSTM_H
7286 # include <netinet/in_systm.h>
7287 #endif
7288 #ifdef HAVE_NET_IF_H
7289 # include <net/if.h>
7290 #endif
7291 #ifdef HAVE_NETINET_IP_H
7292 # include <netinet/ip.h>
7293 #endif
7295 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7296 cat >>confdefs.h <<_ACEOF
7297 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7298 _ACEOF
7302 done
7305 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7306 do :
7307 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7308 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7309 #ifdef HAVE_ALIAS_H
7310 # include <alias.h>
7311 #endif
7312 #ifdef HAVE_SYS_SOCKET_H
7313 # include <sys/socket.h>
7314 #endif
7315 #ifdef HAVE_SYS_SOCKETVAR_H
7316 # include <sys/socketvar.h>
7317 #endif
7318 #ifdef HAVE_SYS_TIMEOUT_H
7319 # include <sys/timeout.h>
7320 #endif
7321 #ifdef HAVE_NETINET_IN_H
7322 # include <netinet/in.h>
7323 #endif
7324 #ifdef HAVE_NETINET_IN_SYSTM_H
7325 # include <netinet/in_systm.h>
7326 #endif
7327 #ifdef HAVE_NETINET_IP_H
7328 # include <netinet/ip.h>
7329 #endif
7330 #ifdef HAVE_NETINET_IP_VAR_H
7331 # include <netinet/ip_var.h>
7332 #endif
7333 #ifdef HAVE_NETINET_IP_ICMP_H
7334 # include <netinet/ip_icmp.h>
7335 #endif
7336 #ifdef HAVE_NETINET_UDP_H
7337 # include <netinet/udp.h>
7338 #endif
7339 #ifdef HAVE_NETINET_TCP_H
7340 # include <netinet/tcp.h>
7341 #endif
7342 #ifdef HAVE_NETINET_TCP_TIMER_H
7343 #include <netinet/tcp_timer.h>
7344 #endif
7346 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7347 cat >>confdefs.h <<_ACEOF
7348 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7349 _ACEOF
7353 done
7356 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7357 do :
7358 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7359 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7360 #ifdef HAVE_ASM_TYPES_H
7361 # include <asm/types.h>
7362 #endif
7363 #ifdef HAVE_SYS_SOCKET_H
7364 # include <sys/socket.h>
7365 #endif
7366 #ifdef HAVE_LINUX_TYPES_H
7367 # include <linux/types.h>
7368 #endif
7370 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7371 cat >>confdefs.h <<_ACEOF
7372 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7373 _ACEOF
7377 done
7380 for ac_header in mach-o/dyld_images.h
7381 do :
7382 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7383 # include <stdbool.h>
7384 #endif
7385 #ifdef HAVE_STDINT_H
7386 # include <stdint.h>
7387 #endif
7389 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7390 cat >>confdefs.h <<_ACEOF
7391 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7392 _ACEOF
7396 done
7399 for ac_header in resolv.h
7400 do :
7401 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7402 #ifdef HAVE_SYS_SOCKET_H
7403 # include <sys/socket.h>
7404 #endif
7405 #ifdef HAVE_NETINET_IN_H
7406 # include <netinet/in.h>
7407 #endif
7408 #ifdef HAVE_ARPA_NAMESER_H
7409 # include <arpa/nameser.h>
7410 #endif
7412 if test "x$ac_cv_header_resolv_h" = xyes; then :
7413 cat >>confdefs.h <<_ACEOF
7414 #define HAVE_RESOLV_H 1
7415 _ACEOF
7419 done
7422 for ac_header in ifaddrs.h
7423 do :
7424 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7426 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7427 cat >>confdefs.h <<_ACEOF
7428 #define HAVE_IFADDRS_H 1
7429 _ACEOF
7433 done
7436 for ac_header in sys/ucontext.h
7437 do :
7438 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7440 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7441 cat >>confdefs.h <<_ACEOF
7442 #define HAVE_SYS_UCONTEXT_H 1
7443 _ACEOF
7447 done
7450 for ac_header in sys/thr.h
7451 do :
7452 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7453 #ifdef HAVE_SYS_UCONTEXT_H
7454 #include <sys/ucontext.h>
7455 #endif
7457 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7458 cat >>confdefs.h <<_ACEOF
7459 #define HAVE_SYS_THR_H 1
7460 _ACEOF
7464 done
7467 for ac_header in pthread_np.h
7468 do :
7469 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7470 #include <pthread.h>
7471 #endif
7473 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7474 cat >>confdefs.h <<_ACEOF
7475 #define HAVE_PTHREAD_NP_H 1
7476 _ACEOF
7480 done
7483 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7484 do :
7485 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7486 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7487 #include <sys/time.h>
7488 #endif
7489 #include <sys/types.h>
7490 #ifdef HAVE_ASM_TYPES_H
7491 #include <asm/types.h>
7492 #endif
7494 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7495 cat >>confdefs.h <<_ACEOF
7496 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7497 _ACEOF
7501 done
7504 for ac_header in libprocstat.h
7505 do :
7506 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7507 #include <sys/param.h>
7508 #endif
7509 #ifdef HAVE_SYS_QUEUE_H
7510 #include <sys/queue.h>
7511 #endif
7512 #ifdef HAVE_SYS_SOCKET_H
7513 #include <sys/socket.h>
7514 #endif
7516 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7517 cat >>confdefs.h <<_ACEOF
7518 #define HAVE_LIBPROCSTAT_H 1
7519 _ACEOF
7523 done
7527 DLLFLAGS="-D_REENTRANT"
7529 LDRPATH_INSTALL=""
7531 LDRPATH_LOCAL=""
7533 LDEXECFLAGS=""
7535 WINELOADER_LDFLAGS=""
7537 LIBEXT="so"
7538 DLLEXT=".so"
7539 IMPLIBEXT="def"
7540 # Extract the first word of "ldd", so it can be a program name with args.
7541 set dummy ldd; ac_word=$2
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7543 $as_echo_n "checking for $ac_word... " >&6; }
7544 if ${ac_cv_path_LDD+:} false; then :
7545 $as_echo_n "(cached) " >&6
7546 else
7547 case $LDD in
7548 [\\/]* | ?:[\\/]*)
7549 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7553 as_dummy="/sbin:/usr/sbin:$PATH"
7554 for as_dir in $as_dummy
7556 IFS=$as_save_IFS
7557 test -z "$as_dir" && as_dir=.
7558 for ac_exec_ext in '' $ac_executable_extensions; do
7559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7560 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7562 break 2
7564 done
7565 done
7566 IFS=$as_save_IFS
7568 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7570 esac
7572 LDD=$ac_cv_path_LDD
7573 if test -n "$LDD"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7575 $as_echo "$LDD" >&6; }
7576 else
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7582 if test -n "$ac_tool_prefix"; then
7583 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7584 set dummy ${ac_tool_prefix}otool; ac_word=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if ${ac_cv_prog_OTOOL+:} false; then :
7588 $as_echo_n "(cached) " >&6
7589 else
7590 if test -n "$OTOOL"; then
7591 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7592 else
7593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7594 for as_dir in $PATH
7596 IFS=$as_save_IFS
7597 test -z "$as_dir" && as_dir=.
7598 for ac_exec_ext in '' $ac_executable_extensions; do
7599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7600 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7602 break 2
7604 done
7605 done
7606 IFS=$as_save_IFS
7610 OTOOL=$ac_cv_prog_OTOOL
7611 if test -n "$OTOOL"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7613 $as_echo "$OTOOL" >&6; }
7614 else
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7621 if test -z "$ac_cv_prog_OTOOL"; then
7622 ac_ct_OTOOL=$OTOOL
7623 # Extract the first word of "otool", so it can be a program name with args.
7624 set dummy otool; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$ac_ct_OTOOL"; then
7631 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7640 ac_cv_prog_ac_ct_OTOOL="otool"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7644 done
7645 done
7646 IFS=$as_save_IFS
7650 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7651 if test -n "$ac_ct_OTOOL"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7653 $as_echo "$ac_ct_OTOOL" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7659 if test "x$ac_ct_OTOOL" = x; then
7660 OTOOL="otool"
7661 else
7662 case $cross_compiling:$ac_tool_warned in
7663 yes:)
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7666 ac_tool_warned=yes ;;
7667 esac
7668 OTOOL=$ac_ct_OTOOL
7670 else
7671 OTOOL="$ac_cv_prog_OTOOL"
7674 if test -n "$ac_tool_prefix"; then
7675 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7676 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7678 $as_echo_n "checking for $ac_word... " >&6; }
7679 if ${ac_cv_prog_READELF+:} false; then :
7680 $as_echo_n "(cached) " >&6
7681 else
7682 if test -n "$READELF"; then
7683 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7684 else
7685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7686 for as_dir in $PATH
7688 IFS=$as_save_IFS
7689 test -z "$as_dir" && as_dir=.
7690 for ac_exec_ext in '' $ac_executable_extensions; do
7691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7692 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7694 break 2
7696 done
7697 done
7698 IFS=$as_save_IFS
7702 READELF=$ac_cv_prog_READELF
7703 if test -n "$READELF"; then
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7705 $as_echo "$READELF" >&6; }
7706 else
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7708 $as_echo "no" >&6; }
7713 if test -z "$ac_cv_prog_READELF"; then
7714 ac_ct_READELF=$READELF
7715 # Extract the first word of "readelf", so it can be a program name with args.
7716 set dummy readelf; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 $as_echo_n "checking for $ac_word... " >&6; }
7719 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7720 $as_echo_n "(cached) " >&6
7721 else
7722 if test -n "$ac_ct_READELF"; then
7723 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7724 else
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7726 for as_dir in $PATH
7728 IFS=$as_save_IFS
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7732 ac_cv_prog_ac_ct_READELF="readelf"
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7734 break 2
7736 done
7737 done
7738 IFS=$as_save_IFS
7742 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7743 if test -n "$ac_ct_READELF"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7745 $as_echo "$ac_ct_READELF" >&6; }
7746 else
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7751 if test "x$ac_ct_READELF" = x; then
7752 READELF="true"
7753 else
7754 case $cross_compiling:$ac_tool_warned in
7755 yes:)
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7758 ac_tool_warned=yes ;;
7759 esac
7760 READELF=$ac_ct_READELF
7762 else
7763 READELF="$ac_cv_prog_READELF"
7766 wine_rules_file=conf$$rules.make
7767 rm -f $wine_rules_file
7768 SUBDIRS=""
7770 DISABLED_SUBDIRS=""
7772 CONFIGURE_TARGETS=""
7775 wine_fn_append_file ()
7777 as_fn_append $1 " \\$as_nl $2"
7780 wine_fn_append_rule ()
7782 $as_echo "$1" >>$wine_rules_file
7785 wine_fn_config_makefile ()
7787 wine_fn_append_file SUBDIRS $1
7788 if eval test \"x\$"$2"\" = x"no"; then :
7789 wine_fn_append_file DISABLED_SUBDIRS $1
7793 wine_fn_config_symlink ()
7795 ac_links=$@
7796 wine_fn_append_rule \
7797 "$ac_links:
7798 @./config.status \$@"
7799 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7802 wine_binary="wine"
7803 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7804 WINELOADER_PROGRAMS="$wine_binary"
7806 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7808 case $host_os in
7809 cygwin*|mingw32*)
7810 if test -n "$ac_tool_prefix"; then
7811 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7812 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7814 $as_echo_n "checking for $ac_word... " >&6; }
7815 if ${ac_cv_prog_DLLTOOL+:} false; then :
7816 $as_echo_n "(cached) " >&6
7817 else
7818 if test -n "$DLLTOOL"; then
7819 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7820 else
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7822 for as_dir in $PATH
7824 IFS=$as_save_IFS
7825 test -z "$as_dir" && as_dir=.
7826 for ac_exec_ext in '' $ac_executable_extensions; do
7827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7828 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7830 break 2
7832 done
7833 done
7834 IFS=$as_save_IFS
7838 DLLTOOL=$ac_cv_prog_DLLTOOL
7839 if test -n "$DLLTOOL"; then
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7841 $as_echo "$DLLTOOL" >&6; }
7842 else
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7844 $as_echo "no" >&6; }
7849 if test -z "$ac_cv_prog_DLLTOOL"; then
7850 ac_ct_DLLTOOL=$DLLTOOL
7851 # Extract the first word of "dlltool", so it can be a program name with args.
7852 set dummy dlltool; ac_word=$2
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7854 $as_echo_n "checking for $ac_word... " >&6; }
7855 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7856 $as_echo_n "(cached) " >&6
7857 else
7858 if test -n "$ac_ct_DLLTOOL"; then
7859 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7860 else
7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7862 for as_dir in $PATH
7864 IFS=$as_save_IFS
7865 test -z "$as_dir" && as_dir=.
7866 for ac_exec_ext in '' $ac_executable_extensions; do
7867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7868 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7870 break 2
7872 done
7873 done
7874 IFS=$as_save_IFS
7878 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7879 if test -n "$ac_ct_DLLTOOL"; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7881 $as_echo "$ac_ct_DLLTOOL" >&6; }
7882 else
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7884 $as_echo "no" >&6; }
7887 if test "x$ac_ct_DLLTOOL" = x; then
7888 DLLTOOL="false"
7889 else
7890 case $cross_compiling:$ac_tool_warned in
7891 yes:)
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7894 ac_tool_warned=yes ;;
7895 esac
7896 DLLTOOL=$ac_ct_DLLTOOL
7898 else
7899 DLLTOOL="$ac_cv_prog_DLLTOOL"
7902 LIBEXT="dll"
7903 DLLEXT=""
7904 IMPLIBEXT="a"
7905 enable_iphlpapi=${enable_iphlpapi:-no}
7906 enable_kernel32=${enable_kernel32:-no}
7907 enable_msvcrt=${enable_msvcrt:-no}
7908 enable_ntdll=${enable_ntdll:-no}
7909 enable_ws2_32=${enable_ws2_32:-no}
7910 enable_loader=${enable_loader:-no}
7911 enable_server=${enable_server:-no}
7912 with_x=${with_x:-no}
7913 with_pthread=${with_pthread:-no}
7915 crtlibs=""
7916 case $host_os in
7917 mingw32*)
7918 crtlibs="-lmsvcrt"
7919 SOCKET_LIBS="-lws2_32"
7921 esac
7923 LIBWINE_SHAREDLIB="libwine.dll"
7925 LIBWINE_IMPORTLIB="libwine.a"
7927 LIBWINE_INSTALL_LIB="libwine.dll"
7929 LIBWINE_INSTALL_DEV="libwine.a"
7931 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7933 LIBWINE_DEPENDS="wine.def"
7937 darwin*|macosx*)
7938 for ac_header in libunwind.h
7939 do :
7940 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7942 cat >>confdefs.h <<_ACEOF
7943 #define HAVE_LIBUNWIND_H 1
7944 _ACEOF
7948 done
7950 LIBEXT="dylib"
7951 DLLFLAGS="$DLLFLAGS -fPIC"
7952 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7953 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7954 COREFOUNDATION_LIBS="-framework CoreFoundation"
7956 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7958 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7960 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7962 CORESERVICES_LIBS="-framework CoreServices"
7964 APPKIT_LIBS="-framework AppKit"
7966 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7968 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7969 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7970 $as_echo_n "(cached) " >&6
7971 else
7972 ac_wine_try_cflags_saved=$CFLAGS
7973 CFLAGS="$CFLAGS -Wl,-no_pie"
7974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7975 /* end confdefs.h. */
7976 int main(int argc, char **argv) { return 0; }
7977 _ACEOF
7978 if ac_fn_c_try_link "$LINENO"; then :
7979 ac_cv_cflags__Wl__no_pie=yes
7980 else
7981 ac_cv_cflags__Wl__no_pie=no
7983 rm -f core conftest.err conftest.$ac_objext \
7984 conftest$ac_exeext conftest.$ac_ext
7985 CFLAGS=$ac_wine_try_cflags_saved
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7988 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7989 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7990 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
7992 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7993 then
7994 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7997 if test "$ac_cv_header_Security_Security_h" = "yes"
7998 then
7999 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8001 ac_save_LIBS="$LIBS"
8002 LIBS="$LIBS $SECURITY_LIBS"
8003 for ac_func in SSLCopyPeerCertificates
8004 do :
8005 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8006 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8007 cat >>confdefs.h <<_ACEOF
8008 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8009 _ACEOF
8012 done
8014 LIBS="$ac_save_LIBS"
8015 with_gnutls=${with_gnutls:-no}
8017 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8018 then
8019 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8020 then
8021 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8023 else
8024 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8027 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8028 ac_save_LIBS="$LIBS"
8029 LIBS="$LIBS $COREAUDIO_LIBS"
8030 for ac_func in AUGraphAddNode
8031 do :
8032 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8033 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8034 cat >>confdefs.h <<_ACEOF
8035 #define HAVE_AUGRAPHADDNODE 1
8036 _ACEOF
8039 done
8041 LIBS="$ac_save_LIBS"
8043 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8044 then
8045 OPENAL_LIBS="-framework OpenAL"
8048 cat >>confdefs.h <<_ACEOF
8049 #define HAVE_OPENAL 1
8050 _ACEOF
8052 ac_cv_lib_openal=yes
8054 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8055 then
8056 OPENCL_LIBS="-framework OpenCL"
8058 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8060 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8061 then
8062 ac_save_LIBS="$LIBS"
8063 LIBS="$LIBS $IOKIT_LIBS"
8064 for ac_func in IOHIDManagerCreate
8065 do :
8066 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8067 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8068 cat >>confdefs.h <<_ACEOF
8069 #define HAVE_IOHIDMANAGERCREATE 1
8070 _ACEOF
8073 done
8075 LIBS="$ac_save_LIBS"
8077 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8078 then
8079 ac_save_LIBS="$LIBS"
8080 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8082 $as_echo_n "checking for the QuickTime framework... " >&6; }
8083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8084 /* end confdefs.h. */
8085 #include <QuickTime/ImageCompression.h>
8087 main ()
8089 CodecManagerVersion(NULL);
8091 return 0;
8093 _ACEOF
8094 if ac_fn_c_try_link "$LINENO"; then :
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8096 $as_echo "yes" >&6; }
8097 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8099 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8100 else
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 $as_echo "no" >&6; }
8103 ac_cv_header_QuickTime_ImageCompression_h=no
8105 rm -f core conftest.err conftest.$ac_objext \
8106 conftest$ac_exeext conftest.$ac_ext
8107 LIBS="$ac_save_LIBS"
8109 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8110 then
8111 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8113 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8114 then
8115 CARBON_LIBS="-framework Carbon"
8119 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8120 then
8121 ac_save_LIBS="$LIBS"
8122 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8123 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8124 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8125 enable_winemac_drv=${enable_winemac_drv:-yes}
8128 LIBS="$ac_save_LIBS"
8131 if test "x$enable_win16" = "xyes"
8132 then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8134 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8135 if test "$cross_compiling" = yes; then :
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8137 $as_echo "cross-compiling, assuming yes" >&6; }
8138 else
8139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8140 /* end confdefs.h. */
8141 asm(".text\n"
8142 "bad:\tnop;nop\n"
8143 "good:\tnop;nop\n\t"
8144 ".globl _testfunc\n"
8145 "_testfunc:\tcallw good");
8146 extern void testfunc();
8148 main ()
8150 unsigned short *p = (unsigned short *)testfunc;
8151 return p[0] != 0xe866 || p[1] != 0xfffa
8153 return 0;
8155 _ACEOF
8156 if ac_fn_c_try_run "$LINENO"; then :
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8158 $as_echo "yes" >&6; }
8159 else
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8161 $as_echo "no" >&6; }
8162 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
8164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8165 conftest.$ac_objext conftest.beam conftest.$ac_ext
8170 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8172 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8174 LIBWINE_INSTALL_DEV="libwine.dylib"
8176 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8178 WINELOADER_DEPENDS="wine_info.plist"
8182 linux-android*)
8183 DLLFLAGS="$DLLFLAGS -fPIC"
8184 LDEXECFLAGS="-Wl,-pie"
8185 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8187 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8188 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8189 $as_echo_n "(cached) " >&6
8190 else
8191 ac_wine_try_cflags_saved=$CFLAGS
8192 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8195 int main(int argc, char **argv) { return 0; }
8196 _ACEOF
8197 if ac_fn_c_try_link "$LINENO"; then :
8198 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8199 else
8200 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8202 rm -f core conftest.err conftest.$ac_objext \
8203 conftest$ac_exeext conftest.$ac_ext
8204 CFLAGS=$ac_wine_try_cflags_saved
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8207 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8208 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8209 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8211 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8213 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8214 if eval \${$as_ac_var+:} false; then :
8215 $as_echo_n "(cached) " >&6
8216 else
8217 ac_wine_try_cflags_saved=$CFLAGS
8218 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8220 /* end confdefs.h. */
8221 int main(int argc, char **argv) { return 0; }
8222 _ACEOF
8223 if ac_fn_c_try_link "$LINENO"; then :
8224 eval "$as_ac_var=yes"
8225 else
8226 eval "$as_ac_var=no"
8228 rm -f core conftest.err conftest.$ac_objext \
8229 conftest$ac_exeext conftest.$ac_ext
8230 CFLAGS=$ac_wine_try_cflags_saved
8232 eval ac_res=\$$as_ac_var
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8234 $as_echo "$ac_res" >&6; }
8235 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8236 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8237 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8238 else
8239 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8241 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8242 if eval \${$as_ac_var+:} false; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 ac_wine_try_cflags_saved=$CFLAGS
8246 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 int main(int argc, char **argv) { return 0; }
8250 _ACEOF
8251 if ac_fn_c_try_link "$LINENO"; then :
8252 eval "$as_ac_var=yes"
8253 else
8254 eval "$as_ac_var=no"
8256 rm -f core conftest.err conftest.$ac_objext \
8257 conftest$ac_exeext conftest.$ac_ext
8258 CFLAGS=$ac_wine_try_cflags_saved
8260 eval ac_res=\$$as_ac_var
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8262 $as_echo "$ac_res" >&6; }
8263 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8264 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8265 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8269 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8270 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 ac_wine_try_cflags_saved=$CFLAGS
8274 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8277 int main(int argc, char **argv) { return 0; }
8278 _ACEOF
8279 if ac_fn_c_try_link "$LINENO"; then :
8280 ac_cv_cflags__Wl___enable_new_dtags=yes
8281 else
8282 ac_cv_cflags__Wl___enable_new_dtags=no
8284 rm -f core conftest.err conftest.$ac_objext \
8285 conftest$ac_exeext conftest.$ac_ext
8286 CFLAGS=$ac_wine_try_cflags_saved
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8289 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8290 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8291 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8294 LIBWINE_SHAREDLIB="libwine.so"
8296 LIBWINE_INSTALL_LIB="libwine.so"
8298 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8302 $as_echo_n "checking for -lEGL... " >&6; }
8303 if ${ac_cv_lib_soname_EGL+:} false; then :
8304 $as_echo_n "(cached) " >&6
8305 else
8306 ac_check_soname_save_LIBS=$LIBS
8307 LIBS="-lEGL $LIBS"
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8309 /* end confdefs.h. */
8311 /* Override any GCC internal prototype to avoid an error.
8312 Use char because int might match the return type of a GCC
8313 builtin and then its argument prototype would still apply. */
8314 #ifdef __cplusplus
8315 extern "C"
8316 #endif
8317 char eglGetProcAddress ();
8319 main ()
8321 return eglGetProcAddress ();
8323 return 0;
8325 _ACEOF
8326 if ac_fn_c_try_link "$LINENO"; then :
8327 case "$LIBEXT" in
8328 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8329 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'` ;;
8330 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8331 if ${ac_cv_lib_soname_EGL:+false} :; then :
8332 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8333 fi ;;
8334 esac
8336 rm -f core conftest.err conftest.$ac_objext \
8337 conftest$ac_exeext conftest.$ac_ext
8338 LIBS=$ac_check_soname_save_LIBS
8340 if ${ac_cv_lib_soname_EGL:+false} :; then :
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8342 $as_echo "not found" >&6; }
8344 else
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8346 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8348 cat >>confdefs.h <<_ACEOF
8349 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8350 _ACEOF
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8355 $as_echo_n "checking for -lGLESv2... " >&6; }
8356 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 ac_check_soname_save_LIBS=$LIBS
8360 LIBS="-lGLESv2 $LIBS"
8361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8364 /* Override any GCC internal prototype to avoid an error.
8365 Use char because int might match the return type of a GCC
8366 builtin and then its argument prototype would still apply. */
8367 #ifdef __cplusplus
8368 extern "C"
8369 #endif
8370 char glFlush ();
8372 main ()
8374 return glFlush ();
8376 return 0;
8378 _ACEOF
8379 if ac_fn_c_try_link "$LINENO"; then :
8380 case "$LIBEXT" in
8381 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8382 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'` ;;
8383 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8384 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8385 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8386 fi ;;
8387 esac
8389 rm -f core conftest.err conftest.$ac_objext \
8390 conftest$ac_exeext conftest.$ac_ext
8391 LIBS=$ac_check_soname_save_LIBS
8393 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8395 $as_echo "not found" >&6; }
8397 else
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8399 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8401 cat >>confdefs.h <<_ACEOF
8402 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8403 _ACEOF
8408 if test "x$exec_prefix" = xNONE
8409 then
8410 case $host_cpu in
8411 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8412 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8413 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8414 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8415 esac
8420 DLLFLAGS="$DLLFLAGS -fPIC"
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8422 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8423 if ${ac_cv_c_dll_gnuelf+:} false; then :
8424 $as_echo_n "(cached) " >&6
8425 else
8426 ac_wine_try_cflags_saved=$CFLAGS
8427 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8430 void myfunc() {}
8431 _ACEOF
8432 if ac_fn_c_try_link "$LINENO"; then :
8433 ac_cv_c_dll_gnuelf="yes"
8434 else
8435 ac_cv_c_dll_gnuelf="no"
8437 rm -f core conftest.err conftest.$ac_objext \
8438 conftest$ac_exeext conftest.$ac_ext
8439 CFLAGS=$ac_wine_try_cflags_saved
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8442 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8443 if test "$ac_cv_c_dll_gnuelf" = "yes"
8444 then
8445 LIBWINE_LDFLAGS="-shared"
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8447 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8448 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8449 $as_echo_n "(cached) " >&6
8450 else
8451 ac_wine_try_cflags_saved=$CFLAGS
8452 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8455 int main(int argc, char **argv) { return 0; }
8456 _ACEOF
8457 if ac_fn_c_try_link "$LINENO"; then :
8458 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8459 else
8460 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8462 rm -f core conftest.err conftest.$ac_objext \
8463 conftest$ac_exeext conftest.$ac_ext
8464 CFLAGS=$ac_wine_try_cflags_saved
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8467 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8468 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8469 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8470 else
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8472 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8473 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8474 $as_echo_n "(cached) " >&6
8475 else
8476 ac_wine_try_cflags_saved=$CFLAGS
8477 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 int main(int argc, char **argv) { return 0; }
8481 _ACEOF
8482 if ac_fn_c_try_link "$LINENO"; then :
8483 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8484 else
8485 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8487 rm -f core conftest.err conftest.$ac_objext \
8488 conftest$ac_exeext conftest.$ac_ext
8489 CFLAGS=$ac_wine_try_cflags_saved
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8492 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8493 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8494 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8498 echo '{ global: *; };' >conftest.map
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8500 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8501 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 ac_wine_try_cflags_saved=$CFLAGS
8505 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 int main(int argc, char **argv) { return 0; }
8509 _ACEOF
8510 if ac_fn_c_try_link "$LINENO"; then :
8511 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8512 else
8513 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8515 rm -f core conftest.err conftest.$ac_objext \
8516 conftest$ac_exeext conftest.$ac_ext
8517 CFLAGS=$ac_wine_try_cflags_saved
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8520 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8521 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8522 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8524 rm -f conftest.map
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8527 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8528 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 ac_wine_try_cflags_saved=$CFLAGS
8532 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 int main(int argc, char **argv) { return 0; }
8536 _ACEOF
8537 if ac_fn_c_try_link "$LINENO"; then :
8538 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8539 else
8540 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8542 rm -f core conftest.err conftest.$ac_objext \
8543 conftest$ac_exeext conftest.$ac_ext
8544 CFLAGS=$ac_wine_try_cflags_saved
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8547 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8548 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8549 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8552 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8554 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8555 if eval \${$as_ac_var+:} false; then :
8556 $as_echo_n "(cached) " >&6
8557 else
8558 ac_wine_try_cflags_saved=$CFLAGS
8559 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8561 /* end confdefs.h. */
8562 int main(int argc, char **argv) { return 0; }
8563 _ACEOF
8564 if ac_fn_c_try_link "$LINENO"; then :
8565 eval "$as_ac_var=yes"
8566 else
8567 eval "$as_ac_var=no"
8569 rm -f core conftest.err conftest.$ac_objext \
8570 conftest$ac_exeext conftest.$ac_ext
8571 CFLAGS=$ac_wine_try_cflags_saved
8573 eval ac_res=\$$as_ac_var
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8575 $as_echo "$ac_res" >&6; }
8576 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8577 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8578 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8579 else
8580 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8582 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8583 if eval \${$as_ac_var+:} false; then :
8584 $as_echo_n "(cached) " >&6
8585 else
8586 ac_wine_try_cflags_saved=$CFLAGS
8587 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8590 int main(int argc, char **argv) { return 0; }
8591 _ACEOF
8592 if ac_fn_c_try_link "$LINENO"; then :
8593 eval "$as_ac_var=yes"
8594 else
8595 eval "$as_ac_var=no"
8597 rm -f core conftest.err conftest.$ac_objext \
8598 conftest$ac_exeext conftest.$ac_ext
8599 CFLAGS=$ac_wine_try_cflags_saved
8601 eval ac_res=\$$as_ac_var
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8603 $as_echo "$ac_res" >&6; }
8604 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8605 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8606 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8611 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8612 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8613 $as_echo_n "(cached) " >&6
8614 else
8615 ac_wine_try_cflags_saved=$CFLAGS
8616 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8618 /* end confdefs.h. */
8619 int main(int argc, char **argv) { return 0; }
8620 _ACEOF
8621 if ac_fn_c_try_link "$LINENO"; then :
8622 ac_cv_cflags__Wl___enable_new_dtags=yes
8623 else
8624 ac_cv_cflags__Wl___enable_new_dtags=no
8626 rm -f core conftest.err conftest.$ac_objext \
8627 conftest$ac_exeext conftest.$ac_ext
8628 CFLAGS=$ac_wine_try_cflags_saved
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8631 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8632 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8633 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8636 case $host_cpu in
8637 *i[3456789]86* | x86_64 | *aarch64*)
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8639 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8640 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8641 $as_echo_n "(cached) " >&6
8642 else
8643 ac_wine_try_cflags_saved=$CFLAGS
8644 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8647 int main(int argc, char **argv) { return 0; }
8648 _ACEOF
8649 if ac_fn_c_try_link "$LINENO"; then :
8650 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8651 else
8652 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8654 rm -f core conftest.err conftest.$ac_objext \
8655 conftest$ac_exeext conftest.$ac_ext
8656 CFLAGS=$ac_wine_try_cflags_saved
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8659 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8660 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8661 case $host_os in
8662 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8663 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8664 esac
8665 else
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8667 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8668 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8669 $as_echo_n "(cached) " >&6
8670 else
8671 ac_wine_try_cflags_saved=$CFLAGS
8672 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8674 /* end confdefs.h. */
8675 int main(int argc, char **argv) { return 0; }
8676 _ACEOF
8677 if ac_fn_c_try_link "$LINENO"; then :
8678 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8679 else
8680 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8682 rm -f core conftest.err conftest.$ac_objext \
8683 conftest$ac_exeext conftest.$ac_ext
8684 CFLAGS=$ac_wine_try_cflags_saved
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8687 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8688 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8689 case $host_os in
8690 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8691 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8692 esac
8694 # Extract the first word of "prelink", so it can be a program name with args.
8695 set dummy prelink; ac_word=$2
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8697 $as_echo_n "checking for $ac_word... " >&6; }
8698 if ${ac_cv_path_PRELINK+:} false; then :
8699 $as_echo_n "(cached) " >&6
8700 else
8701 case $PRELINK in
8702 [\\/]* | ?:[\\/]*)
8703 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8707 for as_dir in /sbin /usr/sbin $PATH
8709 IFS=$as_save_IFS
8710 test -z "$as_dir" && as_dir=.
8711 for ac_exec_ext in '' $ac_executable_extensions; do
8712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8713 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8715 break 2
8717 done
8718 done
8719 IFS=$as_save_IFS
8721 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8723 esac
8725 PRELINK=$ac_cv_path_PRELINK
8726 if test -n "$PRELINK"; then
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8728 $as_echo "$PRELINK" >&6; }
8729 else
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8731 $as_echo "no" >&6; }
8735 if test "x$PRELINK" = xfalse
8736 then
8737 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8741 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8742 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8743 $as_echo_n "(cached) " >&6
8744 else
8745 ac_wine_try_cflags_saved=$CFLAGS
8746 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8748 /* end confdefs.h. */
8749 int main(int argc, char **argv) { return 0; }
8750 _ACEOF
8751 if ac_fn_c_try_link "$LINENO"; then :
8752 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8753 else
8754 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8756 rm -f core conftest.err conftest.$ac_objext \
8757 conftest$ac_exeext conftest.$ac_ext
8758 CFLAGS=$ac_wine_try_cflags_saved
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8761 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8762 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8763 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8766 esac
8768 else
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8770 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8771 if ${ac_cv_c_dll_unixware+:} false; then :
8772 $as_echo_n "(cached) " >&6
8773 else
8774 ac_wine_try_cflags_saved=$CFLAGS
8775 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8777 /* end confdefs.h. */
8778 void myfunc() {}
8779 _ACEOF
8780 if ac_fn_c_try_link "$LINENO"; then :
8781 ac_cv_c_dll_unixware="yes"
8782 else
8783 ac_cv_c_dll_unixware="no"
8785 rm -f core conftest.err conftest.$ac_objext \
8786 conftest$ac_exeext conftest.$ac_ext
8787 CFLAGS=$ac_wine_try_cflags_saved
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8790 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8791 if test "$ac_cv_c_dll_unixware" = "yes"
8792 then
8793 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8796 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8798 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8800 LIBWINE_INSTALL_DEV="libwine.so"
8802 LIBWINE_DEPENDS="wine.map"
8805 esac
8807 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8808 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8809 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8810 enable_winemac_drv=${enable_winemac_drv:-no}
8811 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8813 CROSSTARGET=""
8815 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8816 then
8817 case "$host_cpu" in
8818 arm*)
8819 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8820 i[3456789]86*)
8821 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
8822 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8823 mingw32-gcc" ;;
8824 x86_64)
8825 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
8826 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8828 ac_prefix_list="" ;;
8829 esac
8830 for ac_prog in $ac_prefix_list
8832 # Extract the first word of "$ac_prog", so it can be a program name with args.
8833 set dummy $ac_prog; ac_word=$2
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8835 $as_echo_n "checking for $ac_word... " >&6; }
8836 if ${ac_cv_prog_CROSSCC+:} false; then :
8837 $as_echo_n "(cached) " >&6
8838 else
8839 if test -n "$CROSSCC"; then
8840 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8841 else
8842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8843 for as_dir in $PATH
8845 IFS=$as_save_IFS
8846 test -z "$as_dir" && as_dir=.
8847 for ac_exec_ext in '' $ac_executable_extensions; do
8848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8849 ac_cv_prog_CROSSCC="$ac_prog"
8850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8851 break 2
8853 done
8854 done
8855 IFS=$as_save_IFS
8859 CROSSCC=$ac_cv_prog_CROSSCC
8860 if test -n "$CROSSCC"; then
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8862 $as_echo "$CROSSCC" >&6; }
8863 else
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8865 $as_echo "no" >&6; }
8869 test -n "$CROSSCC" && break
8870 done
8871 test -n "$CROSSCC" || CROSSCC="false"
8873 if test "$CROSSCC" != "false"
8874 then
8875 ac_save_CC="$CC"
8876 CC="$CROSSCC"
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8878 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h. */
8883 main ()
8887 return 0;
8889 _ACEOF
8890 if ac_fn_c_try_compile "$LINENO"; then :
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8892 $as_echo "yes" >&6; }
8893 set x $CROSSCC
8894 shift
8895 while test $# -ge 1
8897 case "$1" in
8898 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8899 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8900 esac
8901 shift
8902 done
8903 else
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8905 $as_echo "no" >&6; }
8907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8908 CC="$ac_save_CC"
8909 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8915 if test "$ac_cv_header_pthread_h" = "yes"
8916 then
8917 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8918 if test "x$ac_cv_func_pthread_create" = xyes; then :
8920 else
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8922 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8923 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8924 $as_echo_n "(cached) " >&6
8925 else
8926 ac_check_lib_save_LIBS=$LIBS
8927 LIBS="-lpthread $LIBS"
8928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8929 /* end confdefs.h. */
8931 /* Override any GCC internal prototype to avoid an error.
8932 Use char because int might match the return type of a GCC
8933 builtin and then its argument prototype would still apply. */
8934 #ifdef __cplusplus
8935 extern "C"
8936 #endif
8937 char pthread_create ();
8939 main ()
8941 return pthread_create ();
8943 return 0;
8945 _ACEOF
8946 if ac_fn_c_try_link "$LINENO"; then :
8947 ac_cv_lib_pthread_pthread_create=yes
8948 else
8949 ac_cv_lib_pthread_pthread_create=no
8951 rm -f core conftest.err conftest.$ac_objext \
8952 conftest$ac_exeext conftest.$ac_ext
8953 LIBS=$ac_check_lib_save_LIBS
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8956 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8957 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8958 PTHREAD_LIBS="-lpthread"
8965 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8966 case "x$with_pthread" in
8967 xno) ;;
8968 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8969 Wine cannot support threads without libpthread.
8970 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8971 esac
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8977 $as_echo_n "checking for X... " >&6; }
8980 # Check whether --with-x was given.
8981 if test "${with_x+set}" = set; then :
8982 withval=$with_x;
8985 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8986 if test "x$with_x" = xno; then
8987 # The user explicitly disabled X.
8988 have_x=disabled
8989 else
8990 case $x_includes,$x_libraries in #(
8991 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8992 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8993 $as_echo_n "(cached) " >&6
8994 else
8995 # One or both of the vars are not set, and there is no cached value.
8996 ac_x_includes=no ac_x_libraries=no
8997 rm -f -r conftest.dir
8998 if mkdir conftest.dir; then
8999 cd conftest.dir
9000 cat >Imakefile <<'_ACEOF'
9001 incroot:
9002 @echo incroot='${INCROOT}'
9003 usrlibdir:
9004 @echo usrlibdir='${USRLIBDIR}'
9005 libdir:
9006 @echo libdir='${LIBDIR}'
9007 _ACEOF
9008 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9009 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9010 for ac_var in incroot usrlibdir libdir; do
9011 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9012 done
9013 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9014 for ac_extension in a so sl dylib la dll; do
9015 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9016 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9017 ac_im_usrlibdir=$ac_im_libdir; break
9019 done
9020 # Screen out bogus values from the imake configuration. They are
9021 # bogus both because they are the default anyway, and because
9022 # using them would break gcc on systems where it needs fixed includes.
9023 case $ac_im_incroot in
9024 /usr/include) ac_x_includes= ;;
9025 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9026 esac
9027 case $ac_im_usrlibdir in
9028 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9029 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9030 esac
9032 cd ..
9033 rm -f -r conftest.dir
9036 # Standard set of common directories for X headers.
9037 # Check X11 before X11Rn because it is often a symlink to the current release.
9038 ac_x_header_dirs='
9039 /usr/X11/include
9040 /usr/X11R7/include
9041 /usr/X11R6/include
9042 /usr/X11R5/include
9043 /usr/X11R4/include
9045 /usr/include/X11
9046 /usr/include/X11R7
9047 /usr/include/X11R6
9048 /usr/include/X11R5
9049 /usr/include/X11R4
9051 /usr/local/X11/include
9052 /usr/local/X11R7/include
9053 /usr/local/X11R6/include
9054 /usr/local/X11R5/include
9055 /usr/local/X11R4/include
9057 /usr/local/include/X11
9058 /usr/local/include/X11R7
9059 /usr/local/include/X11R6
9060 /usr/local/include/X11R5
9061 /usr/local/include/X11R4
9063 /usr/X386/include
9064 /usr/x386/include
9065 /usr/XFree86/include/X11
9067 /usr/include
9068 /usr/local/include
9069 /usr/unsupported/include
9070 /usr/athena/include
9071 /usr/local/x11r5/include
9072 /usr/lpp/Xamples/include
9074 /usr/openwin/include
9075 /usr/openwin/share/include'
9077 if test "$ac_x_includes" = no; then
9078 # Guess where to find include files, by looking for Xlib.h.
9079 # First, try using that file with no special directory specified.
9080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9081 /* end confdefs.h. */
9082 #include <X11/Xlib.h>
9083 _ACEOF
9084 if ac_fn_c_try_cpp "$LINENO"; then :
9085 # We can compile using X headers with no special include directory.
9086 ac_x_includes=
9087 else
9088 for ac_dir in $ac_x_header_dirs; do
9089 if test -r "$ac_dir/X11/Xlib.h"; then
9090 ac_x_includes=$ac_dir
9091 break
9093 done
9095 rm -f conftest.err conftest.i conftest.$ac_ext
9096 fi # $ac_x_includes = no
9098 if test "$ac_x_libraries" = no; then
9099 # Check for the libraries.
9100 # See if we find them without any special options.
9101 # Don't add to $LIBS permanently.
9102 ac_save_LIBS=$LIBS
9103 LIBS="-lX11 $LIBS"
9104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9106 #include <X11/Xlib.h>
9108 main ()
9110 XrmInitialize ()
9112 return 0;
9114 _ACEOF
9115 if ac_fn_c_try_link "$LINENO"; then :
9116 LIBS=$ac_save_LIBS
9117 # We can link X programs with no special library path.
9118 ac_x_libraries=
9119 else
9120 LIBS=$ac_save_LIBS
9121 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9123 # Don't even attempt the hair of trying to link an X program!
9124 for ac_extension in a so sl dylib la dll; do
9125 if test -r "$ac_dir/libX11.$ac_extension"; then
9126 ac_x_libraries=$ac_dir
9127 break 2
9129 done
9130 done
9132 rm -f core conftest.err conftest.$ac_objext \
9133 conftest$ac_exeext conftest.$ac_ext
9134 fi # $ac_x_libraries = no
9136 case $ac_x_includes,$ac_x_libraries in #(
9137 no,* | *,no | *\'*)
9138 # Didn't find X, or a directory has "'" in its name.
9139 ac_cv_have_x="have_x=no";; #(
9141 # Record where we found X for the cache.
9142 ac_cv_have_x="have_x=yes\
9143 ac_x_includes='$ac_x_includes'\
9144 ac_x_libraries='$ac_x_libraries'"
9145 esac
9147 ;; #(
9148 *) have_x=yes;;
9149 esac
9150 eval "$ac_cv_have_x"
9151 fi # $with_x != no
9153 if test "$have_x" != yes; then
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9155 $as_echo "$have_x" >&6; }
9156 no_x=yes
9157 else
9158 # If each of the values was on the command line, it overrides each guess.
9159 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9160 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9161 # Update the cache value to reflect the command line values.
9162 ac_cv_have_x="have_x=yes\
9163 ac_x_includes='$x_includes'\
9164 ac_x_libraries='$x_libraries'"
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9166 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9169 if test "$no_x" = yes; then
9170 # Not all programs may use this symbol, but it does not hurt to define it.
9172 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9174 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9175 else
9176 if test -n "$x_includes"; then
9177 X_CFLAGS="$X_CFLAGS -I$x_includes"
9180 # It would also be nice to do this for all -L options, not just this one.
9181 if test -n "$x_libraries"; then
9182 X_LIBS="$X_LIBS -L$x_libraries"
9183 # For Solaris; some versions of Sun CC require a space after -R and
9184 # others require no space. Words are not sufficient . . . .
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9186 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9187 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9188 ac_xsave_c_werror_flag=$ac_c_werror_flag
9189 ac_c_werror_flag=yes
9190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9191 /* end confdefs.h. */
9194 main ()
9198 return 0;
9200 _ACEOF
9201 if ac_fn_c_try_link "$LINENO"; then :
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9203 $as_echo "no" >&6; }
9204 X_LIBS="$X_LIBS -R$x_libraries"
9205 else
9206 LIBS="$ac_xsave_LIBS -R $x_libraries"
9207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9208 /* end confdefs.h. */
9211 main ()
9215 return 0;
9217 _ACEOF
9218 if ac_fn_c_try_link "$LINENO"; then :
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9220 $as_echo "yes" >&6; }
9221 X_LIBS="$X_LIBS -R $x_libraries"
9222 else
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9224 $as_echo "neither works" >&6; }
9226 rm -f core conftest.err conftest.$ac_objext \
9227 conftest$ac_exeext conftest.$ac_ext
9229 rm -f core conftest.err conftest.$ac_objext \
9230 conftest$ac_exeext conftest.$ac_ext
9231 ac_c_werror_flag=$ac_xsave_c_werror_flag
9232 LIBS=$ac_xsave_LIBS
9235 # Check for system-dependent libraries X programs must link with.
9236 # Do this before checking for the system-independent R6 libraries
9237 # (-lICE), since we may need -lsocket or whatever for X linking.
9239 if test "$ISC" = yes; then
9240 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9241 else
9242 # Martyn Johnson says this is needed for Ultrix, if the X
9243 # libraries were built with DECnet support. And Karl Berry says
9244 # the Alpha needs dnet_stub (dnet does not exist).
9245 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9247 /* end confdefs.h. */
9249 /* Override any GCC internal prototype to avoid an error.
9250 Use char because int might match the return type of a GCC
9251 builtin and then its argument prototype would still apply. */
9252 #ifdef __cplusplus
9253 extern "C"
9254 #endif
9255 char XOpenDisplay ();
9257 main ()
9259 return XOpenDisplay ();
9261 return 0;
9263 _ACEOF
9264 if ac_fn_c_try_link "$LINENO"; then :
9266 else
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9268 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9269 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9270 $as_echo_n "(cached) " >&6
9271 else
9272 ac_check_lib_save_LIBS=$LIBS
9273 LIBS="-ldnet $LIBS"
9274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9275 /* end confdefs.h. */
9277 /* Override any GCC internal prototype to avoid an error.
9278 Use char because int might match the return type of a GCC
9279 builtin and then its argument prototype would still apply. */
9280 #ifdef __cplusplus
9281 extern "C"
9282 #endif
9283 char dnet_ntoa ();
9285 main ()
9287 return dnet_ntoa ();
9289 return 0;
9291 _ACEOF
9292 if ac_fn_c_try_link "$LINENO"; then :
9293 ac_cv_lib_dnet_dnet_ntoa=yes
9294 else
9295 ac_cv_lib_dnet_dnet_ntoa=no
9297 rm -f core conftest.err conftest.$ac_objext \
9298 conftest$ac_exeext conftest.$ac_ext
9299 LIBS=$ac_check_lib_save_LIBS
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9302 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9303 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9304 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9307 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9309 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9310 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9311 $as_echo_n "(cached) " >&6
9312 else
9313 ac_check_lib_save_LIBS=$LIBS
9314 LIBS="-ldnet_stub $LIBS"
9315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9318 /* Override any GCC internal prototype to avoid an error.
9319 Use char because int might match the return type of a GCC
9320 builtin and then its argument prototype would still apply. */
9321 #ifdef __cplusplus
9322 extern "C"
9323 #endif
9324 char dnet_ntoa ();
9326 main ()
9328 return dnet_ntoa ();
9330 return 0;
9332 _ACEOF
9333 if ac_fn_c_try_link "$LINENO"; then :
9334 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9335 else
9336 ac_cv_lib_dnet_stub_dnet_ntoa=no
9338 rm -f core conftest.err conftest.$ac_objext \
9339 conftest$ac_exeext conftest.$ac_ext
9340 LIBS=$ac_check_lib_save_LIBS
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9343 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9344 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9345 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9350 rm -f core conftest.err conftest.$ac_objext \
9351 conftest$ac_exeext conftest.$ac_ext
9352 LIBS="$ac_xsave_LIBS"
9354 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9355 # to get the SysV transport functions.
9356 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9357 # needs -lnsl.
9358 # The nsl library prevents programs from opening the X display
9359 # on Irix 5.2, according to T.E. Dickey.
9360 # The functions gethostbyname, getservbyname, and inet_addr are
9361 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9362 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9363 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9367 if test $ac_cv_func_gethostbyname = no; then
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9369 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9370 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9371 $as_echo_n "(cached) " >&6
9372 else
9373 ac_check_lib_save_LIBS=$LIBS
9374 LIBS="-lnsl $LIBS"
9375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9376 /* end confdefs.h. */
9378 /* Override any GCC internal prototype to avoid an error.
9379 Use char because int might match the return type of a GCC
9380 builtin and then its argument prototype would still apply. */
9381 #ifdef __cplusplus
9382 extern "C"
9383 #endif
9384 char gethostbyname ();
9386 main ()
9388 return gethostbyname ();
9390 return 0;
9392 _ACEOF
9393 if ac_fn_c_try_link "$LINENO"; then :
9394 ac_cv_lib_nsl_gethostbyname=yes
9395 else
9396 ac_cv_lib_nsl_gethostbyname=no
9398 rm -f core conftest.err conftest.$ac_objext \
9399 conftest$ac_exeext conftest.$ac_ext
9400 LIBS=$ac_check_lib_save_LIBS
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9403 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9404 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9405 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9408 if test $ac_cv_lib_nsl_gethostbyname = no; then
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9410 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9411 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9412 $as_echo_n "(cached) " >&6
9413 else
9414 ac_check_lib_save_LIBS=$LIBS
9415 LIBS="-lbsd $LIBS"
9416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9417 /* end confdefs.h. */
9419 /* Override any GCC internal prototype to avoid an error.
9420 Use char because int might match the return type of a GCC
9421 builtin and then its argument prototype would still apply. */
9422 #ifdef __cplusplus
9423 extern "C"
9424 #endif
9425 char gethostbyname ();
9427 main ()
9429 return gethostbyname ();
9431 return 0;
9433 _ACEOF
9434 if ac_fn_c_try_link "$LINENO"; then :
9435 ac_cv_lib_bsd_gethostbyname=yes
9436 else
9437 ac_cv_lib_bsd_gethostbyname=no
9439 rm -f core conftest.err conftest.$ac_objext \
9440 conftest$ac_exeext conftest.$ac_ext
9441 LIBS=$ac_check_lib_save_LIBS
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9444 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9445 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9446 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9452 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9453 # socket/setsockopt and other routines are undefined under SCO ODT
9454 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9455 # on later versions), says Simon Leinen: it contains gethostby*
9456 # variants that don't use the name server (or something). -lsocket
9457 # must be given before -lnsl if both are needed. We assume that
9458 # if connect needs -lnsl, so does gethostbyname.
9459 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9460 if test "x$ac_cv_func_connect" = xyes; then :
9464 if test $ac_cv_func_connect = no; then
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9466 $as_echo_n "checking for connect in -lsocket... " >&6; }
9467 if ${ac_cv_lib_socket_connect+:} false; then :
9468 $as_echo_n "(cached) " >&6
9469 else
9470 ac_check_lib_save_LIBS=$LIBS
9471 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9475 /* Override any GCC internal prototype to avoid an error.
9476 Use char because int might match the return type of a GCC
9477 builtin and then its argument prototype would still apply. */
9478 #ifdef __cplusplus
9479 extern "C"
9480 #endif
9481 char connect ();
9483 main ()
9485 return connect ();
9487 return 0;
9489 _ACEOF
9490 if ac_fn_c_try_link "$LINENO"; then :
9491 ac_cv_lib_socket_connect=yes
9492 else
9493 ac_cv_lib_socket_connect=no
9495 rm -f core conftest.err conftest.$ac_objext \
9496 conftest$ac_exeext conftest.$ac_ext
9497 LIBS=$ac_check_lib_save_LIBS
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9500 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9501 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9502 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9507 # Guillermo Gomez says -lposix is necessary on A/UX.
9508 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9509 if test "x$ac_cv_func_remove" = xyes; then :
9513 if test $ac_cv_func_remove = no; then
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9515 $as_echo_n "checking for remove in -lposix... " >&6; }
9516 if ${ac_cv_lib_posix_remove+:} false; then :
9517 $as_echo_n "(cached) " >&6
9518 else
9519 ac_check_lib_save_LIBS=$LIBS
9520 LIBS="-lposix $LIBS"
9521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9524 /* Override any GCC internal prototype to avoid an error.
9525 Use char because int might match the return type of a GCC
9526 builtin and then its argument prototype would still apply. */
9527 #ifdef __cplusplus
9528 extern "C"
9529 #endif
9530 char remove ();
9532 main ()
9534 return remove ();
9536 return 0;
9538 _ACEOF
9539 if ac_fn_c_try_link "$LINENO"; then :
9540 ac_cv_lib_posix_remove=yes
9541 else
9542 ac_cv_lib_posix_remove=no
9544 rm -f core conftest.err conftest.$ac_objext \
9545 conftest$ac_exeext conftest.$ac_ext
9546 LIBS=$ac_check_lib_save_LIBS
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9549 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9550 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9551 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9556 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9557 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9558 if test "x$ac_cv_func_shmat" = xyes; then :
9562 if test $ac_cv_func_shmat = no; then
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9564 $as_echo_n "checking for shmat in -lipc... " >&6; }
9565 if ${ac_cv_lib_ipc_shmat+:} false; then :
9566 $as_echo_n "(cached) " >&6
9567 else
9568 ac_check_lib_save_LIBS=$LIBS
9569 LIBS="-lipc $LIBS"
9570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9573 /* Override any GCC internal prototype to avoid an error.
9574 Use char because int might match the return type of a GCC
9575 builtin and then its argument prototype would still apply. */
9576 #ifdef __cplusplus
9577 extern "C"
9578 #endif
9579 char shmat ();
9581 main ()
9583 return shmat ();
9585 return 0;
9587 _ACEOF
9588 if ac_fn_c_try_link "$LINENO"; then :
9589 ac_cv_lib_ipc_shmat=yes
9590 else
9591 ac_cv_lib_ipc_shmat=no
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 LIBS=$ac_check_lib_save_LIBS
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9598 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9599 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9600 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9606 # Check for libraries that X11R6 Xt/Xaw programs need.
9607 ac_save_LDFLAGS=$LDFLAGS
9608 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9609 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9610 # check for ICE first), but we must link in the order -lSM -lICE or
9611 # we get undefined symbols. So assume we have SM if we have ICE.
9612 # These have to be linked with before -lX11, unlike the other
9613 # libraries we check for below, so use a different variable.
9614 # John Interrante, Karl Berry
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9616 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9617 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9618 $as_echo_n "(cached) " >&6
9619 else
9620 ac_check_lib_save_LIBS=$LIBS
9621 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h. */
9625 /* Override any GCC internal prototype to avoid an error.
9626 Use char because int might match the return type of a GCC
9627 builtin and then its argument prototype would still apply. */
9628 #ifdef __cplusplus
9629 extern "C"
9630 #endif
9631 char IceConnectionNumber ();
9633 main ()
9635 return IceConnectionNumber ();
9637 return 0;
9639 _ACEOF
9640 if ac_fn_c_try_link "$LINENO"; then :
9641 ac_cv_lib_ICE_IceConnectionNumber=yes
9642 else
9643 ac_cv_lib_ICE_IceConnectionNumber=no
9645 rm -f core conftest.err conftest.$ac_objext \
9646 conftest$ac_exeext conftest.$ac_ext
9647 LIBS=$ac_check_lib_save_LIBS
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9650 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9651 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9652 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9655 LDFLAGS=$ac_save_LDFLAGS
9660 if test "$have_x" = "yes"
9661 then
9662 ac_save_CPPFLAGS="$CPPFLAGS"
9663 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9666 $as_echo_n "checking for -lX11... " >&6; }
9667 if ${ac_cv_lib_soname_X11+:} false; then :
9668 $as_echo_n "(cached) " >&6
9669 else
9670 ac_check_soname_save_LIBS=$LIBS
9671 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9675 /* Override any GCC internal prototype to avoid an error.
9676 Use char because int might match the return type of a GCC
9677 builtin and then its argument prototype would still apply. */
9678 #ifdef __cplusplus
9679 extern "C"
9680 #endif
9681 char XCreateWindow ();
9683 main ()
9685 return XCreateWindow ();
9687 return 0;
9689 _ACEOF
9690 if ac_fn_c_try_link "$LINENO"; then :
9691 case "$LIBEXT" in
9692 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9693 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'` ;;
9694 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9695 if ${ac_cv_lib_soname_X11:+false} :; then :
9696 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9697 fi ;;
9698 esac
9700 rm -f core conftest.err conftest.$ac_objext \
9701 conftest$ac_exeext conftest.$ac_ext
9702 LIBS=$ac_check_soname_save_LIBS
9704 if ${ac_cv_lib_soname_X11:+false} :; then :
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9706 $as_echo "not found" >&6; }
9708 else
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9710 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9712 cat >>confdefs.h <<_ACEOF
9713 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9714 _ACEOF
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9719 $as_echo_n "checking for -lXext... " >&6; }
9720 if ${ac_cv_lib_soname_Xext+:} false; then :
9721 $as_echo_n "(cached) " >&6
9722 else
9723 ac_check_soname_save_LIBS=$LIBS
9724 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9726 /* end confdefs.h. */
9728 /* Override any GCC internal prototype to avoid an error.
9729 Use char because int might match the return type of a GCC
9730 builtin and then its argument prototype would still apply. */
9731 #ifdef __cplusplus
9732 extern "C"
9733 #endif
9734 char XextCreateExtension ();
9736 main ()
9738 return XextCreateExtension ();
9740 return 0;
9742 _ACEOF
9743 if ac_fn_c_try_link "$LINENO"; then :
9744 case "$LIBEXT" in
9745 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9746 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'` ;;
9747 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9748 if ${ac_cv_lib_soname_Xext:+false} :; then :
9749 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9750 fi ;;
9751 esac
9753 rm -f core conftest.err conftest.$ac_objext \
9754 conftest$ac_exeext conftest.$ac_ext
9755 LIBS=$ac_check_soname_save_LIBS
9757 if ${ac_cv_lib_soname_Xext:+false} :; then :
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9759 $as_echo "not found" >&6; }
9761 else
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9763 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9765 cat >>confdefs.h <<_ACEOF
9766 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9767 _ACEOF
9769 X_LIBS="$X_LIBS -lXext"
9771 X_LIBS="$X_LIBS -lX11"
9773 for ac_header in X11/Xlib.h \
9774 X11/XKBlib.h \
9775 X11/Xutil.h \
9776 X11/Xcursor/Xcursor.h \
9777 X11/extensions/shape.h \
9778 X11/extensions/XInput.h \
9779 X11/extensions/XInput2.h \
9780 X11/extensions/XShm.h \
9781 X11/extensions/Xcomposite.h \
9782 X11/extensions/Xfixes.h \
9783 X11/extensions/Xinerama.h \
9784 X11/extensions/Xrandr.h \
9785 X11/extensions/Xrender.h \
9786 X11/extensions/xf86vmode.h \
9787 X11/extensions/xf86vmproto.h
9788 do :
9789 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9790 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9791 # include <X11/Xlib.h>
9792 #endif
9793 #ifdef HAVE_X11_XUTIL_H
9794 # include <X11/Xutil.h>
9795 #endif
9797 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9798 cat >>confdefs.h <<_ACEOF
9799 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9800 _ACEOF
9804 done
9807 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9808 then
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9810 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9811 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9812 $as_echo_n "(cached) " >&6
9813 else
9814 ac_check_lib_save_LIBS=$LIBS
9815 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9819 /* Override any GCC internal prototype to avoid an error.
9820 Use char because int might match the return type of a GCC
9821 builtin and then its argument prototype would still apply. */
9822 #ifdef __cplusplus
9823 extern "C"
9824 #endif
9825 char XkbQueryExtension ();
9827 main ()
9829 return XkbQueryExtension ();
9831 return 0;
9833 _ACEOF
9834 if ac_fn_c_try_link "$LINENO"; then :
9835 ac_cv_lib_X11_XkbQueryExtension=yes
9836 else
9837 ac_cv_lib_X11_XkbQueryExtension=no
9839 rm -f core conftest.err conftest.$ac_objext \
9840 conftest$ac_exeext conftest.$ac_ext
9841 LIBS=$ac_check_lib_save_LIBS
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9844 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9845 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9847 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9853 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9854 then
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9856 $as_echo_n "checking for -lXcursor... " >&6; }
9857 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9858 $as_echo_n "(cached) " >&6
9859 else
9860 ac_check_soname_save_LIBS=$LIBS
9861 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9865 /* Override any GCC internal prototype to avoid an error.
9866 Use char because int might match the return type of a GCC
9867 builtin and then its argument prototype would still apply. */
9868 #ifdef __cplusplus
9869 extern "C"
9870 #endif
9871 char XcursorImageLoadCursor ();
9873 main ()
9875 return XcursorImageLoadCursor ();
9877 return 0;
9879 _ACEOF
9880 if ac_fn_c_try_link "$LINENO"; then :
9881 case "$LIBEXT" in
9882 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9883 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'` ;;
9884 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9885 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9886 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9887 fi ;;
9888 esac
9890 rm -f core conftest.err conftest.$ac_objext \
9891 conftest$ac_exeext conftest.$ac_ext
9892 LIBS=$ac_check_soname_save_LIBS
9894 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9896 $as_echo "not found" >&6; }
9898 else
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9900 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9902 cat >>confdefs.h <<_ACEOF
9903 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9904 _ACEOF
9909 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9910 case "x$with_xcursor" in
9911 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9912 xno) ;;
9913 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9914 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9915 esac
9919 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9920 then
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9922 $as_echo_n "checking for -lXi... " >&6; }
9923 if ${ac_cv_lib_soname_Xi+:} false; then :
9924 $as_echo_n "(cached) " >&6
9925 else
9926 ac_check_soname_save_LIBS=$LIBS
9927 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9931 /* Override any GCC internal prototype to avoid an error.
9932 Use char because int might match the return type of a GCC
9933 builtin and then its argument prototype would still apply. */
9934 #ifdef __cplusplus
9935 extern "C"
9936 #endif
9937 char XOpenDevice ();
9939 main ()
9941 return XOpenDevice ();
9943 return 0;
9945 _ACEOF
9946 if ac_fn_c_try_link "$LINENO"; then :
9947 case "$LIBEXT" in
9948 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9949 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'` ;;
9950 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9951 if ${ac_cv_lib_soname_Xi:+false} :; then :
9952 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9953 fi ;;
9954 esac
9956 rm -f core conftest.err conftest.$ac_objext \
9957 conftest$ac_exeext conftest.$ac_ext
9958 LIBS=$ac_check_soname_save_LIBS
9960 if ${ac_cv_lib_soname_Xi:+false} :; then :
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9962 $as_echo "not found" >&6; }
9964 else
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9966 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9968 cat >>confdefs.h <<_ACEOF
9969 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9970 _ACEOF
9975 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9976 case "x$with_xinput" in
9977 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9978 xno) ;;
9979 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9980 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9981 esac
9985 if test "x$ac_cv_lib_soname_Xi" != x
9986 then
9987 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9988 case "x$with_xinput2" in
9989 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9990 xno) ;;
9991 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9992 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9993 esac
9998 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9999 then
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10001 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10002 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10003 $as_echo_n "(cached) " >&6
10004 else
10005 ac_check_lib_save_LIBS=$LIBS
10006 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10010 /* Override any GCC internal prototype to avoid an error.
10011 Use char because int might match the return type of a GCC
10012 builtin and then its argument prototype would still apply. */
10013 #ifdef __cplusplus
10014 extern "C"
10015 #endif
10016 char XShmQueryExtension ();
10018 main ()
10020 return XShmQueryExtension ();
10022 return 0;
10024 _ACEOF
10025 if ac_fn_c_try_link "$LINENO"; then :
10026 ac_cv_lib_Xext_XShmQueryExtension=yes
10027 else
10028 ac_cv_lib_Xext_XShmQueryExtension=no
10030 rm -f core conftest.err conftest.$ac_objext \
10031 conftest$ac_exeext conftest.$ac_ext
10032 LIBS=$ac_check_lib_save_LIBS
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10035 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10036 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10038 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10043 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10044 case "x$with_xshm" in
10045 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10046 xno) ;;
10047 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10048 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10049 esac
10053 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10054 then
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10056 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10057 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10058 $as_echo_n "(cached) " >&6
10059 else
10060 ac_check_lib_save_LIBS=$LIBS
10061 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10065 /* Override any GCC internal prototype to avoid an error.
10066 Use char because int might match the return type of a GCC
10067 builtin and then its argument prototype would still apply. */
10068 #ifdef __cplusplus
10069 extern "C"
10070 #endif
10071 char XShapeQueryExtension ();
10073 main ()
10075 return XShapeQueryExtension ();
10077 return 0;
10079 _ACEOF
10080 if ac_fn_c_try_link "$LINENO"; then :
10081 ac_cv_lib_Xext_XShapeQueryExtension=yes
10082 else
10083 ac_cv_lib_Xext_XShapeQueryExtension=no
10085 rm -f core conftest.err conftest.$ac_objext \
10086 conftest$ac_exeext conftest.$ac_ext
10087 LIBS=$ac_check_lib_save_LIBS
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10090 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10091 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10093 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10098 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10099 case "x$with_xshape" in
10100 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10101 xno) ;;
10102 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10103 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10104 esac
10108 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10109 then
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10111 $as_echo_n "checking for -lXxf86vm... " >&6; }
10112 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10113 $as_echo_n "(cached) " >&6
10114 else
10115 ac_check_soname_save_LIBS=$LIBS
10116 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10118 /* end confdefs.h. */
10120 /* Override any GCC internal prototype to avoid an error.
10121 Use char because int might match the return type of a GCC
10122 builtin and then its argument prototype would still apply. */
10123 #ifdef __cplusplus
10124 extern "C"
10125 #endif
10126 char XF86VidModeQueryExtension ();
10128 main ()
10130 return XF86VidModeQueryExtension ();
10132 return 0;
10134 _ACEOF
10135 if ac_fn_c_try_link "$LINENO"; then :
10136 case "$LIBEXT" in
10137 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10138 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'` ;;
10139 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10140 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10141 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10142 fi ;;
10143 esac
10145 rm -f core conftest.err conftest.$ac_objext \
10146 conftest$ac_exeext conftest.$ac_ext
10147 LIBS=$ac_check_soname_save_LIBS
10149 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10151 $as_echo "not found" >&6; }
10153 else
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10155 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10157 cat >>confdefs.h <<_ACEOF
10158 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10159 _ACEOF
10164 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10165 case "x$with_xxf86vm" in
10166 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10167 xno) ;;
10168 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10169 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10170 esac
10174 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10175 then
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10177 $as_echo_n "checking for -lXrender... " >&6; }
10178 if ${ac_cv_lib_soname_Xrender+:} false; then :
10179 $as_echo_n "(cached) " >&6
10180 else
10181 ac_check_soname_save_LIBS=$LIBS
10182 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10186 /* Override any GCC internal prototype to avoid an error.
10187 Use char because int might match the return type of a GCC
10188 builtin and then its argument prototype would still apply. */
10189 #ifdef __cplusplus
10190 extern "C"
10191 #endif
10192 char XRenderQueryExtension ();
10194 main ()
10196 return XRenderQueryExtension ();
10198 return 0;
10200 _ACEOF
10201 if ac_fn_c_try_link "$LINENO"; then :
10202 case "$LIBEXT" in
10203 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10204 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'` ;;
10205 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10206 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10207 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10208 fi ;;
10209 esac
10211 rm -f core conftest.err conftest.$ac_objext \
10212 conftest$ac_exeext conftest.$ac_ext
10213 LIBS=$ac_check_soname_save_LIBS
10215 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10217 $as_echo "not found" >&6; }
10219 else
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10221 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10223 cat >>confdefs.h <<_ACEOF
10224 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10225 _ACEOF
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10228 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10229 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10230 $as_echo_n "(cached) " >&6
10231 else
10232 ac_check_lib_save_LIBS=$LIBS
10233 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10237 /* Override any GCC internal prototype to avoid an error.
10238 Use char because int might match the return type of a GCC
10239 builtin and then its argument prototype would still apply. */
10240 #ifdef __cplusplus
10241 extern "C"
10242 #endif
10243 char XRenderSetPictureTransform ();
10245 main ()
10247 return XRenderSetPictureTransform ();
10249 return 0;
10251 _ACEOF
10252 if ac_fn_c_try_link "$LINENO"; then :
10253 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10254 else
10255 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10257 rm -f core conftest.err conftest.$ac_objext \
10258 conftest$ac_exeext conftest.$ac_ext
10259 LIBS=$ac_check_lib_save_LIBS
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10262 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10263 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10265 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10270 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10271 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10272 $as_echo_n "(cached) " >&6
10273 else
10274 ac_check_lib_save_LIBS=$LIBS
10275 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10279 /* Override any GCC internal prototype to avoid an error.
10280 Use char because int might match the return type of a GCC
10281 builtin and then its argument prototype would still apply. */
10282 #ifdef __cplusplus
10283 extern "C"
10284 #endif
10285 char XRenderCreateLinearGradient ();
10287 main ()
10289 return XRenderCreateLinearGradient ();
10291 return 0;
10293 _ACEOF
10294 if ac_fn_c_try_link "$LINENO"; then :
10295 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10296 else
10297 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10299 rm -f core conftest.err conftest.$ac_objext \
10300 conftest$ac_exeext conftest.$ac_ext
10301 LIBS=$ac_check_lib_save_LIBS
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10304 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10305 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10307 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10314 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10315 case "x$with_xrender" in
10316 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10317 xno) ;;
10318 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10319 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10320 esac
10324 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10325 then
10326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10327 /* end confdefs.h. */
10328 #include <X11/Xlib.h>
10329 #include <X11/extensions/Xrandr.h>
10331 main ()
10333 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10335 return 0;
10337 _ACEOF
10338 if ac_fn_c_try_compile "$LINENO"; then :
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10340 $as_echo_n "checking for -lXrandr... " >&6; }
10341 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10342 $as_echo_n "(cached) " >&6
10343 else
10344 ac_check_soname_save_LIBS=$LIBS
10345 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10347 /* end confdefs.h. */
10349 /* Override any GCC internal prototype to avoid an error.
10350 Use char because int might match the return type of a GCC
10351 builtin and then its argument prototype would still apply. */
10352 #ifdef __cplusplus
10353 extern "C"
10354 #endif
10355 char XRRQueryExtension ();
10357 main ()
10359 return XRRQueryExtension ();
10361 return 0;
10363 _ACEOF
10364 if ac_fn_c_try_link "$LINENO"; then :
10365 case "$LIBEXT" in
10366 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10367 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'` ;;
10368 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10369 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10370 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10371 fi ;;
10372 esac
10374 rm -f core conftest.err conftest.$ac_objext \
10375 conftest$ac_exeext conftest.$ac_ext
10376 LIBS=$ac_check_soname_save_LIBS
10378 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10380 $as_echo "not found" >&6; }
10382 else
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10384 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10386 cat >>confdefs.h <<_ACEOF
10387 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10388 _ACEOF
10390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10391 /* end confdefs.h. */
10392 #include <X11/Xlib.h>
10393 #include <X11/extensions/Xrandr.h>
10395 main ()
10397 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10399 return 0;
10401 _ACEOF
10402 if ac_fn_c_try_compile "$LINENO"; then :
10404 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10412 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10413 case "x$with_xrandr" in
10414 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10415 xno) ;;
10416 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10417 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10418 esac
10422 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10423 then
10424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10425 /* end confdefs.h. */
10426 #include <X11/Xlib.h>
10427 #include <X11/extensions/Xfixes.h>
10429 main ()
10431 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10433 return 0;
10435 _ACEOF
10436 if ac_fn_c_try_compile "$LINENO"; then :
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10438 $as_echo_n "checking for -lXfixes... " >&6; }
10439 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10440 $as_echo_n "(cached) " >&6
10441 else
10442 ac_check_soname_save_LIBS=$LIBS
10443 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10447 /* Override any GCC internal prototype to avoid an error.
10448 Use char because int might match the return type of a GCC
10449 builtin and then its argument prototype would still apply. */
10450 #ifdef __cplusplus
10451 extern "C"
10452 #endif
10453 char XFixesQueryVersion ();
10455 main ()
10457 return XFixesQueryVersion ();
10459 return 0;
10461 _ACEOF
10462 if ac_fn_c_try_link "$LINENO"; then :
10463 case "$LIBEXT" in
10464 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10465 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'` ;;
10466 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10467 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10468 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10469 fi ;;
10470 esac
10472 rm -f core conftest.err conftest.$ac_objext \
10473 conftest$ac_exeext conftest.$ac_ext
10474 LIBS=$ac_check_soname_save_LIBS
10476 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10478 $as_echo "not found" >&6; }
10480 else
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10482 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10484 cat >>confdefs.h <<_ACEOF
10485 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10486 _ACEOF
10491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10493 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10494 case "x$with_xfixes" in
10495 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10496 xno) ;;
10497 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10498 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10499 esac
10503 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10504 then
10505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10506 /* end confdefs.h. */
10507 #include <X11/Xlib.h>
10508 #include <X11/extensions/Xinerama.h>
10510 main ()
10512 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10514 return 0;
10516 _ACEOF
10517 if ac_fn_c_try_compile "$LINENO"; then :
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10519 $as_echo_n "checking for -lXinerama... " >&6; }
10520 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10521 $as_echo_n "(cached) " >&6
10522 else
10523 ac_check_soname_save_LIBS=$LIBS
10524 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10528 /* Override any GCC internal prototype to avoid an error.
10529 Use char because int might match the return type of a GCC
10530 builtin and then its argument prototype would still apply. */
10531 #ifdef __cplusplus
10532 extern "C"
10533 #endif
10534 char XineramaQueryScreens ();
10536 main ()
10538 return XineramaQueryScreens ();
10540 return 0;
10542 _ACEOF
10543 if ac_fn_c_try_link "$LINENO"; then :
10544 case "$LIBEXT" in
10545 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10546 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'` ;;
10547 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10548 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10549 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10550 fi ;;
10551 esac
10553 rm -f core conftest.err conftest.$ac_objext \
10554 conftest$ac_exeext conftest.$ac_ext
10555 LIBS=$ac_check_soname_save_LIBS
10557 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10559 $as_echo "not found" >&6; }
10561 else
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10563 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10565 cat >>confdefs.h <<_ACEOF
10566 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10567 _ACEOF
10572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10574 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10575 case "x$with_xinerama" in
10576 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10577 xno) ;;
10578 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10579 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10580 esac
10584 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10585 then
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10587 $as_echo_n "checking for -lXcomposite... " >&6; }
10588 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10589 $as_echo_n "(cached) " >&6
10590 else
10591 ac_check_soname_save_LIBS=$LIBS
10592 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10594 /* end confdefs.h. */
10596 /* Override any GCC internal prototype to avoid an error.
10597 Use char because int might match the return type of a GCC
10598 builtin and then its argument prototype would still apply. */
10599 #ifdef __cplusplus
10600 extern "C"
10601 #endif
10602 char XCompositeRedirectWindow ();
10604 main ()
10606 return XCompositeRedirectWindow ();
10608 return 0;
10610 _ACEOF
10611 if ac_fn_c_try_link "$LINENO"; then :
10612 case "$LIBEXT" in
10613 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10614 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'` ;;
10615 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10616 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10617 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10618 fi ;;
10619 esac
10621 rm -f core conftest.err conftest.$ac_objext \
10622 conftest$ac_exeext conftest.$ac_ext
10623 LIBS=$ac_check_soname_save_LIBS
10625 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10627 $as_echo "not found" >&6; }
10629 else
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10631 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10633 cat >>confdefs.h <<_ACEOF
10634 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10635 _ACEOF
10640 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10641 case "x$with_xcomposite" in
10642 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10643 xno) ;;
10644 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10645 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10646 esac
10650 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10651 #include <X11/Xlib.h>
10652 #endif
10654 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10656 cat >>confdefs.h <<_ACEOF
10657 #define HAVE_XICCALLBACK_CALLBACK 1
10658 _ACEOF
10662 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10663 #include <X11/Xlib.h>
10664 #endif
10666 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10668 cat >>confdefs.h <<_ACEOF
10669 #define HAVE_XEVENT_XCOOKIE 1
10670 _ACEOF
10677 opengl_msg=""
10678 if test "x$with_opengl" != "xno"
10679 then
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10681 $as_echo_n "checking for -lGL... " >&6; }
10682 if ${ac_cv_lib_soname_GL+:} false; then :
10683 $as_echo_n "(cached) " >&6
10684 else
10685 ac_check_soname_save_LIBS=$LIBS
10686 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10690 /* Override any GCC internal prototype to avoid an error.
10691 Use char because int might match the return type of a GCC
10692 builtin and then its argument prototype would still apply. */
10693 #ifdef __cplusplus
10694 extern "C"
10695 #endif
10696 char glXCreateContext ();
10698 main ()
10700 return glXCreateContext ();
10702 return 0;
10704 _ACEOF
10705 if ac_fn_c_try_link "$LINENO"; then :
10706 case "$LIBEXT" in
10707 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10708 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'` ;;
10709 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10710 if ${ac_cv_lib_soname_GL:+false} :; then :
10711 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10712 fi ;;
10713 esac
10715 rm -f core conftest.err conftest.$ac_objext \
10716 conftest$ac_exeext conftest.$ac_ext
10717 LIBS=$ac_check_soname_save_LIBS
10719 if ${ac_cv_lib_soname_GL:+false} :; then :
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10721 $as_echo "not found" >&6; }
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10723 $as_echo_n "checking for -lGL... " >&6; }
10724 if ${ac_cv_lib_soname_GL+:} false; then :
10725 $as_echo_n "(cached) " >&6
10726 else
10727 ac_check_soname_save_LIBS=$LIBS
10728 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"
10729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
10732 /* Override any GCC internal prototype to avoid an error.
10733 Use char because int might match the return type of a GCC
10734 builtin and then its argument prototype would still apply. */
10735 #ifdef __cplusplus
10736 extern "C"
10737 #endif
10738 char glXCreateContext ();
10740 main ()
10742 return glXCreateContext ();
10744 return 0;
10746 _ACEOF
10747 if ac_fn_c_try_link "$LINENO"; then :
10748 case "$LIBEXT" in
10749 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10750 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'` ;;
10751 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10752 if ${ac_cv_lib_soname_GL:+false} :; then :
10753 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10754 fi ;;
10755 esac
10757 rm -f core conftest.err conftest.$ac_objext \
10758 conftest$ac_exeext conftest.$ac_ext
10759 LIBS=$ac_check_soname_save_LIBS
10761 if ${ac_cv_lib_soname_GL:+false} :; then :
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10763 $as_echo "not found" >&6; }
10764 if test -f /usr/X11R6/lib/libGL.a
10765 then
10766 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10767 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10768 else
10769 opengl_msg="No OpenGL library found on this system."
10771 else
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10773 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10775 cat >>confdefs.h <<_ACEOF
10776 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10777 _ACEOF
10779 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"
10781 else
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10783 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10785 cat >>confdefs.h <<_ACEOF
10786 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10787 _ACEOF
10789 OPENGL_LIBS="-lGL"
10791 if test "x$with_glu" != "xno"
10792 then
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10794 $as_echo_n "checking for -lGLU... " >&6; }
10795 if ${ac_cv_lib_soname_GLU+:} false; then :
10796 $as_echo_n "(cached) " >&6
10797 else
10798 ac_check_soname_save_LIBS=$LIBS
10799 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10806 #ifdef __cplusplus
10807 extern "C"
10808 #endif
10809 char gluLookAt ();
10811 main ()
10813 return gluLookAt ();
10815 return 0;
10817 _ACEOF
10818 if ac_fn_c_try_link "$LINENO"; then :
10819 case "$LIBEXT" in
10820 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10821 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'` ;;
10822 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10823 if ${ac_cv_lib_soname_GLU:+false} :; then :
10824 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10825 fi ;;
10826 esac
10828 rm -f core conftest.err conftest.$ac_objext \
10829 conftest$ac_exeext conftest.$ac_ext
10830 LIBS=$ac_check_soname_save_LIBS
10832 if ${ac_cv_lib_soname_GLU:+false} :; then :
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10834 $as_echo "not found" >&6; }
10836 else
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10838 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10840 cat >>confdefs.h <<_ACEOF
10841 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10842 _ACEOF
10846 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10847 case "x$with_glu" in
10848 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10849 xno) ;;
10850 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10851 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10852 esac
10857 if test "x$with_osmesa" != "xno"
10858 then
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10860 $as_echo_n "checking for -lOSMesa... " >&6; }
10861 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10862 $as_echo_n "(cached) " >&6
10863 else
10864 ac_check_soname_save_LIBS=$LIBS
10865 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10867 /* end confdefs.h. */
10869 /* Override any GCC internal prototype to avoid an error.
10870 Use char because int might match the return type of a GCC
10871 builtin and then its argument prototype would still apply. */
10872 #ifdef __cplusplus
10873 extern "C"
10874 #endif
10875 char OSMesaGetProcAddress ();
10877 main ()
10879 return OSMesaGetProcAddress ();
10881 return 0;
10883 _ACEOF
10884 if ac_fn_c_try_link "$LINENO"; then :
10885 case "$LIBEXT" in
10886 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10887 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'` ;;
10888 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10889 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10890 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10891 fi ;;
10892 esac
10894 rm -f core conftest.err conftest.$ac_objext \
10895 conftest$ac_exeext conftest.$ac_ext
10896 LIBS=$ac_check_soname_save_LIBS
10898 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10900 $as_echo "not found" >&6; }
10902 else
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10904 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10906 cat >>confdefs.h <<_ACEOF
10907 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10908 _ACEOF
10912 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10913 case "x$with_osmesa" in
10914 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10915 xno) ;;
10916 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10917 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10918 esac
10923 if test -n "$opengl_msg"; then :
10924 case "x$with_opengl" in
10925 x) as_fn_append wine_warnings "|$opengl_msg
10926 OpenGL and Direct3D won't be supported." ;;
10927 xno) ;;
10928 *) as_fn_error $? "$opengl_msg
10929 OpenGL and Direct3D won't be supported.
10930 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10931 esac
10935 CPPFLAGS="$ac_save_CPPFLAGS"
10936 else
10937 X_CFLAGS=""
10938 X_LIBS=""
10941 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10942 then
10943 if test "x$X_LIBS" = "x"; then :
10944 case "x$with_x" in
10945 xno) ;;
10946 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10947 without X support, which probably isn't what you want. You will need
10948 to install ${notice_platform}development packages of Xlib at the very least.
10949 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10950 esac
10951 enable_winex11_drv=${enable_winex11_drv:-no}
10953 else
10954 if test "x$X_LIBS" = "x"; then :
10955 case "x$with_x" in
10956 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10957 xno) ;;
10958 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10959 This is an error since --with-x was requested." "$LINENO" 5 ;;
10960 esac
10961 enable_winex11_drv=${enable_winex11_drv:-no}
10965 if test "$ac_cv_header_CL_cl_h" = "yes"
10966 then
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10968 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10969 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10970 $as_echo_n "(cached) " >&6
10971 else
10972 ac_check_lib_save_LIBS=$LIBS
10973 LIBS="-lOpenCL $LIBS"
10974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10975 /* end confdefs.h. */
10977 /* Override any GCC internal prototype to avoid an error.
10978 Use char because int might match the return type of a GCC
10979 builtin and then its argument prototype would still apply. */
10980 #ifdef __cplusplus
10981 extern "C"
10982 #endif
10983 char clGetPlatformInfo ();
10985 main ()
10987 return clGetPlatformInfo ();
10989 return 0;
10991 _ACEOF
10992 if ac_fn_c_try_link "$LINENO"; then :
10993 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10994 else
10995 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10997 rm -f core conftest.err conftest.$ac_objext \
10998 conftest$ac_exeext conftest.$ac_ext
10999 LIBS=$ac_check_lib_save_LIBS
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11002 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11003 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11004 OPENCL_LIBS="-lOpenCL"
11009 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11010 case "x$with_opencl" in
11011 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11012 xno) ;;
11013 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11014 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11015 esac
11016 enable_opencl=${enable_opencl:-no}
11019 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11020 then
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11022 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11023 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11024 $as_echo_n "(cached) " >&6
11025 else
11026 ac_check_lib_save_LIBS=$LIBS
11027 LIBS="-lpcap $LIBS"
11028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11031 /* Override any GCC internal prototype to avoid an error.
11032 Use char because int might match the return type of a GCC
11033 builtin and then its argument prototype would still apply. */
11034 #ifdef __cplusplus
11035 extern "C"
11036 #endif
11037 char pcap_create ();
11039 main ()
11041 return pcap_create ();
11043 return 0;
11045 _ACEOF
11046 if ac_fn_c_try_link "$LINENO"; then :
11047 ac_cv_lib_pcap_pcap_create=yes
11048 else
11049 ac_cv_lib_pcap_pcap_create=no
11051 rm -f core conftest.err conftest.$ac_objext \
11052 conftest$ac_exeext conftest.$ac_ext
11053 LIBS=$ac_check_lib_save_LIBS
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11056 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11057 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11058 PCAP_LIBS="-lpcap"
11063 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11064 case "x$with_pcap" in
11065 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11066 xno) ;;
11067 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11068 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11069 esac
11070 enable_wpcap=${enable_wpcap:-no}
11074 if test "x$with_xml" != "xno"
11075 then
11076 if ${XML2_CFLAGS:+false} :; then :
11077 if ${PKG_CONFIG+:} false; then :
11078 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11081 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11082 if ${XML2_LIBS:+false} :; then :
11083 if ${PKG_CONFIG+:} false; then :
11084 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11087 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11088 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11089 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11090 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11091 ac_save_CPPFLAGS=$CPPFLAGS
11092 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11093 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11094 do :
11095 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11096 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11097 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11098 cat >>confdefs.h <<_ACEOF
11099 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11100 _ACEOF
11104 done
11106 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"
11107 then
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11109 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11110 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11111 $as_echo_n "(cached) " >&6
11112 else
11113 ac_check_lib_save_LIBS=$LIBS
11114 LIBS="-lxml2 $XML2_LIBS $LIBS"
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11118 /* Override any GCC internal prototype to avoid an error.
11119 Use char because int might match the return type of a GCC
11120 builtin and then its argument prototype would still apply. */
11121 #ifdef __cplusplus
11122 extern "C"
11123 #endif
11124 char xmlParseMemory ();
11126 main ()
11128 return xmlParseMemory ();
11130 return 0;
11132 _ACEOF
11133 if ac_fn_c_try_link "$LINENO"; then :
11134 ac_cv_lib_xml2_xmlParseMemory=yes
11135 else
11136 ac_cv_lib_xml2_xmlParseMemory=no
11138 rm -f core conftest.err conftest.$ac_objext \
11139 conftest$ac_exeext conftest.$ac_ext
11140 LIBS=$ac_check_lib_save_LIBS
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11143 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11144 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11146 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11148 else
11149 XML2_LIBS=""
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11153 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11154 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11155 $as_echo_n "(cached) " >&6
11156 else
11157 ac_check_lib_save_LIBS=$LIBS
11158 LIBS="-lxml2 $XML2_LIBS $LIBS"
11159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11162 /* Override any GCC internal prototype to avoid an error.
11163 Use char because int might match the return type of a GCC
11164 builtin and then its argument prototype would still apply. */
11165 #ifdef __cplusplus
11166 extern "C"
11167 #endif
11168 char xmlReadMemory ();
11170 main ()
11172 return xmlReadMemory ();
11174 return 0;
11176 _ACEOF
11177 if ac_fn_c_try_link "$LINENO"; then :
11178 ac_cv_lib_xml2_xmlReadMemory=yes
11179 else
11180 ac_cv_lib_xml2_xmlReadMemory=no
11182 rm -f core conftest.err conftest.$ac_objext \
11183 conftest$ac_exeext conftest.$ac_ext
11184 LIBS=$ac_check_lib_save_LIBS
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11187 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11188 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11190 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11195 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11196 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11197 $as_echo_n "(cached) " >&6
11198 else
11199 ac_check_lib_save_LIBS=$LIBS
11200 LIBS="-lxml2 $XML2_LIBS $LIBS"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11207 #ifdef __cplusplus
11208 extern "C"
11209 #endif
11210 char xmlNewDocPI ();
11212 main ()
11214 return xmlNewDocPI ();
11216 return 0;
11218 _ACEOF
11219 if ac_fn_c_try_link "$LINENO"; then :
11220 ac_cv_lib_xml2_xmlNewDocPI=yes
11221 else
11222 ac_cv_lib_xml2_xmlNewDocPI=no
11224 rm -f core conftest.err conftest.$ac_objext \
11225 conftest$ac_exeext conftest.$ac_ext
11226 LIBS=$ac_check_lib_save_LIBS
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11229 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11230 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11232 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11237 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11238 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11239 $as_echo_n "(cached) " >&6
11240 else
11241 ac_check_lib_save_LIBS=$LIBS
11242 LIBS="-lxml2 $XML2_LIBS $LIBS"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11246 /* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11249 #ifdef __cplusplus
11250 extern "C"
11251 #endif
11252 char xmlSchemaSetParserStructuredErrors ();
11254 main ()
11256 return xmlSchemaSetParserStructuredErrors ();
11258 return 0;
11260 _ACEOF
11261 if ac_fn_c_try_link "$LINENO"; then :
11262 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11263 else
11264 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11266 rm -f core conftest.err conftest.$ac_objext \
11267 conftest$ac_exeext conftest.$ac_ext
11268 LIBS=$ac_check_lib_save_LIBS
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11271 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11272 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11274 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11279 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11280 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11281 $as_echo_n "(cached) " >&6
11282 else
11283 ac_check_lib_save_LIBS=$LIBS
11284 LIBS="-lxml2 $XML2_LIBS $LIBS"
11285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11286 /* end confdefs.h. */
11288 /* Override any GCC internal prototype to avoid an error.
11289 Use char because int might match the return type of a GCC
11290 builtin and then its argument prototype would still apply. */
11291 #ifdef __cplusplus
11292 extern "C"
11293 #endif
11294 char xmlSchemaSetValidStructuredErrors ();
11296 main ()
11298 return xmlSchemaSetValidStructuredErrors ();
11300 return 0;
11302 _ACEOF
11303 if ac_fn_c_try_link "$LINENO"; then :
11304 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11305 else
11306 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11308 rm -f core conftest.err conftest.$ac_objext \
11309 conftest$ac_exeext conftest.$ac_ext
11310 LIBS=$ac_check_lib_save_LIBS
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11313 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11314 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11316 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11321 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11322 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11323 $as_echo_n "(cached) " >&6
11324 else
11325 ac_check_lib_save_LIBS=$LIBS
11326 LIBS="-lxml2 $XML2_LIBS $LIBS"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11330 /* Override any GCC internal prototype to avoid an error.
11331 Use char because int might match the return type of a GCC
11332 builtin and then its argument prototype would still apply. */
11333 #ifdef __cplusplus
11334 extern "C"
11335 #endif
11336 char xmlFirstElementChild ();
11338 main ()
11340 return xmlFirstElementChild ();
11342 return 0;
11344 _ACEOF
11345 if ac_fn_c_try_link "$LINENO"; then :
11346 ac_cv_lib_xml2_xmlFirstElementChild=yes
11347 else
11348 ac_cv_lib_xml2_xmlFirstElementChild=no
11350 rm -f core conftest.err conftest.$ac_objext \
11351 conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_lib_save_LIBS
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11355 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11356 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11358 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11362 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11364 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11366 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11370 else
11371 XML2_CFLAGS=""
11372 XML2_LIBS=""
11374 CPPFLAGS=$ac_save_CPPFLAGS
11375 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11376 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11379 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11380 case "x$with_xml" in
11381 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11382 xno) ;;
11383 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11384 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11385 esac
11389 if test "x$with_xslt" != "xno"
11390 then
11391 if ${XSLT_CFLAGS:+false} :; then :
11392 if ${PKG_CONFIG+:} false; then :
11393 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11396 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11397 if ${XSLT_LIBS:+false} :; then :
11398 if ${PKG_CONFIG+:} false; then :
11399 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11402 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11403 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11404 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11405 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11406 ac_save_CPPFLAGS=$CPPFLAGS
11407 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11408 for ac_header in libxslt/pattern.h libxslt/transform.h
11409 do :
11410 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11411 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11412 # include <libxslt/pattern.h>
11413 #endif
11415 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11416 cat >>confdefs.h <<_ACEOF
11417 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11418 _ACEOF
11422 done
11424 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11425 then
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11427 $as_echo_n "checking for -lxslt... " >&6; }
11428 if ${ac_cv_lib_soname_xslt+:} false; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_soname_save_LIBS=$LIBS
11432 LIBS="-lxslt $XSLT_LIBS $LIBS"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11439 #ifdef __cplusplus
11440 extern "C"
11441 #endif
11442 char xsltCompilePattern ();
11444 main ()
11446 return xsltCompilePattern ();
11448 return 0;
11450 _ACEOF
11451 if ac_fn_c_try_link "$LINENO"; then :
11452 case "$LIBEXT" in
11453 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11454 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'` ;;
11455 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11456 if ${ac_cv_lib_soname_xslt:+false} :; then :
11457 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11458 fi ;;
11459 esac
11461 rm -f core conftest.err conftest.$ac_objext \
11462 conftest$ac_exeext conftest.$ac_ext
11463 LIBS=$ac_check_soname_save_LIBS
11465 if ${ac_cv_lib_soname_xslt:+false} :; then :
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11467 $as_echo "not found" >&6; }
11469 else
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11471 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11473 cat >>confdefs.h <<_ACEOF
11474 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11475 _ACEOF
11479 else
11480 XSLT_CFLAGS=""
11482 CPPFLAGS=$ac_save_CPPFLAGS
11483 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11484 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11487 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11488 case "x$with_xslt" in
11489 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11490 xno) ;;
11491 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11492 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11493 esac
11497 if test "x$with_dbus" != "xno"
11498 then
11499 if ${DBUS_CFLAGS:+false} :; then :
11500 if ${PKG_CONFIG+:} false; then :
11501 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11505 if ${DBUS_LIBS:+false} :; then :
11506 if ${PKG_CONFIG+:} false; then :
11507 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11512 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11513 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11514 ac_save_CPPFLAGS=$CPPFLAGS
11515 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11516 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11517 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11519 $as_echo_n "checking for -ldbus-1... " >&6; }
11520 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11521 $as_echo_n "(cached) " >&6
11522 else
11523 ac_check_soname_save_LIBS=$LIBS
11524 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11526 /* end confdefs.h. */
11528 /* Override any GCC internal prototype to avoid an error.
11529 Use char because int might match the return type of a GCC
11530 builtin and then its argument prototype would still apply. */
11531 #ifdef __cplusplus
11532 extern "C"
11533 #endif
11534 char dbus_connection_close ();
11536 main ()
11538 return dbus_connection_close ();
11540 return 0;
11542 _ACEOF
11543 if ac_fn_c_try_link "$LINENO"; then :
11544 case "$LIBEXT" in
11545 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11546 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'` ;;
11547 *) 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'`
11548 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11549 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11550 fi ;;
11551 esac
11553 rm -f core conftest.err conftest.$ac_objext \
11554 conftest$ac_exeext conftest.$ac_ext
11555 LIBS=$ac_check_soname_save_LIBS
11557 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11559 $as_echo "not found" >&6; }
11560 DBUS_CFLAGS=""
11561 else
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11563 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11565 cat >>confdefs.h <<_ACEOF
11566 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11567 _ACEOF
11571 else
11572 DBUS_CFLAGS=""
11576 CPPFLAGS=$ac_save_CPPFLAGS
11577 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11578 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11581 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11582 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11583 case "x$with_dbus" in
11584 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11585 xno) ;;
11586 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11587 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11588 esac
11592 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11593 then
11594 if ${HAL_CFLAGS:+false} :; then :
11595 if ${PKG_CONFIG+:} false; then :
11596 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11600 if ${HAL_LIBS:+false} :; then :
11601 if ${PKG_CONFIG+:} false; then :
11602 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11606 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11607 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11608 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11609 ac_save_CPPFLAGS=$CPPFLAGS
11610 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11611 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11612 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11614 $as_echo_n "checking for -lhal... " >&6; }
11615 if ${ac_cv_lib_soname_hal+:} false; then :
11616 $as_echo_n "(cached) " >&6
11617 else
11618 ac_check_soname_save_LIBS=$LIBS
11619 LIBS="-lhal $HAL_LIBS $LIBS"
11620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11626 #ifdef __cplusplus
11627 extern "C"
11628 #endif
11629 char libhal_ctx_new ();
11631 main ()
11633 return libhal_ctx_new ();
11635 return 0;
11637 _ACEOF
11638 if ac_fn_c_try_link "$LINENO"; then :
11639 case "$LIBEXT" in
11640 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11641 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'` ;;
11642 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11643 if ${ac_cv_lib_soname_hal:+false} :; then :
11644 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11645 fi ;;
11646 esac
11648 rm -f core conftest.err conftest.$ac_objext \
11649 conftest$ac_exeext conftest.$ac_ext
11650 LIBS=$ac_check_soname_save_LIBS
11652 if ${ac_cv_lib_soname_hal:+false} :; then :
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11654 $as_echo "not found" >&6; }
11655 HAL_CFLAGS=""
11656 else
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11658 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11660 cat >>confdefs.h <<_ACEOF
11661 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11662 _ACEOF
11666 else
11667 HAL_CFLAGS=""
11671 CPPFLAGS=$ac_save_CPPFLAGS
11672 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11673 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11675 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11676 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11677 case "x$with_hal" in
11678 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11679 xno) ;;
11680 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11681 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11682 esac
11687 if test "x$with_gnutls" != "xno"
11688 then
11689 if ${GNUTLS_CFLAGS:+false} :; then :
11690 if ${PKG_CONFIG+:} false; then :
11691 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11695 if ${GNUTLS_LIBS:+false} :; then :
11696 if ${PKG_CONFIG+:} false; then :
11697 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11702 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11703 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11704 ac_save_CPPFLAGS=$CPPFLAGS
11705 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11706 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11707 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h. */
11710 #include <gnutls/gnutls.h>
11711 #include <gnutls/crypto.h>
11713 main ()
11715 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11717 return 0;
11719 _ACEOF
11720 if ac_fn_c_try_compile "$LINENO"; then :
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11722 $as_echo_n "checking for -lgnutls... " >&6; }
11723 if ${ac_cv_lib_soname_gnutls+:} false; then :
11724 $as_echo_n "(cached) " >&6
11725 else
11726 ac_check_soname_save_LIBS=$LIBS
11727 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11731 /* Override any GCC internal prototype to avoid an error.
11732 Use char because int might match the return type of a GCC
11733 builtin and then its argument prototype would still apply. */
11734 #ifdef __cplusplus
11735 extern "C"
11736 #endif
11737 char gnutls_global_init ();
11739 main ()
11741 return gnutls_global_init ();
11743 return 0;
11745 _ACEOF
11746 if ac_fn_c_try_link "$LINENO"; then :
11747 case "$LIBEXT" in
11748 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11749 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'` ;;
11750 *) 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'`
11751 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11752 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'`
11753 fi ;;
11754 esac
11756 rm -f core conftest.err conftest.$ac_objext \
11757 conftest$ac_exeext conftest.$ac_ext
11758 LIBS=$ac_check_soname_save_LIBS
11760 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11762 $as_echo "not found" >&6; }
11763 GNUTLS_CFLAGS=""
11764 else
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11766 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11768 cat >>confdefs.h <<_ACEOF
11769 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11770 _ACEOF
11774 ac_wine_check_funcs_save_LIBS="$LIBS"
11775 LIBS="$LIBS $GNUTLS_LIBS"
11776 for ac_func in gnutls_cipher_init
11777 do :
11778 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11779 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11780 cat >>confdefs.h <<_ACEOF
11781 #define HAVE_GNUTLS_CIPHER_INIT 1
11782 _ACEOF
11784 else
11785 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11787 done
11789 LIBS="$ac_wine_check_funcs_save_LIBS"
11791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11792 else
11793 GNUTLS_CFLAGS=""
11797 CPPFLAGS=$ac_save_CPPFLAGS
11798 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11799 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11802 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11803 case "x$with_gnutls" in
11804 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11805 xno) ;;
11806 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11807 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11808 esac
11812 CURSES_LIBS=""
11813 if test "$ac_cv_header_ncurses_h" = "yes"
11814 then
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11816 $as_echo_n "checking for -lncurses... " >&6; }
11817 if ${ac_cv_lib_soname_ncurses+:} false; then :
11818 $as_echo_n "(cached) " >&6
11819 else
11820 ac_check_soname_save_LIBS=$LIBS
11821 LIBS="-lncurses $LIBS"
11822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11828 #ifdef __cplusplus
11829 extern "C"
11830 #endif
11831 char waddch ();
11833 main ()
11835 return waddch ();
11837 return 0;
11839 _ACEOF
11840 if ac_fn_c_try_link "$LINENO"; then :
11841 case "$LIBEXT" in
11842 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11843 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'` ;;
11844 *) 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'`
11845 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11846 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11847 fi ;;
11848 esac
11850 rm -f core conftest.err conftest.$ac_objext \
11851 conftest$ac_exeext conftest.$ac_ext
11852 LIBS=$ac_check_soname_save_LIBS
11854 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11856 $as_echo "not found" >&6; }
11858 else
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11860 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11862 cat >>confdefs.h <<_ACEOF
11863 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11864 _ACEOF
11866 CURSES_LIBS="-lncurses"
11868 elif test "$ac_cv_header_curses_h" = "yes"
11869 then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11871 $as_echo_n "checking for -lcurses... " >&6; }
11872 if ${ac_cv_lib_soname_curses+:} false; then :
11873 $as_echo_n "(cached) " >&6
11874 else
11875 ac_check_soname_save_LIBS=$LIBS
11876 LIBS="-lcurses $LIBS"
11877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11880 /* Override any GCC internal prototype to avoid an error.
11881 Use char because int might match the return type of a GCC
11882 builtin and then its argument prototype would still apply. */
11883 #ifdef __cplusplus
11884 extern "C"
11885 #endif
11886 char waddch ();
11888 main ()
11890 return waddch ();
11892 return 0;
11894 _ACEOF
11895 if ac_fn_c_try_link "$LINENO"; then :
11896 case "$LIBEXT" in
11897 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11898 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'` ;;
11899 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11900 if ${ac_cv_lib_soname_curses:+false} :; then :
11901 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11902 fi ;;
11903 esac
11905 rm -f core conftest.err conftest.$ac_objext \
11906 conftest$ac_exeext conftest.$ac_ext
11907 LIBS=$ac_check_soname_save_LIBS
11909 if ${ac_cv_lib_soname_curses:+false} :; then :
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11911 $as_echo "not found" >&6; }
11913 else
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11915 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11917 cat >>confdefs.h <<_ACEOF
11918 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11919 _ACEOF
11921 CURSES_LIBS="-lcurses"
11924 ac_save_LIBS="$LIBS"
11925 LIBS="$LIBS $CURSES_LIBS"
11926 for ac_func in mousemask
11927 do :
11928 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11929 if test "x$ac_cv_func_mousemask" = xyes; then :
11930 cat >>confdefs.h <<_ACEOF
11931 #define HAVE_MOUSEMASK 1
11932 _ACEOF
11935 done
11937 LIBS="$ac_save_LIBS"
11938 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11939 case "x$with_curses" in
11940 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11941 xno) ;;
11942 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11943 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11944 esac
11948 if test "x$with_sane" != "xno"
11949 then
11950 if ${SANE_CFLAGS:+false} :; then :
11951 if ${PKG_CONFIG+:} false; then :
11952 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11955 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11956 if ${SANE_LIBS:+false} :; then :
11957 if ${PKG_CONFIG+:} false; then :
11958 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11961 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11963 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11964 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11965 ac_save_CPPFLAGS=$CPPFLAGS
11966 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11967 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11968 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11970 $as_echo_n "checking for -lsane... " >&6; }
11971 if ${ac_cv_lib_soname_sane+:} false; then :
11972 $as_echo_n "(cached) " >&6
11973 else
11974 ac_check_soname_save_LIBS=$LIBS
11975 LIBS="-lsane $SANE_LIBS $LIBS"
11976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11977 /* end confdefs.h. */
11979 /* Override any GCC internal prototype to avoid an error.
11980 Use char because int might match the return type of a GCC
11981 builtin and then its argument prototype would still apply. */
11982 #ifdef __cplusplus
11983 extern "C"
11984 #endif
11985 char sane_init ();
11987 main ()
11989 return sane_init ();
11991 return 0;
11993 _ACEOF
11994 if ac_fn_c_try_link "$LINENO"; then :
11995 case "$LIBEXT" in
11996 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11997 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'` ;;
11998 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11999 if ${ac_cv_lib_soname_sane:+false} :; then :
12000 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12001 fi ;;
12002 esac
12004 rm -f core conftest.err conftest.$ac_objext \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LIBS=$ac_check_soname_save_LIBS
12008 if ${ac_cv_lib_soname_sane:+false} :; then :
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12010 $as_echo "not found" >&6; }
12011 SANE_CFLAGS=""
12012 else
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12014 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12016 cat >>confdefs.h <<_ACEOF
12017 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12018 _ACEOF
12022 else
12023 SANE_CFLAGS=""
12027 CPPFLAGS=$ac_save_CPPFLAGS
12028 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12029 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12032 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12033 case "x$with_sane" in
12034 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12035 xno) ;;
12036 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12037 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12038 esac
12042 if test "x$with_v4l" != "xno"
12043 then
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12045 $as_echo_n "checking for -lv4l1... " >&6; }
12046 if ${ac_cv_lib_soname_v4l1+:} false; then :
12047 $as_echo_n "(cached) " >&6
12048 else
12049 ac_check_soname_save_LIBS=$LIBS
12050 LIBS="-lv4l1 $LIBS"
12051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12052 /* end confdefs.h. */
12054 /* Override any GCC internal prototype to avoid an error.
12055 Use char because int might match the return type of a GCC
12056 builtin and then its argument prototype would still apply. */
12057 #ifdef __cplusplus
12058 extern "C"
12059 #endif
12060 char v4l1_open ();
12062 main ()
12064 return v4l1_open ();
12066 return 0;
12068 _ACEOF
12069 if ac_fn_c_try_link "$LINENO"; then :
12070 case "$LIBEXT" in
12071 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12072 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'` ;;
12073 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12074 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12075 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12076 fi ;;
12077 esac
12079 rm -f core conftest.err conftest.$ac_objext \
12080 conftest$ac_exeext conftest.$ac_ext
12081 LIBS=$ac_check_soname_save_LIBS
12083 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12085 $as_echo "not found" >&6; }
12087 else
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12089 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12091 cat >>confdefs.h <<_ACEOF
12092 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12093 _ACEOF
12098 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12099 case "x$with_v4l" in
12100 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12101 xno) ;;
12102 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12103 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12104 esac
12108 if test "x$with_gphoto" != "xno"
12109 then
12110 if ${GPHOTO2_CFLAGS:+false} :; then :
12111 if ${PKG_CONFIG+:} false; then :
12112 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12115 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12116 if ${GPHOTO2_LIBS:+false} :; then :
12117 if ${PKG_CONFIG+:} false; then :
12118 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12121 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12122 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12123 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12124 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12125 ac_save_CPPFLAGS=$CPPFLAGS
12126 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12127 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12128 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12130 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12131 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12132 $as_echo_n "(cached) " >&6
12133 else
12134 ac_check_lib_save_LIBS=$LIBS
12135 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12137 /* end confdefs.h. */
12139 /* Override any GCC internal prototype to avoid an error.
12140 Use char because int might match the return type of a GCC
12141 builtin and then its argument prototype would still apply. */
12142 #ifdef __cplusplus
12143 extern "C"
12144 #endif
12145 char gp_camera_new ();
12147 main ()
12149 return gp_camera_new ();
12151 return 0;
12153 _ACEOF
12154 if ac_fn_c_try_link "$LINENO"; then :
12155 ac_cv_lib_gphoto2_gp_camera_new=yes
12156 else
12157 ac_cv_lib_gphoto2_gp_camera_new=no
12159 rm -f core conftest.err conftest.$ac_objext \
12160 conftest$ac_exeext conftest.$ac_ext
12161 LIBS=$ac_check_lib_save_LIBS
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12164 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12165 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12167 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12169 else
12170 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12173 else
12174 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12178 CPPFLAGS=$ac_save_CPPFLAGS
12179 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12180 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12182 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12183 if ${PKG_CONFIG+:} false; then :
12184 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12187 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12188 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12189 if ${PKG_CONFIG+:} false; then :
12190 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12193 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12194 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12195 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12196 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12197 ac_save_CPPFLAGS=$CPPFLAGS
12198 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12199 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12200 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12202 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12203 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12204 $as_echo_n "(cached) " >&6
12205 else
12206 ac_check_lib_save_LIBS=$LIBS
12207 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12209 /* end confdefs.h. */
12211 /* Override any GCC internal prototype to avoid an error.
12212 Use char because int might match the return type of a GCC
12213 builtin and then its argument prototype would still apply. */
12214 #ifdef __cplusplus
12215 extern "C"
12216 #endif
12217 char gp_port_info_list_new ();
12219 main ()
12221 return gp_port_info_list_new ();
12223 return 0;
12225 _ACEOF
12226 if ac_fn_c_try_link "$LINENO"; then :
12227 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12228 else
12229 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12231 rm -f core conftest.err conftest.$ac_objext \
12232 conftest$ac_exeext conftest.$ac_ext
12233 LIBS=$ac_check_lib_save_LIBS
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12236 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12237 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12239 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12241 else
12242 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12245 else
12246 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12250 CPPFLAGS=$ac_save_CPPFLAGS
12251 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12252 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12255 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12256 case "x$with_gphoto" in
12257 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12258 xno) ;;
12259 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12260 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12261 esac
12264 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12265 case "x$with_gphoto" in
12266 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12267 xno) ;;
12268 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12269 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12270 esac
12275 if test "$ac_cv_header_resolv_h" = "yes"
12276 then
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12278 $as_echo_n "checking for resolver library... " >&6; }
12279 if ${ac_cv_have_resolv+:} false; then :
12280 $as_echo_n "(cached) " >&6
12281 else
12282 ac_save_LIBS="$LIBS"
12283 for lib in '' -lresolv
12285 LIBS="$lib $ac_save_LIBS"
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12288 #ifdef HAVE_NETINET_IN_H
12289 #include <netinet/in.h>
12290 #endif
12291 #include <resolv.h>
12293 main ()
12295 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12297 return 0;
12299 _ACEOF
12300 if ac_fn_c_try_link "$LINENO"; then :
12301 ac_cv_have_resolv=${lib:-"none required"}
12302 else
12303 ac_cv_have_resolv="not found"
12305 rm -f core conftest.err conftest.$ac_objext \
12306 conftest$ac_exeext conftest.$ac_ext
12307 test "x$ac_cv_have_resolv" = "xnot found" || break
12308 done
12309 LIBS="$ac_save_LIBS"
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12312 $as_echo "$ac_cv_have_resolv" >&6; }
12314 case "$ac_cv_have_resolv" in
12315 "not found") ;;
12316 "none required")
12318 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12321 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12323 RESOLV_LIBS=$ac_cv_have_resolv
12325 esac
12328 if test "x$with_cms" != "xno"
12329 then
12330 if ${LCMS2_CFLAGS:+false} :; then :
12331 if ${PKG_CONFIG+:} false; then :
12332 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12336 if ${LCMS2_LIBS:+false} :; then :
12337 if ${PKG_CONFIG+:} false; then :
12338 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12342 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12343 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12344 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12345 ac_save_CPPFLAGS=$CPPFLAGS
12346 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12347 for ac_header in lcms2.h
12348 do :
12349 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12350 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12351 cat >>confdefs.h <<_ACEOF
12352 #define HAVE_LCMS2_H 1
12353 _ACEOF
12357 done
12359 if test "$ac_cv_header_lcms2_h" = "yes"
12360 then
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12362 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12363 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12364 $as_echo_n "(cached) " >&6
12365 else
12366 ac_check_lib_save_LIBS=$LIBS
12367 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12369 /* end confdefs.h. */
12371 /* Override any GCC internal prototype to avoid an error.
12372 Use char because int might match the return type of a GCC
12373 builtin and then its argument prototype would still apply. */
12374 #ifdef __cplusplus
12375 extern "C"
12376 #endif
12377 char cmsOpenProfileFromFile ();
12379 main ()
12381 return cmsOpenProfileFromFile ();
12383 return 0;
12385 _ACEOF
12386 if ac_fn_c_try_link "$LINENO"; then :
12387 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12388 else
12389 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12391 rm -f core conftest.err conftest.$ac_objext \
12392 conftest$ac_exeext conftest.$ac_ext
12393 LIBS=$ac_check_lib_save_LIBS
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12396 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12397 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12399 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12401 else
12402 LCMS2_LIBS=""
12405 else
12406 LCMS2_CFLAGS=""
12407 LCMS2_LIBS=""
12409 CPPFLAGS=$ac_save_CPPFLAGS
12410 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12411 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12414 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12415 case "x$with_cms" in
12416 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12417 xno) ;;
12418 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12419 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12420 esac
12424 if test "x$with_freetype" != "xno"
12425 then
12426 if ${FREETYPE_CFLAGS:+false} :; then :
12427 if ${PKG_CONFIG+:} false; then :
12428 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12431 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12432 if ${FREETYPE_LIBS:+false} :; then :
12433 if ${PKG_CONFIG+:} false; then :
12434 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12437 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12438 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12439 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12440 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12441 ac_save_CPPFLAGS=$CPPFLAGS
12442 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12443 for ac_header in ft2build.h
12444 do :
12445 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12446 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12447 cat >>confdefs.h <<_ACEOF
12448 #define HAVE_FT2BUILD_H 1
12449 _ACEOF
12453 done
12455 if test "$ac_cv_header_ft2build_h" = "yes"
12456 then
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12458 $as_echo_n "checking for -lfreetype... " >&6; }
12459 if ${ac_cv_lib_soname_freetype+:} false; then :
12460 $as_echo_n "(cached) " >&6
12461 else
12462 ac_check_soname_save_LIBS=$LIBS
12463 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12467 /* Override any GCC internal prototype to avoid an error.
12468 Use char because int might match the return type of a GCC
12469 builtin and then its argument prototype would still apply. */
12470 #ifdef __cplusplus
12471 extern "C"
12472 #endif
12473 char FT_Init_FreeType ();
12475 main ()
12477 return FT_Init_FreeType ();
12479 return 0;
12481 _ACEOF
12482 if ac_fn_c_try_link "$LINENO"; then :
12483 case "$LIBEXT" in
12484 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12485 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'` ;;
12486 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12487 if ${ac_cv_lib_soname_freetype:+false} :; then :
12488 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12489 fi ;;
12490 esac
12492 rm -f core conftest.err conftest.$ac_objext \
12493 conftest$ac_exeext conftest.$ac_ext
12494 LIBS=$ac_check_soname_save_LIBS
12496 if ${ac_cv_lib_soname_freetype:+false} :; then :
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12498 $as_echo "not found" >&6; }
12499 FREETYPE_LIBS=""
12500 else
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12502 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12504 cat >>confdefs.h <<_ACEOF
12505 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12506 _ACEOF
12509 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12511 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12512 #include FT_MODULE_H
12514 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12516 cat >>confdefs.h <<_ACEOF
12517 #define HAVE_FT_TRUETYPEENGINETYPE 1
12518 _ACEOF
12524 else
12525 FREETYPE_CFLAGS=""
12526 FREETYPE_LIBS=""
12528 CPPFLAGS=$ac_save_CPPFLAGS
12529 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12530 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12533 if test "x$ac_cv_lib_soname_freetype" = x; then :
12534 case "x$with_freetype" in
12535 xno) ;;
12536 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12537 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12538 esac
12539 enable_fonts=${enable_fonts:-no}
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12543 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12544 if ${ac_cv_c_ppdev+:} false; then :
12545 $as_echo_n "(cached) " >&6
12546 else
12547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12548 /* end confdefs.h. */
12549 #ifdef HAVE_SYS_IOCTL_H
12550 # include <sys/ioctl.h>
12551 #endif
12552 #include <linux/ppdev.h>
12554 main ()
12556 ioctl (1,PPCLAIM,0)
12558 return 0;
12560 _ACEOF
12561 if ac_fn_c_try_compile "$LINENO"; then :
12562 ac_cv_c_ppdev="yes"
12563 else
12564 ac_cv_c_ppdev="no"
12566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12569 $as_echo "$ac_cv_c_ppdev" >&6; }
12570 if test "$ac_cv_c_ppdev" = "yes"
12571 then
12573 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12577 ac_wine_check_funcs_save_LIBS="$LIBS"
12578 LIBS="$LIBS $PTHREAD_LIBS"
12579 for ac_func in \
12580 pthread_attr_get_np \
12581 pthread_getattr_np \
12582 pthread_getthreadid_np \
12583 pthread_get_stackaddr_np \
12584 pthread_get_stacksize_np
12585 do :
12586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12588 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12589 cat >>confdefs.h <<_ACEOF
12590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12591 _ACEOF
12594 done
12596 LIBS="$ac_wine_check_funcs_save_LIBS"
12598 if test "$ac_cv_header_zlib_h" = "yes"
12599 then
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12601 $as_echo_n "checking for inflate in -lz... " >&6; }
12602 if ${ac_cv_lib_z_inflate+:} false; then :
12603 $as_echo_n "(cached) " >&6
12604 else
12605 ac_check_lib_save_LIBS=$LIBS
12606 LIBS="-lz $LIBS"
12607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12610 /* Override any GCC internal prototype to avoid an error.
12611 Use char because int might match the return type of a GCC
12612 builtin and then its argument prototype would still apply. */
12613 #ifdef __cplusplus
12614 extern "C"
12615 #endif
12616 char inflate ();
12618 main ()
12620 return inflate ();
12622 return 0;
12624 _ACEOF
12625 if ac_fn_c_try_link "$LINENO"; then :
12626 ac_cv_lib_z_inflate=yes
12627 else
12628 ac_cv_lib_z_inflate=no
12630 rm -f core conftest.err conftest.$ac_objext \
12631 conftest$ac_exeext conftest.$ac_ext
12632 LIBS=$ac_check_lib_save_LIBS
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12635 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12636 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12638 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12640 Z_LIBS="-lz"
12645 if test "x$Z_LIBS" = "x"; then :
12646 case "x$with_zlib" in
12647 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12648 xno) ;;
12649 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12650 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12651 esac
12655 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12656 then
12657 if test "$ac_cv_header_gettext_po_h" = "yes"
12658 then
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12660 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12661 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12662 $as_echo_n "(cached) " >&6
12663 else
12664 ac_check_lib_save_LIBS=$LIBS
12665 LIBS="-lgettextpo $LIBS"
12666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12669 /* Override any GCC internal prototype to avoid an error.
12670 Use char because int might match the return type of a GCC
12671 builtin and then its argument prototype would still apply. */
12672 #ifdef __cplusplus
12673 extern "C"
12674 #endif
12675 char po_message_msgctxt ();
12677 main ()
12679 return po_message_msgctxt ();
12681 return 0;
12683 _ACEOF
12684 if ac_fn_c_try_link "$LINENO"; then :
12685 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12686 else
12687 ac_cv_lib_gettextpo_po_message_msgctxt=no
12689 rm -f core conftest.err conftest.$ac_objext \
12690 conftest$ac_exeext conftest.$ac_ext
12691 LIBS=$ac_check_lib_save_LIBS
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12694 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12695 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12697 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12699 GETTEXTPO_LIBS="-lgettextpo"
12704 if test "x$GETTEXTPO_LIBS" = "x"; then :
12705 case "x$with_gettextpo" in
12706 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12707 xno) ;;
12708 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12709 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12710 esac
12713 if test "$srcdir" != .; then :
12714 case "x$with_gettextpo" in
12715 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12716 xno) ;;
12717 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12718 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12719 esac
12724 if test "x$with_pulse" != "xno";
12725 then
12726 if ${PULSE_CFLAGS:+false} :; then :
12727 if ${PKG_CONFIG+:} false; then :
12728 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12732 if ${PULSE_LIBS:+false} :; then :
12733 if ${PKG_CONFIG+:} false; then :
12734 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12739 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12740 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12741 ac_save_CPPFLAGS=$CPPFLAGS
12742 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12743 for ac_header in pulse/pulseaudio.h
12744 do :
12745 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12746 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12747 cat >>confdefs.h <<_ACEOF
12748 #define HAVE_PULSE_PULSEAUDIO_H 1
12749 _ACEOF
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12751 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12752 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12753 $as_echo_n "(cached) " >&6
12754 else
12755 ac_check_lib_save_LIBS=$LIBS
12756 LIBS="-lpulse $PULSE_LIBS $LIBS"
12757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12758 /* end confdefs.h. */
12760 /* Override any GCC internal prototype to avoid an error.
12761 Use char because int might match the return type of a GCC
12762 builtin and then its argument prototype would still apply. */
12763 #ifdef __cplusplus
12764 extern "C"
12765 #endif
12766 char pa_stream_is_corked ();
12768 main ()
12770 return pa_stream_is_corked ();
12772 return 0;
12774 _ACEOF
12775 if ac_fn_c_try_link "$LINENO"; then :
12776 ac_cv_lib_pulse_pa_stream_is_corked=yes
12777 else
12778 ac_cv_lib_pulse_pa_stream_is_corked=no
12780 rm -f core conftest.err conftest.$ac_objext \
12781 conftest$ac_exeext conftest.$ac_ext
12782 LIBS=$ac_check_lib_save_LIBS
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12785 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12786 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12788 else
12789 PULSE_LIBS=""
12792 else
12793 PULSE_LIBS=""
12796 done
12798 CPPFLAGS=$ac_save_CPPFLAGS
12799 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12800 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12803 if test -z "$PULSE_LIBS"; then :
12804 case "x$with_pulse" in
12805 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12806 xno) ;;
12807 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12808 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12809 esac
12810 enable_winepulse_drv=${enable_winepulse_drv:-no}
12813 if test "x$with_gstreamer" != "xno"
12814 then
12815 if ${GSTREAMER_CFLAGS:+false} :; then :
12816 if ${PKG_CONFIG+:} false; then :
12817 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12821 if ${GSTREAMER_LIBS:+false} :; then :
12822 if ${PKG_CONFIG+:} false; then :
12823 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12828 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12829 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12830 ac_save_CPPFLAGS=$CPPFLAGS
12831 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12832 ac_gst_incl=""
12833 for i in $GSTREAMER_CFLAGS
12835 case "$i" in
12836 -I*) ac_gst_incl="$ac_gst_incl $i";;
12837 esac
12838 done
12839 GSTREAMER_CFLAGS=$ac_gst_incl
12840 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12841 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12842 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12844 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12847 #include <gst/gst.h>
12849 main ()
12851 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12853 return 0;
12855 _ACEOF
12856 if ac_fn_c_try_compile "$LINENO"; then :
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12858 $as_echo "yes" >&6; }
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12860 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12861 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12862 $as_echo_n "(cached) " >&6
12863 else
12864 ac_check_lib_save_LIBS=$LIBS
12865 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12872 #ifdef __cplusplus
12873 extern "C"
12874 #endif
12875 char gst_pad_new ();
12877 main ()
12879 return gst_pad_new ();
12881 return 0;
12883 _ACEOF
12884 if ac_fn_c_try_link "$LINENO"; then :
12885 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12886 else
12887 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12889 rm -f core conftest.err conftest.$ac_objext \
12890 conftest$ac_exeext conftest.$ac_ext
12891 LIBS=$ac_check_lib_save_LIBS
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12894 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12895 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12899 else
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12901 $as_echo "no" >&6; }
12902 ac_glib2_broken=yes
12903 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12909 CPPFLAGS=$ac_save_CPPFLAGS
12910 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12911 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12914 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 :
12915 case "x$with_gstreamer" in
12916 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12917 xno) ;;
12918 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12919 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12920 esac
12923 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12925 ALSA_LIBS=""
12927 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12928 then
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12930 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12931 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12932 $as_echo_n "(cached) " >&6
12933 else
12934 ac_check_lib_save_LIBS=$LIBS
12935 LIBS="-lasound $LIBS"
12936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12937 /* end confdefs.h. */
12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
12942 #ifdef __cplusplus
12943 extern "C"
12944 #endif
12945 char snd_pcm_hw_params_get_access_mask ();
12947 main ()
12949 return snd_pcm_hw_params_get_access_mask ();
12951 return 0;
12953 _ACEOF
12954 if ac_fn_c_try_link "$LINENO"; then :
12955 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12956 else
12957 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12959 rm -f core conftest.err conftest.$ac_objext \
12960 conftest$ac_exeext conftest.$ac_ext
12961 LIBS=$ac_check_lib_save_LIBS
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12964 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12965 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967 /* end confdefs.h. */
12968 #ifdef HAVE_ALSA_ASOUNDLIB_H
12969 #include <alsa/asoundlib.h>
12970 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12971 #include <sys/asoundlib.h>
12972 #endif
12974 main ()
12976 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12978 return 0;
12980 _ACEOF
12981 if ac_fn_c_try_compile "$LINENO"; then :
12982 ALSA_LIBS="-lasound"
12984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12988 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12990 if test "x$with_oss" != xno
12991 then
12992 ac_save_CPPFLAGS="$CPPFLAGS"
12993 if test -f /etc/oss.conf
12994 then
12995 . /etc/oss.conf
12997 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12998 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12999 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13000 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13001 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13003 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13005 cat >>confdefs.h <<_ACEOF
13006 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13007 _ACEOF
13009 OSS4_CFLAGS="$ac_oss_incl"
13016 CPPFLAGS="$ac_save_CPPFLAGS"
13018 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13019 case "x$with_oss" in
13020 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13021 xno) ;;
13022 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13023 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13024 esac
13025 enable_wineoss_drv=${enable_wineoss_drv:-no}
13028 if test "x$with_udev" != "xno"
13029 then
13030 if ${UDEV_CFLAGS:+false} :; then :
13031 if ${PKG_CONFIG+:} false; then :
13032 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13036 if ${UDEV_LIBS:+false} :; then :
13037 if ${PKG_CONFIG+:} false; then :
13038 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13042 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13043 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13044 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13045 ac_save_CPPFLAGS=$CPPFLAGS
13046 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13047 for ac_header in libudev.h
13048 do :
13049 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13050 if test "x$ac_cv_header_libudev_h" = xyes; then :
13051 cat >>confdefs.h <<_ACEOF
13052 #define HAVE_LIBUDEV_H 1
13053 _ACEOF
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13055 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13056 if ${ac_cv_lib_udev_udev_new+:} false; then :
13057 $as_echo_n "(cached) " >&6
13058 else
13059 ac_check_lib_save_LIBS=$LIBS
13060 LIBS="-ludev $UDEV_LIBS $LIBS"
13061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13064 /* Override any GCC internal prototype to avoid an error.
13065 Use char because int might match the return type of a GCC
13066 builtin and then its argument prototype would still apply. */
13067 #ifdef __cplusplus
13068 extern "C"
13069 #endif
13070 char udev_new ();
13072 main ()
13074 return udev_new ();
13076 return 0;
13078 _ACEOF
13079 if ac_fn_c_try_link "$LINENO"; then :
13080 ac_cv_lib_udev_udev_new=yes
13081 else
13082 ac_cv_lib_udev_udev_new=no
13084 rm -f core conftest.err conftest.$ac_objext \
13085 conftest$ac_exeext conftest.$ac_ext
13086 LIBS=$ac_check_lib_save_LIBS
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13089 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13090 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13092 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13094 else
13095 UDEV_LIBS=""
13098 else
13099 UDEV_LIBS=""
13102 done
13104 CPPFLAGS=$ac_save_CPPFLAGS
13105 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13106 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13109 if test "x$UDEV_LIBS" = "x"; then :
13110 case "x$with_udev" in
13111 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13112 xno) ;;
13113 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13114 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13115 esac
13119 if test "x$with_sdl" != "xno"
13120 then
13121 if ${SDL2_CFLAGS:+false} :; then :
13122 if ${PKG_CONFIG+:} false; then :
13123 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13127 if ${SDL2_LIBS:+false} :; then :
13128 if ${PKG_CONFIG+:} false; then :
13129 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13133 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13134 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13135 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13136 ac_save_CPPFLAGS=$CPPFLAGS
13137 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13138 for ac_header in SDL2/SDL.h
13139 do :
13140 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13141 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13142 cat >>confdefs.h <<_ACEOF
13143 #define HAVE_SDL2_SDL_H 1
13144 _ACEOF
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13146 $as_echo_n "checking for -lSDL2... " >&6; }
13147 if ${ac_cv_lib_soname_SDL2+:} false; then :
13148 $as_echo_n "(cached) " >&6
13149 else
13150 ac_check_soname_save_LIBS=$LIBS
13151 LIBS="-lSDL2 $LIBS"
13152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13153 /* end confdefs.h. */
13155 /* Override any GCC internal prototype to avoid an error.
13156 Use char because int might match the return type of a GCC
13157 builtin and then its argument prototype would still apply. */
13158 #ifdef __cplusplus
13159 extern "C"
13160 #endif
13161 char SDL_Init ();
13163 main ()
13165 return SDL_Init ();
13167 return 0;
13169 _ACEOF
13170 if ac_fn_c_try_link "$LINENO"; then :
13171 case "$LIBEXT" in
13172 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13173 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'` ;;
13174 *) 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'`
13175 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13176 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13177 fi ;;
13178 esac
13180 rm -f core conftest.err conftest.$ac_objext \
13181 conftest$ac_exeext conftest.$ac_ext
13182 LIBS=$ac_check_soname_save_LIBS
13184 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13186 $as_echo "not found" >&6; }
13188 else
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13190 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13192 cat >>confdefs.h <<_ACEOF
13193 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13194 _ACEOF
13200 done
13202 CPPFLAGS=$ac_save_CPPFLAGS
13203 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13204 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13207 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13208 case "x$with_sdl" in
13209 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13210 xno) ;;
13211 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13212 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13213 esac
13217 if test "x$with_capi" != "xno"
13218 then
13219 if ${CAPI20_CFLAGS:+false} :; then :
13220 if ${PKG_CONFIG+:} false; then :
13221 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13225 if ${CAPI20_LIBS:+false} :; then :
13226 if ${PKG_CONFIG+:} false; then :
13227 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13232 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13233 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13234 ac_save_CPPFLAGS=$CPPFLAGS
13235 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13236 for ac_header in capi20.h linux/capi.h
13237 do :
13238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13239 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13241 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13242 cat >>confdefs.h <<_ACEOF
13243 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13244 _ACEOF
13248 done
13250 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13251 then
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13253 $as_echo_n "checking for -lcapi20... " >&6; }
13254 if ${ac_cv_lib_soname_capi20+:} false; then :
13255 $as_echo_n "(cached) " >&6
13256 else
13257 ac_check_soname_save_LIBS=$LIBS
13258 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13262 /* Override any GCC internal prototype to avoid an error.
13263 Use char because int might match the return type of a GCC
13264 builtin and then its argument prototype would still apply. */
13265 #ifdef __cplusplus
13266 extern "C"
13267 #endif
13268 char capi20_register ();
13270 main ()
13272 return capi20_register ();
13274 return 0;
13276 _ACEOF
13277 if ac_fn_c_try_link "$LINENO"; then :
13278 case "$LIBEXT" in
13279 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13280 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'` ;;
13281 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13282 if ${ac_cv_lib_soname_capi20:+false} :; then :
13283 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13284 fi ;;
13285 esac
13287 rm -f core conftest.err conftest.$ac_objext \
13288 conftest$ac_exeext conftest.$ac_ext
13289 LIBS=$ac_check_soname_save_LIBS
13291 if ${ac_cv_lib_soname_capi20:+false} :; then :
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13293 $as_echo "not found" >&6; }
13295 else
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13297 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13299 cat >>confdefs.h <<_ACEOF
13300 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13301 _ACEOF
13306 CPPFLAGS=$ac_save_CPPFLAGS
13307 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13308 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13311 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13312 case "x$with_capi" in
13313 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13314 xno) ;;
13315 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13316 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13317 esac
13321 if test "x$with_cups" != "xno"
13322 then
13323 if ${CUPS_CFLAGS:+false} :; then :
13324 if ${PKG_CONFIG+:} false; then :
13325 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13328 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13329 if ${CUPS_LIBS:+false} :; then :
13330 if ${PKG_CONFIG+:} false; then :
13331 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13334 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13335 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13336 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13337 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13338 ac_save_CPPFLAGS=$CPPFLAGS
13339 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13340 for ac_header in cups/cups.h cups/ppd.h
13341 do :
13342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13343 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13344 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13345 cat >>confdefs.h <<_ACEOF
13346 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13347 _ACEOF
13351 done
13353 if test "$ac_cv_header_cups_cups_h" = "yes"
13354 then
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13356 $as_echo_n "checking for -lcups... " >&6; }
13357 if ${ac_cv_lib_soname_cups+:} false; then :
13358 $as_echo_n "(cached) " >&6
13359 else
13360 ac_check_soname_save_LIBS=$LIBS
13361 LIBS="-lcups $CUPS_LIBS $LIBS"
13362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13363 /* end confdefs.h. */
13365 /* Override any GCC internal prototype to avoid an error.
13366 Use char because int might match the return type of a GCC
13367 builtin and then its argument prototype would still apply. */
13368 #ifdef __cplusplus
13369 extern "C"
13370 #endif
13371 char cupsGetDefault ();
13373 main ()
13375 return cupsGetDefault ();
13377 return 0;
13379 _ACEOF
13380 if ac_fn_c_try_link "$LINENO"; then :
13381 case "$LIBEXT" in
13382 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13383 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'` ;;
13384 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13385 if ${ac_cv_lib_soname_cups:+false} :; then :
13386 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13387 fi ;;
13388 esac
13390 rm -f core conftest.err conftest.$ac_objext \
13391 conftest$ac_exeext conftest.$ac_ext
13392 LIBS=$ac_check_soname_save_LIBS
13394 if ${ac_cv_lib_soname_cups:+false} :; then :
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13396 $as_echo "not found" >&6; }
13397 CUPS_LIBS=""
13398 else
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13400 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13402 cat >>confdefs.h <<_ACEOF
13403 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13404 _ACEOF
13408 else
13409 CUPS_CFLAGS=""
13410 CUPS_LIBS=""
13412 CPPFLAGS=$ac_save_CPPFLAGS
13413 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13414 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13417 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13418 case "x$with_cups" in
13419 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13420 xno) ;;
13421 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13422 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13423 esac
13427 if test "x$with_fontconfig" != "xno"
13428 then
13429 if ${FONTCONFIG_CFLAGS:+false} :; then :
13430 if ${PKG_CONFIG+:} false; then :
13431 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13434 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13435 if ${FONTCONFIG_LIBS:+false} :; then :
13436 if ${PKG_CONFIG+:} false; then :
13437 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13440 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13442 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13443 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13444 ac_save_CPPFLAGS=$CPPFLAGS
13445 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13446 for ac_header in fontconfig/fontconfig.h
13447 do :
13448 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13449 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13450 cat >>confdefs.h <<_ACEOF
13451 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13452 _ACEOF
13456 done
13458 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13459 then
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13461 $as_echo_n "checking for -lfontconfig... " >&6; }
13462 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13463 $as_echo_n "(cached) " >&6
13464 else
13465 ac_check_soname_save_LIBS=$LIBS
13466 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13468 /* end confdefs.h. */
13470 /* Override any GCC internal prototype to avoid an error.
13471 Use char because int might match the return type of a GCC
13472 builtin and then its argument prototype would still apply. */
13473 #ifdef __cplusplus
13474 extern "C"
13475 #endif
13476 char FcInit ();
13478 main ()
13480 return FcInit ();
13482 return 0;
13484 _ACEOF
13485 if ac_fn_c_try_link "$LINENO"; then :
13486 case "$LIBEXT" in
13487 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13488 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'` ;;
13489 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13490 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13491 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13492 fi ;;
13493 esac
13495 rm -f core conftest.err conftest.$ac_objext \
13496 conftest$ac_exeext conftest.$ac_ext
13497 LIBS=$ac_check_soname_save_LIBS
13499 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13501 $as_echo "not found" >&6; }
13502 FONTCONFIG_CFLAGS=""
13503 else
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13505 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13507 cat >>confdefs.h <<_ACEOF
13508 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13509 _ACEOF
13513 else
13514 FONTCONFIG_CFLAGS=""
13516 CPPFLAGS=$ac_save_CPPFLAGS
13517 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13518 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13521 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13522 case "x$with_fontconfig" in
13523 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13524 xno) ;;
13525 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13526 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13527 esac
13531 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13532 then
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13534 $as_echo_n "checking for -lgsm... " >&6; }
13535 if ${ac_cv_lib_soname_gsm+:} false; then :
13536 $as_echo_n "(cached) " >&6
13537 else
13538 ac_check_soname_save_LIBS=$LIBS
13539 LIBS="-lgsm $LIBS"
13540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13541 /* end confdefs.h. */
13543 /* Override any GCC internal prototype to avoid an error.
13544 Use char because int might match the return type of a GCC
13545 builtin and then its argument prototype would still apply. */
13546 #ifdef __cplusplus
13547 extern "C"
13548 #endif
13549 char gsm_create ();
13551 main ()
13553 return gsm_create ();
13555 return 0;
13557 _ACEOF
13558 if ac_fn_c_try_link "$LINENO"; then :
13559 case "$LIBEXT" in
13560 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13561 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'` ;;
13562 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13563 if ${ac_cv_lib_soname_gsm:+false} :; then :
13564 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13565 fi ;;
13566 esac
13568 rm -f core conftest.err conftest.$ac_objext \
13569 conftest$ac_exeext conftest.$ac_ext
13570 LIBS=$ac_check_soname_save_LIBS
13572 if ${ac_cv_lib_soname_gsm:+false} :; then :
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13574 $as_echo "not found" >&6; }
13576 else
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13578 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13580 cat >>confdefs.h <<_ACEOF
13581 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13582 _ACEOF
13587 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13588 case "x$with_gsm" in
13589 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13590 xno) ;;
13591 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13592 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13593 esac
13597 if test "x$with_krb5" != "xno"
13598 then
13599 if ${KRB5_CFLAGS:+false} :; then :
13600 if ${PKG_CONFIG+:} false; then :
13601 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13604 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13605 if ${KRB5_LIBS:+false} :; then :
13606 if ${PKG_CONFIG+:} false; then :
13607 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13610 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13612 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13613 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13614 ac_save_CPPFLAGS=$CPPFLAGS
13615 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13616 for ac_header in krb5/krb5.h
13617 do :
13618 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13619 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13620 cat >>confdefs.h <<_ACEOF
13621 #define HAVE_KRB5_KRB5_H 1
13622 _ACEOF
13626 done
13628 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13629 then
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13631 $as_echo_n "checking for -lkrb5... " >&6; }
13632 if ${ac_cv_lib_soname_krb5+:} false; then :
13633 $as_echo_n "(cached) " >&6
13634 else
13635 ac_check_soname_save_LIBS=$LIBS
13636 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13638 /* end confdefs.h. */
13640 /* Override any GCC internal prototype to avoid an error.
13641 Use char because int might match the return type of a GCC
13642 builtin and then its argument prototype would still apply. */
13643 #ifdef __cplusplus
13644 extern "C"
13645 #endif
13646 char krb5_is_config_principal ();
13648 main ()
13650 return krb5_is_config_principal ();
13652 return 0;
13654 _ACEOF
13655 if ac_fn_c_try_link "$LINENO"; then :
13656 case "$LIBEXT" in
13657 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13658 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'` ;;
13659 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13660 if ${ac_cv_lib_soname_krb5:+false} :; then :
13661 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13662 fi ;;
13663 esac
13665 rm -f core conftest.err conftest.$ac_objext \
13666 conftest$ac_exeext conftest.$ac_ext
13667 LIBS=$ac_check_soname_save_LIBS
13669 if ${ac_cv_lib_soname_krb5:+false} :; then :
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13671 $as_echo "not found" >&6; }
13672 KRB5_CFLAGS=""
13673 else
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13675 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13677 cat >>confdefs.h <<_ACEOF
13678 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13679 _ACEOF
13683 else
13684 KRB5_CFLAGS=""
13686 CPPFLAGS=$ac_save_CPPFLAGS
13687 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13688 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13690 else
13691 with_gssapi=${with_gssapi:-no}
13693 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13694 case "x$with_krb5" in
13695 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
13696 xno) ;;
13697 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
13698 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13699 esac
13703 if test "x$with_gssapi" != "xno"
13704 then
13705 if ${GSSAPI_CFLAGS:+false} :; then :
13706 if ${PKG_CONFIG+:} false; then :
13707 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13710 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13711 if ${GSSAPI_LIBS:+false} :; then :
13712 if ${PKG_CONFIG+:} false; then :
13713 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13716 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13718 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13719 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13720 ac_save_CPPFLAGS=$CPPFLAGS
13721 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13722 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13723 do :
13724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13725 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13726 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13727 cat >>confdefs.h <<_ACEOF
13728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13729 _ACEOF
13733 done
13735 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13736 then
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13738 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13739 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13740 $as_echo_n "(cached) " >&6
13741 else
13742 ac_check_soname_save_LIBS=$LIBS
13743 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13747 /* Override any GCC internal prototype to avoid an error.
13748 Use char because int might match the return type of a GCC
13749 builtin and then its argument prototype would still apply. */
13750 #ifdef __cplusplus
13751 extern "C"
13752 #endif
13753 char gss_init_sec_context ();
13755 main ()
13757 return gss_init_sec_context ();
13759 return 0;
13761 _ACEOF
13762 if ac_fn_c_try_link "$LINENO"; then :
13763 case "$LIBEXT" in
13764 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13765 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'` ;;
13766 *) 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'`
13767 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13768 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13769 fi ;;
13770 esac
13772 rm -f core conftest.err conftest.$ac_objext \
13773 conftest$ac_exeext conftest.$ac_ext
13774 LIBS=$ac_check_soname_save_LIBS
13776 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13778 $as_echo "not found" >&6; }
13779 GSSAPI_CFLAGS=""
13780 else
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13782 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13784 cat >>confdefs.h <<_ACEOF
13785 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13786 _ACEOF
13790 else
13791 GSSAPI_CFLAGS=""
13793 CPPFLAGS=$ac_save_CPPFLAGS
13794 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13795 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13798 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13799 case "x$with_gssapi" in
13800 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13801 xno) ;;
13802 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13803 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13804 esac
13808 if test "x$with_jpeg" != "xno"
13809 then
13810 if ${JPEG_CFLAGS:+false} :; then :
13811 if ${PKG_CONFIG+:} false; then :
13812 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13816 if ${JPEG_LIBS:+false} :; then :
13817 if ${PKG_CONFIG+:} false; then :
13818 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13823 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13824 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13825 ac_save_CPPFLAGS=$CPPFLAGS
13826 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13827 for ac_header in jpeglib.h
13828 do :
13829 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13830 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13831 cat >>confdefs.h <<_ACEOF
13832 #define HAVE_JPEGLIB_H 1
13833 _ACEOF
13837 done
13839 if test "$ac_cv_header_jpeglib_h" = "yes"
13840 then
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13842 $as_echo_n "checking for -ljpeg... " >&6; }
13843 if ${ac_cv_lib_soname_jpeg+:} false; then :
13844 $as_echo_n "(cached) " >&6
13845 else
13846 ac_check_soname_save_LIBS=$LIBS
13847 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13849 /* end confdefs.h. */
13851 /* Override any GCC internal prototype to avoid an error.
13852 Use char because int might match the return type of a GCC
13853 builtin and then its argument prototype would still apply. */
13854 #ifdef __cplusplus
13855 extern "C"
13856 #endif
13857 char jpeg_start_decompress ();
13859 main ()
13861 return jpeg_start_decompress ();
13863 return 0;
13865 _ACEOF
13866 if ac_fn_c_try_link "$LINENO"; then :
13867 case "$LIBEXT" in
13868 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13869 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'` ;;
13870 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13871 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13872 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13873 fi ;;
13874 esac
13876 rm -f core conftest.err conftest.$ac_objext \
13877 conftest$ac_exeext conftest.$ac_ext
13878 LIBS=$ac_check_soname_save_LIBS
13880 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13882 $as_echo "not found" >&6; }
13883 JPEG_CFLAGS=""
13884 else
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13886 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13888 cat >>confdefs.h <<_ACEOF
13889 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13890 _ACEOF
13894 else
13895 JPEG_CFLAGS=""
13897 CPPFLAGS=$ac_save_CPPFLAGS
13898 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13899 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13902 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13903 case "x$with_jpeg" in
13904 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13905 xno) ;;
13906 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13907 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13908 esac
13912 if test "x$with_png" != "xno"
13913 then
13914 if ${PNG_CFLAGS:+false} :; then :
13915 if ${PKG_CONFIG+:} false; then :
13916 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13919 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13920 if ${PNG_LIBS:+false} :; then :
13921 if ${PKG_CONFIG+:} false; then :
13922 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13925 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13927 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13928 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13929 ac_save_CPPFLAGS=$CPPFLAGS
13930 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13931 for ac_header in png.h
13932 do :
13933 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13934 if test "x$ac_cv_header_png_h" = xyes; then :
13935 cat >>confdefs.h <<_ACEOF
13936 #define HAVE_PNG_H 1
13937 _ACEOF
13941 done
13943 if test "$ac_cv_header_png_h" = "yes"
13944 then
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13946 $as_echo_n "checking for -lpng... " >&6; }
13947 if ${ac_cv_lib_soname_png+:} false; then :
13948 $as_echo_n "(cached) " >&6
13949 else
13950 ac_check_soname_save_LIBS=$LIBS
13951 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13955 /* Override any GCC internal prototype to avoid an error.
13956 Use char because int might match the return type of a GCC
13957 builtin and then its argument prototype would still apply. */
13958 #ifdef __cplusplus
13959 extern "C"
13960 #endif
13961 char png_create_read_struct ();
13963 main ()
13965 return png_create_read_struct ();
13967 return 0;
13969 _ACEOF
13970 if ac_fn_c_try_link "$LINENO"; then :
13971 case "$LIBEXT" in
13972 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13973 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'` ;;
13974 *) 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'`
13975 if ${ac_cv_lib_soname_png:+false} :; then :
13976 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13977 fi ;;
13978 esac
13980 rm -f core conftest.err conftest.$ac_objext \
13981 conftest$ac_exeext conftest.$ac_ext
13982 LIBS=$ac_check_soname_save_LIBS
13984 if ${ac_cv_lib_soname_png:+false} :; then :
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13986 $as_echo "not found" >&6; }
13987 PNG_CFLAGS=""
13988 else
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13990 $as_echo "$ac_cv_lib_soname_png" >&6; }
13992 cat >>confdefs.h <<_ACEOF
13993 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13994 _ACEOF
13998 else
13999 PNG_CFLAGS=""
14001 CPPFLAGS=$ac_save_CPPFLAGS
14002 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14003 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14006 if test "x$ac_cv_lib_soname_png" = "x"; then :
14007 case "x$with_png" in
14008 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14009 xno) ;;
14010 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14011 This is an error since --with-png was requested." "$LINENO" 5 ;;
14012 esac
14016 if test "x$with_tiff" != "xno"
14017 then
14018 if ${TIFF_CFLAGS:+false} :; then :
14019 if ${PKG_CONFIG+:} false; then :
14020 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14024 if ${TIFF_LIBS:+false} :; then :
14025 if ${PKG_CONFIG+:} false; then :
14026 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14031 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14032 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14033 ac_save_CPPFLAGS=$CPPFLAGS
14034 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14035 for ac_header in tiffio.h
14036 do :
14037 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14038 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14039 cat >>confdefs.h <<_ACEOF
14040 #define HAVE_TIFFIO_H 1
14041 _ACEOF
14045 done
14047 if test "$ac_cv_header_tiffio_h" = "yes"
14048 then
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14050 $as_echo_n "checking for -ltiff... " >&6; }
14051 if ${ac_cv_lib_soname_tiff+:} false; then :
14052 $as_echo_n "(cached) " >&6
14053 else
14054 ac_check_soname_save_LIBS=$LIBS
14055 LIBS="-ltiff $TIFF_LIBS $LIBS"
14056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14059 /* Override any GCC internal prototype to avoid an error.
14060 Use char because int might match the return type of a GCC
14061 builtin and then its argument prototype would still apply. */
14062 #ifdef __cplusplus
14063 extern "C"
14064 #endif
14065 char TIFFClientOpen ();
14067 main ()
14069 return TIFFClientOpen ();
14071 return 0;
14073 _ACEOF
14074 if ac_fn_c_try_link "$LINENO"; then :
14075 case "$LIBEXT" in
14076 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14077 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'` ;;
14078 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14079 if ${ac_cv_lib_soname_tiff:+false} :; then :
14080 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14081 fi ;;
14082 esac
14084 rm -f core conftest.err conftest.$ac_objext \
14085 conftest$ac_exeext conftest.$ac_ext
14086 LIBS=$ac_check_soname_save_LIBS
14088 if ${ac_cv_lib_soname_tiff:+false} :; then :
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14090 $as_echo "not found" >&6; }
14092 else
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14094 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14096 cat >>confdefs.h <<_ACEOF
14097 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14098 _ACEOF
14103 CPPFLAGS=$ac_save_CPPFLAGS
14104 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14105 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14108 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14109 case "x$with_tiff" in
14110 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14111 xno) ;;
14112 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14113 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14114 esac
14118 if test "x$with_mpg123" != "xno"
14119 then
14120 if ${MPG123_CFLAGS:+false} :; then :
14121 if ${PKG_CONFIG+:} false; then :
14122 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14126 if ${MPG123_LIBS:+false} :; then :
14127 if ${PKG_CONFIG+:} false; then :
14128 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14132 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14133 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14134 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14135 ac_save_CPPFLAGS=$CPPFLAGS
14136 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14137 for ac_header in mpg123.h
14138 do :
14139 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14140 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14141 cat >>confdefs.h <<_ACEOF
14142 #define HAVE_MPG123_H 1
14143 _ACEOF
14147 done
14149 if test "$ac_cv_header_mpg123_h" = "yes"
14150 then
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14152 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14153 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14154 $as_echo_n "(cached) " >&6
14155 else
14156 ac_check_lib_save_LIBS=$LIBS
14157 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14161 /* Override any GCC internal prototype to avoid an error.
14162 Use char because int might match the return type of a GCC
14163 builtin and then its argument prototype would still apply. */
14164 #ifdef __cplusplus
14165 extern "C"
14166 #endif
14167 char mpg123_feed ();
14169 main ()
14171 return mpg123_feed ();
14173 return 0;
14175 _ACEOF
14176 if ac_fn_c_try_link "$LINENO"; then :
14177 ac_cv_lib_mpg123_mpg123_feed=yes
14178 else
14179 ac_cv_lib_mpg123_mpg123_feed=no
14181 rm -f core conftest.err conftest.$ac_objext \
14182 conftest$ac_exeext conftest.$ac_ext
14183 LIBS=$ac_check_lib_save_LIBS
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14186 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14187 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14189 else
14190 MPG123_LIBS=""
14193 else
14194 MPG123_CFLAGS=""
14195 MPG123_LIBS=""
14197 CPPFLAGS=$ac_save_CPPFLAGS
14198 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14199 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14202 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14203 case "x$with_mpg123" in
14204 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14205 xno) ;;
14206 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14207 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14208 esac
14209 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14212 if test "$ac_cv_header_AL_al_h" = "yes"
14213 then
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14215 $as_echo_n "checking for -lopenal... " >&6; }
14216 if ${ac_cv_lib_soname_openal+:} false; then :
14217 $as_echo_n "(cached) " >&6
14218 else
14219 ac_check_soname_save_LIBS=$LIBS
14220 LIBS="-lopenal $LIBS"
14221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14224 /* Override any GCC internal prototype to avoid an error.
14225 Use char because int might match the return type of a GCC
14226 builtin and then its argument prototype would still apply. */
14227 #ifdef __cplusplus
14228 extern "C"
14229 #endif
14230 char alGetSource3i ();
14232 main ()
14234 return alGetSource3i ();
14236 return 0;
14238 _ACEOF
14239 if ac_fn_c_try_link "$LINENO"; then :
14240 case "$LIBEXT" in
14241 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14242 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'` ;;
14243 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14244 if ${ac_cv_lib_soname_openal:+false} :; then :
14245 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14246 fi ;;
14247 esac
14249 rm -f core conftest.err conftest.$ac_objext \
14250 conftest$ac_exeext conftest.$ac_ext
14251 LIBS=$ac_check_soname_save_LIBS
14253 if ${ac_cv_lib_soname_openal:+false} :; then :
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14255 $as_echo "not found" >&6; }
14257 else
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14259 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14261 cat >>confdefs.h <<_ACEOF
14262 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14263 _ACEOF
14265 OPENAL_LIBS="-lopenal"
14267 ac_cv_lib_openal=yes
14269 cat >>confdefs.h <<_ACEOF
14270 #define HAVE_OPENAL 1
14271 _ACEOF
14275 if test "x$ac_cv_lib_openal" != xyes; then :
14276 case "x$with_openal" in
14277 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14278 xno) ;;
14279 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14280 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14281 esac
14282 enable_openal32=${enable_openal32:-no}
14285 if test "x$ac_cv_lib_openal" = xyes
14286 then
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14288 $as_echo_n "checking for openal-soft... " >&6; }
14289 if ${ac_cv_have_openalsoft+:} false; then :
14290 $as_echo_n "(cached) " >&6
14291 else
14292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14294 #include <AL/al.h>
14295 #include <AL/alc.h>
14296 #include <AL/alext.h>
14297 LPALCRENDERSAMPLESSOFT x;
14299 main ()
14303 return 0;
14305 _ACEOF
14306 if ac_fn_c_try_compile "$LINENO"; then :
14307 ac_cv_have_openalsoft=yes
14308 else
14309 ac_cv_have_openalsoft=no
14311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14314 $as_echo "$ac_cv_have_openalsoft" >&6; }
14316 if test "x$ac_cv_have_openalsoft" != xyes
14317 then
14318 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14319 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14320 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14321 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14322 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14323 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14324 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14325 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14326 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14327 enable_xapofx1_1=${enable_xapofx1_1:-no}
14328 enable_xapofx1_2=${enable_xapofx1_2:-no}
14329 enable_xapofx1_3=${enable_xapofx1_3:-no}
14330 enable_xapofx1_4=${enable_xapofx1_4:-no}
14331 enable_xapofx1_5=${enable_xapofx1_5:-no}
14332 enable_xaudio2_0=${enable_xaudio2_0:-no}
14333 enable_xaudio2_1=${enable_xaudio2_1:-no}
14334 enable_xaudio2_2=${enable_xaudio2_2:-no}
14335 enable_xaudio2_3=${enable_xaudio2_3:-no}
14336 enable_xaudio2_4=${enable_xaudio2_4:-no}
14337 enable_xaudio2_5=${enable_xaudio2_5:-no}
14338 enable_xaudio2_6=${enable_xaudio2_6:-no}
14339 enable_xaudio2_7=${enable_xaudio2_7:-no}
14340 enable_xaudio2_8=${enable_xaudio2_8:-no}
14341 enable_xaudio2_9=${enable_xaudio2_9:-no}
14344 if test "$ac_cv_header_kstat_h" = "yes"
14345 then
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14347 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14348 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14349 $as_echo_n "(cached) " >&6
14350 else
14351 ac_check_lib_save_LIBS=$LIBS
14352 LIBS="-lkstat $LIBS"
14353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14356 /* Override any GCC internal prototype to avoid an error.
14357 Use char because int might match the return type of a GCC
14358 builtin and then its argument prototype would still apply. */
14359 #ifdef __cplusplus
14360 extern "C"
14361 #endif
14362 char kstat_open ();
14364 main ()
14366 return kstat_open ();
14368 return 0;
14370 _ACEOF
14371 if ac_fn_c_try_link "$LINENO"; then :
14372 ac_cv_lib_kstat_kstat_open=yes
14373 else
14374 ac_cv_lib_kstat_kstat_open=no
14376 rm -f core conftest.err conftest.$ac_objext \
14377 conftest$ac_exeext conftest.$ac_ext
14378 LIBS=$ac_check_lib_save_LIBS
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14381 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14382 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14384 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14386 KSTAT_LIBS="-lkstat"
14392 if test "$ac_cv_header_libprocstat_h" = "yes"
14393 then
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14395 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14396 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14397 $as_echo_n "(cached) " >&6
14398 else
14399 ac_check_lib_save_LIBS=$LIBS
14400 LIBS="-lprocstat $LIBS"
14401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h. */
14404 /* Override any GCC internal prototype to avoid an error.
14405 Use char because int might match the return type of a GCC
14406 builtin and then its argument prototype would still apply. */
14407 #ifdef __cplusplus
14408 extern "C"
14409 #endif
14410 char procstat_open_sysctl ();
14412 main ()
14414 return procstat_open_sysctl ();
14416 return 0;
14418 _ACEOF
14419 if ac_fn_c_try_link "$LINENO"; then :
14420 ac_cv_lib_procstat_procstat_open_sysctl=yes
14421 else
14422 ac_cv_lib_procstat_procstat_open_sysctl=no
14424 rm -f core conftest.err conftest.$ac_objext \
14425 conftest$ac_exeext conftest.$ac_ext
14426 LIBS=$ac_check_lib_save_LIBS
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14429 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14430 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14432 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14434 PROCSTAT_LIBS="-lprocstat"
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14441 $as_echo_n "checking for -lodbc... " >&6; }
14442 if ${ac_cv_lib_soname_odbc+:} false; then :
14443 $as_echo_n "(cached) " >&6
14444 else
14445 ac_check_soname_save_LIBS=$LIBS
14446 LIBS="-lodbc $LIBS"
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14450 /* Override any GCC internal prototype to avoid an error.
14451 Use char because int might match the return type of a GCC
14452 builtin and then its argument prototype would still apply. */
14453 #ifdef __cplusplus
14454 extern "C"
14455 #endif
14456 char SQLConnect ();
14458 main ()
14460 return SQLConnect ();
14462 return 0;
14464 _ACEOF
14465 if ac_fn_c_try_link "$LINENO"; then :
14466 case "$LIBEXT" in
14467 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14468 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'` ;;
14469 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14470 if ${ac_cv_lib_soname_odbc:+false} :; then :
14471 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14472 fi ;;
14473 esac
14475 rm -f core conftest.err conftest.$ac_objext \
14476 conftest$ac_exeext conftest.$ac_ext
14477 LIBS=$ac_check_soname_save_LIBS
14479 if ${ac_cv_lib_soname_odbc:+false} :; then :
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14481 $as_echo "not found" >&6; }
14482 cat >>confdefs.h <<_ACEOF
14483 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14484 _ACEOF
14486 else
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14488 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14490 cat >>confdefs.h <<_ACEOF
14491 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14492 _ACEOF
14497 if test "x$with_netapi" != "xno"
14498 then
14499 if ${NETAPI_CFLAGS:+false} :; then :
14500 if ${PKG_CONFIG+:} false; then :
14501 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14505 if ${NETAPI_LIBS:+false} :; then :
14506 if ${PKG_CONFIG+:} false; then :
14507 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14512 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14513 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14514 ac_save_CPPFLAGS=$CPPFLAGS
14515 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14517 $as_echo_n "checking for -lnetapi... " >&6; }
14518 if ${ac_cv_lib_soname_netapi+:} false; then :
14519 $as_echo_n "(cached) " >&6
14520 else
14521 ac_check_soname_save_LIBS=$LIBS
14522 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14524 /* end confdefs.h. */
14526 /* Override any GCC internal prototype to avoid an error.
14527 Use char because int might match the return type of a GCC
14528 builtin and then its argument prototype would still apply. */
14529 #ifdef __cplusplus
14530 extern "C"
14531 #endif
14532 char libnetapi_init ();
14534 main ()
14536 return libnetapi_init ();
14538 return 0;
14540 _ACEOF
14541 if ac_fn_c_try_link "$LINENO"; then :
14542 case "$LIBEXT" in
14543 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14544 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'` ;;
14545 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14546 if ${ac_cv_lib_soname_netapi:+false} :; then :
14547 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14548 fi ;;
14549 esac
14551 rm -f core conftest.err conftest.$ac_objext \
14552 conftest$ac_exeext conftest.$ac_ext
14553 LIBS=$ac_check_soname_save_LIBS
14555 if ${ac_cv_lib_soname_netapi:+false} :; then :
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14557 $as_echo "not found" >&6; }
14558 cat >>confdefs.h <<_ACEOF
14559 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14560 _ACEOF
14562 else
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14564 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14566 cat >>confdefs.h <<_ACEOF
14567 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14568 _ACEOF
14572 CPPFLAGS=$ac_save_CPPFLAGS
14573 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14574 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14578 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14579 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14580 then
14581 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14584 if test "x$with_vulkan" != "xno"
14585 then
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14587 $as_echo_n "checking for -lvulkan... " >&6; }
14588 if ${ac_cv_lib_soname_vulkan+:} false; then :
14589 $as_echo_n "(cached) " >&6
14590 else
14591 ac_check_soname_save_LIBS=$LIBS
14592 LIBS="-lvulkan $LIBS"
14593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14594 /* end confdefs.h. */
14596 /* Override any GCC internal prototype to avoid an error.
14597 Use char because int might match the return type of a GCC
14598 builtin and then its argument prototype would still apply. */
14599 #ifdef __cplusplus
14600 extern "C"
14601 #endif
14602 char vkGetInstanceProcAddr ();
14604 main ()
14606 return vkGetInstanceProcAddr ();
14608 return 0;
14610 _ACEOF
14611 if ac_fn_c_try_link "$LINENO"; then :
14612 case "$LIBEXT" in
14613 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14614 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'` ;;
14615 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14616 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14617 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14618 fi ;;
14619 esac
14621 rm -f core conftest.err conftest.$ac_objext \
14622 conftest$ac_exeext conftest.$ac_ext
14623 LIBS=$ac_check_soname_save_LIBS
14625 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14627 $as_echo "not found" >&6; }
14629 else
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14631 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14633 cat >>confdefs.h <<_ACEOF
14634 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14635 _ACEOF
14640 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14641 case "x$with_vulkan" in
14642 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14643 xno) ;;
14644 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14645 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14646 esac
14651 EXTRACFLAGS=""
14653 if test "x${GCC}" = "xyes"
14654 then
14655 EXTRACFLAGS="-Wall -pipe"
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14658 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14659 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14660 $as_echo_n "(cached) " >&6
14661 else
14662 if test "$cross_compiling" = yes; then :
14663 ac_cv_c_gcc_strength_bug="no"
14664 else
14665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14667 int L[4] = {0,1,2,3};
14669 main ()
14671 static int Array[3];
14672 unsigned int B = 3;
14673 int i;
14674 for(i=0; i<B; i++) Array[i] = i - 3;
14675 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14676 L[i] = 4;
14677 return (Array[1] != -2 || L[2] != 3)
14679 return 0;
14681 _ACEOF
14682 if ac_fn_c_try_run "$LINENO"; then :
14683 ac_cv_c_gcc_strength_bug="no"
14684 else
14685 ac_cv_c_gcc_strength_bug="yes"
14687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14688 conftest.$ac_objext conftest.beam conftest.$ac_ext
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14693 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14694 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14695 then
14696 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14700 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14701 if ${ac_cv_cflags__fno_builtin+:} false; then :
14702 $as_echo_n "(cached) " >&6
14703 else
14704 ac_wine_try_cflags_saved=$CFLAGS
14705 CFLAGS="$CFLAGS -fno-builtin"
14706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14707 /* end confdefs.h. */
14708 int main(int argc, char **argv) { return 0; }
14709 _ACEOF
14710 if ac_fn_c_try_link "$LINENO"; then :
14711 ac_cv_cflags__fno_builtin=yes
14712 else
14713 ac_cv_cflags__fno_builtin=no
14715 rm -f core conftest.err conftest.$ac_objext \
14716 conftest$ac_exeext conftest.$ac_ext
14717 CFLAGS=$ac_wine_try_cflags_saved
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14720 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14721 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14722 BUILTINFLAG="-fno-builtin"
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14726 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14727 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14728 $as_echo_n "(cached) " >&6
14729 else
14730 ac_wine_try_cflags_saved=$CFLAGS
14731 CFLAGS="$CFLAGS -fno-strict-aliasing"
14732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14733 /* end confdefs.h. */
14734 int main(int argc, char **argv) { return 0; }
14735 _ACEOF
14736 if ac_fn_c_try_link "$LINENO"; then :
14737 ac_cv_cflags__fno_strict_aliasing=yes
14738 else
14739 ac_cv_cflags__fno_strict_aliasing=no
14741 rm -f core conftest.err conftest.$ac_objext \
14742 conftest$ac_exeext conftest.$ac_ext
14743 CFLAGS=$ac_wine_try_cflags_saved
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14746 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14747 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14748 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14751 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14752 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14753 $as_echo_n "(cached) " >&6
14754 else
14755 ac_wine_try_cflags_saved=$CFLAGS
14756 CFLAGS="$CFLAGS -fexcess-precision=standard"
14757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14759 int main(int argc, char **argv) { return 0; }
14760 _ACEOF
14761 if ac_fn_c_try_link "$LINENO"; then :
14762 ac_cv_cflags__fexcess_precision_standard=yes
14763 else
14764 ac_cv_cflags__fexcess_precision_standard=no
14766 rm -f core conftest.err conftest.$ac_objext \
14767 conftest$ac_exeext conftest.$ac_ext
14768 CFLAGS=$ac_wine_try_cflags_saved
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14771 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14772 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14773 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14776 saved_CFLAGS=$CFLAGS
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14778 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14779 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14780 $as_echo_n "(cached) " >&6
14781 else
14782 ac_wine_try_cflags_saved=$CFLAGS
14783 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14786 int main(int argc, char **argv) { return 0; }
14787 _ACEOF
14788 if ac_fn_c_try_link "$LINENO"; then :
14789 ac_cv_cflags__Werror_unknown_warning_option=yes
14790 else
14791 ac_cv_cflags__Werror_unknown_warning_option=no
14793 rm -f core conftest.err conftest.$ac_objext \
14794 conftest$ac_exeext conftest.$ac_ext
14795 CFLAGS=$ac_wine_try_cflags_saved
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14798 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14799 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14800 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14803 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14804 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14805 $as_echo_n "(cached) " >&6
14806 else
14807 ac_wine_try_cflags_saved=$CFLAGS
14808 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14811 int main(int argc, char **argv) { return 0; }
14812 _ACEOF
14813 if ac_fn_c_try_link "$LINENO"; then :
14814 ac_cv_cflags__Wdeclaration_after_statement=yes
14815 else
14816 ac_cv_cflags__Wdeclaration_after_statement=no
14818 rm -f core conftest.err conftest.$ac_objext \
14819 conftest$ac_exeext conftest.$ac_ext
14820 CFLAGS=$ac_wine_try_cflags_saved
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14823 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14824 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14825 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14828 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14829 if ${ac_cv_cflags__Wempty_body+:} false; then :
14830 $as_echo_n "(cached) " >&6
14831 else
14832 ac_wine_try_cflags_saved=$CFLAGS
14833 CFLAGS="$CFLAGS -Wempty-body"
14834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14835 /* end confdefs.h. */
14836 int main(int argc, char **argv) { return 0; }
14837 _ACEOF
14838 if ac_fn_c_try_link "$LINENO"; then :
14839 ac_cv_cflags__Wempty_body=yes
14840 else
14841 ac_cv_cflags__Wempty_body=no
14843 rm -f core conftest.err conftest.$ac_objext \
14844 conftest$ac_exeext conftest.$ac_ext
14845 CFLAGS=$ac_wine_try_cflags_saved
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14848 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14849 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14850 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14853 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14854 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14855 $as_echo_n "(cached) " >&6
14856 else
14857 ac_wine_try_cflags_saved=$CFLAGS
14858 CFLAGS="$CFLAGS -Wignored-qualifiers"
14859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14861 int main(int argc, char **argv) { return 0; }
14862 _ACEOF
14863 if ac_fn_c_try_link "$LINENO"; then :
14864 ac_cv_cflags__Wignored_qualifiers=yes
14865 else
14866 ac_cv_cflags__Wignored_qualifiers=no
14868 rm -f core conftest.err conftest.$ac_objext \
14869 conftest$ac_exeext conftest.$ac_ext
14870 CFLAGS=$ac_wine_try_cflags_saved
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14873 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14874 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14875 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14878 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14879 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14880 $as_echo_n "(cached) " >&6
14881 else
14882 ac_wine_try_cflags_saved=$CFLAGS
14883 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14886 int main(int argc, char **argv) { return 0; }
14887 _ACEOF
14888 if ac_fn_c_try_link "$LINENO"; then :
14889 ac_cv_cflags__Wpacked_not_aligned=yes
14890 else
14891 ac_cv_cflags__Wpacked_not_aligned=no
14893 rm -f core conftest.err conftest.$ac_objext \
14894 conftest$ac_exeext conftest.$ac_ext
14895 CFLAGS=$ac_wine_try_cflags_saved
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14898 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14899 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14900 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14903 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14904 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14905 $as_echo_n "(cached) " >&6
14906 else
14907 ac_wine_try_cflags_saved=$CFLAGS
14908 CFLAGS="$CFLAGS -Wpragma-pack"
14909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14911 int main(int argc, char **argv) { return 0; }
14912 _ACEOF
14913 if ac_fn_c_try_link "$LINENO"; then :
14914 ac_cv_cflags__Wpragma_pack=yes
14915 else
14916 ac_cv_cflags__Wpragma_pack=no
14918 rm -f core conftest.err conftest.$ac_objext \
14919 conftest$ac_exeext conftest.$ac_ext
14920 CFLAGS=$ac_wine_try_cflags_saved
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14923 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14924 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14925 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14928 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14929 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14930 $as_echo_n "(cached) " >&6
14931 else
14932 ac_wine_try_cflags_saved=$CFLAGS
14933 CFLAGS="$CFLAGS -Wshift-overflow=2"
14934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14935 /* end confdefs.h. */
14936 int main(int argc, char **argv) { return 0; }
14937 _ACEOF
14938 if ac_fn_c_try_link "$LINENO"; then :
14939 ac_cv_cflags__Wshift_overflow_2=yes
14940 else
14941 ac_cv_cflags__Wshift_overflow_2=no
14943 rm -f core conftest.err conftest.$ac_objext \
14944 conftest$ac_exeext conftest.$ac_ext
14945 CFLAGS=$ac_wine_try_cflags_saved
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14948 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14949 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14950 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14953 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14954 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14955 $as_echo_n "(cached) " >&6
14956 else
14957 ac_wine_try_cflags_saved=$CFLAGS
14958 CFLAGS="$CFLAGS -Wstrict-prototypes"
14959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14960 /* end confdefs.h. */
14961 int main(int argc, char **argv) { return 0; }
14962 _ACEOF
14963 if ac_fn_c_try_link "$LINENO"; then :
14964 ac_cv_cflags__Wstrict_prototypes=yes
14965 else
14966 ac_cv_cflags__Wstrict_prototypes=no
14968 rm -f core conftest.err conftest.$ac_objext \
14969 conftest$ac_exeext conftest.$ac_ext
14970 CFLAGS=$ac_wine_try_cflags_saved
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14973 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14974 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14975 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14978 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14979 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14980 $as_echo_n "(cached) " >&6
14981 else
14982 ac_wine_try_cflags_saved=$CFLAGS
14983 CFLAGS="$CFLAGS -Wtype-limits"
14984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14985 /* end confdefs.h. */
14986 int main(int argc, char **argv) { return 0; }
14987 _ACEOF
14988 if ac_fn_c_try_link "$LINENO"; then :
14989 ac_cv_cflags__Wtype_limits=yes
14990 else
14991 ac_cv_cflags__Wtype_limits=no
14993 rm -f core conftest.err conftest.$ac_objext \
14994 conftest$ac_exeext conftest.$ac_ext
14995 CFLAGS=$ac_wine_try_cflags_saved
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14998 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14999 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15000 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15003 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15004 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15005 $as_echo_n "(cached) " >&6
15006 else
15007 ac_wine_try_cflags_saved=$CFLAGS
15008 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15011 int main(int argc, char **argv) { return 0; }
15012 _ACEOF
15013 if ac_fn_c_try_link "$LINENO"; then :
15014 ac_cv_cflags__Wunused_but_set_parameter=yes
15015 else
15016 ac_cv_cflags__Wunused_but_set_parameter=no
15018 rm -f core conftest.err conftest.$ac_objext \
15019 conftest$ac_exeext conftest.$ac_ext
15020 CFLAGS=$ac_wine_try_cflags_saved
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15023 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15024 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15025 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15028 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15029 if ${ac_cv_cflags__Wvla+:} false; then :
15030 $as_echo_n "(cached) " >&6
15031 else
15032 ac_wine_try_cflags_saved=$CFLAGS
15033 CFLAGS="$CFLAGS -Wvla"
15034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15036 int main(int argc, char **argv) { return 0; }
15037 _ACEOF
15038 if ac_fn_c_try_link "$LINENO"; then :
15039 ac_cv_cflags__Wvla=yes
15040 else
15041 ac_cv_cflags__Wvla=no
15043 rm -f core conftest.err conftest.$ac_objext \
15044 conftest$ac_exeext conftest.$ac_ext
15045 CFLAGS=$ac_wine_try_cflags_saved
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15048 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15049 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15050 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15053 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15054 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15055 $as_echo_n "(cached) " >&6
15056 else
15057 ac_wine_try_cflags_saved=$CFLAGS
15058 CFLAGS="$CFLAGS -Wwrite-strings"
15059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15061 int main(int argc, char **argv) { return 0; }
15062 _ACEOF
15063 if ac_fn_c_try_link "$LINENO"; then :
15064 ac_cv_cflags__Wwrite_strings=yes
15065 else
15066 ac_cv_cflags__Wwrite_strings=no
15068 rm -f core conftest.err conftest.$ac_objext \
15069 conftest$ac_exeext conftest.$ac_ext
15070 CFLAGS=$ac_wine_try_cflags_saved
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15073 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15074 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15075 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15079 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15080 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15081 $as_echo_n "(cached) " >&6
15082 else
15083 ac_wine_try_cflags_saved=$CFLAGS
15084 CFLAGS="$CFLAGS -Wpointer-arith"
15085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15087 int main(int argc, char **argv) { return 0; }
15088 _ACEOF
15089 if ac_fn_c_try_link "$LINENO"; then :
15090 ac_cv_cflags__Wpointer_arith=yes
15091 else
15092 ac_cv_cflags__Wpointer_arith=no
15094 rm -f core conftest.err conftest.$ac_objext \
15095 conftest$ac_exeext conftest.$ac_ext
15096 CFLAGS=$ac_wine_try_cflags_saved
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15099 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15100 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15101 saved_string_h_CFLAGS=$CFLAGS
15102 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15104 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15105 if ${ac_cv_c_string_h_warnings+:} false; then :
15106 $as_echo_n "(cached) " >&6
15107 else
15108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h. */
15110 #include <string.h>
15112 main ()
15116 return 0;
15118 _ACEOF
15119 if ac_fn_c_try_compile "$LINENO"; then :
15120 ac_cv_c_string_h_warnings=no
15121 else
15122 ac_cv_c_string_h_warnings=yes
15124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15127 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15128 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15129 CFLAGS=$saved_string_h_CFLAGS
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15133 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15134 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15135 $as_echo_n "(cached) " >&6
15136 else
15137 ac_wine_try_cflags_saved=$CFLAGS
15138 CFLAGS="$CFLAGS -Wlogical-op"
15139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15141 int main(int argc, char **argv) { return 0; }
15142 _ACEOF
15143 if ac_fn_c_try_link "$LINENO"; then :
15144 ac_cv_cflags__Wlogical_op=yes
15145 else
15146 ac_cv_cflags__Wlogical_op=no
15148 rm -f core conftest.err conftest.$ac_objext \
15149 conftest$ac_exeext conftest.$ac_ext
15150 CFLAGS=$ac_wine_try_cflags_saved
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15153 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15154 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15155 saved_string_h_CFLAGS=$CFLAGS
15156 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15158 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15159 if ${ac_cv_c_logicalop_noisy+:} false; then :
15160 $as_echo_n "(cached) " >&6
15161 else
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15164 #include <string.h>
15165 char*f(const char *h,char n) {return strchr(h,n);}
15167 main ()
15171 return 0;
15173 _ACEOF
15174 if ac_fn_c_try_compile "$LINENO"; then :
15175 ac_cv_c_logicalop_noisy=no
15176 else
15177 ac_cv_c_logicalop_noisy=yes
15179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15182 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15183 CFLAGS=$saved_string_h_CFLAGS
15184 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15187 CFLAGS=$saved_CFLAGS
15189 for ac_flag in $CFLAGS; do
15190 case $ac_flag in
15191 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15192 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15193 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15194 $as_echo_n "(cached) " >&6
15195 else
15196 ac_wine_try_cflags_saved=$CFLAGS
15197 CFLAGS="$CFLAGS -gdwarf-2"
15198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15200 int main(int argc, char **argv) { return 0; }
15201 _ACEOF
15202 if ac_fn_c_try_link "$LINENO"; then :
15203 ac_cv_cflags__gdwarf_2=yes
15204 else
15205 ac_cv_cflags__gdwarf_2=no
15207 rm -f core conftest.err conftest.$ac_objext \
15208 conftest$ac_exeext conftest.$ac_ext
15209 CFLAGS=$ac_wine_try_cflags_saved
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15212 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15213 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15214 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15217 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15218 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15219 $as_echo_n "(cached) " >&6
15220 else
15221 ac_wine_try_cflags_saved=$CFLAGS
15222 CFLAGS="$CFLAGS -gstrict-dwarf"
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15225 int main(int argc, char **argv) { return 0; }
15226 _ACEOF
15227 if ac_fn_c_try_link "$LINENO"; then :
15228 ac_cv_cflags__gstrict_dwarf=yes
15229 else
15230 ac_cv_cflags__gstrict_dwarf=no
15232 rm -f core conftest.err conftest.$ac_objext \
15233 conftest$ac_exeext conftest.$ac_ext
15234 CFLAGS=$ac_wine_try_cflags_saved
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15237 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15238 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15239 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15240 fi ;;
15241 esac
15242 done
15244 case $host_cpu in
15245 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15246 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15247 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15248 $as_echo_n "(cached) " >&6
15249 else
15250 ac_wine_try_cflags_saved=$CFLAGS
15251 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15253 /* end confdefs.h. */
15254 int main(int argc, char **argv) { return 0; }
15255 _ACEOF
15256 if ac_fn_c_try_link "$LINENO"; then :
15257 ac_cv_cflags__fno_omit_frame_pointer=yes
15258 else
15259 ac_cv_cflags__fno_omit_frame_pointer=no
15261 rm -f core conftest.err conftest.$ac_objext \
15262 conftest$ac_exeext conftest.$ac_ext
15263 CFLAGS=$ac_wine_try_cflags_saved
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15266 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15267 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15268 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15269 fi ;;
15270 esac
15272 case $host in
15273 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15274 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15275 if ${ac_cv_cflags__Wno_format+:} false; then :
15276 $as_echo_n "(cached) " >&6
15277 else
15278 ac_wine_try_cflags_saved=$CFLAGS
15279 CFLAGS="$CFLAGS -Wno-format"
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15282 int main(int argc, char **argv) { return 0; }
15283 _ACEOF
15284 if ac_fn_c_try_link "$LINENO"; then :
15285 ac_cv_cflags__Wno_format=yes
15286 else
15287 ac_cv_cflags__Wno_format=no
15289 rm -f core conftest.err conftest.$ac_objext \
15290 conftest$ac_exeext conftest.$ac_ext
15291 CFLAGS=$ac_wine_try_cflags_saved
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15294 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15295 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15296 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15297 fi ;;
15298 esac
15300 if test "x$enable_maintainer_mode" = "xyes"
15301 then
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15303 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15304 if ${ac_cv_cflags__Werror+:} false; then :
15305 $as_echo_n "(cached) " >&6
15306 else
15307 ac_wine_try_cflags_saved=$CFLAGS
15308 CFLAGS="$CFLAGS -Werror"
15309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15310 /* end confdefs.h. */
15311 int main(int argc, char **argv) { return 0; }
15312 _ACEOF
15313 if ac_fn_c_try_link "$LINENO"; then :
15314 ac_cv_cflags__Werror=yes
15315 else
15316 ac_cv_cflags__Werror=no
15318 rm -f core conftest.err conftest.$ac_objext \
15319 conftest$ac_exeext conftest.$ac_ext
15320 CFLAGS=$ac_wine_try_cflags_saved
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15323 $as_echo "$ac_cv_cflags__Werror" >&6; }
15324 if test "x$ac_cv_cflags__Werror" = xyes; then :
15325 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15329 saved_CFLAGS="$CFLAGS"
15330 CFLAGS="$CFLAGS -Werror"
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15332 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15333 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15334 $as_echo_n "(cached) " >&6
15335 else
15336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15337 /* end confdefs.h. */
15338 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15340 main ()
15344 return 0;
15346 _ACEOF
15347 if ac_fn_c_try_compile "$LINENO"; then :
15348 ac_cv_have_ms_hook_prologue="yes"
15349 else
15350 ac_cv_have_ms_hook_prologue="no"
15352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15355 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15356 CFLAGS="$saved_CFLAGS"
15357 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15358 then
15360 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15362 else
15363 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15370 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15371 if ${ac_cv_c_fortify_enabled+:} false; then :
15372 $as_echo_n "(cached) " >&6
15373 else
15374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15375 /* end confdefs.h. */
15376 #include <string.h>
15378 main ()
15380 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15381 #error Fortify enabled
15382 #endif
15384 return 0;
15386 _ACEOF
15387 if ac_fn_c_try_compile "$LINENO"; then :
15388 ac_cv_c_fortify_enabled=no
15389 else
15390 ac_cv_c_fortify_enabled=yes
15392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15395 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15396 if test "$ac_cv_c_fortify_enabled" = yes
15397 then
15398 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15403 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15404 if ${ac_cv_c_extern_prefix+:} false; then :
15405 $as_echo_n "(cached) " >&6
15406 else
15407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15408 /* end confdefs.h. */
15409 extern int ac_test;
15411 main ()
15413 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15415 return 0;
15417 _ACEOF
15418 if ac_fn_c_try_link "$LINENO"; then :
15419 ac_cv_c_extern_prefix="yes"
15420 else
15421 ac_cv_c_extern_prefix="no"
15423 rm -f core conftest.err conftest.$ac_objext \
15424 conftest$ac_exeext conftest.$ac_ext
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15427 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15429 case $host_cpu in
15430 *i[3456789]86*)
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15432 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15433 if ${ac_cv_c_stdcall_suffix+:} false; then :
15434 $as_echo_n "(cached) " >&6
15435 else
15436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15437 /* end confdefs.h. */
15438 #ifndef _MSC_VER
15439 #define __stdcall __attribute__((__stdcall__))
15440 #endif
15441 int __stdcall ac_test(int i) { return i; }
15443 main ()
15445 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15447 return 0;
15449 _ACEOF
15450 if ac_fn_c_try_link "$LINENO"; then :
15451 ac_cv_c_stdcall_suffix="yes"
15452 else
15453 ac_cv_c_stdcall_suffix="no"
15455 rm -f core conftest.err conftest.$ac_objext \
15456 conftest$ac_exeext conftest.$ac_ext
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15459 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15460 *) ac_cv_c_stdcall_suffix="no" ;;
15461 esac
15464 if test "$ac_cv_c_extern_prefix" = "yes"
15465 then
15466 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15468 asm_name_prefix="_"
15469 else
15470 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15472 asm_name_prefix=""
15476 if test "$ac_cv_c_stdcall_suffix" = "yes"
15477 then
15478 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15480 else
15481 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15487 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15488 if ${ac_cv_asm_func_def+:} false; then :
15489 $as_echo_n "(cached) " >&6
15490 else
15491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15492 /* end confdefs.h. */
15495 main ()
15497 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15499 return 0;
15501 _ACEOF
15502 if ac_fn_c_try_link "$LINENO"; then :
15503 ac_cv_asm_func_def=".def"
15504 else
15505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15506 /* end confdefs.h. */
15509 main ()
15511 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15513 return 0;
15515 _ACEOF
15516 if ac_fn_c_try_link "$LINENO"; then :
15517 ac_cv_asm_func_def=".type @function"
15518 else
15519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15520 /* end confdefs.h. */
15523 main ()
15525 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15527 return 0;
15529 _ACEOF
15530 if ac_fn_c_try_link "$LINENO"; then :
15531 ac_cv_asm_func_def=".type 2"
15532 else
15533 ac_cv_asm_func_def="unknown"
15535 rm -f core conftest.err conftest.$ac_objext \
15536 conftest$ac_exeext conftest.$ac_ext
15538 rm -f core conftest.err conftest.$ac_objext \
15539 conftest$ac_exeext conftest.$ac_ext
15541 rm -f core conftest.err conftest.$ac_objext \
15542 conftest$ac_exeext conftest.$ac_ext
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15545 $as_echo "$ac_cv_asm_func_def" >&6; }
15548 case "$ac_cv_asm_func_def" in
15549 ".def")
15550 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15552 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15553 ".type @function")
15554 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15556 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15557 ".type 2")
15558 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15560 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15562 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15564 asm_func_header="" ;;
15565 esac
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15568 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15569 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15570 $as_echo_n "(cached) " >&6
15571 else
15572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15573 /* end confdefs.h. */
15574 asm(".text\n\t.long 0");
15576 main ()
15580 return 0;
15582 _ACEOF
15583 if ac_fn_c_try_compile "$LINENO"; then :
15584 ac_cv_c_asm_outside_funcs="yes"
15585 else
15586 ac_cv_c_asm_outside_funcs="no"
15588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15591 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15594 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15595 if ${ac_cv_c_dot_previous+:} false; then :
15596 $as_echo_n "(cached) " >&6
15597 else
15598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15599 /* end confdefs.h. */
15602 main ()
15604 asm(".text\nac_test:\t.long 0\n\t.previous");
15606 return 0;
15608 _ACEOF
15609 if ac_fn_c_try_link "$LINENO"; then :
15610 ac_cv_c_dot_previous="yes"
15611 else
15612 ac_cv_c_dot_previous="no"
15614 rm -f core conftest.err conftest.$ac_objext \
15615 conftest$ac_exeext conftest.$ac_ext
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15618 $as_echo "$ac_cv_c_dot_previous" >&6; }
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15621 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15622 if ${ac_cv_c_cfi_support+:} false; then :
15623 $as_echo_n "(cached) " >&6
15624 else
15625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15626 /* end confdefs.h. */
15627 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15629 main ()
15633 return 0;
15635 _ACEOF
15636 if ac_fn_c_try_compile "$LINENO"; then :
15637 ac_cv_c_cfi_support="yes"
15638 else
15639 ac_cv_c_cfi_support="no"
15641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15644 $as_echo "$ac_cv_c_cfi_support" >&6; }
15646 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15647 asm_func_trailer=""
15648 if test "$ac_cv_c_dot_previous" = "yes"
15649 then
15650 asm_func_trailer="\\n\\t.previous"
15652 if test "$ac_cv_c_cfi_support" = "yes"
15653 then
15654 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15655 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15657 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15659 UNWINDFLAGS=-fasynchronous-unwind-tables
15661 else
15662 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15664 if test "x$enable_win64" = "xyes"
15665 then
15666 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15670 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15673 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15674 then
15675 cat >>confdefs.h <<_ACEOF
15676 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15677 _ACEOF
15679 else
15680 cat >>confdefs.h <<_ACEOF
15681 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15682 _ACEOF
15686 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15689 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15693 case $build_os in
15694 cygwin*|mingw32*) TOOLSEXT=".exe"
15696 esac
15698 case $host_os in
15699 linux*)
15700 case $host_cpu in
15701 *i[3456789]86*|x86_64*|*aarch64*)
15702 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15703 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15705 esac
15707 esac
15710 ac_save_CFLAGS="$CFLAGS"
15711 CFLAGS="$CFLAGS $BUILTINFLAG"
15712 for ac_func in \
15713 __res_get_state \
15714 __res_getservers \
15715 _finite \
15716 _isnan \
15717 _pclose \
15718 _popen \
15719 _snprintf \
15720 _spawnvp \
15721 _strdup \
15722 _stricmp \
15723 _strnicmp \
15724 _strtoi64 \
15725 _strtoui64 \
15726 _vsnprintf \
15727 asctime_r \
15728 chsize \
15729 dlopen \
15730 epoll_create \
15731 ffs \
15732 finitef \
15733 fnmatch \
15734 fork \
15735 fpclass \
15736 fstatfs \
15737 fstatvfs \
15738 ftruncate \
15739 futimens \
15740 futimes \
15741 futimesat \
15742 getattrlist \
15743 getauxval \
15744 getifaddrs \
15745 getopt_long_only \
15746 getpwuid \
15747 gettimeofday \
15748 getuid \
15749 isnanf \
15750 kqueue \
15751 lstat \
15752 memmove \
15753 mmap \
15754 pclose \
15755 pipe2 \
15756 poll \
15757 popen \
15758 port_create \
15759 prctl \
15760 pread \
15761 proc_pidinfo \
15762 pwrite \
15763 readdir \
15764 readlink \
15765 sched_yield \
15766 select \
15767 setproctitle \
15768 setprogname \
15769 setrlimit \
15770 settimeofday \
15771 sigaltstack \
15772 sigprocmask \
15773 snprintf \
15774 statfs \
15775 statvfs \
15776 strcasecmp \
15777 strdup \
15778 strerror \
15779 strncasecmp \
15780 strnlen \
15781 strtold \
15782 strtoll \
15783 strtoull \
15784 symlink \
15785 sysinfo \
15786 tcdrain \
15787 thr_kill2 \
15788 timegm \
15789 usleep \
15790 vsnprintf
15792 do :
15793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15795 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15796 cat >>confdefs.h <<_ACEOF
15797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15798 _ACEOF
15801 done
15803 CFLAGS="$ac_save_CFLAGS"
15805 if test "$ac_cv_func_dlopen" = no
15806 then
15807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15808 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15809 if ${ac_cv_lib_dl_dlopen+:} false; then :
15810 $as_echo_n "(cached) " >&6
15811 else
15812 ac_check_lib_save_LIBS=$LIBS
15813 LIBS="-ldl $LIBS"
15814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15815 /* end confdefs.h. */
15817 /* Override any GCC internal prototype to avoid an error.
15818 Use char because int might match the return type of a GCC
15819 builtin and then its argument prototype would still apply. */
15820 #ifdef __cplusplus
15821 extern "C"
15822 #endif
15823 char dlopen ();
15825 main ()
15827 return dlopen ();
15829 return 0;
15831 _ACEOF
15832 if ac_fn_c_try_link "$LINENO"; then :
15833 ac_cv_lib_dl_dlopen=yes
15834 else
15835 ac_cv_lib_dl_dlopen=no
15837 rm -f core conftest.err conftest.$ac_objext \
15838 conftest$ac_exeext conftest.$ac_ext
15839 LIBS=$ac_check_lib_save_LIBS
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15842 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15843 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15844 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15845 DL_LIBS="-ldl"
15850 ac_wine_check_funcs_save_LIBS="$LIBS"
15851 LIBS="$LIBS $DL_LIBS"
15852 for ac_func in dladdr
15853 do :
15854 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15855 if test "x$ac_cv_func_dladdr" = xyes; then :
15856 cat >>confdefs.h <<_ACEOF
15857 #define HAVE_DLADDR 1
15858 _ACEOF
15861 done
15863 LIBS="$ac_wine_check_funcs_save_LIBS"
15865 if test "$ac_cv_func_poll" = no
15866 then
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15868 $as_echo_n "checking for poll in -lpoll... " >&6; }
15869 if ${ac_cv_lib_poll_poll+:} false; then :
15870 $as_echo_n "(cached) " >&6
15871 else
15872 ac_check_lib_save_LIBS=$LIBS
15873 LIBS="-lpoll $LIBS"
15874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15875 /* end confdefs.h. */
15877 /* Override any GCC internal prototype to avoid an error.
15878 Use char because int might match the return type of a GCC
15879 builtin and then its argument prototype would still apply. */
15880 #ifdef __cplusplus
15881 extern "C"
15882 #endif
15883 char poll ();
15885 main ()
15887 return poll ();
15889 return 0;
15891 _ACEOF
15892 if ac_fn_c_try_link "$LINENO"; then :
15893 ac_cv_lib_poll_poll=yes
15894 else
15895 ac_cv_lib_poll_poll=no
15897 rm -f core conftest.err conftest.$ac_objext \
15898 conftest$ac_exeext conftest.$ac_ext
15899 LIBS=$ac_check_lib_save_LIBS
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15902 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15903 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15904 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15905 POLL_LIBS="-lpoll"
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15912 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15913 if ${ac_cv_search_gethostbyname+:} false; then :
15914 $as_echo_n "(cached) " >&6
15915 else
15916 ac_func_search_save_LIBS=$LIBS
15917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15918 /* end confdefs.h. */
15920 /* Override any GCC internal prototype to avoid an error.
15921 Use char because int might match the return type of a GCC
15922 builtin and then its argument prototype would still apply. */
15923 #ifdef __cplusplus
15924 extern "C"
15925 #endif
15926 char gethostbyname ();
15928 main ()
15930 return gethostbyname ();
15932 return 0;
15934 _ACEOF
15935 for ac_lib in '' nsl; do
15936 if test -z "$ac_lib"; then
15937 ac_res="none required"
15938 else
15939 ac_res=-l$ac_lib
15940 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15942 if ac_fn_c_try_link "$LINENO"; then :
15943 ac_cv_search_gethostbyname=$ac_res
15945 rm -f core conftest.err conftest.$ac_objext \
15946 conftest$ac_exeext
15947 if ${ac_cv_search_gethostbyname+:} false; then :
15948 break
15950 done
15951 if ${ac_cv_search_gethostbyname+:} false; then :
15953 else
15954 ac_cv_search_gethostbyname=no
15956 rm conftest.$ac_ext
15957 LIBS=$ac_func_search_save_LIBS
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15960 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15961 ac_res=$ac_cv_search_gethostbyname
15962 if test "$ac_res" != no; then :
15963 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15969 $as_echo_n "checking for library containing connect... " >&6; }
15970 if ${ac_cv_search_connect+:} false; then :
15971 $as_echo_n "(cached) " >&6
15972 else
15973 ac_func_search_save_LIBS=$LIBS
15974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15975 /* end confdefs.h. */
15977 /* Override any GCC internal prototype to avoid an error.
15978 Use char because int might match the return type of a GCC
15979 builtin and then its argument prototype would still apply. */
15980 #ifdef __cplusplus
15981 extern "C"
15982 #endif
15983 char connect ();
15985 main ()
15987 return connect ();
15989 return 0;
15991 _ACEOF
15992 for ac_lib in '' socket; do
15993 if test -z "$ac_lib"; then
15994 ac_res="none required"
15995 else
15996 ac_res=-l$ac_lib
15997 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15999 if ac_fn_c_try_link "$LINENO"; then :
16000 ac_cv_search_connect=$ac_res
16002 rm -f core conftest.err conftest.$ac_objext \
16003 conftest$ac_exeext
16004 if ${ac_cv_search_connect+:} false; then :
16005 break
16007 done
16008 if ${ac_cv_search_connect+:} false; then :
16010 else
16011 ac_cv_search_connect=no
16013 rm conftest.$ac_ext
16014 LIBS=$ac_func_search_save_LIBS
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16017 $as_echo "$ac_cv_search_connect" >&6; }
16018 ac_res=$ac_cv_search_connect
16019 if test "$ac_res" != no; then :
16020 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16026 $as_echo_n "checking for library containing inet_aton... " >&6; }
16027 if ${ac_cv_search_inet_aton+:} false; then :
16028 $as_echo_n "(cached) " >&6
16029 else
16030 ac_func_search_save_LIBS=$LIBS
16031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16032 /* end confdefs.h. */
16034 /* Override any GCC internal prototype to avoid an error.
16035 Use char because int might match the return type of a GCC
16036 builtin and then its argument prototype would still apply. */
16037 #ifdef __cplusplus
16038 extern "C"
16039 #endif
16040 char inet_aton ();
16042 main ()
16044 return inet_aton ();
16046 return 0;
16048 _ACEOF
16049 for ac_lib in '' resolv; do
16050 if test -z "$ac_lib"; then
16051 ac_res="none required"
16052 else
16053 ac_res=-l$ac_lib
16054 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16056 if ac_fn_c_try_link "$LINENO"; then :
16057 ac_cv_search_inet_aton=$ac_res
16059 rm -f core conftest.err conftest.$ac_objext \
16060 conftest$ac_exeext
16061 if ${ac_cv_search_inet_aton+:} false; then :
16062 break
16064 done
16065 if ${ac_cv_search_inet_aton+:} false; then :
16067 else
16068 ac_cv_search_inet_aton=no
16070 rm conftest.$ac_ext
16071 LIBS=$ac_func_search_save_LIBS
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16074 $as_echo "$ac_cv_search_inet_aton" >&6; }
16075 ac_res=$ac_cv_search_inet_aton
16076 if test "$ac_res" != no; then :
16077 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16082 for ac_func in \
16083 getaddrinfo \
16084 getnameinfo \
16085 getnetbyname \
16086 getprotobyname \
16087 getprotobynumber \
16088 getservbyport \
16089 inet_addr \
16090 inet_network \
16091 inet_ntop \
16092 inet_pton \
16093 sendmsg \
16094 socketpair \
16096 do :
16097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16099 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16100 cat >>confdefs.h <<_ACEOF
16101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16102 _ACEOF
16105 done
16108 ac_save_LIBS=$LIBS
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16110 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16111 if ${ac_cv_search_clock_gettime+:} false; then :
16112 $as_echo_n "(cached) " >&6
16113 else
16114 ac_func_search_save_LIBS=$LIBS
16115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16116 /* end confdefs.h. */
16118 /* Override any GCC internal prototype to avoid an error.
16119 Use char because int might match the return type of a GCC
16120 builtin and then its argument prototype would still apply. */
16121 #ifdef __cplusplus
16122 extern "C"
16123 #endif
16124 char clock_gettime ();
16126 main ()
16128 return clock_gettime ();
16130 return 0;
16132 _ACEOF
16133 for ac_lib in '' rt; do
16134 if test -z "$ac_lib"; then
16135 ac_res="none required"
16136 else
16137 ac_res=-l$ac_lib
16138 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16140 if ac_fn_c_try_link "$LINENO"; then :
16141 ac_cv_search_clock_gettime=$ac_res
16143 rm -f core conftest.err conftest.$ac_objext \
16144 conftest$ac_exeext
16145 if ${ac_cv_search_clock_gettime+:} false; then :
16146 break
16148 done
16149 if ${ac_cv_search_clock_gettime+:} false; then :
16151 else
16152 ac_cv_search_clock_gettime=no
16154 rm conftest.$ac_ext
16155 LIBS=$ac_func_search_save_LIBS
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16158 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16159 ac_res=$ac_cv_search_clock_gettime
16160 if test "$ac_res" != no; then :
16161 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16163 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16165 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16169 LIBS=$ac_save_LIBS
16171 if test "x$with_ldap" != "xno"
16172 then
16173 if ${LDAP_CFLAGS:+false} :; then :
16174 if ${PKG_CONFIG+:} false; then :
16175 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16179 if ${LDAP_LIBS:+false} :; then :
16180 if ${PKG_CONFIG+:} false; then :
16181 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16185 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16186 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16187 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16188 ac_save_CPPFLAGS=$CPPFLAGS
16189 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16190 for ac_header in ldap.h lber.h
16191 do :
16192 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16193 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16194 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16195 cat >>confdefs.h <<_ACEOF
16196 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16197 _ACEOF
16201 done
16203 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16204 then
16205 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16207 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16209 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16210 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16211 $as_echo_n "(cached) " >&6
16212 else
16213 ac_check_lib_save_LIBS=$LIBS
16214 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16216 /* end confdefs.h. */
16218 /* Override any GCC internal prototype to avoid an error.
16219 Use char because int might match the return type of a GCC
16220 builtin and then its argument prototype would still apply. */
16221 #ifdef __cplusplus
16222 extern "C"
16223 #endif
16224 char ldap_initialize ();
16226 main ()
16228 return ldap_initialize ();
16230 return 0;
16232 _ACEOF
16233 if ac_fn_c_try_link "$LINENO"; then :
16234 ac_cv_lib_ldap_r_ldap_initialize=yes
16235 else
16236 ac_cv_lib_ldap_r_ldap_initialize=no
16238 rm -f core conftest.err conftest.$ac_objext \
16239 conftest$ac_exeext conftest.$ac_ext
16240 LIBS=$ac_check_lib_save_LIBS
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16243 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16244 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16246 $as_echo_n "checking for ber_init in -llber... " >&6; }
16247 if ${ac_cv_lib_lber_ber_init+:} false; then :
16248 $as_echo_n "(cached) " >&6
16249 else
16250 ac_check_lib_save_LIBS=$LIBS
16251 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16253 /* end confdefs.h. */
16255 /* Override any GCC internal prototype to avoid an error.
16256 Use char because int might match the return type of a GCC
16257 builtin and then its argument prototype would still apply. */
16258 #ifdef __cplusplus
16259 extern "C"
16260 #endif
16261 char ber_init ();
16263 main ()
16265 return ber_init ();
16267 return 0;
16269 _ACEOF
16270 if ac_fn_c_try_link "$LINENO"; then :
16271 ac_cv_lib_lber_ber_init=yes
16272 else
16273 ac_cv_lib_lber_ber_init=no
16275 rm -f core conftest.err conftest.$ac_objext \
16276 conftest$ac_exeext conftest.$ac_ext
16277 LIBS=$ac_check_lib_save_LIBS
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16280 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16281 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16283 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16285 else
16286 LDAP_LIBS=""
16289 else
16290 LDAP_LIBS=""
16293 else
16294 LDAP_LIBS=""
16297 ac_wine_check_funcs_save_LIBS="$LIBS"
16298 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16299 for ac_func in \
16300 ldap_count_references \
16301 ldap_first_reference \
16302 ldap_next_reference \
16303 ldap_parse_reference \
16304 ldap_parse_sort_control \
16305 ldap_parse_sortresponse_control \
16306 ldap_parse_vlv_control \
16307 ldap_parse_vlvresponse_control
16308 do :
16309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16310 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16311 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16312 cat >>confdefs.h <<_ACEOF
16313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16314 _ACEOF
16317 done
16319 LIBS="$ac_wine_check_funcs_save_LIBS"
16320 else
16321 LDAP_LIBS=""
16323 CPPFLAGS=$ac_save_CPPFLAGS
16324 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16325 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16328 if test "x$LDAP_LIBS" = "x"; then :
16329 case "x$with_ldap" in
16330 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16331 xno) ;;
16332 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16333 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16334 esac
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16339 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16340 if ${wine_cv_one_arg_mkdir+:} false; then :
16341 $as_echo_n "(cached) " >&6
16342 else
16343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16345 #include <sys/stat.h>
16347 main ()
16349 mkdir("foo");
16351 return 0;
16353 _ACEOF
16354 if ac_fn_c_try_compile "$LINENO"; then :
16355 wine_cv_one_arg_mkdir=yes
16356 else
16357 wine_cv_one_arg_mkdir=no
16359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16362 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16363 if test "$wine_cv_one_arg_mkdir" = "yes"
16364 then
16366 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16371 $as_echo_n "checking for sched_setaffinity... " >&6; }
16372 if ${wine_cv_have_sched_setaffinity+:} false; then :
16373 $as_echo_n "(cached) " >&6
16374 else
16375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16376 /* end confdefs.h. */
16377 #define _GNU_SOURCE
16378 #include <sched.h>
16380 main ()
16382 sched_setaffinity(0, 0, 0);
16384 return 0;
16386 _ACEOF
16387 if ac_fn_c_try_link "$LINENO"; then :
16388 wine_cv_have_sched_setaffinity=yes
16389 else
16390 wine_cv_have_sched_setaffinity=no
16392 rm -f core conftest.err conftest.$ac_objext \
16393 conftest$ac_exeext conftest.$ac_ext
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16396 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16397 if test "$wine_cv_have_sched_setaffinity" = "yes"
16398 then
16400 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16405 $as_echo_n "checking for fallocate... " >&6; }
16406 if ${wine_cv_have_fallocate+:} false; then :
16407 $as_echo_n "(cached) " >&6
16408 else
16409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16410 /* end confdefs.h. */
16411 #define _GNU_SOURCE
16412 #include <fcntl.h>
16414 main ()
16416 fallocate(-1, 0, 0, 0);
16418 return 0;
16420 _ACEOF
16421 if ac_fn_c_try_link "$LINENO"; then :
16422 wine_cv_have_fallocate=yes
16423 else
16424 wine_cv_have_fallocate=no
16426 rm -f core conftest.err conftest.$ac_objext \
16427 conftest$ac_exeext conftest.$ac_ext
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16430 $as_echo "$wine_cv_have_fallocate" >&6; }
16431 if test "$wine_cv_have_fallocate" = "yes"
16432 then
16434 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16440 $as_echo_n "checking for inline... " >&6; }
16441 if ${ac_cv_c_inline+:} false; then :
16442 $as_echo_n "(cached) " >&6
16443 else
16444 ac_cv_c_inline=no
16445 for ac_kw in inline __inline__ __inline; do
16446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16447 /* end confdefs.h. */
16448 #ifndef __cplusplus
16449 typedef int foo_t;
16450 static $ac_kw foo_t static_foo () {return 0; }
16451 $ac_kw foo_t foo () {return 0; }
16452 #endif
16454 _ACEOF
16455 if ac_fn_c_try_compile "$LINENO"; then :
16456 ac_cv_c_inline=$ac_kw
16458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16459 test "$ac_cv_c_inline" != no && break
16460 done
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16464 $as_echo "$ac_cv_c_inline" >&6; }
16466 case $ac_cv_c_inline in
16467 inline | yes) ;;
16469 case $ac_cv_c_inline in
16470 no) ac_val=;;
16471 *) ac_val=$ac_cv_c_inline;;
16472 esac
16473 cat >>confdefs.h <<_ACEOF
16474 #ifndef __cplusplus
16475 #define inline $ac_val
16476 #endif
16477 _ACEOF
16479 esac
16481 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16482 if test "x$ac_cv_type_mode_t" = xyes; then :
16484 cat >>confdefs.h <<_ACEOF
16485 #define HAVE_MODE_T 1
16486 _ACEOF
16490 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16491 if test "x$ac_cv_type_off_t" = xyes; then :
16493 cat >>confdefs.h <<_ACEOF
16494 #define HAVE_OFF_T 1
16495 _ACEOF
16499 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16500 if test "x$ac_cv_type_pid_t" = xyes; then :
16502 cat >>confdefs.h <<_ACEOF
16503 #define HAVE_PID_T 1
16504 _ACEOF
16508 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16509 if test "x$ac_cv_type_size_t" = xyes; then :
16511 cat >>confdefs.h <<_ACEOF
16512 #define HAVE_SIZE_T 1
16513 _ACEOF
16517 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16518 if test "x$ac_cv_type_ssize_t" = xyes; then :
16520 cat >>confdefs.h <<_ACEOF
16521 #define HAVE_SSIZE_T 1
16522 _ACEOF
16526 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16527 if test "x$ac_cv_type_long_long" = xyes; then :
16529 cat >>confdefs.h <<_ACEOF
16530 #define HAVE_LONG_LONG 1
16531 _ACEOF
16535 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16536 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16538 cat >>confdefs.h <<_ACEOF
16539 #define HAVE_FSBLKCNT_T 1
16540 _ACEOF
16544 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16545 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16547 cat >>confdefs.h <<_ACEOF
16548 #define HAVE_FSFILCNT_T 1
16549 _ACEOF
16554 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16555 #include <signal.h>
16557 if test "x$ac_cv_type_sigset_t" = xyes; then :
16559 cat >>confdefs.h <<_ACEOF
16560 #define HAVE_SIGSET_T 1
16561 _ACEOF
16566 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16568 if test "x$ac_cv_type_request_sense" = xyes; then :
16570 cat >>confdefs.h <<_ACEOF
16571 #define HAVE_REQUEST_SENSE 1
16572 _ACEOF
16578 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16579 #ifdef HAVE_SYS_SOCKET_H
16580 #include <sys/socket.h>
16581 #endif
16582 #ifdef HAVE_SYS_SOCKETVAR_H
16583 #include <sys/socketvar.h>
16584 #endif
16585 #ifdef HAVE_NET_ROUTE_H
16586 #include <net/route.h>
16587 #endif
16588 #ifdef HAVE_NETINET_IN_H
16589 #include <netinet/in.h>
16590 #endif
16591 #ifdef HAVE_NETINET_IN_SYSTM_H
16592 #include <netinet/in_systm.h>
16593 #endif
16594 #ifdef HAVE_NETINET_IP_H
16595 #include <netinet/ip.h>
16596 #endif
16597 #ifdef HAVE_NETINET_IN_PCB_H
16598 #include <netinet/in_pcb.h>
16599 #endif
16601 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16603 cat >>confdefs.h <<_ACEOF
16604 #define HAVE_STRUCT_XINPGEN 1
16605 _ACEOF
16611 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16612 #include <link.h>
16613 #endif
16614 #ifdef HAVE_SYS_LINK_H
16615 #include <sys/link.h>
16616 #endif
16618 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16620 cat >>confdefs.h <<_ACEOF
16621 #define HAVE_STRUCT_R_DEBUG 1
16622 _ACEOF
16626 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16627 #include <link.h>
16628 #endif
16629 #ifdef HAVE_SYS_LINK_H
16630 #include <sys/link.h>
16631 #endif
16633 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16635 cat >>confdefs.h <<_ACEOF
16636 #define HAVE_STRUCT_LINK_MAP 1
16637 _ACEOF
16643 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16644 #include <linux/input.h>
16645 #endif
16647 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16649 cat >>confdefs.h <<_ACEOF
16650 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16651 _ACEOF
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16658 $as_echo_n "checking for if_nameindex... " >&6; }
16659 if ${wine_cv_have_if_nameindex+:} false; then :
16660 $as_echo_n "(cached) " >&6
16661 else
16662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16663 /* end confdefs.h. */
16664 #ifdef HAVE_SYS_TYPES_H
16665 #include <sys/types.h>
16666 #endif
16667 #ifdef HAVE_SYS_SOCKET_H
16668 #include <sys/socket.h>
16669 #endif
16670 #ifdef HAVE_NET_IF_H
16671 # include <net/if.h>
16672 #endif
16674 main ()
16676 struct if_nameindex *p = if_nameindex(); return p->if_index;
16678 return 0;
16680 _ACEOF
16681 if ac_fn_c_try_link "$LINENO"; then :
16682 wine_cv_have_if_nameindex=yes
16683 else
16684 wine_cv_have_if_nameindex=no
16686 rm -f core conftest.err conftest.$ac_objext \
16687 conftest$ac_exeext conftest.$ac_ext
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16690 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16691 if test "$wine_cv_have_if_nameindex" = "yes"
16692 then
16694 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16699 $as_echo_n "checking for sigaddset... " >&6; }
16700 if ${wine_cv_have_sigaddset+:} false; then :
16701 $as_echo_n "(cached) " >&6
16702 else
16703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16704 /* end confdefs.h. */
16705 #include <signal.h>
16707 main ()
16709 sigset_t set; sigaddset(&set,SIGTERM);
16711 return 0;
16713 _ACEOF
16714 if ac_fn_c_try_link "$LINENO"; then :
16715 wine_cv_have_sigaddset=yes
16716 else
16717 wine_cv_have_sigaddset=no
16719 rm -f core conftest.err conftest.$ac_objext \
16720 conftest$ac_exeext conftest.$ac_ext
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16723 $as_echo "$wine_cv_have_sigaddset" >&6; }
16724 if test "$wine_cv_have_sigaddset" = "yes"
16725 then
16727 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16733 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16734 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16735 $as_echo_n "(cached) " >&6
16736 else
16737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16738 /* end confdefs.h. */
16739 #include <netdb.h>
16741 main ()
16744 char *name=0;
16745 struct hostent he;
16746 struct hostent *result;
16747 char *buf=0;
16748 int bufsize=0;
16749 int errnr;
16750 char *addr=0;
16751 int addrlen=0;
16752 int addrtype=0;
16753 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16754 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16757 return 0;
16759 _ACEOF
16760 if ac_fn_c_try_link "$LINENO"; then :
16761 wine_cv_linux_gethostbyname_r_6=yes
16762 else
16763 wine_cv_linux_gethostbyname_r_6=no
16766 rm -f core conftest.err conftest.$ac_objext \
16767 conftest$ac_exeext conftest.$ac_ext
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16771 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16772 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16773 then
16775 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16779 if test "$ac_cv_header_linux_joystick_h" = "yes"
16780 then
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16782 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16783 if ${wine_cv_linux_joystick_22_api+:} false; then :
16784 $as_echo_n "(cached) " >&6
16785 else
16786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16787 /* end confdefs.h. */
16789 #include <sys/ioctl.h>
16790 #include <sys/types.h>
16791 #include <linux/joystick.h>
16793 struct js_event blub;
16794 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16795 #error "no 2.2 header"
16796 #endif
16799 main ()
16801 /*empty*/
16803 return 0;
16805 _ACEOF
16806 if ac_fn_c_try_compile "$LINENO"; then :
16807 wine_cv_linux_joystick_22_api=yes
16808 else
16809 wine_cv_linux_joystick_22_api=no
16811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16815 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16816 if test "$wine_cv_linux_joystick_22_api" = "yes"
16817 then
16819 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16825 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16826 #ifdef HAVE_SYS_PARAM_H
16827 # include <sys/param.h>
16828 #endif
16829 #ifdef HAVE_SYS_MOUNT_H
16830 # include <sys/mount.h>
16831 #endif
16832 #ifdef HAVE_SYS_VFS_H
16833 # include <sys/vfs.h>
16834 #endif
16835 #ifdef HAVE_SYS_STATFS_H
16836 # include <sys/statfs.h>
16837 #endif
16839 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16841 cat >>confdefs.h <<_ACEOF
16842 #define HAVE_STRUCT_STATFS_F_BFREE 1
16843 _ACEOF
16847 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16848 #ifdef HAVE_SYS_PARAM_H
16849 # include <sys/param.h>
16850 #endif
16851 #ifdef HAVE_SYS_MOUNT_H
16852 # include <sys/mount.h>
16853 #endif
16854 #ifdef HAVE_SYS_VFS_H
16855 # include <sys/vfs.h>
16856 #endif
16857 #ifdef HAVE_SYS_STATFS_H
16858 # include <sys/statfs.h>
16859 #endif
16861 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16863 cat >>confdefs.h <<_ACEOF
16864 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16865 _ACEOF
16869 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16870 #ifdef HAVE_SYS_PARAM_H
16871 # include <sys/param.h>
16872 #endif
16873 #ifdef HAVE_SYS_MOUNT_H
16874 # include <sys/mount.h>
16875 #endif
16876 #ifdef HAVE_SYS_VFS_H
16877 # include <sys/vfs.h>
16878 #endif
16879 #ifdef HAVE_SYS_STATFS_H
16880 # include <sys/statfs.h>
16881 #endif
16883 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16885 cat >>confdefs.h <<_ACEOF
16886 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16887 _ACEOF
16891 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16892 #ifdef HAVE_SYS_PARAM_H
16893 # include <sys/param.h>
16894 #endif
16895 #ifdef HAVE_SYS_MOUNT_H
16896 # include <sys/mount.h>
16897 #endif
16898 #ifdef HAVE_SYS_VFS_H
16899 # include <sys/vfs.h>
16900 #endif
16901 #ifdef HAVE_SYS_STATFS_H
16902 # include <sys/statfs.h>
16903 #endif
16905 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16907 cat >>confdefs.h <<_ACEOF
16908 #define HAVE_STRUCT_STATFS_F_FFREE 1
16909 _ACEOF
16913 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16914 #ifdef HAVE_SYS_PARAM_H
16915 # include <sys/param.h>
16916 #endif
16917 #ifdef HAVE_SYS_MOUNT_H
16918 # include <sys/mount.h>
16919 #endif
16920 #ifdef HAVE_SYS_VFS_H
16921 # include <sys/vfs.h>
16922 #endif
16923 #ifdef HAVE_SYS_STATFS_H
16924 # include <sys/statfs.h>
16925 #endif
16927 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16929 cat >>confdefs.h <<_ACEOF
16930 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16931 _ACEOF
16935 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16936 #ifdef HAVE_SYS_PARAM_H
16937 # include <sys/param.h>
16938 #endif
16939 #ifdef HAVE_SYS_MOUNT_H
16940 # include <sys/mount.h>
16941 #endif
16942 #ifdef HAVE_SYS_VFS_H
16943 # include <sys/vfs.h>
16944 #endif
16945 #ifdef HAVE_SYS_STATFS_H
16946 # include <sys/statfs.h>
16947 #endif
16949 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16951 cat >>confdefs.h <<_ACEOF
16952 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16953 _ACEOF
16959 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16960 #include <sys/statvfs.h>
16961 #endif
16963 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16965 cat >>confdefs.h <<_ACEOF
16966 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16967 _ACEOF
16973 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16974 #include <dirent.h>
16975 #endif
16977 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16979 cat >>confdefs.h <<_ACEOF
16980 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16981 _ACEOF
16987 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16988 #ifdef HAVE_SYS_SOCKET_H
16989 # include <sys/socket.h>
16990 #endif
16991 #ifdef HAVE_SYS_UN_H
16992 # include <sys/un.h>
16993 #endif
16995 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16997 cat >>confdefs.h <<_ACEOF
16998 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16999 _ACEOF
17003 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17004 #ifdef HAVE_SYS_SOCKET_H
17005 # include <sys/socket.h>
17006 #endif
17007 #ifdef HAVE_SYS_UN_H
17008 # include <sys/un.h>
17009 #endif
17011 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17013 cat >>confdefs.h <<_ACEOF
17014 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17015 _ACEOF
17019 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17020 #ifdef HAVE_SYS_SOCKET_H
17021 # include <sys/socket.h>
17022 #endif
17023 #ifdef HAVE_SYS_UN_H
17024 # include <sys/un.h>
17025 #endif
17027 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17029 cat >>confdefs.h <<_ACEOF
17030 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17031 _ACEOF
17037 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17038 #ifdef HAVE_SCSI_SG_H
17039 #include <scsi/sg.h>
17040 #endif
17042 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17044 cat >>confdefs.h <<_ACEOF
17045 #define HAVE_SCSIREQ_T_CMD 1
17046 _ACEOF
17050 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>
17051 #ifdef HAVE_SCSI_SG_H
17052 #include <scsi/sg.h>
17053 #endif
17055 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17057 cat >>confdefs.h <<_ACEOF
17058 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17059 _ACEOF
17065 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17067 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17069 cat >>confdefs.h <<_ACEOF
17070 #define HAVE_SIGINFO_T_SI_FD 1
17071 _ACEOF
17077 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17078 #ifdef HAVE_SYS_MTIO_H
17079 #include <sys/mtio.h>
17080 #endif
17082 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17084 cat >>confdefs.h <<_ACEOF
17085 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17086 _ACEOF
17090 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17091 #ifdef HAVE_SYS_MTIO_H
17092 #include <sys/mtio.h>
17093 #endif
17095 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17097 cat >>confdefs.h <<_ACEOF
17098 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17099 _ACEOF
17103 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17104 #ifdef HAVE_SYS_MTIO_H
17105 #include <sys/mtio.h>
17106 #endif
17108 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17110 cat >>confdefs.h <<_ACEOF
17111 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17112 _ACEOF
17118 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17119 #include <getopt.h>
17120 #endif
17122 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17124 cat >>confdefs.h <<_ACEOF
17125 #define HAVE_STRUCT_OPTION_NAME 1
17126 _ACEOF
17132 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17133 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17135 cat >>confdefs.h <<_ACEOF
17136 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17137 _ACEOF
17141 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17142 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17144 cat >>confdefs.h <<_ACEOF
17145 #define HAVE_STRUCT_STAT_ST_MTIM 1
17146 _ACEOF
17150 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17151 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17153 cat >>confdefs.h <<_ACEOF
17154 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17155 _ACEOF
17159 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17160 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17162 cat >>confdefs.h <<_ACEOF
17163 #define HAVE_STRUCT_STAT_ST_CTIM 1
17164 _ACEOF
17168 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17169 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17171 cat >>confdefs.h <<_ACEOF
17172 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17173 _ACEOF
17177 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17178 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17180 cat >>confdefs.h <<_ACEOF
17181 #define HAVE_STRUCT_STAT_ST_ATIM 1
17182 _ACEOF
17186 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17187 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17189 cat >>confdefs.h <<_ACEOF
17190 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17191 _ACEOF
17195 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17196 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17198 cat >>confdefs.h <<_ACEOF
17199 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17200 _ACEOF
17204 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17205 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17207 cat >>confdefs.h <<_ACEOF
17208 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17209 _ACEOF
17213 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17214 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17216 cat >>confdefs.h <<_ACEOF
17217 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17218 _ACEOF
17222 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17223 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17225 cat >>confdefs.h <<_ACEOF
17226 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17227 _ACEOF
17231 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17232 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17234 cat >>confdefs.h <<_ACEOF
17235 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17236 _ACEOF
17242 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
17243 #include <sys/types.h>
17244 #endif
17245 #ifdef HAVE_NETINET_IN_H
17246 #include <netinet/in.h>
17247 #endif
17249 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17251 cat >>confdefs.h <<_ACEOF
17252 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17253 _ACEOF
17259 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17260 #include <sys/types.h>
17261 #endif
17262 #ifdef HAVE_NETINET_IN_H
17263 #include <netinet/in.h>
17264 #endif
17265 #ifdef HAVE_RESOLV_H
17266 #include <resolv.h>
17267 #endif
17269 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17271 cat >>confdefs.h <<_ACEOF
17272 #define HAVE_STRUCT___RES_STATE 1
17273 _ACEOF
17279 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
17280 #include <resolv.h>
17281 #endif
17283 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17285 cat >>confdefs.h <<_ACEOF
17286 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17287 _ACEOF
17293 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17294 #include <sys/types.h>
17295 #endif
17296 #ifdef HAVE_NETINET_IN_H
17297 # include <netinet/in.h>
17298 #endif
17299 #ifdef HAVE_ARPA_NAMESER_H
17300 # include <arpa/nameser.h>
17301 #endif
17303 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17305 cat >>confdefs.h <<_ACEOF
17306 #define HAVE_NS_MSG__MSG_PTR 1
17307 _ACEOF
17313 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17314 #include <sys/types.h>
17315 #endif
17316 #ifdef HAVE_NETINET_IN_H
17317 #include <netinet/in.h>
17318 #endif
17319 #ifdef HAVE_NETINET_IP_H
17320 #include <netinet/ip.h>
17321 #endif
17322 #ifdef HAVE_NETINET_IP_ICMP_H
17323 #include <netinet/ip_icmp.h>
17324 #endif
17325 #ifdef HAVE_NETINET_ICMP_VAR_H
17326 #include <netinet/icmp_var.h>
17327 #endif
17329 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17331 cat >>confdefs.h <<_ACEOF
17332 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17333 _ACEOF
17339 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17340 #include <sys/types.h>
17341 #endif
17342 #ifdef HAVE_ALIAS_H
17343 #include <alias.h>
17344 #endif
17345 #ifdef HAVE_SYS_SOCKET_H
17346 #include <sys/socket.h>
17347 #endif
17348 #ifdef HAVE_SYS_SOCKETVAR_H
17349 #include <sys/socketvar.h>
17350 #endif
17351 #ifdef HAVE_SYS_TIMEOUT_H
17352 #include <sys/timeout.h>
17353 #endif
17354 #ifdef HAVE_NETINET_IN_H
17355 #include <netinet/in.h>
17356 #endif
17357 #ifdef HAVE_NETINET_IN_SYSTM_H
17358 #include <netinet/in_systm.h>
17359 #endif
17360 #ifdef HAVE_NETINET_IP_H
17361 #include <netinet/ip.h>
17362 #endif
17363 #ifdef HAVE_NETINET_IP_VAR_H
17364 #include <netinet/ip_var.h>
17365 #endif
17366 #ifdef HAVE_NETINET_IP_ICMP_H
17367 #include <netinet/ip_icmp.h>
17368 #endif
17369 #ifdef HAVE_NETINET_ICMP_VAR_H
17370 #include <netinet/icmp_var.h>
17371 #endif
17373 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17375 cat >>confdefs.h <<_ACEOF
17376 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17377 _ACEOF
17383 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17384 #include <sys/types.h>
17385 #endif
17386 #ifdef HAVE_SYS_SOCKETVAR_H
17387 #include <sys/socketvar.h>
17388 #endif
17389 #ifdef HAVE_NETINET_IN_H
17390 #include <netinet/in.h>
17391 #endif
17392 #ifdef HAVE_NETINET_IP_VAR_H
17393 #include <netinet/ip_var.h>
17394 #endif
17396 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17398 cat >>confdefs.h <<_ACEOF
17399 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17400 _ACEOF
17406 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
17407 #include <netinet/ip_var.h>
17408 #endif
17410 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17412 cat >>confdefs.h <<_ACEOF
17413 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17414 _ACEOF
17420 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17421 #include <sys/types.h>
17422 #endif
17423 #ifdef HAVE_SYS_SOCKETVAR_H
17424 #include <sys/socketvar.h>
17425 #endif
17426 #ifdef HAVE_NETINET_IN_H
17427 #include <netinet/in.h>
17428 #endif
17429 #ifdef HAVE_NETINET_TCP_H
17430 #include <netinet/tcp.h>
17431 #endif
17432 #ifdef HAVE_NETINET_TCP_VAR_H
17433 #include <netinet/tcp_var.h>
17434 #endif
17436 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17438 cat >>confdefs.h <<_ACEOF
17439 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17440 _ACEOF
17446 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
17447 #include <netinet/tcp_var.h>
17448 #endif
17450 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17452 cat >>confdefs.h <<_ACEOF
17453 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17454 _ACEOF
17460 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17461 #include <sys/types.h>
17462 #endif
17463 #ifdef HAVE_NETINET_IN_H
17464 #include <netinet/in.h>
17465 #endif
17466 #ifdef HAVE_NETINET_IP_VAR_H
17467 #include <netinet/ip_var.h>
17468 #endif
17469 #ifdef HAVE_NETINET_UDP_H
17470 #include <netinet/udp.h>
17471 #endif
17472 #ifdef HAVE_NETINET_UDP_VAR_H
17473 #include <netinet/udp_var.h>
17474 #endif
17476 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17478 cat >>confdefs.h <<_ACEOF
17479 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17480 _ACEOF
17486 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17487 #include <sys/types.h>
17488 #endif
17489 #ifdef HAVE_NET_IF_H
17490 # include <net/if.h>
17491 #endif
17493 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17495 cat >>confdefs.h <<_ACEOF
17496 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17497 _ACEOF
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17504 $as_echo_n "checking for timezone variable... " >&6; }
17505 if ${ac_cv_have_timezone+:} false; then :
17506 $as_echo_n "(cached) " >&6
17507 else
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 #include <time.h>
17512 main ()
17514 timezone = 1
17516 return 0;
17518 _ACEOF
17519 if ac_fn_c_try_link "$LINENO"; then :
17520 ac_cv_have_timezone="yes"
17521 else
17522 ac_cv_have_timezone="no"
17524 rm -f core conftest.err conftest.$ac_objext \
17525 conftest$ac_exeext conftest.$ac_ext
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17528 $as_echo "$ac_cv_have_timezone" >&6; }
17529 if test "$ac_cv_have_timezone" = "yes"
17530 then
17532 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17536 $as_echo_n "checking for daylight variable... " >&6; }
17537 if ${ac_cv_have_daylight+:} false; then :
17538 $as_echo_n "(cached) " >&6
17539 else
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 #include <time.h>
17544 main ()
17546 daylight = 1
17548 return 0;
17550 _ACEOF
17551 if ac_fn_c_try_link "$LINENO"; then :
17552 ac_cv_have_daylight="yes"
17553 else
17554 ac_cv_have_daylight="no"
17556 rm -f core conftest.err conftest.$ac_objext \
17557 conftest$ac_exeext conftest.$ac_ext
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17560 $as_echo "$ac_cv_have_daylight" >&6; }
17561 if test "$ac_cv_have_daylight" = "yes"
17562 then
17564 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17568 ac_save_LIBS="$LIBS"
17569 LIBS="$LIBS -lm"
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17571 $as_echo_n "checking for isfinite... " >&6; }
17572 if ${ac_cv_have_isfinite+:} false; then :
17573 $as_echo_n "(cached) " >&6
17574 else
17575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17576 /* end confdefs.h. */
17577 #define _GNU_SOURCE
17578 #include <math.h>
17580 main ()
17582 float f = 0.0; return isfinite(f)
17584 return 0;
17586 _ACEOF
17587 if ac_fn_c_try_link "$LINENO"; then :
17588 ac_cv_have_isfinite="yes"
17589 else
17590 ac_cv_have_isfinite="no"
17592 rm -f core conftest.err conftest.$ac_objext \
17593 conftest$ac_exeext conftest.$ac_ext
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17596 $as_echo "$ac_cv_have_isfinite" >&6; }
17597 if test "$ac_cv_have_isfinite" = "yes"
17598 then
17600 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17605 $as_echo_n "checking for isinf... " >&6; }
17606 if ${ac_cv_have_isinf+:} false; then :
17607 $as_echo_n "(cached) " >&6
17608 else
17609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17610 /* end confdefs.h. */
17611 #include <math.h>
17613 main ()
17615 float f = 0.0; return isinf(f)
17617 return 0;
17619 _ACEOF
17620 if ac_fn_c_try_link "$LINENO"; then :
17621 ac_cv_have_isinf="yes"
17622 else
17623 ac_cv_have_isinf="no"
17625 rm -f core conftest.err conftest.$ac_objext \
17626 conftest$ac_exeext conftest.$ac_ext
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17629 $as_echo "$ac_cv_have_isinf" >&6; }
17630 if test "$ac_cv_have_isinf" = "yes"
17631 then
17633 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17638 $as_echo_n "checking for isnan... " >&6; }
17639 if ${ac_cv_have_isnan+:} false; then :
17640 $as_echo_n "(cached) " >&6
17641 else
17642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17643 /* end confdefs.h. */
17644 #include <math.h>
17646 main ()
17648 float f = 0.0; return isnan(f)
17650 return 0;
17652 _ACEOF
17653 if ac_fn_c_try_link "$LINENO"; then :
17654 ac_cv_have_isnan="yes"
17655 else
17656 ac_cv_have_isnan="no"
17658 rm -f core conftest.err conftest.$ac_objext \
17659 conftest$ac_exeext conftest.$ac_ext
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17662 $as_echo "$ac_cv_have_isnan" >&6; }
17663 if test "$ac_cv_have_isnan" = "yes"
17664 then
17666 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17670 for ac_func in \
17671 acosh \
17672 acoshf \
17673 asinh \
17674 asinhf \
17675 atanh \
17676 atanhf \
17677 cbrt \
17678 cbrtf \
17679 erf \
17680 erfc \
17681 erfcf \
17682 erff \
17683 exp2 \
17684 exp2f \
17685 expm1 \
17686 expm1f \
17687 j0 \
17688 j1 \
17689 jn \
17690 lgamma \
17691 lgammaf \
17692 llrint \
17693 llrintf \
17694 llround \
17695 llroundf \
17696 log1p \
17697 log1pf \
17698 log2 \
17699 log2f \
17700 lrint \
17701 lrintf \
17702 lround \
17703 lroundf \
17704 nearbyint \
17705 nearbyintf \
17706 powl \
17707 remainder \
17708 remainderf \
17709 rint \
17710 rintf \
17711 round \
17712 roundf \
17713 trunc \
17714 truncf \
17715 y0 \
17716 y1 \
17719 do :
17720 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17721 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17722 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17723 cat >>confdefs.h <<_ACEOF
17724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17725 _ACEOF
17728 done
17730 LIBS="$ac_save_LIBS"
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17733 $as_echo_n "checking for __builtin_clz... " >&6; }
17734 if ${ac_cv_have___builtin_clz+:} false; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17738 /* end confdefs.h. */
17741 main ()
17743 return __builtin_clz(1)
17745 return 0;
17747 _ACEOF
17748 if ac_fn_c_try_link "$LINENO"; then :
17749 ac_cv_have___builtin_clz="yes"
17750 else
17751 ac_cv_have___builtin_clz="no"
17753 rm -f core conftest.err conftest.$ac_objext \
17754 conftest$ac_exeext conftest.$ac_ext
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17757 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17758 if test "$ac_cv_have___builtin_clz" = "yes"
17759 then
17761 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17766 $as_echo_n "checking for __builtin_popcount... " >&6; }
17767 if ${ac_cv_have___builtin_popcount+:} false; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17771 /* end confdefs.h. */
17774 main ()
17776 return __builtin_popcount(1)
17778 return 0;
17780 _ACEOF
17781 if ac_fn_c_try_link "$LINENO"; then :
17782 ac_cv_have___builtin_popcount="yes"
17783 else
17784 ac_cv_have___builtin_popcount="no"
17786 rm -f core conftest.err conftest.$ac_objext \
17787 conftest$ac_exeext conftest.$ac_ext
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17790 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17791 if test "$ac_cv_have___builtin_popcount" = "yes"
17792 then
17794 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17799 $as_echo_n "checking for __clear_cache... " >&6; }
17800 if ${ac_cv_have___clear_cache+:} false; then :
17801 $as_echo_n "(cached) " >&6
17802 else
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17807 main ()
17809 __clear_cache((void*)0, (void*)0); return 0;
17811 return 0;
17813 _ACEOF
17814 if ac_fn_c_try_link "$LINENO"; then :
17815 ac_cv_have___clear_cache="yes"
17816 else
17817 ac_cv_have___clear_cache="no"
17819 rm -f core conftest.err conftest.$ac_objext \
17820 conftest$ac_exeext conftest.$ac_ext
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17823 $as_echo "$ac_cv_have___clear_cache" >&6; }
17824 if test "$ac_cv_have___clear_cache" = "yes"
17825 then
17827 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17832 case $host_cpu in
17833 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17834 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17835 if ${ac_cv_cpp_def___i386__+:} false; then :
17836 $as_echo_n "(cached) " >&6
17837 else
17838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17839 /* end confdefs.h. */
17840 #ifndef __i386__
17842 #endif
17843 _ACEOF
17844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17845 $EGREP "yes" >/dev/null 2>&1; then :
17846 ac_cv_cpp_def___i386__=yes
17847 else
17848 ac_cv_cpp_def___i386__=no
17850 rm -f conftest*
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17854 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17855 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17856 CFLAGS="$CFLAGS -D__i386__"
17857 LINTFLAGS="$LINTFLAGS -D__i386__"
17858 fi ;;
17859 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17860 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17861 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17862 $as_echo_n "(cached) " >&6
17863 else
17864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17865 /* end confdefs.h. */
17866 #ifndef __x86_64__
17868 #endif
17869 _ACEOF
17870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17871 $EGREP "yes" >/dev/null 2>&1; then :
17872 ac_cv_cpp_def___x86_64__=yes
17873 else
17874 ac_cv_cpp_def___x86_64__=no
17876 rm -f conftest*
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17880 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17881 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17882 CFLAGS="$CFLAGS -D__x86_64__"
17883 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17884 fi ;;
17885 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17886 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17887 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17888 $as_echo_n "(cached) " >&6
17889 else
17890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17891 /* end confdefs.h. */
17892 #ifndef __sparc64__
17894 #endif
17895 _ACEOF
17896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17897 $EGREP "yes" >/dev/null 2>&1; then :
17898 ac_cv_cpp_def___sparc64__=yes
17899 else
17900 ac_cv_cpp_def___sparc64__=no
17902 rm -f conftest*
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17906 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17907 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17908 CFLAGS="$CFLAGS -D__sparc64__"
17909 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17910 fi ;;
17911 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17912 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17913 if ${ac_cv_cpp_def___sparc__+:} false; then :
17914 $as_echo_n "(cached) " >&6
17915 else
17916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17917 /* end confdefs.h. */
17918 #ifndef __sparc__
17920 #endif
17921 _ACEOF
17922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17923 $EGREP "yes" >/dev/null 2>&1; then :
17924 ac_cv_cpp_def___sparc__=yes
17925 else
17926 ac_cv_cpp_def___sparc__=no
17928 rm -f conftest*
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17932 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17933 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17934 CFLAGS="$CFLAGS -D__sparc__"
17935 LINTFLAGS="$LINTFLAGS -D__sparc__"
17936 fi ;;
17937 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17938 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17939 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17940 $as_echo_n "(cached) " >&6
17941 else
17942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17943 /* end confdefs.h. */
17944 #ifndef __powerpc64__
17946 #endif
17947 _ACEOF
17948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17949 $EGREP "yes" >/dev/null 2>&1; then :
17950 ac_cv_cpp_def___powerpc64__=yes
17951 else
17952 ac_cv_cpp_def___powerpc64__=no
17954 rm -f conftest*
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17958 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17959 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17960 CFLAGS="$CFLAGS -D__powerpc64__"
17961 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17962 fi ;;
17963 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17964 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17965 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17966 $as_echo_n "(cached) " >&6
17967 else
17968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17969 /* end confdefs.h. */
17970 #ifndef __powerpc__
17972 #endif
17973 _ACEOF
17974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17975 $EGREP "yes" >/dev/null 2>&1; then :
17976 ac_cv_cpp_def___powerpc__=yes
17977 else
17978 ac_cv_cpp_def___powerpc__=no
17980 rm -f conftest*
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17984 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17985 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17986 CFLAGS="$CFLAGS -D__powerpc__"
17987 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17988 fi ;;
17989 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17990 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17991 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17992 $as_echo_n "(cached) " >&6
17993 else
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17996 #ifndef __aarch64__
17998 #endif
17999 _ACEOF
18000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18001 $EGREP "yes" >/dev/null 2>&1; then :
18002 ac_cv_cpp_def___aarch64__=yes
18003 else
18004 ac_cv_cpp_def___aarch64__=no
18006 rm -f conftest*
18009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18010 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18011 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18012 CFLAGS="$CFLAGS -D__aarch64__"
18013 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18014 fi ;;
18015 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18016 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18017 if ${ac_cv_cpp_def___arm__+:} false; then :
18018 $as_echo_n "(cached) " >&6
18019 else
18020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18022 #ifndef __arm__
18024 #endif
18025 _ACEOF
18026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18027 $EGREP "yes" >/dev/null 2>&1; then :
18028 ac_cv_cpp_def___arm__=yes
18029 else
18030 ac_cv_cpp_def___arm__=no
18032 rm -f conftest*
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18036 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18037 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18038 CFLAGS="$CFLAGS -D__arm__"
18039 LINTFLAGS="$LINTFLAGS -D__arm__"
18040 fi ;;
18041 esac
18043 case $host_vendor in
18044 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18045 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18046 if ${ac_cv_cpp_def___sun__+:} false; then :
18047 $as_echo_n "(cached) " >&6
18048 else
18049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h. */
18051 #ifndef __sun__
18053 #endif
18054 _ACEOF
18055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18056 $EGREP "yes" >/dev/null 2>&1; then :
18057 ac_cv_cpp_def___sun__=yes
18058 else
18059 ac_cv_cpp_def___sun__=no
18061 rm -f conftest*
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18065 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18066 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18067 CFLAGS="$CFLAGS -D__sun__"
18068 LINTFLAGS="$LINTFLAGS -D__sun__"
18069 fi ;;
18070 esac
18076 ac_config_commands="$ac_config_commands include/stamp-h"
18078 $as_echo_n "creating Makefile rules..." >&6
18080 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18081 SOCKET_LIBS = $SOCKET_LIBS
18082 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18083 IOKIT_LIBS = $IOKIT_LIBS
18084 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18085 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18086 CORESERVICES_LIBS = $CORESERVICES_LIBS
18087 APPKIT_LIBS = $APPKIT_LIBS
18088 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18089 SECURITY_LIBS = $SECURITY_LIBS
18090 COREAUDIO_LIBS = $COREAUDIO_LIBS
18091 OPENAL_LIBS = $OPENAL_LIBS
18092 OPENCL_LIBS = $OPENCL_LIBS
18093 QUICKTIME_LIBS = $QUICKTIME_LIBS
18094 CARBON_LIBS = $CARBON_LIBS
18095 PTHREAD_LIBS = $PTHREAD_LIBS
18096 X_CFLAGS = $X_CFLAGS
18097 X_PRE_LIBS = $X_PRE_LIBS
18098 X_LIBS = $X_LIBS
18099 X_EXTRA_LIBS = $X_EXTRA_LIBS
18100 PCAP_LIBS = $PCAP_LIBS
18101 XML2_CFLAGS = $XML2_CFLAGS
18102 XML2_LIBS = $XML2_LIBS
18103 XSLT_CFLAGS = $XSLT_CFLAGS
18104 XSLT_LIBS = $XSLT_LIBS
18105 DBUS_CFLAGS = $DBUS_CFLAGS
18106 DBUS_LIBS = $DBUS_LIBS
18107 HAL_CFLAGS = $HAL_CFLAGS
18108 HAL_LIBS = $HAL_LIBS
18109 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18110 GNUTLS_LIBS = $GNUTLS_LIBS
18111 SANE_CFLAGS = $SANE_CFLAGS
18112 SANE_LIBS = $SANE_LIBS
18113 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18114 GPHOTO2_LIBS = $GPHOTO2_LIBS
18115 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18116 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18117 RESOLV_LIBS = $RESOLV_LIBS
18118 LCMS2_CFLAGS = $LCMS2_CFLAGS
18119 LCMS2_LIBS = $LCMS2_LIBS
18120 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18121 FREETYPE_LIBS = $FREETYPE_LIBS
18122 Z_LIBS = $Z_LIBS
18123 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18124 PULSE_CFLAGS = $PULSE_CFLAGS
18125 PULSE_LIBS = $PULSE_LIBS
18126 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18127 GSTREAMER_LIBS = $GSTREAMER_LIBS
18128 ALSA_LIBS = $ALSA_LIBS
18129 OSS4_CFLAGS = $OSS4_CFLAGS
18130 UDEV_CFLAGS = $UDEV_CFLAGS
18131 UDEV_LIBS = $UDEV_LIBS
18132 SDL2_CFLAGS = $SDL2_CFLAGS
18133 SDL2_LIBS = $SDL2_LIBS
18134 CAPI20_CFLAGS = $CAPI20_CFLAGS
18135 CAPI20_LIBS = $CAPI20_LIBS
18136 CUPS_CFLAGS = $CUPS_CFLAGS
18137 CUPS_LIBS = $CUPS_LIBS
18138 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18139 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18140 KRB5_CFLAGS = $KRB5_CFLAGS
18141 KRB5_LIBS = $KRB5_LIBS
18142 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18143 GSSAPI_LIBS = $GSSAPI_LIBS
18144 JPEG_CFLAGS = $JPEG_CFLAGS
18145 JPEG_LIBS = $JPEG_LIBS
18146 PNG_CFLAGS = $PNG_CFLAGS
18147 PNG_LIBS = $PNG_LIBS
18148 TIFF_CFLAGS = $TIFF_CFLAGS
18149 TIFF_LIBS = $TIFF_LIBS
18150 MPG123_CFLAGS = $MPG123_CFLAGS
18151 MPG123_LIBS = $MPG123_LIBS
18152 KSTAT_LIBS = $KSTAT_LIBS
18153 PROCSTAT_LIBS = $PROCSTAT_LIBS
18154 NETAPI_CFLAGS = $NETAPI_CFLAGS
18155 NETAPI_LIBS = $NETAPI_LIBS
18156 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18157 DL_LIBS = $DL_LIBS
18158 POLL_LIBS = $POLL_LIBS
18159 RT_LIBS = $RT_LIBS
18160 LDAP_CFLAGS = $LDAP_CFLAGS
18161 LDAP_LIBS = $LDAP_LIBS
18166 wine_fn_append_rule "
18167 # Rules automatically generated by configure
18169 .INIT: Makefile
18170 .MAKEFILEDEPS:
18171 all: Makefile
18172 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18173 @./config.status Make.tmp Makefile
18174 depend: \$(MAKEDEP) dummy
18175 \$(MAKEDEP)"
18177 if test "x$enable_fonts" != xno; then
18178 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18179 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18180 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18181 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18182 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18183 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18185 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18186 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18187 ac_config_links="$ac_config_links wine:tools/winewrapper"
18188 wine_fn_config_symlink wine
18189 if test "x$enable_win64" != xno; then
18190 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18191 wine_fn_config_symlink wine64
18194 wine_fn_config_makefile dlls/acledit enable_acledit
18195 wine_fn_config_makefile dlls/aclui enable_aclui
18196 wine_fn_config_makefile dlls/activeds enable_activeds
18197 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18198 wine_fn_config_makefile dlls/adsiid enable_adsiid
18199 wine_fn_config_makefile dlls/adsldp enable_adsldp
18200 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18201 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18202 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18203 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18204 wine_fn_config_makefile dlls/advpack enable_advpack
18205 wine_fn_config_makefile dlls/advpack/tests enable_tests
18206 wine_fn_config_makefile dlls/amstream enable_amstream
18207 wine_fn_config_makefile dlls/amstream/tests enable_tests
18208 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18209 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18210 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18211 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18212 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18213 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18214 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18215 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18216 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18217 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18218 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18219 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18220 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18221 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18222 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18223 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18224 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18225 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18226 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18227 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18228 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18229 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18230 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18231 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18232 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18233 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18234 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18235 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18236 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18237 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18238 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18239 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18240 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18241 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18242 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18243 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18244 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18245 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18246 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18247 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18248 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18249 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18250 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18251 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18252 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18253 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18254 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18255 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18256 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18257 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18258 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18259 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18260 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18261 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18262 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18263 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18264 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18265 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18266 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18267 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18268 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18269 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18270 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18271 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18272 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18273 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18274 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18275 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18276 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18277 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18278 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18279 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18280 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18281 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18282 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18283 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18284 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18285 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18286 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18287 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18288 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18289 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18290 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18291 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18292 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18293 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18294 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18295 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18296 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18297 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18298 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18299 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18300 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18301 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18302 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18303 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18304 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18305 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18306 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18307 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18308 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18309 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18310 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18311 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18312 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18313 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18314 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18315 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18316 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18317 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18318 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18319 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18320 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18321 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18322 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18323 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18324 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18325 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18326 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18327 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18328 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18329 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18330 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18331 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18332 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18333 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18334 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18335 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18336 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18337 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18338 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18339 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18340 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18341 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18342 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18343 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18344 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18345 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18346 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18347 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18348 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18349 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18350 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18351 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18352 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18353 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18354 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18355 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18356 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18363 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18365 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18367 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18368 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18369 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18370 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18371 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18372 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18373 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18374 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18375 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18376 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18377 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18378 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18379 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18380 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18381 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18382 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18383 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18384 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18385 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18386 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18387 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18388 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18389 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18390 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18391 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18392 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18393 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18394 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18395 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18396 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18397 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18398 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18399 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18400 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18401 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18402 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18403 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18404 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18405 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18406 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18407 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18408 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18409 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18410 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18411 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18412 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18413 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18414 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18415 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18416 wine_fn_config_makefile dlls/apphelp enable_apphelp
18417 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18418 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18419 wine_fn_config_makefile dlls/atl enable_atl
18420 wine_fn_config_makefile dlls/atl/tests enable_tests
18421 wine_fn_config_makefile dlls/atl100 enable_atl100
18422 wine_fn_config_makefile dlls/atl100/tests enable_tests
18423 wine_fn_config_makefile dlls/atl110 enable_atl110
18424 wine_fn_config_makefile dlls/atl80 enable_atl80
18425 wine_fn_config_makefile dlls/atl80/tests enable_tests
18426 wine_fn_config_makefile dlls/atl90 enable_atl90
18427 wine_fn_config_makefile dlls/atmlib enable_atmlib
18428 wine_fn_config_makefile dlls/authz enable_authz
18429 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18430 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18431 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18432 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18433 wine_fn_config_makefile dlls/avrt enable_avrt
18434 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18435 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18436 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18437 wine_fn_config_makefile dlls/browseui enable_browseui
18438 wine_fn_config_makefile dlls/browseui/tests enable_tests
18439 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18440 wine_fn_config_makefile dlls/cabinet enable_cabinet
18441 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18442 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18443 wine_fn_config_makefile dlls/cards enable_cards
18444 wine_fn_config_makefile dlls/cdosys enable_cdosys
18445 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18446 wine_fn_config_makefile dlls/clusapi enable_clusapi
18447 wine_fn_config_makefile dlls/combase enable_combase
18448 wine_fn_config_makefile dlls/combase/tests enable_tests
18449 wine_fn_config_makefile dlls/comcat enable_comcat
18450 wine_fn_config_makefile dlls/comcat/tests enable_tests
18451 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18452 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18453 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18454 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18455 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18456 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18457 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18458 wine_fn_config_makefile dlls/compstui enable_compstui
18459 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18460 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18461 wine_fn_config_makefile dlls/connect enable_connect
18462 wine_fn_config_makefile dlls/credui enable_credui
18463 wine_fn_config_makefile dlls/credui/tests enable_tests
18464 wine_fn_config_makefile dlls/crtdll enable_crtdll
18465 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18466 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18467 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18468 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18469 wine_fn_config_makefile dlls/cryptext enable_cryptext
18470 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18471 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18472 wine_fn_config_makefile dlls/cryptui enable_cryptui
18473 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18474 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18475 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18476 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18477 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18478 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18479 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18480 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18481 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18482 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18483 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18484 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18485 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18486 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18487 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18488 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18489 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18490 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18491 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18492 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18493 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18494 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18495 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18496 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18497 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18498 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18499 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18500 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18501 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18502 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18503 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18504 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18505 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18506 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18507 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18508 wine_fn_config_makefile dlls/d3dim enable_d3dim
18509 wine_fn_config_makefile dlls/d3drm enable_d3drm
18510 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18511 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18512 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18513 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18514 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18515 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18516 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18517 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18518 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18519 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18520 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18521 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18522 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18523 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18524 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18525 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18526 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18527 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18528 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18529 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18530 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18531 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18532 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18533 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18534 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18535 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18536 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18537 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18538 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18539 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18540 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18541 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18542 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18543 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18544 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18545 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18546 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18547 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18548 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18549 wine_fn_config_makefile dlls/davclnt enable_davclnt
18550 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18551 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18552 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18553 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18554 wine_fn_config_makefile dlls/ddraw enable_ddraw
18555 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18556 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18557 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18558 wine_fn_config_makefile dlls/devenum enable_devenum
18559 wine_fn_config_makefile dlls/devenum/tests enable_tests
18560 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18561 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18562 wine_fn_config_makefile dlls/difxapi enable_difxapi
18563 wine_fn_config_makefile dlls/dinput enable_dinput
18564 wine_fn_config_makefile dlls/dinput/tests enable_tests
18565 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18566 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18567 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18568 wine_fn_config_makefile dlls/dispex enable_dispex
18569 wine_fn_config_makefile dlls/dispex/tests enable_tests
18570 wine_fn_config_makefile dlls/display.drv16 enable_win16
18571 wine_fn_config_makefile dlls/dmband enable_dmband
18572 wine_fn_config_makefile dlls/dmband/tests enable_tests
18573 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18574 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18575 wine_fn_config_makefile dlls/dmime enable_dmime
18576 wine_fn_config_makefile dlls/dmime/tests enable_tests
18577 wine_fn_config_makefile dlls/dmloader enable_dmloader
18578 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18579 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
18580 wine_fn_config_makefile dlls/dmscript enable_dmscript
18581 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18582 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18583 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18584 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18585 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18586 wine_fn_config_makefile dlls/dmusic enable_dmusic
18587 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18588 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18589 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18590 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18591 wine_fn_config_makefile dlls/dplay enable_dplay
18592 wine_fn_config_makefile dlls/dplayx enable_dplayx
18593 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18594 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18595 wine_fn_config_makefile dlls/dpnet enable_dpnet
18596 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18597 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18598 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18599 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18600 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18601 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18602 wine_fn_config_makefile dlls/drmclien enable_drmclien
18603 wine_fn_config_makefile dlls/dsound enable_dsound
18604 wine_fn_config_makefile dlls/dsound/tests enable_tests
18605 wine_fn_config_makefile dlls/dsquery enable_dsquery
18606 wine_fn_config_makefile dlls/dssenh enable_dssenh
18607 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18608 wine_fn_config_makefile dlls/dswave enable_dswave
18609 wine_fn_config_makefile dlls/dswave/tests enable_tests
18610 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18611 wine_fn_config_makefile dlls/dwrite enable_dwrite
18612 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18613 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18614 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18615 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18616 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18617 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18618 wine_fn_config_makefile dlls/dxgi enable_dxgi
18619 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18620 wine_fn_config_makefile dlls/dxguid enable_dxguid
18621 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18622 wine_fn_config_makefile dlls/esent enable_esent
18623 wine_fn_config_makefile dlls/evr enable_evr
18624 wine_fn_config_makefile dlls/evr/tests enable_tests
18625 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18626 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18627 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18628 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18629 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
18630 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18631 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18632 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18633 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18634 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18635 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18636 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18637 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18638 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
18639 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
18640 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18641 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
18642 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18643 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18644 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
18645 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18646 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18647 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18648 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
18649 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18650 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18651 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18652 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
18653 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18654 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18655 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
18656 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
18657 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18658 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
18659 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
18660 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
18661 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18662 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18663 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18664 wine_fn_config_makefile dlls/faultrep enable_faultrep
18665 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18666 wine_fn_config_makefile dlls/fltlib enable_fltlib
18667 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18668 wine_fn_config_makefile dlls/fntcache enable_fntcache
18669 wine_fn_config_makefile dlls/fontsub enable_fontsub
18670 wine_fn_config_makefile dlls/fusion enable_fusion
18671 wine_fn_config_makefile dlls/fusion/tests enable_tests
18672 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18673 wine_fn_config_makefile dlls/gameux enable_gameux
18674 wine_fn_config_makefile dlls/gameux/tests enable_tests
18675 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18676 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18677 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18678 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18679 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18680 wine_fn_config_makefile dlls/glu32 enable_glu32
18681 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18682 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18683 wine_fn_config_makefile dlls/hal enable_hal
18684 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18685 wine_fn_config_makefile dlls/hid enable_hid
18686 wine_fn_config_makefile dlls/hid/tests enable_tests
18687 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18688 wine_fn_config_makefile dlls/hlink enable_hlink
18689 wine_fn_config_makefile dlls/hlink/tests enable_tests
18690 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18691 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18692 wine_fn_config_makefile dlls/httpapi enable_httpapi
18693 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18694 wine_fn_config_makefile dlls/iccvid enable_iccvid
18695 wine_fn_config_makefile dlls/icmp enable_icmp
18696 wine_fn_config_makefile dlls/ieframe enable_ieframe
18697 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18698 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18699 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18700 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18701 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18702 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18703 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18704 wine_fn_config_makefile dlls/imm32 enable_imm32
18705 wine_fn_config_makefile dlls/imm32/tests enable_tests
18706 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18707 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18708 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18709 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18710 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18711 wine_fn_config_makefile dlls/infosoft enable_infosoft
18712 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18713 wine_fn_config_makefile dlls/initpki enable_initpki
18714 wine_fn_config_makefile dlls/inkobj enable_inkobj
18715 wine_fn_config_makefile dlls/inseng enable_inseng
18716 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18717 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18718 wine_fn_config_makefile dlls/iprop enable_iprop
18719 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18720 wine_fn_config_makefile dlls/itircl enable_itircl
18721 wine_fn_config_makefile dlls/itss enable_itss
18722 wine_fn_config_makefile dlls/itss/tests enable_tests
18723 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18724 wine_fn_config_makefile dlls/jscript enable_jscript
18725 wine_fn_config_makefile dlls/jscript/tests enable_tests
18726 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18727 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18728 wine_fn_config_makefile dlls/kerberos enable_kerberos
18729 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18730 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18731 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18732 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18733 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18734 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18735 wine_fn_config_makefile dlls/ksuser enable_ksuser
18736 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18737 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18738 wine_fn_config_makefile dlls/loadperf enable_loadperf
18739 wine_fn_config_makefile dlls/localspl enable_localspl
18740 wine_fn_config_makefile dlls/localspl/tests enable_tests
18741 wine_fn_config_makefile dlls/localui enable_localui
18742 wine_fn_config_makefile dlls/localui/tests enable_tests
18743 wine_fn_config_makefile dlls/lz32 enable_lz32
18744 wine_fn_config_makefile dlls/lz32/tests enable_tests
18745 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18746 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18747 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18748 wine_fn_config_makefile dlls/mapistub enable_mapistub
18749 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18750 wine_fn_config_makefile dlls/mcicda enable_mcicda
18751 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18752 wine_fn_config_makefile dlls/mciseq enable_mciseq
18753 wine_fn_config_makefile dlls/mciwave enable_mciwave
18754 wine_fn_config_makefile dlls/mf enable_mf
18755 wine_fn_config_makefile dlls/mf/tests enable_tests
18756 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18757 wine_fn_config_makefile dlls/mfplat enable_mfplat
18758 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18759 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18760 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18761 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18762 wine_fn_config_makefile dlls/midimap enable_midimap
18763 wine_fn_config_makefile dlls/mlang enable_mlang
18764 wine_fn_config_makefile dlls/mlang/tests enable_tests
18765 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18766 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18767 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18768 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18769 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18770 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18771 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18772 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18773 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18774 wine_fn_config_makefile dlls/mpr enable_mpr
18775 wine_fn_config_makefile dlls/mpr/tests enable_tests
18776 wine_fn_config_makefile dlls/mprapi enable_mprapi
18777 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18778 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18779 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18780 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18781 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18782 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18783 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18784 wine_fn_config_makefile dlls/mscms enable_mscms
18785 wine_fn_config_makefile dlls/mscms/tests enable_tests
18786 wine_fn_config_makefile dlls/mscoree enable_mscoree
18787 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18788 wine_fn_config_makefile dlls/msctf enable_msctf
18789 wine_fn_config_makefile dlls/msctf/tests enable_tests
18790 wine_fn_config_makefile dlls/msctfp enable_msctfp
18791 wine_fn_config_makefile dlls/msdaps enable_msdaps
18792 wine_fn_config_makefile dlls/msdelta enable_msdelta
18793 wine_fn_config_makefile dlls/msdmo enable_msdmo
18794 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18795 wine_fn_config_makefile dlls/msdrm enable_msdrm
18796 wine_fn_config_makefile dlls/msftedit enable_msftedit
18797 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18798 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18799 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18800 wine_fn_config_makefile dlls/mshtml enable_mshtml
18801 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18802 wine_fn_config_makefile dlls/msi enable_msi
18803 wine_fn_config_makefile dlls/msi/tests enable_tests
18804 wine_fn_config_makefile dlls/msident enable_msident
18805 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18806 wine_fn_config_makefile dlls/msimsg enable_msimsg
18807 wine_fn_config_makefile dlls/msimtf enable_msimtf
18808 wine_fn_config_makefile dlls/msisip enable_msisip
18809 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18810 wine_fn_config_makefile dlls/msls31 enable_msls31
18811 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18812 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18813 wine_fn_config_makefile dlls/msports enable_msports
18814 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18815 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18816 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18817 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18818 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18819 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18820 wine_fn_config_makefile dlls/mstask enable_mstask
18821 wine_fn_config_makefile dlls/mstask/tests enable_tests
18822 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18823 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18824 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18825 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18826 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18827 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18828 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18829 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18830 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18831 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18832 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18833 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18834 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18835 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18836 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18837 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18838 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18839 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18840 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18841 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18842 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18843 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18844 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18845 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
18846 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18847 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18848 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18849 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18850 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18851 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18852 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18853 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18854 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18855 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18856 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18857 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18858 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18859 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
18860 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
18861 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
18862 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
18863 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
18864 wine_fn_config_makefile dlls/mswsock enable_mswsock
18865 wine_fn_config_makefile dlls/msxml enable_msxml
18866 wine_fn_config_makefile dlls/msxml2 enable_msxml2
18867 wine_fn_config_makefile dlls/msxml3 enable_msxml3
18868 wine_fn_config_makefile dlls/msxml3/tests enable_tests
18869 wine_fn_config_makefile dlls/msxml4 enable_msxml4
18870 wine_fn_config_makefile dlls/msxml6 enable_msxml6
18871 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
18872 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
18873 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
18874 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
18875 wine_fn_config_makefile dlls/netapi32 enable_netapi32
18876 wine_fn_config_makefile dlls/netapi32/tests enable_tests
18877 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
18878 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
18879 wine_fn_config_makefile dlls/netprofm enable_netprofm
18880 wine_fn_config_makefile dlls/netprofm/tests enable_tests
18881 wine_fn_config_makefile dlls/newdev enable_newdev
18882 wine_fn_config_makefile dlls/ninput enable_ninput
18883 wine_fn_config_makefile dlls/normaliz enable_normaliz
18884 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
18885 wine_fn_config_makefile dlls/npptools enable_npptools
18886 wine_fn_config_makefile dlls/ntdll enable_ntdll
18887 wine_fn_config_makefile dlls/ntdll/tests enable_tests
18888 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
18889 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
18890 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
18891 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
18892 wine_fn_config_makefile dlls/ntprint enable_ntprint
18893 wine_fn_config_makefile dlls/ntprint/tests enable_tests
18894 wine_fn_config_makefile dlls/objsel enable_objsel
18895 wine_fn_config_makefile dlls/odbc32 enable_odbc32
18896 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
18897 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
18898 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
18899 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
18900 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
18901 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
18902 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
18903 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
18904 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
18905 wine_fn_config_makefile dlls/ole32 enable_ole32
18906 wine_fn_config_makefile dlls/ole32/tests enable_tests
18907 wine_fn_config_makefile dlls/oleacc enable_oleacc
18908 wine_fn_config_makefile dlls/oleacc/tests enable_tests
18909 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
18910 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
18911 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
18912 wine_fn_config_makefile dlls/olecli32 enable_olecli32
18913 wine_fn_config_makefile dlls/oledb32 enable_oledb32
18914 wine_fn_config_makefile dlls/oledb32/tests enable_tests
18915 wine_fn_config_makefile dlls/oledlg enable_oledlg
18916 wine_fn_config_makefile dlls/oledlg/tests enable_tests
18917 wine_fn_config_makefile dlls/olepro32 enable_olepro32
18918 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
18919 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
18920 wine_fn_config_makefile dlls/olethk32 enable_olethk32
18921 wine_fn_config_makefile dlls/openal32 enable_openal32
18922 wine_fn_config_makefile dlls/opencl enable_opencl
18923 wine_fn_config_makefile dlls/opengl32 enable_opengl32
18924 wine_fn_config_makefile dlls/opengl32/tests enable_tests
18925 wine_fn_config_makefile dlls/packager enable_packager
18926 wine_fn_config_makefile dlls/packager/tests enable_tests
18927 wine_fn_config_makefile dlls/pdh enable_pdh
18928 wine_fn_config_makefile dlls/pdh/tests enable_tests
18929 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
18930 wine_fn_config_makefile dlls/pidgen enable_pidgen
18931 wine_fn_config_makefile dlls/powrprof enable_powrprof
18932 wine_fn_config_makefile dlls/printui enable_printui
18933 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
18934 wine_fn_config_makefile dlls/propsys enable_propsys
18935 wine_fn_config_makefile dlls/propsys/tests enable_tests
18936 wine_fn_config_makefile dlls/psapi enable_psapi
18937 wine_fn_config_makefile dlls/psapi/tests enable_tests
18938 wine_fn_config_makefile dlls/pstorec enable_pstorec
18939 wine_fn_config_makefile dlls/pstorec/tests enable_tests
18940 wine_fn_config_makefile dlls/qcap enable_qcap
18941 wine_fn_config_makefile dlls/qcap/tests enable_tests
18942 wine_fn_config_makefile dlls/qedit enable_qedit
18943 wine_fn_config_makefile dlls/qedit/tests enable_tests
18944 wine_fn_config_makefile dlls/qmgr enable_qmgr
18945 wine_fn_config_makefile dlls/qmgr/tests enable_tests
18946 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
18947 wine_fn_config_makefile dlls/quartz enable_quartz
18948 wine_fn_config_makefile dlls/quartz/tests enable_tests
18949 wine_fn_config_makefile dlls/query enable_query
18950 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
18951 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
18952 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
18953 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
18954 wine_fn_config_makefile dlls/regapi enable_regapi
18955 wine_fn_config_makefile dlls/resutils enable_resutils
18956 wine_fn_config_makefile dlls/riched20 enable_riched20
18957 wine_fn_config_makefile dlls/riched20/tests enable_tests
18958 wine_fn_config_makefile dlls/riched32 enable_riched32
18959 wine_fn_config_makefile dlls/riched32/tests enable_tests
18960 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
18961 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
18962 wine_fn_config_makefile dlls/rsabase enable_rsabase
18963 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
18964 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
18965 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
18966 wine_fn_config_makefile dlls/rtutils enable_rtutils
18967 wine_fn_config_makefile dlls/samlib enable_samlib
18968 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
18969 wine_fn_config_makefile dlls/sapi enable_sapi
18970 wine_fn_config_makefile dlls/sapi/tests enable_tests
18971 wine_fn_config_makefile dlls/sas enable_sas
18972 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
18973 wine_fn_config_makefile dlls/sccbase enable_sccbase
18974 wine_fn_config_makefile dlls/schannel enable_schannel
18975 wine_fn_config_makefile dlls/schannel/tests enable_tests
18976 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
18977 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
18978 wine_fn_config_makefile dlls/scrobj enable_scrobj
18979 wine_fn_config_makefile dlls/scrrun enable_scrrun
18980 wine_fn_config_makefile dlls/scrrun/tests enable_tests
18981 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
18982 wine_fn_config_makefile dlls/secur32 enable_secur32
18983 wine_fn_config_makefile dlls/secur32/tests enable_tests
18984 wine_fn_config_makefile dlls/security enable_security
18985 wine_fn_config_makefile dlls/sensapi enable_sensapi
18986 wine_fn_config_makefile dlls/serialui enable_serialui
18987 wine_fn_config_makefile dlls/serialui/tests enable_tests
18988 wine_fn_config_makefile dlls/setupapi enable_setupapi
18989 wine_fn_config_makefile dlls/setupapi/tests enable_tests
18990 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
18991 wine_fn_config_makefile dlls/sfc enable_sfc
18992 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
18993 wine_fn_config_makefile dlls/shcore enable_shcore
18994 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
18995 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
18996 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
18997 wine_fn_config_makefile dlls/shell.dll16 enable_win16
18998 wine_fn_config_makefile dlls/shell32 enable_shell32
18999 wine_fn_config_makefile dlls/shell32/tests enable_tests
19000 wine_fn_config_makefile dlls/shfolder enable_shfolder
19001 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19002 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19003 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19004 wine_fn_config_makefile dlls/slc enable_slc
19005 wine_fn_config_makefile dlls/slc/tests enable_tests
19006 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19007 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19008 wine_fn_config_makefile dlls/softpub enable_softpub
19009 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19010 wine_fn_config_makefile dlls/spoolss enable_spoolss
19011 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19012 wine_fn_config_makefile dlls/srclient enable_srclient
19013 wine_fn_config_makefile dlls/sspicli enable_sspicli
19014 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19015 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19016 wine_fn_config_makefile dlls/sti enable_sti
19017 wine_fn_config_makefile dlls/sti/tests enable_tests
19018 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19019 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19020 wine_fn_config_makefile dlls/strmbase enable_strmbase
19021 wine_fn_config_makefile dlls/strmdll enable_strmdll
19022 wine_fn_config_makefile dlls/strmiids enable_strmiids
19023 wine_fn_config_makefile dlls/svrapi enable_svrapi
19024 wine_fn_config_makefile dlls/sxs enable_sxs
19025 wine_fn_config_makefile dlls/sxs/tests enable_tests
19026 wine_fn_config_makefile dlls/system.drv16 enable_win16
19027 wine_fn_config_makefile dlls/t2embed enable_t2embed
19028 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19029 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19030 wine_fn_config_makefile dlls/taskschd enable_taskschd
19031 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19032 wine_fn_config_makefile dlls/tdh enable_tdh
19033 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19034 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19035 wine_fn_config_makefile dlls/traffic enable_traffic
19036 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19037 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19038 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19039 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19040 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19041 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19042 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19043 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19044 wine_fn_config_makefile dlls/unicows enable_unicows
19045 wine_fn_config_makefile dlls/updspapi enable_updspapi
19046 wine_fn_config_makefile dlls/url enable_url
19047 wine_fn_config_makefile dlls/urlmon enable_urlmon
19048 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19049 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19050 wine_fn_config_makefile dlls/user.exe16 enable_win16
19051 wine_fn_config_makefile dlls/user32 enable_user32
19052 wine_fn_config_makefile dlls/user32/tests enable_tests
19053 wine_fn_config_makefile dlls/userenv enable_userenv
19054 wine_fn_config_makefile dlls/userenv/tests enable_tests
19055 wine_fn_config_makefile dlls/usp10 enable_usp10
19056 wine_fn_config_makefile dlls/usp10/tests enable_tests
19057 wine_fn_config_makefile dlls/uuid enable_uuid
19058 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19059 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19060 wine_fn_config_makefile dlls/vbscript enable_vbscript
19061 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19062 wine_fn_config_makefile dlls/vcomp enable_vcomp
19063 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19064 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19065 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19066 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19067 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19068 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19069 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19070 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19071 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19072 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19073 wine_fn_config_makefile dlls/version enable_version
19074 wine_fn_config_makefile dlls/version/tests enable_tests
19075 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19076 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19077 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19078 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19079 wine_fn_config_makefile dlls/vssapi enable_vssapi
19080 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19081 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19082 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19083 wine_fn_config_makefile dlls/w32skrnl enable_win16
19084 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19085 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19086 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19087 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19088 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19089 wine_fn_config_makefile dlls/wdscore enable_wdscore
19090 wine_fn_config_makefile dlls/webservices enable_webservices
19091 wine_fn_config_makefile dlls/webservices/tests enable_tests
19092 wine_fn_config_makefile dlls/wer enable_wer
19093 wine_fn_config_makefile dlls/wer/tests enable_tests
19094 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19095 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19096 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19097 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19098 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19099 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19100 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19101 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19102 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19103 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19104 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19105 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19106 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19107 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19108 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19109 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19110 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19111 wine_fn_config_makefile dlls/wined3d enable_wined3d
19112 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19113 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19114 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19115 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19116 wine_fn_config_makefile dlls/winemapi enable_winemapi
19117 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19118 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19119 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19120 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19121 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19122 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19123 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19124 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19125 wine_fn_config_makefile dlls/wing32 enable_wing32
19126 wine_fn_config_makefile dlls/winhttp enable_winhttp
19127 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19128 wine_fn_config_makefile dlls/wininet enable_wininet
19129 wine_fn_config_makefile dlls/wininet/tests enable_tests
19130 wine_fn_config_makefile dlls/winmm enable_winmm
19131 wine_fn_config_makefile dlls/winmm/tests enable_tests
19132 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19133 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19134 wine_fn_config_makefile dlls/winscard enable_winscard
19135 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19136 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19137 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19138 wine_fn_config_makefile dlls/winsta enable_winsta
19139 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19140 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19141 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19142 wine_fn_config_makefile dlls/wintrust enable_wintrust
19143 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19144 wine_fn_config_makefile dlls/winusb enable_winusb
19145 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19146 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19147 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19148 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19149 wine_fn_config_makefile dlls/wmasf enable_wmasf
19150 wine_fn_config_makefile dlls/wmi enable_wmi
19151 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19152 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19153 wine_fn_config_makefile dlls/wmp enable_wmp
19154 wine_fn_config_makefile dlls/wmp/tests enable_tests
19155 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19156 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19157 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19158 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19159 wine_fn_config_makefile dlls/wow32 enable_win16
19160 wine_fn_config_makefile dlls/wpc enable_wpc
19161 wine_fn_config_makefile dlls/wpc/tests enable_tests
19162 wine_fn_config_makefile dlls/wpcap enable_wpcap
19163 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19164 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19165 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19166 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19167 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19168 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19169 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19170 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19171 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19172 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19173 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19174 wine_fn_config_makefile dlls/wuapi enable_wuapi
19175 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19176 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19177 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19178 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19179 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19180 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19181 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19182 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19183 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19184 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19185 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19186 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19187 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19188 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19189 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19190 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19191 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19192 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19193 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19194 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19195 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19196 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19197 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19198 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19199 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19200 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19201 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19202 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19203 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19204 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19205 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19206 wine_fn_config_makefile dlls/xmllite enable_xmllite
19207 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19208 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19209 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19210 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19211 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19212 wine_fn_config_makefile include enable_include
19213 wine_fn_config_makefile libs/port enable_port
19214 wine_fn_config_makefile libs/wine enable_wine
19215 wine_fn_config_makefile libs/wpp enable_wpp
19216 wine_fn_config_makefile loader enable_loader
19217 wine_fn_config_makefile po enable_po
19218 wine_fn_config_makefile programs/arp enable_arp
19219 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19220 wine_fn_config_makefile programs/attrib enable_attrib
19221 wine_fn_config_makefile programs/cabarc enable_cabarc
19222 wine_fn_config_makefile programs/cacls enable_cacls
19223 wine_fn_config_makefile programs/clock enable_clock
19224 wine_fn_config_makefile programs/cmd enable_cmd
19225 wine_fn_config_makefile programs/cmd/tests enable_tests
19226 wine_fn_config_makefile programs/conhost enable_conhost
19227 wine_fn_config_makefile programs/control enable_control
19228 wine_fn_config_makefile programs/cscript enable_cscript
19229 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19230 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19231 wine_fn_config_makefile programs/eject enable_eject
19232 wine_fn_config_makefile programs/expand enable_expand
19233 wine_fn_config_makefile programs/explorer enable_explorer
19234 wine_fn_config_makefile programs/extrac32 enable_extrac32
19235 wine_fn_config_makefile programs/findstr enable_findstr
19236 wine_fn_config_makefile programs/fsutil enable_fsutil
19237 wine_fn_config_makefile programs/hh enable_hh
19238 wine_fn_config_makefile programs/hostname enable_hostname
19239 wine_fn_config_makefile programs/icacls enable_icacls
19240 wine_fn_config_makefile programs/icinfo enable_icinfo
19241 wine_fn_config_makefile programs/iexplore enable_iexplore
19242 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19243 wine_fn_config_makefile programs/lodctr enable_lodctr
19244 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19245 wine_fn_config_makefile programs/mshta enable_mshta
19246 wine_fn_config_makefile programs/msiexec enable_msiexec
19247 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19248 wine_fn_config_makefile programs/net enable_net
19249 wine_fn_config_makefile programs/netsh enable_netsh
19250 wine_fn_config_makefile programs/netstat enable_netstat
19251 wine_fn_config_makefile programs/ngen enable_ngen
19252 wine_fn_config_makefile programs/notepad enable_notepad
19253 wine_fn_config_makefile programs/oleview enable_oleview
19254 wine_fn_config_makefile programs/ping enable_ping
19255 wine_fn_config_makefile programs/plugplay enable_plugplay
19256 wine_fn_config_makefile programs/powershell enable_powershell
19257 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19258 wine_fn_config_makefile programs/progman enable_progman
19259 wine_fn_config_makefile programs/reg enable_reg
19260 wine_fn_config_makefile programs/reg/tests enable_tests
19261 wine_fn_config_makefile programs/regasm enable_regasm
19262 wine_fn_config_makefile programs/regedit enable_regedit
19263 wine_fn_config_makefile programs/regedit/tests enable_tests
19264 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19265 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19266 wine_fn_config_makefile programs/rpcss enable_rpcss
19267 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19268 wine_fn_config_makefile programs/rundll32 enable_rundll32
19269 wine_fn_config_makefile programs/sc enable_sc
19270 wine_fn_config_makefile programs/schtasks enable_schtasks
19271 wine_fn_config_makefile programs/schtasks/tests enable_tests
19272 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19273 wine_fn_config_makefile programs/secedit enable_secedit
19274 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19275 wine_fn_config_makefile programs/services enable_services
19276 wine_fn_config_makefile programs/services/tests enable_tests
19277 wine_fn_config_makefile programs/shutdown enable_shutdown
19278 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19279 wine_fn_config_makefile programs/start enable_start
19280 wine_fn_config_makefile programs/subst enable_subst
19281 wine_fn_config_makefile programs/svchost enable_svchost
19282 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19283 wine_fn_config_makefile programs/taskkill enable_taskkill
19284 wine_fn_config_makefile programs/tasklist enable_tasklist
19285 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19286 wine_fn_config_makefile programs/termsv enable_termsv
19287 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19288 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19289 wine_fn_config_makefile programs/view enable_view
19290 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19291 wine_fn_config_makefile programs/wineboot enable_wineboot
19292 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19293 wine_fn_config_makefile programs/winecfg enable_winecfg
19294 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19295 wine_fn_config_makefile programs/winedbg enable_winedbg
19296 wine_fn_config_makefile programs/winedevice enable_winedevice
19297 wine_fn_config_makefile programs/winefile enable_winefile
19298 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19299 wine_fn_config_makefile programs/winemine enable_winemine
19300 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19301 wine_fn_config_makefile programs/winepath enable_winepath
19302 wine_fn_config_makefile programs/winetest enable_winetest
19303 wine_fn_config_makefile programs/winevdm enable_win16
19304 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19305 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19306 wine_fn_config_makefile programs/winmgmt enable_winmgmt
19307 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19308 wine_fn_config_makefile programs/winver enable_winver
19309 wine_fn_config_makefile programs/wmic enable_wmic
19310 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19311 wine_fn_config_makefile programs/wordpad enable_wordpad
19312 wine_fn_config_makefile programs/write enable_write
19313 wine_fn_config_makefile programs/wscript enable_wscript
19314 wine_fn_config_makefile programs/wscript/tests enable_tests
19315 wine_fn_config_makefile programs/wusa enable_wusa
19316 wine_fn_config_makefile programs/xcopy enable_xcopy
19317 wine_fn_config_makefile programs/xcopy/tests enable_tests
19318 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19319 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19320 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19321 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19322 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19323 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19324 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19325 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19326 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19327 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19330 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19331 wine_fn_append_file CONFIGURE_TARGETS "tags"
19332 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19333 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19334 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19335 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19336 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19337 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19339 if test "x$enable_tools" != xno
19340 then
19341 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19342 ac_config_commands="$ac_config_commands tools/makedep"
19346 ac_config_commands="$ac_config_commands Makefile"
19349 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19353 if test "x$enable_maintainer_mode" = xyes
19354 then
19355 wine_fn_append_rule "configure: configure.ac aclocal.m4
19356 autoconf --warnings=all
19357 include/config.h.in: include/stamp-h.in
19358 include/stamp-h.in: configure.ac aclocal.m4
19359 autoheader --warnings=all
19360 @echo timestamp > \$@"
19363 if test "x$enable_tools" != xno
19364 then
19365 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19366 @./config.status tools/makedep
19367 Makefile: tools/makedep$ac_exeext
19368 fonts: tools/sfnt2fon
19369 include: tools tools/widl"
19370 else
19371 wine_fn_append_rule "\$(MAKEDEP):
19372 @echo \"You need to run make in $TOOLSDIR first\" && false"
19375 if test -n "$with_wine64"
19376 then
19377 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19378 fonts server:
19379 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19380 $with_wine64/loader/wine:
19381 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19382 $with_wine64/loader/wine-preloader:
19383 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19384 clean::
19385 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19386 else
19387 WINELOADER_INSTALL="wine.inf l_intl.nls"
19389 case $host_os in
19390 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19391 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19392 esac
19395 $as_echo " done" >&6
19396 cat >confcache <<\_ACEOF
19397 # This file is a shell script that caches the results of configure
19398 # tests run on this system so they can be shared between configure
19399 # scripts and configure runs, see configure's option --config-cache.
19400 # It is not useful on other systems. If it contains results you don't
19401 # want to keep, you may remove or edit it.
19403 # config.status only pays attention to the cache file if you give it
19404 # the --recheck option to rerun configure.
19406 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19407 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19408 # following values.
19410 _ACEOF
19412 # The following way of writing the cache mishandles newlines in values,
19413 # but we know of no workaround that is simple, portable, and efficient.
19414 # So, we kill variables containing newlines.
19415 # Ultrix sh set writes to stderr and can't be redirected directly,
19416 # and sets the high bit in the cache file unless we assign to the vars.
19418 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19419 eval ac_val=\$$ac_var
19420 case $ac_val in #(
19421 *${as_nl}*)
19422 case $ac_var in #(
19423 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19424 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19425 esac
19426 case $ac_var in #(
19427 _ | IFS | as_nl) ;; #(
19428 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19429 *) { eval $ac_var=; unset $ac_var;} ;;
19430 esac ;;
19431 esac
19432 done
19434 (set) 2>&1 |
19435 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19436 *${as_nl}ac_space=\ *)
19437 # `set' does not quote correctly, so add quotes: double-quote
19438 # substitution turns \\\\ into \\, and sed turns \\ into \.
19439 sed -n \
19440 "s/'/'\\\\''/g;
19441 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19442 ;; #(
19444 # `set' quotes correctly as required by POSIX, so do not add quotes.
19445 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19447 esac |
19448 sort
19450 sed '
19451 /^ac_cv_env_/b end
19452 t clear
19453 :clear
19454 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19455 t end
19456 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19457 :end' >>confcache
19458 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19459 if test -w "$cache_file"; then
19460 if test "x$cache_file" != "x/dev/null"; then
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19462 $as_echo "$as_me: updating cache $cache_file" >&6;}
19463 if test ! -f "$cache_file" || test -h "$cache_file"; then
19464 cat confcache >"$cache_file"
19465 else
19466 case $cache_file in #(
19467 */* | ?:*)
19468 mv -f confcache "$cache_file"$$ &&
19469 mv -f "$cache_file"$$ "$cache_file" ;; #(
19471 mv -f confcache "$cache_file" ;;
19472 esac
19475 else
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19477 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19480 rm -f confcache
19482 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19483 # Let make expand exec_prefix.
19484 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19486 DEFS=-DHAVE_CONFIG_H
19488 ac_libobjs=
19489 ac_ltlibobjs=
19491 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19492 # 1. Remove the extension, and $U if already installed.
19493 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19494 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19495 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19496 # will be set to the directory where LIBOBJS objects are built.
19497 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19498 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19499 done
19500 LIBOBJS=$ac_libobjs
19502 LTLIBOBJS=$ac_ltlibobjs
19506 : "${CONFIG_STATUS=./config.status}"
19507 ac_write_fail=0
19508 ac_clean_files_save=$ac_clean_files
19509 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19511 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19512 as_write_fail=0
19513 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19514 #! $SHELL
19515 # Generated by $as_me.
19516 # Run this file to recreate the current configuration.
19517 # Compiler output produced by configure, useful for debugging
19518 # configure, is in config.log if it exists.
19520 debug=false
19521 ac_cs_recheck=false
19522 ac_cs_silent=false
19524 SHELL=\${CONFIG_SHELL-$SHELL}
19525 export SHELL
19526 _ASEOF
19527 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19528 ## -------------------- ##
19529 ## M4sh Initialization. ##
19530 ## -------------------- ##
19532 # Be more Bourne compatible
19533 DUALCASE=1; export DUALCASE # for MKS sh
19534 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19535 emulate sh
19536 NULLCMD=:
19537 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19538 # is contrary to our usage. Disable this feature.
19539 alias -g '${1+"$@"}'='"$@"'
19540 setopt NO_GLOB_SUBST
19541 else
19542 case `(set -o) 2>/dev/null` in #(
19543 *posix*) :
19544 set -o posix ;; #(
19545 *) :
19547 esac
19551 as_nl='
19553 export as_nl
19554 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19555 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19556 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19557 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19558 # Prefer a ksh shell builtin over an external printf program on Solaris,
19559 # but without wasting forks for bash or zsh.
19560 if test -z "$BASH_VERSION$ZSH_VERSION" \
19561 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19562 as_echo='print -r --'
19563 as_echo_n='print -rn --'
19564 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19565 as_echo='printf %s\n'
19566 as_echo_n='printf %s'
19567 else
19568 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19569 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19570 as_echo_n='/usr/ucb/echo -n'
19571 else
19572 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19573 as_echo_n_body='eval
19574 arg=$1;
19575 case $arg in #(
19576 *"$as_nl"*)
19577 expr "X$arg" : "X\\(.*\\)$as_nl";
19578 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19579 esac;
19580 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19582 export as_echo_n_body
19583 as_echo_n='sh -c $as_echo_n_body as_echo'
19585 export as_echo_body
19586 as_echo='sh -c $as_echo_body as_echo'
19589 # The user is always right.
19590 if test "${PATH_SEPARATOR+set}" != set; then
19591 PATH_SEPARATOR=:
19592 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19593 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19594 PATH_SEPARATOR=';'
19599 # IFS
19600 # We need space, tab and new line, in precisely that order. Quoting is
19601 # there to prevent editors from complaining about space-tab.
19602 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19603 # splitting by setting IFS to empty value.)
19604 IFS=" "" $as_nl"
19606 # Find who we are. Look in the path if we contain no directory separator.
19607 as_myself=
19608 case $0 in #((
19609 *[\\/]* ) as_myself=$0 ;;
19610 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19611 for as_dir in $PATH
19613 IFS=$as_save_IFS
19614 test -z "$as_dir" && as_dir=.
19615 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19616 done
19617 IFS=$as_save_IFS
19620 esac
19621 # We did not find ourselves, most probably we were run as `sh COMMAND'
19622 # in which case we are not to be found in the path.
19623 if test "x$as_myself" = x; then
19624 as_myself=$0
19626 if test ! -f "$as_myself"; then
19627 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19628 exit 1
19631 # Unset variables that we do not need and which cause bugs (e.g. in
19632 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19633 # suppresses any "Segmentation fault" message there. '((' could
19634 # trigger a bug in pdksh 5.2.14.
19635 for as_var in BASH_ENV ENV MAIL MAILPATH
19636 do eval test x\${$as_var+set} = xset \
19637 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19638 done
19639 PS1='$ '
19640 PS2='> '
19641 PS4='+ '
19643 # NLS nuisances.
19644 LC_ALL=C
19645 export LC_ALL
19646 LANGUAGE=C
19647 export LANGUAGE
19649 # CDPATH.
19650 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19653 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19654 # ----------------------------------------
19655 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19656 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19657 # script with STATUS, using 1 if that was 0.
19658 as_fn_error ()
19660 as_status=$1; test $as_status -eq 0 && as_status=1
19661 if test "$4"; then
19662 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19663 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19665 $as_echo "$as_me: error: $2" >&2
19666 as_fn_exit $as_status
19667 } # as_fn_error
19670 # as_fn_set_status STATUS
19671 # -----------------------
19672 # Set $? to STATUS, without forking.
19673 as_fn_set_status ()
19675 return $1
19676 } # as_fn_set_status
19678 # as_fn_exit STATUS
19679 # -----------------
19680 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19681 as_fn_exit ()
19683 set +e
19684 as_fn_set_status $1
19685 exit $1
19686 } # as_fn_exit
19688 # as_fn_unset VAR
19689 # ---------------
19690 # Portably unset VAR.
19691 as_fn_unset ()
19693 { eval $1=; unset $1;}
19695 as_unset=as_fn_unset
19696 # as_fn_append VAR VALUE
19697 # ----------------------
19698 # Append the text in VALUE to the end of the definition contained in VAR. Take
19699 # advantage of any shell optimizations that allow amortized linear growth over
19700 # repeated appends, instead of the typical quadratic growth present in naive
19701 # implementations.
19702 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19703 eval 'as_fn_append ()
19705 eval $1+=\$2
19707 else
19708 as_fn_append ()
19710 eval $1=\$$1\$2
19712 fi # as_fn_append
19714 # as_fn_arith ARG...
19715 # ------------------
19716 # Perform arithmetic evaluation on the ARGs, and store the result in the
19717 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19718 # must be portable across $(()) and expr.
19719 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19720 eval 'as_fn_arith ()
19722 as_val=$(( $* ))
19724 else
19725 as_fn_arith ()
19727 as_val=`expr "$@" || test $? -eq 1`
19729 fi # as_fn_arith
19732 if expr a : '\(a\)' >/dev/null 2>&1 &&
19733 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19734 as_expr=expr
19735 else
19736 as_expr=false
19739 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19740 as_basename=basename
19741 else
19742 as_basename=false
19745 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19746 as_dirname=dirname
19747 else
19748 as_dirname=false
19751 as_me=`$as_basename -- "$0" ||
19752 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19753 X"$0" : 'X\(//\)$' \| \
19754 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19755 $as_echo X/"$0" |
19756 sed '/^.*\/\([^/][^/]*\)\/*$/{
19757 s//\1/
19760 /^X\/\(\/\/\)$/{
19761 s//\1/
19764 /^X\/\(\/\).*/{
19765 s//\1/
19768 s/.*/./; q'`
19770 # Avoid depending upon Character Ranges.
19771 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19772 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19773 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19774 as_cr_digits='0123456789'
19775 as_cr_alnum=$as_cr_Letters$as_cr_digits
19777 ECHO_C= ECHO_N= ECHO_T=
19778 case `echo -n x` in #(((((
19779 -n*)
19780 case `echo 'xy\c'` in
19781 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19782 xy) ECHO_C='\c';;
19783 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19784 ECHO_T=' ';;
19785 esac;;
19787 ECHO_N='-n';;
19788 esac
19790 rm -f conf$$ conf$$.exe conf$$.file
19791 if test -d conf$$.dir; then
19792 rm -f conf$$.dir/conf$$.file
19793 else
19794 rm -f conf$$.dir
19795 mkdir conf$$.dir 2>/dev/null
19797 if (echo >conf$$.file) 2>/dev/null; then
19798 if ln -s conf$$.file conf$$ 2>/dev/null; then
19799 as_ln_s='ln -s'
19800 # ... but there are two gotchas:
19801 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19802 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19803 # In both cases, we have to default to `cp -pR'.
19804 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19805 as_ln_s='cp -pR'
19806 elif ln conf$$.file conf$$ 2>/dev/null; then
19807 as_ln_s=ln
19808 else
19809 as_ln_s='cp -pR'
19811 else
19812 as_ln_s='cp -pR'
19814 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19815 rmdir conf$$.dir 2>/dev/null
19818 # as_fn_mkdir_p
19819 # -------------
19820 # Create "$as_dir" as a directory, including parents if necessary.
19821 as_fn_mkdir_p ()
19824 case $as_dir in #(
19825 -*) as_dir=./$as_dir;;
19826 esac
19827 test -d "$as_dir" || eval $as_mkdir_p || {
19828 as_dirs=
19829 while :; do
19830 case $as_dir in #(
19831 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19832 *) as_qdir=$as_dir;;
19833 esac
19834 as_dirs="'$as_qdir' $as_dirs"
19835 as_dir=`$as_dirname -- "$as_dir" ||
19836 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19837 X"$as_dir" : 'X\(//\)[^/]' \| \
19838 X"$as_dir" : 'X\(//\)$' \| \
19839 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19840 $as_echo X"$as_dir" |
19841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19842 s//\1/
19845 /^X\(\/\/\)[^/].*/{
19846 s//\1/
19849 /^X\(\/\/\)$/{
19850 s//\1/
19853 /^X\(\/\).*/{
19854 s//\1/
19857 s/.*/./; q'`
19858 test -d "$as_dir" && break
19859 done
19860 test -z "$as_dirs" || eval "mkdir $as_dirs"
19861 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19864 } # as_fn_mkdir_p
19865 if mkdir -p . 2>/dev/null; then
19866 as_mkdir_p='mkdir -p "$as_dir"'
19867 else
19868 test -d ./-p && rmdir ./-p
19869 as_mkdir_p=false
19873 # as_fn_executable_p FILE
19874 # -----------------------
19875 # Test if FILE is an executable regular file.
19876 as_fn_executable_p ()
19878 test -f "$1" && test -x "$1"
19879 } # as_fn_executable_p
19880 as_test_x='test -x'
19881 as_executable_p=as_fn_executable_p
19883 # Sed expression to map a string onto a valid CPP name.
19884 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19886 # Sed expression to map a string onto a valid variable name.
19887 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19890 exec 6>&1
19891 ## ----------------------------------- ##
19892 ## Main body of $CONFIG_STATUS script. ##
19893 ## ----------------------------------- ##
19894 _ASEOF
19895 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19898 # Save the log message, to keep $0 and so on meaningful, and to
19899 # report actual input values of CONFIG_FILES etc. instead of their
19900 # values after options handling.
19901 ac_log="
19902 This file was extended by Wine $as_me 3.7, which was
19903 generated by GNU Autoconf 2.69. Invocation command line was
19905 CONFIG_FILES = $CONFIG_FILES
19906 CONFIG_HEADERS = $CONFIG_HEADERS
19907 CONFIG_LINKS = $CONFIG_LINKS
19908 CONFIG_COMMANDS = $CONFIG_COMMANDS
19909 $ $0 $@
19911 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19914 _ACEOF
19916 case $ac_config_files in *"
19917 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19918 esac
19920 case $ac_config_headers in *"
19921 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19922 esac
19925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19926 # Files that config.status was made for.
19927 config_files="$ac_config_files"
19928 config_headers="$ac_config_headers"
19929 config_links="$ac_config_links"
19930 config_commands="$ac_config_commands"
19932 _ACEOF
19934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19935 ac_cs_usage="\
19936 \`$as_me' instantiates files and other configuration actions
19937 from templates according to the current configuration. Unless the files
19938 and actions are specified as TAGs, all are instantiated by default.
19940 Usage: $0 [OPTION]... [TAG]...
19942 -h, --help print this help, then exit
19943 -V, --version print version number and configuration settings, then exit
19944 --config print configuration, then exit
19945 -q, --quiet, --silent
19946 do not print progress messages
19947 -d, --debug don't remove temporary files
19948 --recheck update $as_me by reconfiguring in the same conditions
19949 --file=FILE[:TEMPLATE]
19950 instantiate the configuration file FILE
19951 --header=FILE[:TEMPLATE]
19952 instantiate the configuration header FILE
19954 Configuration files:
19955 $config_files
19957 Configuration headers:
19958 $config_headers
19960 Configuration links:
19961 $config_links
19963 Configuration commands:
19964 $config_commands
19966 Report bugs to <wine-devel@winehq.org>.
19967 Wine home page: <https://www.winehq.org>."
19969 _ACEOF
19970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19971 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19972 ac_cs_version="\\
19973 Wine config.status 3.7
19974 configured by $0, generated by GNU Autoconf 2.69,
19975 with options \\"\$ac_cs_config\\"
19977 Copyright (C) 2012 Free Software Foundation, Inc.
19978 This config.status script is free software; the Free Software Foundation
19979 gives unlimited permission to copy, distribute and modify it."
19981 ac_pwd='$ac_pwd'
19982 srcdir='$srcdir'
19983 test -n "\$AWK" || AWK=awk
19984 _ACEOF
19986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19987 # The default lists apply if the user does not specify any file.
19988 ac_need_defaults=:
19989 while test $# != 0
19991 case $1 in
19992 --*=?*)
19993 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19994 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19995 ac_shift=:
19997 --*=)
19998 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19999 ac_optarg=
20000 ac_shift=:
20003 ac_option=$1
20004 ac_optarg=$2
20005 ac_shift=shift
20007 esac
20009 case $ac_option in
20010 # Handling of the options.
20011 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20012 ac_cs_recheck=: ;;
20013 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20014 $as_echo "$ac_cs_version"; exit ;;
20015 --config | --confi | --conf | --con | --co | --c )
20016 $as_echo "$ac_cs_config"; exit ;;
20017 --debug | --debu | --deb | --de | --d | -d )
20018 debug=: ;;
20019 --file | --fil | --fi | --f )
20020 $ac_shift
20021 case $ac_optarg in
20022 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20023 '') as_fn_error $? "missing file argument" ;;
20024 esac
20025 as_fn_append CONFIG_FILES " '$ac_optarg'"
20026 ac_need_defaults=false;;
20027 --header | --heade | --head | --hea )
20028 $ac_shift
20029 case $ac_optarg in
20030 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20031 esac
20032 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20033 ac_need_defaults=false;;
20034 --he | --h)
20035 # Conflict between --help and --header
20036 as_fn_error $? "ambiguous option: \`$1'
20037 Try \`$0 --help' for more information.";;
20038 --help | --hel | -h )
20039 $as_echo "$ac_cs_usage"; exit ;;
20040 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20041 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20042 ac_cs_silent=: ;;
20044 # This is an error.
20045 -*) as_fn_error $? "unrecognized option: \`$1'
20046 Try \`$0 --help' for more information." ;;
20048 *) as_fn_append ac_config_targets " $1"
20049 ac_need_defaults=false ;;
20051 esac
20052 shift
20053 done
20055 ac_configure_extra_args=
20057 if $ac_cs_silent; then
20058 exec 6>/dev/null
20059 ac_configure_extra_args="$ac_configure_extra_args --silent"
20062 _ACEOF
20063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20064 if \$ac_cs_recheck; then
20065 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20066 shift
20067 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20068 CONFIG_SHELL='$SHELL'
20069 export CONFIG_SHELL
20070 exec "\$@"
20073 _ACEOF
20074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20075 exec 5>>config.log
20077 echo
20078 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20079 ## Running $as_me. ##
20080 _ASBOX
20081 $as_echo "$ac_log"
20082 } >&5
20084 _ACEOF
20085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20087 # INIT-COMMANDS
20089 wine_fn_output_makedep ()
20091 as_dir=tools; as_fn_mkdir_p
20092 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20094 wine_fn_output_makefile ()
20096 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20097 `cat $wine_rules_file`
20098 _WINE_EOF
20099 as_fn_error $? "could not create Makefile" "$LINENO" 5
20102 _ACEOF
20104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20106 # Handling of arguments.
20107 for ac_config_target in $ac_config_targets
20109 case $ac_config_target in
20110 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20111 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20112 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20113 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20114 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20115 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20116 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20117 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20118 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20119 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20120 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20121 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20122 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20124 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20125 esac
20126 done
20129 # If the user did not use the arguments to specify the items to instantiate,
20130 # then the envvar interface is used. Set only those that are not.
20131 # We use the long form for the default assignment because of an extremely
20132 # bizarre bug on SunOS 4.1.3.
20133 if $ac_need_defaults; then
20134 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20135 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20136 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20137 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20140 # Have a temporary directory for convenience. Make it in the build tree
20141 # simply because there is no reason against having it here, and in addition,
20142 # creating and moving files from /tmp can sometimes cause problems.
20143 # Hook for its removal unless debugging.
20144 # Note that there is a small window in which the directory will not be cleaned:
20145 # after its creation but before its name has been assigned to `$tmp'.
20146 $debug ||
20148 tmp= ac_tmp=
20149 trap 'exit_status=$?
20150 : "${ac_tmp:=$tmp}"
20151 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20153 trap 'as_fn_exit 1' 1 2 13 15
20155 # Create a (secure) tmp directory for tmp files.
20158 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20159 test -d "$tmp"
20160 } ||
20162 tmp=./conf$$-$RANDOM
20163 (umask 077 && mkdir "$tmp")
20164 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20165 ac_tmp=$tmp
20167 # Set up the scripts for CONFIG_FILES section.
20168 # No need to generate them if there are no CONFIG_FILES.
20169 # This happens for instance with `./config.status config.h'.
20170 if test -n "$CONFIG_FILES"; then
20173 ac_cr=`echo X | tr X '\015'`
20174 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20175 # But we know of no other shell where ac_cr would be empty at this
20176 # point, so we can use a bashism as a fallback.
20177 if test "x$ac_cr" = x; then
20178 eval ac_cr=\$\'\\r\'
20180 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20181 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20182 ac_cs_awk_cr='\\r'
20183 else
20184 ac_cs_awk_cr=$ac_cr
20187 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20188 _ACEOF
20192 echo "cat >conf$$subs.awk <<_ACEOF" &&
20193 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20194 echo "_ACEOF"
20195 } >conf$$subs.sh ||
20196 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20197 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20198 ac_delim='%!_!# '
20199 for ac_last_try in false false false false false :; do
20200 . ./conf$$subs.sh ||
20201 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20203 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20204 if test $ac_delim_n = $ac_delim_num; then
20205 break
20206 elif $ac_last_try; then
20207 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20208 else
20209 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20211 done
20212 rm -f conf$$subs.sh
20214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20215 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20216 _ACEOF
20217 sed -n '
20219 s/^/S["/; s/!.*/"]=/
20222 s/^[^!]*!//
20223 :repl
20224 t repl
20225 s/'"$ac_delim"'$//
20226 t delim
20229 s/\(.\{148\}\)..*/\1/
20230 t more1
20231 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20234 b repl
20235 :more1
20236 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20239 s/.\{148\}//
20240 t nl
20241 :delim
20243 s/\(.\{148\}\)..*/\1/
20244 t more2
20245 s/["\\]/\\&/g; s/^/"/; s/$/"/
20248 :more2
20249 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20252 s/.\{148\}//
20253 t delim
20254 ' <conf$$subs.awk | sed '
20255 /^[^""]/{
20257 s/\n//
20259 ' >>$CONFIG_STATUS || ac_write_fail=1
20260 rm -f conf$$subs.awk
20261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20262 _ACAWK
20263 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20264 for (key in S) S_is_set[key] = 1
20265 FS = "\a"
20269 line = $ 0
20270 nfields = split(line, field, "@")
20271 substed = 0
20272 len = length(field[1])
20273 for (i = 2; i < nfields; i++) {
20274 key = field[i]
20275 keylen = length(key)
20276 if (S_is_set[key]) {
20277 value = S[key]
20278 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20279 len += length(value) + length(field[++i])
20280 substed = 1
20281 } else
20282 len += 1 + keylen
20285 print line
20288 _ACAWK
20289 _ACEOF
20290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20291 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20292 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20293 else
20295 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20296 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20297 _ACEOF
20299 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20300 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20301 # trailing colons and then remove the whole line if VPATH becomes empty
20302 # (actually we leave an empty line to preserve line numbers).
20303 if test "x$srcdir" = x.; then
20304 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20306 s///
20307 s/^/:/
20308 s/[ ]*$/:/
20309 s/:\$(srcdir):/:/g
20310 s/:\${srcdir}:/:/g
20311 s/:@srcdir@:/:/g
20312 s/^:*//
20313 s/:*$//
20315 s/\(=[ ]*\).*/\1/
20317 s/\n//
20318 s/^[^=]*=[ ]*$//
20322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20323 fi # test -n "$CONFIG_FILES"
20325 # Set up the scripts for CONFIG_HEADERS section.
20326 # No need to generate them if there are no CONFIG_HEADERS.
20327 # This happens for instance with `./config.status Makefile'.
20328 if test -n "$CONFIG_HEADERS"; then
20329 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20330 BEGIN {
20331 _ACEOF
20333 # Transform confdefs.h into an awk script `defines.awk', embedded as
20334 # here-document in config.status, that substitutes the proper values into
20335 # config.h.in to produce config.h.
20337 # Create a delimiter string that does not exist in confdefs.h, to ease
20338 # handling of long lines.
20339 ac_delim='%!_!# '
20340 for ac_last_try in false false :; do
20341 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20342 if test -z "$ac_tt"; then
20343 break
20344 elif $ac_last_try; then
20345 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20346 else
20347 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20349 done
20351 # For the awk script, D is an array of macro values keyed by name,
20352 # likewise P contains macro parameters if any. Preserve backslash
20353 # newline sequences.
20355 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20356 sed -n '
20357 s/.\{148\}/&'"$ac_delim"'/g
20358 t rset
20359 :rset
20360 s/^[ ]*#[ ]*define[ ][ ]*/ /
20361 t def
20363 :def
20364 s/\\$//
20365 t bsnl
20366 s/["\\]/\\&/g
20367 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20368 D["\1"]=" \3"/p
20369 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20371 :bsnl
20372 s/["\\]/\\&/g
20373 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20374 D["\1"]=" \3\\\\\\n"\\/p
20375 t cont
20376 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20377 t cont
20379 :cont
20381 s/.\{148\}/&'"$ac_delim"'/g
20382 t clear
20383 :clear
20384 s/\\$//
20385 t bsnlc
20386 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20388 :bsnlc
20389 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20390 b cont
20391 ' <confdefs.h | sed '
20392 s/'"$ac_delim"'/"\\\
20393 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20396 for (key in D) D_is_set[key] = 1
20397 FS = "\a"
20399 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20400 line = \$ 0
20401 split(line, arg, " ")
20402 if (arg[1] == "#") {
20403 defundef = arg[2]
20404 mac1 = arg[3]
20405 } else {
20406 defundef = substr(arg[1], 2)
20407 mac1 = arg[2]
20409 split(mac1, mac2, "(") #)
20410 macro = mac2[1]
20411 prefix = substr(line, 1, index(line, defundef) - 1)
20412 if (D_is_set[macro]) {
20413 # Preserve the white space surrounding the "#".
20414 print prefix "define", macro P[macro] D[macro]
20415 next
20416 } else {
20417 # Replace #undef with comments. This is necessary, for example,
20418 # in the case of _POSIX_SOURCE, which is predefined and required
20419 # on some systems where configure will not decide to define it.
20420 if (defundef == "undef") {
20421 print "/*", prefix defundef, macro, "*/"
20422 next
20426 { print }
20427 _ACAWK
20428 _ACEOF
20429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20430 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20431 fi # test -n "$CONFIG_HEADERS"
20434 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20435 shift
20436 for ac_tag
20438 case $ac_tag in
20439 :[FHLC]) ac_mode=$ac_tag; continue;;
20440 esac
20441 case $ac_mode$ac_tag in
20442 :[FHL]*:*);;
20443 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20444 :[FH]-) ac_tag=-:-;;
20445 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20446 esac
20447 ac_save_IFS=$IFS
20448 IFS=:
20449 set x $ac_tag
20450 IFS=$ac_save_IFS
20451 shift
20452 ac_file=$1
20453 shift
20455 case $ac_mode in
20456 :L) ac_source=$1;;
20457 :[FH])
20458 ac_file_inputs=
20459 for ac_f
20461 case $ac_f in
20462 -) ac_f="$ac_tmp/stdin";;
20463 *) # Look for the file first in the build tree, then in the source tree
20464 # (if the path is not absolute). The absolute path cannot be DOS-style,
20465 # because $ac_f cannot contain `:'.
20466 test -f "$ac_f" ||
20467 case $ac_f in
20468 [\\/$]*) false;;
20469 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20470 esac ||
20471 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20472 esac
20473 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20474 as_fn_append ac_file_inputs " '$ac_f'"
20475 done
20477 # Let's still pretend it is `configure' which instantiates (i.e., don't
20478 # use $as_me), people would be surprised to read:
20479 # /* config.h. Generated by config.status. */
20480 configure_input='Generated from '`
20481 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20482 `' by configure.'
20483 if test x"$ac_file" != x-; then
20484 configure_input="$ac_file. $configure_input"
20485 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20486 $as_echo "$as_me: creating $ac_file" >&6;}
20488 # Neutralize special characters interpreted by sed in replacement strings.
20489 case $configure_input in #(
20490 *\&* | *\|* | *\\* )
20491 ac_sed_conf_input=`$as_echo "$configure_input" |
20492 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20493 *) ac_sed_conf_input=$configure_input;;
20494 esac
20496 case $ac_tag in
20497 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20498 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20499 esac
20501 esac
20503 ac_dir=`$as_dirname -- "$ac_file" ||
20504 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20505 X"$ac_file" : 'X\(//\)[^/]' \| \
20506 X"$ac_file" : 'X\(//\)$' \| \
20507 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20508 $as_echo X"$ac_file" |
20509 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20510 s//\1/
20513 /^X\(\/\/\)[^/].*/{
20514 s//\1/
20517 /^X\(\/\/\)$/{
20518 s//\1/
20521 /^X\(\/\).*/{
20522 s//\1/
20525 s/.*/./; q'`
20526 as_dir="$ac_dir"; as_fn_mkdir_p
20527 ac_builddir=.
20529 case "$ac_dir" in
20530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20532 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20533 # A ".." for each directory in $ac_dir_suffix.
20534 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20535 case $ac_top_builddir_sub in
20536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20538 esac ;;
20539 esac
20540 ac_abs_top_builddir=$ac_pwd
20541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20542 # for backward compatibility:
20543 ac_top_builddir=$ac_top_build_prefix
20545 case $srcdir in
20546 .) # We are building in place.
20547 ac_srcdir=.
20548 ac_top_srcdir=$ac_top_builddir_sub
20549 ac_abs_top_srcdir=$ac_pwd ;;
20550 [\\/]* | ?:[\\/]* ) # Absolute name.
20551 ac_srcdir=$srcdir$ac_dir_suffix;
20552 ac_top_srcdir=$srcdir
20553 ac_abs_top_srcdir=$srcdir ;;
20554 *) # Relative name.
20555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20556 ac_top_srcdir=$ac_top_build_prefix$srcdir
20557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20558 esac
20559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20562 case $ac_mode in
20565 # CONFIG_FILE
20568 _ACEOF
20570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20571 # If the template does not know about datarootdir, expand it.
20572 # FIXME: This hack should be removed a few years after 2.60.
20573 ac_datarootdir_hack=; ac_datarootdir_seen=
20574 ac_sed_dataroot='
20575 /datarootdir/ {
20579 /@datadir@/p
20580 /@docdir@/p
20581 /@infodir@/p
20582 /@localedir@/p
20583 /@mandir@/p'
20584 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20585 *datarootdir*) ac_datarootdir_seen=yes;;
20586 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20588 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20589 _ACEOF
20590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20591 ac_datarootdir_hack='
20592 s&@datadir@&$datadir&g
20593 s&@docdir@&$docdir&g
20594 s&@infodir@&$infodir&g
20595 s&@localedir@&$localedir&g
20596 s&@mandir@&$mandir&g
20597 s&\\\${datarootdir}&$datarootdir&g' ;;
20598 esac
20599 _ACEOF
20601 # Neutralize VPATH when `$srcdir' = `.'.
20602 # Shell code in configure.ac might set extrasub.
20603 # FIXME: do we really want to maintain this feature?
20604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20605 ac_sed_extra="$ac_vpsub
20606 $extrasub
20607 _ACEOF
20608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20610 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20611 s|@configure_input@|$ac_sed_conf_input|;t t
20612 s&@top_builddir@&$ac_top_builddir_sub&;t t
20613 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20614 s&@srcdir@&$ac_srcdir&;t t
20615 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20616 s&@top_srcdir@&$ac_top_srcdir&;t t
20617 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20618 s&@builddir@&$ac_builddir&;t t
20619 s&@abs_builddir@&$ac_abs_builddir&;t t
20620 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20621 $ac_datarootdir_hack
20623 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20624 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20626 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20627 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20628 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20629 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20631 which seems to be undefined. Please make sure it is defined" >&5
20632 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20633 which seems to be undefined. Please make sure it is defined" >&2;}
20635 rm -f "$ac_tmp/stdin"
20636 case $ac_file in
20637 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20638 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20639 esac \
20640 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20644 # CONFIG_HEADER
20646 if test x"$ac_file" != x-; then
20648 $as_echo "/* $configure_input */" \
20649 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20650 } >"$ac_tmp/config.h" \
20651 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20652 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20654 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20655 else
20656 rm -f "$ac_file"
20657 mv "$ac_tmp/config.h" "$ac_file" \
20658 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20660 else
20661 $as_echo "/* $configure_input */" \
20662 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20663 || as_fn_error $? "could not create -" "$LINENO" 5
20668 # CONFIG_LINK
20671 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20673 else
20674 # Prefer the file from the source tree if names are identical.
20675 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20676 ac_source=$srcdir/$ac_source
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20680 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20682 if test ! -r "$ac_source"; then
20683 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20685 rm -f "$ac_file"
20687 # Try a relative symlink, then a hard link, then a copy.
20688 case $ac_source in
20689 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20690 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20691 esac
20692 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20693 ln "$ac_source" "$ac_file" 2>/dev/null ||
20694 cp -p "$ac_source" "$ac_file" ||
20695 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20698 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20699 $as_echo "$as_me: executing $ac_file commands" >&6;}
20701 esac
20704 case $ac_file$ac_mode in
20705 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20706 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20707 "Makefile":C) wine_fn_output_makefile Makefile ;;
20709 esac
20710 done # for ac_tag
20713 as_fn_exit 0
20714 _ACEOF
20715 ac_clean_files=$ac_clean_files_save
20717 test $ac_write_fail = 0 ||
20718 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20721 # configure is writing to config.log, and then calls config.status.
20722 # config.status does its own redirection, appending to config.log.
20723 # Unfortunately, on DOS this fails, as config.log is still kept open
20724 # by configure, so config.status won't be able to write to it; its
20725 # output is simply discarded. So we exec the FD to /dev/null,
20726 # effectively closing config.log, so it can be properly (re)opened and
20727 # appended to by config.status. When coming back to configure, we
20728 # need to make the FD available again.
20729 if test "$no_create" != yes; then
20730 ac_cs_success=:
20731 ac_config_status_args=
20732 test "$silent" = yes &&
20733 ac_config_status_args="$ac_config_status_args --quiet"
20734 exec 5>/dev/null
20735 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20736 exec 5>>config.log
20737 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20738 # would make configure fail if this is the last instruction.
20739 $ac_cs_success || as_fn_exit 1
20741 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20743 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20747 if test "$no_create" = "yes"
20748 then
20749 exit 0
20752 ac_save_IFS="$IFS"
20753 if test "x$wine_notices" != x; then
20754 echo >&6
20755 IFS="|"
20756 for msg in $wine_notices; do
20757 IFS="$ac_save_IFS"
20758 if ${msg:+false} :; then :
20760 else
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20762 $as_echo "$as_me: $msg" >&6;}
20764 done
20766 IFS="|"
20767 for msg in $wine_warnings; do
20768 IFS="$ac_save_IFS"
20769 if ${msg:+false} :; then :
20771 else
20772 echo >&2
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20774 $as_echo "$as_me: WARNING: $msg" >&2;}
20776 done
20777 IFS="$ac_save_IFS"
20779 $as_echo "
20780 $as_me: Finished. Do '${ac_make}' to compile Wine.
20781 " >&6