wined3d: Use the access flags used to create the bo for persistent maps in wined3d_bo...
[wine.git] / configure
blob98d64326b50c8d2f7dec51eefb08337b84bd90c0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 6.23.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
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 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='6.23'
615 PACKAGE_STRING='Wine 6.23'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 LDAP_LIBS
656 LDAP_CFLAGS
657 RT_LIBS
658 MSVCRTFLAGS
659 VKD3D_SHADER_LIBS
660 VKD3D_SHADER_CFLAGS
661 VKD3D_LIBS
662 VKD3D_CFLAGS
663 NETAPI_LIBS
664 NETAPI_CFLAGS
665 PROCSTAT_LIBS
666 GSSAPI_LIBS
667 GSSAPI_CFLAGS
668 KRB5_LIBS
669 KRB5_CFLAGS
670 FONTCONFIG_LIBS
671 FONTCONFIG_CFLAGS
672 CUPS_LIBS
673 CUPS_CFLAGS
674 CAPI20_LIBS
675 CAPI20_CFLAGS
676 SDL2_LIBS
677 SDL2_CFLAGS
678 UNWIND_LIBS
679 UNWIND_CFLAGS
680 UDEV_LIBS
681 UDEV_CFLAGS
682 OSS4_LIBS
683 OSS4_CFLAGS
684 ALSA_LIBS
685 GSTREAMER_LIBS
686 GSTREAMER_CFLAGS
687 PULSE_LIBS
688 PULSE_CFLAGS
689 GETTEXTPO_LIBS
690 FREETYPE_LIBS
691 FREETYPE_CFLAGS
692 RESOLV_LIBS
693 GPHOTO2_PORT_LIBS
694 GPHOTO2_PORT_CFLAGS
695 GPHOTO2_LIBS
696 GPHOTO2_CFLAGS
697 USB_LIBS
698 USB_CFLAGS
699 SANE_LIBS
700 SANE_CFLAGS
701 GNUTLS_LIBS
702 GNUTLS_CFLAGS
703 DBUS_LIBS
704 DBUS_CFLAGS
705 INOTIFY_LIBS
706 INOTIFY_CFLAGS
707 PCAP_LIBS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZLIB_PE_LIBS
716 ZLIB_PE_CFLAGS
717 XSLT_PE_LIBS
718 XSLT_PE_CFLAGS
719 XML2_PE_LIBS
720 XML2_PE_CFLAGS
721 TIFF_PE_LIBS
722 TIFF_PE_CFLAGS
723 PNG_PE_LIBS
724 PNG_PE_CFLAGS
725 MPG123_PE_LIBS
726 MPG123_PE_CFLAGS
727 LCMS2_PE_LIBS
728 LCMS2_PE_CFLAGS
729 JXR_PE_LIBS
730 JXR_PE_CFLAGS
731 JPEG_PE_LIBS
732 JPEG_PE_CFLAGS
733 GSM_PE_LIBS
734 GSM_PE_CFLAGS
735 FAUDIO_PE_LIBS
736 FAUDIO_PE_CFLAGS
737 MINGW_PKG_CONFIG
738 EXCESS_PRECISION_CFLAGS
739 CROSSDEBUG
740 DELAYLOADFLAG
741 CROSSLDFLAGS
742 EXTRACROSSCFLAGS
743 CROSSCFLAGS
744 CROSSCC
745 CROSSTARGET
746 LIBWINE_DEPENDS
747 PRELINK
748 WINELOADER_DEPENDS
749 LIBWINE_LDFLAGS
750 LIBWINE_SHAREDLIB
751 METAL_LIBS
752 CARBON_LIBS
753 OPENCL_LIBS
754 OPENAL_LIBS
755 COREAUDIO_LIBS
756 SECURITY_LIBS
757 DISKARBITRATION_LIBS
758 SYSTEMCONFIGURATION_LIBS
759 APPKIT_LIBS
760 CORESERVICES_LIBS
761 APPLICATIONSERVICES_LIBS
762 IOKIT_LIBS
763 COREFOUNDATION_LIBS
764 ac_ct_OBJC
765 OBJCFLAGS
766 OBJC
767 DLLTOOL
768 WINELOADER_PROGRAMS
769 CONFIGURE_TARGETS
770 DISABLED_SUBDIRS
771 SUBDIRS
772 READELF
773 OTOOL
775 WINEPRELOADER_LDFLAGS
776 WINELOADER_LDFLAGS
777 TOP_INSTALL_DEV
778 TOP_INSTALL_LIB
779 UNIXLDFLAGS
780 UNIXDLLFLAGS
781 EXTRACFLAGS
782 LDEXECFLAGS
783 LDDLLFLAGS
784 DLLFLAGS
785 OPENGL_LIBS
786 I386_LIBS
787 ICOTOOL
788 CONVERT
789 RSVG
790 FONTFORGE
791 PKG_CONFIG
792 MSGFMT
793 LDCONFIG
794 EGREP
795 GREP
796 LN_S
797 RANLIB
798 STRIP
799 ac_ct_AR
801 BISON
802 FLEX
803 api_manext
804 SED_CMD
805 RUNTESTFLAGS
806 MAKEDEP
807 toolsdir
808 toolsext
809 TARGETFLAGS
811 CPPBIN
812 ac_ct_CXX
813 CXXFLAGS
815 OBJEXT
816 EXEEXT
817 ac_ct_CC
818 CPPFLAGS
819 LDFLAGS
820 CFLAGS
822 SET_MAKE
823 srcdir
824 nlsdir
825 fontdir
826 dlldir
827 host_os
828 host_vendor
829 host_cpu
830 host
831 build_os
832 build_vendor
833 build_cpu
834 build
835 system_dllpath
836 target_alias
837 host_alias
838 build_alias
839 LIBS
840 ECHO_T
841 ECHO_N
842 ECHO_C
843 DEFS
844 mandir
845 localedir
846 libdir
847 psdir
848 pdfdir
849 dvidir
850 htmldir
851 infodir
852 docdir
853 oldincludedir
854 includedir
855 runstatedir
856 localstatedir
857 sharedstatedir
858 sysconfdir
859 datadir
860 datarootdir
861 libexecdir
862 sbindir
863 bindir
864 program_transform_name
865 prefix
866 exec_prefix
867 PACKAGE_URL
868 PACKAGE_BUGREPORT
869 PACKAGE_STRING
870 PACKAGE_VERSION
871 PACKAGE_TARNAME
872 PACKAGE_NAME
873 PATH_SEPARATOR
874 SHELL'
875 ac_subst_files=''
876 ac_user_opts='
877 enable_option_checking
878 enable_win16
879 enable_win64
880 enable_tests
881 enable_build_id
882 enable_maintainer_mode
883 enable_silent_rules
884 enable_werror
885 with_alsa
886 with_capi
887 with_coreaudio
888 with_cups
889 with_dbus
890 with_float_abi
891 with_fontconfig
892 with_freetype
893 with_gettext
894 with_gettextpo
895 with_gphoto
896 with_gnutls
897 with_gssapi
898 with_gstreamer
899 with_inotify
900 with_krb5
901 with_ldap
902 with_mingw
903 with_netapi
904 with_openal
905 with_opencl
906 with_opengl
907 with_osmesa
908 with_oss
909 with_pcap
910 with_pthread
911 with_pulse
912 with_sane
913 with_sdl
914 with_udev
915 with_unwind
916 with_usb
917 with_v4l2
918 with_vkd3d
919 with_vulkan
920 with_xcomposite
921 with_xcursor
922 with_xfixes
923 with_xinerama
924 with_xinput
925 with_xinput2
926 with_xrandr
927 with_xrender
928 with_xshape
929 with_xshm
930 with_xxf86vm
931 with_system_dllpath
932 with_wine_tools
933 with_wine64
934 enable_largefile
935 with_x
936 enable_acledit
937 enable_aclui
938 enable_activeds_tlb
939 enable_activeds
940 enable_actxprxy
941 enable_adsldp
942 enable_adsldpc
943 enable_advapi32
944 enable_advpack
945 enable_amsi
946 enable_amstream
947 enable_api_ms_win_appmodel_identity_l1_1_0
948 enable_api_ms_win_appmodel_runtime_l1_1_0
949 enable_api_ms_win_appmodel_runtime_l1_1_1
950 enable_api_ms_win_appmodel_runtime_l1_1_2
951 enable_api_ms_win_core_apiquery_l1_1_0
952 enable_api_ms_win_core_appcompat_l1_1_1
953 enable_api_ms_win_core_appinit_l1_1_0
954 enable_api_ms_win_core_atoms_l1_1_0
955 enable_api_ms_win_core_bem_l1_1_0
956 enable_api_ms_win_core_com_l1_1_0
957 enable_api_ms_win_core_com_l1_1_1
958 enable_api_ms_win_core_com_private_l1_1_0
959 enable_api_ms_win_core_comm_l1_1_0
960 enable_api_ms_win_core_console_l1_1_0
961 enable_api_ms_win_core_console_l1_2_0
962 enable_api_ms_win_core_console_l2_1_0
963 enable_api_ms_win_core_console_l3_2_0
964 enable_api_ms_win_core_crt_l1_1_0
965 enable_api_ms_win_core_crt_l2_1_0
966 enable_api_ms_win_core_datetime_l1_1_0
967 enable_api_ms_win_core_datetime_l1_1_1
968 enable_api_ms_win_core_debug_l1_1_0
969 enable_api_ms_win_core_debug_l1_1_1
970 enable_api_ms_win_core_delayload_l1_1_0
971 enable_api_ms_win_core_delayload_l1_1_1
972 enable_api_ms_win_core_errorhandling_l1_1_0
973 enable_api_ms_win_core_errorhandling_l1_1_1
974 enable_api_ms_win_core_errorhandling_l1_1_2
975 enable_api_ms_win_core_errorhandling_l1_1_3
976 enable_api_ms_win_core_featurestaging_l1_1_0
977 enable_api_ms_win_core_fibers_l1_1_0
978 enable_api_ms_win_core_fibers_l1_1_1
979 enable_api_ms_win_core_file_ansi_l2_1_0
980 enable_api_ms_win_core_file_fromapp_l1_1_0
981 enable_api_ms_win_core_file_l1_1_0
982 enable_api_ms_win_core_file_l1_2_0
983 enable_api_ms_win_core_file_l1_2_1
984 enable_api_ms_win_core_file_l1_2_2
985 enable_api_ms_win_core_file_l2_1_0
986 enable_api_ms_win_core_file_l2_1_1
987 enable_api_ms_win_core_file_l2_1_2
988 enable_api_ms_win_core_handle_l1_1_0
989 enable_api_ms_win_core_heap_l1_1_0
990 enable_api_ms_win_core_heap_l1_2_0
991 enable_api_ms_win_core_heap_l2_1_0
992 enable_api_ms_win_core_heap_obsolete_l1_1_0
993 enable_api_ms_win_core_interlocked_l1_1_0
994 enable_api_ms_win_core_interlocked_l1_2_0
995 enable_api_ms_win_core_io_l1_1_0
996 enable_api_ms_win_core_io_l1_1_1
997 enable_api_ms_win_core_job_l1_1_0
998 enable_api_ms_win_core_job_l2_1_0
999 enable_api_ms_win_core_kernel32_legacy_l1_1_0
1000 enable_api_ms_win_core_kernel32_legacy_l1_1_1
1001 enable_api_ms_win_core_kernel32_legacy_l1_1_2
1002 enable_api_ms_win_core_kernel32_legacy_l1_1_5
1003 enable_api_ms_win_core_kernel32_private_l1_1_1
1004 enable_api_ms_win_core_largeinteger_l1_1_0
1005 enable_api_ms_win_core_libraryloader_l1_1_0
1006 enable_api_ms_win_core_libraryloader_l1_1_1
1007 enable_api_ms_win_core_libraryloader_l1_2_0
1008 enable_api_ms_win_core_libraryloader_l1_2_1
1009 enable_api_ms_win_core_libraryloader_l1_2_2
1010 enable_api_ms_win_core_libraryloader_l2_1_0
1011 enable_api_ms_win_core_localization_l1_1_0
1012 enable_api_ms_win_core_localization_l1_2_0
1013 enable_api_ms_win_core_localization_l1_2_1
1014 enable_api_ms_win_core_localization_l1_2_2
1015 enable_api_ms_win_core_localization_l2_1_0
1016 enable_api_ms_win_core_localization_obsolete_l1_1_0
1017 enable_api_ms_win_core_localization_obsolete_l1_2_0
1018 enable_api_ms_win_core_localization_obsolete_l1_3_0
1019 enable_api_ms_win_core_localization_private_l1_1_0
1020 enable_api_ms_win_core_localregistry_l1_1_0
1021 enable_api_ms_win_core_memory_l1_1_0
1022 enable_api_ms_win_core_memory_l1_1_1
1023 enable_api_ms_win_core_memory_l1_1_2
1024 enable_api_ms_win_core_memory_l1_1_3
1025 enable_api_ms_win_core_memory_l1_1_4
1026 enable_api_ms_win_core_misc_l1_1_0
1027 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1028 enable_api_ms_win_core_namedpipe_l1_1_0
1029 enable_api_ms_win_core_namedpipe_l1_2_0
1030 enable_api_ms_win_core_namespace_l1_1_0
1031 enable_api_ms_win_core_normalization_l1_1_0
1032 enable_api_ms_win_core_path_l1_1_0
1033 enable_api_ms_win_core_privateprofile_l1_1_1
1034 enable_api_ms_win_core_processenvironment_l1_1_0
1035 enable_api_ms_win_core_processenvironment_l1_2_0
1036 enable_api_ms_win_core_processthreads_l1_1_0
1037 enable_api_ms_win_core_processthreads_l1_1_1
1038 enable_api_ms_win_core_processthreads_l1_1_2
1039 enable_api_ms_win_core_processthreads_l1_1_3
1040 enable_api_ms_win_core_processtopology_l1_1_0
1041 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1042 enable_api_ms_win_core_profile_l1_1_0
1043 enable_api_ms_win_core_psapi_ansi_l1_1_0
1044 enable_api_ms_win_core_psapi_l1_1_0
1045 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1046 enable_api_ms_win_core_psm_appnotify_l1_1_0
1047 enable_api_ms_win_core_quirks_l1_1_0
1048 enable_api_ms_win_core_realtime_l1_1_0
1049 enable_api_ms_win_core_realtime_l1_1_1
1050 enable_api_ms_win_core_registry_l1_1_0
1051 enable_api_ms_win_core_registry_l2_1_0
1052 enable_api_ms_win_core_registry_l2_2_0
1053 enable_api_ms_win_core_registryuserspecific_l1_1_0
1054 enable_api_ms_win_core_rtlsupport_l1_1_0
1055 enable_api_ms_win_core_rtlsupport_l1_2_0
1056 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1057 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1058 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1059 enable_api_ms_win_core_shutdown_l1_1_0
1060 enable_api_ms_win_core_sidebyside_l1_1_0
1061 enable_api_ms_win_core_string_l1_1_0
1062 enable_api_ms_win_core_string_l2_1_0
1063 enable_api_ms_win_core_string_obsolete_l1_1_0
1064 enable_api_ms_win_core_stringansi_l1_1_0
1065 enable_api_ms_win_core_stringloader_l1_1_1
1066 enable_api_ms_win_core_synch_ansi_l1_1_0
1067 enable_api_ms_win_core_synch_l1_1_0
1068 enable_api_ms_win_core_synch_l1_2_0
1069 enable_api_ms_win_core_synch_l1_2_1
1070 enable_api_ms_win_core_sysinfo_l1_1_0
1071 enable_api_ms_win_core_sysinfo_l1_2_0
1072 enable_api_ms_win_core_sysinfo_l1_2_1
1073 enable_api_ms_win_core_systemtopology_l1_1_0
1074 enable_api_ms_win_core_threadpool_l1_1_0
1075 enable_api_ms_win_core_threadpool_l1_2_0
1076 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1077 enable_api_ms_win_core_threadpool_private_l1_1_0
1078 enable_api_ms_win_core_timezone_l1_1_0
1079 enable_api_ms_win_core_toolhelp_l1_1_0
1080 enable_api_ms_win_core_url_l1_1_0
1081 enable_api_ms_win_core_util_l1_1_0
1082 enable_api_ms_win_core_version_l1_1_0
1083 enable_api_ms_win_core_version_l1_1_1
1084 enable_api_ms_win_core_version_private_l1_1_0
1085 enable_api_ms_win_core_versionansi_l1_1_0
1086 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1087 enable_api_ms_win_core_winrt_error_l1_1_0
1088 enable_api_ms_win_core_winrt_error_l1_1_1
1089 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1090 enable_api_ms_win_core_winrt_l1_1_0
1091 enable_api_ms_win_core_winrt_registration_l1_1_0
1092 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1093 enable_api_ms_win_core_winrt_string_l1_1_0
1094 enable_api_ms_win_core_winrt_string_l1_1_1
1095 enable_api_ms_win_core_wow64_l1_1_0
1096 enable_api_ms_win_core_wow64_l1_1_1
1097 enable_api_ms_win_core_xstate_l1_1_0
1098 enable_api_ms_win_core_xstate_l2_1_0
1099 enable_api_ms_win_crt_conio_l1_1_0
1100 enable_api_ms_win_crt_convert_l1_1_0
1101 enable_api_ms_win_crt_environment_l1_1_0
1102 enable_api_ms_win_crt_filesystem_l1_1_0
1103 enable_api_ms_win_crt_heap_l1_1_0
1104 enable_api_ms_win_crt_locale_l1_1_0
1105 enable_api_ms_win_crt_math_l1_1_0
1106 enable_api_ms_win_crt_multibyte_l1_1_0
1107 enable_api_ms_win_crt_private_l1_1_0
1108 enable_api_ms_win_crt_process_l1_1_0
1109 enable_api_ms_win_crt_runtime_l1_1_0
1110 enable_api_ms_win_crt_stdio_l1_1_0
1111 enable_api_ms_win_crt_string_l1_1_0
1112 enable_api_ms_win_crt_time_l1_1_0
1113 enable_api_ms_win_crt_utility_l1_1_0
1114 enable_api_ms_win_devices_config_l1_1_0
1115 enable_api_ms_win_devices_config_l1_1_1
1116 enable_api_ms_win_devices_query_l1_1_1
1117 enable_api_ms_win_downlevel_advapi32_l1_1_0
1118 enable_api_ms_win_downlevel_advapi32_l2_1_0
1119 enable_api_ms_win_downlevel_kernel32_l2_1_0
1120 enable_api_ms_win_downlevel_normaliz_l1_1_0
1121 enable_api_ms_win_downlevel_ole32_l1_1_0
1122 enable_api_ms_win_downlevel_shell32_l1_1_0
1123 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1124 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1125 enable_api_ms_win_downlevel_user32_l1_1_0
1126 enable_api_ms_win_downlevel_version_l1_1_0
1127 enable_api_ms_win_dx_d3dkmt_l1_1_0
1128 enable_api_ms_win_eventing_classicprovider_l1_1_0
1129 enable_api_ms_win_eventing_consumer_l1_1_0
1130 enable_api_ms_win_eventing_controller_l1_1_0
1131 enable_api_ms_win_eventing_legacy_l1_1_0
1132 enable_api_ms_win_eventing_provider_l1_1_0
1133 enable_api_ms_win_eventlog_legacy_l1_1_0
1134 enable_api_ms_win_gaming_tcui_l1_1_0
1135 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1136 enable_api_ms_win_mm_joystick_l1_1_0
1137 enable_api_ms_win_mm_misc_l1_1_1
1138 enable_api_ms_win_mm_mme_l1_1_0
1139 enable_api_ms_win_mm_time_l1_1_0
1140 enable_api_ms_win_ntuser_dc_access_l1_1_0
1141 enable_api_ms_win_ntuser_rectangle_l1_1_0
1142 enable_api_ms_win_ntuser_sysparams_l1_1_0
1143 enable_api_ms_win_perf_legacy_l1_1_0
1144 enable_api_ms_win_power_base_l1_1_0
1145 enable_api_ms_win_power_setting_l1_1_0
1146 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1147 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1148 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1149 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1150 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1151 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1152 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1153 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1154 enable_api_ms_win_security_audit_l1_1_1
1155 enable_api_ms_win_security_base_l1_1_0
1156 enable_api_ms_win_security_base_l1_2_0
1157 enable_api_ms_win_security_base_private_l1_1_1
1158 enable_api_ms_win_security_credentials_l1_1_0
1159 enable_api_ms_win_security_cryptoapi_l1_1_0
1160 enable_api_ms_win_security_grouppolicy_l1_1_0
1161 enable_api_ms_win_security_lsalookup_l1_1_0
1162 enable_api_ms_win_security_lsalookup_l1_1_1
1163 enable_api_ms_win_security_lsalookup_l2_1_0
1164 enable_api_ms_win_security_lsalookup_l2_1_1
1165 enable_api_ms_win_security_lsapolicy_l1_1_0
1166 enable_api_ms_win_security_provider_l1_1_0
1167 enable_api_ms_win_security_sddl_l1_1_0
1168 enable_api_ms_win_security_systemfunctions_l1_1_0
1169 enable_api_ms_win_service_core_l1_1_0
1170 enable_api_ms_win_service_core_l1_1_1
1171 enable_api_ms_win_service_management_l1_1_0
1172 enable_api_ms_win_service_management_l2_1_0
1173 enable_api_ms_win_service_private_l1_1_1
1174 enable_api_ms_win_service_winsvc_l1_1_0
1175 enable_api_ms_win_service_winsvc_l1_2_0
1176 enable_api_ms_win_shcore_obsolete_l1_1_0
1177 enable_api_ms_win_shcore_scaling_l1_1_0
1178 enable_api_ms_win_shcore_scaling_l1_1_1
1179 enable_api_ms_win_shcore_stream_l1_1_0
1180 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1181 enable_api_ms_win_shcore_thread_l1_1_0
1182 enable_api_ms_win_shell_shellcom_l1_1_0
1183 enable_api_ms_win_shell_shellfolders_l1_1_0
1184 enable_apphelp
1185 enable_appwiz_cpl
1186 enable_atl
1187 enable_atl100
1188 enable_atl110
1189 enable_atl80
1190 enable_atl90
1191 enable_atlthunk
1192 enable_atmlib
1193 enable_authz
1194 enable_avicap32
1195 enable_avifil32
1196 enable_avrt
1197 enable_bcrypt
1198 enable_bluetoothapis
1199 enable_browseui
1200 enable_bthprops_cpl
1201 enable_cabinet
1202 enable_capi2032
1203 enable_cards
1204 enable_cdosys
1205 enable_cfgmgr32
1206 enable_clusapi
1207 enable_cng_sys
1208 enable_combase
1209 enable_comcat
1210 enable_comctl32
1211 enable_comdlg32
1212 enable_compstui
1213 enable_comsvcs
1214 enable_concrt140
1215 enable_connect
1216 enable_credui
1217 enable_crtdll
1218 enable_crypt32
1219 enable_cryptdlg
1220 enable_cryptdll
1221 enable_cryptext
1222 enable_cryptnet
1223 enable_cryptsp
1224 enable_cryptui
1225 enable_ctapi32
1226 enable_ctl3d32
1227 enable_d2d1
1228 enable_d3d10
1229 enable_d3d10_1
1230 enable_d3d10core
1231 enable_d3d11
1232 enable_d3d12
1233 enable_d3d8
1234 enable_d3d8thk
1235 enable_d3d9
1236 enable_d3dcompiler_33
1237 enable_d3dcompiler_34
1238 enable_d3dcompiler_35
1239 enable_d3dcompiler_36
1240 enable_d3dcompiler_37
1241 enable_d3dcompiler_38
1242 enable_d3dcompiler_39
1243 enable_d3dcompiler_40
1244 enable_d3dcompiler_41
1245 enable_d3dcompiler_42
1246 enable_d3dcompiler_43
1247 enable_d3dcompiler_46
1248 enable_d3dcompiler_47
1249 enable_d3dim
1250 enable_d3dim700
1251 enable_d3drm
1252 enable_d3dx10_33
1253 enable_d3dx10_34
1254 enable_d3dx10_35
1255 enable_d3dx10_36
1256 enable_d3dx10_37
1257 enable_d3dx10_38
1258 enable_d3dx10_39
1259 enable_d3dx10_40
1260 enable_d3dx10_41
1261 enable_d3dx10_42
1262 enable_d3dx10_43
1263 enable_d3dx11_42
1264 enable_d3dx11_43
1265 enable_d3dx9_24
1266 enable_d3dx9_25
1267 enable_d3dx9_26
1268 enable_d3dx9_27
1269 enable_d3dx9_28
1270 enable_d3dx9_29
1271 enable_d3dx9_30
1272 enable_d3dx9_31
1273 enable_d3dx9_32
1274 enable_d3dx9_33
1275 enable_d3dx9_34
1276 enable_d3dx9_35
1277 enable_d3dx9_36
1278 enable_d3dx9_37
1279 enable_d3dx9_38
1280 enable_d3dx9_39
1281 enable_d3dx9_40
1282 enable_d3dx9_41
1283 enable_d3dx9_42
1284 enable_d3dx9_43
1285 enable_d3dxof
1286 enable_davclnt
1287 enable_dbgeng
1288 enable_dbghelp
1289 enable_dciman32
1290 enable_dcomp
1291 enable_ddraw
1292 enable_ddrawex
1293 enable_devenum
1294 enable_dhcpcsvc
1295 enable_dhcpcsvc6
1296 enable_dhtmled_ocx
1297 enable_difxapi
1298 enable_dinput
1299 enable_dinput8
1300 enable_directmanipulation
1301 enable_dispex
1302 enable_dmband
1303 enable_dmcompos
1304 enable_dmime
1305 enable_dmloader
1306 enable_dmscript
1307 enable_dmstyle
1308 enable_dmsynth
1309 enable_dmusic
1310 enable_dmusic32
1311 enable_dnsapi
1312 enable_dplay
1313 enable_dplayx
1314 enable_dpnaddr
1315 enable_dpnet
1316 enable_dpnhpast
1317 enable_dpnhupnp
1318 enable_dpnlobby
1319 enable_dpvoice
1320 enable_dpwsockx
1321 enable_drmclien
1322 enable_dsdmo
1323 enable_dsound
1324 enable_dsquery
1325 enable_dssenh
1326 enable_dsuiext
1327 enable_dswave
1328 enable_dwmapi
1329 enable_dwrite
1330 enable_dx8vb
1331 enable_dxdiagn
1332 enable_dxgi
1333 enable_dxtrans
1334 enable_dxva2
1335 enable_esent
1336 enable_evr
1337 enable_explorerframe
1338 enable_ext_ms_win_authz_context_l1_1_0
1339 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1340 enable_ext_ms_win_dwmapi_ext_l1_1_0
1341 enable_ext_ms_win_gdi_dc_create_l1_1_0
1342 enable_ext_ms_win_gdi_dc_create_l1_1_1
1343 enable_ext_ms_win_gdi_dc_l1_2_0
1344 enable_ext_ms_win_gdi_devcaps_l1_1_0
1345 enable_ext_ms_win_gdi_draw_l1_1_0
1346 enable_ext_ms_win_gdi_draw_l1_1_1
1347 enable_ext_ms_win_gdi_font_l1_1_0
1348 enable_ext_ms_win_gdi_font_l1_1_1
1349 enable_ext_ms_win_gdi_render_l1_1_0
1350 enable_ext_ms_win_kernel32_package_current_l1_1_0
1351 enable_ext_ms_win_kernel32_package_l1_1_1
1352 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1353 enable_ext_ms_win_ntuser_draw_l1_1_0
1354 enable_ext_ms_win_ntuser_gui_l1_1_0
1355 enable_ext_ms_win_ntuser_gui_l1_3_0
1356 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1357 enable_ext_ms_win_ntuser_message_l1_1_0
1358 enable_ext_ms_win_ntuser_message_l1_1_1
1359 enable_ext_ms_win_ntuser_misc_l1_1_0
1360 enable_ext_ms_win_ntuser_misc_l1_2_0
1361 enable_ext_ms_win_ntuser_misc_l1_5_1
1362 enable_ext_ms_win_ntuser_mouse_l1_1_0
1363 enable_ext_ms_win_ntuser_private_l1_1_1
1364 enable_ext_ms_win_ntuser_private_l1_3_1
1365 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1366 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1367 enable_ext_ms_win_ntuser_window_l1_1_0
1368 enable_ext_ms_win_ntuser_window_l1_1_1
1369 enable_ext_ms_win_ntuser_window_l1_1_4
1370 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1371 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1372 enable_ext_ms_win_oleacc_l1_1_0
1373 enable_ext_ms_win_ras_rasapi32_l1_1_0
1374 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1375 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1376 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1377 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1378 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1379 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1380 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1381 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1382 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1383 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1384 enable_ext_ms_win_security_credui_l1_1_0
1385 enable_ext_ms_win_security_cryptui_l1_1_0
1386 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1387 enable_ext_ms_win_shell_comdlg32_l1_1_0
1388 enable_ext_ms_win_shell_shell32_l1_2_0
1389 enable_ext_ms_win_uxtheme_themes_l1_1_0
1390 enable_faultrep
1391 enable_feclient
1392 enable_fltlib
1393 enable_fltmgr_sys
1394 enable_fntcache
1395 enable_fontsub
1396 enable_fusion
1397 enable_fwpuclnt
1398 enable_gameux
1399 enable_gamingtcui
1400 enable_gdi32
1401 enable_gdiplus
1402 enable_glu32
1403 enable_gphoto2_ds
1404 enable_gpkcsp
1405 enable_hal
1406 enable_hhctrl_ocx
1407 enable_hid
1408 enable_hidclass_sys
1409 enable_hidparse_sys
1410 enable_hlink
1411 enable_hnetcfg
1412 enable_http_sys
1413 enable_httpapi
1414 enable_iccvid
1415 enable_icmp
1416 enable_ieframe
1417 enable_ieproxy
1418 enable_imaadp32_acm
1419 enable_imagehlp
1420 enable_imm32
1421 enable_inetcomm
1422 enable_inetcpl_cpl
1423 enable_inetmib1
1424 enable_infosoft
1425 enable_initpki
1426 enable_inkobj
1427 enable_inseng
1428 enable_iphlpapi
1429 enable_iprop
1430 enable_irprops_cpl
1431 enable_itircl
1432 enable_itss
1433 enable_joy_cpl
1434 enable_jscript
1435 enable_jsproxy
1436 enable_kerberos
1437 enable_kernel32
1438 enable_kernelbase
1439 enable_ksecdd_sys
1440 enable_ksproxy_ax
1441 enable_ksuser
1442 enable_ktmw32
1443 enable_l3codeca_acm
1444 enable_light_msstyles
1445 enable_loadperf
1446 enable_localspl
1447 enable_localui
1448 enable_lz32
1449 enable_mapi32
1450 enable_mapistub
1451 enable_mciavi32
1452 enable_mcicda
1453 enable_mciqtz32
1454 enable_mciseq
1455 enable_mciwave
1456 enable_mf
1457 enable_mf3216
1458 enable_mferror
1459 enable_mfmediaengine
1460 enable_mfplat
1461 enable_mfplay
1462 enable_mfreadwrite
1463 enable_mgmtapi
1464 enable_midimap
1465 enable_mlang
1466 enable_mmcndmgr
1467 enable_mmdevapi
1468 enable_mountmgr_sys
1469 enable_mp3dmod
1470 enable_mpr
1471 enable_mprapi
1472 enable_msacm32_drv
1473 enable_msacm32
1474 enable_msado15
1475 enable_msadp32_acm
1476 enable_msasn1
1477 enable_mscat32
1478 enable_mscms
1479 enable_mscoree
1480 enable_mscorwks
1481 enable_msctf
1482 enable_msctfmonitor
1483 enable_msctfp
1484 enable_msdaps
1485 enable_msdasql
1486 enable_msdelta
1487 enable_msdmo
1488 enable_msdrm
1489 enable_msftedit
1490 enable_msg711_acm
1491 enable_msgsm32_acm
1492 enable_mshtml_tlb
1493 enable_mshtml
1494 enable_msi
1495 enable_msident
1496 enable_msimg32
1497 enable_msimsg
1498 enable_msimtf
1499 enable_msisip
1500 enable_msisys_ocx
1501 enable_msls31
1502 enable_msnet32
1503 enable_mspatcha
1504 enable_msports
1505 enable_msrle32
1506 enable_msscript_ocx
1507 enable_mssign32
1508 enable_mssip32
1509 enable_mstask
1510 enable_msv1_0
1511 enable_msvcirt
1512 enable_msvcm80
1513 enable_msvcm90
1514 enable_msvcp100
1515 enable_msvcp110
1516 enable_msvcp120
1517 enable_msvcp120_app
1518 enable_msvcp140
1519 enable_msvcp140_1
1520 enable_msvcp60
1521 enable_msvcp70
1522 enable_msvcp71
1523 enable_msvcp80
1524 enable_msvcp90
1525 enable_msvcp_win
1526 enable_msvcr100
1527 enable_msvcr110
1528 enable_msvcr120
1529 enable_msvcr120_app
1530 enable_msvcr70
1531 enable_msvcr71
1532 enable_msvcr80
1533 enable_msvcr90
1534 enable_msvcrt
1535 enable_msvcrt20
1536 enable_msvcrt40
1537 enable_msvcrtd
1538 enable_msvfw32
1539 enable_msvidc32
1540 enable_mswsock
1541 enable_msxml
1542 enable_msxml2
1543 enable_msxml3
1544 enable_msxml4
1545 enable_msxml6
1546 enable_mtxdm
1547 enable_ncrypt
1548 enable_nddeapi
1549 enable_ndis_sys
1550 enable_netapi32
1551 enable_netcfgx
1552 enable_netio_sys
1553 enable_netprofm
1554 enable_netutils
1555 enable_newdev
1556 enable_ninput
1557 enable_normaliz
1558 enable_npmshtml
1559 enable_npptools
1560 enable_nsi
1561 enable_nsiproxy_sys
1562 enable_ntdll
1563 enable_ntdsapi
1564 enable_ntoskrnl_exe
1565 enable_ntprint
1566 enable_objsel
1567 enable_odbc32
1568 enable_odbcbcp
1569 enable_odbccp32
1570 enable_odbccu32
1571 enable_ole32
1572 enable_oleacc
1573 enable_oleaut32
1574 enable_olecli32
1575 enable_oledb32
1576 enable_oledlg
1577 enable_olepro32
1578 enable_olesvr32
1579 enable_olethk32
1580 enable_opcservices
1581 enable_openal32
1582 enable_opencl
1583 enable_opengl32
1584 enable_packager
1585 enable_pdh
1586 enable_photometadatahandler
1587 enable_pidgen
1588 enable_powrprof
1589 enable_printui
1590 enable_prntvpt
1591 enable_propsys
1592 enable_psapi
1593 enable_pstorec
1594 enable_pwrshplugin
1595 enable_qasf
1596 enable_qcap
1597 enable_qdvd
1598 enable_qedit
1599 enable_qmgr
1600 enable_qmgrprxy
1601 enable_quartz
1602 enable_query
1603 enable_qwave
1604 enable_rasapi32
1605 enable_rasdlg
1606 enable_regapi
1607 enable_resutils
1608 enable_riched20
1609 enable_riched32
1610 enable_rpcrt4
1611 enable_rsabase
1612 enable_rsaenh
1613 enable_rstrtmgr
1614 enable_rtutils
1615 enable_rtworkq
1616 enable_samlib
1617 enable_sane_ds
1618 enable_sapi
1619 enable_sas
1620 enable_scarddlg
1621 enable_sccbase
1622 enable_schannel
1623 enable_schedsvc
1624 enable_scrobj
1625 enable_scrrun
1626 enable_scsiport_sys
1627 enable_sechost
1628 enable_secur32
1629 enable_security
1630 enable_sensapi
1631 enable_serialui
1632 enable_setupapi
1633 enable_sfc
1634 enable_sfc_os
1635 enable_shcore
1636 enable_shdoclc
1637 enable_shdocvw
1638 enable_shell32
1639 enable_shfolder
1640 enable_shlwapi
1641 enable_slbcsp
1642 enable_slc
1643 enable_snmpapi
1644 enable_softpub
1645 enable_spoolss
1646 enable_sppc
1647 enable_srclient
1648 enable_srvcli
1649 enable_sspicli
1650 enable_stdole2_tlb
1651 enable_stdole32_tlb
1652 enable_sti
1653 enable_strmdll
1654 enable_svrapi
1655 enable_sxs
1656 enable_t2embed
1657 enable_tapi32
1658 enable_taskschd
1659 enable_tbs
1660 enable_tdh
1661 enable_tdi_sys
1662 enable_traffic
1663 enable_twain_32
1664 enable_tzres
1665 enable_ucrtbase
1666 enable_uianimation
1667 enable_uiautomationcore
1668 enable_uiribbon
1669 enable_unicows
1670 enable_updspapi
1671 enable_url
1672 enable_urlmon
1673 enable_usbd_sys
1674 enable_user32
1675 enable_userenv
1676 enable_usp10
1677 enable_utildll
1678 enable_uxtheme
1679 enable_vbscript
1680 enable_vcomp
1681 enable_vcomp100
1682 enable_vcomp110
1683 enable_vcomp120
1684 enable_vcomp140
1685 enable_vcomp90
1686 enable_vcruntime140
1687 enable_vcruntime140_1
1688 enable_vdmdbg
1689 enable_version
1690 enable_vga
1691 enable_virtdisk
1692 enable_vssapi
1693 enable_vulkan_1
1694 enable_wbemdisp
1695 enable_wbemprox
1696 enable_wdscore
1697 enable_webservices
1698 enable_websocket
1699 enable_wer
1700 enable_wevtapi
1701 enable_wevtsvc
1702 enable_wiaservc
1703 enable_wimgapi
1704 enable_win32u
1705 enable_windows_devices_enumeration
1706 enable_windows_gaming_input
1707 enable_windows_globalization
1708 enable_windows_media_devices
1709 enable_windows_media_speech
1710 enable_windowscodecs
1711 enable_windowscodecsext
1712 enable_winealsa_drv
1713 enable_wineandroid_drv
1714 enable_winebus_sys
1715 enable_winecoreaudio_drv
1716 enable_winecrt0
1717 enable_wined3d
1718 enable_winegstreamer
1719 enable_winehid_sys
1720 enable_winejoystick_drv
1721 enable_winemac_drv
1722 enable_winemapi
1723 enable_wineoss_drv
1724 enable_wineps_drv
1725 enable_winepulse_drv
1726 enable_wineusb_sys
1727 enable_winevulkan
1728 enable_winex11_drv
1729 enable_winexinput_sys
1730 enable_wing32
1731 enable_winhttp
1732 enable_wininet
1733 enable_winmm
1734 enable_winnls32
1735 enable_winscard
1736 enable_winspool_drv
1737 enable_winsta
1738 enable_wintab32
1739 enable_wintrust
1740 enable_winusb
1741 enable_wlanapi
1742 enable_wlanui
1743 enable_wldap32
1744 enable_wmasf
1745 enable_wmi
1746 enable_wmiutils
1747 enable_wmp
1748 enable_wmphoto
1749 enable_wmvcore
1750 enable_wnaspi32
1751 enable_wow64
1752 enable_wow64cpu
1753 enable_wow64win
1754 enable_wpc
1755 enable_wpcap
1756 enable_ws2_32
1757 enable_wsdapi
1758 enable_wshom_ocx
1759 enable_wsnmp32
1760 enable_wsock32
1761 enable_wtsapi32
1762 enable_wuapi
1763 enable_wuaueng
1764 enable_x3daudio1_0
1765 enable_x3daudio1_1
1766 enable_x3daudio1_2
1767 enable_x3daudio1_3
1768 enable_x3daudio1_4
1769 enable_x3daudio1_5
1770 enable_x3daudio1_6
1771 enable_x3daudio1_7
1772 enable_xactengine2_0
1773 enable_xactengine2_4
1774 enable_xactengine2_7
1775 enable_xactengine2_9
1776 enable_xactengine3_0
1777 enable_xactengine3_1
1778 enable_xactengine3_2
1779 enable_xactengine3_3
1780 enable_xactengine3_4
1781 enable_xactengine3_5
1782 enable_xactengine3_6
1783 enable_xactengine3_7
1784 enable_xapofx1_1
1785 enable_xapofx1_2
1786 enable_xapofx1_3
1787 enable_xapofx1_4
1788 enable_xapofx1_5
1789 enable_xaudio2_0
1790 enable_xaudio2_1
1791 enable_xaudio2_2
1792 enable_xaudio2_3
1793 enable_xaudio2_4
1794 enable_xaudio2_5
1795 enable_xaudio2_6
1796 enable_xaudio2_7
1797 enable_xaudio2_8
1798 enable_xaudio2_9
1799 enable_xinput1_1
1800 enable_xinput1_2
1801 enable_xinput1_3
1802 enable_xinput1_4
1803 enable_xinput9_1_0
1804 enable_xmllite
1805 enable_xolehlp
1806 enable_xpsprint
1807 enable_xpssvcs
1808 enable_fonts
1809 enable_include
1810 enable_adsiid
1811 enable_dmoguids
1812 enable_dxerr8
1813 enable_dxerr9
1814 enable_dxguid
1815 enable_faudio
1816 enable_gsm
1817 enable_jpeg
1818 enable_jxr
1819 enable_lcms2
1820 enable_mfuuid
1821 enable_mpg123
1822 enable_png
1823 enable_strmbase
1824 enable_strmiids
1825 enable_tiff
1826 enable_uuid
1827 enable_wbemuuid
1828 enable_wine
1829 enable_wmcodecdspuuid
1830 enable_xml2
1831 enable_xslt
1832 enable_zlib
1833 enable_loader
1834 enable_nls
1835 enable_po
1836 enable_arp
1837 enable_aspnet_regiis
1838 enable_attrib
1839 enable_cabarc
1840 enable_cacls
1841 enable_chcp_com
1842 enable_clock
1843 enable_cmd
1844 enable_conhost
1845 enable_control
1846 enable_cscript
1847 enable_dism
1848 enable_dplaysvr
1849 enable_dpnsvr
1850 enable_dpvsetup
1851 enable_dxdiag
1852 enable_eject
1853 enable_expand
1854 enable_explorer
1855 enable_extrac32
1856 enable_fc
1857 enable_find
1858 enable_findstr
1859 enable_fsutil
1860 enable_hh
1861 enable_hostname
1862 enable_icacls
1863 enable_icinfo
1864 enable_iexplore
1865 enable_ipconfig
1866 enable_lodctr
1867 enable_mofcomp
1868 enable_mshta
1869 enable_msidb
1870 enable_msiexec
1871 enable_msinfo32
1872 enable_net
1873 enable_netsh
1874 enable_netstat
1875 enable_ngen
1876 enable_notepad
1877 enable_oleview
1878 enable_ping
1879 enable_plugplay
1880 enable_powershell
1881 enable_presentationfontcache
1882 enable_progman
1883 enable_reg
1884 enable_regasm
1885 enable_regedit
1886 enable_regini
1887 enable_regsvcs
1888 enable_regsvr32
1889 enable_robocopy
1890 enable_rpcss
1891 enable_rundll32
1892 enable_sc
1893 enable_schtasks
1894 enable_sdbinst
1895 enable_secedit
1896 enable_servicemodelreg
1897 enable_services
1898 enable_shutdown
1899 enable_spoolsv
1900 enable_start
1901 enable_subst
1902 enable_svchost
1903 enable_systeminfo
1904 enable_taskkill
1905 enable_tasklist
1906 enable_taskmgr
1907 enable_termsv
1908 enable_uninstaller
1909 enable_unlodctr
1910 enable_view
1911 enable_wevtutil
1912 enable_where
1913 enable_whoami
1914 enable_wineboot
1915 enable_winebrowser
1916 enable_winecfg
1917 enable_wineconsole
1918 enable_winedbg
1919 enable_winedevice
1920 enable_winefile
1921 enable_winemenubuilder
1922 enable_winemine
1923 enable_winemsibuilder
1924 enable_winepath
1925 enable_winetest
1926 enable_winhlp32
1927 enable_winmgmt
1928 enable_winver
1929 enable_wmic
1930 enable_wmplayer
1931 enable_wordpad
1932 enable_write
1933 enable_wscript
1934 enable_wuauserv
1935 enable_wusa
1936 enable_xcopy
1937 enable_server
1938 enable_tools
1939 enable_sfnt2fon
1940 enable_widl
1941 enable_winebuild
1942 enable_winedump
1943 enable_winegcc
1944 enable_winemaker
1945 enable_wmc
1946 enable_wrc
1948 ac_precious_vars='build_alias
1949 host_alias
1950 target_alias
1952 CFLAGS
1953 LDFLAGS
1954 LIBS
1955 CPPFLAGS
1957 CXXFLAGS
1959 OBJC
1960 OBJCFLAGS
1961 FAUDIO_PE_CFLAGS
1962 FAUDIO_PE_LIBS
1963 GSM_PE_CFLAGS
1964 GSM_PE_LIBS
1965 JPEG_PE_CFLAGS
1966 JPEG_PE_LIBS
1967 JXR_PE_CFLAGS
1968 JXR_PE_LIBS
1969 LCMS2_PE_CFLAGS
1970 LCMS2_PE_LIBS
1971 MPG123_PE_CFLAGS
1972 MPG123_PE_LIBS
1973 PNG_PE_CFLAGS
1974 PNG_PE_LIBS
1975 TIFF_PE_CFLAGS
1976 TIFF_PE_LIBS
1977 XML2_PE_CFLAGS
1978 XML2_PE_LIBS
1979 XSLT_PE_CFLAGS
1980 XSLT_PE_LIBS
1981 ZLIB_PE_CFLAGS
1982 ZLIB_PE_LIBS
1983 XMKMF
1985 INOTIFY_CFLAGS
1986 INOTIFY_LIBS
1987 DBUS_CFLAGS
1988 DBUS_LIBS
1989 GNUTLS_CFLAGS
1990 GNUTLS_LIBS
1991 SANE_CFLAGS
1992 SANE_LIBS
1993 USB_CFLAGS
1994 USB_LIBS
1995 GPHOTO2_CFLAGS
1996 GPHOTO2_LIBS
1997 GPHOTO2_PORT_CFLAGS
1998 GPHOTO2_PORT_LIBS
1999 FREETYPE_CFLAGS
2000 FREETYPE_LIBS
2001 PULSE_CFLAGS
2002 PULSE_LIBS
2003 GSTREAMER_CFLAGS
2004 GSTREAMER_LIBS
2005 UDEV_CFLAGS
2006 UDEV_LIBS
2007 UNWIND_CFLAGS
2008 UNWIND_LIBS
2009 SDL2_CFLAGS
2010 SDL2_LIBS
2011 CAPI20_CFLAGS
2012 CAPI20_LIBS
2013 CUPS_CFLAGS
2014 CUPS_LIBS
2015 FONTCONFIG_CFLAGS
2016 FONTCONFIG_LIBS
2017 KRB5_CFLAGS
2018 KRB5_LIBS
2019 GSSAPI_CFLAGS
2020 GSSAPI_LIBS
2021 NETAPI_CFLAGS
2022 NETAPI_LIBS
2023 VKD3D_CFLAGS
2024 VKD3D_LIBS
2025 VKD3D_SHADER_CFLAGS
2026 VKD3D_SHADER_LIBS
2027 LDAP_CFLAGS
2028 LDAP_LIBS'
2031 # Initialize some variables set by options.
2032 ac_init_help=
2033 ac_init_version=false
2034 ac_unrecognized_opts=
2035 ac_unrecognized_sep=
2036 # The variables have the same names as the options, with
2037 # dashes changed to underlines.
2038 cache_file=/dev/null
2039 exec_prefix=NONE
2040 no_create=
2041 no_recursion=
2042 prefix=NONE
2043 program_prefix=NONE
2044 program_suffix=NONE
2045 program_transform_name=s,x,x,
2046 silent=
2047 site=
2048 srcdir=
2049 verbose=
2050 x_includes=NONE
2051 x_libraries=NONE
2053 # Installation directory options.
2054 # These are left unexpanded so users can "make install exec_prefix=/foo"
2055 # and all the variables that are supposed to be based on exec_prefix
2056 # by default will actually change.
2057 # Use braces instead of parens because sh, perl, etc. also accept them.
2058 # (The list follows the same order as the GNU Coding Standards.)
2059 bindir='${exec_prefix}/bin'
2060 sbindir='${exec_prefix}/sbin'
2061 libexecdir='${exec_prefix}/libexec'
2062 datarootdir='${prefix}/share'
2063 datadir='${datarootdir}'
2064 sysconfdir='${prefix}/etc'
2065 sharedstatedir='${prefix}/com'
2066 localstatedir='${prefix}/var'
2067 runstatedir='${localstatedir}/run'
2068 includedir='${prefix}/include'
2069 oldincludedir='/usr/include'
2070 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2071 infodir='${datarootdir}/info'
2072 htmldir='${docdir}'
2073 dvidir='${docdir}'
2074 pdfdir='${docdir}'
2075 psdir='${docdir}'
2076 libdir='${exec_prefix}/lib'
2077 localedir='${datarootdir}/locale'
2078 mandir='${datarootdir}/man'
2080 ac_prev=
2081 ac_dashdash=
2082 for ac_option
2084 # If the previous option needs an argument, assign it.
2085 if test -n "$ac_prev"; then
2086 eval $ac_prev=\$ac_option
2087 ac_prev=
2088 continue
2091 case $ac_option in
2092 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2093 *=) ac_optarg= ;;
2094 *) ac_optarg=yes ;;
2095 esac
2097 case $ac_dashdash$ac_option in
2099 ac_dashdash=yes ;;
2101 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2102 ac_prev=bindir ;;
2103 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2104 bindir=$ac_optarg ;;
2106 -build | --build | --buil | --bui | --bu)
2107 ac_prev=build_alias ;;
2108 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2109 build_alias=$ac_optarg ;;
2111 -cache-file | --cache-file | --cache-fil | --cache-fi \
2112 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2113 ac_prev=cache_file ;;
2114 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2115 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2116 cache_file=$ac_optarg ;;
2118 --config-cache | -C)
2119 cache_file=config.cache ;;
2121 -datadir | --datadir | --datadi | --datad)
2122 ac_prev=datadir ;;
2123 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2124 datadir=$ac_optarg ;;
2126 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2127 | --dataroo | --dataro | --datar)
2128 ac_prev=datarootdir ;;
2129 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2130 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2131 datarootdir=$ac_optarg ;;
2133 -disable-* | --disable-*)
2134 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2135 # Reject names that are not valid shell variable names.
2136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2137 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2138 ac_useropt_orig=$ac_useropt
2139 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2140 case $ac_user_opts in
2142 "enable_$ac_useropt"
2143 "*) ;;
2144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2145 ac_unrecognized_sep=', ';;
2146 esac
2147 eval enable_$ac_useropt=no ;;
2149 -docdir | --docdir | --docdi | --doc | --do)
2150 ac_prev=docdir ;;
2151 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2152 docdir=$ac_optarg ;;
2154 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2155 ac_prev=dvidir ;;
2156 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2157 dvidir=$ac_optarg ;;
2159 -enable-* | --enable-*)
2160 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2161 # Reject names that are not valid shell variable names.
2162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2163 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2164 ac_useropt_orig=$ac_useropt
2165 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2166 case $ac_user_opts in
2168 "enable_$ac_useropt"
2169 "*) ;;
2170 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2171 ac_unrecognized_sep=', ';;
2172 esac
2173 eval enable_$ac_useropt=\$ac_optarg ;;
2175 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2176 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2177 | --exec | --exe | --ex)
2178 ac_prev=exec_prefix ;;
2179 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2180 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2181 | --exec=* | --exe=* | --ex=*)
2182 exec_prefix=$ac_optarg ;;
2184 -gas | --gas | --ga | --g)
2185 # Obsolete; use --with-gas.
2186 with_gas=yes ;;
2188 -help | --help | --hel | --he | -h)
2189 ac_init_help=long ;;
2190 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2191 ac_init_help=recursive ;;
2192 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2193 ac_init_help=short ;;
2195 -host | --host | --hos | --ho)
2196 ac_prev=host_alias ;;
2197 -host=* | --host=* | --hos=* | --ho=*)
2198 host_alias=$ac_optarg ;;
2200 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2201 ac_prev=htmldir ;;
2202 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2203 | --ht=*)
2204 htmldir=$ac_optarg ;;
2206 -includedir | --includedir | --includedi | --included | --include \
2207 | --includ | --inclu | --incl | --inc)
2208 ac_prev=includedir ;;
2209 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2210 | --includ=* | --inclu=* | --incl=* | --inc=*)
2211 includedir=$ac_optarg ;;
2213 -infodir | --infodir | --infodi | --infod | --info | --inf)
2214 ac_prev=infodir ;;
2215 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2216 infodir=$ac_optarg ;;
2218 -libdir | --libdir | --libdi | --libd)
2219 ac_prev=libdir ;;
2220 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2221 libdir=$ac_optarg ;;
2223 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2224 | --libexe | --libex | --libe)
2225 ac_prev=libexecdir ;;
2226 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2227 | --libexe=* | --libex=* | --libe=*)
2228 libexecdir=$ac_optarg ;;
2230 -localedir | --localedir | --localedi | --localed | --locale)
2231 ac_prev=localedir ;;
2232 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2233 localedir=$ac_optarg ;;
2235 -localstatedir | --localstatedir | --localstatedi | --localstated \
2236 | --localstate | --localstat | --localsta | --localst | --locals)
2237 ac_prev=localstatedir ;;
2238 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2239 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2240 localstatedir=$ac_optarg ;;
2242 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2243 ac_prev=mandir ;;
2244 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2245 mandir=$ac_optarg ;;
2247 -nfp | --nfp | --nf)
2248 # Obsolete; use --without-fp.
2249 with_fp=no ;;
2251 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2252 | --no-cr | --no-c | -n)
2253 no_create=yes ;;
2255 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2256 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2257 no_recursion=yes ;;
2259 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2260 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2261 | --oldin | --oldi | --old | --ol | --o)
2262 ac_prev=oldincludedir ;;
2263 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2264 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2265 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2266 oldincludedir=$ac_optarg ;;
2268 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2269 ac_prev=prefix ;;
2270 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2271 prefix=$ac_optarg ;;
2273 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2274 | --program-pre | --program-pr | --program-p)
2275 ac_prev=program_prefix ;;
2276 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2277 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2278 program_prefix=$ac_optarg ;;
2280 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2281 | --program-suf | --program-su | --program-s)
2282 ac_prev=program_suffix ;;
2283 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2284 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2285 program_suffix=$ac_optarg ;;
2287 -program-transform-name | --program-transform-name \
2288 | --program-transform-nam | --program-transform-na \
2289 | --program-transform-n | --program-transform- \
2290 | --program-transform | --program-transfor \
2291 | --program-transfo | --program-transf \
2292 | --program-trans | --program-tran \
2293 | --progr-tra | --program-tr | --program-t)
2294 ac_prev=program_transform_name ;;
2295 -program-transform-name=* | --program-transform-name=* \
2296 | --program-transform-nam=* | --program-transform-na=* \
2297 | --program-transform-n=* | --program-transform-=* \
2298 | --program-transform=* | --program-transfor=* \
2299 | --program-transfo=* | --program-transf=* \
2300 | --program-trans=* | --program-tran=* \
2301 | --progr-tra=* | --program-tr=* | --program-t=*)
2302 program_transform_name=$ac_optarg ;;
2304 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2305 ac_prev=pdfdir ;;
2306 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2307 pdfdir=$ac_optarg ;;
2309 -psdir | --psdir | --psdi | --psd | --ps)
2310 ac_prev=psdir ;;
2311 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2312 psdir=$ac_optarg ;;
2314 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2315 | -silent | --silent | --silen | --sile | --sil)
2316 silent=yes ;;
2318 -runstatedir | --runstatedir | --runstatedi | --runstated \
2319 | --runstate | --runstat | --runsta | --runst | --runs \
2320 | --run | --ru | --r)
2321 ac_prev=runstatedir ;;
2322 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2323 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2324 | --run=* | --ru=* | --r=*)
2325 runstatedir=$ac_optarg ;;
2327 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2328 ac_prev=sbindir ;;
2329 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2330 | --sbi=* | --sb=*)
2331 sbindir=$ac_optarg ;;
2333 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2334 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2335 | --sharedst | --shareds | --shared | --share | --shar \
2336 | --sha | --sh)
2337 ac_prev=sharedstatedir ;;
2338 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2339 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2340 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2341 | --sha=* | --sh=*)
2342 sharedstatedir=$ac_optarg ;;
2344 -site | --site | --sit)
2345 ac_prev=site ;;
2346 -site=* | --site=* | --sit=*)
2347 site=$ac_optarg ;;
2349 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2350 ac_prev=srcdir ;;
2351 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2352 srcdir=$ac_optarg ;;
2354 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2355 | --syscon | --sysco | --sysc | --sys | --sy)
2356 ac_prev=sysconfdir ;;
2357 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2358 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2359 sysconfdir=$ac_optarg ;;
2361 -target | --target | --targe | --targ | --tar | --ta | --t)
2362 ac_prev=target_alias ;;
2363 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2364 target_alias=$ac_optarg ;;
2366 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2367 verbose=yes ;;
2369 -version | --version | --versio | --versi | --vers | -V)
2370 ac_init_version=: ;;
2372 -with-* | --with-*)
2373 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2374 # Reject names that are not valid shell variable names.
2375 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2376 as_fn_error $? "invalid package name: \`$ac_useropt'"
2377 ac_useropt_orig=$ac_useropt
2378 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2379 case $ac_user_opts in
2381 "with_$ac_useropt"
2382 "*) ;;
2383 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2384 ac_unrecognized_sep=', ';;
2385 esac
2386 eval with_$ac_useropt=\$ac_optarg ;;
2388 -without-* | --without-*)
2389 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2390 # Reject names that are not valid shell variable names.
2391 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2392 as_fn_error $? "invalid package name: \`$ac_useropt'"
2393 ac_useropt_orig=$ac_useropt
2394 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2395 case $ac_user_opts in
2397 "with_$ac_useropt"
2398 "*) ;;
2399 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2400 ac_unrecognized_sep=', ';;
2401 esac
2402 eval with_$ac_useropt=no ;;
2404 --x)
2405 # Obsolete; use --with-x.
2406 with_x=yes ;;
2408 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2409 | --x-incl | --x-inc | --x-in | --x-i)
2410 ac_prev=x_includes ;;
2411 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2412 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2413 x_includes=$ac_optarg ;;
2415 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2416 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2417 ac_prev=x_libraries ;;
2418 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2419 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2420 x_libraries=$ac_optarg ;;
2422 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2423 Try \`$0 --help' for more information"
2426 *=*)
2427 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2428 # Reject names that are not valid shell variable names.
2429 case $ac_envvar in #(
2430 '' | [0-9]* | *[!_$as_cr_alnum]* )
2431 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2432 esac
2433 eval $ac_envvar=\$ac_optarg
2434 export $ac_envvar ;;
2437 # FIXME: should be removed in autoconf 3.0.
2438 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2439 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2440 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2441 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2444 esac
2445 done
2447 if test -n "$ac_prev"; then
2448 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2449 as_fn_error $? "missing argument to $ac_option"
2452 if test -n "$ac_unrecognized_opts"; then
2453 case $enable_option_checking in
2454 no) ;;
2455 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2456 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2457 esac
2460 # Check all directory arguments for consistency.
2461 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2462 datadir sysconfdir sharedstatedir localstatedir includedir \
2463 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2464 libdir localedir mandir runstatedir
2466 eval ac_val=\$$ac_var
2467 # Remove trailing slashes.
2468 case $ac_val in
2469 */ )
2470 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2471 eval $ac_var=\$ac_val;;
2472 esac
2473 # Be sure to have absolute directory names.
2474 case $ac_val in
2475 [\\/$]* | ?:[\\/]* ) continue;;
2476 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2477 esac
2478 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2479 done
2481 # There might be people who depend on the old broken behavior: `$host'
2482 # used to hold the argument of --host etc.
2483 # FIXME: To remove some day.
2484 build=$build_alias
2485 host=$host_alias
2486 target=$target_alias
2488 # FIXME: To remove some day.
2489 if test "x$host_alias" != x; then
2490 if test "x$build_alias" = x; then
2491 cross_compiling=maybe
2492 elif test "x$build_alias" != "x$host_alias"; then
2493 cross_compiling=yes
2497 ac_tool_prefix=
2498 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2500 test "$silent" = yes && exec 6>/dev/null
2503 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2504 ac_ls_di=`ls -di .` &&
2505 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2506 as_fn_error $? "working directory cannot be determined"
2507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2508 as_fn_error $? "pwd does not report name of working directory"
2511 # Find the source files, if location was not specified.
2512 if test -z "$srcdir"; then
2513 ac_srcdir_defaulted=yes
2514 # Try the directory containing this script, then the parent directory.
2515 ac_confdir=`$as_dirname -- "$as_myself" ||
2516 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2517 X"$as_myself" : 'X\(//\)[^/]' \| \
2518 X"$as_myself" : 'X\(//\)$' \| \
2519 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2520 printf "%s\n" X"$as_myself" |
2521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2522 s//\1/
2525 /^X\(\/\/\)[^/].*/{
2526 s//\1/
2529 /^X\(\/\/\)$/{
2530 s//\1/
2533 /^X\(\/\).*/{
2534 s//\1/
2537 s/.*/./; q'`
2538 srcdir=$ac_confdir
2539 if test ! -r "$srcdir/$ac_unique_file"; then
2540 srcdir=..
2542 else
2543 ac_srcdir_defaulted=no
2545 if test ! -r "$srcdir/$ac_unique_file"; then
2546 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2547 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2549 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2550 ac_abs_confdir=`(
2551 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2552 pwd)`
2553 # When building in place, set srcdir=.
2554 if test "$ac_abs_confdir" = "$ac_pwd"; then
2555 srcdir=.
2557 # Remove unnecessary trailing slashes from srcdir.
2558 # Double slashes in file names in object file debugging info
2559 # mess up M-x gdb in Emacs.
2560 case $srcdir in
2561 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2562 esac
2563 for ac_var in $ac_precious_vars; do
2564 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2565 eval ac_env_${ac_var}_value=\$${ac_var}
2566 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2567 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2568 done
2571 # Report the --help message.
2573 if test "$ac_init_help" = "long"; then
2574 # Omit some internal or obsolete options to make the list less imposing.
2575 # This message is too long to be a string in the A/UX 3.1 sh.
2576 cat <<_ACEOF
2577 \`configure' configures Wine 6.23 to adapt to many kinds of systems.
2579 Usage: $0 [OPTION]... [VAR=VALUE]...
2581 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2582 VAR=VALUE. See below for descriptions of some of the useful variables.
2584 Defaults for the options are specified in brackets.
2586 Configuration:
2587 -h, --help display this help and exit
2588 --help=short display options specific to this package
2589 --help=recursive display the short help of all the included packages
2590 -V, --version display version information and exit
2591 -q, --quiet, --silent do not print \`checking ...' messages
2592 --cache-file=FILE cache test results in FILE [disabled]
2593 -C, --config-cache alias for \`--cache-file=config.cache'
2594 -n, --no-create do not create output files
2595 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2597 Installation directories:
2598 --prefix=PREFIX install architecture-independent files in PREFIX
2599 [$ac_default_prefix]
2600 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2601 [PREFIX]
2603 By default, \`make install' will install all the files in
2604 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2605 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2606 for instance \`--prefix=\$HOME'.
2608 For better control, use the options below.
2610 Fine tuning of the installation directories:
2611 --bindir=DIR user executables [EPREFIX/bin]
2612 --sbindir=DIR system admin executables [EPREFIX/sbin]
2613 --libexecdir=DIR program executables [EPREFIX/libexec]
2614 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2615 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2616 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2617 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2618 --libdir=DIR object code libraries [EPREFIX/lib]
2619 --includedir=DIR C header files [PREFIX/include]
2620 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2621 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2622 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2623 --infodir=DIR info documentation [DATAROOTDIR/info]
2624 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2625 --mandir=DIR man documentation [DATAROOTDIR/man]
2626 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2627 --htmldir=DIR html documentation [DOCDIR]
2628 --dvidir=DIR dvi documentation [DOCDIR]
2629 --pdfdir=DIR pdf documentation [DOCDIR]
2630 --psdir=DIR ps documentation [DOCDIR]
2631 _ACEOF
2633 cat <<\_ACEOF
2635 X features:
2636 --x-includes=DIR X include files are in DIR
2637 --x-libraries=DIR X library files are in DIR
2639 System types:
2640 --build=BUILD configure for building on BUILD [guessed]
2641 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2642 _ACEOF
2645 if test -n "$ac_init_help"; then
2646 case $ac_init_help in
2647 short | recursive ) echo "Configuration of Wine 6.23:";;
2648 esac
2649 cat <<\_ACEOF
2651 Optional Features:
2652 --disable-option-checking ignore unrecognized --enable/--with options
2653 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2654 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2655 --disable-win16 do not include Win16 support
2656 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2657 binaries)
2658 --disable-tests do not build the regression tests
2659 --enable-build-id include .buildid section in output objects
2660 --enable-maintainer-mode
2661 enable maintainer-specific build rules
2662 --enable-silent-rules use silent build rules (override: "make V=1")
2663 --enable-werror treat compilation warnings as errors
2664 --disable-largefile omit support for large files
2666 Optional Packages:
2667 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2668 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2669 --without-alsa do not use the Alsa sound support
2670 --without-capi do not use CAPI (ISDN support)
2671 --without-coreaudio do not use the CoreAudio sound support
2672 --without-cups do not use CUPS
2673 --without-dbus do not use DBus (dynamic device support)
2674 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2675 --without-fontconfig do not use fontconfig
2676 --without-freetype do not use the FreeType library
2677 --without-gettext do not use gettext
2678 --with-gettextpo use the GetTextPO library to rebuild po files
2679 --without-gphoto do not use gphoto (Digital Camera support)
2680 --without-gnutls do not use GnuTLS (schannel support)
2681 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2682 --without-gstreamer do not use GStreamer (codecs support)
2683 --without-inotify do not use inotify (filesystem change notifications)
2684 --without-krb5 do not use krb5 (Kerberos)
2685 --without-ldap do not use LDAP
2686 --without-mingw do not use the MinGW cross-compiler
2687 --without-netapi do not use the Samba NetAPI library
2688 --without-openal do not use OpenAL
2689 --without-opencl do not use OpenCL
2690 --without-opengl do not use OpenGL
2691 --without-osmesa do not use the OSMesa library
2692 --without-oss do not use the OSS sound support
2693 --without-pcap do not use the Packet Capture library
2694 --without-pthread do not use the pthread library
2695 --without-pulse do not use PulseAudio sound support
2696 --without-sane do not use SANE (scanner support)
2697 --without-sdl do not use SDL
2698 --without-udev do not use udev (plug and play support)
2699 --without-unwind do not use the libunwind library (exception
2700 handling)
2701 --without-usb do not use the libusb library
2702 --without-v4l2 do not use v4l2 (video capture)
2703 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2704 --without-vulkan do not use Vulkan
2705 --without-xcomposite do not use the Xcomposite extension
2706 --without-xcursor do not use the Xcursor extension
2707 --without-xfixes do not use Xfixes for clipboard change notifications
2708 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2709 --without-xinput do not use the Xinput extension
2710 --without-xinput2 do not use the Xinput 2 extension
2711 --without-xrandr do not use Xrandr (multi-monitor support)
2712 --without-xrender do not use the Xrender extension
2713 --without-xshape do not use the Xshape extension
2714 --without-xshm do not use XShm (shared memory extension)
2715 --without-xxf86vm do not use XFree video mode extension
2716 --with-system-dllpath=PATH
2717 load external PE dependencies from colon-separated
2718 path PATH
2719 --with-wine-tools=DIR use Wine tools from directory DIR
2720 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2721 --with-x use the X Window System
2723 Some influential environment variables:
2724 CC C compiler command
2725 CFLAGS C compiler flags
2726 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2727 nonstandard directory <lib dir>
2728 LIBS libraries to pass to the linker, e.g. -l<library>
2729 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2730 you have headers in a nonstandard directory <include dir>
2731 CXX C++ compiler command
2732 CXXFLAGS C++ compiler flags
2733 OBJC Objective C compiler command
2734 OBJCFLAGS Objective C compiler flags
2735 FAUDIO_PE_CFLAGS
2736 C compiler flags for the PE faudio, overriding the bundled
2737 version
2738 FAUDIO_PE_LIBS
2739 Linker flags for the PE faudio, overriding the bundled version
2740 GSM_PE_CFLAGS
2741 C compiler flags for the PE gsm, overriding the bundled version
2742 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2743 JPEG_PE_CFLAGS
2744 C compiler flags for the PE jpeg, overriding the bundled version
2745 JPEG_PE_LIBS
2746 Linker flags for the PE jpeg, overriding the bundled version
2747 JXR_PE_CFLAGS
2748 C compiler flags for the PE jxr, overriding the bundled version
2749 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2750 LCMS2_PE_CFLAGS
2751 C compiler flags for the PE lcms2, overriding the bundled
2752 version
2753 LCMS2_PE_LIBS
2754 Linker flags for the PE lcms2, overriding the bundled version
2755 MPG123_PE_CFLAGS
2756 C compiler flags for the PE mpg123, overriding the bundled
2757 version
2758 MPG123_PE_LIBS
2759 Linker flags for the PE mpg123, overriding the bundled version
2760 PNG_PE_CFLAGS
2761 C compiler flags for the PE png, overriding the bundled version
2762 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2763 TIFF_PE_CFLAGS
2764 C compiler flags for the PE tiff, overriding the bundled version
2765 TIFF_PE_LIBS
2766 Linker flags for the PE tiff, overriding the bundled version
2767 XML2_PE_CFLAGS
2768 C compiler flags for the PE xml2, overriding the bundled version
2769 XML2_PE_LIBS
2770 Linker flags for the PE xml2, overriding the bundled version
2771 XSLT_PE_CFLAGS
2772 C compiler flags for the PE xslt, overriding the bundled version
2773 XSLT_PE_LIBS
2774 Linker flags for the PE xslt, overriding the bundled version
2775 ZLIB_PE_CFLAGS
2776 C compiler flags for the PE zlib, overriding the bundled version
2777 ZLIB_PE_LIBS
2778 Linker flags for the PE zlib, overriding the bundled version
2779 XMKMF Path to xmkmf, Makefile generator for X Window System
2780 CPP C preprocessor
2781 INOTIFY_CFLAGS
2782 C compiler flags for libinotify, overriding pkg-config
2783 INOTIFY_LIBS
2784 Linker flags for libinotify, overriding pkg-config
2785 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2786 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2787 GNUTLS_CFLAGS
2788 C compiler flags for gnutls, overriding pkg-config
2789 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2790 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2791 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2792 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2793 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2794 GPHOTO2_CFLAGS
2795 C compiler flags for libgphoto2, overriding pkg-config
2796 GPHOTO2_LIBS
2797 Linker flags for libgphoto2, overriding pkg-config
2798 GPHOTO2_PORT_CFLAGS
2799 C compiler flags for libgphoto2_port, overriding pkg-config
2800 GPHOTO2_PORT_LIBS
2801 Linker flags for libgphoto2_port, overriding pkg-config
2802 FREETYPE_CFLAGS
2803 C compiler flags for freetype2, overriding pkg-config
2804 FREETYPE_LIBS
2805 Linker flags for freetype2, overriding pkg-config
2806 PULSE_CFLAGS
2807 C compiler flags for libpulse, overriding pkg-config
2808 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2809 GSTREAMER_CFLAGS
2810 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2811 gstreamer-audio-1.0, overriding pkg-config
2812 GSTREAMER_LIBS
2813 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2814 gstreamer-audio-1.0, overriding pkg-config
2815 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2816 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2817 UNWIND_CFLAGS
2818 C compiler flags for libunwind, overriding pkg-config
2819 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2820 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2821 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2822 CAPI20_CFLAGS
2823 C compiler flags for capi20, overriding pkg-config
2824 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2825 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2826 CUPS_LIBS Linker flags for cups, overriding pkg-config
2827 FONTCONFIG_CFLAGS
2828 C compiler flags for fontconfig, overriding pkg-config
2829 FONTCONFIG_LIBS
2830 Linker flags for fontconfig, overriding pkg-config
2831 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2832 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2833 GSSAPI_CFLAGS
2834 C compiler flags for krb5-gssapi, overriding pkg-config
2835 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2836 NETAPI_CFLAGS
2837 C compiler flags for netapi, overriding pkg-config
2838 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2839 VKD3D_CFLAGS
2840 C compiler flags for libvkd3d, overriding pkg-config
2841 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2842 VKD3D_SHADER_CFLAGS
2843 C compiler flags for libvkd3d-shader, overriding pkg-config
2844 VKD3D_SHADER_LIBS
2845 Linker flags for libvkd3d-shader, overriding pkg-config
2846 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2847 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2849 Use these variables to override the choices made by `configure' or to help
2850 it to find libraries and programs with nonstandard names/locations.
2852 Report bugs to <wine-devel@winehq.org>.
2853 Wine home page: <https://www.winehq.org>.
2854 _ACEOF
2855 ac_status=$?
2858 if test "$ac_init_help" = "recursive"; then
2859 # If there are subdirs, report their specific --help.
2860 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2861 test -d "$ac_dir" ||
2862 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2863 continue
2864 ac_builddir=.
2866 case "$ac_dir" in
2867 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2869 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2870 # A ".." for each directory in $ac_dir_suffix.
2871 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2872 case $ac_top_builddir_sub in
2873 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2874 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2875 esac ;;
2876 esac
2877 ac_abs_top_builddir=$ac_pwd
2878 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2879 # for backward compatibility:
2880 ac_top_builddir=$ac_top_build_prefix
2882 case $srcdir in
2883 .) # We are building in place.
2884 ac_srcdir=.
2885 ac_top_srcdir=$ac_top_builddir_sub
2886 ac_abs_top_srcdir=$ac_pwd ;;
2887 [\\/]* | ?:[\\/]* ) # Absolute name.
2888 ac_srcdir=$srcdir$ac_dir_suffix;
2889 ac_top_srcdir=$srcdir
2890 ac_abs_top_srcdir=$srcdir ;;
2891 *) # Relative name.
2892 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2893 ac_top_srcdir=$ac_top_build_prefix$srcdir
2894 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2895 esac
2896 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2898 cd "$ac_dir" || { ac_status=$?; continue; }
2899 # Check for configure.gnu first; this name is used for a wrapper for
2900 # Metaconfig's "Configure" on case-insensitive file systems.
2901 if test -f "$ac_srcdir/configure.gnu"; then
2902 echo &&
2903 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2904 elif test -f "$ac_srcdir/configure"; then
2905 echo &&
2906 $SHELL "$ac_srcdir/configure" --help=recursive
2907 else
2908 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2909 fi || ac_status=$?
2910 cd "$ac_pwd" || { ac_status=$?; break; }
2911 done
2914 test -n "$ac_init_help" && exit $ac_status
2915 if $ac_init_version; then
2916 cat <<\_ACEOF
2917 Wine configure 6.23
2918 generated by GNU Autoconf 2.71
2920 Copyright (C) 2021 Free Software Foundation, Inc.
2921 This configure script is free software; the Free Software Foundation
2922 gives unlimited permission to copy, distribute and modify it.
2923 _ACEOF
2924 exit
2927 ## ------------------------ ##
2928 ## Autoconf initialization. ##
2929 ## ------------------------ ##
2931 # ac_fn_c_try_compile LINENO
2932 # --------------------------
2933 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2934 ac_fn_c_try_compile ()
2936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2937 rm -f conftest.$ac_objext conftest.beam
2938 if { { ac_try="$ac_compile"
2939 case "(($ac_try" in
2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2942 esac
2943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2944 printf "%s\n" "$ac_try_echo"; } >&5
2945 (eval "$ac_compile") 2>conftest.err
2946 ac_status=$?
2947 if test -s conftest.err; then
2948 grep -v '^ *+' conftest.err >conftest.er1
2949 cat conftest.er1 >&5
2950 mv -f conftest.er1 conftest.err
2952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; } && {
2954 test -z "$ac_c_werror_flag" ||
2955 test ! -s conftest.err
2956 } && test -s conftest.$ac_objext
2957 then :
2958 ac_retval=0
2959 else $as_nop
2960 printf "%s\n" "$as_me: failed program was:" >&5
2961 sed 's/^/| /' conftest.$ac_ext >&5
2963 ac_retval=1
2965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2966 as_fn_set_status $ac_retval
2968 } # ac_fn_c_try_compile
2970 # ac_fn_cxx_try_compile LINENO
2971 # ----------------------------
2972 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2973 ac_fn_cxx_try_compile ()
2975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2976 rm -f conftest.$ac_objext conftest.beam
2977 if { { ac_try="$ac_compile"
2978 case "(($ac_try" in
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2981 esac
2982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2983 printf "%s\n" "$ac_try_echo"; } >&5
2984 (eval "$ac_compile") 2>conftest.err
2985 ac_status=$?
2986 if test -s conftest.err; then
2987 grep -v '^ *+' conftest.err >conftest.er1
2988 cat conftest.er1 >&5
2989 mv -f conftest.er1 conftest.err
2991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2992 test $ac_status = 0; } && {
2993 test -z "$ac_cxx_werror_flag" ||
2994 test ! -s conftest.err
2995 } && test -s conftest.$ac_objext
2996 then :
2997 ac_retval=0
2998 else $as_nop
2999 printf "%s\n" "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3002 ac_retval=1
3004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3005 as_fn_set_status $ac_retval
3007 } # ac_fn_cxx_try_compile
3009 # ac_fn_c_try_link LINENO
3010 # -----------------------
3011 # Try to link conftest.$ac_ext, and return whether this succeeded.
3012 ac_fn_c_try_link ()
3014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3015 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
3016 if { { ac_try="$ac_link"
3017 case "(($ac_try" in
3018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019 *) ac_try_echo=$ac_try;;
3020 esac
3021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3022 printf "%s\n" "$ac_try_echo"; } >&5
3023 (eval "$ac_link") 2>conftest.err
3024 ac_status=$?
3025 if test -s conftest.err; then
3026 grep -v '^ *+' conftest.err >conftest.er1
3027 cat conftest.er1 >&5
3028 mv -f conftest.er1 conftest.err
3030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3031 test $ac_status = 0; } && {
3032 test -z "$ac_c_werror_flag" ||
3033 test ! -s conftest.err
3034 } && test -s conftest$ac_exeext && {
3035 test "$cross_compiling" = yes ||
3036 test -x conftest$ac_exeext
3038 then :
3039 ac_retval=0
3040 else $as_nop
3041 printf "%s\n" "$as_me: failed program was:" >&5
3042 sed 's/^/| /' conftest.$ac_ext >&5
3044 ac_retval=1
3046 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3047 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3048 # interfere with the next link command; also delete a directory that is
3049 # left behind by Apple's compiler. We do this before executing the actions.
3050 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3051 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3052 as_fn_set_status $ac_retval
3054 } # ac_fn_c_try_link
3056 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3057 # -------------------------------------------------------
3058 # Tests whether HEADER exists and can be compiled using the include files in
3059 # INCLUDES, setting the cache variable VAR accordingly.
3060 ac_fn_c_check_header_compile ()
3062 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3064 printf %s "checking for $2... " >&6; }
3065 if eval test \${$3+y}
3066 then :
3067 printf %s "(cached) " >&6
3068 else $as_nop
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3072 #include <$2>
3073 _ACEOF
3074 if ac_fn_c_try_compile "$LINENO"
3075 then :
3076 eval "$3=yes"
3077 else $as_nop
3078 eval "$3=no"
3080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3082 eval ac_res=\$$3
3083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3084 printf "%s\n" "$ac_res" >&6; }
3085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3087 } # ac_fn_c_check_header_compile
3089 # ac_fn_objc_try_compile LINENO
3090 # -----------------------------
3091 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3092 ac_fn_objc_try_compile ()
3094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3095 rm -f conftest.$ac_objext conftest.beam
3096 if { { ac_try="$ac_compile"
3097 case "(($ac_try" in
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3100 esac
3101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3102 printf "%s\n" "$ac_try_echo"; } >&5
3103 (eval "$ac_compile") 2>conftest.err
3104 ac_status=$?
3105 if test -s conftest.err; then
3106 grep -v '^ *+' conftest.err >conftest.er1
3107 cat conftest.er1 >&5
3108 mv -f conftest.er1 conftest.err
3110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3111 test $ac_status = 0; } && {
3112 test -z "$ac_objc_werror_flag" ||
3113 test ! -s conftest.err
3114 } && test -s conftest.$ac_objext
3115 then :
3116 ac_retval=0
3117 else $as_nop
3118 printf "%s\n" "$as_me: failed program was:" >&5
3119 sed 's/^/| /' conftest.$ac_ext >&5
3121 ac_retval=1
3123 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3124 as_fn_set_status $ac_retval
3126 } # ac_fn_objc_try_compile
3128 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
3129 # ----------------------------------------------------------
3130 # Tests whether HEADER exists and can be compiled using the include files in
3131 # INCLUDES, setting the cache variable VAR accordingly.
3132 ac_fn_objc_check_header_compile ()
3134 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3136 printf %s "checking for $2... " >&6; }
3137 if eval test \${$3+y}
3138 then :
3139 printf %s "(cached) " >&6
3140 else $as_nop
3141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h. */
3144 #include <$2>
3145 _ACEOF
3146 if ac_fn_objc_try_compile "$LINENO"
3147 then :
3148 eval "$3=yes"
3149 else $as_nop
3150 eval "$3=no"
3152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3154 eval ac_res=\$$3
3155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3156 printf "%s\n" "$ac_res" >&6; }
3157 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3159 } # ac_fn_objc_check_header_compile
3161 # ac_fn_c_check_func LINENO FUNC VAR
3162 # ----------------------------------
3163 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3164 ac_fn_c_check_func ()
3166 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3168 printf %s "checking for $2... " >&6; }
3169 if eval test \${$3+y}
3170 then :
3171 printf %s "(cached) " >&6
3172 else $as_nop
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3175 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3177 #define $2 innocuous_$2
3179 /* System header to define __stub macros and hopefully few prototypes,
3180 which can conflict with char $2 (); below. */
3182 #include <limits.h>
3183 #undef $2
3185 /* Override any GCC internal prototype to avoid an error.
3186 Use char because int might match the return type of a GCC
3187 builtin and then its argument prototype would still apply. */
3188 #ifdef __cplusplus
3189 extern "C"
3190 #endif
3191 char $2 ();
3192 /* The GNU C library defines this for functions which it implements
3193 to always fail with ENOSYS. Some functions are actually named
3194 something starting with __ and the normal name is an alias. */
3195 #if defined __stub_$2 || defined __stub___$2
3196 choke me
3197 #endif
3200 main (void)
3202 return $2 ();
3204 return 0;
3206 _ACEOF
3207 if ac_fn_c_try_link "$LINENO"
3208 then :
3209 eval "$3=yes"
3210 else $as_nop
3211 eval "$3=no"
3213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3214 conftest$ac_exeext conftest.$ac_ext
3216 eval ac_res=\$$3
3217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3218 printf "%s\n" "$ac_res" >&6; }
3219 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3221 } # ac_fn_c_check_func
3223 # ac_fn_c_try_cpp LINENO
3224 # ----------------------
3225 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3226 ac_fn_c_try_cpp ()
3228 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3229 if { { ac_try="$ac_cpp conftest.$ac_ext"
3230 case "(($ac_try" in
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3233 esac
3234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3235 printf "%s\n" "$ac_try_echo"; } >&5
3236 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3237 ac_status=$?
3238 if test -s conftest.err; then
3239 grep -v '^ *+' conftest.err >conftest.er1
3240 cat conftest.er1 >&5
3241 mv -f conftest.er1 conftest.err
3243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3244 test $ac_status = 0; } > conftest.i && {
3245 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3246 test ! -s conftest.err
3248 then :
3249 ac_retval=0
3250 else $as_nop
3251 printf "%s\n" "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3254 ac_retval=1
3256 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3257 as_fn_set_status $ac_retval
3259 } # ac_fn_c_try_cpp
3261 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3262 # ----------------------------------------------------
3263 # Tries to find if the field MEMBER exists in type AGGR, after including
3264 # INCLUDES, setting cache variable VAR accordingly.
3265 ac_fn_c_check_member ()
3267 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3269 printf %s "checking for $2.$3... " >&6; }
3270 if eval test \${$4+y}
3271 then :
3272 printf %s "(cached) " >&6
3273 else $as_nop
3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3278 main (void)
3280 static $2 ac_aggr;
3281 if (ac_aggr.$3)
3282 return 0;
3284 return 0;
3286 _ACEOF
3287 if ac_fn_c_try_compile "$LINENO"
3288 then :
3289 eval "$4=yes"
3290 else $as_nop
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3295 main (void)
3297 static $2 ac_aggr;
3298 if (sizeof ac_aggr.$3)
3299 return 0;
3301 return 0;
3303 _ACEOF
3304 if ac_fn_c_try_compile "$LINENO"
3305 then :
3306 eval "$4=yes"
3307 else $as_nop
3308 eval "$4=no"
3310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3312 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3314 eval ac_res=\$$4
3315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3316 printf "%s\n" "$ac_res" >&6; }
3317 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3319 } # ac_fn_c_check_member
3321 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3322 # -------------------------------------------
3323 # Tests whether TYPE exists after having included INCLUDES, setting cache
3324 # variable VAR accordingly.
3325 ac_fn_c_check_type ()
3327 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3329 printf %s "checking for $2... " >&6; }
3330 if eval test \${$3+y}
3331 then :
3332 printf %s "(cached) " >&6
3333 else $as_nop
3334 eval "$3=no"
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3339 main (void)
3341 if (sizeof ($2))
3342 return 0;
3344 return 0;
3346 _ACEOF
3347 if ac_fn_c_try_compile "$LINENO"
3348 then :
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3353 main (void)
3355 if (sizeof (($2)))
3356 return 0;
3358 return 0;
3360 _ACEOF
3361 if ac_fn_c_try_compile "$LINENO"
3362 then :
3364 else $as_nop
3365 eval "$3=yes"
3367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3371 eval ac_res=\$$3
3372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3373 printf "%s\n" "$ac_res" >&6; }
3374 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3376 } # ac_fn_c_check_type
3377 ac_configure_args_raw=
3378 for ac_arg
3380 case $ac_arg in
3381 *\'*)
3382 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3383 esac
3384 as_fn_append ac_configure_args_raw " '$ac_arg'"
3385 done
3387 case $ac_configure_args_raw in
3388 *$as_nl*)
3389 ac_safe_unquote= ;;
3391 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3392 ac_unsafe_a="$ac_unsafe_z#~"
3393 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3394 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3395 esac
3397 cat >config.log <<_ACEOF
3398 This file contains any messages produced by compilers while
3399 running configure, to aid debugging if configure makes a mistake.
3401 It was created by Wine $as_me 6.23, which was
3402 generated by GNU Autoconf 2.71. Invocation command line was
3404 $ $0$ac_configure_args_raw
3406 _ACEOF
3407 exec 5>>config.log
3409 cat <<_ASUNAME
3410 ## --------- ##
3411 ## Platform. ##
3412 ## --------- ##
3414 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3415 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3416 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3417 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3418 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3420 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3421 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3423 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3424 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3425 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3426 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3427 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3428 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3429 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3431 _ASUNAME
3433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3434 for as_dir in $PATH
3436 IFS=$as_save_IFS
3437 case $as_dir in #(((
3438 '') as_dir=./ ;;
3439 */) ;;
3440 *) as_dir=$as_dir/ ;;
3441 esac
3442 printf "%s\n" "PATH: $as_dir"
3443 done
3444 IFS=$as_save_IFS
3446 } >&5
3448 cat >&5 <<_ACEOF
3451 ## ----------- ##
3452 ## Core tests. ##
3453 ## ----------- ##
3455 _ACEOF
3458 # Keep a trace of the command line.
3459 # Strip out --no-create and --no-recursion so they do not pile up.
3460 # Strip out --silent because we don't want to record it for future runs.
3461 # Also quote any args containing shell meta-characters.
3462 # Make two passes to allow for proper duplicate-argument suppression.
3463 ac_configure_args=
3464 ac_configure_args0=
3465 ac_configure_args1=
3466 ac_must_keep_next=false
3467 for ac_pass in 1 2
3469 for ac_arg
3471 case $ac_arg in
3472 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3473 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3474 | -silent | --silent | --silen | --sile | --sil)
3475 continue ;;
3476 *\'*)
3477 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3478 esac
3479 case $ac_pass in
3480 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3482 as_fn_append ac_configure_args1 " '$ac_arg'"
3483 if test $ac_must_keep_next = true; then
3484 ac_must_keep_next=false # Got value, back to normal.
3485 else
3486 case $ac_arg in
3487 *=* | --config-cache | -C | -disable-* | --disable-* \
3488 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3489 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3490 | -with-* | --with-* | -without-* | --without-* | --x)
3491 case "$ac_configure_args0 " in
3492 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3493 esac
3495 -* ) ac_must_keep_next=true ;;
3496 esac
3498 as_fn_append ac_configure_args " '$ac_arg'"
3500 esac
3501 done
3502 done
3503 { ac_configure_args0=; unset ac_configure_args0;}
3504 { ac_configure_args1=; unset ac_configure_args1;}
3506 # When interrupted or exit'd, cleanup temporary files, and complete
3507 # config.log. We remove comments because anyway the quotes in there
3508 # would cause problems or look ugly.
3509 # WARNING: Use '\'' to represent an apostrophe within the trap.
3510 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3511 trap 'exit_status=$?
3512 # Sanitize IFS.
3513 IFS=" "" $as_nl"
3514 # Save into config.log some information that might help in debugging.
3516 echo
3518 printf "%s\n" "## ---------------- ##
3519 ## Cache variables. ##
3520 ## ---------------- ##"
3521 echo
3522 # The following way of writing the cache mishandles newlines in values,
3524 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3525 eval ac_val=\$$ac_var
3526 case $ac_val in #(
3527 *${as_nl}*)
3528 case $ac_var in #(
3529 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3530 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3531 esac
3532 case $ac_var in #(
3533 _ | IFS | as_nl) ;; #(
3534 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3535 *) { eval $ac_var=; unset $ac_var;} ;;
3536 esac ;;
3537 esac
3538 done
3539 (set) 2>&1 |
3540 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3541 *${as_nl}ac_space=\ *)
3542 sed -n \
3543 "s/'\''/'\''\\\\'\'''\''/g;
3544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3545 ;; #(
3547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3549 esac |
3550 sort
3552 echo
3554 printf "%s\n" "## ----------------- ##
3555 ## Output variables. ##
3556 ## ----------------- ##"
3557 echo
3558 for ac_var in $ac_subst_vars
3560 eval ac_val=\$$ac_var
3561 case $ac_val in
3562 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3563 esac
3564 printf "%s\n" "$ac_var='\''$ac_val'\''"
3565 done | sort
3566 echo
3568 if test -n "$ac_subst_files"; then
3569 printf "%s\n" "## ------------------- ##
3570 ## File substitutions. ##
3571 ## ------------------- ##"
3572 echo
3573 for ac_var in $ac_subst_files
3575 eval ac_val=\$$ac_var
3576 case $ac_val in
3577 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3578 esac
3579 printf "%s\n" "$ac_var='\''$ac_val'\''"
3580 done | sort
3581 echo
3584 if test -s confdefs.h; then
3585 printf "%s\n" "## ----------- ##
3586 ## confdefs.h. ##
3587 ## ----------- ##"
3588 echo
3589 cat confdefs.h
3590 echo
3592 test "$ac_signal" != 0 &&
3593 printf "%s\n" "$as_me: caught signal $ac_signal"
3594 printf "%s\n" "$as_me: exit $exit_status"
3595 } >&5
3596 rm -f core *.core core.conftest.* &&
3597 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3598 exit $exit_status
3600 for ac_signal in 1 2 13 15; do
3601 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3602 done
3603 ac_signal=0
3605 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3606 rm -f -r conftest* confdefs.h
3608 printf "%s\n" "/* confdefs.h */" > confdefs.h
3610 # Predefined preprocessor variables.
3612 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3614 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3616 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3618 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3620 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3622 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3625 # Let the site file select an alternate cache file if it wants to.
3626 # Prefer an explicitly selected file to automatically selected ones.
3627 if test -n "$CONFIG_SITE"; then
3628 ac_site_files="$CONFIG_SITE"
3629 elif test "x$prefix" != xNONE; then
3630 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3631 else
3632 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3635 for ac_site_file in $ac_site_files
3637 case $ac_site_file in #(
3638 */*) :
3639 ;; #(
3640 *) :
3641 ac_site_file=./$ac_site_file ;;
3642 esac
3643 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3645 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3646 sed 's/^/| /' "$ac_site_file" >&5
3647 . "$ac_site_file" \
3648 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3649 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3650 as_fn_error $? "failed to load site script $ac_site_file
3651 See \`config.log' for more details" "$LINENO" 5; }
3653 done
3655 if test -r "$cache_file"; then
3656 # Some versions of bash will fail to source /dev/null (special files
3657 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3658 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3660 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3661 case $cache_file in
3662 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3663 *) . "./$cache_file";;
3664 esac
3666 else
3667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3668 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3669 >$cache_file
3672 # Test code for whether the C compiler supports C89 (global declarations)
3673 ac_c_conftest_c89_globals='
3674 /* Does the compiler advertise C89 conformance?
3675 Do not test the value of __STDC__, because some compilers set it to 0
3676 while being otherwise adequately conformant. */
3677 #if !defined __STDC__
3678 # error "Compiler does not advertise C89 conformance"
3679 #endif
3681 #include <stddef.h>
3682 #include <stdarg.h>
3683 struct stat;
3684 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3685 struct buf { int x; };
3686 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3687 static char *e (p, i)
3688 char **p;
3689 int i;
3691 return p[i];
3693 static char *f (char * (*g) (char **, int), char **p, ...)
3695 char *s;
3696 va_list v;
3697 va_start (v,p);
3698 s = g (p, va_arg (v,int));
3699 va_end (v);
3700 return s;
3703 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3704 function prototypes and stuff, but not \xHH hex character constants.
3705 These do not provoke an error unfortunately, instead are silently treated
3706 as an "x". The following induces an error, until -std is added to get
3707 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3708 array size at least. It is necessary to write \x00 == 0 to get something
3709 that is true only with -std. */
3710 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3712 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3713 inside strings and character constants. */
3714 #define FOO(x) '\''x'\''
3715 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3717 int test (int i, double x);
3718 struct s1 {int (*f) (int a);};
3719 struct s2 {int (*f) (double a);};
3720 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3721 int, int);'
3723 # Test code for whether the C compiler supports C89 (body of main).
3724 ac_c_conftest_c89_main='
3725 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3728 # Test code for whether the C compiler supports C99 (global declarations)
3729 ac_c_conftest_c99_globals='
3730 // Does the compiler advertise C99 conformance?
3731 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3732 # error "Compiler does not advertise C99 conformance"
3733 #endif
3735 #include <stdbool.h>
3736 extern int puts (const char *);
3737 extern int printf (const char *, ...);
3738 extern int dprintf (int, const char *, ...);
3739 extern void *malloc (size_t);
3741 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3742 // dprintf is used instead of fprintf to avoid needing to declare
3743 // FILE and stderr.
3744 #define debug(...) dprintf (2, __VA_ARGS__)
3745 #define showlist(...) puts (#__VA_ARGS__)
3746 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3747 static void
3748 test_varargs_macros (void)
3750 int x = 1234;
3751 int y = 5678;
3752 debug ("Flag");
3753 debug ("X = %d\n", x);
3754 showlist (The first, second, and third items.);
3755 report (x>y, "x is %d but y is %d", x, y);
3758 // Check long long types.
3759 #define BIG64 18446744073709551615ull
3760 #define BIG32 4294967295ul
3761 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3762 #if !BIG_OK
3763 #error "your preprocessor is broken"
3764 #endif
3765 #if BIG_OK
3766 #else
3767 #error "your preprocessor is broken"
3768 #endif
3769 static long long int bignum = -9223372036854775807LL;
3770 static unsigned long long int ubignum = BIG64;
3772 struct incomplete_array
3774 int datasize;
3775 double data[];
3778 struct named_init {
3779 int number;
3780 const wchar_t *name;
3781 double average;
3784 typedef const char *ccp;
3786 static inline int
3787 test_restrict (ccp restrict text)
3789 // See if C++-style comments work.
3790 // Iterate through items via the restricted pointer.
3791 // Also check for declarations in for loops.
3792 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3793 continue;
3794 return 0;
3797 // Check varargs and va_copy.
3798 static bool
3799 test_varargs (const char *format, ...)
3801 va_list args;
3802 va_start (args, format);
3803 va_list args_copy;
3804 va_copy (args_copy, args);
3806 const char *str = "";
3807 int number = 0;
3808 float fnumber = 0;
3810 while (*format)
3812 switch (*format++)
3814 case '\''s'\'': // string
3815 str = va_arg (args_copy, const char *);
3816 break;
3817 case '\''d'\'': // int
3818 number = va_arg (args_copy, int);
3819 break;
3820 case '\''f'\'': // float
3821 fnumber = va_arg (args_copy, double);
3822 break;
3823 default:
3824 break;
3827 va_end (args_copy);
3828 va_end (args);
3830 return *str && number && fnumber;
3834 # Test code for whether the C compiler supports C99 (body of main).
3835 ac_c_conftest_c99_main='
3836 // Check bool.
3837 _Bool success = false;
3838 success |= (argc != 0);
3840 // Check restrict.
3841 if (test_restrict ("String literal") == 0)
3842 success = true;
3843 char *restrict newvar = "Another string";
3845 // Check varargs.
3846 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3847 test_varargs_macros ();
3849 // Check flexible array members.
3850 struct incomplete_array *ia =
3851 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3852 ia->datasize = 10;
3853 for (int i = 0; i < ia->datasize; ++i)
3854 ia->data[i] = i * 1.234;
3856 // Check named initializers.
3857 struct named_init ni = {
3858 .number = 34,
3859 .name = L"Test wide string",
3860 .average = 543.34343,
3863 ni.number = 58;
3865 int dynamic_array[ni.number];
3866 dynamic_array[0] = argv[0][0];
3867 dynamic_array[ni.number - 1] = 543;
3869 // work around unused variable warnings
3870 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3871 || dynamic_array[ni.number - 1] != 543);
3874 # Test code for whether the C compiler supports C11 (global declarations)
3875 ac_c_conftest_c11_globals='
3876 // Does the compiler advertise C11 conformance?
3877 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3878 # error "Compiler does not advertise C11 conformance"
3879 #endif
3881 // Check _Alignas.
3882 char _Alignas (double) aligned_as_double;
3883 char _Alignas (0) no_special_alignment;
3884 extern char aligned_as_int;
3885 char _Alignas (0) _Alignas (int) aligned_as_int;
3887 // Check _Alignof.
3888 enum
3890 int_alignment = _Alignof (int),
3891 int_array_alignment = _Alignof (int[100]),
3892 char_alignment = _Alignof (char)
3894 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3896 // Check _Noreturn.
3897 int _Noreturn does_not_return (void) { for (;;) continue; }
3899 // Check _Static_assert.
3900 struct test_static_assert
3902 int x;
3903 _Static_assert (sizeof (int) <= sizeof (long int),
3904 "_Static_assert does not work in struct");
3905 long int y;
3908 // Check UTF-8 literals.
3909 #define u8 syntax error!
3910 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3912 // Check duplicate typedefs.
3913 typedef long *long_ptr;
3914 typedef long int *long_ptr;
3915 typedef long_ptr long_ptr;
3917 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3918 struct anonymous
3920 union {
3921 struct { int i; int j; };
3922 struct { int k; long int l; } w;
3924 int m;
3925 } v1;
3928 # Test code for whether the C compiler supports C11 (body of main).
3929 ac_c_conftest_c11_main='
3930 _Static_assert ((offsetof (struct anonymous, i)
3931 == offsetof (struct anonymous, w.k)),
3932 "Anonymous union alignment botch");
3933 v1.i = 2;
3934 v1.w.k = 5;
3935 ok |= v1.i != 5;
3938 # Test code for whether the C compiler supports C11 (complete).
3939 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3940 ${ac_c_conftest_c99_globals}
3941 ${ac_c_conftest_c11_globals}
3944 main (int argc, char **argv)
3946 int ok = 0;
3947 ${ac_c_conftest_c89_main}
3948 ${ac_c_conftest_c99_main}
3949 ${ac_c_conftest_c11_main}
3950 return ok;
3954 # Test code for whether the C compiler supports C99 (complete).
3955 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3956 ${ac_c_conftest_c99_globals}
3959 main (int argc, char **argv)
3961 int ok = 0;
3962 ${ac_c_conftest_c89_main}
3963 ${ac_c_conftest_c99_main}
3964 return ok;
3968 # Test code for whether the C compiler supports C89 (complete).
3969 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3972 main (int argc, char **argv)
3974 int ok = 0;
3975 ${ac_c_conftest_c89_main}
3976 return ok;
3980 # Test code for whether the C++ compiler supports C++98 (global declarations)
3981 ac_cxx_conftest_cxx98_globals='
3982 // Does the compiler advertise C++98 conformance?
3983 #if !defined __cplusplus || __cplusplus < 199711L
3984 # error "Compiler does not advertise C++98 conformance"
3985 #endif
3987 // These inclusions are to reject old compilers that
3988 // lack the unsuffixed header files.
3989 #include <cstdlib>
3990 #include <exception>
3992 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3993 extern void assert (int);
3994 namespace std {
3995 extern int strcmp (const char *, const char *);
3998 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3999 using std::exception;
4000 using std::strcmp;
4002 namespace {
4004 void test_exception_syntax()
4006 try {
4007 throw "test";
4008 } catch (const char *s) {
4009 // Extra parentheses suppress a warning when building autoconf itself,
4010 // due to lint rules shared with more typical C programs.
4011 assert (!(strcmp) (s, "test"));
4015 template <typename T> struct test_template
4017 T const val;
4018 explicit test_template(T t) : val(t) {}
4019 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
4022 } // anonymous namespace
4025 # Test code for whether the C++ compiler supports C++98 (body of main)
4026 ac_cxx_conftest_cxx98_main='
4027 assert (argc);
4028 assert (! argv[0]);
4030 test_exception_syntax ();
4031 test_template<double> tt (2.0);
4032 assert (tt.add (4) == 6.0);
4033 assert (true && !false);
4037 # Test code for whether the C++ compiler supports C++11 (global declarations)
4038 ac_cxx_conftest_cxx11_globals='
4039 // Does the compiler advertise C++ 2011 conformance?
4040 #if !defined __cplusplus || __cplusplus < 201103L
4041 # error "Compiler does not advertise C++11 conformance"
4042 #endif
4044 namespace cxx11test
4046 constexpr int get_val() { return 20; }
4048 struct testinit
4050 int i;
4051 double d;
4054 class delegate
4056 public:
4057 delegate(int n) : n(n) {}
4058 delegate(): delegate(2354) {}
4060 virtual int getval() { return this->n; };
4061 protected:
4062 int n;
4065 class overridden : public delegate
4067 public:
4068 overridden(int n): delegate(n) {}
4069 virtual int getval() override final { return this->n * 2; }
4072 class nocopy
4074 public:
4075 nocopy(int i): i(i) {}
4076 nocopy() = default;
4077 nocopy(const nocopy&) = delete;
4078 nocopy & operator=(const nocopy&) = delete;
4079 private:
4080 int i;
4083 // for testing lambda expressions
4084 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
4086 return f(v);
4089 // for testing variadic templates and trailing return types
4090 template <typename V> auto sum(V first) -> V
4092 return first;
4094 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
4096 return first + sum(rest...);
4101 # Test code for whether the C++ compiler supports C++11 (body of main)
4102 ac_cxx_conftest_cxx11_main='
4104 // Test auto and decltype
4105 auto a1 = 6538;
4106 auto a2 = 48573953.4;
4107 auto a3 = "String literal";
4109 int total = 0;
4110 for (auto i = a3; *i; ++i) { total += *i; }
4112 decltype(a2) a4 = 34895.034;
4115 // Test constexpr
4116 short sa[cxx11test::get_val()] = { 0 };
4119 // Test initializer lists
4120 cxx11test::testinit il = { 4323, 435234.23544 };
4123 // Test range-based for
4124 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
4125 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
4126 for (auto &x : array) { x += 23; }
4129 // Test lambda expressions
4130 using cxx11test::eval;
4131 assert (eval ([](int x) { return x*2; }, 21) == 42);
4132 double d = 2.0;
4133 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
4134 assert (d == 5.0);
4135 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
4136 assert (d == 5.0);
4139 // Test use of variadic templates
4140 using cxx11test::sum;
4141 auto a = sum(1);
4142 auto b = sum(1, 2);
4143 auto c = sum(1.0, 2.0, 3.0);
4146 // Test constructor delegation
4147 cxx11test::delegate d1;
4148 cxx11test::delegate d2();
4149 cxx11test::delegate d3(45);
4152 // Test override and final
4153 cxx11test::overridden o1(55464);
4156 // Test nullptr
4157 char *c = nullptr;
4160 // Test template brackets
4161 test_template<::test_template<int>> v(test_template<int>(12));
4164 // Unicode literals
4165 char const *utf8 = u8"UTF-8 string \u2500";
4166 char16_t const *utf16 = u"UTF-8 string \u2500";
4167 char32_t const *utf32 = U"UTF-32 string \u2500";
4171 # Test code for whether the C compiler supports C++11 (complete).
4172 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4173 ${ac_cxx_conftest_cxx11_globals}
4176 main (int argc, char **argv)
4178 int ok = 0;
4179 ${ac_cxx_conftest_cxx98_main}
4180 ${ac_cxx_conftest_cxx11_main}
4181 return ok;
4185 # Test code for whether the C compiler supports C++98 (complete).
4186 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4188 main (int argc, char **argv)
4190 int ok = 0;
4191 ${ac_cxx_conftest_cxx98_main}
4192 return ok;
4196 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4197 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4198 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4199 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4200 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4201 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4202 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4203 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4204 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4206 # Auxiliary files required by this configure script.
4207 ac_aux_files="config.guess config.sub"
4209 # Locations in which to look for auxiliary files.
4210 ac_aux_dir_candidates="${srcdir}/tools"
4212 # Search for a directory containing all of the required auxiliary files,
4213 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4214 # If we don't find one directory that contains all the files we need,
4215 # we report the set of missing files from the *first* directory in
4216 # $ac_aux_dir_candidates and give up.
4217 ac_missing_aux_files=""
4218 ac_first_candidate=:
4219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221 as_found=false
4222 for as_dir in $ac_aux_dir_candidates
4224 IFS=$as_save_IFS
4225 case $as_dir in #(((
4226 '') as_dir=./ ;;
4227 */) ;;
4228 *) as_dir=$as_dir/ ;;
4229 esac
4230 as_found=:
4232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4233 ac_aux_dir_found=yes
4234 ac_install_sh=
4235 for ac_aux in $ac_aux_files
4237 # As a special case, if "install-sh" is required, that requirement
4238 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4239 # and $ac_install_sh is set appropriately for whichever one is found.
4240 if test x"$ac_aux" = x"install-sh"
4241 then
4242 if test -f "${as_dir}install-sh"; then
4243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4244 ac_install_sh="${as_dir}install-sh -c"
4245 elif test -f "${as_dir}install.sh"; then
4246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4247 ac_install_sh="${as_dir}install.sh -c"
4248 elif test -f "${as_dir}shtool"; then
4249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4250 ac_install_sh="${as_dir}shtool install -c"
4251 else
4252 ac_aux_dir_found=no
4253 if $ac_first_candidate; then
4254 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4255 else
4256 break
4259 else
4260 if test -f "${as_dir}${ac_aux}"; then
4261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4262 else
4263 ac_aux_dir_found=no
4264 if $ac_first_candidate; then
4265 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4266 else
4267 break
4271 done
4272 if test "$ac_aux_dir_found" = yes; then
4273 ac_aux_dir="$as_dir"
4274 break
4276 ac_first_candidate=false
4278 as_found=false
4279 done
4280 IFS=$as_save_IFS
4281 if $as_found
4282 then :
4284 else $as_nop
4285 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4289 # These three variables are undocumented and unsupported,
4290 # and are intended to be withdrawn in a future Autoconf release.
4291 # They can cause serious problems if a builder's source tree is in a directory
4292 # whose full name contains unusual characters.
4293 if test -f "${ac_aux_dir}config.guess"; then
4294 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4296 if test -f "${ac_aux_dir}config.sub"; then
4297 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4299 if test -f "$ac_aux_dir/configure"; then
4300 ac_configure="$SHELL ${ac_aux_dir}configure"
4303 # Check that the precious variables saved in the cache have kept the same
4304 # value.
4305 ac_cache_corrupted=false
4306 for ac_var in $ac_precious_vars; do
4307 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4308 eval ac_new_set=\$ac_env_${ac_var}_set
4309 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4310 eval ac_new_val=\$ac_env_${ac_var}_value
4311 case $ac_old_set,$ac_new_set in
4312 set,)
4313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4314 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4315 ac_cache_corrupted=: ;;
4316 ,set)
4317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4318 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4319 ac_cache_corrupted=: ;;
4320 ,);;
4322 if test "x$ac_old_val" != "x$ac_new_val"; then
4323 # differences in whitespace do not lead to failure.
4324 ac_old_val_w=`echo x $ac_old_val`
4325 ac_new_val_w=`echo x $ac_new_val`
4326 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4328 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4329 ac_cache_corrupted=:
4330 else
4331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4332 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4333 eval $ac_var=\$ac_old_val
4335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4336 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4338 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4339 fi;;
4340 esac
4341 # Pass precious variables to config.status.
4342 if test "$ac_new_set" = set; then
4343 case $ac_new_val in
4344 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4345 *) ac_arg=$ac_var=$ac_new_val ;;
4346 esac
4347 case " $ac_configure_args " in
4348 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4349 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4350 esac
4352 done
4353 if $ac_cache_corrupted; then
4354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4355 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4357 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4358 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4359 and start over" "$LINENO" 5
4361 ## -------------------- ##
4362 ## Main body of script. ##
4363 ## -------------------- ##
4365 ac_ext=c
4366 ac_cpp='$CPP $CPPFLAGS'
4367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4373 ac_config_headers="$ac_config_headers include/config.h"
4377 libwine_version="1.0"
4380 # Check whether --enable-win16 was given.
4381 if test ${enable_win16+y}
4382 then :
4383 enableval=$enable_win16;
4386 # Check whether --enable-win64 was given.
4387 if test ${enable_win64+y}
4388 then :
4389 enableval=$enable_win64;
4392 # Check whether --enable-tests was given.
4393 if test ${enable_tests+y}
4394 then :
4395 enableval=$enable_tests;
4398 # Check whether --enable-build-id was given.
4399 if test ${enable_build_id+y}
4400 then :
4401 enableval=$enable_build_id;
4404 # Check whether --enable-maintainer-mode was given.
4405 if test ${enable_maintainer_mode+y}
4406 then :
4407 enableval=$enable_maintainer_mode;
4410 # Check whether --enable-silent-rules was given.
4411 if test ${enable_silent_rules+y}
4412 then :
4413 enableval=$enable_silent_rules;
4416 # Check whether --enable-werror was given.
4417 if test ${enable_werror+y}
4418 then :
4419 enableval=$enable_werror;
4424 # Check whether --with-alsa was given.
4425 if test ${with_alsa+y}
4426 then :
4427 withval=$with_alsa;
4431 # Check whether --with-capi was given.
4432 if test ${with_capi+y}
4433 then :
4434 withval=$with_capi;
4438 # Check whether --with-coreaudio was given.
4439 if test ${with_coreaudio+y}
4440 then :
4441 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4445 # Check whether --with-cups was given.
4446 if test ${with_cups+y}
4447 then :
4448 withval=$with_cups;
4452 # Check whether --with-dbus was given.
4453 if test ${with_dbus+y}
4454 then :
4455 withval=$with_dbus;
4459 # Check whether --with-float-abi was given.
4460 if test ${with_float_abi+y}
4461 then :
4462 withval=$with_float_abi;
4466 # Check whether --with-fontconfig was given.
4467 if test ${with_fontconfig+y}
4468 then :
4469 withval=$with_fontconfig;
4473 # Check whether --with-freetype was given.
4474 if test ${with_freetype+y}
4475 then :
4476 withval=$with_freetype;
4480 # Check whether --with-gettext was given.
4481 if test ${with_gettext+y}
4482 then :
4483 withval=$with_gettext;
4487 # Check whether --with-gettextpo was given.
4488 if test ${with_gettextpo+y}
4489 then :
4490 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4494 # Check whether --with-gphoto was given.
4495 if test ${with_gphoto+y}
4496 then :
4497 withval=$with_gphoto;
4501 # Check whether --with-gnutls was given.
4502 if test ${with_gnutls+y}
4503 then :
4504 withval=$with_gnutls;
4508 # Check whether --with-gssapi was given.
4509 if test ${with_gssapi+y}
4510 then :
4511 withval=$with_gssapi;
4515 # Check whether --with-gstreamer was given.
4516 if test ${with_gstreamer+y}
4517 then :
4518 withval=$with_gstreamer;
4522 # Check whether --with-inotify was given.
4523 if test ${with_inotify+y}
4524 then :
4525 withval=$with_inotify;
4529 # Check whether --with-krb5 was given.
4530 if test ${with_krb5+y}
4531 then :
4532 withval=$with_krb5;
4536 # Check whether --with-ldap was given.
4537 if test ${with_ldap+y}
4538 then :
4539 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4543 # Check whether --with-mingw was given.
4544 if test ${with_mingw+y}
4545 then :
4546 withval=$with_mingw;
4550 # Check whether --with-netapi was given.
4551 if test ${with_netapi+y}
4552 then :
4553 withval=$with_netapi;
4557 # Check whether --with-openal was given.
4558 if test ${with_openal+y}
4559 then :
4560 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4564 # Check whether --with-opencl was given.
4565 if test ${with_opencl+y}
4566 then :
4567 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4571 # Check whether --with-opengl was given.
4572 if test ${with_opengl+y}
4573 then :
4574 withval=$with_opengl;
4578 # Check whether --with-osmesa was given.
4579 if test ${with_osmesa+y}
4580 then :
4581 withval=$with_osmesa;
4585 # Check whether --with-oss was given.
4586 if test ${with_oss+y}
4587 then :
4588 withval=$with_oss;
4592 # Check whether --with-pcap was given.
4593 if test ${with_pcap+y}
4594 then :
4595 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4599 # Check whether --with-pthread was given.
4600 if test ${with_pthread+y}
4601 then :
4602 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4606 # Check whether --with-pulse was given.
4607 if test ${with_pulse+y}
4608 then :
4609 withval=$with_pulse;
4613 # Check whether --with-sane was given.
4614 if test ${with_sane+y}
4615 then :
4616 withval=$with_sane;
4620 # Check whether --with-sdl was given.
4621 if test ${with_sdl+y}
4622 then :
4623 withval=$with_sdl;
4627 # Check whether --with-udev was given.
4628 if test ${with_udev+y}
4629 then :
4630 withval=$with_udev;
4634 # Check whether --with-unwind was given.
4635 if test ${with_unwind+y}
4636 then :
4637 withval=$with_unwind;
4641 # Check whether --with-usb was given.
4642 if test ${with_usb+y}
4643 then :
4644 withval=$with_usb;
4648 # Check whether --with-v4l2 was given.
4649 if test ${with_v4l2+y}
4650 then :
4651 withval=$with_v4l2;
4655 # Check whether --with-vkd3d was given.
4656 if test ${with_vkd3d+y}
4657 then :
4658 withval=$with_vkd3d;
4662 # Check whether --with-vulkan was given.
4663 if test ${with_vulkan+y}
4664 then :
4665 withval=$with_vulkan;
4669 # Check whether --with-xcomposite was given.
4670 if test ${with_xcomposite+y}
4671 then :
4672 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4676 # Check whether --with-xcursor was given.
4677 if test ${with_xcursor+y}
4678 then :
4679 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4683 # Check whether --with-xfixes was given.
4684 if test ${with_xfixes+y}
4685 then :
4686 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4690 # Check whether --with-xinerama was given.
4691 if test ${with_xinerama+y}
4692 then :
4693 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4697 # Check whether --with-xinput was given.
4698 if test ${with_xinput+y}
4699 then :
4700 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4704 # Check whether --with-xinput2 was given.
4705 if test ${with_xinput2+y}
4706 then :
4707 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4711 # Check whether --with-xrandr was given.
4712 if test ${with_xrandr+y}
4713 then :
4714 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4718 # Check whether --with-xrender was given.
4719 if test ${with_xrender+y}
4720 then :
4721 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4725 # Check whether --with-xshape was given.
4726 if test ${with_xshape+y}
4727 then :
4728 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4732 # Check whether --with-xshm was given.
4733 if test ${with_xshm+y}
4734 then :
4735 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4739 # Check whether --with-xxf86vm was given.
4740 if test ${with_xxf86vm+y}
4741 then :
4742 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
4747 # Check whether --with-system-dllpath was given.
4748 if test ${with_system_dllpath+y}
4749 then :
4750 withval=$with_system_dllpath; system_dllpath=$withval
4755 # Check whether --with-wine-tools was given.
4756 if test ${with_wine_tools+y}
4757 then :
4758 withval=$with_wine_tools;
4762 # Check whether --with-wine64 was given.
4763 if test ${with_wine64+y}
4764 then :
4765 withval=$with_wine64;
4772 # Make sure we can run config.sub.
4773 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4774 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4777 printf %s "checking build system type... " >&6; }
4778 if test ${ac_cv_build+y}
4779 then :
4780 printf %s "(cached) " >&6
4781 else $as_nop
4782 ac_build_alias=$build_alias
4783 test "x$ac_build_alias" = x &&
4784 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4785 test "x$ac_build_alias" = x &&
4786 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4787 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4788 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4792 printf "%s\n" "$ac_cv_build" >&6; }
4793 case $ac_cv_build in
4794 *-*-*) ;;
4795 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4796 esac
4797 build=$ac_cv_build
4798 ac_save_IFS=$IFS; IFS='-'
4799 set x $ac_cv_build
4800 shift
4801 build_cpu=$1
4802 build_vendor=$2
4803 shift; shift
4804 # Remember, the first character of IFS is used to create $*,
4805 # except with old shells:
4806 build_os=$*
4807 IFS=$ac_save_IFS
4808 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4812 printf %s "checking host system type... " >&6; }
4813 if test ${ac_cv_host+y}
4814 then :
4815 printf %s "(cached) " >&6
4816 else $as_nop
4817 if test "x$host_alias" = x; then
4818 ac_cv_host=$ac_cv_build
4819 else
4820 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4821 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4826 printf "%s\n" "$ac_cv_host" >&6; }
4827 case $ac_cv_host in
4828 *-*-*) ;;
4829 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4830 esac
4831 host=$ac_cv_host
4832 ac_save_IFS=$IFS; IFS='-'
4833 set x $ac_cv_host
4834 shift
4835 host_cpu=$1
4836 host_vendor=$2
4837 shift; shift
4838 # Remember, the first character of IFS is used to create $*,
4839 # except with old shells:
4840 host_os=$*
4841 IFS=$ac_save_IFS
4842 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4846 dlldir=\${libdir}/wine
4848 fontdir=\${datadir}/wine/fonts
4850 nlsdir=\${datadir}/wine/nls
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4856 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4857 set x ${MAKE-make}
4858 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4859 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4860 then :
4861 printf %s "(cached) " >&6
4862 else $as_nop
4863 cat >conftest.make <<\_ACEOF
4864 SHELL = /bin/sh
4865 all:
4866 @echo '@@@%%%=$(MAKE)=@@@%%%'
4867 _ACEOF
4868 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4869 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4870 *@@@%%%=?*=@@@%%%*)
4871 eval ac_cv_prog_make_${ac_make}_set=yes;;
4873 eval ac_cv_prog_make_${ac_make}_set=no;;
4874 esac
4875 rm -f conftest.make
4877 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4879 printf "%s\n" "yes" >&6; }
4880 SET_MAKE=
4881 else
4882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4883 printf "%s\n" "no" >&6; }
4884 SET_MAKE="MAKE=${MAKE-make}"
4896 ac_ext=c
4897 ac_cpp='$CPP $CPPFLAGS'
4898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4901 if test -n "$ac_tool_prefix"; then
4902 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4903 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 printf %s "checking for $ac_word... " >&6; }
4906 if test ${ac_cv_prog_CC+y}
4907 then :
4908 printf %s "(cached) " >&6
4909 else $as_nop
4910 if test -n "$CC"; then
4911 ac_cv_prog_CC="$CC" # Let the user override the test.
4912 else
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914 for as_dir in $PATH
4916 IFS=$as_save_IFS
4917 case $as_dir in #(((
4918 '') as_dir=./ ;;
4919 */) ;;
4920 *) as_dir=$as_dir/ ;;
4921 esac
4922 for ac_exec_ext in '' $ac_executable_extensions; do
4923 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4924 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4925 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4926 break 2
4928 done
4929 done
4930 IFS=$as_save_IFS
4934 CC=$ac_cv_prog_CC
4935 if test -n "$CC"; then
4936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4937 printf "%s\n" "$CC" >&6; }
4938 else
4939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 printf "%s\n" "no" >&6; }
4945 if test -z "$ac_cv_prog_CC"; then
4946 ac_ct_CC=$CC
4947 # Extract the first word of "gcc", so it can be a program name with args.
4948 set dummy gcc; ac_word=$2
4949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 printf %s "checking for $ac_word... " >&6; }
4951 if test ${ac_cv_prog_ac_ct_CC+y}
4952 then :
4953 printf %s "(cached) " >&6
4954 else $as_nop
4955 if test -n "$ac_ct_CC"; then
4956 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4957 else
4958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959 for as_dir in $PATH
4961 IFS=$as_save_IFS
4962 case $as_dir in #(((
4963 '') as_dir=./ ;;
4964 */) ;;
4965 *) as_dir=$as_dir/ ;;
4966 esac
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_ac_ct_CC="gcc"
4970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4971 break 2
4973 done
4974 done
4975 IFS=$as_save_IFS
4979 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4980 if test -n "$ac_ct_CC"; then
4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4982 printf "%s\n" "$ac_ct_CC" >&6; }
4983 else
4984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 printf "%s\n" "no" >&6; }
4988 if test "x$ac_ct_CC" = x; then
4989 CC=""
4990 else
4991 case $cross_compiling:$ac_tool_warned in
4992 yes:)
4993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4994 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4995 ac_tool_warned=yes ;;
4996 esac
4997 CC=$ac_ct_CC
4999 else
5000 CC="$ac_cv_prog_CC"
5003 if test -z "$CC"; then
5004 if test -n "$ac_tool_prefix"; then
5005 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5006 set dummy ${ac_tool_prefix}cc; ac_word=$2
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 printf %s "checking for $ac_word... " >&6; }
5009 if test ${ac_cv_prog_CC+y}
5010 then :
5011 printf %s "(cached) " >&6
5012 else $as_nop
5013 if test -n "$CC"; then
5014 ac_cv_prog_CC="$CC" # Let the user override the test.
5015 else
5016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017 for as_dir in $PATH
5019 IFS=$as_save_IFS
5020 case $as_dir in #(((
5021 '') as_dir=./ ;;
5022 */) ;;
5023 *) as_dir=$as_dir/ ;;
5024 esac
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_CC="${ac_tool_prefix}cc"
5028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5029 break 2
5031 done
5032 done
5033 IFS=$as_save_IFS
5037 CC=$ac_cv_prog_CC
5038 if test -n "$CC"; then
5039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5040 printf "%s\n" "$CC" >&6; }
5041 else
5042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 printf "%s\n" "no" >&6; }
5049 if test -z "$CC"; then
5050 # Extract the first word of "cc", so it can be a program name with args.
5051 set dummy cc; ac_word=$2
5052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 printf %s "checking for $ac_word... " >&6; }
5054 if test ${ac_cv_prog_CC+y}
5055 then :
5056 printf %s "(cached) " >&6
5057 else $as_nop
5058 if test -n "$CC"; then
5059 ac_cv_prog_CC="$CC" # Let the user override the test.
5060 else
5061 ac_prog_rejected=no
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH
5065 IFS=$as_save_IFS
5066 case $as_dir in #(((
5067 '') as_dir=./ ;;
5068 */) ;;
5069 *) as_dir=$as_dir/ ;;
5070 esac
5071 for ac_exec_ext in '' $ac_executable_extensions; do
5072 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5073 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5074 ac_prog_rejected=yes
5075 continue
5077 ac_cv_prog_CC="cc"
5078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5079 break 2
5081 done
5082 done
5083 IFS=$as_save_IFS
5085 if test $ac_prog_rejected = yes; then
5086 # We found a bogon in the path, so make sure we never use it.
5087 set dummy $ac_cv_prog_CC
5088 shift
5089 if test $# != 0; then
5090 # We chose a different compiler from the bogus one.
5091 # However, it has the same basename, so the bogon will be chosen
5092 # first if we set CC to just the basename; use the full file name.
5093 shift
5094 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5099 CC=$ac_cv_prog_CC
5100 if test -n "$CC"; then
5101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5102 printf "%s\n" "$CC" >&6; }
5103 else
5104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 printf "%s\n" "no" >&6; }
5110 if test -z "$CC"; then
5111 if test -n "$ac_tool_prefix"; then
5112 for ac_prog in cl.exe
5114 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5115 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 printf %s "checking for $ac_word... " >&6; }
5118 if test ${ac_cv_prog_CC+y}
5119 then :
5120 printf %s "(cached) " >&6
5121 else $as_nop
5122 if test -n "$CC"; then
5123 ac_cv_prog_CC="$CC" # 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 case $as_dir in #(((
5130 '') as_dir=./ ;;
5131 */) ;;
5132 *) as_dir=$as_dir/ ;;
5133 esac
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5136 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5138 break 2
5140 done
5141 done
5142 IFS=$as_save_IFS
5146 CC=$ac_cv_prog_CC
5147 if test -n "$CC"; then
5148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5149 printf "%s\n" "$CC" >&6; }
5150 else
5151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 printf "%s\n" "no" >&6; }
5156 test -n "$CC" && break
5157 done
5159 if test -z "$CC"; then
5160 ac_ct_CC=$CC
5161 for ac_prog in cl.exe
5163 # Extract the first word of "$ac_prog", so it can be a program name with args.
5164 set dummy $ac_prog; ac_word=$2
5165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5166 printf %s "checking for $ac_word... " >&6; }
5167 if test ${ac_cv_prog_ac_ct_CC+y}
5168 then :
5169 printf %s "(cached) " >&6
5170 else $as_nop
5171 if test -n "$ac_ct_CC"; then
5172 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5173 else
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175 for as_dir in $PATH
5177 IFS=$as_save_IFS
5178 case $as_dir in #(((
5179 '') as_dir=./ ;;
5180 */) ;;
5181 *) as_dir=$as_dir/ ;;
5182 esac
5183 for ac_exec_ext in '' $ac_executable_extensions; do
5184 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5185 ac_cv_prog_ac_ct_CC="$ac_prog"
5186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5187 break 2
5189 done
5190 done
5191 IFS=$as_save_IFS
5195 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5196 if test -n "$ac_ct_CC"; then
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5198 printf "%s\n" "$ac_ct_CC" >&6; }
5199 else
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 printf "%s\n" "no" >&6; }
5205 test -n "$ac_ct_CC" && break
5206 done
5208 if test "x$ac_ct_CC" = x; then
5209 CC=""
5210 else
5211 case $cross_compiling:$ac_tool_warned in
5212 yes:)
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned=yes ;;
5216 esac
5217 CC=$ac_ct_CC
5222 if test -z "$CC"; then
5223 if test -n "$ac_tool_prefix"; then
5224 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5225 set dummy ${ac_tool_prefix}clang; ac_word=$2
5226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 printf %s "checking for $ac_word... " >&6; }
5228 if test ${ac_cv_prog_CC+y}
5229 then :
5230 printf %s "(cached) " >&6
5231 else $as_nop
5232 if test -n "$CC"; then
5233 ac_cv_prog_CC="$CC" # Let the user override the test.
5234 else
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH
5238 IFS=$as_save_IFS
5239 case $as_dir in #(((
5240 '') as_dir=./ ;;
5241 */) ;;
5242 *) as_dir=$as_dir/ ;;
5243 esac
5244 for ac_exec_ext in '' $ac_executable_extensions; do
5245 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5246 ac_cv_prog_CC="${ac_tool_prefix}clang"
5247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5248 break 2
5250 done
5251 done
5252 IFS=$as_save_IFS
5256 CC=$ac_cv_prog_CC
5257 if test -n "$CC"; then
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5259 printf "%s\n" "$CC" >&6; }
5260 else
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5262 printf "%s\n" "no" >&6; }
5267 if test -z "$ac_cv_prog_CC"; then
5268 ac_ct_CC=$CC
5269 # Extract the first word of "clang", so it can be a program name with args.
5270 set dummy clang; ac_word=$2
5271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5272 printf %s "checking for $ac_word... " >&6; }
5273 if test ${ac_cv_prog_ac_ct_CC+y}
5274 then :
5275 printf %s "(cached) " >&6
5276 else $as_nop
5277 if test -n "$ac_ct_CC"; then
5278 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5279 else
5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 for as_dir in $PATH
5283 IFS=$as_save_IFS
5284 case $as_dir in #(((
5285 '') as_dir=./ ;;
5286 */) ;;
5287 *) as_dir=$as_dir/ ;;
5288 esac
5289 for ac_exec_ext in '' $ac_executable_extensions; do
5290 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5291 ac_cv_prog_ac_ct_CC="clang"
5292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5293 break 2
5295 done
5296 done
5297 IFS=$as_save_IFS
5301 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5302 if test -n "$ac_ct_CC"; then
5303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5304 printf "%s\n" "$ac_ct_CC" >&6; }
5305 else
5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 printf "%s\n" "no" >&6; }
5310 if test "x$ac_ct_CC" = x; then
5311 CC=""
5312 else
5313 case $cross_compiling:$ac_tool_warned in
5314 yes:)
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5316 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5317 ac_tool_warned=yes ;;
5318 esac
5319 CC=$ac_ct_CC
5321 else
5322 CC="$ac_cv_prog_CC"
5328 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5329 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5330 as_fn_error $? "no acceptable C compiler found in \$PATH
5331 See \`config.log' for more details" "$LINENO" 5; }
5333 # Provide some information about the compiler.
5334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5335 set X $ac_compile
5336 ac_compiler=$2
5337 for ac_option in --version -v -V -qversion -version; do
5338 { { ac_try="$ac_compiler $ac_option >&5"
5339 case "(($ac_try" in
5340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5341 *) ac_try_echo=$ac_try;;
5342 esac
5343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5344 printf "%s\n" "$ac_try_echo"; } >&5
5345 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5346 ac_status=$?
5347 if test -s conftest.err; then
5348 sed '10a\
5349 ... rest of stderr output deleted ...
5350 10q' conftest.err >conftest.er1
5351 cat conftest.er1 >&5
5353 rm -f conftest.er1 conftest.err
5354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5355 test $ac_status = 0; }
5356 done
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5362 main (void)
5366 return 0;
5368 _ACEOF
5369 ac_clean_files_save=$ac_clean_files
5370 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5371 # Try to create an executable without -o first, disregard a.out.
5372 # It will help us diagnose broken compilers, and finding out an intuition
5373 # of exeext.
5374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5375 printf %s "checking whether the C compiler works... " >&6; }
5376 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5378 # The possible output files:
5379 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5381 ac_rmfiles=
5382 for ac_file in $ac_files
5384 case $ac_file in
5385 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5386 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5387 esac
5388 done
5389 rm -f $ac_rmfiles
5391 if { { ac_try="$ac_link_default"
5392 case "(($ac_try" in
5393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5394 *) ac_try_echo=$ac_try;;
5395 esac
5396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5397 printf "%s\n" "$ac_try_echo"; } >&5
5398 (eval "$ac_link_default") 2>&5
5399 ac_status=$?
5400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5401 test $ac_status = 0; }
5402 then :
5403 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5404 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5405 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5406 # so that the user can short-circuit this test for compilers unknown to
5407 # Autoconf.
5408 for ac_file in $ac_files ''
5410 test -f "$ac_file" || continue
5411 case $ac_file in
5412 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5414 [ab].out )
5415 # We found the default executable, but exeext='' is most
5416 # certainly right.
5417 break;;
5418 *.* )
5419 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5420 then :; else
5421 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5423 # We set ac_cv_exeext here because the later test for it is not
5424 # safe: cross compilers may not add the suffix if given an `-o'
5425 # argument, so we may need to know it at that point already.
5426 # Even if this section looks crufty: it has the advantage of
5427 # actually working.
5428 break;;
5430 break;;
5431 esac
5432 done
5433 test "$ac_cv_exeext" = no && ac_cv_exeext=
5435 else $as_nop
5436 ac_file=''
5438 if test -z "$ac_file"
5439 then :
5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441 printf "%s\n" "no" >&6; }
5442 printf "%s\n" "$as_me: failed program was:" >&5
5443 sed 's/^/| /' conftest.$ac_ext >&5
5445 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5446 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5447 as_fn_error 77 "C compiler cannot create executables
5448 See \`config.log' for more details" "$LINENO" 5; }
5449 else $as_nop
5450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5451 printf "%s\n" "yes" >&6; }
5453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5454 printf %s "checking for C compiler default output file name... " >&6; }
5455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5456 printf "%s\n" "$ac_file" >&6; }
5457 ac_exeext=$ac_cv_exeext
5459 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5460 ac_clean_files=$ac_clean_files_save
5461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5462 printf %s "checking for suffix of executables... " >&6; }
5463 if { { ac_try="$ac_link"
5464 case "(($ac_try" in
5465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5466 *) ac_try_echo=$ac_try;;
5467 esac
5468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5469 printf "%s\n" "$ac_try_echo"; } >&5
5470 (eval "$ac_link") 2>&5
5471 ac_status=$?
5472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5473 test $ac_status = 0; }
5474 then :
5475 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5476 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5477 # work properly (i.e., refer to `conftest.exe'), while it won't with
5478 # `rm'.
5479 for ac_file in conftest.exe conftest conftest.*; do
5480 test -f "$ac_file" || continue
5481 case $ac_file in
5482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5483 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5484 break;;
5485 * ) break;;
5486 esac
5487 done
5488 else $as_nop
5489 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5490 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5491 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5492 See \`config.log' for more details" "$LINENO" 5; }
5494 rm -f conftest conftest$ac_cv_exeext
5495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5496 printf "%s\n" "$ac_cv_exeext" >&6; }
5498 rm -f conftest.$ac_ext
5499 EXEEXT=$ac_cv_exeext
5500 ac_exeext=$EXEEXT
5501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5502 /* end confdefs.h. */
5503 #include <stdio.h>
5505 main (void)
5507 FILE *f = fopen ("conftest.out", "w");
5508 return ferror (f) || fclose (f) != 0;
5511 return 0;
5513 _ACEOF
5514 ac_clean_files="$ac_clean_files conftest.out"
5515 # Check that the compiler produces executables we can run. If not, either
5516 # the compiler is broken, or we cross compile.
5517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5518 printf %s "checking whether we are cross compiling... " >&6; }
5519 if test "$cross_compiling" != yes; then
5520 { { ac_try="$ac_link"
5521 case "(($ac_try" in
5522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5523 *) ac_try_echo=$ac_try;;
5524 esac
5525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5526 printf "%s\n" "$ac_try_echo"; } >&5
5527 (eval "$ac_link") 2>&5
5528 ac_status=$?
5529 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5530 test $ac_status = 0; }
5531 if { ac_try='./conftest$ac_cv_exeext'
5532 { { case "(($ac_try" in
5533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5534 *) ac_try_echo=$ac_try;;
5535 esac
5536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5537 printf "%s\n" "$ac_try_echo"; } >&5
5538 (eval "$ac_try") 2>&5
5539 ac_status=$?
5540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5541 test $ac_status = 0; }; }; then
5542 cross_compiling=no
5543 else
5544 if test "$cross_compiling" = maybe; then
5545 cross_compiling=yes
5546 else
5547 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5548 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5549 as_fn_error 77 "cannot run C compiled programs.
5550 If you meant to cross compile, use \`--host'.
5551 See \`config.log' for more details" "$LINENO" 5; }
5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5556 printf "%s\n" "$cross_compiling" >&6; }
5558 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5559 ac_clean_files=$ac_clean_files_save
5560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5561 printf %s "checking for suffix of object files... " >&6; }
5562 if test ${ac_cv_objext+y}
5563 then :
5564 printf %s "(cached) " >&6
5565 else $as_nop
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5570 main (void)
5574 return 0;
5576 _ACEOF
5577 rm -f conftest.o conftest.obj
5578 if { { ac_try="$ac_compile"
5579 case "(($ac_try" in
5580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5581 *) ac_try_echo=$ac_try;;
5582 esac
5583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5584 printf "%s\n" "$ac_try_echo"; } >&5
5585 (eval "$ac_compile") 2>&5
5586 ac_status=$?
5587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5588 test $ac_status = 0; }
5589 then :
5590 for ac_file in conftest.o conftest.obj conftest.*; do
5591 test -f "$ac_file" || continue;
5592 case $ac_file in
5593 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5594 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5595 break;;
5596 esac
5597 done
5598 else $as_nop
5599 printf "%s\n" "$as_me: failed program was:" >&5
5600 sed 's/^/| /' conftest.$ac_ext >&5
5602 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5603 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5604 as_fn_error $? "cannot compute suffix of object files: cannot compile
5605 See \`config.log' for more details" "$LINENO" 5; }
5607 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5610 printf "%s\n" "$ac_cv_objext" >&6; }
5611 OBJEXT=$ac_cv_objext
5612 ac_objext=$OBJEXT
5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5614 printf %s "checking whether the compiler supports GNU C... " >&6; }
5615 if test ${ac_cv_c_compiler_gnu+y}
5616 then :
5617 printf %s "(cached) " >&6
5618 else $as_nop
5619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5620 /* end confdefs.h. */
5623 main (void)
5625 #ifndef __GNUC__
5626 choke me
5627 #endif
5630 return 0;
5632 _ACEOF
5633 if ac_fn_c_try_compile "$LINENO"
5634 then :
5635 ac_compiler_gnu=yes
5636 else $as_nop
5637 ac_compiler_gnu=no
5639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5640 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5644 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5647 if test $ac_compiler_gnu = yes; then
5648 GCC=yes
5649 else
5650 GCC=
5652 ac_test_CFLAGS=${CFLAGS+y}
5653 ac_save_CFLAGS=$CFLAGS
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5655 printf %s "checking whether $CC accepts -g... " >&6; }
5656 if test ${ac_cv_prog_cc_g+y}
5657 then :
5658 printf %s "(cached) " >&6
5659 else $as_nop
5660 ac_save_c_werror_flag=$ac_c_werror_flag
5661 ac_c_werror_flag=yes
5662 ac_cv_prog_cc_g=no
5663 CFLAGS="-g"
5664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5665 /* end confdefs.h. */
5668 main (void)
5672 return 0;
5674 _ACEOF
5675 if ac_fn_c_try_compile "$LINENO"
5676 then :
5677 ac_cv_prog_cc_g=yes
5678 else $as_nop
5679 CFLAGS=""
5680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5681 /* end confdefs.h. */
5684 main (void)
5688 return 0;
5690 _ACEOF
5691 if ac_fn_c_try_compile "$LINENO"
5692 then :
5694 else $as_nop
5695 ac_c_werror_flag=$ac_save_c_werror_flag
5696 CFLAGS="-g"
5697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5698 /* end confdefs.h. */
5701 main (void)
5705 return 0;
5707 _ACEOF
5708 if ac_fn_c_try_compile "$LINENO"
5709 then :
5710 ac_cv_prog_cc_g=yes
5712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5717 ac_c_werror_flag=$ac_save_c_werror_flag
5719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5720 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5721 if test $ac_test_CFLAGS; then
5722 CFLAGS=$ac_save_CFLAGS
5723 elif test $ac_cv_prog_cc_g = yes; then
5724 if test "$GCC" = yes; then
5725 CFLAGS="-g -O2"
5726 else
5727 CFLAGS="-g"
5729 else
5730 if test "$GCC" = yes; then
5731 CFLAGS="-O2"
5732 else
5733 CFLAGS=
5736 ac_prog_cc_stdc=no
5737 if test x$ac_prog_cc_stdc = xno
5738 then :
5739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5740 printf %s "checking for $CC option to enable C11 features... " >&6; }
5741 if test ${ac_cv_prog_cc_c11+y}
5742 then :
5743 printf %s "(cached) " >&6
5744 else $as_nop
5745 ac_cv_prog_cc_c11=no
5746 ac_save_CC=$CC
5747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5748 /* end confdefs.h. */
5749 $ac_c_conftest_c11_program
5750 _ACEOF
5751 for ac_arg in '' -std=gnu11
5753 CC="$ac_save_CC $ac_arg"
5754 if ac_fn_c_try_compile "$LINENO"
5755 then :
5756 ac_cv_prog_cc_c11=$ac_arg
5758 rm -f core conftest.err conftest.$ac_objext conftest.beam
5759 test "x$ac_cv_prog_cc_c11" != "xno" && break
5760 done
5761 rm -f conftest.$ac_ext
5762 CC=$ac_save_CC
5765 if test "x$ac_cv_prog_cc_c11" = xno
5766 then :
5767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5768 printf "%s\n" "unsupported" >&6; }
5769 else $as_nop
5770 if test "x$ac_cv_prog_cc_c11" = x
5771 then :
5772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5773 printf "%s\n" "none needed" >&6; }
5774 else $as_nop
5775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5776 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5777 CC="$CC $ac_cv_prog_cc_c11"
5779 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5780 ac_prog_cc_stdc=c11
5783 if test x$ac_prog_cc_stdc = xno
5784 then :
5785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5786 printf %s "checking for $CC option to enable C99 features... " >&6; }
5787 if test ${ac_cv_prog_cc_c99+y}
5788 then :
5789 printf %s "(cached) " >&6
5790 else $as_nop
5791 ac_cv_prog_cc_c99=no
5792 ac_save_CC=$CC
5793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5794 /* end confdefs.h. */
5795 $ac_c_conftest_c99_program
5796 _ACEOF
5797 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5799 CC="$ac_save_CC $ac_arg"
5800 if ac_fn_c_try_compile "$LINENO"
5801 then :
5802 ac_cv_prog_cc_c99=$ac_arg
5804 rm -f core conftest.err conftest.$ac_objext conftest.beam
5805 test "x$ac_cv_prog_cc_c99" != "xno" && break
5806 done
5807 rm -f conftest.$ac_ext
5808 CC=$ac_save_CC
5811 if test "x$ac_cv_prog_cc_c99" = xno
5812 then :
5813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5814 printf "%s\n" "unsupported" >&6; }
5815 else $as_nop
5816 if test "x$ac_cv_prog_cc_c99" = x
5817 then :
5818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5819 printf "%s\n" "none needed" >&6; }
5820 else $as_nop
5821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5822 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5823 CC="$CC $ac_cv_prog_cc_c99"
5825 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5826 ac_prog_cc_stdc=c99
5829 if test x$ac_prog_cc_stdc = xno
5830 then :
5831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5832 printf %s "checking for $CC option to enable C89 features... " >&6; }
5833 if test ${ac_cv_prog_cc_c89+y}
5834 then :
5835 printf %s "(cached) " >&6
5836 else $as_nop
5837 ac_cv_prog_cc_c89=no
5838 ac_save_CC=$CC
5839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h. */
5841 $ac_c_conftest_c89_program
5842 _ACEOF
5843 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5845 CC="$ac_save_CC $ac_arg"
5846 if ac_fn_c_try_compile "$LINENO"
5847 then :
5848 ac_cv_prog_cc_c89=$ac_arg
5850 rm -f core conftest.err conftest.$ac_objext conftest.beam
5851 test "x$ac_cv_prog_cc_c89" != "xno" && break
5852 done
5853 rm -f conftest.$ac_ext
5854 CC=$ac_save_CC
5857 if test "x$ac_cv_prog_cc_c89" = xno
5858 then :
5859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5860 printf "%s\n" "unsupported" >&6; }
5861 else $as_nop
5862 if test "x$ac_cv_prog_cc_c89" = x
5863 then :
5864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5865 printf "%s\n" "none needed" >&6; }
5866 else $as_nop
5867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5868 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5869 CC="$CC $ac_cv_prog_cc_c89"
5871 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5872 ac_prog_cc_stdc=c89
5876 ac_ext=c
5877 ac_cpp='$CPP $CPPFLAGS'
5878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5888 ac_ext=cpp
5889 ac_cpp='$CXXCPP $CPPFLAGS'
5890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5893 if test -z "$CXX"; then
5894 if test -n "$CCC"; then
5895 CXX=$CCC
5896 else
5897 if test -n "$ac_tool_prefix"; then
5898 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5900 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5901 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 printf %s "checking for $ac_word... " >&6; }
5904 if test ${ac_cv_prog_CXX+y}
5905 then :
5906 printf %s "(cached) " >&6
5907 else $as_nop
5908 if test -n "$CXX"; then
5909 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5910 else
5911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912 for as_dir in $PATH
5914 IFS=$as_save_IFS
5915 case $as_dir in #(((
5916 '') as_dir=./ ;;
5917 */) ;;
5918 *) as_dir=$as_dir/ ;;
5919 esac
5920 for ac_exec_ext in '' $ac_executable_extensions; do
5921 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5922 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5923 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5924 break 2
5926 done
5927 done
5928 IFS=$as_save_IFS
5932 CXX=$ac_cv_prog_CXX
5933 if test -n "$CXX"; then
5934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5935 printf "%s\n" "$CXX" >&6; }
5936 else
5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 printf "%s\n" "no" >&6; }
5942 test -n "$CXX" && break
5943 done
5945 if test -z "$CXX"; then
5946 ac_ct_CXX=$CXX
5947 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5949 # Extract the first word of "$ac_prog", so it can be a program name with args.
5950 set dummy $ac_prog; ac_word=$2
5951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952 printf %s "checking for $ac_word... " >&6; }
5953 if test ${ac_cv_prog_ac_ct_CXX+y}
5954 then :
5955 printf %s "(cached) " >&6
5956 else $as_nop
5957 if test -n "$ac_ct_CXX"; then
5958 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5959 else
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5963 IFS=$as_save_IFS
5964 case $as_dir in #(((
5965 '') as_dir=./ ;;
5966 */) ;;
5967 *) as_dir=$as_dir/ ;;
5968 esac
5969 for ac_exec_ext in '' $ac_executable_extensions; do
5970 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5971 ac_cv_prog_ac_ct_CXX="$ac_prog"
5972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5973 break 2
5975 done
5976 done
5977 IFS=$as_save_IFS
5981 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5982 if test -n "$ac_ct_CXX"; then
5983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5984 printf "%s\n" "$ac_ct_CXX" >&6; }
5985 else
5986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 printf "%s\n" "no" >&6; }
5991 test -n "$ac_ct_CXX" && break
5992 done
5994 if test "x$ac_ct_CXX" = x; then
5995 CXX="g++"
5996 else
5997 case $cross_compiling:$ac_tool_warned in
5998 yes:)
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6000 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6001 ac_tool_warned=yes ;;
6002 esac
6003 CXX=$ac_ct_CXX
6009 # Provide some information about the compiler.
6010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6011 set X $ac_compile
6012 ac_compiler=$2
6013 for ac_option in --version -v -V -qversion; do
6014 { { ac_try="$ac_compiler $ac_option >&5"
6015 case "(($ac_try" in
6016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6017 *) ac_try_echo=$ac_try;;
6018 esac
6019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6020 printf "%s\n" "$ac_try_echo"; } >&5
6021 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6022 ac_status=$?
6023 if test -s conftest.err; then
6024 sed '10a\
6025 ... rest of stderr output deleted ...
6026 10q' conftest.err >conftest.er1
6027 cat conftest.er1 >&5
6029 rm -f conftest.er1 conftest.err
6030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6031 test $ac_status = 0; }
6032 done
6034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6035 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6036 if test ${ac_cv_cxx_compiler_gnu+y}
6037 then :
6038 printf %s "(cached) " >&6
6039 else $as_nop
6040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6041 /* end confdefs.h. */
6044 main (void)
6046 #ifndef __GNUC__
6047 choke me
6048 #endif
6051 return 0;
6053 _ACEOF
6054 if ac_fn_cxx_try_compile "$LINENO"
6055 then :
6056 ac_compiler_gnu=yes
6057 else $as_nop
6058 ac_compiler_gnu=no
6060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6061 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6065 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6068 if test $ac_compiler_gnu = yes; then
6069 GXX=yes
6070 else
6071 GXX=
6073 ac_test_CXXFLAGS=${CXXFLAGS+y}
6074 ac_save_CXXFLAGS=$CXXFLAGS
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6076 printf %s "checking whether $CXX accepts -g... " >&6; }
6077 if test ${ac_cv_prog_cxx_g+y}
6078 then :
6079 printf %s "(cached) " >&6
6080 else $as_nop
6081 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6082 ac_cxx_werror_flag=yes
6083 ac_cv_prog_cxx_g=no
6084 CXXFLAGS="-g"
6085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6086 /* end confdefs.h. */
6089 main (void)
6093 return 0;
6095 _ACEOF
6096 if ac_fn_cxx_try_compile "$LINENO"
6097 then :
6098 ac_cv_prog_cxx_g=yes
6099 else $as_nop
6100 CXXFLAGS=""
6101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6102 /* end confdefs.h. */
6105 main (void)
6109 return 0;
6111 _ACEOF
6112 if ac_fn_cxx_try_compile "$LINENO"
6113 then :
6115 else $as_nop
6116 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6117 CXXFLAGS="-g"
6118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h. */
6122 main (void)
6126 return 0;
6128 _ACEOF
6129 if ac_fn_cxx_try_compile "$LINENO"
6130 then :
6131 ac_cv_prog_cxx_g=yes
6133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6138 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6141 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6142 if test $ac_test_CXXFLAGS; then
6143 CXXFLAGS=$ac_save_CXXFLAGS
6144 elif test $ac_cv_prog_cxx_g = yes; then
6145 if test "$GXX" = yes; then
6146 CXXFLAGS="-g -O2"
6147 else
6148 CXXFLAGS="-g"
6150 else
6151 if test "$GXX" = yes; then
6152 CXXFLAGS="-O2"
6153 else
6154 CXXFLAGS=
6157 ac_prog_cxx_stdcxx=no
6158 if test x$ac_prog_cxx_stdcxx = xno
6159 then :
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6161 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6162 if test ${ac_cv_prog_cxx_11+y}
6163 then :
6164 printf %s "(cached) " >&6
6165 else $as_nop
6166 ac_cv_prog_cxx_11=no
6167 ac_save_CXX=$CXX
6168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6169 /* end confdefs.h. */
6170 $ac_cxx_conftest_cxx11_program
6171 _ACEOF
6172 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6174 CXX="$ac_save_CXX $ac_arg"
6175 if ac_fn_cxx_try_compile "$LINENO"
6176 then :
6177 ac_cv_prog_cxx_cxx11=$ac_arg
6179 rm -f core conftest.err conftest.$ac_objext conftest.beam
6180 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6181 done
6182 rm -f conftest.$ac_ext
6183 CXX=$ac_save_CXX
6186 if test "x$ac_cv_prog_cxx_cxx11" = xno
6187 then :
6188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6189 printf "%s\n" "unsupported" >&6; }
6190 else $as_nop
6191 if test "x$ac_cv_prog_cxx_cxx11" = x
6192 then :
6193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6194 printf "%s\n" "none needed" >&6; }
6195 else $as_nop
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6197 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6198 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6200 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6201 ac_prog_cxx_stdcxx=cxx11
6204 if test x$ac_prog_cxx_stdcxx = xno
6205 then :
6206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6207 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6208 if test ${ac_cv_prog_cxx_98+y}
6209 then :
6210 printf %s "(cached) " >&6
6211 else $as_nop
6212 ac_cv_prog_cxx_98=no
6213 ac_save_CXX=$CXX
6214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6215 /* end confdefs.h. */
6216 $ac_cxx_conftest_cxx98_program
6217 _ACEOF
6218 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6220 CXX="$ac_save_CXX $ac_arg"
6221 if ac_fn_cxx_try_compile "$LINENO"
6222 then :
6223 ac_cv_prog_cxx_cxx98=$ac_arg
6225 rm -f core conftest.err conftest.$ac_objext conftest.beam
6226 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6227 done
6228 rm -f conftest.$ac_ext
6229 CXX=$ac_save_CXX
6232 if test "x$ac_cv_prog_cxx_cxx98" = xno
6233 then :
6234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6235 printf "%s\n" "unsupported" >&6; }
6236 else $as_nop
6237 if test "x$ac_cv_prog_cxx_cxx98" = x
6238 then :
6239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6240 printf "%s\n" "none needed" >&6; }
6241 else $as_nop
6242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6243 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6244 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6246 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6247 ac_prog_cxx_stdcxx=cxx98
6251 ac_ext=c
6252 ac_cpp='$CPP $CPPFLAGS'
6253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6257 if test -n "$ac_tool_prefix"; then
6258 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6259 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6261 printf %s "checking for $ac_word... " >&6; }
6262 if test ${ac_cv_prog_CPPBIN+y}
6263 then :
6264 printf %s "(cached) " >&6
6265 else $as_nop
6266 if test -n "$CPPBIN"; then
6267 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6268 else
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 for as_dir in $PATH
6272 IFS=$as_save_IFS
6273 case $as_dir in #(((
6274 '') as_dir=./ ;;
6275 */) ;;
6276 *) as_dir=$as_dir/ ;;
6277 esac
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6280 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6282 break 2
6284 done
6285 done
6286 IFS=$as_save_IFS
6290 CPPBIN=$ac_cv_prog_CPPBIN
6291 if test -n "$CPPBIN"; then
6292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6293 printf "%s\n" "$CPPBIN" >&6; }
6294 else
6295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6296 printf "%s\n" "no" >&6; }
6301 if test -z "$ac_cv_prog_CPPBIN"; then
6302 ac_ct_CPPBIN=$CPPBIN
6303 # Extract the first word of "cpp", so it can be a program name with args.
6304 set dummy cpp; ac_word=$2
6305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6306 printf %s "checking for $ac_word... " >&6; }
6307 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6308 then :
6309 printf %s "(cached) " >&6
6310 else $as_nop
6311 if test -n "$ac_ct_CPPBIN"; then
6312 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6313 else
6314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 for as_dir in $PATH
6317 IFS=$as_save_IFS
6318 case $as_dir in #(((
6319 '') as_dir=./ ;;
6320 */) ;;
6321 *) as_dir=$as_dir/ ;;
6322 esac
6323 for ac_exec_ext in '' $ac_executable_extensions; do
6324 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6325 ac_cv_prog_ac_ct_CPPBIN="cpp"
6326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6327 break 2
6329 done
6330 done
6331 IFS=$as_save_IFS
6335 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6336 if test -n "$ac_ct_CPPBIN"; then
6337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6338 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6339 else
6340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6341 printf "%s\n" "no" >&6; }
6344 if test "x$ac_ct_CPPBIN" = x; then
6345 CPPBIN="cpp"
6346 else
6347 case $cross_compiling:$ac_tool_warned in
6348 yes:)
6349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6350 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6351 ac_tool_warned=yes ;;
6352 esac
6353 CPPBIN=$ac_ct_CPPBIN
6355 else
6356 CPPBIN="$ac_cv_prog_CPPBIN"
6360 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6362 if test -n "$ac_tool_prefix"; then
6363 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6364 set dummy ${ac_tool_prefix}ld; ac_word=$2
6365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6366 printf %s "checking for $ac_word... " >&6; }
6367 if test ${ac_cv_prog_LD+y}
6368 then :
6369 printf %s "(cached) " >&6
6370 else $as_nop
6371 if test -n "$LD"; then
6372 ac_cv_prog_LD="$LD" # Let the user override the test.
6373 else
6374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6375 for as_dir in $PATH
6377 IFS=$as_save_IFS
6378 case $as_dir in #(((
6379 '') as_dir=./ ;;
6380 */) ;;
6381 *) as_dir=$as_dir/ ;;
6382 esac
6383 for ac_exec_ext in '' $ac_executable_extensions; do
6384 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6385 ac_cv_prog_LD="${ac_tool_prefix}ld"
6386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6387 break 2
6389 done
6390 done
6391 IFS=$as_save_IFS
6395 LD=$ac_cv_prog_LD
6396 if test -n "$LD"; then
6397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6398 printf "%s\n" "$LD" >&6; }
6399 else
6400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6401 printf "%s\n" "no" >&6; }
6406 if test -z "$ac_cv_prog_LD"; then
6407 ac_ct_LD=$LD
6408 # Extract the first word of "ld", so it can be a program name with args.
6409 set dummy ld; ac_word=$2
6410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 printf %s "checking for $ac_word... " >&6; }
6412 if test ${ac_cv_prog_ac_ct_LD+y}
6413 then :
6414 printf %s "(cached) " >&6
6415 else $as_nop
6416 if test -n "$ac_ct_LD"; then
6417 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6418 else
6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 for as_dir in $PATH
6422 IFS=$as_save_IFS
6423 case $as_dir in #(((
6424 '') as_dir=./ ;;
6425 */) ;;
6426 *) as_dir=$as_dir/ ;;
6427 esac
6428 for ac_exec_ext in '' $ac_executable_extensions; do
6429 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6430 ac_cv_prog_ac_ct_LD="ld"
6431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6432 break 2
6434 done
6435 done
6436 IFS=$as_save_IFS
6440 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6441 if test -n "$ac_ct_LD"; then
6442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6443 printf "%s\n" "$ac_ct_LD" >&6; }
6444 else
6445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6446 printf "%s\n" "no" >&6; }
6449 if test "x$ac_ct_LD" = x; then
6450 LD=""
6451 else
6452 case $cross_compiling:$ac_tool_warned in
6453 yes:)
6454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6455 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6456 ac_tool_warned=yes ;;
6457 esac
6458 LD=$ac_ct_LD
6460 else
6461 LD="$ac_cv_prog_LD"
6465 case $host in
6466 *-darwin*)
6467 with_fontconfig=${with_fontconfig:-no}
6469 *-mingw32*|*-cygwin*)
6470 enable_win16=${enable_win16:-no}
6471 with_mingw=${with_mingw:-no}
6473 esac
6476 case $host in
6477 x86_64*|amd64*)
6478 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6479 then
6480 CC="$CC -m32"
6481 CXX="$CXX -m32"
6483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6484 printf %s "checking whether $CC works... " >&6; }
6485 if test ${wine_cv_cc_m32+y}
6486 then :
6487 printf %s "(cached) " >&6
6488 else $as_nop
6489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6490 /* end confdefs.h. */
6493 main (void)
6497 return 0;
6499 _ACEOF
6500 if ac_fn_c_try_link "$LINENO"
6501 then :
6502 wine_cv_cc_m32=yes
6503 else $as_nop
6504 wine_cv_cc_m32=no
6506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6507 conftest$ac_exeext conftest.$ac_ext
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6510 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6511 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
6512 host_cpu="i386"
6513 notice_platform="32-bit "
6514 TARGETFLAGS="$TARGETFLAGS -m32"
6515 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6516 export PKG_CONFIG_PATH
6517 enable_win16=${enable_win16:-yes}
6518 with_unwind=${with_unwind:-no}
6519 else
6520 if test "x${GCC}" = "xyes"
6521 then
6522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6523 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6524 if test ${wine_cv_builtin_ms_va_list+y}
6525 then :
6526 printf %s "(cached) " >&6
6527 else $as_nop
6528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6529 /* end confdefs.h. */
6530 #include <stdarg.h>
6532 main (void)
6534 void func(__builtin_ms_va_list *args);
6536 return 0;
6538 _ACEOF
6539 if ac_fn_c_try_compile "$LINENO"
6540 then :
6541 wine_cv_builtin_ms_va_list=yes
6542 else $as_nop
6543 wine_cv_builtin_ms_va_list=no
6545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6548 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6549 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6551 CC="$CC -m64"
6552 CXX="$CXX -m64"
6553 host_cpu="x86_64"
6554 notice_platform="64-bit "
6555 TARGETFLAGS="$TARGETFLAGS -m64"
6556 enable_wow64=${enable_wow64:-yes}
6557 enable_wow64win=${enable_wow64win:-yes}
6558 enable_wow64cpu=${enable_wow64cpu:-yes}
6561 arm*)
6562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6563 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6564 if test ${wine_cv_thumb2+y}
6565 then :
6566 printf %s "(cached) " >&6
6567 else $as_nop
6568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6572 main (void)
6574 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6576 return 0;
6578 _ACEOF
6579 if ac_fn_c_try_link "$LINENO"
6580 then :
6581 wine_cv_thumb2=yes
6582 else $as_nop
6583 wine_cv_thumb2=no
6585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6586 conftest$ac_exeext conftest.$ac_ext
6588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6589 printf "%s\n" "$wine_cv_thumb2" >&6; }
6590 if test x"$wine_cv_thumb2" = xyes
6591 then
6592 CFLAGS="$CFLAGS -mthumb"
6593 TARGETFLAGS="$TARGETFLAGS -mthumb"
6594 else
6595 CFLAGS="$CFLAGS -marm"
6596 TARGETFLAGS="$TARGETFLAGS -marm"
6598 case $with_float_abi in
6599 soft|softfp|hard)
6600 float_abi=$with_float_abi ;;
6602 case $host_os in
6603 *eabihf)
6604 float_abi=hard ;;
6606 float_abi=softfp
6607 saved_CFLAGS=$CFLAGS
6608 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6610 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6611 if test ${wine_cv_float_abi+y}
6612 then :
6613 printf %s "(cached) " >&6
6614 else $as_nop
6615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6616 /* end confdefs.h. */
6619 main (void)
6621 asm("vmrs r2,fpscr");
6623 return 0;
6625 _ACEOF
6626 if ac_fn_c_try_link "$LINENO"
6627 then :
6628 wine_cv_float_abi=yes
6629 else $as_nop
6630 wine_cv_float_abi=no
6632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6633 conftest$ac_exeext conftest.$ac_ext
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6636 printf "%s\n" "$wine_cv_float_abi" >&6; }
6637 if test $wine_cv_float_abi = no
6638 then
6639 float_abi=soft
6640 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6642 CFLAGS=$saved_CFLAGS
6643 esac
6645 esac
6646 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6647 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6649 aarch64*)
6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6651 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6652 if test ${wine_cv_builtin_ms_va_list+y}
6653 then :
6654 printf %s "(cached) " >&6
6655 else $as_nop
6656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6657 /* end confdefs.h. */
6658 #include <stdarg.h>
6660 main (void)
6662 void func(__builtin_ms_va_list *args);
6664 return 0;
6666 _ACEOF
6667 if ac_fn_c_try_compile "$LINENO"
6668 then :
6669 wine_cv_builtin_ms_va_list=yes
6670 else $as_nop
6671 wine_cv_builtin_ms_va_list=no
6673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6676 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6677 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6678 enable_wow64=${enable_wow64:-yes}
6679 enable_wow64win=${enable_wow64win:-yes}
6681 i[3456789]86*)
6682 enable_win16=${enable_win16:-yes}
6683 with_unwind=${with_unwind:-no}
6685 esac
6687 enable_win16=${enable_win16:-no}
6688 enable_win64=${enable_win64:-no}
6689 enable_wow64=${enable_wow64:-no}
6690 enable_wow64win=${enable_wow64win:-no}
6691 enable_wow64cpu=${enable_wow64cpu:-no}
6693 enable_winetest=${enable_winetest:-$enable_tests}
6695 if test "x$enable_win64" = "xyes"
6696 then
6697 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6698 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6701 case $build_os in
6702 cygwin*|mingw32*) toolsext=".exe"
6704 *) toolsext=""
6706 esac
6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6709 printf %s "checking for the directory containing the Wine tools... " >&6; }
6710 if test ${wine_cv_toolsdir+y}
6711 then :
6712 printf %s "(cached) " >&6
6713 else $as_nop
6714 wine_cv_toolsdir="$with_wine_tools"
6715 if test -z "$with_wine_tools"; then
6716 if test "$cross_compiling" = "yes"; then
6717 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6718 elif test -n "$with_wine64"; then
6719 wine_cv_toolsdir="$with_wine64"
6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6724 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6725 if test -z "$wine_cv_toolsdir"; then
6726 wine_makedep=tools/makedep$toolsext
6727 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6728 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6729 enable_tools=${enable_tools:-no}
6730 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6731 else
6732 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6734 toolsdir=$wine_cv_toolsdir
6736 MAKEDEP=$wine_makedep
6738 RUNTESTFLAGS="-q -P wine"
6740 SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
6742 api_manext=3w
6745 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6746 then
6747 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6750 for ac_prog in flex
6752 # Extract the first word of "$ac_prog", so it can be a program name with args.
6753 set dummy $ac_prog; ac_word=$2
6754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 printf %s "checking for $ac_word... " >&6; }
6756 if test ${ac_cv_prog_FLEX+y}
6757 then :
6758 printf %s "(cached) " >&6
6759 else $as_nop
6760 if test -n "$FLEX"; then
6761 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6766 IFS=$as_save_IFS
6767 case $as_dir in #(((
6768 '') as_dir=./ ;;
6769 */) ;;
6770 *) as_dir=$as_dir/ ;;
6771 esac
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6774 ac_cv_prog_FLEX="$ac_prog"
6775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6776 break 2
6778 done
6779 done
6780 IFS=$as_save_IFS
6784 FLEX=$ac_cv_prog_FLEX
6785 if test -n "$FLEX"; then
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6787 printf "%s\n" "$FLEX" >&6; }
6788 else
6789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 printf "%s\n" "no" >&6; }
6794 test -n "$FLEX" && break
6795 done
6796 test -n "$FLEX" || FLEX="none"
6798 if test "$FLEX" = "none"
6799 then
6800 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6803 printf %s "checking whether flex is recent enough... " >&6; }
6804 if test ${wine_cv_recent_flex+y}
6805 then :
6806 printf %s "(cached) " >&6
6807 else $as_nop
6808 cat >conftest.l <<EOF
6809 %top{
6810 #include "prediluvian.h"
6814 if $FLEX -t conftest.l >/dev/null 2>&5
6815 then
6816 wine_cv_recent_flex=yes
6817 else
6818 wine_cv_recent_flex=no
6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6822 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6823 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
6825 for ac_prog in bison
6827 # Extract the first word of "$ac_prog", so it can be a program name with args.
6828 set dummy $ac_prog; ac_word=$2
6829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6830 printf %s "checking for $ac_word... " >&6; }
6831 if test ${ac_cv_prog_BISON+y}
6832 then :
6833 printf %s "(cached) " >&6
6834 else $as_nop
6835 if test -n "$BISON"; then
6836 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6837 else
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 for as_dir in $PATH
6841 IFS=$as_save_IFS
6842 case $as_dir in #(((
6843 '') as_dir=./ ;;
6844 */) ;;
6845 *) as_dir=$as_dir/ ;;
6846 esac
6847 for ac_exec_ext in '' $ac_executable_extensions; do
6848 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6849 ac_cv_prog_BISON="$ac_prog"
6850 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6851 break 2
6853 done
6854 done
6855 IFS=$as_save_IFS
6859 BISON=$ac_cv_prog_BISON
6860 if test -n "$BISON"; then
6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6862 printf "%s\n" "$BISON" >&6; }
6863 else
6864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865 printf "%s\n" "no" >&6; }
6869 test -n "$BISON" && break
6870 done
6871 test -n "$BISON" || BISON="none"
6873 if test "$BISON" = "none"
6874 then
6875 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6878 printf %s "checking whether bison is recent enough... " >&6; }
6879 if test ${wine_cv_recent_bison+y}
6880 then :
6881 printf %s "(cached) " >&6
6882 else $as_nop
6883 cat >conftest.y <<EOF
6884 %define parse.error verbose
6886 empty: ;
6888 if $BISON conftest.y >/dev/null 2>&5
6889 then
6890 wine_cv_recent_bison=yes
6891 else
6892 wine_cv_recent_bison=no
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6896 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6897 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
6899 if test -n "$ac_tool_prefix"; then
6900 for ac_prog in ar gar
6902 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6903 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6905 printf %s "checking for $ac_word... " >&6; }
6906 if test ${ac_cv_prog_AR+y}
6907 then :
6908 printf %s "(cached) " >&6
6909 else $as_nop
6910 if test -n "$AR"; then
6911 ac_cv_prog_AR="$AR" # Let the user override the test.
6912 else
6913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6914 for as_dir in $PATH
6916 IFS=$as_save_IFS
6917 case $as_dir in #(((
6918 '') as_dir=./ ;;
6919 */) ;;
6920 *) as_dir=$as_dir/ ;;
6921 esac
6922 for ac_exec_ext in '' $ac_executable_extensions; do
6923 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6924 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6925 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6926 break 2
6928 done
6929 done
6930 IFS=$as_save_IFS
6934 AR=$ac_cv_prog_AR
6935 if test -n "$AR"; then
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6937 printf "%s\n" "$AR" >&6; }
6938 else
6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 printf "%s\n" "no" >&6; }
6944 test -n "$AR" && break
6945 done
6947 if test -z "$AR"; then
6948 ac_ct_AR=$AR
6949 for ac_prog in ar gar
6951 # Extract the first word of "$ac_prog", so it can be a program name with args.
6952 set dummy $ac_prog; ac_word=$2
6953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6954 printf %s "checking for $ac_word... " >&6; }
6955 if test ${ac_cv_prog_ac_ct_AR+y}
6956 then :
6957 printf %s "(cached) " >&6
6958 else $as_nop
6959 if test -n "$ac_ct_AR"; then
6960 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6961 else
6962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963 for as_dir in $PATH
6965 IFS=$as_save_IFS
6966 case $as_dir in #(((
6967 '') as_dir=./ ;;
6968 */) ;;
6969 *) as_dir=$as_dir/ ;;
6970 esac
6971 for ac_exec_ext in '' $ac_executable_extensions; do
6972 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6973 ac_cv_prog_ac_ct_AR="$ac_prog"
6974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6975 break 2
6977 done
6978 done
6979 IFS=$as_save_IFS
6983 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6984 if test -n "$ac_ct_AR"; then
6985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6986 printf "%s\n" "$ac_ct_AR" >&6; }
6987 else
6988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 printf "%s\n" "no" >&6; }
6993 test -n "$ac_ct_AR" && break
6994 done
6996 if test "x$ac_ct_AR" = x; then
6997 AR="ar"
6998 else
6999 case $cross_compiling:$ac_tool_warned in
7000 yes:)
7001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7002 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7003 ac_tool_warned=yes ;;
7004 esac
7005 AR=$ac_ct_AR
7009 if test -n "$ac_tool_prefix"; then
7010 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7011 set dummy ${ac_tool_prefix}strip; ac_word=$2
7012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013 printf %s "checking for $ac_word... " >&6; }
7014 if test ${ac_cv_prog_STRIP+y}
7015 then :
7016 printf %s "(cached) " >&6
7017 else $as_nop
7018 if test -n "$STRIP"; then
7019 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7020 else
7021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7022 for as_dir in $PATH
7024 IFS=$as_save_IFS
7025 case $as_dir in #(((
7026 '') as_dir=./ ;;
7027 */) ;;
7028 *) as_dir=$as_dir/ ;;
7029 esac
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7032 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7034 break 2
7036 done
7037 done
7038 IFS=$as_save_IFS
7042 STRIP=$ac_cv_prog_STRIP
7043 if test -n "$STRIP"; then
7044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7045 printf "%s\n" "$STRIP" >&6; }
7046 else
7047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7048 printf "%s\n" "no" >&6; }
7053 if test -z "$ac_cv_prog_STRIP"; then
7054 ac_ct_STRIP=$STRIP
7055 # Extract the first word of "strip", so it can be a program name with args.
7056 set dummy strip; ac_word=$2
7057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7058 printf %s "checking for $ac_word... " >&6; }
7059 if test ${ac_cv_prog_ac_ct_STRIP+y}
7060 then :
7061 printf %s "(cached) " >&6
7062 else $as_nop
7063 if test -n "$ac_ct_STRIP"; then
7064 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7065 else
7066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067 for as_dir in $PATH
7069 IFS=$as_save_IFS
7070 case $as_dir in #(((
7071 '') as_dir=./ ;;
7072 */) ;;
7073 *) as_dir=$as_dir/ ;;
7074 esac
7075 for ac_exec_ext in '' $ac_executable_extensions; do
7076 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7077 ac_cv_prog_ac_ct_STRIP="strip"
7078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7079 break 2
7081 done
7082 done
7083 IFS=$as_save_IFS
7087 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7088 if test -n "$ac_ct_STRIP"; then
7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7090 printf "%s\n" "$ac_ct_STRIP" >&6; }
7091 else
7092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 printf "%s\n" "no" >&6; }
7096 if test "x$ac_ct_STRIP" = x; then
7097 STRIP="strip"
7098 else
7099 case $cross_compiling:$ac_tool_warned in
7100 yes:)
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7102 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7103 ac_tool_warned=yes ;;
7104 esac
7105 STRIP=$ac_ct_STRIP
7107 else
7108 STRIP="$ac_cv_prog_STRIP"
7111 if test -n "$ac_tool_prefix"; then
7112 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7113 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7115 printf %s "checking for $ac_word... " >&6; }
7116 if test ${ac_cv_prog_RANLIB+y}
7117 then :
7118 printf %s "(cached) " >&6
7119 else $as_nop
7120 if test -n "$RANLIB"; then
7121 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7122 else
7123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 for as_dir in $PATH
7126 IFS=$as_save_IFS
7127 case $as_dir in #(((
7128 '') as_dir=./ ;;
7129 */) ;;
7130 *) as_dir=$as_dir/ ;;
7131 esac
7132 for ac_exec_ext in '' $ac_executable_extensions; do
7133 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7134 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7136 break 2
7138 done
7139 done
7140 IFS=$as_save_IFS
7144 RANLIB=$ac_cv_prog_RANLIB
7145 if test -n "$RANLIB"; then
7146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7147 printf "%s\n" "$RANLIB" >&6; }
7148 else
7149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7150 printf "%s\n" "no" >&6; }
7155 if test -z "$ac_cv_prog_RANLIB"; then
7156 ac_ct_RANLIB=$RANLIB
7157 # Extract the first word of "ranlib", so it can be a program name with args.
7158 set dummy ranlib; ac_word=$2
7159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7160 printf %s "checking for $ac_word... " >&6; }
7161 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7162 then :
7163 printf %s "(cached) " >&6
7164 else $as_nop
7165 if test -n "$ac_ct_RANLIB"; then
7166 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7167 else
7168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169 for as_dir in $PATH
7171 IFS=$as_save_IFS
7172 case $as_dir in #(((
7173 '') as_dir=./ ;;
7174 */) ;;
7175 *) as_dir=$as_dir/ ;;
7176 esac
7177 for ac_exec_ext in '' $ac_executable_extensions; do
7178 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7179 ac_cv_prog_ac_ct_RANLIB="ranlib"
7180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7181 break 2
7183 done
7184 done
7185 IFS=$as_save_IFS
7189 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7190 if test -n "$ac_ct_RANLIB"; then
7191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7192 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7193 else
7194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7195 printf "%s\n" "no" >&6; }
7198 if test "x$ac_ct_RANLIB" = x; then
7199 RANLIB=":"
7200 else
7201 case $cross_compiling:$ac_tool_warned in
7202 yes:)
7203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7204 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7205 ac_tool_warned=yes ;;
7206 esac
7207 RANLIB=$ac_ct_RANLIB
7209 else
7210 RANLIB="$ac_cv_prog_RANLIB"
7213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7214 printf %s "checking whether ln -s works... " >&6; }
7215 LN_S=$as_ln_s
7216 if test "$LN_S" = "ln -s"; then
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7218 printf "%s\n" "yes" >&6; }
7219 else
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7221 printf "%s\n" "no, using $LN_S" >&6; }
7224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7225 printf %s "checking for grep that handles long lines and -e... " >&6; }
7226 if test ${ac_cv_path_GREP+y}
7227 then :
7228 printf %s "(cached) " >&6
7229 else $as_nop
7230 if test -z "$GREP"; then
7231 ac_path_GREP_found=false
7232 # Loop through the user's path and test for each of PROGNAME-LIST
7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7236 IFS=$as_save_IFS
7237 case $as_dir in #(((
7238 '') as_dir=./ ;;
7239 */) ;;
7240 *) as_dir=$as_dir/ ;;
7241 esac
7242 for ac_prog in grep ggrep
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7246 as_fn_executable_p "$ac_path_GREP" || continue
7247 # Check for GNU ac_path_GREP and select it if it is found.
7248 # Check for GNU $ac_path_GREP
7249 case `"$ac_path_GREP" --version 2>&1` in
7250 *GNU*)
7251 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7253 ac_count=0
7254 printf %s 0123456789 >"conftest.in"
7255 while :
7257 cat "conftest.in" "conftest.in" >"conftest.tmp"
7258 mv "conftest.tmp" "conftest.in"
7259 cp "conftest.in" "conftest.nl"
7260 printf "%s\n" 'GREP' >> "conftest.nl"
7261 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7262 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7263 as_fn_arith $ac_count + 1 && ac_count=$as_val
7264 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7265 # Best one so far, save it but keep looking for a better one
7266 ac_cv_path_GREP="$ac_path_GREP"
7267 ac_path_GREP_max=$ac_count
7269 # 10*(2^10) chars as input seems more than enough
7270 test $ac_count -gt 10 && break
7271 done
7272 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7273 esac
7275 $ac_path_GREP_found && break 3
7276 done
7277 done
7278 done
7279 IFS=$as_save_IFS
7280 if test -z "$ac_cv_path_GREP"; then
7281 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7283 else
7284 ac_cv_path_GREP=$GREP
7288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7289 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7290 GREP="$ac_cv_path_GREP"
7293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7294 printf %s "checking for egrep... " >&6; }
7295 if test ${ac_cv_path_EGREP+y}
7296 then :
7297 printf %s "(cached) " >&6
7298 else $as_nop
7299 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7300 then ac_cv_path_EGREP="$GREP -E"
7301 else
7302 if test -z "$EGREP"; then
7303 ac_path_EGREP_found=false
7304 # Loop through the user's path and test for each of PROGNAME-LIST
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7308 IFS=$as_save_IFS
7309 case $as_dir in #(((
7310 '') as_dir=./ ;;
7311 */) ;;
7312 *) as_dir=$as_dir/ ;;
7313 esac
7314 for ac_prog in egrep
7316 for ac_exec_ext in '' $ac_executable_extensions; do
7317 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7318 as_fn_executable_p "$ac_path_EGREP" || continue
7319 # Check for GNU ac_path_EGREP and select it if it is found.
7320 # Check for GNU $ac_path_EGREP
7321 case `"$ac_path_EGREP" --version 2>&1` in
7322 *GNU*)
7323 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7325 ac_count=0
7326 printf %s 0123456789 >"conftest.in"
7327 while :
7329 cat "conftest.in" "conftest.in" >"conftest.tmp"
7330 mv "conftest.tmp" "conftest.in"
7331 cp "conftest.in" "conftest.nl"
7332 printf "%s\n" 'EGREP' >> "conftest.nl"
7333 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7334 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7335 as_fn_arith $ac_count + 1 && ac_count=$as_val
7336 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7337 # Best one so far, save it but keep looking for a better one
7338 ac_cv_path_EGREP="$ac_path_EGREP"
7339 ac_path_EGREP_max=$ac_count
7341 # 10*(2^10) chars as input seems more than enough
7342 test $ac_count -gt 10 && break
7343 done
7344 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7345 esac
7347 $ac_path_EGREP_found && break 3
7348 done
7349 done
7350 done
7351 IFS=$as_save_IFS
7352 if test -z "$ac_cv_path_EGREP"; then
7353 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7355 else
7356 ac_cv_path_EGREP=$EGREP
7361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7362 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7363 EGREP="$ac_cv_path_EGREP"
7366 # Extract the first word of "ldconfig", so it can be a program name with args.
7367 set dummy ldconfig; ac_word=$2
7368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7369 printf %s "checking for $ac_word... " >&6; }
7370 if test ${ac_cv_path_LDCONFIG+y}
7371 then :
7372 printf %s "(cached) " >&6
7373 else $as_nop
7374 case $LDCONFIG in
7375 [\\/]* | ?:[\\/]*)
7376 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7380 for as_dir in /sbin /usr/sbin $PATH
7382 IFS=$as_save_IFS
7383 case $as_dir in #(((
7384 '') as_dir=./ ;;
7385 */) ;;
7386 *) as_dir=$as_dir/ ;;
7387 esac
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7390 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7392 break 2
7394 done
7395 done
7396 IFS=$as_save_IFS
7398 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7400 esac
7402 LDCONFIG=$ac_cv_path_LDCONFIG
7403 if test -n "$LDCONFIG"; then
7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7405 printf "%s\n" "$LDCONFIG" >&6; }
7406 else
7407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 printf "%s\n" "no" >&6; }
7412 for ac_prog in msgfmt
7414 # Extract the first word of "$ac_prog", so it can be a program name with args.
7415 set dummy $ac_prog; ac_word=$2
7416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 printf %s "checking for $ac_word... " >&6; }
7418 if test ${ac_cv_prog_MSGFMT+y}
7419 then :
7420 printf %s "(cached) " >&6
7421 else $as_nop
7422 if test -n "$MSGFMT"; then
7423 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7424 else
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 for as_dir in $PATH
7428 IFS=$as_save_IFS
7429 case $as_dir in #(((
7430 '') as_dir=./ ;;
7431 */) ;;
7432 *) as_dir=$as_dir/ ;;
7433 esac
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7436 ac_cv_prog_MSGFMT="$ac_prog"
7437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7438 break 2
7440 done
7441 done
7442 IFS=$as_save_IFS
7446 MSGFMT=$ac_cv_prog_MSGFMT
7447 if test -n "$MSGFMT"; then
7448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7449 printf "%s\n" "$MSGFMT" >&6; }
7450 else
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 printf "%s\n" "no" >&6; }
7456 test -n "$MSGFMT" && break
7457 done
7458 test -n "$MSGFMT" || MSGFMT="false"
7460 if test ${ac_tool_prefix+y}
7461 then :
7462 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7463 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7465 printf %s "checking for $ac_word... " >&6; }
7466 if test ${ac_cv_prog_PKG_CONFIG+y}
7467 then :
7468 printf %s "(cached) " >&6
7469 else $as_nop
7470 if test -n "$PKG_CONFIG"; then
7471 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7472 else
7473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7474 for as_dir in $PATH
7476 IFS=$as_save_IFS
7477 case $as_dir in #(((
7478 '') as_dir=./ ;;
7479 */) ;;
7480 *) as_dir=$as_dir/ ;;
7481 esac
7482 for ac_exec_ext in '' $ac_executable_extensions; do
7483 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7484 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7486 break 2
7488 done
7489 done
7490 IFS=$as_save_IFS
7494 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7495 if test -n "$PKG_CONFIG"; then
7496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7497 printf "%s\n" "$PKG_CONFIG" >&6; }
7498 else
7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7500 printf "%s\n" "no" >&6; }
7505 if ${ac_cv_prog_PKG_CONFIG:+false} :
7506 then :
7507 if test "x$cross_compiling" = xyes
7508 then :
7510 else $as_nop
7511 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7512 # Extract the first word of "pkg-config", so it can be a program name with args.
7513 set dummy pkg-config; ac_word=$2
7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7515 printf %s "checking for $ac_word... " >&6; }
7516 if test ${ac_cv_prog_PKG_CONFIG+y}
7517 then :
7518 printf %s "(cached) " >&6
7519 else $as_nop
7520 if test -n "$PKG_CONFIG"; then
7521 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7522 else
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7524 for as_dir in $PATH
7526 IFS=$as_save_IFS
7527 case $as_dir in #(((
7528 '') as_dir=./ ;;
7529 */) ;;
7530 *) as_dir=$as_dir/ ;;
7531 esac
7532 for ac_exec_ext in '' $ac_executable_extensions; do
7533 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7534 ac_cv_prog_PKG_CONFIG="pkg-config"
7535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7536 break 2
7538 done
7539 done
7540 IFS=$as_save_IFS
7544 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7545 if test -n "$PKG_CONFIG"; then
7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7547 printf "%s\n" "$PKG_CONFIG" >&6; }
7548 else
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7550 printf "%s\n" "no" >&6; }
7555 else $as_nop
7556 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7559 if test "x$enable_maintainer_mode" != "xyes"
7560 then
7561 FONTFORGE=""
7562 RSVG=""
7563 CONVERT=""
7564 ICOTOOL=""
7565 else
7566 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7567 for ac_prog in fontforge
7569 # Extract the first word of "$ac_prog", so it can be a program name with args.
7570 set dummy $ac_prog; ac_word=$2
7571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7572 printf %s "checking for $ac_word... " >&6; }
7573 if test ${ac_cv_prog_FONTFORGE+y}
7574 then :
7575 printf %s "(cached) " >&6
7576 else $as_nop
7577 if test -n "$FONTFORGE"; then
7578 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7579 else
7580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7581 for as_dir in $PATH
7583 IFS=$as_save_IFS
7584 case $as_dir in #(((
7585 '') as_dir=./ ;;
7586 */) ;;
7587 *) as_dir=$as_dir/ ;;
7588 esac
7589 for ac_exec_ext in '' $ac_executable_extensions; do
7590 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7591 ac_cv_prog_FONTFORGE="$ac_prog"
7592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7593 break 2
7595 done
7596 done
7597 IFS=$as_save_IFS
7601 FONTFORGE=$ac_cv_prog_FONTFORGE
7602 if test -n "$FONTFORGE"; then
7603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7604 printf "%s\n" "$FONTFORGE" >&6; }
7605 else
7606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7607 printf "%s\n" "no" >&6; }
7611 test -n "$FONTFORGE" && break
7612 done
7613 test -n "$FONTFORGE" || FONTFORGE="false"
7615 for ac_prog in rsvg-convert rsvg
7617 # Extract the first word of "$ac_prog", so it can be a program name with args.
7618 set dummy $ac_prog; ac_word=$2
7619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7620 printf %s "checking for $ac_word... " >&6; }
7621 if test ${ac_cv_prog_RSVG+y}
7622 then :
7623 printf %s "(cached) " >&6
7624 else $as_nop
7625 if test -n "$RSVG"; then
7626 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7627 else
7628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629 for as_dir in $PATH
7631 IFS=$as_save_IFS
7632 case $as_dir in #(((
7633 '') as_dir=./ ;;
7634 */) ;;
7635 *) as_dir=$as_dir/ ;;
7636 esac
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7639 ac_cv_prog_RSVG="$ac_prog"
7640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7641 break 2
7643 done
7644 done
7645 IFS=$as_save_IFS
7649 RSVG=$ac_cv_prog_RSVG
7650 if test -n "$RSVG"; then
7651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7652 printf "%s\n" "$RSVG" >&6; }
7653 else
7654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 printf "%s\n" "no" >&6; }
7659 test -n "$RSVG" && break
7660 done
7661 test -n "$RSVG" || RSVG="false"
7663 for ac_prog in convert
7665 # Extract the first word of "$ac_prog", so it can be a program name with args.
7666 set dummy $ac_prog; ac_word=$2
7667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668 printf %s "checking for $ac_word... " >&6; }
7669 if test ${ac_cv_prog_CONVERT+y}
7670 then :
7671 printf %s "(cached) " >&6
7672 else $as_nop
7673 if test -n "$CONVERT"; then
7674 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7675 else
7676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677 for as_dir in $PATH
7679 IFS=$as_save_IFS
7680 case $as_dir in #(((
7681 '') as_dir=./ ;;
7682 */) ;;
7683 *) as_dir=$as_dir/ ;;
7684 esac
7685 for ac_exec_ext in '' $ac_executable_extensions; do
7686 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7687 ac_cv_prog_CONVERT="$ac_prog"
7688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7689 break 2
7691 done
7692 done
7693 IFS=$as_save_IFS
7697 CONVERT=$ac_cv_prog_CONVERT
7698 if test -n "$CONVERT"; then
7699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7700 printf "%s\n" "$CONVERT" >&6; }
7701 else
7702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7703 printf "%s\n" "no" >&6; }
7707 test -n "$CONVERT" && break
7708 done
7709 test -n "$CONVERT" || CONVERT="false"
7711 for ac_prog in icotool
7713 # Extract the first word of "$ac_prog", so it can be a program name with args.
7714 set dummy $ac_prog; ac_word=$2
7715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7716 printf %s "checking for $ac_word... " >&6; }
7717 if test ${ac_cv_prog_ICOTOOL+y}
7718 then :
7719 printf %s "(cached) " >&6
7720 else $as_nop
7721 if test -n "$ICOTOOL"; then
7722 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7723 else
7724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7725 for as_dir in $PATH
7727 IFS=$as_save_IFS
7728 case $as_dir in #(((
7729 '') as_dir=./ ;;
7730 */) ;;
7731 *) as_dir=$as_dir/ ;;
7732 esac
7733 for ac_exec_ext in '' $ac_executable_extensions; do
7734 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7735 ac_cv_prog_ICOTOOL="$ac_prog"
7736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7737 break 2
7739 done
7740 done
7741 IFS=$as_save_IFS
7745 ICOTOOL=$ac_cv_prog_ICOTOOL
7746 if test -n "$ICOTOOL"; then
7747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7748 printf "%s\n" "$ICOTOOL" >&6; }
7749 else
7750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751 printf "%s\n" "no" >&6; }
7755 test -n "$ICOTOOL" && break
7756 done
7757 test -n "$ICOTOOL" || ICOTOOL="false"
7759 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7760 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7762 if test "$CONVERT" = false
7763 then
7764 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7765 else
7766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7767 printf %s "checking for recent enough imagemagick... " >&6; }
7768 convert_version=`convert --version | head -n1`
7769 if test "x$convert_version" != "x"
7770 then
7771 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7772 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7773 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7774 then
7775 CONVERT=false
7778 if test "$CONVERT" = false
7779 then
7780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7781 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7782 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7783 else
7784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7785 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7789 if test "$ICOTOOL" = false
7790 then
7791 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7792 else
7793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7794 printf %s "checking for recent enough icotool... " >&6; }
7795 icotool_version=`icotool --version | head -n1`
7796 if test "x$icotool_version" != "x"
7797 then
7798 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7799 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7800 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7801 then
7802 ICOTOOL=false
7803 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7806 if test "$ICOTOOL" = false
7807 then
7808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7809 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7810 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7811 else
7812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7813 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7817 with_gettext=yes
7818 with_gettextpo=yes
7820 enable_werror=yes
7823 test "x$with_gettext" != xno || MSGFMT=false
7824 if test "$MSGFMT" != "false"
7825 then
7826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7827 printf %s "checking whether msgfmt supports contexts... " >&6; }
7828 if test ${wine_cv_msgfmt_contexts+y}
7829 then :
7830 printf %s "(cached) " >&6
7831 else $as_nop
7832 cat >conftest.po <<EOF
7833 # comment
7834 msgctxt "ctxt"
7835 msgid "id"
7836 msgstr "str"
7838 if $MSGFMT -o /dev/null conftest.po 2>&5
7839 then
7840 wine_cv_msgfmt_contexts=yes
7841 else
7842 wine_cv_msgfmt_contexts=no
7845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7846 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7847 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7849 if test "$MSGFMT" = false
7850 then :
7851 case "x$with_gettext" in
7852 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7853 xno) ;;
7854 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7855 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7856 esac
7857 enable_po=${enable_po:-no}
7861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7862 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7863 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7864 then :
7865 printf %s "(cached) " >&6
7866 else $as_nop
7867 ac_check_lib_save_LIBS=$LIBS
7868 LIBS="-li386 $LIBS"
7869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7870 /* end confdefs.h. */
7872 /* Override any GCC internal prototype to avoid an error.
7873 Use char because int might match the return type of a GCC
7874 builtin and then its argument prototype would still apply. */
7875 char i386_set_ldt ();
7877 main (void)
7879 return i386_set_ldt ();
7881 return 0;
7883 _ACEOF
7884 if ac_fn_c_try_link "$LINENO"
7885 then :
7886 ac_cv_lib_i386_i386_set_ldt=yes
7887 else $as_nop
7888 ac_cv_lib_i386_i386_set_ldt=no
7890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7891 conftest$ac_exeext conftest.$ac_ext
7892 LIBS=$ac_check_lib_save_LIBS
7894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7895 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7896 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7897 then :
7898 I386_LIBS="-li386"
7903 OPENGL_LIBS=""
7907 # Check whether --enable-largefile was given.
7908 if test ${enable_largefile+y}
7909 then :
7910 enableval=$enable_largefile;
7913 if test "$enable_largefile" != no; then
7915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7916 printf %s "checking for special C compiler options needed for large files... " >&6; }
7917 if test ${ac_cv_sys_largefile_CC+y}
7918 then :
7919 printf %s "(cached) " >&6
7920 else $as_nop
7921 ac_cv_sys_largefile_CC=no
7922 if test "$GCC" != yes; then
7923 ac_save_CC=$CC
7924 while :; do
7925 # IRIX 6.2 and later do not support large files by default,
7926 # so use the C compiler's -n32 option if that helps.
7927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7928 /* end confdefs.h. */
7929 #include <sys/types.h>
7930 /* Check that off_t can represent 2**63 - 1 correctly.
7931 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7932 since some C++ compilers masquerading as C compilers
7933 incorrectly reject 9223372036854775807. */
7934 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7935 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7936 && LARGE_OFF_T % 2147483647 == 1)
7937 ? 1 : -1];
7939 main (void)
7943 return 0;
7945 _ACEOF
7946 if ac_fn_c_try_compile "$LINENO"
7947 then :
7948 break
7950 rm -f core conftest.err conftest.$ac_objext conftest.beam
7951 CC="$CC -n32"
7952 if ac_fn_c_try_compile "$LINENO"
7953 then :
7954 ac_cv_sys_largefile_CC=' -n32'; break
7956 rm -f core conftest.err conftest.$ac_objext conftest.beam
7957 break
7958 done
7959 CC=$ac_save_CC
7960 rm -f conftest.$ac_ext
7963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7964 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7965 if test "$ac_cv_sys_largefile_CC" != no; then
7966 CC=$CC$ac_cv_sys_largefile_CC
7969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7970 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7971 if test ${ac_cv_sys_file_offset_bits+y}
7972 then :
7973 printf %s "(cached) " >&6
7974 else $as_nop
7975 while :; do
7976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7977 /* end confdefs.h. */
7978 #include <sys/types.h>
7979 /* Check that off_t can represent 2**63 - 1 correctly.
7980 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7981 since some C++ compilers masquerading as C compilers
7982 incorrectly reject 9223372036854775807. */
7983 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7984 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7985 && LARGE_OFF_T % 2147483647 == 1)
7986 ? 1 : -1];
7988 main (void)
7992 return 0;
7994 _ACEOF
7995 if ac_fn_c_try_compile "$LINENO"
7996 then :
7997 ac_cv_sys_file_offset_bits=no; break
7999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8001 /* end confdefs.h. */
8002 #define _FILE_OFFSET_BITS 64
8003 #include <sys/types.h>
8004 /* Check that off_t can represent 2**63 - 1 correctly.
8005 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8006 since some C++ compilers masquerading as C compilers
8007 incorrectly reject 9223372036854775807. */
8008 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8009 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8010 && LARGE_OFF_T % 2147483647 == 1)
8011 ? 1 : -1];
8013 main (void)
8017 return 0;
8019 _ACEOF
8020 if ac_fn_c_try_compile "$LINENO"
8021 then :
8022 ac_cv_sys_file_offset_bits=64; break
8024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8025 ac_cv_sys_file_offset_bits=unknown
8026 break
8027 done
8029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8030 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
8031 case $ac_cv_sys_file_offset_bits in #(
8032 no | unknown) ;;
8034 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
8036 esac
8037 rm -rf conftest*
8038 if test $ac_cv_sys_file_offset_bits = unknown; then
8039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8040 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8041 if test ${ac_cv_sys_large_files+y}
8042 then :
8043 printf %s "(cached) " >&6
8044 else $as_nop
8045 while :; do
8046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8047 /* end confdefs.h. */
8048 #include <sys/types.h>
8049 /* Check that off_t can represent 2**63 - 1 correctly.
8050 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8051 since some C++ compilers masquerading as C compilers
8052 incorrectly reject 9223372036854775807. */
8053 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8054 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8055 && LARGE_OFF_T % 2147483647 == 1)
8056 ? 1 : -1];
8058 main (void)
8062 return 0;
8064 _ACEOF
8065 if ac_fn_c_try_compile "$LINENO"
8066 then :
8067 ac_cv_sys_large_files=no; break
8069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8071 /* end confdefs.h. */
8072 #define _LARGE_FILES 1
8073 #include <sys/types.h>
8074 /* Check that off_t can represent 2**63 - 1 correctly.
8075 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8076 since some C++ compilers masquerading as C compilers
8077 incorrectly reject 9223372036854775807. */
8078 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8079 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8080 && LARGE_OFF_T % 2147483647 == 1)
8081 ? 1 : -1];
8083 main (void)
8087 return 0;
8089 _ACEOF
8090 if ac_fn_c_try_compile "$LINENO"
8091 then :
8092 ac_cv_sys_large_files=1; break
8094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8095 ac_cv_sys_large_files=unknown
8096 break
8097 done
8099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8100 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
8101 case $ac_cv_sys_large_files in #(
8102 no | unknown) ;;
8104 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
8106 esac
8107 rm -rf conftest*
8112 ac_header= ac_cache=
8113 for ac_item in $ac_header_c_list
8115 if test $ac_cache; then
8116 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8117 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8118 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8120 ac_header= ac_cache=
8121 elif test $ac_header; then
8122 ac_cache=$ac_item
8123 else
8124 ac_header=$ac_item
8126 done
8135 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8136 then :
8138 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8141 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_AL_al_h" = xyes
8143 then :
8144 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
8149 then :
8150 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_CL_cl_h" = xyes
8155 then :
8156 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
8161 then :
8162 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
8167 then :
8168 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
8173 then :
8174 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_EGL_egl_h" = xyes
8179 then :
8180 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
8185 then :
8186 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
8191 then :
8192 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_OpenAL_al_h" = xyes
8197 then :
8198 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
8203 then :
8204 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_Security_Security_h" = xyes
8209 then :
8210 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
8215 then :
8216 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
8221 then :
8222 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_arpa_inet_h" = xyes
8227 then :
8228 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_arpa_nameser_h" = xyes
8233 then :
8234 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_asm_types_h" = xyes
8239 then :
8240 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_asm_user_h" = xyes
8245 then :
8246 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_elf_h" = xyes
8251 then :
8252 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_float_h" = xyes
8257 then :
8258 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_gettext_po_h" = xyes
8263 then :
8264 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_ieeefp_h" = xyes
8269 then :
8270 printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_libproc_h" = xyes
8275 then :
8276 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_link_h" = xyes
8281 then :
8282 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_linux_cdrom_h" = xyes
8287 then :
8288 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_linux_filter_h" = xyes
8293 then :
8294 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8299 then :
8300 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8305 then :
8306 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_linux_input_h" = xyes
8311 then :
8312 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8317 then :
8318 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_linux_joystick_h" = xyes
8323 then :
8324 printf "%s\n" "#define HAVE_LINUX_JOYSTICK_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_linux_major_h" = xyes
8329 then :
8330 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8333 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_linux_param_h" = xyes
8335 then :
8336 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_linux_serial_h" = xyes
8341 then :
8342 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8345 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8346 if test "x$ac_cv_header_linux_types_h" = xyes
8347 then :
8348 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8351 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8352 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8353 then :
8354 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8357 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8358 if test "x$ac_cv_header_lwp_h" = xyes
8359 then :
8360 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8363 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8364 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8365 then :
8366 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8369 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8370 if test "x$ac_cv_header_mach_mach_h" = xyes
8371 then :
8372 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8375 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8376 if test "x$ac_cv_header_machine_cpu_h" = xyes
8377 then :
8378 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8381 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8382 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8383 then :
8384 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8387 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8388 if test "x$ac_cv_header_mntent_h" = xyes
8389 then :
8390 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8393 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8394 if test "x$ac_cv_header_netdb_h" = xyes
8395 then :
8396 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8399 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8400 if test "x$ac_cv_header_netinet_in_h" = xyes
8401 then :
8402 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8405 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8406 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8407 then :
8408 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8411 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8412 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8413 then :
8414 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8417 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8418 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8419 then :
8420 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8423 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8424 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8425 then :
8426 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8429 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8430 if test "x$ac_cv_header_port_h" = xyes
8431 then :
8432 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8435 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8436 if test "x$ac_cv_header_pthread_h" = xyes
8437 then :
8438 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8441 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8442 if test "x$ac_cv_header_pwd_h" = xyes
8443 then :
8444 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8447 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8448 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8449 then :
8450 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8453 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8454 if test "x$ac_cv_header_sched_h" = xyes
8455 then :
8456 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8459 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8460 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8461 then :
8462 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8465 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8466 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8467 then :
8468 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8471 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8472 if test "x$ac_cv_header_scsi_sg_h" = xyes
8473 then :
8474 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8477 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8478 if test "x$ac_cv_header_stdint_h" = xyes
8479 then :
8480 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8483 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8484 if test "x$ac_cv_header_sys_attr_h" = xyes
8485 then :
8486 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8489 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8490 if test "x$ac_cv_header_sys_auxv_h" = xyes
8491 then :
8492 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8495 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8496 if test "x$ac_cv_header_sys_cdio_h" = xyes
8497 then :
8498 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8501 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8502 if test "x$ac_cv_header_sys_epoll_h" = xyes
8503 then :
8504 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8507 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8508 if test "x$ac_cv_header_sys_event_h" = xyes
8509 then :
8510 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8513 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8514 if test "x$ac_cv_header_sys_filio_h" = xyes
8515 then :
8516 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8519 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8520 if test "x$ac_cv_header_sys_ipc_h" = xyes
8521 then :
8522 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8525 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8526 if test "x$ac_cv_header_sys_link_h" = xyes
8527 then :
8528 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8531 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8532 if test "x$ac_cv_header_sys_modem_h" = xyes
8533 then :
8534 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8537 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8538 if test "x$ac_cv_header_sys_mtio_h" = xyes
8539 then :
8540 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8543 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8544 if test "x$ac_cv_header_sys_param_h" = xyes
8545 then :
8546 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8549 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8550 if test "x$ac_cv_header_sys_prctl_h" = xyes
8551 then :
8552 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8555 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8556 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8557 then :
8558 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8561 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8562 if test "x$ac_cv_header_sys_queue_h" = xyes
8563 then :
8564 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8567 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8568 if test "x$ac_cv_header_sys_random_h" = xyes
8569 then :
8570 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8573 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8574 if test "x$ac_cv_header_sys_resource_h" = xyes
8575 then :
8576 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8579 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8580 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8581 then :
8582 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8585 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8586 if test "x$ac_cv_header_sys_shm_h" = xyes
8587 then :
8588 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8591 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8592 if test "x$ac_cv_header_sys_signal_h" = xyes
8593 then :
8594 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8597 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8598 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8599 then :
8600 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8603 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8604 if test "x$ac_cv_header_sys_sockio_h" = xyes
8605 then :
8606 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8609 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8610 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8611 then :
8612 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8615 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8616 if test "x$ac_cv_header_sys_strtio_h" = xyes
8617 then :
8618 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8621 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8622 if test "x$ac_cv_header_sys_syscall_h" = xyes
8623 then :
8624 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8627 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8628 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8629 then :
8630 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8633 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8634 if test "x$ac_cv_header_sys_times_h" = xyes
8635 then :
8636 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8639 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8640 if test "x$ac_cv_header_sys_uio_h" = xyes
8641 then :
8642 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8645 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8646 if test "x$ac_cv_header_sys_user_h" = xyes
8647 then :
8648 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8651 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8652 if test "x$ac_cv_header_sys_utsname_h" = xyes
8653 then :
8654 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8657 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8658 if test "x$ac_cv_header_sys_vnode_h" = xyes
8659 then :
8660 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8663 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8664 if test "x$ac_cv_header_syscall_h" = xyes
8665 then :
8666 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8669 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8670 if test "x$ac_cv_header_utime_h" = xyes
8671 then :
8672 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8675 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8676 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8677 then :
8678 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8681 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8682 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8683 then :
8684 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8688 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8689 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8690 then :
8692 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8696 if test $ac_cv_header_sys_mkdev_h = no; then
8697 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8698 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8699 then :
8701 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8707 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8708 if test ${ac_cv_header_stat_broken+y}
8709 then :
8710 printf %s "(cached) " >&6
8711 else $as_nop
8712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8713 /* end confdefs.h. */
8714 #include <sys/types.h>
8715 #include <sys/stat.h>
8717 #if defined S_ISBLK && defined S_IFDIR
8718 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8719 #endif
8721 #if defined S_ISBLK && defined S_IFCHR
8722 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8723 #endif
8725 #if defined S_ISLNK && defined S_IFREG
8726 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8727 #endif
8729 #if defined S_ISSOCK && defined S_IFREG
8730 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8731 #endif
8733 _ACEOF
8734 if ac_fn_c_try_compile "$LINENO"
8735 then :
8736 ac_cv_header_stat_broken=no
8737 else $as_nop
8738 ac_cv_header_stat_broken=yes
8740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8743 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8744 if test $ac_cv_header_stat_broken = yes; then
8746 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8752 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8753 #ifdef HAVE_SYS_PARAM_H
8754 # include <sys/param.h>
8755 #endif
8757 if test "x$ac_cv_header_sys_conf_h" = xyes
8758 then :
8759 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8762 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8763 #ifdef HAVE_SYS_PARAM_H
8764 # include <sys/param.h>
8765 #endif
8767 if test "x$ac_cv_header_sys_mount_h" = xyes
8768 then :
8769 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8772 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8773 #ifdef HAVE_SYS_PARAM_H
8774 # include <sys/param.h>
8775 #endif
8777 if test "x$ac_cv_header_sys_statfs_h" = xyes
8778 then :
8779 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8782 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8783 #ifdef HAVE_SYS_PARAM_H
8784 # include <sys/param.h>
8785 #endif
8787 if test "x$ac_cv_header_sys_user_h" = xyes
8788 then :
8789 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8792 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8793 #ifdef HAVE_SYS_PARAM_H
8794 # include <sys/param.h>
8795 #endif
8797 if test "x$ac_cv_header_sys_vfs_h" = xyes
8798 then :
8799 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8804 saved_sysctl_h_CFLAGS=$CFLAGS
8805 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8806 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8807 #ifdef HAVE_SYS_PARAM_H
8808 # include <sys/param.h>
8809 #endif
8811 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8812 then :
8813 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8817 CFLAGS=$saved_sysctl_h_CFLAGS
8819 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8820 #include <sys/socket.h>
8821 #ifdef HAVE_SYS_SOCKETVAR_H
8822 # include <sys/socketvar.h>
8823 #endif
8824 #ifdef HAVE_NET_ROUTE_H
8825 # include <net/route.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IN_H
8828 # include <netinet/in.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IN_SYSTM_H
8831 # include <netinet/in_systm.h>
8832 #endif
8833 #ifdef HAVE_NET_IF_H
8834 # include <net/if.h>
8835 #endif
8836 #ifdef HAVE_NETINET_IP_H
8837 # include <netinet/ip.h>
8838 #endif
8840 if test "x$ac_cv_header_netinet_ip_h" = xyes
8841 then :
8842 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8845 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8846 #include <sys/socket.h>
8847 #ifdef HAVE_SYS_SOCKETVAR_H
8848 # include <sys/socketvar.h>
8849 #endif
8850 #ifdef HAVE_NET_ROUTE_H
8851 # include <net/route.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IN_H
8854 # include <netinet/in.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IN_SYSTM_H
8857 # include <netinet/in_systm.h>
8858 #endif
8859 #ifdef HAVE_NET_IF_H
8860 # include <net/if.h>
8861 #endif
8862 #ifdef HAVE_NETINET_IP_H
8863 # include <netinet/ip.h>
8864 #endif
8866 if test "x$ac_cv_header_net_if_h" = xyes
8867 then :
8868 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8871 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8872 #include <sys/socket.h>
8873 #ifdef HAVE_SYS_SOCKETVAR_H
8874 # include <sys/socketvar.h>
8875 #endif
8876 #ifdef HAVE_NET_ROUTE_H
8877 # include <net/route.h>
8878 #endif
8879 #ifdef HAVE_NETINET_IN_H
8880 # include <netinet/in.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IN_SYSTM_H
8883 # include <netinet/in_systm.h>
8884 #endif
8885 #ifdef HAVE_NET_IF_H
8886 # include <net/if.h>
8887 #endif
8888 #ifdef HAVE_NETINET_IP_H
8889 # include <netinet/ip.h>
8890 #endif
8892 if test "x$ac_cv_header_net_if_arp_h" = xyes
8893 then :
8894 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8897 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8898 #include <sys/socket.h>
8899 #ifdef HAVE_SYS_SOCKETVAR_H
8900 # include <sys/socketvar.h>
8901 #endif
8902 #ifdef HAVE_NET_ROUTE_H
8903 # include <net/route.h>
8904 #endif
8905 #ifdef HAVE_NETINET_IN_H
8906 # include <netinet/in.h>
8907 #endif
8908 #ifdef HAVE_NETINET_IN_SYSTM_H
8909 # include <netinet/in_systm.h>
8910 #endif
8911 #ifdef HAVE_NET_IF_H
8912 # include <net/if.h>
8913 #endif
8914 #ifdef HAVE_NETINET_IP_H
8915 # include <netinet/ip.h>
8916 #endif
8918 if test "x$ac_cv_header_net_if_dl_h" = xyes
8919 then :
8920 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8923 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8924 #include <sys/socket.h>
8925 #ifdef HAVE_SYS_SOCKETVAR_H
8926 # include <sys/socketvar.h>
8927 #endif
8928 #ifdef HAVE_NET_ROUTE_H
8929 # include <net/route.h>
8930 #endif
8931 #ifdef HAVE_NETINET_IN_H
8932 # include <netinet/in.h>
8933 #endif
8934 #ifdef HAVE_NETINET_IN_SYSTM_H
8935 # include <netinet/in_systm.h>
8936 #endif
8937 #ifdef HAVE_NET_IF_H
8938 # include <net/if.h>
8939 #endif
8940 #ifdef HAVE_NETINET_IP_H
8941 # include <netinet/ip.h>
8942 #endif
8944 if test "x$ac_cv_header_net_if_types_h" = xyes
8945 then :
8946 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8949 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8950 #include <sys/socket.h>
8951 #ifdef HAVE_SYS_SOCKETVAR_H
8952 # include <sys/socketvar.h>
8953 #endif
8954 #ifdef HAVE_NET_ROUTE_H
8955 # include <net/route.h>
8956 #endif
8957 #ifdef HAVE_NETINET_IN_H
8958 # include <netinet/in.h>
8959 #endif
8960 #ifdef HAVE_NETINET_IN_SYSTM_H
8961 # include <netinet/in_systm.h>
8962 #endif
8963 #ifdef HAVE_NET_IF_H
8964 # include <net/if.h>
8965 #endif
8966 #ifdef HAVE_NETINET_IP_H
8967 # include <netinet/ip.h>
8968 #endif
8970 if test "x$ac_cv_header_net_route_h" = xyes
8971 then :
8972 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8975 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8976 #include <sys/socket.h>
8977 #ifdef HAVE_SYS_SOCKETVAR_H
8978 # include <sys/socketvar.h>
8979 #endif
8980 #ifdef HAVE_NET_ROUTE_H
8981 # include <net/route.h>
8982 #endif
8983 #ifdef HAVE_NETINET_IN_H
8984 # include <netinet/in.h>
8985 #endif
8986 #ifdef HAVE_NETINET_IN_SYSTM_H
8987 # include <netinet/in_systm.h>
8988 #endif
8989 #ifdef HAVE_NET_IF_H
8990 # include <net/if.h>
8991 #endif
8992 #ifdef HAVE_NETINET_IP_H
8993 # include <netinet/ip.h>
8994 #endif
8996 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8997 then :
8998 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
9001 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
9002 #include <sys/socket.h>
9003 #ifdef HAVE_SYS_SOCKETVAR_H
9004 # include <sys/socketvar.h>
9005 #endif
9006 #ifdef HAVE_NET_ROUTE_H
9007 # include <net/route.h>
9008 #endif
9009 #ifdef HAVE_NETINET_IN_H
9010 # include <netinet/in.h>
9011 #endif
9012 #ifdef HAVE_NETINET_IN_SYSTM_H
9013 # include <netinet/in_systm.h>
9014 #endif
9015 #ifdef HAVE_NET_IF_H
9016 # include <net/if.h>
9017 #endif
9018 #ifdef HAVE_NETINET_IP_H
9019 # include <netinet/ip.h>
9020 #endif
9022 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
9023 then :
9024 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
9027 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
9028 #include <sys/socket.h>
9029 #ifdef HAVE_SYS_SOCKETVAR_H
9030 # include <sys/socketvar.h>
9031 #endif
9032 #ifdef HAVE_NET_ROUTE_H
9033 # include <net/route.h>
9034 #endif
9035 #ifdef HAVE_NETINET_IN_H
9036 # include <netinet/in.h>
9037 #endif
9038 #ifdef HAVE_NETINET_IN_SYSTM_H
9039 # include <netinet/in_systm.h>
9040 #endif
9041 #ifdef HAVE_NET_IF_H
9042 # include <net/if.h>
9043 #endif
9044 #ifdef HAVE_NETINET_IP_H
9045 # include <netinet/ip.h>
9046 #endif
9048 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
9049 then :
9050 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
9053 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
9054 #include <sys/socket.h>
9055 #ifdef HAVE_SYS_SOCKETVAR_H
9056 # include <sys/socketvar.h>
9057 #endif
9058 #ifdef HAVE_NET_ROUTE_H
9059 # include <net/route.h>
9060 #endif
9061 #ifdef HAVE_NETINET_IN_H
9062 # include <netinet/in.h>
9063 #endif
9064 #ifdef HAVE_NETINET_IN_SYSTM_H
9065 # include <netinet/in_systm.h>
9066 #endif
9067 #ifdef HAVE_NET_IF_H
9068 # include <net/if.h>
9069 #endif
9070 #ifdef HAVE_NETINET_IP_H
9071 # include <netinet/ip.h>
9072 #endif
9074 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
9075 then :
9076 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
9079 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
9080 #include <sys/socket.h>
9081 #ifdef HAVE_SYS_SOCKETVAR_H
9082 # include <sys/socketvar.h>
9083 #endif
9084 #ifdef HAVE_NET_ROUTE_H
9085 # include <net/route.h>
9086 #endif
9087 #ifdef HAVE_NETINET_IN_H
9088 # include <netinet/in.h>
9089 #endif
9090 #ifdef HAVE_NETINET_IN_SYSTM_H
9091 # include <netinet/in_systm.h>
9092 #endif
9093 #ifdef HAVE_NET_IF_H
9094 # include <net/if.h>
9095 #endif
9096 #ifdef HAVE_NETINET_IP_H
9097 # include <netinet/ip.h>
9098 #endif
9100 if test "x$ac_cv_header_netinet_udp_h" = xyes
9101 then :
9102 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
9105 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
9106 #include <sys/socket.h>
9107 #ifdef HAVE_SYS_SOCKETVAR_H
9108 # include <sys/socketvar.h>
9109 #endif
9110 #ifdef HAVE_NET_ROUTE_H
9111 # include <net/route.h>
9112 #endif
9113 #ifdef HAVE_NETINET_IN_H
9114 # include <netinet/in.h>
9115 #endif
9116 #ifdef HAVE_NETINET_IN_SYSTM_H
9117 # include <netinet/in_systm.h>
9118 #endif
9119 #ifdef HAVE_NET_IF_H
9120 # include <net/if.h>
9121 #endif
9122 #ifdef HAVE_NETINET_IP_H
9123 # include <netinet/ip.h>
9124 #endif
9126 if test "x$ac_cv_header_netipx_ipx_h" = xyes
9127 then :
9128 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
9131 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
9132 #include <sys/socket.h>
9133 #ifdef HAVE_SYS_SOCKETVAR_H
9134 # include <sys/socketvar.h>
9135 #endif
9136 #ifdef HAVE_NET_ROUTE_H
9137 # include <net/route.h>
9138 #endif
9139 #ifdef HAVE_NETINET_IN_H
9140 # include <netinet/in.h>
9141 #endif
9142 #ifdef HAVE_NETINET_IN_SYSTM_H
9143 # include <netinet/in_systm.h>
9144 #endif
9145 #ifdef HAVE_NET_IF_H
9146 # include <net/if.h>
9147 #endif
9148 #ifdef HAVE_NETINET_IP_H
9149 # include <netinet/ip.h>
9150 #endif
9152 if test "x$ac_cv_header_sys_un_h" = xyes
9153 then :
9154 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
9159 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
9160 #include <sys/socket.h>
9161 #ifdef HAVE_SYS_SOCKETVAR_H
9162 # include <sys/socketvar.h>
9163 #endif
9164 #ifdef HAVE_NETINET_IN_H
9165 # include <netinet/in.h>
9166 #endif
9167 #ifdef HAVE_NETINET_IN_SYSTM_H
9168 # include <netinet/in_systm.h>
9169 #endif
9170 #ifdef HAVE_NETINET_IP_H
9171 # include <netinet/ip.h>
9172 #endif
9173 #ifdef HAVE_NETINET_IP_VAR_H
9174 # include <netinet/ip_var.h>
9175 #endif
9176 #ifdef HAVE_NETINET_IP_ICMP_H
9177 # include <netinet/ip_icmp.h>
9178 #endif
9179 #ifdef HAVE_NETINET_UDP_H
9180 # include <netinet/udp.h>
9181 #endif
9182 #ifdef HAVE_NETINET_TCP_H
9183 # include <netinet/tcp.h>
9184 #endif
9186 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
9187 then :
9188 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
9191 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
9192 #include <sys/socket.h>
9193 #ifdef HAVE_SYS_SOCKETVAR_H
9194 # include <sys/socketvar.h>
9195 #endif
9196 #ifdef HAVE_NETINET_IN_H
9197 # include <netinet/in.h>
9198 #endif
9199 #ifdef HAVE_NETINET_IN_SYSTM_H
9200 # include <netinet/in_systm.h>
9201 #endif
9202 #ifdef HAVE_NETINET_IP_H
9203 # include <netinet/ip.h>
9204 #endif
9205 #ifdef HAVE_NETINET_IP_VAR_H
9206 # include <netinet/ip_var.h>
9207 #endif
9208 #ifdef HAVE_NETINET_IP_ICMP_H
9209 # include <netinet/ip_icmp.h>
9210 #endif
9211 #ifdef HAVE_NETINET_UDP_H
9212 # include <netinet/udp.h>
9213 #endif
9214 #ifdef HAVE_NETINET_TCP_H
9215 # include <netinet/tcp.h>
9216 #endif
9218 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
9219 then :
9220 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
9223 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
9224 #include <sys/socket.h>
9225 #ifdef HAVE_SYS_SOCKETVAR_H
9226 # include <sys/socketvar.h>
9227 #endif
9228 #ifdef HAVE_NETINET_IN_H
9229 # include <netinet/in.h>
9230 #endif
9231 #ifdef HAVE_NETINET_IN_SYSTM_H
9232 # include <netinet/in_systm.h>
9233 #endif
9234 #ifdef HAVE_NETINET_IP_H
9235 # include <netinet/ip.h>
9236 #endif
9237 #ifdef HAVE_NETINET_IP_VAR_H
9238 # include <netinet/ip_var.h>
9239 #endif
9240 #ifdef HAVE_NETINET_IP_ICMP_H
9241 # include <netinet/ip_icmp.h>
9242 #endif
9243 #ifdef HAVE_NETINET_UDP_H
9244 # include <netinet/udp.h>
9245 #endif
9246 #ifdef HAVE_NETINET_TCP_H
9247 # include <netinet/tcp.h>
9248 #endif
9250 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9251 then :
9252 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9257 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9258 #include <sys/socket.h>
9259 #ifdef HAVE_ASM_TYPES_H
9260 # include <asm/types.h>
9261 #endif
9262 #ifdef HAVE_LINUX_TYPES_H
9263 # include <linux/types.h>
9264 #endif
9266 if test "x$ac_cv_header_linux_ipx_h" = xyes
9267 then :
9268 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9271 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9272 #include <sys/socket.h>
9273 #ifdef HAVE_ASM_TYPES_H
9274 # include <asm/types.h>
9275 #endif
9276 #ifdef HAVE_LINUX_TYPES_H
9277 # include <linux/types.h>
9278 #endif
9280 if test "x$ac_cv_header_linux_irda_h" = xyes
9281 then :
9282 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9285 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9286 #include <sys/socket.h>
9287 #ifdef HAVE_ASM_TYPES_H
9288 # include <asm/types.h>
9289 #endif
9290 #ifdef HAVE_LINUX_TYPES_H
9291 # include <linux/types.h>
9292 #endif
9294 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9295 then :
9296 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9301 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9302 #include <sys/socket.h>
9303 #ifdef HAVE_NETINET_IN_H
9304 # include <netinet/in.h>
9305 #endif
9306 #ifdef HAVE_ARPA_NAMESER_H
9307 # include <arpa/nameser.h>
9308 #endif
9310 if test "x$ac_cv_header_resolv_h" = xyes
9311 then :
9312 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9317 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9319 if test "x$ac_cv_header_ifaddrs_h" = xyes
9320 then :
9321 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9326 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9328 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9329 then :
9330 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9335 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9336 #ifdef HAVE_SYS_UCONTEXT_H
9337 #include <sys/ucontext.h>
9338 #endif
9340 if test "x$ac_cv_header_sys_thr_h" = xyes
9341 then :
9342 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9347 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9348 #include <pthread.h>
9349 #endif
9351 if test "x$ac_cv_header_pthread_np_h" = xyes
9352 then :
9353 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9358 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9359 #include <sys/types.h>
9360 #ifdef HAVE_ASM_TYPES_H
9361 #include <asm/types.h>
9362 #endif
9364 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9365 then :
9366 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9371 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9372 #include <sys/param.h>
9373 #endif
9374 #include <sys/socket.h>
9375 #ifdef HAVE_SYS_QUEUE_H
9376 #include <sys/queue.h>
9377 #endif
9379 if test "x$ac_cv_header_libprocstat_h" = xyes
9380 then :
9381 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9387 DLLFLAGS=""
9389 LDDLLFLAGS=""
9391 LDEXECFLAGS=""
9393 EXTRACFLAGS=""
9395 UNIXDLLFLAGS="-fPIC"
9397 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9399 TOP_INSTALL_LIB=""
9401 TOP_INSTALL_DEV=""
9403 WINELOADER_LDFLAGS=""
9405 WINEPRELOADER_LDFLAGS=""
9407 LIBEXT="so"
9408 # Extract the first word of "ldd", so it can be a program name with args.
9409 set dummy ldd; ac_word=$2
9410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9411 printf %s "checking for $ac_word... " >&6; }
9412 if test ${ac_cv_path_LDD+y}
9413 then :
9414 printf %s "(cached) " >&6
9415 else $as_nop
9416 case $LDD in
9417 [\\/]* | ?:[\\/]*)
9418 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9422 as_dummy="/sbin:/usr/sbin:$PATH"
9423 for as_dir in $as_dummy
9425 IFS=$as_save_IFS
9426 case $as_dir in #(((
9427 '') as_dir=./ ;;
9428 */) ;;
9429 *) as_dir=$as_dir/ ;;
9430 esac
9431 for ac_exec_ext in '' $ac_executable_extensions; do
9432 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9433 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9435 break 2
9437 done
9438 done
9439 IFS=$as_save_IFS
9441 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9443 esac
9445 LDD=$ac_cv_path_LDD
9446 if test -n "$LDD"; then
9447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9448 printf "%s\n" "$LDD" >&6; }
9449 else
9450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9451 printf "%s\n" "no" >&6; }
9455 if test -n "$ac_tool_prefix"; then
9456 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9457 set dummy ${ac_tool_prefix}otool; ac_word=$2
9458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9459 printf %s "checking for $ac_word... " >&6; }
9460 if test ${ac_cv_prog_OTOOL+y}
9461 then :
9462 printf %s "(cached) " >&6
9463 else $as_nop
9464 if test -n "$OTOOL"; then
9465 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9466 else
9467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9468 for as_dir in $PATH
9470 IFS=$as_save_IFS
9471 case $as_dir in #(((
9472 '') as_dir=./ ;;
9473 */) ;;
9474 *) as_dir=$as_dir/ ;;
9475 esac
9476 for ac_exec_ext in '' $ac_executable_extensions; do
9477 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9478 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9480 break 2
9482 done
9483 done
9484 IFS=$as_save_IFS
9488 OTOOL=$ac_cv_prog_OTOOL
9489 if test -n "$OTOOL"; then
9490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9491 printf "%s\n" "$OTOOL" >&6; }
9492 else
9493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9494 printf "%s\n" "no" >&6; }
9499 if test -z "$ac_cv_prog_OTOOL"; then
9500 ac_ct_OTOOL=$OTOOL
9501 # Extract the first word of "otool", so it can be a program name with args.
9502 set dummy otool; ac_word=$2
9503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9504 printf %s "checking for $ac_word... " >&6; }
9505 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9506 then :
9507 printf %s "(cached) " >&6
9508 else $as_nop
9509 if test -n "$ac_ct_OTOOL"; then
9510 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9511 else
9512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9513 for as_dir in $PATH
9515 IFS=$as_save_IFS
9516 case $as_dir in #(((
9517 '') as_dir=./ ;;
9518 */) ;;
9519 *) as_dir=$as_dir/ ;;
9520 esac
9521 for ac_exec_ext in '' $ac_executable_extensions; do
9522 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9523 ac_cv_prog_ac_ct_OTOOL="otool"
9524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9525 break 2
9527 done
9528 done
9529 IFS=$as_save_IFS
9533 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9534 if test -n "$ac_ct_OTOOL"; then
9535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9536 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9537 else
9538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9539 printf "%s\n" "no" >&6; }
9542 if test "x$ac_ct_OTOOL" = x; then
9543 OTOOL="otool"
9544 else
9545 case $cross_compiling:$ac_tool_warned in
9546 yes:)
9547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9548 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9549 ac_tool_warned=yes ;;
9550 esac
9551 OTOOL=$ac_ct_OTOOL
9553 else
9554 OTOOL="$ac_cv_prog_OTOOL"
9557 if test -n "$ac_tool_prefix"; then
9558 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9559 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9561 printf %s "checking for $ac_word... " >&6; }
9562 if test ${ac_cv_prog_READELF+y}
9563 then :
9564 printf %s "(cached) " >&6
9565 else $as_nop
9566 if test -n "$READELF"; then
9567 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9568 else
9569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9570 for as_dir in $PATH
9572 IFS=$as_save_IFS
9573 case $as_dir in #(((
9574 '') as_dir=./ ;;
9575 */) ;;
9576 *) as_dir=$as_dir/ ;;
9577 esac
9578 for ac_exec_ext in '' $ac_executable_extensions; do
9579 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9580 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9582 break 2
9584 done
9585 done
9586 IFS=$as_save_IFS
9590 READELF=$ac_cv_prog_READELF
9591 if test -n "$READELF"; then
9592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9593 printf "%s\n" "$READELF" >&6; }
9594 else
9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9596 printf "%s\n" "no" >&6; }
9601 if test -z "$ac_cv_prog_READELF"; then
9602 ac_ct_READELF=$READELF
9603 # Extract the first word of "readelf", so it can be a program name with args.
9604 set dummy readelf; ac_word=$2
9605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9606 printf %s "checking for $ac_word... " >&6; }
9607 if test ${ac_cv_prog_ac_ct_READELF+y}
9608 then :
9609 printf %s "(cached) " >&6
9610 else $as_nop
9611 if test -n "$ac_ct_READELF"; then
9612 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9613 else
9614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9615 for as_dir in $PATH
9617 IFS=$as_save_IFS
9618 case $as_dir in #(((
9619 '') as_dir=./ ;;
9620 */) ;;
9621 *) as_dir=$as_dir/ ;;
9622 esac
9623 for ac_exec_ext in '' $ac_executable_extensions; do
9624 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9625 ac_cv_prog_ac_ct_READELF="readelf"
9626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9627 break 2
9629 done
9630 done
9631 IFS=$as_save_IFS
9635 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9636 if test -n "$ac_ct_READELF"; then
9637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9638 printf "%s\n" "$ac_ct_READELF" >&6; }
9639 else
9640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9641 printf "%s\n" "no" >&6; }
9644 if test "x$ac_ct_READELF" = x; then
9645 READELF="true"
9646 else
9647 case $cross_compiling:$ac_tool_warned in
9648 yes:)
9649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9650 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9651 ac_tool_warned=yes ;;
9652 esac
9653 READELF=$ac_ct_READELF
9655 else
9656 READELF="$ac_cv_prog_READELF"
9659 wine_rules="all:"
9660 SUBDIRS=""
9662 DISABLED_SUBDIRS=""
9664 CONFIGURE_TARGETS=""
9667 wine_fn_append_file ()
9669 as_fn_append $1 " \\$as_nl $2"
9672 wine_fn_append_rule ()
9674 as_fn_append wine_rules "$as_nl$1"
9677 wine_fn_config_makefile ()
9679 wine_fn_append_file SUBDIRS $1
9680 if eval test \"x\$"$2"\" = x"no"
9681 then :
9682 wine_fn_append_file DISABLED_SUBDIRS $1
9686 wine_fn_config_symlink ()
9688 ac_links=$@
9689 wine_fn_append_rule \
9690 "$ac_links:
9691 @./config.status \$@"
9692 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9695 wine_binary="wine"
9696 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9697 WINELOADER_PROGRAMS="$wine_binary"
9699 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9701 case $host_os in
9702 cygwin*|mingw32*)
9703 if test -n "$ac_tool_prefix"; then
9704 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9705 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9707 printf %s "checking for $ac_word... " >&6; }
9708 if test ${ac_cv_prog_DLLTOOL+y}
9709 then :
9710 printf %s "(cached) " >&6
9711 else $as_nop
9712 if test -n "$DLLTOOL"; then
9713 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9714 else
9715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9716 for as_dir in $PATH
9718 IFS=$as_save_IFS
9719 case $as_dir in #(((
9720 '') as_dir=./ ;;
9721 */) ;;
9722 *) as_dir=$as_dir/ ;;
9723 esac
9724 for ac_exec_ext in '' $ac_executable_extensions; do
9725 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9726 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9728 break 2
9730 done
9731 done
9732 IFS=$as_save_IFS
9736 DLLTOOL=$ac_cv_prog_DLLTOOL
9737 if test -n "$DLLTOOL"; then
9738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9739 printf "%s\n" "$DLLTOOL" >&6; }
9740 else
9741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9742 printf "%s\n" "no" >&6; }
9747 if test -z "$ac_cv_prog_DLLTOOL"; then
9748 ac_ct_DLLTOOL=$DLLTOOL
9749 # Extract the first word of "dlltool", so it can be a program name with args.
9750 set dummy dlltool; ac_word=$2
9751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9752 printf %s "checking for $ac_word... " >&6; }
9753 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9754 then :
9755 printf %s "(cached) " >&6
9756 else $as_nop
9757 if test -n "$ac_ct_DLLTOOL"; then
9758 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9759 else
9760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9761 for as_dir in $PATH
9763 IFS=$as_save_IFS
9764 case $as_dir in #(((
9765 '') as_dir=./ ;;
9766 */) ;;
9767 *) as_dir=$as_dir/ ;;
9768 esac
9769 for ac_exec_ext in '' $ac_executable_extensions; do
9770 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9771 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9773 break 2
9775 done
9776 done
9777 IFS=$as_save_IFS
9781 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9782 if test -n "$ac_ct_DLLTOOL"; then
9783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9784 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9785 else
9786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9787 printf "%s\n" "no" >&6; }
9790 if test "x$ac_ct_DLLTOOL" = x; then
9791 DLLTOOL="false"
9792 else
9793 case $cross_compiling:$ac_tool_warned in
9794 yes:)
9795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9796 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9797 ac_tool_warned=yes ;;
9798 esac
9799 DLLTOOL=$ac_ct_DLLTOOL
9801 else
9802 DLLTOOL="$ac_cv_prog_DLLTOOL"
9805 LIBEXT="dll"
9806 EXTRACFLAGS="-D__WINE_PE_BUILD"
9807 case $host_cpu in
9808 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9809 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9810 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9811 then :
9812 printf %s "(cached) " >&6
9813 else $as_nop
9814 ac_wine_try_cflags_saved=$CFLAGS
9815 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9818 int main(int argc, char **argv) { return 0; }
9819 _ACEOF
9820 if ac_fn_c_try_link "$LINENO"
9821 then :
9822 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9823 else $as_nop
9824 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9827 conftest$ac_exeext conftest.$ac_ext
9828 CFLAGS=$ac_wine_try_cflags_saved
9830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9831 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9832 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9833 then :
9834 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9835 fi ;;
9836 esac
9837 enable_mountmgr_sys=${enable_mountmgr_sys:-no}
9838 enable_loader=${enable_loader:-no}
9839 enable_server=${enable_server:-no}
9840 with_x=${with_x:-no}
9841 with_pthread=${with_pthread:-no}
9844 darwin*|macosx*)
9845 ac_ext=m
9846 ac_cpp='$OBJCPP $CPPFLAGS'
9847 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9848 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9849 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9851 ac_ext=m
9852 ac_cpp='$OBJCPP $CPPFLAGS'
9853 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9854 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9855 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9856 if test -n "$ac_tool_prefix"; then
9857 for ac_prog in gcc objcc objc cc CC clang
9859 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9860 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9862 printf %s "checking for $ac_word... " >&6; }
9863 if test ${ac_cv_prog_OBJC+y}
9864 then :
9865 printf %s "(cached) " >&6
9866 else $as_nop
9867 if test -n "$OBJC"; then
9868 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9869 else
9870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9871 for as_dir in $PATH
9873 IFS=$as_save_IFS
9874 case $as_dir in #(((
9875 '') as_dir=./ ;;
9876 */) ;;
9877 *) as_dir=$as_dir/ ;;
9878 esac
9879 for ac_exec_ext in '' $ac_executable_extensions; do
9880 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9881 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9883 break 2
9885 done
9886 done
9887 IFS=$as_save_IFS
9891 OBJC=$ac_cv_prog_OBJC
9892 if test -n "$OBJC"; then
9893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9894 printf "%s\n" "$OBJC" >&6; }
9895 else
9896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9897 printf "%s\n" "no" >&6; }
9901 test -n "$OBJC" && break
9902 done
9904 if test -z "$OBJC"; then
9905 ac_ct_OBJC=$OBJC
9906 for ac_prog in gcc objcc objc cc CC clang
9908 # Extract the first word of "$ac_prog", so it can be a program name with args.
9909 set dummy $ac_prog; ac_word=$2
9910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9911 printf %s "checking for $ac_word... " >&6; }
9912 if test ${ac_cv_prog_ac_ct_OBJC+y}
9913 then :
9914 printf %s "(cached) " >&6
9915 else $as_nop
9916 if test -n "$ac_ct_OBJC"; then
9917 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9918 else
9919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9920 for as_dir in $PATH
9922 IFS=$as_save_IFS
9923 case $as_dir in #(((
9924 '') as_dir=./ ;;
9925 */) ;;
9926 *) as_dir=$as_dir/ ;;
9927 esac
9928 for ac_exec_ext in '' $ac_executable_extensions; do
9929 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9930 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9931 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9932 break 2
9934 done
9935 done
9936 IFS=$as_save_IFS
9940 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9941 if test -n "$ac_ct_OBJC"; then
9942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9943 printf "%s\n" "$ac_ct_OBJC" >&6; }
9944 else
9945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9946 printf "%s\n" "no" >&6; }
9950 test -n "$ac_ct_OBJC" && break
9951 done
9953 if test "x$ac_ct_OBJC" = x; then
9954 OBJC="gcc"
9955 else
9956 case $cross_compiling:$ac_tool_warned in
9957 yes:)
9958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9959 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9960 ac_tool_warned=yes ;;
9961 esac
9962 OBJC=$ac_ct_OBJC
9966 # Provide some information about the compiler.
9967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9968 set X $ac_compile
9969 ac_compiler=$2
9970 for ac_option in --version -v -V -qversion; do
9971 { { ac_try="$ac_compiler $ac_option >&5"
9972 case "(($ac_try" in
9973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9974 *) ac_try_echo=$ac_try;;
9975 esac
9976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9977 printf "%s\n" "$ac_try_echo"; } >&5
9978 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9979 ac_status=$?
9980 if test -s conftest.err; then
9981 sed '10a\
9982 ... rest of stderr output deleted ...
9983 10q' conftest.err >conftest.er1
9984 cat conftest.er1 >&5
9986 rm -f conftest.er1 conftest.err
9987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9988 test $ac_status = 0; }
9989 done
9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9992 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9993 if test ${ac_cv_objc_compiler_gnu+y}
9994 then :
9995 printf %s "(cached) " >&6
9996 else $as_nop
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
10001 main (void)
10003 #ifndef __GNUC__
10004 choke me
10005 #endif
10008 return 0;
10010 _ACEOF
10011 if ac_fn_objc_try_compile "$LINENO"
10012 then :
10013 ac_compiler_gnu=yes
10014 else $as_nop
10015 ac_compiler_gnu=no
10017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10018 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
10021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
10022 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
10023 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10025 if test $ac_compiler_gnu = yes; then
10026 GOBJC=yes
10027 else
10028 GOBJC=
10030 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
10031 ac_save_OBJCFLAGS=$OBJCFLAGS
10032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
10033 printf %s "checking whether $OBJC accepts -g... " >&6; }
10034 if test ${ac_cv_prog_objc_g+y}
10035 then :
10036 printf %s "(cached) " >&6
10037 else $as_nop
10038 ac_save_objc_werror_flag=$ac_objc_werror_flag
10039 ac_objc_werror_flag=yes
10040 ac_cv_prog_objc_g=no
10041 OBJCFLAGS="-g"
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10046 main (void)
10050 return 0;
10052 _ACEOF
10053 if ac_fn_objc_try_compile "$LINENO"
10054 then :
10055 ac_cv_prog_objc_g=yes
10056 else $as_nop
10057 OBJCFLAGS=""
10058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10059 /* end confdefs.h. */
10062 main (void)
10066 return 0;
10068 _ACEOF
10069 if ac_fn_objc_try_compile "$LINENO"
10070 then :
10072 else $as_nop
10073 ac_objc_werror_flag=$ac_save_objc_werror_flag
10074 OBJCFLAGS="-g"
10075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10076 /* end confdefs.h. */
10079 main (void)
10083 return 0;
10085 _ACEOF
10086 if ac_fn_objc_try_compile "$LINENO"
10087 then :
10088 ac_cv_prog_objc_g=yes
10090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10095 ac_objc_werror_flag=$ac_save_objc_werror_flag
10097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
10098 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
10099 if test $ac_test_OBJCFLAGS; then
10100 OBJCFLAGS=$ac_save_OBJCFLAGS
10101 elif test $ac_cv_prog_objc_g = yes; then
10102 if test "$GOBJC" = yes; then
10103 OBJCFLAGS="-g -O2"
10104 else
10105 OBJCFLAGS="-g"
10107 else
10108 if test "$GOBJC" = yes; then
10109 OBJCFLAGS="-O2"
10110 else
10111 OBJCFLAGS=
10114 ac_ext=m
10115 ac_cpp='$OBJCPP $CPPFLAGS'
10116 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10117 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10118 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10121 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
10122 if test "x$ac_cv_header_Metal_Metal_h" = xyes
10123 then :
10124 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
10128 ac_ext=c
10129 ac_cpp='$CPP $CPPFLAGS'
10130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10134 LIBEXT="dylib"
10135 DLLFLAGS="$DLLFLAGS -fPIC"
10136 LDDLLFLAGS="-fPIC"
10137 COREFOUNDATION_LIBS="-framework CoreFoundation"
10139 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
10141 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
10143 CORESERVICES_LIBS="-framework CoreServices"
10145 APPKIT_LIBS="-framework AppKit"
10147 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
10150 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
10152 wine_can_build_preloader=yes
10153 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
10155 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
10156 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
10157 then :
10158 printf %s "(cached) " >&6
10159 else $as_nop
10160 ac_wine_try_cflags_saved=$CFLAGS
10161 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10164 int main(int argc, char **argv) { return 0; }
10165 _ACEOF
10166 if ac_fn_c_try_link "$LINENO"
10167 then :
10168 ac_cv_cflags__Wl__no_new_main__e__main=yes
10169 else $as_nop
10170 ac_cv_cflags__Wl__no_new_main__e__main=no
10172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10173 conftest$ac_exeext conftest.$ac_ext
10174 CFLAGS=$ac_wine_try_cflags_saved
10176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
10177 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
10178 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
10179 then :
10180 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
10181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10182 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10183 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10184 then :
10185 printf %s "(cached) " >&6
10186 else $as_nop
10187 ac_wine_try_cflags_saved=$CFLAGS
10188 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10191 int main(int argc, char **argv) { return 0; }
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"
10194 then :
10195 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10196 else $as_nop
10197 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10200 conftest$ac_exeext conftest.$ac_ext
10201 CFLAGS=$ac_wine_try_cflags_saved
10203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10204 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10205 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10206 then :
10207 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10208 else $as_nop
10209 wine_can_build_preloader=no
10211 else $as_nop
10212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10213 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10214 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10215 then :
10216 printf %s "(cached) " >&6
10217 else $as_nop
10218 ac_wine_try_cflags_saved=$CFLAGS
10219 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10222 int main(int argc, char **argv) { return 0; }
10223 _ACEOF
10224 if ac_fn_c_try_link "$LINENO"
10225 then :
10226 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10227 else $as_nop
10228 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10231 conftest$ac_exeext conftest.$ac_ext
10232 CFLAGS=$ac_wine_try_cflags_saved
10234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10235 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10236 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10237 then :
10238 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10239 else $as_nop
10240 wine_can_build_preloader=no
10243 if test "$wine_can_build_preloader" = "yes"
10244 then
10245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10246 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10247 if test ${ac_cv_cflags__Wl__no_pie+y}
10248 then :
10249 printf %s "(cached) " >&6
10250 else $as_nop
10251 ac_wine_try_cflags_saved=$CFLAGS
10252 CFLAGS="$CFLAGS -Wl,-no_pie"
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10255 int main(int argc, char **argv) { return 0; }
10256 _ACEOF
10257 if ac_fn_c_try_link "$LINENO"
10258 then :
10259 ac_cv_cflags__Wl__no_pie=yes
10260 else $as_nop
10261 ac_cv_cflags__Wl__no_pie=no
10263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10264 conftest$ac_exeext conftest.$ac_ext
10265 CFLAGS=$ac_wine_try_cflags_saved
10267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10268 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10269 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10270 then :
10271 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10273 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10274 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10275 else
10276 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10279 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10280 then
10281 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10284 if test "$ac_cv_header_Security_Security_h" = "yes"
10285 then
10286 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10289 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10290 then
10291 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10293 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10295 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10296 then
10297 OPENAL_LIBS="-framework OpenAL"
10300 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10302 ac_cv_lib_openal=yes
10304 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10305 then
10306 OPENCL_LIBS="-framework OpenCL"
10308 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10310 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10311 then
10312 ac_save_LIBS="$LIBS"
10313 LIBS="$LIBS $IOKIT_LIBS"
10314 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10315 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10316 then :
10317 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10321 LIBS="$ac_save_LIBS"
10324 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10325 then
10326 CARBON_LIBS="-framework Carbon"
10329 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10330 then
10331 METAL_LIBS="-framework Metal -framework QuartzCore"
10335 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10336 then
10337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10338 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10339 ac_ext=m
10340 ac_cpp='$OBJCPP $CPPFLAGS'
10341 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10342 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10343 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10347 #include <Metal/Metal.h>
10349 main (void)
10351 id<MTLDevice> device; device.registryID;
10353 return 0;
10355 _ACEOF
10356 if ac_fn_objc_try_compile "$LINENO"
10357 then :
10358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10359 printf "%s\n" "yes" >&6; }
10361 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10363 else $as_nop
10364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10365 printf "%s\n" "no" >&6; }
10367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10368 ac_ext=c
10369 ac_cpp='$CPP $CPPFLAGS'
10370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10376 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10377 then
10378 ac_save_LIBS="$LIBS"
10379 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10380 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10381 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10382 then :
10383 enable_winemac_drv=${enable_winemac_drv:-yes}
10386 LIBS="$ac_save_LIBS"
10389 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10390 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10392 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10394 WINELOADER_DEPENDS="wine_info.plist"
10396 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10399 linux-android*)
10401 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10403 DLLFLAGS="$DLLFLAGS -fPIC"
10404 LDDLLFLAGS="-fPIC"
10405 LDEXECFLAGS="-Wl,-pie"
10406 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10408 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10409 if test ${ac_cv_cflags__Wl__z_defs+y}
10410 then :
10411 printf %s "(cached) " >&6
10412 else $as_nop
10413 ac_wine_try_cflags_saved=$CFLAGS
10414 CFLAGS="$CFLAGS -Wl,-z,defs"
10415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10417 int main(int argc, char **argv) { return 0; }
10418 _ACEOF
10419 if ac_fn_c_try_link "$LINENO"
10420 then :
10421 ac_cv_cflags__Wl__z_defs=yes
10422 else $as_nop
10423 ac_cv_cflags__Wl__z_defs=no
10425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10426 conftest$ac_exeext conftest.$ac_ext
10427 CFLAGS=$ac_wine_try_cflags_saved
10429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10430 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10431 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10432 then :
10433 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10436 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10437 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10438 then :
10439 printf %s "(cached) " >&6
10440 else $as_nop
10441 ac_wine_try_cflags_saved=$CFLAGS
10442 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10444 /* end confdefs.h. */
10445 int main(int argc, char **argv) { return 0; }
10446 _ACEOF
10447 if ac_fn_c_try_link "$LINENO"
10448 then :
10449 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10450 else $as_nop
10451 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10454 conftest$ac_exeext conftest.$ac_ext
10455 CFLAGS=$ac_wine_try_cflags_saved
10457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10458 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10459 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10460 then :
10461 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10463 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10466 printf %s "checking for -lEGL... " >&6; }
10467 if test ${ac_cv_lib_soname_EGL+y}
10468 then :
10469 printf %s "(cached) " >&6
10470 else $as_nop
10471 ac_check_soname_save_LIBS=$LIBS
10472 LIBS="-lEGL $LIBS"
10473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10474 /* end confdefs.h. */
10476 /* Override any GCC internal prototype to avoid an error.
10477 Use char because int might match the return type of a GCC
10478 builtin and then its argument prototype would still apply. */
10479 char eglGetProcAddress ();
10481 main (void)
10483 return eglGetProcAddress ();
10485 return 0;
10487 _ACEOF
10488 if ac_fn_c_try_link "$LINENO"
10489 then :
10490 case "$LIBEXT" in
10491 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10492 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'` ;;
10493 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10494 if ${ac_cv_lib_soname_EGL:+false} :
10495 then :
10496 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10497 fi ;;
10498 esac
10499 else $as_nop
10500 ac_cv_lib_soname_EGL=
10502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10503 conftest$ac_exeext conftest.$ac_ext
10504 LIBS=$ac_check_soname_save_LIBS
10506 if ${ac_cv_lib_soname_EGL:+false} :
10507 then :
10508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10509 printf "%s\n" "not found" >&6; }
10511 else $as_nop
10512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10513 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10515 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10520 printf %s "checking for -lGLESv2... " >&6; }
10521 if test ${ac_cv_lib_soname_GLESv2+y}
10522 then :
10523 printf %s "(cached) " >&6
10524 else $as_nop
10525 ac_check_soname_save_LIBS=$LIBS
10526 LIBS="-lGLESv2 $LIBS"
10527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10528 /* end confdefs.h. */
10530 /* Override any GCC internal prototype to avoid an error.
10531 Use char because int might match the return type of a GCC
10532 builtin and then its argument prototype would still apply. */
10533 char glFlush ();
10535 main (void)
10537 return glFlush ();
10539 return 0;
10541 _ACEOF
10542 if ac_fn_c_try_link "$LINENO"
10543 then :
10544 case "$LIBEXT" in
10545 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10546 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'` ;;
10547 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10548 if ${ac_cv_lib_soname_GLESv2:+false} :
10549 then :
10550 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10551 fi ;;
10552 esac
10553 else $as_nop
10554 ac_cv_lib_soname_GLESv2=
10556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10557 conftest$ac_exeext conftest.$ac_ext
10558 LIBS=$ac_check_soname_save_LIBS
10560 if ${ac_cv_lib_soname_GLESv2:+false} :
10561 then :
10562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10563 printf "%s\n" "not found" >&6; }
10565 else $as_nop
10566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10567 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10569 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10574 if test "x$exec_prefix" = xNONE
10575 then
10576 case $host_cpu in
10577 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10578 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10579 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10580 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10581 esac
10587 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10589 case $host_cpu in
10590 *i[3456789]86*)
10591 DLLFLAGS="$DLLFLAGS -fno-PIC"
10592 LDDLLFLAGS="-fno-PIC"
10593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10594 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10595 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10596 then :
10597 printf %s "(cached) " >&6
10598 else $as_nop
10599 ac_wine_try_cflags_saved=$CFLAGS
10600 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10602 /* end confdefs.h. */
10603 int main(int argc, char **argv) { return 0; }
10604 _ACEOF
10605 if ac_fn_c_try_link "$LINENO"
10606 then :
10607 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10608 else $as_nop
10609 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10612 conftest$ac_exeext conftest.$ac_ext
10613 CFLAGS=$ac_wine_try_cflags_saved
10615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10616 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10617 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10618 then :
10619 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10623 DLLFLAGS="$DLLFLAGS -fPIC"
10624 LDDLLFLAGS="-fPIC" ;;
10625 esac
10626 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10628 echo '{ global: *; };' >conftest.map
10629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10630 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10631 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10632 then :
10633 printf %s "(cached) " >&6
10634 else $as_nop
10635 ac_wine_try_cflags_saved=$CFLAGS
10636 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10638 /* end confdefs.h. */
10639 int main(int argc, char **argv) { return 0; }
10640 _ACEOF
10641 if ac_fn_c_try_link "$LINENO"
10642 then :
10643 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10644 else $as_nop
10645 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10648 conftest$ac_exeext conftest.$ac_ext
10649 CFLAGS=$ac_wine_try_cflags_saved
10651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10652 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10653 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10654 then :
10655 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10657 rm -f conftest.map
10659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10660 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10661 if test ${ac_cv_cflags__Wl__z_defs+y}
10662 then :
10663 printf %s "(cached) " >&6
10664 else $as_nop
10665 ac_wine_try_cflags_saved=$CFLAGS
10666 CFLAGS="$CFLAGS -Wl,-z,defs"
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10669 int main(int argc, char **argv) { return 0; }
10670 _ACEOF
10671 if ac_fn_c_try_link "$LINENO"
10672 then :
10673 ac_cv_cflags__Wl__z_defs=yes
10674 else $as_nop
10675 ac_cv_cflags__Wl__z_defs=no
10677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10678 conftest$ac_exeext conftest.$ac_ext
10679 CFLAGS=$ac_wine_try_cflags_saved
10681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10682 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10683 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10684 then :
10685 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10688 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10689 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10690 then :
10691 printf %s "(cached) " >&6
10692 else $as_nop
10693 ac_wine_try_cflags_saved=$CFLAGS
10694 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10696 /* end confdefs.h. */
10697 int main(int argc, char **argv) { return 0; }
10698 _ACEOF
10699 if ac_fn_c_try_link "$LINENO"
10700 then :
10701 ac_cv_cflags__Wl___export_dynamic=yes
10702 else $as_nop
10703 ac_cv_cflags__Wl___export_dynamic=no
10705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10706 conftest$ac_exeext conftest.$ac_ext
10707 CFLAGS=$ac_wine_try_cflags_saved
10709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10710 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10711 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10712 then :
10713 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10715 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10717 case $host_cpu in
10718 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10720 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10721 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10722 then :
10723 printf %s "(cached) " >&6
10724 else $as_nop
10725 ac_wine_try_cflags_saved=$CFLAGS
10726 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10729 int main(int argc, char **argv) { return 0; }
10730 _ACEOF
10731 if ac_fn_c_try_link "$LINENO"
10732 then :
10733 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10734 else $as_nop
10735 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10738 conftest$ac_exeext conftest.$ac_ext
10739 CFLAGS=$ac_wine_try_cflags_saved
10741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10742 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10743 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10744 then :
10745 case $host_os in
10746 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10747 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10748 esac
10749 else $as_nop
10750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10751 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10752 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10753 then :
10754 printf %s "(cached) " >&6
10755 else $as_nop
10756 ac_wine_try_cflags_saved=$CFLAGS
10757 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10760 int main(int argc, char **argv) { return 0; }
10761 _ACEOF
10762 if ac_fn_c_try_link "$LINENO"
10763 then :
10764 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10765 else $as_nop
10766 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10769 conftest$ac_exeext conftest.$ac_ext
10770 CFLAGS=$ac_wine_try_cflags_saved
10772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10773 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10774 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10775 then :
10776 case $host_os in
10777 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10778 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10779 esac
10781 # Extract the first word of "prelink", so it can be a program name with args.
10782 set dummy prelink; ac_word=$2
10783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10784 printf %s "checking for $ac_word... " >&6; }
10785 if test ${ac_cv_path_PRELINK+y}
10786 then :
10787 printf %s "(cached) " >&6
10788 else $as_nop
10789 case $PRELINK in
10790 [\\/]* | ?:[\\/]*)
10791 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10795 for as_dir in /sbin /usr/sbin $PATH
10797 IFS=$as_save_IFS
10798 case $as_dir in #(((
10799 '') as_dir=./ ;;
10800 */) ;;
10801 *) as_dir=$as_dir/ ;;
10802 esac
10803 for ac_exec_ext in '' $ac_executable_extensions; do
10804 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10805 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10807 break 2
10809 done
10810 done
10811 IFS=$as_save_IFS
10813 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10815 esac
10817 PRELINK=$ac_cv_path_PRELINK
10818 if test -n "$PRELINK"; then
10819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10820 printf "%s\n" "$PRELINK" >&6; }
10821 else
10822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10823 printf "%s\n" "no" >&6; }
10827 if test "x$PRELINK" = xfalse
10828 then
10829 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10833 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10834 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10835 then :
10836 printf %s "(cached) " >&6
10837 else $as_nop
10838 ac_wine_try_cflags_saved=$CFLAGS
10839 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10841 /* end confdefs.h. */
10842 int main(int argc, char **argv) { return 0; }
10843 _ACEOF
10844 if ac_fn_c_try_link "$LINENO"
10845 then :
10846 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10847 else $as_nop
10848 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10851 conftest$ac_exeext conftest.$ac_ext
10852 CFLAGS=$ac_wine_try_cflags_saved
10854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10855 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10856 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10857 then :
10858 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10861 esac
10862 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10864 LIBWINE_DEPENDS="wine.map"
10866 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10868 esac
10870 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10871 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10872 enable_winemac_drv=${enable_winemac_drv:-no}
10873 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
10876 if test "x$with_mingw" != xno
10877 then
10878 case "x$with_mingw" in
10879 x|xyes) case "$host_cpu" in
10880 aarch64*)
10881 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10882 arm*)
10883 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10884 i[3456789]86*)
10885 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
10886 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10887 mingw32-gcc clang" ;;
10888 x86_64)
10889 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
10890 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10892 ac_prefix_list="" ;;
10893 esac
10894 for ac_prog in $ac_prefix_list
10896 # Extract the first word of "$ac_prog", so it can be a program name with args.
10897 set dummy $ac_prog; ac_word=$2
10898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10899 printf %s "checking for $ac_word... " >&6; }
10900 if test ${ac_cv_prog_CROSSCC+y}
10901 then :
10902 printf %s "(cached) " >&6
10903 else $as_nop
10904 if test -n "$CROSSCC"; then
10905 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10906 else
10907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10908 for as_dir in $PATH
10910 IFS=$as_save_IFS
10911 case $as_dir in #(((
10912 '') as_dir=./ ;;
10913 */) ;;
10914 *) as_dir=$as_dir/ ;;
10915 esac
10916 for ac_exec_ext in '' $ac_executable_extensions; do
10917 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10918 ac_cv_prog_CROSSCC="$ac_prog"
10919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10920 break 2
10922 done
10923 done
10924 IFS=$as_save_IFS
10928 CROSSCC=$ac_cv_prog_CROSSCC
10929 if test -n "$CROSSCC"; then
10930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10931 printf "%s\n" "$CROSSCC" >&6; }
10932 else
10933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10934 printf "%s\n" "no" >&6; }
10938 test -n "$CROSSCC" && break
10939 done
10940 test -n "$CROSSCC" || CROSSCC="false"
10942 *) CROSSCC=$with_mingw ;;
10943 esac
10944 if test "$CROSSCC" != "false"
10945 then
10946 ac_save_CC="$CC"
10947 saved_CFLAGS=$CFLAGS
10948 saved_LDFLAGS=$LDFLAGS
10949 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10951 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10955 CC="$CROSSCC"
10956 CFLAGS=$CROSSCFLAGS
10957 LDFLAGS=$CROSSLDFLAGS
10958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10959 printf %s "checking whether $CROSSCC works... " >&6; }
10960 if test ${wine_cv_crosscc+y}
10961 then :
10962 printf %s "(cached) " >&6
10963 else $as_nop
10964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10968 main (void)
10972 return 0;
10974 _ACEOF
10975 if ac_fn_c_try_compile "$LINENO"
10976 then :
10977 wine_cv_crosscc=yes
10978 else $as_nop
10979 wine_cv_crosscc=no
10981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10984 printf "%s\n" "$wine_cv_crosscc" >&6; }
10985 if test $wine_cv_crosscc = yes
10986 then
10987 set x $CROSSCC
10988 shift
10989 while test $# -ge 1
10991 case "$1" in
10992 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10993 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10994 esac
10995 shift
10996 done
10998 llvm_target=$CROSSTARGET
10999 llvm_cflags="-fuse-ld=lld"
11000 if test -z "$llvm_target"
11001 then
11002 case $host_cpu in
11003 *i[3456789]86*) llvm_target=i686-windows ;;
11004 *) llvm_target=$host_cpu-windows ;;
11005 esac
11007 case $llvm_target in
11008 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
11009 esac
11010 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
11011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
11012 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
11013 if eval test \${$as_ac_var+y}
11014 then :
11015 printf %s "(cached) " >&6
11016 else $as_nop
11017 ac_wine_try_cflags_saved=$CFLAGS
11018 ac_wine_try_cflags_saved_cc=$CC
11019 ac_wine_try_cflags_saved_exeext=$ac_exeext
11020 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
11021 CC="$CROSSCC"
11022 ac_exeext=".exe"
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11025 int __cdecl mainCRTStartup(void) { return 0; }
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"
11028 then :
11029 eval "$as_ac_var=yes"
11030 else $as_nop
11031 eval "$as_ac_var=no"
11033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11034 conftest$ac_exeext conftest.$ac_ext
11035 CFLAGS=$ac_wine_try_cflags_saved
11036 CC=$ac_wine_try_cflags_saved_cc
11037 ac_exeext=$ac_wine_try_cflags_saved_exeext
11039 eval ac_res=\$$as_ac_var
11040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11041 printf "%s\n" "$ac_res" >&6; }
11042 if eval test \"x\$"$as_ac_var"\" = x"yes"
11043 then :
11044 CROSSTARGET=$llvm_target
11045 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
11046 DELAYLOADFLAG="-Wl,-delayload,"
11048 CFLAGS="$CFLAGS $llvm_cflags"
11051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
11052 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
11053 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
11054 then :
11055 printf %s "(cached) " >&6
11056 else $as_nop
11057 ac_wine_try_cflags_saved=$CFLAGS
11058 ac_wine_try_cflags_saved_cc=$CC
11059 ac_wine_try_cflags_saved_exeext=$ac_exeext
11060 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
11061 CC="$CROSSCC"
11062 ac_exeext=".exe"
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11065 int __cdecl mainCRTStartup(void) { return 0; }
11066 _ACEOF
11067 if ac_fn_c_try_link "$LINENO"
11068 then :
11069 ac_cv_crosscflags__fno_strict_aliasing=yes
11070 else $as_nop
11071 ac_cv_crosscflags__fno_strict_aliasing=no
11073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11074 conftest$ac_exeext conftest.$ac_ext
11075 CFLAGS=$ac_wine_try_cflags_saved
11076 CC=$ac_wine_try_cflags_saved_cc
11077 ac_exeext=$ac_wine_try_cflags_saved_exeext
11079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
11080 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
11081 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
11082 then :
11083 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
11085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
11086 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
11087 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
11088 then :
11089 printf %s "(cached) " >&6
11090 else $as_nop
11091 ac_wine_try_cflags_saved=$CFLAGS
11092 ac_wine_try_cflags_saved_cc=$CC
11093 ac_wine_try_cflags_saved_exeext=$ac_exeext
11094 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11095 CC="$CROSSCC"
11096 ac_exeext=".exe"
11097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11098 /* end confdefs.h. */
11099 int __cdecl mainCRTStartup(void) { return 0; }
11100 _ACEOF
11101 if ac_fn_c_try_link "$LINENO"
11102 then :
11103 ac_cv_crosscflags__Werror_unknown_warning_option=yes
11104 else $as_nop
11105 ac_cv_crosscflags__Werror_unknown_warning_option=no
11107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11108 conftest$ac_exeext conftest.$ac_ext
11109 CFLAGS=$ac_wine_try_cflags_saved
11110 CC=$ac_wine_try_cflags_saved_cc
11111 ac_exeext=$ac_wine_try_cflags_saved_exeext
11113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
11114 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
11115 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
11116 then :
11117 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
11120 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
11121 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
11122 then :
11123 printf %s "(cached) " >&6
11124 else $as_nop
11125 ac_wine_try_cflags_saved=$CFLAGS
11126 ac_wine_try_cflags_saved_cc=$CC
11127 ac_wine_try_cflags_saved_exeext=$ac_exeext
11128 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11129 CC="$CROSSCC"
11130 ac_exeext=".exe"
11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11133 int __cdecl mainCRTStartup(void) { return 0; }
11134 _ACEOF
11135 if ac_fn_c_try_link "$LINENO"
11136 then :
11137 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
11138 else $as_nop
11139 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
11141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11142 conftest$ac_exeext conftest.$ac_ext
11143 CFLAGS=$ac_wine_try_cflags_saved
11144 CC=$ac_wine_try_cflags_saved_cc
11145 ac_exeext=$ac_wine_try_cflags_saved_exeext
11147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
11148 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
11149 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
11150 then :
11151 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
11154 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
11155 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
11156 then :
11157 printf %s "(cached) " >&6
11158 else $as_nop
11159 ac_wine_try_cflags_saved=$CFLAGS
11160 ac_wine_try_cflags_saved_cc=$CC
11161 ac_wine_try_cflags_saved_exeext=$ac_exeext
11162 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11163 CC="$CROSSCC"
11164 ac_exeext=".exe"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11167 int __cdecl mainCRTStartup(void) { return 0; }
11168 _ACEOF
11169 if ac_fn_c_try_link "$LINENO"
11170 then :
11171 ac_cv_crosscflags__Wdeclaration_after_statement=yes
11172 else $as_nop
11173 ac_cv_crosscflags__Wdeclaration_after_statement=no
11175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11176 conftest$ac_exeext conftest.$ac_ext
11177 CFLAGS=$ac_wine_try_cflags_saved
11178 CC=$ac_wine_try_cflags_saved_cc
11179 ac_exeext=$ac_wine_try_cflags_saved_exeext
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
11182 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
11183 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
11184 then :
11185 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
11187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
11188 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
11189 if test ${ac_cv_crosscflags__Wempty_body+y}
11190 then :
11191 printf %s "(cached) " >&6
11192 else $as_nop
11193 ac_wine_try_cflags_saved=$CFLAGS
11194 ac_wine_try_cflags_saved_cc=$CC
11195 ac_wine_try_cflags_saved_exeext=$ac_exeext
11196 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11197 CC="$CROSSCC"
11198 ac_exeext=".exe"
11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 /* end confdefs.h. */
11201 int __cdecl mainCRTStartup(void) { return 0; }
11202 _ACEOF
11203 if ac_fn_c_try_link "$LINENO"
11204 then :
11205 ac_cv_crosscflags__Wempty_body=yes
11206 else $as_nop
11207 ac_cv_crosscflags__Wempty_body=no
11209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11210 conftest$ac_exeext conftest.$ac_ext
11211 CFLAGS=$ac_wine_try_cflags_saved
11212 CC=$ac_wine_try_cflags_saved_cc
11213 ac_exeext=$ac_wine_try_cflags_saved_exeext
11215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11216 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11217 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11218 then :
11219 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11222 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11223 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11224 then :
11225 printf %s "(cached) " >&6
11226 else $as_nop
11227 ac_wine_try_cflags_saved=$CFLAGS
11228 ac_wine_try_cflags_saved_cc=$CC
11229 ac_wine_try_cflags_saved_exeext=$ac_exeext
11230 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11231 CC="$CROSSCC"
11232 ac_exeext=".exe"
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11235 int __cdecl mainCRTStartup(void) { return 0; }
11236 _ACEOF
11237 if ac_fn_c_try_link "$LINENO"
11238 then :
11239 ac_cv_crosscflags__Wignored_qualifiers=yes
11240 else $as_nop
11241 ac_cv_crosscflags__Wignored_qualifiers=no
11243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11244 conftest$ac_exeext conftest.$ac_ext
11245 CFLAGS=$ac_wine_try_cflags_saved
11246 CC=$ac_wine_try_cflags_saved_cc
11247 ac_exeext=$ac_wine_try_cflags_saved_exeext
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11250 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11251 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11252 then :
11253 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11256 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11257 if test ${ac_cv_crosscflags__Winit_self+y}
11258 then :
11259 printf %s "(cached) " >&6
11260 else $as_nop
11261 ac_wine_try_cflags_saved=$CFLAGS
11262 ac_wine_try_cflags_saved_cc=$CC
11263 ac_wine_try_cflags_saved_exeext=$ac_exeext
11264 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11265 CC="$CROSSCC"
11266 ac_exeext=".exe"
11267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11268 /* end confdefs.h. */
11269 int __cdecl mainCRTStartup(void) { return 0; }
11270 _ACEOF
11271 if ac_fn_c_try_link "$LINENO"
11272 then :
11273 ac_cv_crosscflags__Winit_self=yes
11274 else $as_nop
11275 ac_cv_crosscflags__Winit_self=no
11277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11278 conftest$ac_exeext conftest.$ac_ext
11279 CFLAGS=$ac_wine_try_cflags_saved
11280 CC=$ac_wine_try_cflags_saved_cc
11281 ac_exeext=$ac_wine_try_cflags_saved_exeext
11283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11284 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11285 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11286 then :
11287 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11290 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11291 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11292 then :
11293 printf %s "(cached) " >&6
11294 else $as_nop
11295 ac_wine_try_cflags_saved=$CFLAGS
11296 ac_wine_try_cflags_saved_cc=$CC
11297 ac_wine_try_cflags_saved_exeext=$ac_exeext
11298 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11299 CC="$CROSSCC"
11300 ac_exeext=".exe"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11303 int __cdecl mainCRTStartup(void) { return 0; }
11304 _ACEOF
11305 if ac_fn_c_try_link "$LINENO"
11306 then :
11307 ac_cv_crosscflags__Wpacked_not_aligned=yes
11308 else $as_nop
11309 ac_cv_crosscflags__Wpacked_not_aligned=no
11311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11312 conftest$ac_exeext conftest.$ac_ext
11313 CFLAGS=$ac_wine_try_cflags_saved
11314 CC=$ac_wine_try_cflags_saved_cc
11315 ac_exeext=$ac_wine_try_cflags_saved_exeext
11317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11318 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11319 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11320 then :
11321 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11324 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11325 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11326 then :
11327 printf %s "(cached) " >&6
11328 else $as_nop
11329 ac_wine_try_cflags_saved=$CFLAGS
11330 ac_wine_try_cflags_saved_cc=$CC
11331 ac_wine_try_cflags_saved_exeext=$ac_exeext
11332 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11333 CC="$CROSSCC"
11334 ac_exeext=".exe"
11335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h. */
11337 int __cdecl mainCRTStartup(void) { return 0; }
11338 _ACEOF
11339 if ac_fn_c_try_link "$LINENO"
11340 then :
11341 ac_cv_crosscflags__Wpragma_pack=yes
11342 else $as_nop
11343 ac_cv_crosscflags__Wpragma_pack=no
11345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11346 conftest$ac_exeext conftest.$ac_ext
11347 CFLAGS=$ac_wine_try_cflags_saved
11348 CC=$ac_wine_try_cflags_saved_cc
11349 ac_exeext=$ac_wine_try_cflags_saved_exeext
11351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11352 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11353 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11354 then :
11355 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11358 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11359 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11360 then :
11361 printf %s "(cached) " >&6
11362 else $as_nop
11363 ac_wine_try_cflags_saved=$CFLAGS
11364 ac_wine_try_cflags_saved_cc=$CC
11365 ac_wine_try_cflags_saved_exeext=$ac_exeext
11366 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11367 CC="$CROSSCC"
11368 ac_exeext=".exe"
11369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11371 int __cdecl mainCRTStartup(void) { return 0; }
11372 _ACEOF
11373 if ac_fn_c_try_link "$LINENO"
11374 then :
11375 ac_cv_crosscflags__Wshift_overflow_2=yes
11376 else $as_nop
11377 ac_cv_crosscflags__Wshift_overflow_2=no
11379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11380 conftest$ac_exeext conftest.$ac_ext
11381 CFLAGS=$ac_wine_try_cflags_saved
11382 CC=$ac_wine_try_cflags_saved_cc
11383 ac_exeext=$ac_wine_try_cflags_saved_exeext
11385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11386 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11387 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11388 then :
11389 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11392 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11393 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11394 then :
11395 printf %s "(cached) " >&6
11396 else $as_nop
11397 ac_wine_try_cflags_saved=$CFLAGS
11398 ac_wine_try_cflags_saved_cc=$CC
11399 ac_wine_try_cflags_saved_exeext=$ac_exeext
11400 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11401 CC="$CROSSCC"
11402 ac_exeext=".exe"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11405 int __cdecl mainCRTStartup(void) { return 0; }
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"
11408 then :
11409 ac_cv_crosscflags__Wstrict_prototypes=yes
11410 else $as_nop
11411 ac_cv_crosscflags__Wstrict_prototypes=no
11413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11414 conftest$ac_exeext conftest.$ac_ext
11415 CFLAGS=$ac_wine_try_cflags_saved
11416 CC=$ac_wine_try_cflags_saved_cc
11417 ac_exeext=$ac_wine_try_cflags_saved_exeext
11419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11420 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11421 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11422 then :
11423 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11426 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11427 if test ${ac_cv_crosscflags__Wtype_limits+y}
11428 then :
11429 printf %s "(cached) " >&6
11430 else $as_nop
11431 ac_wine_try_cflags_saved=$CFLAGS
11432 ac_wine_try_cflags_saved_cc=$CC
11433 ac_wine_try_cflags_saved_exeext=$ac_exeext
11434 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11435 CC="$CROSSCC"
11436 ac_exeext=".exe"
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11439 int __cdecl mainCRTStartup(void) { return 0; }
11440 _ACEOF
11441 if ac_fn_c_try_link "$LINENO"
11442 then :
11443 ac_cv_crosscflags__Wtype_limits=yes
11444 else $as_nop
11445 ac_cv_crosscflags__Wtype_limits=no
11447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11448 conftest$ac_exeext conftest.$ac_ext
11449 CFLAGS=$ac_wine_try_cflags_saved
11450 CC=$ac_wine_try_cflags_saved_cc
11451 ac_exeext=$ac_wine_try_cflags_saved_exeext
11453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11454 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11455 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11456 then :
11457 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11460 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11461 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11462 then :
11463 printf %s "(cached) " >&6
11464 else $as_nop
11465 ac_wine_try_cflags_saved=$CFLAGS
11466 ac_wine_try_cflags_saved_cc=$CC
11467 ac_wine_try_cflags_saved_exeext=$ac_exeext
11468 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11469 CC="$CROSSCC"
11470 ac_exeext=".exe"
11471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11472 /* end confdefs.h. */
11473 int __cdecl mainCRTStartup(void) { return 0; }
11474 _ACEOF
11475 if ac_fn_c_try_link "$LINENO"
11476 then :
11477 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11478 else $as_nop
11479 ac_cv_crosscflags__Wunused_but_set_parameter=no
11481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11482 conftest$ac_exeext conftest.$ac_ext
11483 CFLAGS=$ac_wine_try_cflags_saved
11484 CC=$ac_wine_try_cflags_saved_cc
11485 ac_exeext=$ac_wine_try_cflags_saved_exeext
11487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11488 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11489 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11490 then :
11491 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11494 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11495 if test ${ac_cv_crosscflags__Wvla+y}
11496 then :
11497 printf %s "(cached) " >&6
11498 else $as_nop
11499 ac_wine_try_cflags_saved=$CFLAGS
11500 ac_wine_try_cflags_saved_cc=$CC
11501 ac_wine_try_cflags_saved_exeext=$ac_exeext
11502 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11503 CC="$CROSSCC"
11504 ac_exeext=".exe"
11505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11507 int __cdecl mainCRTStartup(void) { return 0; }
11508 _ACEOF
11509 if ac_fn_c_try_link "$LINENO"
11510 then :
11511 ac_cv_crosscflags__Wvla=yes
11512 else $as_nop
11513 ac_cv_crosscflags__Wvla=no
11515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11516 conftest$ac_exeext conftest.$ac_ext
11517 CFLAGS=$ac_wine_try_cflags_saved
11518 CC=$ac_wine_try_cflags_saved_cc
11519 ac_exeext=$ac_wine_try_cflags_saved_exeext
11521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11522 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11523 if test "x$ac_cv_crosscflags__Wvla" = xyes
11524 then :
11525 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11528 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11529 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11530 then :
11531 printf %s "(cached) " >&6
11532 else $as_nop
11533 ac_wine_try_cflags_saved=$CFLAGS
11534 ac_wine_try_cflags_saved_cc=$CC
11535 ac_wine_try_cflags_saved_exeext=$ac_exeext
11536 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11537 CC="$CROSSCC"
11538 ac_exeext=".exe"
11539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11541 int __cdecl mainCRTStartup(void) { return 0; }
11542 _ACEOF
11543 if ac_fn_c_try_link "$LINENO"
11544 then :
11545 ac_cv_crosscflags__Wwrite_strings=yes
11546 else $as_nop
11547 ac_cv_crosscflags__Wwrite_strings=no
11549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11550 conftest$ac_exeext conftest.$ac_ext
11551 CFLAGS=$ac_wine_try_cflags_saved
11552 CC=$ac_wine_try_cflags_saved_cc
11553 ac_exeext=$ac_wine_try_cflags_saved_exeext
11555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11556 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11557 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11558 then :
11559 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11562 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11563 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11564 then :
11565 printf %s "(cached) " >&6
11566 else $as_nop
11567 ac_wine_try_cflags_saved=$CFLAGS
11568 ac_wine_try_cflags_saved_cc=$CC
11569 ac_wine_try_cflags_saved_exeext=$ac_exeext
11570 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11571 CC="$CROSSCC"
11572 ac_exeext=".exe"
11573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11575 int __cdecl mainCRTStartup(void) { return 0; }
11576 _ACEOF
11577 if ac_fn_c_try_link "$LINENO"
11578 then :
11579 ac_cv_crosscflags__Wpointer_arith=yes
11580 else $as_nop
11581 ac_cv_crosscflags__Wpointer_arith=no
11583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11584 conftest$ac_exeext conftest.$ac_ext
11585 CFLAGS=$ac_wine_try_cflags_saved
11586 CC=$ac_wine_try_cflags_saved_cc
11587 ac_exeext=$ac_wine_try_cflags_saved_exeext
11589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11590 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11591 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11592 then :
11593 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11596 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11597 if test ${ac_cv_crosscflags__Wlogical_op+y}
11598 then :
11599 printf %s "(cached) " >&6
11600 else $as_nop
11601 ac_wine_try_cflags_saved=$CFLAGS
11602 ac_wine_try_cflags_saved_cc=$CC
11603 ac_wine_try_cflags_saved_exeext=$ac_exeext
11604 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11605 CC="$CROSSCC"
11606 ac_exeext=".exe"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11609 int __cdecl mainCRTStartup(void) { return 0; }
11610 _ACEOF
11611 if ac_fn_c_try_link "$LINENO"
11612 then :
11613 ac_cv_crosscflags__Wlogical_op=yes
11614 else $as_nop
11615 ac_cv_crosscflags__Wlogical_op=no
11617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11618 conftest$ac_exeext conftest.$ac_ext
11619 CFLAGS=$ac_wine_try_cflags_saved
11620 CC=$ac_wine_try_cflags_saved_cc
11621 ac_exeext=$ac_wine_try_cflags_saved_exeext
11623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11624 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11625 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11626 then :
11627 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11630 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11631 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11632 then :
11633 printf %s "(cached) " >&6
11634 else $as_nop
11635 ac_wine_try_cflags_saved=$CFLAGS
11636 ac_wine_try_cflags_saved_cc=$CC
11637 ac_wine_try_cflags_saved_exeext=$ac_exeext
11638 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11639 CC="$CROSSCC"
11640 ac_exeext=".exe"
11641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11642 /* end confdefs.h. */
11643 int __cdecl mainCRTStartup(void) { return 0; }
11644 _ACEOF
11645 if ac_fn_c_try_link "$LINENO"
11646 then :
11647 ac_cv_crosscflags__Wabsolute_value=yes
11648 else $as_nop
11649 ac_cv_crosscflags__Wabsolute_value=no
11651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11652 conftest$ac_exeext conftest.$ac_ext
11653 CFLAGS=$ac_wine_try_cflags_saved
11654 CC=$ac_wine_try_cflags_saved_cc
11655 ac_exeext=$ac_wine_try_cflags_saved_exeext
11657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11658 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11659 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11660 then :
11661 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11664 case $host_cpu in
11665 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11666 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11667 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11668 then :
11669 printf %s "(cached) " >&6
11670 else $as_nop
11671 ac_wine_try_cflags_saved=$CFLAGS
11672 ac_wine_try_cflags_saved_cc=$CC
11673 ac_wine_try_cflags_saved_exeext=$ac_exeext
11674 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11675 CC="$CROSSCC"
11676 ac_exeext=".exe"
11677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11679 int __cdecl mainCRTStartup(void) { return 0; }
11680 _ACEOF
11681 if ac_fn_c_try_link "$LINENO"
11682 then :
11683 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11684 else $as_nop
11685 ac_cv_crosscflags__fno_omit_frame_pointer=no
11687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11688 conftest$ac_exeext conftest.$ac_ext
11689 CFLAGS=$ac_wine_try_cflags_saved
11690 CC=$ac_wine_try_cflags_saved_cc
11691 ac_exeext=$ac_wine_try_cflags_saved_exeext
11693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11694 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11695 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11696 then :
11697 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11698 fi ;;
11699 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11700 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11701 if test ${ac_cv_crosscflags__Wno_format+y}
11702 then :
11703 printf %s "(cached) " >&6
11704 else $as_nop
11705 ac_wine_try_cflags_saved=$CFLAGS
11706 ac_wine_try_cflags_saved_cc=$CC
11707 ac_wine_try_cflags_saved_exeext=$ac_exeext
11708 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11709 CC="$CROSSCC"
11710 ac_exeext=".exe"
11711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11712 /* end confdefs.h. */
11713 int __cdecl mainCRTStartup(void) { return 0; }
11714 _ACEOF
11715 if ac_fn_c_try_link "$LINENO"
11716 then :
11717 ac_cv_crosscflags__Wno_format=yes
11718 else $as_nop
11719 ac_cv_crosscflags__Wno_format=no
11721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11722 conftest$ac_exeext conftest.$ac_ext
11723 CFLAGS=$ac_wine_try_cflags_saved
11724 CC=$ac_wine_try_cflags_saved_cc
11725 ac_exeext=$ac_wine_try_cflags_saved_exeext
11727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11728 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11729 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11730 then :
11731 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11734 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11735 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11736 then :
11737 printf %s "(cached) " >&6
11738 else $as_nop
11739 ac_wine_try_cflags_saved=$CFLAGS
11740 ac_wine_try_cflags_saved_cc=$CC
11741 ac_wine_try_cflags_saved_exeext=$ac_exeext
11742 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11743 CC="$CROSSCC"
11744 ac_exeext=".exe"
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11747 int __cdecl mainCRTStartup(void) { return 0; }
11748 _ACEOF
11749 if ac_fn_c_try_link "$LINENO"
11750 then :
11751 ac_cv_crosscflags__Wformat_overflow=yes
11752 else $as_nop
11753 ac_cv_crosscflags__Wformat_overflow=no
11755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11756 conftest$ac_exeext conftest.$ac_ext
11757 CFLAGS=$ac_wine_try_cflags_saved
11758 CC=$ac_wine_try_cflags_saved_cc
11759 ac_exeext=$ac_wine_try_cflags_saved_exeext
11761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11762 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11763 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11764 then :
11765 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11768 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11769 if test ${ac_cv_crosscflags__Wnonnull+y}
11770 then :
11771 printf %s "(cached) " >&6
11772 else $as_nop
11773 ac_wine_try_cflags_saved=$CFLAGS
11774 ac_wine_try_cflags_saved_cc=$CC
11775 ac_wine_try_cflags_saved_exeext=$ac_exeext
11776 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11777 CC="$CROSSCC"
11778 ac_exeext=".exe"
11779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11780 /* end confdefs.h. */
11781 int __cdecl mainCRTStartup(void) { return 0; }
11782 _ACEOF
11783 if ac_fn_c_try_link "$LINENO"
11784 then :
11785 ac_cv_crosscflags__Wnonnull=yes
11786 else $as_nop
11787 ac_cv_crosscflags__Wnonnull=no
11789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11790 conftest$ac_exeext conftest.$ac_ext
11791 CFLAGS=$ac_wine_try_cflags_saved
11792 CC=$ac_wine_try_cflags_saved_cc
11793 ac_exeext=$ac_wine_try_cflags_saved_exeext
11795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11796 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11797 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11798 then :
11799 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11802 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11803 if test ${ac_cv_crosscflags__mcx16+y}
11804 then :
11805 printf %s "(cached) " >&6
11806 else $as_nop
11807 ac_wine_try_cflags_saved=$CFLAGS
11808 ac_wine_try_cflags_saved_cc=$CC
11809 ac_wine_try_cflags_saved_exeext=$ac_exeext
11810 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11811 CC="$CROSSCC"
11812 ac_exeext=".exe"
11813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11815 int __cdecl mainCRTStartup(void) { return 0; }
11816 _ACEOF
11817 if ac_fn_c_try_link "$LINENO"
11818 then :
11819 ac_cv_crosscflags__mcx16=yes
11820 else $as_nop
11821 ac_cv_crosscflags__mcx16=no
11823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11824 conftest$ac_exeext conftest.$ac_ext
11825 CFLAGS=$ac_wine_try_cflags_saved
11826 CC=$ac_wine_try_cflags_saved_cc
11827 ac_exeext=$ac_wine_try_cflags_saved_exeext
11829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11830 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11831 if test "x$ac_cv_crosscflags__mcx16" = xyes
11832 then :
11833 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11834 fi ;;
11835 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11836 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11837 if test ${ac_cv_crosscflags__Wno_format+y}
11838 then :
11839 printf %s "(cached) " >&6
11840 else $as_nop
11841 ac_wine_try_cflags_saved=$CFLAGS
11842 ac_wine_try_cflags_saved_cc=$CC
11843 ac_wine_try_cflags_saved_exeext=$ac_exeext
11844 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11845 CC="$CROSSCC"
11846 ac_exeext=".exe"
11847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11849 int __cdecl mainCRTStartup(void) { return 0; }
11850 _ACEOF
11851 if ac_fn_c_try_link "$LINENO"
11852 then :
11853 ac_cv_crosscflags__Wno_format=yes
11854 else $as_nop
11855 ac_cv_crosscflags__Wno_format=no
11857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11858 conftest$ac_exeext conftest.$ac_ext
11859 CFLAGS=$ac_wine_try_cflags_saved
11860 CC=$ac_wine_try_cflags_saved_cc
11861 ac_exeext=$ac_wine_try_cflags_saved_exeext
11863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11864 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11865 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11866 then :
11867 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11868 fi ;;
11869 esac
11872 if test -z "$CROSSDEBUG"
11873 then
11874 for ac_flag in $CROSSCFLAGS; do
11875 case $ac_flag in
11876 -gdwarf*) CROSSDEBUG=dwarf ;;
11877 -gcodeview) CROSSDEBUG=pdb ;;
11878 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11879 esac
11880 done
11883 ac_debug_format_seen=""
11884 for ac_flag in $CROSSCFLAGS; do
11885 case $ac_flag in
11886 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11887 esac
11888 done
11889 if test "x$ac_debug_format_seen" = x
11890 then
11891 case $CROSSDEBUG in
11892 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11893 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11894 if test ${ac_cv_crosscflags__gdwarf_4+y}
11895 then :
11896 printf %s "(cached) " >&6
11897 else $as_nop
11898 ac_wine_try_cflags_saved=$CFLAGS
11899 ac_wine_try_cflags_saved_cc=$CC
11900 ac_wine_try_cflags_saved_exeext=$ac_exeext
11901 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11902 CC="$CROSSCC"
11903 ac_exeext=".exe"
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11906 int __cdecl mainCRTStartup(void) { return 0; }
11907 _ACEOF
11908 if ac_fn_c_try_link "$LINENO"
11909 then :
11910 ac_cv_crosscflags__gdwarf_4=yes
11911 else $as_nop
11912 ac_cv_crosscflags__gdwarf_4=no
11914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11915 conftest$ac_exeext conftest.$ac_ext
11916 CFLAGS=$ac_wine_try_cflags_saved
11917 CC=$ac_wine_try_cflags_saved_cc
11918 ac_exeext=$ac_wine_try_cflags_saved_exeext
11920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11921 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11922 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11923 then :
11924 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11925 fi ;;
11926 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11927 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11928 if test ${ac_cv_crosscflags__gcodeview+y}
11929 then :
11930 printf %s "(cached) " >&6
11931 else $as_nop
11932 ac_wine_try_cflags_saved=$CFLAGS
11933 ac_wine_try_cflags_saved_cc=$CC
11934 ac_wine_try_cflags_saved_exeext=$ac_exeext
11935 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11936 CC="$CROSSCC"
11937 ac_exeext=".exe"
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940 int __cdecl mainCRTStartup(void) { return 0; }
11941 _ACEOF
11942 if ac_fn_c_try_link "$LINENO"
11943 then :
11944 ac_cv_crosscflags__gcodeview=yes
11945 else $as_nop
11946 ac_cv_crosscflags__gcodeview=no
11948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11949 conftest$ac_exeext conftest.$ac_ext
11950 CFLAGS=$ac_wine_try_cflags_saved
11951 CC=$ac_wine_try_cflags_saved_cc
11952 ac_exeext=$ac_wine_try_cflags_saved_exeext
11954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11955 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11956 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11957 then :
11958 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11959 fi ;;
11960 esac
11963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11964 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11965 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11966 then :
11967 printf %s "(cached) " >&6
11968 else $as_nop
11969 ac_wine_try_cflags_saved=$CFLAGS
11970 ac_wine_try_cflags_saved_cc=$CC
11971 ac_wine_try_cflags_saved_exeext=$ac_exeext
11972 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11973 CC="$CROSSCC"
11974 ac_exeext=".exe"
11975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11976 /* end confdefs.h. */
11977 int __cdecl mainCRTStartup(void) { return 0; }
11978 _ACEOF
11979 if ac_fn_c_try_link "$LINENO"
11980 then :
11981 ac_cv_crosscflags__fexcess_precision_standard=yes
11982 else $as_nop
11983 ac_cv_crosscflags__fexcess_precision_standard=no
11985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11986 conftest$ac_exeext conftest.$ac_ext
11987 CFLAGS=$ac_wine_try_cflags_saved
11988 CC=$ac_wine_try_cflags_saved_cc
11989 ac_exeext=$ac_wine_try_cflags_saved_exeext
11991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11992 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11993 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11994 then :
11995 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11999 if test "x$enable_werror" = "xyes"
12000 then
12001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
12002 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
12003 if test ${ac_cv_crosscflags__Werror+y}
12004 then :
12005 printf %s "(cached) " >&6
12006 else $as_nop
12007 ac_wine_try_cflags_saved=$CFLAGS
12008 ac_wine_try_cflags_saved_cc=$CC
12009 ac_wine_try_cflags_saved_exeext=$ac_exeext
12010 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
12011 CC="$CROSSCC"
12012 ac_exeext=".exe"
12013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12015 int __cdecl mainCRTStartup(void) { return 0; }
12016 _ACEOF
12017 if ac_fn_c_try_link "$LINENO"
12018 then :
12019 ac_cv_crosscflags__Werror=yes
12020 else $as_nop
12021 ac_cv_crosscflags__Werror=no
12023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12024 conftest$ac_exeext conftest.$ac_ext
12025 CFLAGS=$ac_wine_try_cflags_saved
12026 CC=$ac_wine_try_cflags_saved_cc
12027 ac_exeext=$ac_wine_try_cflags_saved_exeext
12029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
12030 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
12031 if test "x$ac_cv_crosscflags__Werror" = xyes
12032 then :
12033 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
12036 if test "x$enable_build_id" = "xyes"
12037 then
12038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
12039 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
12040 if test ${ac_cv_crosscflags__Wl___build_id+y}
12041 then :
12042 printf %s "(cached) " >&6
12043 else $as_nop
12044 ac_wine_try_cflags_saved=$CFLAGS
12045 ac_wine_try_cflags_saved_cc=$CC
12046 ac_wine_try_cflags_saved_exeext=$ac_exeext
12047 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
12048 CC="$CROSSCC"
12049 ac_exeext=".exe"
12050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12051 /* end confdefs.h. */
12052 int __cdecl mainCRTStartup(void) { return 0; }
12053 _ACEOF
12054 if ac_fn_c_try_link "$LINENO"
12055 then :
12056 ac_cv_crosscflags__Wl___build_id=yes
12057 else $as_nop
12058 ac_cv_crosscflags__Wl___build_id=no
12060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12061 conftest$ac_exeext conftest.$ac_ext
12062 CFLAGS=$ac_wine_try_cflags_saved
12063 CC=$ac_wine_try_cflags_saved_cc
12064 ac_exeext=$ac_wine_try_cflags_saved_exeext
12066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
12067 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
12068 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
12069 then :
12070 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
12071 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
12075 CFLAGS=$saved_CFLAGS
12076 LDFLAGS=$saved_LDFLAGS
12077 CC="$ac_save_CC"
12080 if test "x$CROSSTARGET" = "x"
12081 then :
12082 case "x$with_mingw" in
12083 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
12084 xno) ;;
12085 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
12086 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12087 esac
12092 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
12093 then
12094 case "$host_cpu" in
12095 i[3456789]86*)
12096 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
12098 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
12099 esac
12100 for ac_prog in $ac_prefix_list
12102 # Extract the first word of "$ac_prog", so it can be a program name with args.
12103 set dummy $ac_prog; ac_word=$2
12104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12105 printf %s "checking for $ac_word... " >&6; }
12106 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12107 then :
12108 printf %s "(cached) " >&6
12109 else $as_nop
12110 if test -n "$MINGW_PKG_CONFIG"; then
12111 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12112 else
12113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12114 for as_dir in $PATH
12116 IFS=$as_save_IFS
12117 case $as_dir in #(((
12118 '') as_dir=./ ;;
12119 */) ;;
12120 *) as_dir=$as_dir/ ;;
12121 esac
12122 for ac_exec_ext in '' $ac_executable_extensions; do
12123 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12124 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12126 break 2
12128 done
12129 done
12130 IFS=$as_save_IFS
12134 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12135 if test -n "$MINGW_PKG_CONFIG"; then
12136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12137 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12138 else
12139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12140 printf "%s\n" "no" >&6; }
12144 test -n "$MINGW_PKG_CONFIG" && break
12145 done
12146 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12148 if ${FAUDIO_PE_CFLAGS:+false} :
12149 then :
12150 if test ${MINGW_PKG_CONFIG+y}
12151 then :
12152 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12155 if ${FAUDIO_PE_LIBS:+false} :
12156 then :
12157 if test ${MINGW_PKG_CONFIG+y}
12158 then :
12159 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12162 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12163 ac_save_CPPFLAGS=$CPPFLAGS
12164 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12166 printf %s "checking for MinGW FAudio.h... " >&6; }
12167 if test ${ac_cv_mingw_header_FAudio_h+y}
12168 then :
12169 printf %s "(cached) " >&6
12170 else $as_nop
12171 ac_wine_check_headers_saved_cc=$CC
12172 ac_wine_check_headers_saved_exeext=$ac_exeext
12173 CC="$CROSSCC"
12174 ac_exeext=".exe"
12175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12178 #include <FAudio.h>
12180 main (void)
12184 return 0;
12186 _ACEOF
12187 if ac_fn_c_try_compile "$LINENO"
12188 then :
12189 ac_cv_mingw_header_FAudio_h=yes
12190 else $as_nop
12191 ac_cv_mingw_header_FAudio_h=no
12193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12194 CC=$ac_wine_check_headers_saved_cc
12195 ac_exeext=$ac_wine_check_headers_saved_exeext
12197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12198 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12199 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12200 then :
12201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12202 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12203 if test ${ac_cv_mingw_lib_FAudio+y}
12204 then :
12205 printf %s "(cached) " >&6
12206 else $as_nop
12207 ac_wine_check_headers_saved_cc=$CC
12208 ac_wine_check_headers_saved_exeext=$ac_exeext
12209 ac_wine_check_headers_saved_libs=$LIBS
12210 CC="$CROSSCC"
12211 ac_exeext=".exe"
12212 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h. */
12216 /* Override any GCC internal prototype to avoid an error.
12217 Use char because int might match the return type of a GCC
12218 builtin and then its argument prototype would still apply. */
12219 char FAudio_CommitOperationSet ();
12221 main (void)
12223 return FAudio_CommitOperationSet ();
12225 return 0;
12227 _ACEOF
12228 if ac_fn_c_try_link "$LINENO"
12229 then :
12230 ac_cv_mingw_lib_FAudio=yes
12231 else $as_nop
12232 ac_cv_mingw_lib_FAudio=no
12234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12235 conftest$ac_exeext conftest.$ac_ext
12236 CC=$ac_wine_check_headers_saved_cc
12237 ac_exeext=$ac_wine_check_headers_saved_exeext
12238 LIBS=$ac_wine_check_headers_saved_libs
12240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12241 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12242 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12243 then :
12245 else $as_nop
12246 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12248 else $as_nop
12249 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12251 CPPFLAGS=$ac_save_CPPFLAGS
12253 if test "x$FAUDIO_PE_LIBS" = "x"
12254 then
12255 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12258 if ${JPEG_PE_CFLAGS:+false} :
12259 then :
12260 if test ${MINGW_PKG_CONFIG+y}
12261 then :
12262 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12265 if ${JPEG_PE_LIBS:+false} :
12266 then :
12267 if test ${MINGW_PKG_CONFIG+y}
12268 then :
12269 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12273 ac_save_CPPFLAGS=$CPPFLAGS
12274 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12276 printf %s "checking for MinGW jpeglib.h... " >&6; }
12277 if test ${ac_cv_mingw_header_jpeglib_h+y}
12278 then :
12279 printf %s "(cached) " >&6
12280 else $as_nop
12281 ac_wine_check_headers_saved_cc=$CC
12282 ac_wine_check_headers_saved_exeext=$ac_exeext
12283 CC="$CROSSCC"
12284 ac_exeext=".exe"
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12287 #include <stddef.h>
12288 #include <stdio.h>
12289 #include <jpeglib.h>
12291 main (void)
12295 return 0;
12297 _ACEOF
12298 if ac_fn_c_try_compile "$LINENO"
12299 then :
12300 ac_cv_mingw_header_jpeglib_h=yes
12301 else $as_nop
12302 ac_cv_mingw_header_jpeglib_h=no
12304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12305 CC=$ac_wine_check_headers_saved_cc
12306 ac_exeext=$ac_wine_check_headers_saved_exeext
12308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12309 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12310 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12311 then :
12312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12313 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12314 if test ${ac_cv_mingw_lib_jpeg+y}
12315 then :
12316 printf %s "(cached) " >&6
12317 else $as_nop
12318 ac_wine_check_headers_saved_cc=$CC
12319 ac_wine_check_headers_saved_exeext=$ac_exeext
12320 ac_wine_check_headers_saved_libs=$LIBS
12321 CC="$CROSSCC"
12322 ac_exeext=".exe"
12323 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12330 char jpeg_start_decompress ();
12332 main (void)
12334 return jpeg_start_decompress ();
12336 return 0;
12338 _ACEOF
12339 if ac_fn_c_try_link "$LINENO"
12340 then :
12341 ac_cv_mingw_lib_jpeg=yes
12342 else $as_nop
12343 ac_cv_mingw_lib_jpeg=no
12345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12346 conftest$ac_exeext conftest.$ac_ext
12347 CC=$ac_wine_check_headers_saved_cc
12348 ac_exeext=$ac_wine_check_headers_saved_exeext
12349 LIBS=$ac_wine_check_headers_saved_libs
12351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12352 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12353 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12354 then :
12356 else $as_nop
12357 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12359 else $as_nop
12360 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12362 CPPFLAGS=$ac_save_CPPFLAGS
12364 if test "x$JPEG_PE_LIBS" = "x"
12365 then
12366 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12369 if ${LCMS2_PE_CFLAGS:+false} :
12370 then :
12371 if test ${MINGW_PKG_CONFIG+y}
12372 then :
12373 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12376 if ${LCMS2_PE_LIBS:+false} :
12377 then :
12378 if test ${MINGW_PKG_CONFIG+y}
12379 then :
12380 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12383 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12384 ac_save_CPPFLAGS=$CPPFLAGS
12385 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12387 printf %s "checking for MinGW lcms2.h... " >&6; }
12388 if test ${ac_cv_mingw_header_lcms2_h+y}
12389 then :
12390 printf %s "(cached) " >&6
12391 else $as_nop
12392 ac_wine_check_headers_saved_cc=$CC
12393 ac_wine_check_headers_saved_exeext=$ac_exeext
12394 CC="$CROSSCC"
12395 ac_exeext=".exe"
12396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12397 /* end confdefs.h. */
12399 #include <lcms2.h>
12401 main (void)
12405 return 0;
12407 _ACEOF
12408 if ac_fn_c_try_compile "$LINENO"
12409 then :
12410 ac_cv_mingw_header_lcms2_h=yes
12411 else $as_nop
12412 ac_cv_mingw_header_lcms2_h=no
12414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12415 CC=$ac_wine_check_headers_saved_cc
12416 ac_exeext=$ac_wine_check_headers_saved_exeext
12418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12419 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12420 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12421 then :
12422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12423 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12424 if test ${ac_cv_mingw_lib_lcms2+y}
12425 then :
12426 printf %s "(cached) " >&6
12427 else $as_nop
12428 ac_wine_check_headers_saved_cc=$CC
12429 ac_wine_check_headers_saved_exeext=$ac_exeext
12430 ac_wine_check_headers_saved_libs=$LIBS
12431 CC="$CROSSCC"
12432 ac_exeext=".exe"
12433 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12437 /* Override any GCC internal prototype to avoid an error.
12438 Use char because int might match the return type of a GCC
12439 builtin and then its argument prototype would still apply. */
12440 char cmsOpenProfileFromFile ();
12442 main (void)
12444 return cmsOpenProfileFromFile ();
12446 return 0;
12448 _ACEOF
12449 if ac_fn_c_try_link "$LINENO"
12450 then :
12451 ac_cv_mingw_lib_lcms2=yes
12452 else $as_nop
12453 ac_cv_mingw_lib_lcms2=no
12455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12456 conftest$ac_exeext conftest.$ac_ext
12457 CC=$ac_wine_check_headers_saved_cc
12458 ac_exeext=$ac_wine_check_headers_saved_exeext
12459 LIBS=$ac_wine_check_headers_saved_libs
12461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12462 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12463 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12464 then :
12466 else $as_nop
12467 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12469 else $as_nop
12470 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12472 CPPFLAGS=$ac_save_CPPFLAGS
12474 if test "x$LCMS2_PE_LIBS" = "x"
12475 then
12476 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12479 if ${MPG123_PE_CFLAGS:+false} :
12480 then :
12481 if test ${MINGW_PKG_CONFIG+y}
12482 then :
12483 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12486 if ${MPG123_PE_LIBS:+false} :
12487 then :
12488 if test ${MINGW_PKG_CONFIG+y}
12489 then :
12490 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12493 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12494 ac_save_CPPFLAGS=$CPPFLAGS
12495 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12497 printf %s "checking for MinGW mpg123.h... " >&6; }
12498 if test ${ac_cv_mingw_header_mpg123_h+y}
12499 then :
12500 printf %s "(cached) " >&6
12501 else $as_nop
12502 ac_wine_check_headers_saved_cc=$CC
12503 ac_wine_check_headers_saved_exeext=$ac_exeext
12504 CC="$CROSSCC"
12505 ac_exeext=".exe"
12506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12507 /* end confdefs.h. */
12509 #include <mpg123.h>
12511 main (void)
12515 return 0;
12517 _ACEOF
12518 if ac_fn_c_try_compile "$LINENO"
12519 then :
12520 ac_cv_mingw_header_mpg123_h=yes
12521 else $as_nop
12522 ac_cv_mingw_header_mpg123_h=no
12524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12525 CC=$ac_wine_check_headers_saved_cc
12526 ac_exeext=$ac_wine_check_headers_saved_exeext
12528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12529 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12530 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12531 then :
12532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12533 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12534 if test ${ac_cv_mingw_lib_mpg123+y}
12535 then :
12536 printf %s "(cached) " >&6
12537 else $as_nop
12538 ac_wine_check_headers_saved_cc=$CC
12539 ac_wine_check_headers_saved_exeext=$ac_exeext
12540 ac_wine_check_headers_saved_libs=$LIBS
12541 CC="$CROSSCC"
12542 ac_exeext=".exe"
12543 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12545 /* end confdefs.h. */
12547 /* Override any GCC internal prototype to avoid an error.
12548 Use char because int might match the return type of a GCC
12549 builtin and then its argument prototype would still apply. */
12550 char mpg123_feed ();
12552 main (void)
12554 return mpg123_feed ();
12556 return 0;
12558 _ACEOF
12559 if ac_fn_c_try_link "$LINENO"
12560 then :
12561 ac_cv_mingw_lib_mpg123=yes
12562 else $as_nop
12563 ac_cv_mingw_lib_mpg123=no
12565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12566 conftest$ac_exeext conftest.$ac_ext
12567 CC=$ac_wine_check_headers_saved_cc
12568 ac_exeext=$ac_wine_check_headers_saved_exeext
12569 LIBS=$ac_wine_check_headers_saved_libs
12571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12572 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12573 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12574 then :
12576 else $as_nop
12577 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12579 else $as_nop
12580 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12582 CPPFLAGS=$ac_save_CPPFLAGS
12584 if test "x$MPG123_PE_LIBS" = "x"
12585 then
12586 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12589 if ${PNG_PE_CFLAGS:+false} :
12590 then :
12591 if test ${MINGW_PKG_CONFIG+y}
12592 then :
12593 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12596 if ${PNG_PE_LIBS:+false} :
12597 then :
12598 if test ${MINGW_PKG_CONFIG+y}
12599 then :
12600 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12604 ac_save_CPPFLAGS=$CPPFLAGS
12605 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12607 printf %s "checking for MinGW png.h... " >&6; }
12608 if test ${ac_cv_mingw_header_png_h+y}
12609 then :
12610 printf %s "(cached) " >&6
12611 else $as_nop
12612 ac_wine_check_headers_saved_cc=$CC
12613 ac_wine_check_headers_saved_exeext=$ac_exeext
12614 CC="$CROSSCC"
12615 ac_exeext=".exe"
12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 #include <png.h>
12621 main (void)
12625 return 0;
12627 _ACEOF
12628 if ac_fn_c_try_compile "$LINENO"
12629 then :
12630 ac_cv_mingw_header_png_h=yes
12631 else $as_nop
12632 ac_cv_mingw_header_png_h=no
12634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12635 CC=$ac_wine_check_headers_saved_cc
12636 ac_exeext=$ac_wine_check_headers_saved_exeext
12638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12639 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12640 if test "x$ac_cv_mingw_header_png_h" = xyes
12641 then :
12642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12643 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12644 if test ${ac_cv_mingw_lib_png+y}
12645 then :
12646 printf %s "(cached) " >&6
12647 else $as_nop
12648 ac_wine_check_headers_saved_cc=$CC
12649 ac_wine_check_headers_saved_exeext=$ac_exeext
12650 ac_wine_check_headers_saved_libs=$LIBS
12651 CC="$CROSSCC"
12652 ac_exeext=".exe"
12653 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12657 /* Override any GCC internal prototype to avoid an error.
12658 Use char because int might match the return type of a GCC
12659 builtin and then its argument prototype would still apply. */
12660 char png_create_read_struct ();
12662 main (void)
12664 return png_create_read_struct ();
12666 return 0;
12668 _ACEOF
12669 if ac_fn_c_try_link "$LINENO"
12670 then :
12671 ac_cv_mingw_lib_png=yes
12672 else $as_nop
12673 ac_cv_mingw_lib_png=no
12675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12676 conftest$ac_exeext conftest.$ac_ext
12677 CC=$ac_wine_check_headers_saved_cc
12678 ac_exeext=$ac_wine_check_headers_saved_exeext
12679 LIBS=$ac_wine_check_headers_saved_libs
12681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12682 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12683 if test "x$ac_cv_mingw_lib_png" = xyes
12684 then :
12686 else $as_nop
12687 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12689 else $as_nop
12690 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12692 CPPFLAGS=$ac_save_CPPFLAGS
12694 if test "x$PNG_PE_LIBS" = "x"
12695 then
12696 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12699 if ${TIFF_PE_CFLAGS:+false} :
12700 then :
12701 if test ${MINGW_PKG_CONFIG+y}
12702 then :
12703 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12706 if ${TIFF_PE_LIBS:+false} :
12707 then :
12708 if test ${MINGW_PKG_CONFIG+y}
12709 then :
12710 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12714 ac_save_CPPFLAGS=$CPPFLAGS
12715 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12717 printf %s "checking for MinGW tiffio.h... " >&6; }
12718 if test ${ac_cv_mingw_header_tiffio_h+y}
12719 then :
12720 printf %s "(cached) " >&6
12721 else $as_nop
12722 ac_wine_check_headers_saved_cc=$CC
12723 ac_wine_check_headers_saved_exeext=$ac_exeext
12724 CC="$CROSSCC"
12725 ac_exeext=".exe"
12726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12727 /* end confdefs.h. */
12729 #include <tiffio.h>
12731 main (void)
12735 return 0;
12737 _ACEOF
12738 if ac_fn_c_try_compile "$LINENO"
12739 then :
12740 ac_cv_mingw_header_tiffio_h=yes
12741 else $as_nop
12742 ac_cv_mingw_header_tiffio_h=no
12744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12745 CC=$ac_wine_check_headers_saved_cc
12746 ac_exeext=$ac_wine_check_headers_saved_exeext
12748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12749 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12750 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12751 then :
12752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12753 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12754 if test ${ac_cv_mingw_lib_tiff+y}
12755 then :
12756 printf %s "(cached) " >&6
12757 else $as_nop
12758 ac_wine_check_headers_saved_cc=$CC
12759 ac_wine_check_headers_saved_exeext=$ac_exeext
12760 ac_wine_check_headers_saved_libs=$LIBS
12761 CC="$CROSSCC"
12762 ac_exeext=".exe"
12763 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12767 /* Override any GCC internal prototype to avoid an error.
12768 Use char because int might match the return type of a GCC
12769 builtin and then its argument prototype would still apply. */
12770 char TIFFClientOpen ();
12772 main (void)
12774 return TIFFClientOpen ();
12776 return 0;
12778 _ACEOF
12779 if ac_fn_c_try_link "$LINENO"
12780 then :
12781 ac_cv_mingw_lib_tiff=yes
12782 else $as_nop
12783 ac_cv_mingw_lib_tiff=no
12785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12786 conftest$ac_exeext conftest.$ac_ext
12787 CC=$ac_wine_check_headers_saved_cc
12788 ac_exeext=$ac_wine_check_headers_saved_exeext
12789 LIBS=$ac_wine_check_headers_saved_libs
12791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12792 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12793 if test "x$ac_cv_mingw_lib_tiff" = xyes
12794 then :
12796 else $as_nop
12797 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12799 else $as_nop
12800 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12802 CPPFLAGS=$ac_save_CPPFLAGS
12804 if test "x$TIFF_PE_LIBS" = "x"
12805 then
12806 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12809 if ${XML2_PE_CFLAGS:+false} :
12810 then :
12811 if test ${MINGW_PKG_CONFIG+y}
12812 then :
12813 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12816 if ${XML2_PE_LIBS:+false} :
12817 then :
12818 if test ${MINGW_PKG_CONFIG+y}
12819 then :
12820 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12823 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12824 ac_save_CPPFLAGS=$CPPFLAGS
12825 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12827 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12828 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12829 then :
12830 printf %s "(cached) " >&6
12831 else $as_nop
12832 ac_wine_check_headers_saved_cc=$CC
12833 ac_wine_check_headers_saved_exeext=$ac_exeext
12834 CC="$CROSSCC"
12835 ac_exeext=".exe"
12836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12837 /* end confdefs.h. */
12839 #include <libxml/parser.h>
12841 main (void)
12845 return 0;
12847 _ACEOF
12848 if ac_fn_c_try_compile "$LINENO"
12849 then :
12850 ac_cv_mingw_header_libxml_parser_h=yes
12851 else $as_nop
12852 ac_cv_mingw_header_libxml_parser_h=no
12854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12855 CC=$ac_wine_check_headers_saved_cc
12856 ac_exeext=$ac_wine_check_headers_saved_exeext
12858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12859 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12860 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12861 then :
12864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12865 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12866 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12867 then :
12868 printf %s "(cached) " >&6
12869 else $as_nop
12870 ac_wine_check_headers_saved_cc=$CC
12871 ac_wine_check_headers_saved_exeext=$ac_exeext
12872 CC="$CROSSCC"
12873 ac_exeext=".exe"
12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12877 #include <libxml/xmlsave.h>
12879 main (void)
12883 return 0;
12885 _ACEOF
12886 if ac_fn_c_try_compile "$LINENO"
12887 then :
12888 ac_cv_mingw_header_libxml_xmlsave_h=yes
12889 else $as_nop
12890 ac_cv_mingw_header_libxml_xmlsave_h=no
12892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12893 CC=$ac_wine_check_headers_saved_cc
12894 ac_exeext=$ac_wine_check_headers_saved_exeext
12896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12897 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12898 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12899 then :
12902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12903 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12904 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12905 then :
12906 printf %s "(cached) " >&6
12907 else $as_nop
12908 ac_wine_check_headers_saved_cc=$CC
12909 ac_wine_check_headers_saved_exeext=$ac_exeext
12910 CC="$CROSSCC"
12911 ac_exeext=".exe"
12912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12913 /* end confdefs.h. */
12915 #include <libxml/SAX2.h>
12917 main (void)
12921 return 0;
12923 _ACEOF
12924 if ac_fn_c_try_compile "$LINENO"
12925 then :
12926 ac_cv_mingw_header_libxml_SAX2_h=yes
12927 else $as_nop
12928 ac_cv_mingw_header_libxml_SAX2_h=no
12930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12931 CC=$ac_wine_check_headers_saved_cc
12932 ac_exeext=$ac_wine_check_headers_saved_exeext
12934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12935 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12936 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12937 then :
12940 if test "$ac_cv_mingw_header_libxml_parser_h" = "yes" -a "$ac_cv_mingw_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_mingw_header_libxml_SAX2_h" = "yes"
12941 then
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12943 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12944 if test ${ac_cv_mingw_lib_xml2+y}
12945 then :
12946 printf %s "(cached) " >&6
12947 else $as_nop
12948 ac_wine_check_headers_saved_cc=$CC
12949 ac_wine_check_headers_saved_exeext=$ac_exeext
12950 ac_wine_check_headers_saved_libs=$LIBS
12951 CC="$CROSSCC"
12952 ac_exeext=".exe"
12953 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12957 /* Override any GCC internal prototype to avoid an error.
12958 Use char because int might match the return type of a GCC
12959 builtin and then its argument prototype would still apply. */
12960 char xmlFirstElementChild ();
12962 main (void)
12964 return xmlFirstElementChild ();
12966 return 0;
12968 _ACEOF
12969 if ac_fn_c_try_link "$LINENO"
12970 then :
12971 ac_cv_mingw_lib_xml2=yes
12972 else $as_nop
12973 ac_cv_mingw_lib_xml2=no
12975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12976 conftest$ac_exeext conftest.$ac_ext
12977 CC=$ac_wine_check_headers_saved_cc
12978 ac_exeext=$ac_wine_check_headers_saved_exeext
12979 LIBS=$ac_wine_check_headers_saved_libs
12981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12982 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12983 if test "x$ac_cv_mingw_lib_xml2" = xyes
12984 then :
12986 else $as_nop
12987 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12989 else
12990 XML2_PE_CFLAGS=""
12991 XML2_PE_LIBS=""
12993 CPPFLAGS=$ac_save_CPPFLAGS
12995 if test "x$XML2_PE_LIBS" = "x"
12996 then
12997 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
13000 if ${XSLT_PE_CFLAGS:+false} :
13001 then :
13002 if test ${MINGW_PKG_CONFIG+y}
13003 then :
13004 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
13007 if ${XSLT_PE_LIBS:+false} :
13008 then :
13009 if test ${MINGW_PKG_CONFIG+y}
13010 then :
13011 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13014 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13015 ac_save_CPPFLAGS=$CPPFLAGS
13016 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13018 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13019 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13020 then :
13021 printf %s "(cached) " >&6
13022 else $as_nop
13023 ac_wine_check_headers_saved_cc=$CC
13024 ac_wine_check_headers_saved_exeext=$ac_exeext
13025 CC="$CROSSCC"
13026 ac_exeext=".exe"
13027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13030 #include <libxslt/pattern.h>
13032 main (void)
13036 return 0;
13038 _ACEOF
13039 if ac_fn_c_try_compile "$LINENO"
13040 then :
13041 ac_cv_mingw_header_libxslt_pattern_h=yes
13042 else $as_nop
13043 ac_cv_mingw_header_libxslt_pattern_h=no
13045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13046 CC=$ac_wine_check_headers_saved_cc
13047 ac_exeext=$ac_wine_check_headers_saved_exeext
13049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13050 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13051 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13052 then :
13055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13056 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13057 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13058 then :
13059 printf %s "(cached) " >&6
13060 else $as_nop
13061 ac_wine_check_headers_saved_cc=$CC
13062 ac_wine_check_headers_saved_exeext=$ac_exeext
13063 CC="$CROSSCC"
13064 ac_exeext=".exe"
13065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13068 #include <libxslt/transform.h>
13070 main (void)
13074 return 0;
13076 _ACEOF
13077 if ac_fn_c_try_compile "$LINENO"
13078 then :
13079 ac_cv_mingw_header_libxslt_transform_h=yes
13080 else $as_nop
13081 ac_cv_mingw_header_libxslt_transform_h=no
13083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13084 CC=$ac_wine_check_headers_saved_cc
13085 ac_exeext=$ac_wine_check_headers_saved_exeext
13087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13088 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13089 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13090 then :
13093 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13094 then
13095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13096 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13097 if test ${ac_cv_mingw_lib_xslt+y}
13098 then :
13099 printf %s "(cached) " >&6
13100 else $as_nop
13101 ac_wine_check_headers_saved_cc=$CC
13102 ac_wine_check_headers_saved_exeext=$ac_exeext
13103 ac_wine_check_headers_saved_libs=$LIBS
13104 CC="$CROSSCC"
13105 ac_exeext=".exe"
13106 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h. */
13110 /* Override any GCC internal prototype to avoid an error.
13111 Use char because int might match the return type of a GCC
13112 builtin and then its argument prototype would still apply. */
13113 char xsltCompilePattern ();
13115 main (void)
13117 return xsltCompilePattern ();
13119 return 0;
13121 _ACEOF
13122 if ac_fn_c_try_link "$LINENO"
13123 then :
13124 ac_cv_mingw_lib_xslt=yes
13125 else $as_nop
13126 ac_cv_mingw_lib_xslt=no
13128 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13129 conftest$ac_exeext conftest.$ac_ext
13130 CC=$ac_wine_check_headers_saved_cc
13131 ac_exeext=$ac_wine_check_headers_saved_exeext
13132 LIBS=$ac_wine_check_headers_saved_libs
13134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13135 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13136 if test "x$ac_cv_mingw_lib_xslt" = xyes
13137 then :
13139 else $as_nop
13140 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13142 else
13143 XSLT_PE_CFLAGS=""
13144 XSLT_PE_LIBS=""
13146 CPPFLAGS=$ac_save_CPPFLAGS
13148 if test "x$XSLT_PE_LIBS" = "x"
13149 then
13150 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13153 if ${ZLIB_PE_CFLAGS:+false} :
13154 then :
13155 if test ${MINGW_PKG_CONFIG+y}
13156 then :
13157 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13160 if ${ZLIB_PE_LIBS:+false} :
13161 then :
13162 if test ${MINGW_PKG_CONFIG+y}
13163 then :
13164 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13167 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13168 ac_save_CPPFLAGS=$CPPFLAGS
13169 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13171 printf %s "checking for MinGW zlib.h... " >&6; }
13172 if test ${ac_cv_mingw_header_zlib_h+y}
13173 then :
13174 printf %s "(cached) " >&6
13175 else $as_nop
13176 ac_wine_check_headers_saved_cc=$CC
13177 ac_wine_check_headers_saved_exeext=$ac_exeext
13178 CC="$CROSSCC"
13179 ac_exeext=".exe"
13180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13181 /* end confdefs.h. */
13183 #include <zlib.h>
13185 main (void)
13189 return 0;
13191 _ACEOF
13192 if ac_fn_c_try_compile "$LINENO"
13193 then :
13194 ac_cv_mingw_header_zlib_h=yes
13195 else $as_nop
13196 ac_cv_mingw_header_zlib_h=no
13198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13199 CC=$ac_wine_check_headers_saved_cc
13200 ac_exeext=$ac_wine_check_headers_saved_exeext
13202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13203 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13204 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13205 then :
13206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13207 printf %s "checking for inflate in MinGW -lz... " >&6; }
13208 if test ${ac_cv_mingw_lib_z+y}
13209 then :
13210 printf %s "(cached) " >&6
13211 else $as_nop
13212 ac_wine_check_headers_saved_cc=$CC
13213 ac_wine_check_headers_saved_exeext=$ac_exeext
13214 ac_wine_check_headers_saved_libs=$LIBS
13215 CC="$CROSSCC"
13216 ac_exeext=".exe"
13217 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13219 /* end confdefs.h. */
13221 /* Override any GCC internal prototype to avoid an error.
13222 Use char because int might match the return type of a GCC
13223 builtin and then its argument prototype would still apply. */
13224 char inflate ();
13226 main (void)
13228 return inflate ();
13230 return 0;
13232 _ACEOF
13233 if ac_fn_c_try_link "$LINENO"
13234 then :
13235 ac_cv_mingw_lib_z=yes
13236 else $as_nop
13237 ac_cv_mingw_lib_z=no
13239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13240 conftest$ac_exeext conftest.$ac_ext
13241 CC=$ac_wine_check_headers_saved_cc
13242 ac_exeext=$ac_wine_check_headers_saved_exeext
13243 LIBS=$ac_wine_check_headers_saved_libs
13245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13246 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13247 if test "x$ac_cv_mingw_lib_z" = xyes
13248 then :
13250 else $as_nop
13251 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13253 else $as_nop
13254 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13256 CPPFLAGS=$ac_save_CPPFLAGS
13258 if test "x$ZLIB_PE_LIBS" = "x"
13259 then
13260 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13264 if ${FAUDIO_PE_LIBS:+false} :
13265 then :
13266 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13267 if ${FAUDIO_PE_CFLAGS:+false} :
13268 then :
13269 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13270 else $as_nop
13271 enable_faudio=no
13273 else $as_nop
13274 enable_faudio=no
13276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13279 if ${GSM_PE_LIBS:+false} :
13280 then :
13281 GSM_PE_LIBS=gsm
13282 if ${GSM_PE_CFLAGS:+false} :
13283 then :
13284 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13285 else $as_nop
13286 enable_gsm=no
13288 else $as_nop
13289 enable_gsm=no
13291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13294 if ${JPEG_PE_LIBS:+false} :
13295 then :
13296 JPEG_PE_LIBS=jpeg
13297 if ${JPEG_PE_CFLAGS:+false} :
13298 then :
13299 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13300 else $as_nop
13301 enable_jpeg=no
13303 else $as_nop
13304 enable_jpeg=no
13306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13309 if ${JXR_PE_LIBS:+false} :
13310 then :
13311 JXR_PE_LIBS=jxr
13312 if ${JXR_PE_CFLAGS:+false} :
13313 then :
13314 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13315 else $as_nop
13316 enable_jxr=no
13318 else $as_nop
13319 enable_jxr=no
13321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13324 if ${LCMS2_PE_LIBS:+false} :
13325 then :
13326 LCMS2_PE_LIBS=lcms2
13327 if ${LCMS2_PE_CFLAGS:+false} :
13328 then :
13329 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13330 else $as_nop
13331 enable_lcms2=no
13333 else $as_nop
13334 enable_lcms2=no
13336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13339 if ${MPG123_PE_LIBS:+false} :
13340 then :
13341 MPG123_PE_LIBS=mpg123
13342 if ${MPG123_PE_CFLAGS:+false} :
13343 then :
13344 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13345 else $as_nop
13346 enable_mpg123=no
13348 else $as_nop
13349 enable_mpg123=no
13351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13354 if ${PNG_PE_LIBS:+false} :
13355 then :
13356 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13357 if ${PNG_PE_CFLAGS:+false} :
13358 then :
13359 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13360 else $as_nop
13361 enable_png=no
13363 else $as_nop
13364 enable_png=no
13366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13369 if ${TIFF_PE_LIBS:+false} :
13370 then :
13371 TIFF_PE_LIBS=tiff
13372 if ${TIFF_PE_CFLAGS:+false} :
13373 then :
13374 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13375 else $as_nop
13376 enable_tiff=no
13378 else $as_nop
13379 enable_tiff=no
13381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13384 if ${XML2_PE_LIBS:+false} :
13385 then :
13386 XML2_PE_LIBS=xml2
13387 if ${XML2_PE_CFLAGS:+false} :
13388 then :
13389 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13390 else $as_nop
13391 enable_xml2=no
13393 else $as_nop
13394 enable_xml2=no
13396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13399 if ${XSLT_PE_LIBS:+false} :
13400 then :
13401 XSLT_PE_LIBS=xslt
13402 if ${XSLT_PE_CFLAGS:+false} :
13403 then :
13404 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13405 else $as_nop
13406 enable_xslt=no
13408 else $as_nop
13409 enable_xslt=no
13411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13414 if ${ZLIB_PE_LIBS:+false} :
13415 then :
13416 ZLIB_PE_LIBS=z
13417 if ${ZLIB_PE_CFLAGS:+false} :
13418 then :
13419 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13420 else $as_nop
13421 enable_zlib=no
13423 else $as_nop
13424 enable_zlib=no
13426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13431 if test "$ac_cv_header_pthread_h" = "yes"
13432 then
13433 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13434 if test "x$ac_cv_func_pthread_create" = xyes
13435 then :
13437 else $as_nop
13438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13439 printf %s "checking for pthread_create in -lpthread... " >&6; }
13440 if test ${ac_cv_lib_pthread_pthread_create+y}
13441 then :
13442 printf %s "(cached) " >&6
13443 else $as_nop
13444 ac_check_lib_save_LIBS=$LIBS
13445 LIBS="-lpthread $LIBS"
13446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13447 /* end confdefs.h. */
13449 /* Override any GCC internal prototype to avoid an error.
13450 Use char because int might match the return type of a GCC
13451 builtin and then its argument prototype would still apply. */
13452 char pthread_create ();
13454 main (void)
13456 return pthread_create ();
13458 return 0;
13460 _ACEOF
13461 if ac_fn_c_try_link "$LINENO"
13462 then :
13463 ac_cv_lib_pthread_pthread_create=yes
13464 else $as_nop
13465 ac_cv_lib_pthread_pthread_create=no
13467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13468 conftest$ac_exeext conftest.$ac_ext
13469 LIBS=$ac_check_lib_save_LIBS
13471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13472 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13473 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13474 then :
13475 PTHREAD_LIBS="-lpthread"
13482 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13483 then :
13484 case "x$with_pthread" in
13485 xno) ;;
13486 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13487 Wine cannot support threads without libpthread.
13488 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13489 esac
13494 ac_ext=c
13495 ac_cpp='$CPP $CPPFLAGS'
13496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13500 printf %s "checking how to run the C preprocessor... " >&6; }
13501 # On Suns, sometimes $CPP names a directory.
13502 if test -n "$CPP" && test -d "$CPP"; then
13503 CPP=
13505 if test -z "$CPP"; then
13506 if test ${ac_cv_prog_CPP+y}
13507 then :
13508 printf %s "(cached) " >&6
13509 else $as_nop
13510 # Double quotes because $CC needs to be expanded
13511 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13513 ac_preproc_ok=false
13514 for ac_c_preproc_warn_flag in '' yes
13516 # Use a header file that comes with gcc, so configuring glibc
13517 # with a fresh cross-compiler works.
13518 # On the NeXT, cc -E runs the code through the compiler's parser,
13519 # not just through cpp. "Syntax error" is here to catch this case.
13520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13521 /* end confdefs.h. */
13522 #include <limits.h>
13523 Syntax error
13524 _ACEOF
13525 if ac_fn_c_try_cpp "$LINENO"
13526 then :
13528 else $as_nop
13529 # Broken: fails on valid input.
13530 continue
13532 rm -f conftest.err conftest.i conftest.$ac_ext
13534 # OK, works on sane cases. Now check whether nonexistent headers
13535 # can be detected and how.
13536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13538 #include <ac_nonexistent.h>
13539 _ACEOF
13540 if ac_fn_c_try_cpp "$LINENO"
13541 then :
13542 # Broken: success on invalid input.
13543 continue
13544 else $as_nop
13545 # Passes both tests.
13546 ac_preproc_ok=:
13547 break
13549 rm -f conftest.err conftest.i conftest.$ac_ext
13551 done
13552 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13553 rm -f conftest.i conftest.err conftest.$ac_ext
13554 if $ac_preproc_ok
13555 then :
13556 break
13559 done
13560 ac_cv_prog_CPP=$CPP
13563 CPP=$ac_cv_prog_CPP
13564 else
13565 ac_cv_prog_CPP=$CPP
13567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13568 printf "%s\n" "$CPP" >&6; }
13569 ac_preproc_ok=false
13570 for ac_c_preproc_warn_flag in '' yes
13572 # Use a header file that comes with gcc, so configuring glibc
13573 # with a fresh cross-compiler works.
13574 # On the NeXT, cc -E runs the code through the compiler's parser,
13575 # not just through cpp. "Syntax error" is here to catch this case.
13576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13578 #include <limits.h>
13579 Syntax error
13580 _ACEOF
13581 if ac_fn_c_try_cpp "$LINENO"
13582 then :
13584 else $as_nop
13585 # Broken: fails on valid input.
13586 continue
13588 rm -f conftest.err conftest.i conftest.$ac_ext
13590 # OK, works on sane cases. Now check whether nonexistent headers
13591 # can be detected and how.
13592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13593 /* end confdefs.h. */
13594 #include <ac_nonexistent.h>
13595 _ACEOF
13596 if ac_fn_c_try_cpp "$LINENO"
13597 then :
13598 # Broken: success on invalid input.
13599 continue
13600 else $as_nop
13601 # Passes both tests.
13602 ac_preproc_ok=:
13603 break
13605 rm -f conftest.err conftest.i conftest.$ac_ext
13607 done
13608 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13609 rm -f conftest.i conftest.err conftest.$ac_ext
13610 if $ac_preproc_ok
13611 then :
13613 else $as_nop
13614 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13615 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13616 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13617 See \`config.log' for more details" "$LINENO" 5; }
13620 ac_ext=c
13621 ac_cpp='$CPP $CPPFLAGS'
13622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13628 printf %s "checking for X... " >&6; }
13631 # Check whether --with-x was given.
13632 if test ${with_x+y}
13633 then :
13634 withval=$with_x;
13637 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13638 if test "x$with_x" = xno; then
13639 # The user explicitly disabled X.
13640 have_x=disabled
13641 else
13642 case $x_includes,$x_libraries in #(
13643 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13644 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13645 then :
13646 printf %s "(cached) " >&6
13647 else $as_nop
13648 # One or both of the vars are not set, and there is no cached value.
13649 ac_x_includes=no
13650 ac_x_libraries=no
13651 # Do we need to do anything special at all?
13652 ac_save_LIBS=$LIBS
13653 LIBS="-lX11 $LIBS"
13654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13656 #include <X11/Xlib.h>
13658 main (void)
13660 XrmInitialize ()
13662 return 0;
13664 _ACEOF
13665 if ac_fn_c_try_link "$LINENO"
13666 then :
13667 # We can compile and link X programs with no special options.
13668 ac_x_includes=
13669 ac_x_libraries=
13671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13672 conftest$ac_exeext conftest.$ac_ext
13673 LIBS="$ac_save_LIBS"
13674 # If that didn't work, only try xmkmf and file system searches
13675 # for native compilation.
13676 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13677 then :
13678 rm -f -r conftest.dir
13679 if mkdir conftest.dir; then
13680 cd conftest.dir
13681 cat >Imakefile <<'_ACEOF'
13682 incroot:
13683 @echo incroot='${INCROOT}'
13684 usrlibdir:
13685 @echo usrlibdir='${USRLIBDIR}'
13686 libdir:
13687 @echo libdir='${LIBDIR}'
13688 _ACEOF
13689 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13690 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13691 for ac_var in incroot usrlibdir libdir; do
13692 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13693 done
13694 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13695 for ac_extension in a so sl dylib la dll; do
13696 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13697 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13698 ac_im_usrlibdir=$ac_im_libdir; break
13700 done
13701 # Screen out bogus values from the imake configuration. They are
13702 # bogus both because they are the default anyway, and because
13703 # using them would break gcc on systems where it needs fixed includes.
13704 case $ac_im_incroot in
13705 /usr/include) ac_x_includes= ;;
13706 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13707 esac
13708 case $ac_im_usrlibdir in
13709 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13710 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13711 esac
13713 cd ..
13714 rm -f -r conftest.dir
13717 # Standard set of common directories for X headers.
13718 # Check X11 before X11Rn because it is often a symlink to the current release.
13719 ac_x_header_dirs='
13720 /usr/X11/include
13721 /usr/X11R7/include
13722 /usr/X11R6/include
13723 /usr/X11R5/include
13724 /usr/X11R4/include
13726 /usr/include/X11
13727 /usr/include/X11R7
13728 /usr/include/X11R6
13729 /usr/include/X11R5
13730 /usr/include/X11R4
13732 /usr/local/X11/include
13733 /usr/local/X11R7/include
13734 /usr/local/X11R6/include
13735 /usr/local/X11R5/include
13736 /usr/local/X11R4/include
13738 /usr/local/include/X11
13739 /usr/local/include/X11R7
13740 /usr/local/include/X11R6
13741 /usr/local/include/X11R5
13742 /usr/local/include/X11R4
13744 /opt/X11/include
13746 /usr/X386/include
13747 /usr/x386/include
13748 /usr/XFree86/include/X11
13750 /usr/include
13751 /usr/local/include
13752 /usr/unsupported/include
13753 /usr/athena/include
13754 /usr/local/x11r5/include
13755 /usr/lpp/Xamples/include
13757 /usr/openwin/include
13758 /usr/openwin/share/include'
13760 if test "$ac_x_includes" = no; then
13761 # Guess where to find include files, by looking for Xlib.h.
13762 # First, try using that file with no special directory specified.
13763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h. */
13765 #include <X11/Xlib.h>
13766 _ACEOF
13767 if ac_fn_c_try_cpp "$LINENO"
13768 then :
13769 # We can compile using X headers with no special include directory.
13770 ac_x_includes=
13771 else $as_nop
13772 for ac_dir in $ac_x_header_dirs; do
13773 if test -r "$ac_dir/X11/Xlib.h"; then
13774 ac_x_includes=$ac_dir
13775 break
13777 done
13779 rm -f conftest.err conftest.i conftest.$ac_ext
13780 fi # $ac_x_includes = no
13782 if test "$ac_x_libraries" = no; then
13783 # Check for the libraries.
13784 # See if we find them without any special options.
13785 # Don't add to $LIBS permanently.
13786 ac_save_LIBS=$LIBS
13787 LIBS="-lX11 $LIBS"
13788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13789 /* end confdefs.h. */
13790 #include <X11/Xlib.h>
13792 main (void)
13794 XrmInitialize ()
13796 return 0;
13798 _ACEOF
13799 if ac_fn_c_try_link "$LINENO"
13800 then :
13801 LIBS=$ac_save_LIBS
13802 # We can link X programs with no special library path.
13803 ac_x_libraries=
13804 else $as_nop
13805 LIBS=$ac_save_LIBS
13806 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13808 # Don't even attempt the hair of trying to link an X program!
13809 for ac_extension in a so sl dylib la dll; do
13810 if test -r "$ac_dir/libX11.$ac_extension"; then
13811 ac_x_libraries=$ac_dir
13812 break 2
13814 done
13815 done
13817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13818 conftest$ac_exeext conftest.$ac_ext
13819 fi # $ac_x_libraries = no
13822 # Record the results.
13823 case $ac_x_includes,$ac_x_libraries in #(
13824 no,* | *,no | *\'*) :
13825 # Didn't find X, or a directory has "'" in its name.
13826 ac_cv_have_x="have_x=no" ;; #(
13827 *) :
13828 # Record where we found X for the cache.
13829 ac_cv_have_x="have_x=yes\
13830 ac_x_includes='$ac_x_includes'\
13831 ac_x_libraries='$ac_x_libraries'" ;;
13832 esac
13834 ;; #(
13835 *) have_x=yes;;
13836 esac
13837 eval "$ac_cv_have_x"
13838 fi # $with_x != no
13840 if test "$have_x" != yes; then
13841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13842 printf "%s\n" "$have_x" >&6; }
13843 no_x=yes
13844 else
13845 # If each of the values was on the command line, it overrides each guess.
13846 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13847 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13848 # Update the cache value to reflect the command line values.
13849 ac_cv_have_x="have_x=yes\
13850 ac_x_includes='$x_includes'\
13851 ac_x_libraries='$x_libraries'"
13852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13853 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13856 if test "$no_x" = yes; then
13857 # Not all programs may use this symbol, but it does not hurt to define it.
13859 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13861 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13862 else
13863 if test -n "$x_includes"; then
13864 X_CFLAGS="$X_CFLAGS -I$x_includes"
13867 # It would also be nice to do this for all -L options, not just this one.
13868 if test -n "$x_libraries"; then
13869 X_LIBS="$X_LIBS -L$x_libraries"
13870 # For Solaris; some versions of Sun CC require a space after -R and
13871 # others require no space. Words are not sufficient . . . .
13872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13873 printf %s "checking whether -R must be followed by a space... " >&6; }
13874 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13875 ac_xsave_c_werror_flag=$ac_c_werror_flag
13876 ac_c_werror_flag=yes
13877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13881 main (void)
13885 return 0;
13887 _ACEOF
13888 if ac_fn_c_try_link "$LINENO"
13889 then :
13890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13891 printf "%s\n" "no" >&6; }
13892 X_LIBS="$X_LIBS -R$x_libraries"
13893 else $as_nop
13894 LIBS="$ac_xsave_LIBS -R $x_libraries"
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13899 main (void)
13903 return 0;
13905 _ACEOF
13906 if ac_fn_c_try_link "$LINENO"
13907 then :
13908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13909 printf "%s\n" "yes" >&6; }
13910 X_LIBS="$X_LIBS -R $x_libraries"
13911 else $as_nop
13912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13913 printf "%s\n" "neither works" >&6; }
13915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13916 conftest$ac_exeext conftest.$ac_ext
13918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13919 conftest$ac_exeext conftest.$ac_ext
13920 ac_c_werror_flag=$ac_xsave_c_werror_flag
13921 LIBS=$ac_xsave_LIBS
13924 # Check for system-dependent libraries X programs must link with.
13925 # Do this before checking for the system-independent R6 libraries
13926 # (-lICE), since we may need -lsocket or whatever for X linking.
13928 if test "$ISC" = yes; then
13929 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13930 else
13931 # Martyn Johnson says this is needed for Ultrix, if the X
13932 # libraries were built with DECnet support. And Karl Berry says
13933 # the Alpha needs dnet_stub (dnet does not exist).
13934 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13936 /* end confdefs.h. */
13938 /* Override any GCC internal prototype to avoid an error.
13939 Use char because int might match the return type of a GCC
13940 builtin and then its argument prototype would still apply. */
13941 char XOpenDisplay ();
13943 main (void)
13945 return XOpenDisplay ();
13947 return 0;
13949 _ACEOF
13950 if ac_fn_c_try_link "$LINENO"
13951 then :
13953 else $as_nop
13954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13955 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13956 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13957 then :
13958 printf %s "(cached) " >&6
13959 else $as_nop
13960 ac_check_lib_save_LIBS=$LIBS
13961 LIBS="-ldnet $LIBS"
13962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13965 /* Override any GCC internal prototype to avoid an error.
13966 Use char because int might match the return type of a GCC
13967 builtin and then its argument prototype would still apply. */
13968 char dnet_ntoa ();
13970 main (void)
13972 return dnet_ntoa ();
13974 return 0;
13976 _ACEOF
13977 if ac_fn_c_try_link "$LINENO"
13978 then :
13979 ac_cv_lib_dnet_dnet_ntoa=yes
13980 else $as_nop
13981 ac_cv_lib_dnet_dnet_ntoa=no
13983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13984 conftest$ac_exeext conftest.$ac_ext
13985 LIBS=$ac_check_lib_save_LIBS
13987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13988 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13989 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13990 then :
13991 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13994 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13996 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13997 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13998 then :
13999 printf %s "(cached) " >&6
14000 else $as_nop
14001 ac_check_lib_save_LIBS=$LIBS
14002 LIBS="-ldnet_stub $LIBS"
14003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14006 /* Override any GCC internal prototype to avoid an error.
14007 Use char because int might match the return type of a GCC
14008 builtin and then its argument prototype would still apply. */
14009 char dnet_ntoa ();
14011 main (void)
14013 return dnet_ntoa ();
14015 return 0;
14017 _ACEOF
14018 if ac_fn_c_try_link "$LINENO"
14019 then :
14020 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14021 else $as_nop
14022 ac_cv_lib_dnet_stub_dnet_ntoa=no
14024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14025 conftest$ac_exeext conftest.$ac_ext
14026 LIBS=$ac_check_lib_save_LIBS
14028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14029 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14030 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14031 then :
14032 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14038 conftest$ac_exeext conftest.$ac_ext
14039 LIBS="$ac_xsave_LIBS"
14041 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14042 # to get the SysV transport functions.
14043 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14044 # needs -lnsl.
14045 # The nsl library prevents programs from opening the X display
14046 # on Irix 5.2, according to T.E. Dickey.
14047 # The functions gethostbyname, getservbyname, and inet_addr are
14048 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14049 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14050 if test "x$ac_cv_func_gethostbyname" = xyes
14051 then :
14055 if test $ac_cv_func_gethostbyname = no; then
14056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14057 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14058 if test ${ac_cv_lib_nsl_gethostbyname+y}
14059 then :
14060 printf %s "(cached) " >&6
14061 else $as_nop
14062 ac_check_lib_save_LIBS=$LIBS
14063 LIBS="-lnsl $LIBS"
14064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14065 /* end confdefs.h. */
14067 /* Override any GCC internal prototype to avoid an error.
14068 Use char because int might match the return type of a GCC
14069 builtin and then its argument prototype would still apply. */
14070 char gethostbyname ();
14072 main (void)
14074 return gethostbyname ();
14076 return 0;
14078 _ACEOF
14079 if ac_fn_c_try_link "$LINENO"
14080 then :
14081 ac_cv_lib_nsl_gethostbyname=yes
14082 else $as_nop
14083 ac_cv_lib_nsl_gethostbyname=no
14085 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14086 conftest$ac_exeext conftest.$ac_ext
14087 LIBS=$ac_check_lib_save_LIBS
14089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14090 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14091 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14092 then :
14093 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14096 if test $ac_cv_lib_nsl_gethostbyname = no; then
14097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14098 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14099 if test ${ac_cv_lib_bsd_gethostbyname+y}
14100 then :
14101 printf %s "(cached) " >&6
14102 else $as_nop
14103 ac_check_lib_save_LIBS=$LIBS
14104 LIBS="-lbsd $LIBS"
14105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14108 /* Override any GCC internal prototype to avoid an error.
14109 Use char because int might match the return type of a GCC
14110 builtin and then its argument prototype would still apply. */
14111 char gethostbyname ();
14113 main (void)
14115 return gethostbyname ();
14117 return 0;
14119 _ACEOF
14120 if ac_fn_c_try_link "$LINENO"
14121 then :
14122 ac_cv_lib_bsd_gethostbyname=yes
14123 else $as_nop
14124 ac_cv_lib_bsd_gethostbyname=no
14126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14127 conftest$ac_exeext conftest.$ac_ext
14128 LIBS=$ac_check_lib_save_LIBS
14130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14131 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14132 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14133 then :
14134 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14140 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14141 # socket/setsockopt and other routines are undefined under SCO ODT
14142 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14143 # on later versions), says Simon Leinen: it contains gethostby*
14144 # variants that don't use the name server (or something). -lsocket
14145 # must be given before -lnsl if both are needed. We assume that
14146 # if connect needs -lnsl, so does gethostbyname.
14147 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14148 if test "x$ac_cv_func_connect" = xyes
14149 then :
14153 if test $ac_cv_func_connect = no; then
14154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14155 printf %s "checking for connect in -lsocket... " >&6; }
14156 if test ${ac_cv_lib_socket_connect+y}
14157 then :
14158 printf %s "(cached) " >&6
14159 else $as_nop
14160 ac_check_lib_save_LIBS=$LIBS
14161 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h. */
14165 /* Override any GCC internal prototype to avoid an error.
14166 Use char because int might match the return type of a GCC
14167 builtin and then its argument prototype would still apply. */
14168 char connect ();
14170 main (void)
14172 return connect ();
14174 return 0;
14176 _ACEOF
14177 if ac_fn_c_try_link "$LINENO"
14178 then :
14179 ac_cv_lib_socket_connect=yes
14180 else $as_nop
14181 ac_cv_lib_socket_connect=no
14183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14184 conftest$ac_exeext conftest.$ac_ext
14185 LIBS=$ac_check_lib_save_LIBS
14187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14188 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14189 if test "x$ac_cv_lib_socket_connect" = xyes
14190 then :
14191 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14196 # Guillermo Gomez says -lposix is necessary on A/UX.
14197 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14198 if test "x$ac_cv_func_remove" = xyes
14199 then :
14203 if test $ac_cv_func_remove = no; then
14204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14205 printf %s "checking for remove in -lposix... " >&6; }
14206 if test ${ac_cv_lib_posix_remove+y}
14207 then :
14208 printf %s "(cached) " >&6
14209 else $as_nop
14210 ac_check_lib_save_LIBS=$LIBS
14211 LIBS="-lposix $LIBS"
14212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14215 /* Override any GCC internal prototype to avoid an error.
14216 Use char because int might match the return type of a GCC
14217 builtin and then its argument prototype would still apply. */
14218 char remove ();
14220 main (void)
14222 return remove ();
14224 return 0;
14226 _ACEOF
14227 if ac_fn_c_try_link "$LINENO"
14228 then :
14229 ac_cv_lib_posix_remove=yes
14230 else $as_nop
14231 ac_cv_lib_posix_remove=no
14233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14234 conftest$ac_exeext conftest.$ac_ext
14235 LIBS=$ac_check_lib_save_LIBS
14237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14238 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14239 if test "x$ac_cv_lib_posix_remove" = xyes
14240 then :
14241 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14246 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14247 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14248 if test "x$ac_cv_func_shmat" = xyes
14249 then :
14253 if test $ac_cv_func_shmat = no; then
14254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14255 printf %s "checking for shmat in -lipc... " >&6; }
14256 if test ${ac_cv_lib_ipc_shmat+y}
14257 then :
14258 printf %s "(cached) " >&6
14259 else $as_nop
14260 ac_check_lib_save_LIBS=$LIBS
14261 LIBS="-lipc $LIBS"
14262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14263 /* end confdefs.h. */
14265 /* Override any GCC internal prototype to avoid an error.
14266 Use char because int might match the return type of a GCC
14267 builtin and then its argument prototype would still apply. */
14268 char shmat ();
14270 main (void)
14272 return shmat ();
14274 return 0;
14276 _ACEOF
14277 if ac_fn_c_try_link "$LINENO"
14278 then :
14279 ac_cv_lib_ipc_shmat=yes
14280 else $as_nop
14281 ac_cv_lib_ipc_shmat=no
14283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14284 conftest$ac_exeext conftest.$ac_ext
14285 LIBS=$ac_check_lib_save_LIBS
14287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14288 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14289 if test "x$ac_cv_lib_ipc_shmat" = xyes
14290 then :
14291 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14297 # Check for libraries that X11R6 Xt/Xaw programs need.
14298 ac_save_LDFLAGS=$LDFLAGS
14299 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14300 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14301 # check for ICE first), but we must link in the order -lSM -lICE or
14302 # we get undefined symbols. So assume we have SM if we have ICE.
14303 # These have to be linked with before -lX11, unlike the other
14304 # libraries we check for below, so use a different variable.
14305 # John Interrante, Karl Berry
14306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14307 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14308 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14309 then :
14310 printf %s "(cached) " >&6
14311 else $as_nop
14312 ac_check_lib_save_LIBS=$LIBS
14313 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14317 /* Override any GCC internal prototype to avoid an error.
14318 Use char because int might match the return type of a GCC
14319 builtin and then its argument prototype would still apply. */
14320 char IceConnectionNumber ();
14322 main (void)
14324 return IceConnectionNumber ();
14326 return 0;
14328 _ACEOF
14329 if ac_fn_c_try_link "$LINENO"
14330 then :
14331 ac_cv_lib_ICE_IceConnectionNumber=yes
14332 else $as_nop
14333 ac_cv_lib_ICE_IceConnectionNumber=no
14335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14336 conftest$ac_exeext conftest.$ac_ext
14337 LIBS=$ac_check_lib_save_LIBS
14339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14340 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14341 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14342 then :
14343 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14346 LDFLAGS=$ac_save_LDFLAGS
14351 if test "$have_x" = "yes"
14352 then
14353 ac_save_CPPFLAGS="$CPPFLAGS"
14354 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14357 printf %s "checking for -lX11... " >&6; }
14358 if test ${ac_cv_lib_soname_X11+y}
14359 then :
14360 printf %s "(cached) " >&6
14361 else $as_nop
14362 ac_check_soname_save_LIBS=$LIBS
14363 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14367 /* Override any GCC internal prototype to avoid an error.
14368 Use char because int might match the return type of a GCC
14369 builtin and then its argument prototype would still apply. */
14370 char XCreateWindow ();
14372 main (void)
14374 return XCreateWindow ();
14376 return 0;
14378 _ACEOF
14379 if ac_fn_c_try_link "$LINENO"
14380 then :
14381 case "$LIBEXT" in
14382 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14383 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'` ;;
14384 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14385 if ${ac_cv_lib_soname_X11:+false} :
14386 then :
14387 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14388 fi ;;
14389 esac
14390 else $as_nop
14391 ac_cv_lib_soname_X11=
14393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14394 conftest$ac_exeext conftest.$ac_ext
14395 LIBS=$ac_check_soname_save_LIBS
14397 if ${ac_cv_lib_soname_X11:+false} :
14398 then :
14399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14400 printf "%s\n" "not found" >&6; }
14402 else $as_nop
14403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14404 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14406 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14411 printf %s "checking for -lXext... " >&6; }
14412 if test ${ac_cv_lib_soname_Xext+y}
14413 then :
14414 printf %s "(cached) " >&6
14415 else $as_nop
14416 ac_check_soname_save_LIBS=$LIBS
14417 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h. */
14421 /* Override any GCC internal prototype to avoid an error.
14422 Use char because int might match the return type of a GCC
14423 builtin and then its argument prototype would still apply. */
14424 char XextCreateExtension ();
14426 main (void)
14428 return XextCreateExtension ();
14430 return 0;
14432 _ACEOF
14433 if ac_fn_c_try_link "$LINENO"
14434 then :
14435 case "$LIBEXT" in
14436 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14437 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'` ;;
14438 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14439 if ${ac_cv_lib_soname_Xext:+false} :
14440 then :
14441 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14442 fi ;;
14443 esac
14444 else $as_nop
14445 ac_cv_lib_soname_Xext=
14447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14448 conftest$ac_exeext conftest.$ac_ext
14449 LIBS=$ac_check_soname_save_LIBS
14451 if ${ac_cv_lib_soname_Xext:+false} :
14452 then :
14453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14454 printf "%s\n" "not found" >&6; }
14456 else $as_nop
14457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14458 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14460 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14462 X_LIBS="$X_LIBS -lXext"
14464 X_LIBS="$X_LIBS -lX11"
14466 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14467 # include <X11/Xlib.h>
14468 #endif
14469 #ifdef HAVE_X11_XUTIL_H
14470 # include <X11/Xutil.h>
14471 #endif
14473 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14474 then :
14475 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14478 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14479 # include <X11/Xlib.h>
14480 #endif
14481 #ifdef HAVE_X11_XUTIL_H
14482 # include <X11/Xutil.h>
14483 #endif
14485 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14486 then :
14487 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14490 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14491 # include <X11/Xlib.h>
14492 #endif
14493 #ifdef HAVE_X11_XUTIL_H
14494 # include <X11/Xutil.h>
14495 #endif
14497 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14498 then :
14499 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14502 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14503 # include <X11/Xlib.h>
14504 #endif
14505 #ifdef HAVE_X11_XUTIL_H
14506 # include <X11/Xutil.h>
14507 #endif
14509 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14510 then :
14511 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14514 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14515 # include <X11/Xlib.h>
14516 #endif
14517 #ifdef HAVE_X11_XUTIL_H
14518 # include <X11/Xutil.h>
14519 #endif
14521 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14522 then :
14523 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14526 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14527 # include <X11/Xlib.h>
14528 #endif
14529 #ifdef HAVE_X11_XUTIL_H
14530 # include <X11/Xutil.h>
14531 #endif
14533 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14534 then :
14535 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14538 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14539 # include <X11/Xlib.h>
14540 #endif
14541 #ifdef HAVE_X11_XUTIL_H
14542 # include <X11/Xutil.h>
14543 #endif
14545 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14546 then :
14547 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14550 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14551 # include <X11/Xlib.h>
14552 #endif
14553 #ifdef HAVE_X11_XUTIL_H
14554 # include <X11/Xutil.h>
14555 #endif
14557 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14558 then :
14559 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14562 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14563 # include <X11/Xlib.h>
14564 #endif
14565 #ifdef HAVE_X11_XUTIL_H
14566 # include <X11/Xutil.h>
14567 #endif
14569 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14570 then :
14571 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14574 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14575 # include <X11/Xlib.h>
14576 #endif
14577 #ifdef HAVE_X11_XUTIL_H
14578 # include <X11/Xutil.h>
14579 #endif
14581 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14582 then :
14583 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14586 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14587 # include <X11/Xlib.h>
14588 #endif
14589 #ifdef HAVE_X11_XUTIL_H
14590 # include <X11/Xutil.h>
14591 #endif
14593 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14594 then :
14595 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14598 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14599 # include <X11/Xlib.h>
14600 #endif
14601 #ifdef HAVE_X11_XUTIL_H
14602 # include <X11/Xutil.h>
14603 #endif
14605 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14606 then :
14607 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14610 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14611 # include <X11/Xlib.h>
14612 #endif
14613 #ifdef HAVE_X11_XUTIL_H
14614 # include <X11/Xutil.h>
14615 #endif
14617 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14618 then :
14619 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14622 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14623 # include <X11/Xlib.h>
14624 #endif
14625 #ifdef HAVE_X11_XUTIL_H
14626 # include <X11/Xutil.h>
14627 #endif
14629 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14630 then :
14631 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14634 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14635 # include <X11/Xlib.h>
14636 #endif
14637 #ifdef HAVE_X11_XUTIL_H
14638 # include <X11/Xutil.h>
14639 #endif
14641 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14642 then :
14643 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14648 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14649 then
14650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14651 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14652 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14653 then :
14654 printf %s "(cached) " >&6
14655 else $as_nop
14656 ac_check_lib_save_LIBS=$LIBS
14657 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14659 /* end confdefs.h. */
14661 /* Override any GCC internal prototype to avoid an error.
14662 Use char because int might match the return type of a GCC
14663 builtin and then its argument prototype would still apply. */
14664 char XkbQueryExtension ();
14666 main (void)
14668 return XkbQueryExtension ();
14670 return 0;
14672 _ACEOF
14673 if ac_fn_c_try_link "$LINENO"
14674 then :
14675 ac_cv_lib_X11_XkbQueryExtension=yes
14676 else $as_nop
14677 ac_cv_lib_X11_XkbQueryExtension=no
14679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14680 conftest$ac_exeext conftest.$ac_ext
14681 LIBS=$ac_check_lib_save_LIBS
14683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14684 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14685 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14686 then :
14688 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14694 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14695 then
14696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14697 printf %s "checking for -lXcursor... " >&6; }
14698 if test ${ac_cv_lib_soname_Xcursor+y}
14699 then :
14700 printf %s "(cached) " >&6
14701 else $as_nop
14702 ac_check_soname_save_LIBS=$LIBS
14703 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14705 /* end confdefs.h. */
14707 /* Override any GCC internal prototype to avoid an error.
14708 Use char because int might match the return type of a GCC
14709 builtin and then its argument prototype would still apply. */
14710 char XcursorImageLoadCursor ();
14712 main (void)
14714 return XcursorImageLoadCursor ();
14716 return 0;
14718 _ACEOF
14719 if ac_fn_c_try_link "$LINENO"
14720 then :
14721 case "$LIBEXT" in
14722 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14723 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'` ;;
14724 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14725 if ${ac_cv_lib_soname_Xcursor:+false} :
14726 then :
14727 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14728 fi ;;
14729 esac
14730 else $as_nop
14731 ac_cv_lib_soname_Xcursor=
14733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14734 conftest$ac_exeext conftest.$ac_ext
14735 LIBS=$ac_check_soname_save_LIBS
14737 if ${ac_cv_lib_soname_Xcursor:+false} :
14738 then :
14739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14740 printf "%s\n" "not found" >&6; }
14742 else $as_nop
14743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14744 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14746 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14751 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14752 then :
14753 case "x$with_xcursor" in
14754 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14755 xno) ;;
14756 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14757 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14758 esac
14762 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14763 then
14764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14765 printf %s "checking for -lXi... " >&6; }
14766 if test ${ac_cv_lib_soname_Xi+y}
14767 then :
14768 printf %s "(cached) " >&6
14769 else $as_nop
14770 ac_check_soname_save_LIBS=$LIBS
14771 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14773 /* end confdefs.h. */
14775 /* Override any GCC internal prototype to avoid an error.
14776 Use char because int might match the return type of a GCC
14777 builtin and then its argument prototype would still apply. */
14778 char XOpenDevice ();
14780 main (void)
14782 return XOpenDevice ();
14784 return 0;
14786 _ACEOF
14787 if ac_fn_c_try_link "$LINENO"
14788 then :
14789 case "$LIBEXT" in
14790 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14791 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'` ;;
14792 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14793 if ${ac_cv_lib_soname_Xi:+false} :
14794 then :
14795 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14796 fi ;;
14797 esac
14798 else $as_nop
14799 ac_cv_lib_soname_Xi=
14801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14802 conftest$ac_exeext conftest.$ac_ext
14803 LIBS=$ac_check_soname_save_LIBS
14805 if ${ac_cv_lib_soname_Xi:+false} :
14806 then :
14807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14808 printf "%s\n" "not found" >&6; }
14810 else $as_nop
14811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14812 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14814 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14819 if test "x$ac_cv_lib_soname_Xi" = "x"
14820 then :
14821 case "x$with_xinput" in
14822 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14823 xno) ;;
14824 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14825 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14826 esac
14830 if test "x$ac_cv_lib_soname_Xi" != x
14831 then
14832 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14833 then :
14834 case "x$with_xinput2" in
14835 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14836 xno) ;;
14837 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14838 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14839 esac
14844 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14845 then
14846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14847 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14848 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14849 then :
14850 printf %s "(cached) " >&6
14851 else $as_nop
14852 ac_check_lib_save_LIBS=$LIBS
14853 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14860 char XShmQueryExtension ();
14862 main (void)
14864 return XShmQueryExtension ();
14866 return 0;
14868 _ACEOF
14869 if ac_fn_c_try_link "$LINENO"
14870 then :
14871 ac_cv_lib_Xext_XShmQueryExtension=yes
14872 else $as_nop
14873 ac_cv_lib_Xext_XShmQueryExtension=no
14875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14876 conftest$ac_exeext conftest.$ac_ext
14877 LIBS=$ac_check_lib_save_LIBS
14879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14880 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14881 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14882 then :
14884 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14889 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14890 then :
14891 case "x$with_xshm" in
14892 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14893 xno) ;;
14894 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14895 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14896 esac
14900 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14901 then
14902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14903 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14904 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14905 then :
14906 printf %s "(cached) " >&6
14907 else $as_nop
14908 ac_check_lib_save_LIBS=$LIBS
14909 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14911 /* end confdefs.h. */
14913 /* Override any GCC internal prototype to avoid an error.
14914 Use char because int might match the return type of a GCC
14915 builtin and then its argument prototype would still apply. */
14916 char XShapeQueryExtension ();
14918 main (void)
14920 return XShapeQueryExtension ();
14922 return 0;
14924 _ACEOF
14925 if ac_fn_c_try_link "$LINENO"
14926 then :
14927 ac_cv_lib_Xext_XShapeQueryExtension=yes
14928 else $as_nop
14929 ac_cv_lib_Xext_XShapeQueryExtension=no
14931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14932 conftest$ac_exeext conftest.$ac_ext
14933 LIBS=$ac_check_lib_save_LIBS
14935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14936 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14937 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14938 then :
14940 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14945 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14946 then :
14947 case "x$with_xshape" in
14948 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14949 xno) ;;
14950 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14951 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14952 esac
14956 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14957 then
14958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14959 printf %s "checking for -lXxf86vm... " >&6; }
14960 if test ${ac_cv_lib_soname_Xxf86vm+y}
14961 then :
14962 printf %s "(cached) " >&6
14963 else $as_nop
14964 ac_check_soname_save_LIBS=$LIBS
14965 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14969 /* Override any GCC internal prototype to avoid an error.
14970 Use char because int might match the return type of a GCC
14971 builtin and then its argument prototype would still apply. */
14972 char XF86VidModeQueryExtension ();
14974 main (void)
14976 return XF86VidModeQueryExtension ();
14978 return 0;
14980 _ACEOF
14981 if ac_fn_c_try_link "$LINENO"
14982 then :
14983 case "$LIBEXT" in
14984 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14985 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'` ;;
14986 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14987 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14988 then :
14989 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14990 fi ;;
14991 esac
14992 else $as_nop
14993 ac_cv_lib_soname_Xxf86vm=
14995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14996 conftest$ac_exeext conftest.$ac_ext
14997 LIBS=$ac_check_soname_save_LIBS
14999 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15000 then :
15001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15002 printf "%s\n" "not found" >&6; }
15004 else $as_nop
15005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15006 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15008 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15013 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15014 then :
15015 case "x$with_xxf86vm" in
15016 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15017 xno) ;;
15018 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15019 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15020 esac
15024 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15025 then
15026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15027 printf %s "checking for -lXrender... " >&6; }
15028 if test ${ac_cv_lib_soname_Xrender+y}
15029 then :
15030 printf %s "(cached) " >&6
15031 else $as_nop
15032 ac_check_soname_save_LIBS=$LIBS
15033 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15037 /* Override any GCC internal prototype to avoid an error.
15038 Use char because int might match the return type of a GCC
15039 builtin and then its argument prototype would still apply. */
15040 char XRenderQueryExtension ();
15042 main (void)
15044 return XRenderQueryExtension ();
15046 return 0;
15048 _ACEOF
15049 if ac_fn_c_try_link "$LINENO"
15050 then :
15051 case "$LIBEXT" in
15052 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15053 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'` ;;
15054 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15055 if ${ac_cv_lib_soname_Xrender:+false} :
15056 then :
15057 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15058 fi ;;
15059 esac
15060 else $as_nop
15061 ac_cv_lib_soname_Xrender=
15063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15064 conftest$ac_exeext conftest.$ac_ext
15065 LIBS=$ac_check_soname_save_LIBS
15067 if ${ac_cv_lib_soname_Xrender:+false} :
15068 then :
15069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15070 printf "%s\n" "not found" >&6; }
15072 else $as_nop
15073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15074 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15076 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15079 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15080 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15081 then :
15082 printf %s "(cached) " >&6
15083 else $as_nop
15084 ac_check_lib_save_LIBS=$LIBS
15085 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h. */
15089 /* Override any GCC internal prototype to avoid an error.
15090 Use char because int might match the return type of a GCC
15091 builtin and then its argument prototype would still apply. */
15092 char XRenderSetPictureTransform ();
15094 main (void)
15096 return XRenderSetPictureTransform ();
15098 return 0;
15100 _ACEOF
15101 if ac_fn_c_try_link "$LINENO"
15102 then :
15103 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15104 else $as_nop
15105 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15108 conftest$ac_exeext conftest.$ac_ext
15109 LIBS=$ac_check_lib_save_LIBS
15111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15112 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15113 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15114 then :
15116 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15121 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15122 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15123 then :
15124 printf %s "(cached) " >&6
15125 else $as_nop
15126 ac_check_lib_save_LIBS=$LIBS
15127 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15131 /* Override any GCC internal prototype to avoid an error.
15132 Use char because int might match the return type of a GCC
15133 builtin and then its argument prototype would still apply. */
15134 char XRenderCreateLinearGradient ();
15136 main (void)
15138 return XRenderCreateLinearGradient ();
15140 return 0;
15142 _ACEOF
15143 if ac_fn_c_try_link "$LINENO"
15144 then :
15145 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15146 else $as_nop
15147 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15150 conftest$ac_exeext conftest.$ac_ext
15151 LIBS=$ac_check_lib_save_LIBS
15153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15154 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15155 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15156 then :
15158 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15165 if test "x$ac_cv_lib_soname_Xrender" = "x"
15166 then :
15167 case "x$with_xrender" in
15168 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15169 xno) ;;
15170 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15171 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15172 esac
15176 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15177 then
15178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15180 #include <X11/Xlib.h>
15181 #include <X11/extensions/Xrandr.h>
15183 main (void)
15185 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15187 return 0;
15189 _ACEOF
15190 if ac_fn_c_try_compile "$LINENO"
15191 then :
15192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15193 printf %s "checking for -lXrandr... " >&6; }
15194 if test ${ac_cv_lib_soname_Xrandr+y}
15195 then :
15196 printf %s "(cached) " >&6
15197 else $as_nop
15198 ac_check_soname_save_LIBS=$LIBS
15199 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 /* end confdefs.h. */
15203 /* Override any GCC internal prototype to avoid an error.
15204 Use char because int might match the return type of a GCC
15205 builtin and then its argument prototype would still apply. */
15206 char XRRQueryExtension ();
15208 main (void)
15210 return XRRQueryExtension ();
15212 return 0;
15214 _ACEOF
15215 if ac_fn_c_try_link "$LINENO"
15216 then :
15217 case "$LIBEXT" in
15218 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15219 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'` ;;
15220 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15221 if ${ac_cv_lib_soname_Xrandr:+false} :
15222 then :
15223 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15224 fi ;;
15225 esac
15226 else $as_nop
15227 ac_cv_lib_soname_Xrandr=
15229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15230 conftest$ac_exeext conftest.$ac_ext
15231 LIBS=$ac_check_soname_save_LIBS
15233 if ${ac_cv_lib_soname_Xrandr:+false} :
15234 then :
15235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15236 printf "%s\n" "not found" >&6; }
15238 else $as_nop
15239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15240 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15242 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15245 /* end confdefs.h. */
15246 #include <X11/Xlib.h>
15247 #include <X11/extensions/Xrandr.h>
15249 main (void)
15251 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15253 return 0;
15255 _ACEOF
15256 if ac_fn_c_try_compile "$LINENO"
15257 then :
15259 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15261 else $as_nop
15262 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15269 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15270 then :
15271 case "x$with_xrandr" in
15272 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15273 xno) ;;
15274 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15275 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15276 esac
15280 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15281 then
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15284 #include <X11/Xlib.h>
15285 #include <X11/extensions/Xfixes.h>
15287 main (void)
15289 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15291 return 0;
15293 _ACEOF
15294 if ac_fn_c_try_compile "$LINENO"
15295 then :
15296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15297 printf %s "checking for -lXfixes... " >&6; }
15298 if test ${ac_cv_lib_soname_Xfixes+y}
15299 then :
15300 printf %s "(cached) " >&6
15301 else $as_nop
15302 ac_check_soname_save_LIBS=$LIBS
15303 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15307 /* Override any GCC internal prototype to avoid an error.
15308 Use char because int might match the return type of a GCC
15309 builtin and then its argument prototype would still apply. */
15310 char XFixesQueryVersion ();
15312 main (void)
15314 return XFixesQueryVersion ();
15316 return 0;
15318 _ACEOF
15319 if ac_fn_c_try_link "$LINENO"
15320 then :
15321 case "$LIBEXT" in
15322 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15323 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'` ;;
15324 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15325 if ${ac_cv_lib_soname_Xfixes:+false} :
15326 then :
15327 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15328 fi ;;
15329 esac
15330 else $as_nop
15331 ac_cv_lib_soname_Xfixes=
15333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15334 conftest$ac_exeext conftest.$ac_ext
15335 LIBS=$ac_check_soname_save_LIBS
15337 if ${ac_cv_lib_soname_Xfixes:+false} :
15338 then :
15339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15340 printf "%s\n" "not found" >&6; }
15342 else $as_nop
15343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15344 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15346 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15351 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15353 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15354 then :
15355 case "x$with_xfixes" in
15356 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15357 xno) ;;
15358 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15359 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15360 esac
15364 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15365 then
15366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15367 /* end confdefs.h. */
15368 #include <X11/Xlib.h>
15369 #include <X11/extensions/Xinerama.h>
15371 main (void)
15373 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15375 return 0;
15377 _ACEOF
15378 if ac_fn_c_try_compile "$LINENO"
15379 then :
15380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15381 printf %s "checking for -lXinerama... " >&6; }
15382 if test ${ac_cv_lib_soname_Xinerama+y}
15383 then :
15384 printf %s "(cached) " >&6
15385 else $as_nop
15386 ac_check_soname_save_LIBS=$LIBS
15387 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15389 /* end confdefs.h. */
15391 /* Override any GCC internal prototype to avoid an error.
15392 Use char because int might match the return type of a GCC
15393 builtin and then its argument prototype would still apply. */
15394 char XineramaQueryScreens ();
15396 main (void)
15398 return XineramaQueryScreens ();
15400 return 0;
15402 _ACEOF
15403 if ac_fn_c_try_link "$LINENO"
15404 then :
15405 case "$LIBEXT" in
15406 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15407 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'` ;;
15408 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15409 if ${ac_cv_lib_soname_Xinerama:+false} :
15410 then :
15411 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15412 fi ;;
15413 esac
15414 else $as_nop
15415 ac_cv_lib_soname_Xinerama=
15417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15418 conftest$ac_exeext conftest.$ac_ext
15419 LIBS=$ac_check_soname_save_LIBS
15421 if ${ac_cv_lib_soname_Xinerama:+false} :
15422 then :
15423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15424 printf "%s\n" "not found" >&6; }
15426 else $as_nop
15427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15428 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15430 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15435 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15437 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15438 then :
15439 case "x$with_xinerama" in
15440 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15441 xno) ;;
15442 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15443 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15444 esac
15448 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15449 then
15450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15451 printf %s "checking for -lXcomposite... " >&6; }
15452 if test ${ac_cv_lib_soname_Xcomposite+y}
15453 then :
15454 printf %s "(cached) " >&6
15455 else $as_nop
15456 ac_check_soname_save_LIBS=$LIBS
15457 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15459 /* end confdefs.h. */
15461 /* Override any GCC internal prototype to avoid an error.
15462 Use char because int might match the return type of a GCC
15463 builtin and then its argument prototype would still apply. */
15464 char XCompositeRedirectWindow ();
15466 main (void)
15468 return XCompositeRedirectWindow ();
15470 return 0;
15472 _ACEOF
15473 if ac_fn_c_try_link "$LINENO"
15474 then :
15475 case "$LIBEXT" in
15476 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15477 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'` ;;
15478 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15479 if ${ac_cv_lib_soname_Xcomposite:+false} :
15480 then :
15481 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15482 fi ;;
15483 esac
15484 else $as_nop
15485 ac_cv_lib_soname_Xcomposite=
15487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15488 conftest$ac_exeext conftest.$ac_ext
15489 LIBS=$ac_check_soname_save_LIBS
15491 if ${ac_cv_lib_soname_Xcomposite:+false} :
15492 then :
15493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15494 printf "%s\n" "not found" >&6; }
15496 else $as_nop
15497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15498 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15500 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15505 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15506 then :
15507 case "x$with_xcomposite" in
15508 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15509 xno) ;;
15510 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15511 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15512 esac
15516 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15517 #include <X11/Xlib.h>
15518 #endif
15520 if test "x$ac_cv_member_XICCallback_callback" = xyes
15521 then :
15523 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15527 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15528 #include <X11/Xlib.h>
15529 #endif
15531 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15532 then :
15534 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15541 opengl_msg=""
15542 if test "x$with_opengl" != "xno"
15543 then
15544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15545 printf %s "checking for -lGL... " >&6; }
15546 if test ${ac_cv_lib_soname_GL+y}
15547 then :
15548 printf %s "(cached) " >&6
15549 else $as_nop
15550 ac_check_soname_save_LIBS=$LIBS
15551 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15553 /* end confdefs.h. */
15555 /* Override any GCC internal prototype to avoid an error.
15556 Use char because int might match the return type of a GCC
15557 builtin and then its argument prototype would still apply. */
15558 char glXCreateContext ();
15560 main (void)
15562 return glXCreateContext ();
15564 return 0;
15566 _ACEOF
15567 if ac_fn_c_try_link "$LINENO"
15568 then :
15569 case "$LIBEXT" in
15570 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15571 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'` ;;
15572 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15573 if ${ac_cv_lib_soname_GL:+false} :
15574 then :
15575 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15576 fi ;;
15577 esac
15578 else $as_nop
15579 ac_cv_lib_soname_GL=
15581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15582 conftest$ac_exeext conftest.$ac_ext
15583 LIBS=$ac_check_soname_save_LIBS
15585 if ${ac_cv_lib_soname_GL:+false} :
15586 then :
15587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15588 printf "%s\n" "not found" >&6; }
15589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15590 printf %s "checking for -lGL... " >&6; }
15591 if test ${ac_cv_lib_soname_GL+y}
15592 then :
15593 printf %s "(cached) " >&6
15594 else $as_nop
15595 ac_check_soname_save_LIBS=$LIBS
15596 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"
15597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15598 /* end confdefs.h. */
15600 /* Override any GCC internal prototype to avoid an error.
15601 Use char because int might match the return type of a GCC
15602 builtin and then its argument prototype would still apply. */
15603 char glXCreateContext ();
15605 main (void)
15607 return glXCreateContext ();
15609 return 0;
15611 _ACEOF
15612 if ac_fn_c_try_link "$LINENO"
15613 then :
15614 case "$LIBEXT" in
15615 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15616 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'` ;;
15617 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15618 if ${ac_cv_lib_soname_GL:+false} :
15619 then :
15620 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15621 fi ;;
15622 esac
15623 else $as_nop
15624 ac_cv_lib_soname_GL=
15626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15627 conftest$ac_exeext conftest.$ac_ext
15628 LIBS=$ac_check_soname_save_LIBS
15630 if ${ac_cv_lib_soname_GL:+false} :
15631 then :
15632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15633 printf "%s\n" "not found" >&6; }
15634 if test -f /usr/X11R6/lib/libGL.a
15635 then
15636 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15637 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15638 else
15639 opengl_msg="No OpenGL library found on this system."
15641 else $as_nop
15642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15643 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15645 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15647 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"
15649 else $as_nop
15650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15651 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15653 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15655 OPENGL_LIBS="-lGL"
15657 if test "x$with_osmesa" != "xno"
15658 then
15659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15660 printf %s "checking for -lOSMesa... " >&6; }
15661 if test ${ac_cv_lib_soname_OSMesa+y}
15662 then :
15663 printf %s "(cached) " >&6
15664 else $as_nop
15665 ac_check_soname_save_LIBS=$LIBS
15666 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15668 /* end confdefs.h. */
15670 /* Override any GCC internal prototype to avoid an error.
15671 Use char because int might match the return type of a GCC
15672 builtin and then its argument prototype would still apply. */
15673 char OSMesaGetProcAddress ();
15675 main (void)
15677 return OSMesaGetProcAddress ();
15679 return 0;
15681 _ACEOF
15682 if ac_fn_c_try_link "$LINENO"
15683 then :
15684 case "$LIBEXT" in
15685 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15686 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'` ;;
15687 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15688 if ${ac_cv_lib_soname_OSMesa:+false} :
15689 then :
15690 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15691 fi ;;
15692 esac
15693 else $as_nop
15694 ac_cv_lib_soname_OSMesa=
15696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15697 conftest$ac_exeext conftest.$ac_ext
15698 LIBS=$ac_check_soname_save_LIBS
15700 if ${ac_cv_lib_soname_OSMesa:+false} :
15701 then :
15702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15703 printf "%s\n" "not found" >&6; }
15705 else $as_nop
15706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15707 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15709 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15713 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15714 then :
15715 case "x$with_osmesa" in
15716 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15717 xno) ;;
15718 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15719 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15720 esac
15725 if test -n "$opengl_msg"
15726 then :
15727 case "x$with_opengl" in
15728 x) as_fn_append wine_warnings "|$opengl_msg
15729 OpenGL and Direct3D won't be supported." ;;
15730 xno) ;;
15731 *) as_fn_error $? "$opengl_msg
15732 OpenGL and Direct3D won't be supported.
15733 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15734 esac
15738 CPPFLAGS="$ac_save_CPPFLAGS"
15739 else
15740 X_CFLAGS=""
15741 X_LIBS=""
15744 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15745 then
15746 if test "x$X_LIBS" = "x"
15747 then :
15748 case "x$with_x" in
15749 xno) ;;
15750 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15751 without X support, which probably isn't what you want. You will need
15752 to install ${notice_platform}development packages of Xlib at the very least.
15753 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15754 esac
15755 enable_winex11_drv=${enable_winex11_drv:-no}
15757 else
15758 if test "x$X_LIBS" = "x"
15759 then :
15760 case "x$with_x" in
15761 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15762 xno) ;;
15763 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15764 This is an error since --with-x was requested." "$LINENO" 5 ;;
15765 esac
15766 enable_winex11_drv=${enable_winex11_drv:-no}
15770 if test "$ac_cv_header_CL_cl_h" = "yes"
15771 then
15772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15773 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15774 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15775 then :
15776 printf %s "(cached) " >&6
15777 else $as_nop
15778 ac_check_lib_save_LIBS=$LIBS
15779 LIBS="-lOpenCL $LIBS"
15780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15781 /* end confdefs.h. */
15783 /* Override any GCC internal prototype to avoid an error.
15784 Use char because int might match the return type of a GCC
15785 builtin and then its argument prototype would still apply. */
15786 char clGetPlatformInfo ();
15788 main (void)
15790 return clGetPlatformInfo ();
15792 return 0;
15794 _ACEOF
15795 if ac_fn_c_try_link "$LINENO"
15796 then :
15797 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15798 else $as_nop
15799 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15802 conftest$ac_exeext conftest.$ac_ext
15803 LIBS=$ac_check_lib_save_LIBS
15805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15806 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15807 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15808 then :
15809 OPENCL_LIBS="-lOpenCL"
15814 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15815 then :
15816 case "x$with_opencl" in
15817 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15818 xno) ;;
15819 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15820 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15821 esac
15822 enable_opencl=${enable_opencl:-no}
15825 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15826 then
15827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15828 printf %s "checking for pcap_create in -lpcap... " >&6; }
15829 if test ${ac_cv_lib_pcap_pcap_create+y}
15830 then :
15831 printf %s "(cached) " >&6
15832 else $as_nop
15833 ac_check_lib_save_LIBS=$LIBS
15834 LIBS="-lpcap $LIBS"
15835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15836 /* end confdefs.h. */
15838 /* Override any GCC internal prototype to avoid an error.
15839 Use char because int might match the return type of a GCC
15840 builtin and then its argument prototype would still apply. */
15841 char pcap_create ();
15843 main (void)
15845 return pcap_create ();
15847 return 0;
15849 _ACEOF
15850 if ac_fn_c_try_link "$LINENO"
15851 then :
15852 ac_cv_lib_pcap_pcap_create=yes
15853 else $as_nop
15854 ac_cv_lib_pcap_pcap_create=no
15856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15857 conftest$ac_exeext conftest.$ac_ext
15858 LIBS=$ac_check_lib_save_LIBS
15860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15861 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15862 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15863 then :
15864 PCAP_LIBS="-lpcap"
15869 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15870 then :
15871 case "x$with_pcap" in
15872 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15873 xno) ;;
15874 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15875 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15876 esac
15877 enable_wpcap=${enable_wpcap:-no}
15880 if test "x$with_inotify" != "xno"
15881 then
15882 if ${INOTIFY_CFLAGS:+false} :
15883 then :
15884 if test ${PKG_CONFIG+y}
15885 then :
15886 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15890 if ${INOTIFY_LIBS:+false} :
15891 then :
15892 if test ${PKG_CONFIG+y}
15893 then :
15894 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15900 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15901 ac_save_CPPFLAGS=$CPPFLAGS
15902 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15903 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15904 if test "x$ac_cv_header_sys_inotify_h" = xyes
15905 then :
15906 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15911 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15912 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15913 then :
15914 printf %s "(cached) " >&6
15915 else $as_nop
15916 ac_check_lib_save_LIBS=$LIBS
15917 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15919 /* end confdefs.h. */
15921 /* Override any GCC internal prototype to avoid an error.
15922 Use char because int might match the return type of a GCC
15923 builtin and then its argument prototype would still apply. */
15924 char inotify_add_watch ();
15926 main (void)
15928 return inotify_add_watch ();
15930 return 0;
15932 _ACEOF
15933 if ac_fn_c_try_link "$LINENO"
15934 then :
15935 ac_cv_lib_inotify_inotify_add_watch=yes
15936 else $as_nop
15937 ac_cv_lib_inotify_inotify_add_watch=no
15939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15940 conftest$ac_exeext conftest.$ac_ext
15941 LIBS=$ac_check_lib_save_LIBS
15943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15944 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15945 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15946 then :
15948 else $as_nop
15949 INOTIFY_LIBS=""
15952 CPPFLAGS=$ac_save_CPPFLAGS
15955 if test "$ac_cv_header_sys_inotify_h" != "yes"
15956 then :
15957 case "x$with_inotify" in
15958 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15959 xno) ;;
15960 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15961 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15962 esac
15966 if test "x$with_dbus" != "xno"
15967 then
15968 if ${DBUS_CFLAGS:+false} :
15969 then :
15970 if test ${PKG_CONFIG+y}
15971 then :
15972 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15976 if ${DBUS_LIBS:+false} :
15977 then :
15978 if test ${PKG_CONFIG+y}
15979 then :
15980 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15987 ac_save_CPPFLAGS=$CPPFLAGS
15988 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15989 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15990 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15991 then :
15992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15993 printf %s "checking for -ldbus-1... " >&6; }
15994 if test ${ac_cv_lib_soname_dbus_1+y}
15995 then :
15996 printf %s "(cached) " >&6
15997 else $as_nop
15998 ac_check_soname_save_LIBS=$LIBS
15999 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16001 /* end confdefs.h. */
16003 /* Override any GCC internal prototype to avoid an error.
16004 Use char because int might match the return type of a GCC
16005 builtin and then its argument prototype would still apply. */
16006 char dbus_connection_close ();
16008 main (void)
16010 return dbus_connection_close ();
16012 return 0;
16014 _ACEOF
16015 if ac_fn_c_try_link "$LINENO"
16016 then :
16017 case "$LIBEXT" in
16018 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16019 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'` ;;
16020 *) 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'`
16021 if ${ac_cv_lib_soname_dbus_1:+false} :
16022 then :
16023 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16024 fi ;;
16025 esac
16026 else $as_nop
16027 ac_cv_lib_soname_dbus_1=
16029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16030 conftest$ac_exeext conftest.$ac_ext
16031 LIBS=$ac_check_soname_save_LIBS
16033 if ${ac_cv_lib_soname_dbus_1:+false} :
16034 then :
16035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16036 printf "%s\n" "not found" >&6; }
16037 DBUS_CFLAGS=""
16038 else $as_nop
16039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16040 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16042 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16046 else $as_nop
16047 DBUS_CFLAGS=""
16050 CPPFLAGS=$ac_save_CPPFLAGS
16053 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16054 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16055 then :
16056 case "x$with_dbus" in
16057 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16058 xno) ;;
16059 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16060 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16061 esac
16065 if test "x$with_gnutls" != "xno"
16066 then
16067 if ${GNUTLS_CFLAGS:+false} :
16068 then :
16069 if test ${PKG_CONFIG+y}
16070 then :
16071 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16075 if ${GNUTLS_LIBS:+false} :
16076 then :
16077 if test ${PKG_CONFIG+y}
16078 then :
16079 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16083 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16086 ac_save_CPPFLAGS=$CPPFLAGS
16087 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16088 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16089 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16090 then :
16091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16092 /* end confdefs.h. */
16093 #include <gnutls/gnutls.h>
16094 #include <gnutls/crypto.h>
16096 main (void)
16098 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16100 return 0;
16102 _ACEOF
16103 if ac_fn_c_try_compile "$LINENO"
16104 then :
16105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16106 printf %s "checking for -lgnutls... " >&6; }
16107 if test ${ac_cv_lib_soname_gnutls+y}
16108 then :
16109 printf %s "(cached) " >&6
16110 else $as_nop
16111 ac_check_soname_save_LIBS=$LIBS
16112 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16114 /* end confdefs.h. */
16116 /* Override any GCC internal prototype to avoid an error.
16117 Use char because int might match the return type of a GCC
16118 builtin and then its argument prototype would still apply. */
16119 char gnutls_global_init ();
16121 main (void)
16123 return gnutls_global_init ();
16125 return 0;
16127 _ACEOF
16128 if ac_fn_c_try_link "$LINENO"
16129 then :
16130 case "$LIBEXT" in
16131 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16132 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'` ;;
16133 *) 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'`
16134 if ${ac_cv_lib_soname_gnutls:+false} :
16135 then :
16136 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'`
16137 fi ;;
16138 esac
16139 else $as_nop
16140 ac_cv_lib_soname_gnutls=
16142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16143 conftest$ac_exeext conftest.$ac_ext
16144 LIBS=$ac_check_soname_save_LIBS
16146 if ${ac_cv_lib_soname_gnutls:+false} :
16147 then :
16148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16149 printf "%s\n" "not found" >&6; }
16150 GNUTLS_CFLAGS=""
16151 else $as_nop
16152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16153 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16155 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16159 ac_wine_check_funcs_save_LIBS="$LIBS"
16160 LIBS="$LIBS $GNUTLS_LIBS"
16162 for ac_func in gnutls_cipher_init
16163 do :
16164 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16165 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16166 then :
16167 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16169 else $as_nop
16170 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16173 done
16174 LIBS="$ac_wine_check_funcs_save_LIBS"
16176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16177 else $as_nop
16178 GNUTLS_CFLAGS=""
16181 CPPFLAGS=$ac_save_CPPFLAGS
16184 if test "x$ac_cv_lib_soname_gnutls" = "x"
16185 then :
16186 case "x$with_gnutls" in
16187 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16188 xno) ;;
16189 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16190 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16191 esac
16195 if test "x$with_sane" != "xno"
16196 then
16197 if ${SANE_CFLAGS:+false} :
16198 then :
16199 if test ${PKG_CONFIG+y}
16200 then :
16201 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16204 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16205 if ${SANE_LIBS:+false} :
16206 then :
16207 if test ${PKG_CONFIG+y}
16208 then :
16209 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16212 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16216 ac_save_CPPFLAGS=$CPPFLAGS
16217 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16218 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16219 if test "x$ac_cv_header_sane_sane_h" = xyes
16220 then :
16221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16222 printf %s "checking for sane_init in -lsane... " >&6; }
16223 if test ${ac_cv_lib_sane_sane_init+y}
16224 then :
16225 printf %s "(cached) " >&6
16226 else $as_nop
16227 ac_check_lib_save_LIBS=$LIBS
16228 LIBS="-lsane $SANE_LIBS $LIBS"
16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 /* end confdefs.h. */
16232 /* Override any GCC internal prototype to avoid an error.
16233 Use char because int might match the return type of a GCC
16234 builtin and then its argument prototype would still apply. */
16235 char sane_init ();
16237 main (void)
16239 return sane_init ();
16241 return 0;
16243 _ACEOF
16244 if ac_fn_c_try_link "$LINENO"
16245 then :
16246 ac_cv_lib_sane_sane_init=yes
16247 else $as_nop
16248 ac_cv_lib_sane_sane_init=no
16250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16251 conftest$ac_exeext conftest.$ac_ext
16252 LIBS=$ac_check_lib_save_LIBS
16254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16255 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16256 if test "x$ac_cv_lib_sane_sane_init" = xyes
16257 then :
16263 CPPFLAGS=$ac_save_CPPFLAGS
16266 if test "$ac_cv_lib_sane_sane_init" != "yes"
16267 then :
16268 case "x$with_sane" in
16269 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16270 xno) ;;
16271 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16272 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16273 esac
16274 enable_sane_ds=${enable_sane_ds:-no}
16277 if test "x$with_usb" != "xno"
16278 then
16279 if ${USB_CFLAGS:+false} :
16280 then :
16281 if test ${PKG_CONFIG+y}
16282 then :
16283 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16287 if ${USB_LIBS:+false} :
16288 then :
16289 if test ${PKG_CONFIG+y}
16290 then :
16291 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16295 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16298 ac_save_CPPFLAGS=$CPPFLAGS
16299 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16300 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16301 if test "x$ac_cv_header_libusb_h" = xyes
16302 then :
16303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16304 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16305 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16306 then :
16307 printf %s "(cached) " >&6
16308 else $as_nop
16309 ac_check_lib_save_LIBS=$LIBS
16310 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16312 /* end confdefs.h. */
16314 /* Override any GCC internal prototype to avoid an error.
16315 Use char because int might match the return type of a GCC
16316 builtin and then its argument prototype would still apply. */
16317 char libusb_interrupt_event_handler ();
16319 main (void)
16321 return libusb_interrupt_event_handler ();
16323 return 0;
16325 _ACEOF
16326 if ac_fn_c_try_link "$LINENO"
16327 then :
16328 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16329 else $as_nop
16330 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16333 conftest$ac_exeext conftest.$ac_ext
16334 LIBS=$ac_check_lib_save_LIBS
16336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16337 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16338 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16339 then :
16341 else $as_nop
16342 USB_LIBS=""
16345 else $as_nop
16346 USB_LIBS=""
16349 CPPFLAGS=$ac_save_CPPFLAGS
16352 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16353 then :
16354 case "x$with_usb" in
16355 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16356 xno) ;;
16357 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16358 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16359 esac
16360 enable_wineusb_sys=${enable_wineusb_sys:-no}
16363 if test "x$with_v4l2" != "xno"
16364 then
16365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16366 printf %s "checking for -lv4l2... " >&6; }
16367 if test ${ac_cv_lib_soname_v4l2+y}
16368 then :
16369 printf %s "(cached) " >&6
16370 else $as_nop
16371 ac_check_soname_save_LIBS=$LIBS
16372 LIBS="-lv4l2 $LIBS"
16373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h. */
16376 /* Override any GCC internal prototype to avoid an error.
16377 Use char because int might match the return type of a GCC
16378 builtin and then its argument prototype would still apply. */
16379 char v4l2_open ();
16381 main (void)
16383 return v4l2_open ();
16385 return 0;
16387 _ACEOF
16388 if ac_fn_c_try_link "$LINENO"
16389 then :
16390 case "$LIBEXT" in
16391 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16392 dylib) ac_cv_lib_soname_v4l2=`$OTOOL -L conftest$ac_exeext | grep "libv4l2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16393 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16394 if ${ac_cv_lib_soname_v4l2:+false} :
16395 then :
16396 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16397 fi ;;
16398 esac
16399 else $as_nop
16400 ac_cv_lib_soname_v4l2=
16402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16403 conftest$ac_exeext conftest.$ac_ext
16404 LIBS=$ac_check_soname_save_LIBS
16406 if ${ac_cv_lib_soname_v4l2:+false} :
16407 then :
16408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16409 printf "%s\n" "not found" >&6; }
16411 else $as_nop
16412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16413 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16415 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16420 if test "x$ac_cv_lib_soname_v4l2" = "x"
16421 then :
16422 case "x$with_v4l2" in
16423 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16424 xno) ;;
16425 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16426 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16427 esac
16431 if test "x$with_gphoto" != "xno"
16432 then
16433 if ${GPHOTO2_CFLAGS:+false} :
16434 then :
16435 if test ${PKG_CONFIG+y}
16436 then :
16437 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16440 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16441 if ${GPHOTO2_LIBS:+false} :
16442 then :
16443 if test ${PKG_CONFIG+y}
16444 then :
16445 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16448 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16449 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16452 ac_save_CPPFLAGS=$CPPFLAGS
16453 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16454 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16455 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16456 then :
16457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16458 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16459 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16460 then :
16461 printf %s "(cached) " >&6
16462 else $as_nop
16463 ac_check_lib_save_LIBS=$LIBS
16464 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16466 /* end confdefs.h. */
16468 /* Override any GCC internal prototype to avoid an error.
16469 Use char because int might match the return type of a GCC
16470 builtin and then its argument prototype would still apply. */
16471 char gp_camera_new ();
16473 main (void)
16475 return gp_camera_new ();
16477 return 0;
16479 _ACEOF
16480 if ac_fn_c_try_link "$LINENO"
16481 then :
16482 ac_cv_lib_gphoto2_gp_camera_new=yes
16483 else $as_nop
16484 ac_cv_lib_gphoto2_gp_camera_new=no
16486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16487 conftest$ac_exeext conftest.$ac_ext
16488 LIBS=$ac_check_lib_save_LIBS
16490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16491 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16492 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16493 then :
16499 CPPFLAGS=$ac_save_CPPFLAGS
16501 if ${GPHOTO2_PORT_CFLAGS:+false} :
16502 then :
16503 if test ${PKG_CONFIG+y}
16504 then :
16505 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16508 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16509 if ${GPHOTO2_PORT_LIBS:+false} :
16510 then :
16511 if test ${PKG_CONFIG+y}
16512 then :
16513 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16516 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16517 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16520 ac_save_CPPFLAGS=$CPPFLAGS
16521 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16522 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16523 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16524 then :
16525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16526 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16527 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16528 then :
16529 printf %s "(cached) " >&6
16530 else $as_nop
16531 ac_check_lib_save_LIBS=$LIBS
16532 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16534 /* end confdefs.h. */
16536 /* Override any GCC internal prototype to avoid an error.
16537 Use char because int might match the return type of a GCC
16538 builtin and then its argument prototype would still apply. */
16539 char gp_port_info_list_new ();
16541 main (void)
16543 return gp_port_info_list_new ();
16545 return 0;
16547 _ACEOF
16548 if ac_fn_c_try_link "$LINENO"
16549 then :
16550 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16551 else $as_nop
16552 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16555 conftest$ac_exeext conftest.$ac_ext
16556 LIBS=$ac_check_lib_save_LIBS
16558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16559 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16560 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16561 then :
16563 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16565 else $as_nop
16566 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16569 else $as_nop
16570 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16573 CPPFLAGS=$ac_save_CPPFLAGS
16576 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16577 then :
16578 case "x$with_gphoto" in
16579 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16580 xno) ;;
16581 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16582 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16583 esac
16584 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16586 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16587 then :
16588 case "x$with_gphoto" in
16589 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16590 xno) ;;
16591 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16592 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16593 esac
16598 if test "$ac_cv_header_resolv_h" = "yes"
16599 then
16600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16601 printf %s "checking for resolver library... " >&6; }
16602 if test ${ac_cv_have_resolv+y}
16603 then :
16604 printf %s "(cached) " >&6
16605 else $as_nop
16606 ac_save_LIBS="$LIBS"
16607 for lib in '' -lresolv
16609 LIBS="$lib $ac_save_LIBS"
16610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16611 /* end confdefs.h. */
16612 #ifdef HAVE_NETINET_IN_H
16613 #include <netinet/in.h>
16614 #endif
16615 #include <resolv.h>
16617 main (void)
16619 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16621 return 0;
16623 _ACEOF
16624 if ac_fn_c_try_link "$LINENO"
16625 then :
16626 ac_cv_have_resolv=${lib:-"none required"}
16627 else $as_nop
16628 ac_cv_have_resolv="not found"
16630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16631 conftest$ac_exeext conftest.$ac_ext
16632 test "x$ac_cv_have_resolv" = "xnot found" || break
16633 done
16634 LIBS="$ac_save_LIBS"
16636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16637 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16639 case "$ac_cv_have_resolv" in
16640 "not found") ;;
16641 "none required")
16643 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16646 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16648 RESOLV_LIBS=$ac_cv_have_resolv
16650 esac
16652 if test "x$ac_cv_have_resolv" != "xnot found"
16653 then
16654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16655 printf %s "checking for res_getservers... " >&6; }
16656 if test ${ac_cv_have_res_getservers+y}
16657 then :
16658 printf %s "(cached) " >&6
16659 else $as_nop
16660 ac_save_LIBS="$LIBS"
16661 LIBS="$RESOLV_LIBS $LIBS"
16662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16663 /* end confdefs.h. */
16664 #include <resolv.h>
16666 main (void)
16668 res_getservers(NULL, NULL, 0);
16670 return 0;
16672 _ACEOF
16673 if ac_fn_c_try_link "$LINENO"
16674 then :
16675 ac_cv_have_res_getservers=yes
16676 else $as_nop
16677 ac_cv_have_res_getservers=no
16679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16680 conftest$ac_exeext conftest.$ac_ext
16681 LIBS="$ac_save_LIBS"
16683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16684 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16685 if test "$ac_cv_have_res_getservers" = "yes"
16686 then
16688 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16694 if test "x$with_freetype" != "xno"
16695 then
16696 if ${FREETYPE_CFLAGS:+false} :
16697 then :
16698 if test ${PKG_CONFIG+y}
16699 then :
16700 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16703 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16704 if ${FREETYPE_LIBS:+false} :
16705 then :
16706 if test ${PKG_CONFIG+y}
16707 then :
16708 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16711 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16712 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16715 ac_save_CPPFLAGS=$CPPFLAGS
16716 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16717 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16718 if test "x$ac_cv_header_ft2build_h" = xyes
16719 then :
16720 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16724 if test "$ac_cv_header_ft2build_h" = "yes"
16725 then
16726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16727 printf %s "checking for -lfreetype... " >&6; }
16728 if test ${ac_cv_lib_soname_freetype+y}
16729 then :
16730 printf %s "(cached) " >&6
16731 else $as_nop
16732 ac_check_soname_save_LIBS=$LIBS
16733 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16735 /* end confdefs.h. */
16737 /* Override any GCC internal prototype to avoid an error.
16738 Use char because int might match the return type of a GCC
16739 builtin and then its argument prototype would still apply. */
16740 char FT_Init_FreeType ();
16742 main (void)
16744 return FT_Init_FreeType ();
16746 return 0;
16748 _ACEOF
16749 if ac_fn_c_try_link "$LINENO"
16750 then :
16751 case "$LIBEXT" in
16752 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16753 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'` ;;
16754 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16755 if ${ac_cv_lib_soname_freetype:+false} :
16756 then :
16757 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16758 fi ;;
16759 esac
16760 else $as_nop
16761 ac_cv_lib_soname_freetype=
16763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16764 conftest$ac_exeext conftest.$ac_ext
16765 LIBS=$ac_check_soname_save_LIBS
16767 if ${ac_cv_lib_soname_freetype:+false} :
16768 then :
16769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16770 printf "%s\n" "not found" >&6; }
16771 FREETYPE_LIBS=""
16772 else $as_nop
16773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16774 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16776 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16779 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16781 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16782 #include FT_MODULE_H
16784 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16785 then :
16787 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16793 else
16794 FREETYPE_CFLAGS=""
16795 FREETYPE_LIBS=""
16797 CPPFLAGS=$ac_save_CPPFLAGS
16800 if test "x$ac_cv_lib_soname_freetype" = x
16801 then :
16802 case "x$with_freetype" in
16803 xno) ;;
16804 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16805 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16806 esac
16807 enable_fonts=${enable_fonts:-no}
16810 ac_wine_check_funcs_save_LIBS="$LIBS"
16811 LIBS="$LIBS $PTHREAD_LIBS"
16812 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16813 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16814 then :
16815 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16819 LIBS="$ac_wine_check_funcs_save_LIBS"
16821 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16822 then
16823 if test "$ac_cv_header_gettext_po_h" = "yes"
16824 then
16825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16826 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16827 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16828 then :
16829 printf %s "(cached) " >&6
16830 else $as_nop
16831 ac_check_lib_save_LIBS=$LIBS
16832 LIBS="-lgettextpo $LIBS"
16833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16834 /* end confdefs.h. */
16836 /* Override any GCC internal prototype to avoid an error.
16837 Use char because int might match the return type of a GCC
16838 builtin and then its argument prototype would still apply. */
16839 char po_message_msgctxt ();
16841 main (void)
16843 return po_message_msgctxt ();
16845 return 0;
16847 _ACEOF
16848 if ac_fn_c_try_link "$LINENO"
16849 then :
16850 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16851 else $as_nop
16852 ac_cv_lib_gettextpo_po_message_msgctxt=no
16854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16855 conftest$ac_exeext conftest.$ac_ext
16856 LIBS=$ac_check_lib_save_LIBS
16858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16859 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16860 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16861 then :
16863 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16865 GETTEXTPO_LIBS="-lgettextpo"
16870 if test "x$GETTEXTPO_LIBS" = "x"
16871 then :
16872 case "x$with_gettextpo" in
16873 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16874 xno) ;;
16875 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16876 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16877 esac
16880 if test "$srcdir" != .
16881 then :
16882 case "x$with_gettextpo" in
16883 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16884 xno) ;;
16885 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16886 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16887 esac
16892 if test "x$with_pulse" != "xno";
16893 then
16894 if ${PULSE_CFLAGS:+false} :
16895 then :
16896 if test ${PKG_CONFIG+y}
16897 then :
16898 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16902 if ${PULSE_LIBS:+false} :
16903 then :
16904 if test ${PKG_CONFIG+y}
16905 then :
16906 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16912 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16913 ac_save_CPPFLAGS=$CPPFLAGS
16914 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16915 for ac_header in pulse/pulseaudio.h
16916 do :
16917 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16918 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16919 then :
16920 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16922 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16923 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16924 then :
16925 printf %s "(cached) " >&6
16926 else $as_nop
16927 ac_check_lib_save_LIBS=$LIBS
16928 LIBS="-lpulse $PULSE_LIBS $LIBS"
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16932 /* Override any GCC internal prototype to avoid an error.
16933 Use char because int might match the return type of a GCC
16934 builtin and then its argument prototype would still apply. */
16935 char pa_stream_is_corked ();
16937 main (void)
16939 return pa_stream_is_corked ();
16941 return 0;
16943 _ACEOF
16944 if ac_fn_c_try_link "$LINENO"
16945 then :
16946 ac_cv_lib_pulse_pa_stream_is_corked=yes
16947 else $as_nop
16948 ac_cv_lib_pulse_pa_stream_is_corked=no
16950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16951 conftest$ac_exeext conftest.$ac_ext
16952 LIBS=$ac_check_lib_save_LIBS
16954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16955 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16956 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16957 then :
16959 else $as_nop
16960 PULSE_LIBS=""
16963 else $as_nop
16964 PULSE_LIBS=""
16967 done
16968 CPPFLAGS=$ac_save_CPPFLAGS
16971 if test -z "$PULSE_LIBS"
16972 then :
16973 case "x$with_pulse" in
16974 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16975 xno) ;;
16976 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16977 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16978 esac
16979 enable_winepulse_drv=${enable_winepulse_drv:-no}
16982 if test "x$with_gstreamer" != "xno"
16983 then
16984 if ${GSTREAMER_CFLAGS:+false} :
16985 then :
16986 if test ${PKG_CONFIG+y}
16987 then :
16988 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16992 if ${GSTREAMER_LIBS:+false} :
16993 then :
16994 if test ${PKG_CONFIG+y}
16995 then :
16996 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17003 ac_save_CPPFLAGS=$CPPFLAGS
17004 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17005 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17006 if test "x$ac_cv_header_gst_gst_h" = xyes
17007 then :
17008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17009 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17011 /* end confdefs.h. */
17012 #include <gst/gst.h>
17014 main (void)
17016 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17018 return 0;
17020 _ACEOF
17021 if ac_fn_c_try_compile "$LINENO"
17022 then :
17023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17024 printf "%s\n" "yes" >&6; }
17025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17026 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17027 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17028 then :
17029 printf %s "(cached) " >&6
17030 else $as_nop
17031 ac_check_lib_save_LIBS=$LIBS
17032 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17036 /* Override any GCC internal prototype to avoid an error.
17037 Use char because int might match the return type of a GCC
17038 builtin and then its argument prototype would still apply. */
17039 char gst_pad_new ();
17041 main (void)
17043 return gst_pad_new ();
17045 return 0;
17047 _ACEOF
17048 if ac_fn_c_try_link "$LINENO"
17049 then :
17050 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17051 else $as_nop
17052 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17055 conftest$ac_exeext conftest.$ac_ext
17056 LIBS=$ac_check_lib_save_LIBS
17058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17059 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17060 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17061 then :
17065 else $as_nop
17066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17067 printf "%s\n" "no" >&6; }
17068 ac_glib2_broken=yes
17069 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17074 CPPFLAGS=$ac_save_CPPFLAGS
17077 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17078 then :
17079 case "x$with_gstreamer" in
17080 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17081 xno) ;;
17082 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17083 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17084 esac
17085 enable_winegstreamer=${enable_winegstreamer:-no}
17088 ALSA_LIBS=""
17090 if test "x$with_alsa" != "xno"
17091 then
17092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17093 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17094 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17095 then :
17096 printf %s "(cached) " >&6
17097 else $as_nop
17098 ac_check_lib_save_LIBS=$LIBS
17099 LIBS="-lasound $LIBS"
17100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17101 /* end confdefs.h. */
17103 /* Override any GCC internal prototype to avoid an error.
17104 Use char because int might match the return type of a GCC
17105 builtin and then its argument prototype would still apply. */
17106 char snd_pcm_hw_params_get_access_mask ();
17108 main (void)
17110 return snd_pcm_hw_params_get_access_mask ();
17112 return 0;
17114 _ACEOF
17115 if ac_fn_c_try_link "$LINENO"
17116 then :
17117 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17118 else $as_nop
17119 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17122 conftest$ac_exeext conftest.$ac_ext
17123 LIBS=$ac_check_lib_save_LIBS
17125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17126 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17127 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17128 then :
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17131 #include <alsa/asoundlib.h>
17133 main (void)
17135 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17137 return 0;
17139 _ACEOF
17140 if ac_fn_c_try_compile "$LINENO"
17141 then :
17142 ALSA_LIBS="-lasound"
17144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17148 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17150 if test "x$with_oss" != xno
17151 then
17152 ac_save_CPPFLAGS="$CPPFLAGS"
17153 if test -f /etc/oss.conf
17154 then
17155 . /etc/oss.conf
17157 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17158 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17159 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17160 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17161 then :
17162 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17164 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17165 then :
17167 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17169 OSS4_CFLAGS="$ac_oss_incl"
17171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17172 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17173 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17174 then :
17175 printf %s "(cached) " >&6
17176 else $as_nop
17177 ac_check_lib_save_LIBS=$LIBS
17178 LIBS="-lossaudio $LIBS"
17179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17182 /* Override any GCC internal prototype to avoid an error.
17183 Use char because int might match the return type of a GCC
17184 builtin and then its argument prototype would still apply. */
17185 char _oss_ioctl ();
17187 main (void)
17189 return _oss_ioctl ();
17191 return 0;
17193 _ACEOF
17194 if ac_fn_c_try_link "$LINENO"
17195 then :
17196 ac_cv_lib_ossaudio__oss_ioctl=yes
17197 else $as_nop
17198 ac_cv_lib_ossaudio__oss_ioctl=no
17200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17201 conftest$ac_exeext conftest.$ac_ext
17202 LIBS=$ac_check_lib_save_LIBS
17204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17205 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17206 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17207 then :
17208 OSS4_LIBS="-lossaudio"
17216 CPPFLAGS="$ac_save_CPPFLAGS"
17218 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17219 then :
17220 case "x$with_oss" in
17221 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17222 xno) ;;
17223 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17224 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17225 esac
17226 enable_wineoss_drv=${enable_wineoss_drv:-no}
17229 if test "x$with_udev" != "xno"
17230 then
17231 if ${UDEV_CFLAGS:+false} :
17232 then :
17233 if test ${PKG_CONFIG+y}
17234 then :
17235 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17239 if ${UDEV_LIBS:+false} :
17240 then :
17241 if test ${PKG_CONFIG+y}
17242 then :
17243 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17247 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17250 ac_save_CPPFLAGS=$CPPFLAGS
17251 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17252 for ac_header in libudev.h
17253 do :
17254 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17255 if test "x$ac_cv_header_libudev_h" = xyes
17256 then :
17257 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17259 printf %s "checking for udev_new in -ludev... " >&6; }
17260 if test ${ac_cv_lib_udev_udev_new+y}
17261 then :
17262 printf %s "(cached) " >&6
17263 else $as_nop
17264 ac_check_lib_save_LIBS=$LIBS
17265 LIBS="-ludev $UDEV_LIBS $LIBS"
17266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17267 /* end confdefs.h. */
17269 /* Override any GCC internal prototype to avoid an error.
17270 Use char because int might match the return type of a GCC
17271 builtin and then its argument prototype would still apply. */
17272 char udev_new ();
17274 main (void)
17276 return udev_new ();
17278 return 0;
17280 _ACEOF
17281 if ac_fn_c_try_link "$LINENO"
17282 then :
17283 ac_cv_lib_udev_udev_new=yes
17284 else $as_nop
17285 ac_cv_lib_udev_udev_new=no
17287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17288 conftest$ac_exeext conftest.$ac_ext
17289 LIBS=$ac_check_lib_save_LIBS
17291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17292 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17293 if test "x$ac_cv_lib_udev_udev_new" = xyes
17294 then :
17296 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17298 else $as_nop
17299 UDEV_LIBS=""
17302 else $as_nop
17303 UDEV_LIBS=""
17306 done
17307 CPPFLAGS=$ac_save_CPPFLAGS
17310 if test "x$UDEV_LIBS" = "x"
17311 then :
17312 case "x$with_udev" in
17313 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17314 xno) ;;
17315 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17316 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17317 esac
17321 if test "x$with_unwind" != xno
17322 then
17323 if ${UNWIND_CFLAGS:+false} :
17324 then :
17325 if test ${PKG_CONFIG+y}
17326 then :
17327 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17331 if ${UNWIND_LIBS:+false} :
17332 then :
17333 if test ${PKG_CONFIG+y}
17334 then :
17335 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17339 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17342 ac_save_CPPFLAGS=$CPPFLAGS
17343 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17345 printf %s "checking for unw_step... " >&6; }
17346 if test ${wine_cv_have_unw_step+y}
17347 then :
17348 printf %s "(cached) " >&6
17349 else $as_nop
17350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17351 /* end confdefs.h. */
17352 #define UNW_LOCAL_ONLY
17353 #include <libunwind.h>
17355 main (void)
17357 unw_cursor_t cursor; unw_step( &cursor );
17359 return 0;
17361 _ACEOF
17362 if ac_fn_c_try_link "$LINENO"
17363 then :
17364 wine_cv_have_unw_step="yes"
17365 else $as_nop
17366 wine_cv_have_unw_step="no"
17368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17369 conftest$ac_exeext conftest.$ac_ext
17371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17372 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17373 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17374 then
17375 save_libs=$LIBS
17376 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17377 LIBS="$UNWIND_LIBS $LIBS"
17378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17379 printf %s "checking for unw_step in libunwind... " >&6; }
17380 if test ${wine_cv_have_libunwind_unw_step+y}
17381 then :
17382 printf %s "(cached) " >&6
17383 else $as_nop
17384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h. */
17386 #define UNW_LOCAL_ONLY
17387 #include <libunwind.h>
17389 main (void)
17391 unw_cursor_t cursor; unw_step( &cursor );
17393 return 0;
17395 _ACEOF
17396 if ac_fn_c_try_link "$LINENO"
17397 then :
17398 wine_cv_have_libunwind_unw_step="yes"
17399 else $as_nop
17400 wine_cv_have_libunwind_unw_step="no"
17402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17403 conftest$ac_exeext conftest.$ac_ext
17405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17406 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17407 LIBS=$save_libs
17409 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17410 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17411 then
17413 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17416 CPPFLAGS=$ac_save_CPPFLAGS
17419 case $host in
17420 aarch64*|*-darwin*)
17421 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17422 then :
17423 case "x$with_unwind" in
17424 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17425 xno) ;;
17426 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17427 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17428 esac
17430 fi ;;
17431 esac
17433 if test "x$with_sdl" != "xno"
17434 then
17435 if ${SDL2_CFLAGS:+false} :
17436 then :
17437 if test ${PKG_CONFIG+y}
17438 then :
17439 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17443 if ${SDL2_LIBS:+false} :
17444 then :
17445 if test ${PKG_CONFIG+y}
17446 then :
17447 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17451 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17452 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17454 ac_save_CPPFLAGS=$CPPFLAGS
17455 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17456 for ac_header in SDL.h
17457 do :
17458 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17459 if test "x$ac_cv_header_SDL_h" = xyes
17460 then :
17461 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17463 printf %s "checking for -lSDL2... " >&6; }
17464 if test ${ac_cv_lib_soname_SDL2+y}
17465 then :
17466 printf %s "(cached) " >&6
17467 else $as_nop
17468 ac_check_soname_save_LIBS=$LIBS
17469 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17471 /* end confdefs.h. */
17473 /* Override any GCC internal prototype to avoid an error.
17474 Use char because int might match the return type of a GCC
17475 builtin and then its argument prototype would still apply. */
17476 char SDL_Init ();
17478 main (void)
17480 return SDL_Init ();
17482 return 0;
17484 _ACEOF
17485 if ac_fn_c_try_link "$LINENO"
17486 then :
17487 case "$LIBEXT" in
17488 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17489 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'` ;;
17490 *) 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'`
17491 if ${ac_cv_lib_soname_SDL2:+false} :
17492 then :
17493 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17494 fi ;;
17495 esac
17496 else $as_nop
17497 ac_cv_lib_soname_SDL2=
17499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17500 conftest$ac_exeext conftest.$ac_ext
17501 LIBS=$ac_check_soname_save_LIBS
17503 if ${ac_cv_lib_soname_SDL2:+false} :
17504 then :
17505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17506 printf "%s\n" "not found" >&6; }
17508 else $as_nop
17509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17510 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17512 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17518 done
17519 CPPFLAGS=$ac_save_CPPFLAGS
17522 if test "x$ac_cv_lib_soname_SDL2" = "x"
17523 then :
17524 case "x$with_sdl" in
17525 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17526 xno) ;;
17527 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17528 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17529 esac
17533 if test "x$with_capi" != "xno"
17534 then
17535 if ${CAPI20_CFLAGS:+false} :
17536 then :
17537 if test ${PKG_CONFIG+y}
17538 then :
17539 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17543 if ${CAPI20_LIBS:+false} :
17544 then :
17545 if test ${PKG_CONFIG+y}
17546 then :
17547 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17554 ac_save_CPPFLAGS=$CPPFLAGS
17555 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17556 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17558 if test "x$ac_cv_header_capi20_h" = xyes
17559 then :
17560 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17563 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17565 if test "x$ac_cv_header_linux_capi_h" = xyes
17566 then :
17567 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17571 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17572 then
17573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17574 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17575 if test ${ac_cv_lib_capi20_capi20_register+y}
17576 then :
17577 printf %s "(cached) " >&6
17578 else $as_nop
17579 ac_check_lib_save_LIBS=$LIBS
17580 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17582 /* end confdefs.h. */
17584 /* Override any GCC internal prototype to avoid an error.
17585 Use char because int might match the return type of a GCC
17586 builtin and then its argument prototype would still apply. */
17587 char capi20_register ();
17589 main (void)
17591 return capi20_register ();
17593 return 0;
17595 _ACEOF
17596 if ac_fn_c_try_link "$LINENO"
17597 then :
17598 ac_cv_lib_capi20_capi20_register=yes
17599 else $as_nop
17600 ac_cv_lib_capi20_capi20_register=no
17602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17603 conftest$ac_exeext conftest.$ac_ext
17604 LIBS=$ac_check_lib_save_LIBS
17606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17607 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17608 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17609 then :
17611 else $as_nop
17612 CAPI20_LIBS=""
17616 CPPFLAGS=$ac_save_CPPFLAGS
17619 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
17620 then :
17621 case "x$with_capi" in
17622 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17623 xno) ;;
17624 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17625 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17626 esac
17627 enable_capi2032=${enable_capi2032:-no}
17630 if test "x$with_cups" != "xno"
17631 then
17632 if ${CUPS_CFLAGS:+false} :
17633 then :
17634 if test ${PKG_CONFIG+y}
17635 then :
17636 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17639 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17640 if ${CUPS_LIBS:+false} :
17641 then :
17642 if test ${PKG_CONFIG+y}
17643 then :
17644 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17647 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17648 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17651 ac_save_CPPFLAGS=$CPPFLAGS
17652 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17653 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17654 if test "x$ac_cv_header_cups_cups_h" = xyes
17655 then :
17656 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17659 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17660 if test "x$ac_cv_header_cups_ppd_h" = xyes
17661 then :
17662 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17666 if test "$ac_cv_header_cups_cups_h" = "yes"
17667 then
17668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17669 printf %s "checking for -lcups... " >&6; }
17670 if test ${ac_cv_lib_soname_cups+y}
17671 then :
17672 printf %s "(cached) " >&6
17673 else $as_nop
17674 ac_check_soname_save_LIBS=$LIBS
17675 LIBS="-lcups $CUPS_LIBS $LIBS"
17676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17677 /* end confdefs.h. */
17679 /* Override any GCC internal prototype to avoid an error.
17680 Use char because int might match the return type of a GCC
17681 builtin and then its argument prototype would still apply. */
17682 char cupsGetDefault ();
17684 main (void)
17686 return cupsGetDefault ();
17688 return 0;
17690 _ACEOF
17691 if ac_fn_c_try_link "$LINENO"
17692 then :
17693 case "$LIBEXT" in
17694 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17695 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'` ;;
17696 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17697 if ${ac_cv_lib_soname_cups:+false} :
17698 then :
17699 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17700 fi ;;
17701 esac
17702 else $as_nop
17703 ac_cv_lib_soname_cups=
17705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17706 conftest$ac_exeext conftest.$ac_ext
17707 LIBS=$ac_check_soname_save_LIBS
17709 if ${ac_cv_lib_soname_cups:+false} :
17710 then :
17711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17712 printf "%s\n" "not found" >&6; }
17713 CUPS_LIBS=""
17714 else $as_nop
17715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17716 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17718 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17722 else
17723 CUPS_CFLAGS=""
17724 CUPS_LIBS=""
17726 CPPFLAGS=$ac_save_CPPFLAGS
17729 if test "x$ac_cv_lib_soname_cups" = "x"
17730 then :
17731 case "x$with_cups" in
17732 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17733 xno) ;;
17734 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17735 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17736 esac
17740 if test "x$with_fontconfig" != "xno"
17741 then
17742 if ${FONTCONFIG_CFLAGS:+false} :
17743 then :
17744 if test ${PKG_CONFIG+y}
17745 then :
17746 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17749 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17750 if ${FONTCONFIG_LIBS:+false} :
17751 then :
17752 if test ${PKG_CONFIG+y}
17753 then :
17754 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17757 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17759 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17760 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17761 ac_save_CPPFLAGS=$CPPFLAGS
17762 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17763 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17764 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17765 then :
17766 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17770 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17771 then
17772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17773 printf %s "checking for -lfontconfig... " >&6; }
17774 if test ${ac_cv_lib_soname_fontconfig+y}
17775 then :
17776 printf %s "(cached) " >&6
17777 else $as_nop
17778 ac_check_soname_save_LIBS=$LIBS
17779 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h. */
17783 /* Override any GCC internal prototype to avoid an error.
17784 Use char because int might match the return type of a GCC
17785 builtin and then its argument prototype would still apply. */
17786 char FcInit ();
17788 main (void)
17790 return FcInit ();
17792 return 0;
17794 _ACEOF
17795 if ac_fn_c_try_link "$LINENO"
17796 then :
17797 case "$LIBEXT" in
17798 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17799 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'` ;;
17800 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17801 if ${ac_cv_lib_soname_fontconfig:+false} :
17802 then :
17803 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17804 fi ;;
17805 esac
17806 else $as_nop
17807 ac_cv_lib_soname_fontconfig=
17809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17810 conftest$ac_exeext conftest.$ac_ext
17811 LIBS=$ac_check_soname_save_LIBS
17813 if ${ac_cv_lib_soname_fontconfig:+false} :
17814 then :
17815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17816 printf "%s\n" "not found" >&6; }
17817 FONTCONFIG_CFLAGS=""
17818 else $as_nop
17819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17820 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17822 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17826 else
17827 FONTCONFIG_CFLAGS=""
17829 CPPFLAGS=$ac_save_CPPFLAGS
17832 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17833 then :
17834 case "x$with_fontconfig" in
17835 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17836 xno) ;;
17837 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17838 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17839 esac
17843 if test "x$with_krb5" != "xno"
17844 then
17845 if ${KRB5_CFLAGS:+false} :
17846 then :
17847 if test ${PKG_CONFIG+y}
17848 then :
17849 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17852 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17853 if ${KRB5_LIBS:+false} :
17854 then :
17855 if test ${PKG_CONFIG+y}
17856 then :
17857 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17860 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17864 ac_save_CPPFLAGS=$CPPFLAGS
17865 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17866 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17867 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17868 then :
17869 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17873 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17874 then
17875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17876 printf %s "checking for -lkrb5... " >&6; }
17877 if test ${ac_cv_lib_soname_krb5+y}
17878 then :
17879 printf %s "(cached) " >&6
17880 else $as_nop
17881 ac_check_soname_save_LIBS=$LIBS
17882 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17886 /* Override any GCC internal prototype to avoid an error.
17887 Use char because int might match the return type of a GCC
17888 builtin and then its argument prototype would still apply. */
17889 char krb5_is_config_principal ();
17891 main (void)
17893 return krb5_is_config_principal ();
17895 return 0;
17897 _ACEOF
17898 if ac_fn_c_try_link "$LINENO"
17899 then :
17900 case "$LIBEXT" in
17901 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17902 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'` ;;
17903 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17904 if ${ac_cv_lib_soname_krb5:+false} :
17905 then :
17906 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17907 fi ;;
17908 esac
17909 else $as_nop
17910 ac_cv_lib_soname_krb5=
17912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17913 conftest$ac_exeext conftest.$ac_ext
17914 LIBS=$ac_check_soname_save_LIBS
17916 if ${ac_cv_lib_soname_krb5:+false} :
17917 then :
17918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17919 printf "%s\n" "not found" >&6; }
17920 KRB5_CFLAGS=""
17921 else $as_nop
17922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17923 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17925 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17929 else
17930 KRB5_CFLAGS=""
17932 CPPFLAGS=$ac_save_CPPFLAGS
17935 if test "x$ac_cv_lib_soname_krb5" = "x"
17936 then :
17937 case "x$with_krb5" in
17938 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17939 xno) ;;
17940 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17941 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17942 esac
17945 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17947 if test "x$with_gssapi" != "xno"
17948 then
17949 if ${GSSAPI_CFLAGS:+false} :
17950 then :
17951 if test ${PKG_CONFIG+y}
17952 then :
17953 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17956 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17957 if ${GSSAPI_LIBS:+false} :
17958 then :
17959 if test ${PKG_CONFIG+y}
17960 then :
17961 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17964 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17968 ac_save_CPPFLAGS=$CPPFLAGS
17969 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17970 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17971 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17972 then :
17973 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17976 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17977 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17978 then :
17979 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17983 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17984 then
17985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17986 printf %s "checking for -lgssapi_krb5... " >&6; }
17987 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17988 then :
17989 printf %s "(cached) " >&6
17990 else $as_nop
17991 ac_check_soname_save_LIBS=$LIBS
17992 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h. */
17996 /* Override any GCC internal prototype to avoid an error.
17997 Use char because int might match the return type of a GCC
17998 builtin and then its argument prototype would still apply. */
17999 char gss_init_sec_context ();
18001 main (void)
18003 return gss_init_sec_context ();
18005 return 0;
18007 _ACEOF
18008 if ac_fn_c_try_link "$LINENO"
18009 then :
18010 case "$LIBEXT" in
18011 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18012 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'` ;;
18013 *) 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'`
18014 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18015 then :
18016 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18017 fi ;;
18018 esac
18019 else $as_nop
18020 ac_cv_lib_soname_gssapi_krb5=
18022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18023 conftest$ac_exeext conftest.$ac_ext
18024 LIBS=$ac_check_soname_save_LIBS
18026 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18027 then :
18028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18029 printf "%s\n" "not found" >&6; }
18030 GSSAPI_CFLAGS=""
18031 else $as_nop
18032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18033 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18035 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18039 else
18040 GSSAPI_CFLAGS=""
18042 CPPFLAGS=$ac_save_CPPFLAGS
18045 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18046 then :
18047 case "x$with_gssapi" in
18048 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18049 xno) ;;
18050 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18051 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18052 esac
18056 if test "$ac_cv_header_AL_al_h" = "yes"
18057 then
18058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18059 printf %s "checking for -lopenal... " >&6; }
18060 if test ${ac_cv_lib_soname_openal+y}
18061 then :
18062 printf %s "(cached) " >&6
18063 else $as_nop
18064 ac_check_soname_save_LIBS=$LIBS
18065 LIBS="-lopenal $LIBS"
18066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18067 /* end confdefs.h. */
18069 /* Override any GCC internal prototype to avoid an error.
18070 Use char because int might match the return type of a GCC
18071 builtin and then its argument prototype would still apply. */
18072 char alGetSource3i ();
18074 main (void)
18076 return alGetSource3i ();
18078 return 0;
18080 _ACEOF
18081 if ac_fn_c_try_link "$LINENO"
18082 then :
18083 case "$LIBEXT" in
18084 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18085 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'` ;;
18086 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18087 if ${ac_cv_lib_soname_openal:+false} :
18088 then :
18089 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18090 fi ;;
18091 esac
18092 else $as_nop
18093 ac_cv_lib_soname_openal=
18095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18096 conftest$ac_exeext conftest.$ac_ext
18097 LIBS=$ac_check_soname_save_LIBS
18099 if ${ac_cv_lib_soname_openal:+false} :
18100 then :
18101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18102 printf "%s\n" "not found" >&6; }
18104 else $as_nop
18105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18106 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18108 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18110 OPENAL_LIBS="-lopenal"
18112 ac_cv_lib_openal=yes
18114 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18118 if test "x$ac_cv_lib_openal" != xyes
18119 then :
18120 case "x$with_openal" in
18121 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18122 xno) ;;
18123 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18124 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18125 esac
18126 enable_openal32=${enable_openal32:-no}
18129 if test "$ac_cv_header_libprocstat_h" = "yes"
18130 then
18131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18132 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18133 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18134 then :
18135 printf %s "(cached) " >&6
18136 else $as_nop
18137 ac_check_lib_save_LIBS=$LIBS
18138 LIBS="-lprocstat $LIBS"
18139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18140 /* end confdefs.h. */
18142 /* Override any GCC internal prototype to avoid an error.
18143 Use char because int might match the return type of a GCC
18144 builtin and then its argument prototype would still apply. */
18145 char procstat_open_sysctl ();
18147 main (void)
18149 return procstat_open_sysctl ();
18151 return 0;
18153 _ACEOF
18154 if ac_fn_c_try_link "$LINENO"
18155 then :
18156 ac_cv_lib_procstat_procstat_open_sysctl=yes
18157 else $as_nop
18158 ac_cv_lib_procstat_procstat_open_sysctl=no
18160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18161 conftest$ac_exeext conftest.$ac_ext
18162 LIBS=$ac_check_lib_save_LIBS
18164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18165 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18166 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18167 then :
18169 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18171 PROCSTAT_LIBS="-lprocstat"
18177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18178 printf %s "checking for -lodbc... " >&6; }
18179 if test ${ac_cv_lib_soname_odbc+y}
18180 then :
18181 printf %s "(cached) " >&6
18182 else $as_nop
18183 ac_check_soname_save_LIBS=$LIBS
18184 LIBS="-lodbc $LIBS"
18185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18186 /* end confdefs.h. */
18188 /* Override any GCC internal prototype to avoid an error.
18189 Use char because int might match the return type of a GCC
18190 builtin and then its argument prototype would still apply. */
18191 char SQLConnect ();
18193 main (void)
18195 return SQLConnect ();
18197 return 0;
18199 _ACEOF
18200 if ac_fn_c_try_link "$LINENO"
18201 then :
18202 case "$LIBEXT" in
18203 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18204 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'` ;;
18205 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18206 if ${ac_cv_lib_soname_odbc:+false} :
18207 then :
18208 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18209 fi ;;
18210 esac
18211 else $as_nop
18212 ac_cv_lib_soname_odbc=
18214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18215 conftest$ac_exeext conftest.$ac_ext
18216 LIBS=$ac_check_soname_save_LIBS
18218 if ${ac_cv_lib_soname_odbc:+false} :
18219 then :
18220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18221 printf "%s\n" "not found" >&6; }
18222 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18224 else $as_nop
18225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18226 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18228 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18233 if test "x$with_netapi" != "xno"
18234 then
18235 if ${NETAPI_CFLAGS:+false} :
18236 then :
18237 if test ${PKG_CONFIG+y}
18238 then :
18239 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18243 if ${NETAPI_LIBS:+false} :
18244 then :
18245 if test ${PKG_CONFIG+y}
18246 then :
18247 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18252 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18254 ac_save_CPPFLAGS=$CPPFLAGS
18255 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18257 printf %s "checking for -lnetapi... " >&6; }
18258 if test ${ac_cv_lib_soname_netapi+y}
18259 then :
18260 printf %s "(cached) " >&6
18261 else $as_nop
18262 ac_check_soname_save_LIBS=$LIBS
18263 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18265 /* end confdefs.h. */
18267 /* Override any GCC internal prototype to avoid an error.
18268 Use char because int might match the return type of a GCC
18269 builtin and then its argument prototype would still apply. */
18270 char libnetapi_init ();
18272 main (void)
18274 return libnetapi_init ();
18276 return 0;
18278 _ACEOF
18279 if ac_fn_c_try_link "$LINENO"
18280 then :
18281 case "$LIBEXT" in
18282 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18283 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'` ;;
18284 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18285 if ${ac_cv_lib_soname_netapi:+false} :
18286 then :
18287 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18288 fi ;;
18289 esac
18290 else $as_nop
18291 ac_cv_lib_soname_netapi=
18293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18294 conftest$ac_exeext conftest.$ac_ext
18295 LIBS=$ac_check_soname_save_LIBS
18297 if ${ac_cv_lib_soname_netapi:+false} :
18298 then :
18299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18300 printf "%s\n" "not found" >&6; }
18301 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18303 else $as_nop
18304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18305 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18307 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18311 CPPFLAGS=$ac_save_CPPFLAGS
18314 if test "x$ac_cv_lib_soname_netapi" = "x"
18315 then :
18316 case "x$with_netapi" in
18317 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18318 xno) ;;
18319 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18320 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18321 esac
18322 enable_netapi=${enable_netapi:-no}
18326 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18327 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18328 then
18329 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18332 if test "x$with_vulkan" != "xno"
18333 then
18334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18335 printf %s "checking for -lvulkan... " >&6; }
18336 if test ${ac_cv_lib_soname_vulkan+y}
18337 then :
18338 printf %s "(cached) " >&6
18339 else $as_nop
18340 ac_check_soname_save_LIBS=$LIBS
18341 LIBS="-lvulkan $LIBS"
18342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18343 /* end confdefs.h. */
18345 /* Override any GCC internal prototype to avoid an error.
18346 Use char because int might match the return type of a GCC
18347 builtin and then its argument prototype would still apply. */
18348 char vkGetInstanceProcAddr ();
18350 main (void)
18352 return vkGetInstanceProcAddr ();
18354 return 0;
18356 _ACEOF
18357 if ac_fn_c_try_link "$LINENO"
18358 then :
18359 case "$LIBEXT" in
18360 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18361 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'` ;;
18362 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18363 if ${ac_cv_lib_soname_vulkan:+false} :
18364 then :
18365 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18366 fi ;;
18367 esac
18368 else $as_nop
18369 ac_cv_lib_soname_vulkan=
18371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18372 conftest$ac_exeext conftest.$ac_ext
18373 LIBS=$ac_check_soname_save_LIBS
18375 if ${ac_cv_lib_soname_vulkan:+false} :
18376 then :
18377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18378 printf "%s\n" "not found" >&6; }
18380 else $as_nop
18381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18382 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18384 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18388 if test "x$ac_cv_lib_soname_vulkan" = "x"
18389 then
18390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18391 printf %s "checking for -lMoltenVK... " >&6; }
18392 if test ${ac_cv_lib_soname_MoltenVK+y}
18393 then :
18394 printf %s "(cached) " >&6
18395 else $as_nop
18396 ac_check_soname_save_LIBS=$LIBS
18397 LIBS="-lMoltenVK $LIBS"
18398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h. */
18401 /* Override any GCC internal prototype to avoid an error.
18402 Use char because int might match the return type of a GCC
18403 builtin and then its argument prototype would still apply. */
18404 char vkGetInstanceProcAddr ();
18406 main (void)
18408 return vkGetInstanceProcAddr ();
18410 return 0;
18412 _ACEOF
18413 if ac_fn_c_try_link "$LINENO"
18414 then :
18415 case "$LIBEXT" in
18416 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18417 dylib) ac_cv_lib_soname_MoltenVK=`$OTOOL -L conftest$ac_exeext | grep "libMoltenVK\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libMoltenVK\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18418 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18419 if ${ac_cv_lib_soname_MoltenVK:+false} :
18420 then :
18421 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18422 fi ;;
18423 esac
18424 else $as_nop
18425 ac_cv_lib_soname_MoltenVK=
18427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18428 conftest$ac_exeext conftest.$ac_ext
18429 LIBS=$ac_check_soname_save_LIBS
18431 if ${ac_cv_lib_soname_MoltenVK:+false} :
18432 then :
18433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18434 printf "%s\n" "not found" >&6; }
18436 else $as_nop
18437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18438 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18440 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18446 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18447 then :
18448 case "x$with_vulkan" in
18449 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18450 xno) ;;
18451 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18452 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18453 esac
18457 if test "x$with_vkd3d" != "xno"
18458 then
18459 if ${VKD3D_CFLAGS:+false} :
18460 then :
18461 if test ${PKG_CONFIG+y}
18462 then :
18463 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
18467 if ${VKD3D_LIBS:+false} :
18468 then :
18469 if test ${PKG_CONFIG+y}
18470 then :
18471 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
18476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
18477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
18478 ac_save_CPPFLAGS=$CPPFLAGS
18479 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
18480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
18481 printf %s "checking for -lvkd3d... " >&6; }
18482 if test ${ac_cv_lib_soname_vkd3d+y}
18483 then :
18484 printf %s "(cached) " >&6
18485 else $as_nop
18486 ac_check_soname_save_LIBS=$LIBS
18487 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
18488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18489 /* end confdefs.h. */
18491 /* Override any GCC internal prototype to avoid an error.
18492 Use char because int might match the return type of a GCC
18493 builtin and then its argument prototype would still apply. */
18494 char vkd3d_serialize_versioned_root_signature ();
18496 main (void)
18498 return vkd3d_serialize_versioned_root_signature ();
18500 return 0;
18502 _ACEOF
18503 if ac_fn_c_try_link "$LINENO"
18504 then :
18505 case "$LIBEXT" in
18506 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18507 dylib) ac_cv_lib_soname_vkd3d=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18508 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18509 if ${ac_cv_lib_soname_vkd3d:+false} :
18510 then :
18511 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18512 fi ;;
18513 esac
18514 else $as_nop
18515 ac_cv_lib_soname_vkd3d=
18517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18518 conftest$ac_exeext conftest.$ac_ext
18519 LIBS=$ac_check_soname_save_LIBS
18521 if ${ac_cv_lib_soname_vkd3d:+false} :
18522 then :
18523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18524 printf "%s\n" "not found" >&6; }
18526 else $as_nop
18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
18528 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
18530 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
18534 CPPFLAGS=$ac_save_CPPFLAGS
18536 if ${VKD3D_SHADER_CFLAGS:+false} :
18537 then :
18538 if test ${PKG_CONFIG+y}
18539 then :
18540 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
18544 if ${VKD3D_SHADER_LIBS:+false} :
18545 then :
18546 if test ${PKG_CONFIG+y}
18547 then :
18548 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
18553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
18554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
18555 ac_save_CPPFLAGS=$CPPFLAGS
18556 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
18557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
18558 printf %s "checking for -lvkd3d-shader... " >&6; }
18559 if test ${ac_cv_lib_soname_vkd3d_shader+y}
18560 then :
18561 printf %s "(cached) " >&6
18562 else $as_nop
18563 ac_check_soname_save_LIBS=$LIBS
18564 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
18565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18566 /* end confdefs.h. */
18568 /* Override any GCC internal prototype to avoid an error.
18569 Use char because int might match the return type of a GCC
18570 builtin and then its argument prototype would still apply. */
18571 char vkd3d_shader_compile ();
18573 main (void)
18575 return vkd3d_shader_compile ();
18577 return 0;
18579 _ACEOF
18580 if ac_fn_c_try_link "$LINENO"
18581 then :
18582 case "$LIBEXT" in
18583 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18584 dylib) ac_cv_lib_soname_vkd3d_shader=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d-shader\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d-shader\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18585 *) ac_cv_lib_soname_vkd3d_shader=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d-shader\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18586 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18587 then :
18588 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18589 fi ;;
18590 esac
18591 else $as_nop
18592 ac_cv_lib_soname_vkd3d_shader=
18594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18595 conftest$ac_exeext conftest.$ac_ext
18596 LIBS=$ac_check_soname_save_LIBS
18598 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18599 then :
18600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18601 printf "%s\n" "not found" >&6; }
18603 else $as_nop
18604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
18605 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
18607 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
18611 CPPFLAGS=$ac_save_CPPFLAGS
18614 if test "x$ac_cv_lib_soname_vkd3d" = "x"
18615 then :
18616 case "x$with_vkd3d" in
18617 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
18618 xno) ;;
18619 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
18620 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
18621 esac
18624 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
18627 if test "x${GCC}" = "xyes"
18628 then
18629 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18631 saved_CFLAGS=$CFLAGS
18632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18633 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18634 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18635 then :
18636 printf %s "(cached) " >&6
18637 else $as_nop
18638 ac_wine_try_cflags_saved=$CFLAGS
18639 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18641 /* end confdefs.h. */
18642 int main(int argc, char **argv) { return 0; }
18643 _ACEOF
18644 if ac_fn_c_try_link "$LINENO"
18645 then :
18646 ac_cv_cflags__Werror_unknown_warning_option=yes
18647 else $as_nop
18648 ac_cv_cflags__Werror_unknown_warning_option=no
18650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18651 conftest$ac_exeext conftest.$ac_ext
18652 CFLAGS=$ac_wine_try_cflags_saved
18654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18655 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18656 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18657 then :
18658 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18661 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18662 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18663 then :
18664 printf %s "(cached) " >&6
18665 else $as_nop
18666 ac_wine_try_cflags_saved=$CFLAGS
18667 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18669 /* end confdefs.h. */
18670 int main(int argc, char **argv) { return 0; }
18671 _ACEOF
18672 if ac_fn_c_try_link "$LINENO"
18673 then :
18674 ac_cv_cflags__Werror_unused_command_line_argument=yes
18675 else $as_nop
18676 ac_cv_cflags__Werror_unused_command_line_argument=no
18678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18679 conftest$ac_exeext conftest.$ac_ext
18680 CFLAGS=$ac_wine_try_cflags_saved
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18683 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18684 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18685 then :
18686 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18689 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18690 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18691 then :
18692 printf %s "(cached) " >&6
18693 else $as_nop
18694 ac_wine_try_cflags_saved=$CFLAGS
18695 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18697 /* end confdefs.h. */
18698 int main(int argc, char **argv) { return 0; }
18699 _ACEOF
18700 if ac_fn_c_try_link "$LINENO"
18701 then :
18702 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18703 else $as_nop
18704 ac_cv_cflags__Werror_ignored_optimization_argument=no
18706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18707 conftest$ac_exeext conftest.$ac_ext
18708 CFLAGS=$ac_wine_try_cflags_saved
18710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18711 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18712 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18713 then :
18714 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18717 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18718 if test ${ac_cv_cflags__fcf_protection_none+y}
18719 then :
18720 printf %s "(cached) " >&6
18721 else $as_nop
18722 ac_wine_try_cflags_saved=$CFLAGS
18723 CFLAGS="$CFLAGS -fcf-protection=none"
18724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18725 /* end confdefs.h. */
18726 int main(int argc, char **argv) { return 0; }
18727 _ACEOF
18728 if ac_fn_c_try_link "$LINENO"
18729 then :
18730 ac_cv_cflags__fcf_protection_none=yes
18731 else $as_nop
18732 ac_cv_cflags__fcf_protection_none=no
18734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18735 conftest$ac_exeext conftest.$ac_ext
18736 CFLAGS=$ac_wine_try_cflags_saved
18738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18739 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18740 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18741 then :
18742 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18745 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18746 if test ${ac_cv_cflags__fno_stack_protector+y}
18747 then :
18748 printf %s "(cached) " >&6
18749 else $as_nop
18750 ac_wine_try_cflags_saved=$CFLAGS
18751 CFLAGS="$CFLAGS -fno-stack-protector"
18752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18753 /* end confdefs.h. */
18754 int main(int argc, char **argv) { return 0; }
18755 _ACEOF
18756 if ac_fn_c_try_link "$LINENO"
18757 then :
18758 ac_cv_cflags__fno_stack_protector=yes
18759 else $as_nop
18760 ac_cv_cflags__fno_stack_protector=no
18762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18763 conftest$ac_exeext conftest.$ac_ext
18764 CFLAGS=$ac_wine_try_cflags_saved
18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18767 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18768 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18769 then :
18770 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18773 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18774 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18775 then :
18776 printf %s "(cached) " >&6
18777 else $as_nop
18778 ac_wine_try_cflags_saved=$CFLAGS
18779 CFLAGS="$CFLAGS -fno-strict-aliasing"
18780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18781 /* end confdefs.h. */
18782 int main(int argc, char **argv) { return 0; }
18783 _ACEOF
18784 if ac_fn_c_try_link "$LINENO"
18785 then :
18786 ac_cv_cflags__fno_strict_aliasing=yes
18787 else $as_nop
18788 ac_cv_cflags__fno_strict_aliasing=no
18790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18791 conftest$ac_exeext conftest.$ac_ext
18792 CFLAGS=$ac_wine_try_cflags_saved
18794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18795 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18796 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18797 then :
18798 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18801 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18802 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18803 then :
18804 printf %s "(cached) " >&6
18805 else $as_nop
18806 ac_wine_try_cflags_saved=$CFLAGS
18807 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18810 int main(int argc, char **argv) { return 0; }
18811 _ACEOF
18812 if ac_fn_c_try_link "$LINENO"
18813 then :
18814 ac_cv_cflags__Wdeclaration_after_statement=yes
18815 else $as_nop
18816 ac_cv_cflags__Wdeclaration_after_statement=no
18818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18819 conftest$ac_exeext conftest.$ac_ext
18820 CFLAGS=$ac_wine_try_cflags_saved
18822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18823 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18824 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18825 then :
18826 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18829 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18830 if test ${ac_cv_cflags__Wempty_body+y}
18831 then :
18832 printf %s "(cached) " >&6
18833 else $as_nop
18834 ac_wine_try_cflags_saved=$CFLAGS
18835 CFLAGS="$CFLAGS -Wempty-body"
18836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18838 int main(int argc, char **argv) { return 0; }
18839 _ACEOF
18840 if ac_fn_c_try_link "$LINENO"
18841 then :
18842 ac_cv_cflags__Wempty_body=yes
18843 else $as_nop
18844 ac_cv_cflags__Wempty_body=no
18846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18847 conftest$ac_exeext conftest.$ac_ext
18848 CFLAGS=$ac_wine_try_cflags_saved
18850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18851 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18852 if test "x$ac_cv_cflags__Wempty_body" = xyes
18853 then :
18854 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18857 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18858 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18859 then :
18860 printf %s "(cached) " >&6
18861 else $as_nop
18862 ac_wine_try_cflags_saved=$CFLAGS
18863 CFLAGS="$CFLAGS -Wignored-qualifiers"
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18866 int main(int argc, char **argv) { return 0; }
18867 _ACEOF
18868 if ac_fn_c_try_link "$LINENO"
18869 then :
18870 ac_cv_cflags__Wignored_qualifiers=yes
18871 else $as_nop
18872 ac_cv_cflags__Wignored_qualifiers=no
18874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18875 conftest$ac_exeext conftest.$ac_ext
18876 CFLAGS=$ac_wine_try_cflags_saved
18878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18879 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18880 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18881 then :
18882 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18885 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18886 if test ${ac_cv_cflags__Winit_self+y}
18887 then :
18888 printf %s "(cached) " >&6
18889 else $as_nop
18890 ac_wine_try_cflags_saved=$CFLAGS
18891 CFLAGS="$CFLAGS -Winit-self"
18892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18893 /* end confdefs.h. */
18894 int main(int argc, char **argv) { return 0; }
18895 _ACEOF
18896 if ac_fn_c_try_link "$LINENO"
18897 then :
18898 ac_cv_cflags__Winit_self=yes
18899 else $as_nop
18900 ac_cv_cflags__Winit_self=no
18902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18903 conftest$ac_exeext conftest.$ac_ext
18904 CFLAGS=$ac_wine_try_cflags_saved
18906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18907 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18908 if test "x$ac_cv_cflags__Winit_self" = xyes
18909 then :
18910 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18913 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18914 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18915 then :
18916 printf %s "(cached) " >&6
18917 else $as_nop
18918 ac_wine_try_cflags_saved=$CFLAGS
18919 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18922 int main(int argc, char **argv) { return 0; }
18923 _ACEOF
18924 if ac_fn_c_try_link "$LINENO"
18925 then :
18926 ac_cv_cflags__Wpacked_not_aligned=yes
18927 else $as_nop
18928 ac_cv_cflags__Wpacked_not_aligned=no
18930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18931 conftest$ac_exeext conftest.$ac_ext
18932 CFLAGS=$ac_wine_try_cflags_saved
18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18935 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18936 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18937 then :
18938 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18941 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18942 if test ${ac_cv_cflags__Wpragma_pack+y}
18943 then :
18944 printf %s "(cached) " >&6
18945 else $as_nop
18946 ac_wine_try_cflags_saved=$CFLAGS
18947 CFLAGS="$CFLAGS -Wpragma-pack"
18948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18949 /* end confdefs.h. */
18950 int main(int argc, char **argv) { return 0; }
18951 _ACEOF
18952 if ac_fn_c_try_link "$LINENO"
18953 then :
18954 ac_cv_cflags__Wpragma_pack=yes
18955 else $as_nop
18956 ac_cv_cflags__Wpragma_pack=no
18958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18959 conftest$ac_exeext conftest.$ac_ext
18960 CFLAGS=$ac_wine_try_cflags_saved
18962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18963 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18964 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18965 then :
18966 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18969 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18970 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18971 then :
18972 printf %s "(cached) " >&6
18973 else $as_nop
18974 ac_wine_try_cflags_saved=$CFLAGS
18975 CFLAGS="$CFLAGS -Wshift-overflow=2"
18976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18977 /* end confdefs.h. */
18978 int main(int argc, char **argv) { return 0; }
18979 _ACEOF
18980 if ac_fn_c_try_link "$LINENO"
18981 then :
18982 ac_cv_cflags__Wshift_overflow_2=yes
18983 else $as_nop
18984 ac_cv_cflags__Wshift_overflow_2=no
18986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18987 conftest$ac_exeext conftest.$ac_ext
18988 CFLAGS=$ac_wine_try_cflags_saved
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18991 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18992 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18993 then :
18994 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18997 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18998 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18999 then :
19000 printf %s "(cached) " >&6
19001 else $as_nop
19002 ac_wine_try_cflags_saved=$CFLAGS
19003 CFLAGS="$CFLAGS -Wstrict-prototypes"
19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19005 /* end confdefs.h. */
19006 int main(int argc, char **argv) { return 0; }
19007 _ACEOF
19008 if ac_fn_c_try_link "$LINENO"
19009 then :
19010 ac_cv_cflags__Wstrict_prototypes=yes
19011 else $as_nop
19012 ac_cv_cflags__Wstrict_prototypes=no
19014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19015 conftest$ac_exeext conftest.$ac_ext
19016 CFLAGS=$ac_wine_try_cflags_saved
19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19019 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19020 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19021 then :
19022 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19025 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19026 if test ${ac_cv_cflags__Wtype_limits+y}
19027 then :
19028 printf %s "(cached) " >&6
19029 else $as_nop
19030 ac_wine_try_cflags_saved=$CFLAGS
19031 CFLAGS="$CFLAGS -Wtype-limits"
19032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19033 /* end confdefs.h. */
19034 int main(int argc, char **argv) { return 0; }
19035 _ACEOF
19036 if ac_fn_c_try_link "$LINENO"
19037 then :
19038 ac_cv_cflags__Wtype_limits=yes
19039 else $as_nop
19040 ac_cv_cflags__Wtype_limits=no
19042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19043 conftest$ac_exeext conftest.$ac_ext
19044 CFLAGS=$ac_wine_try_cflags_saved
19046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19047 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19048 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19049 then :
19050 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19053 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19054 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19055 then :
19056 printf %s "(cached) " >&6
19057 else $as_nop
19058 ac_wine_try_cflags_saved=$CFLAGS
19059 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19061 /* end confdefs.h. */
19062 int main(int argc, char **argv) { return 0; }
19063 _ACEOF
19064 if ac_fn_c_try_link "$LINENO"
19065 then :
19066 ac_cv_cflags__Wunused_but_set_parameter=yes
19067 else $as_nop
19068 ac_cv_cflags__Wunused_but_set_parameter=no
19070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19071 conftest$ac_exeext conftest.$ac_ext
19072 CFLAGS=$ac_wine_try_cflags_saved
19074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19075 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19076 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19077 then :
19078 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19081 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19082 if test ${ac_cv_cflags__Wvla+y}
19083 then :
19084 printf %s "(cached) " >&6
19085 else $as_nop
19086 ac_wine_try_cflags_saved=$CFLAGS
19087 CFLAGS="$CFLAGS -Wvla"
19088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19089 /* end confdefs.h. */
19090 int main(int argc, char **argv) { return 0; }
19091 _ACEOF
19092 if ac_fn_c_try_link "$LINENO"
19093 then :
19094 ac_cv_cflags__Wvla=yes
19095 else $as_nop
19096 ac_cv_cflags__Wvla=no
19098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19099 conftest$ac_exeext conftest.$ac_ext
19100 CFLAGS=$ac_wine_try_cflags_saved
19102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19103 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19104 if test "x$ac_cv_cflags__Wvla" = xyes
19105 then :
19106 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19109 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19110 if test ${ac_cv_cflags__Wwrite_strings+y}
19111 then :
19112 printf %s "(cached) " >&6
19113 else $as_nop
19114 ac_wine_try_cflags_saved=$CFLAGS
19115 CFLAGS="$CFLAGS -Wwrite-strings"
19116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19117 /* end confdefs.h. */
19118 int main(int argc, char **argv) { return 0; }
19119 _ACEOF
19120 if ac_fn_c_try_link "$LINENO"
19121 then :
19122 ac_cv_cflags__Wwrite_strings=yes
19123 else $as_nop
19124 ac_cv_cflags__Wwrite_strings=no
19126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19127 conftest$ac_exeext conftest.$ac_ext
19128 CFLAGS=$ac_wine_try_cflags_saved
19130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19131 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19132 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19133 then :
19134 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19137 if test -z "$CROSSTARGET"
19138 then
19139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
19140 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
19141 if test ${ac_cv_cflags__fexcess_precision_standard+y}
19142 then :
19143 printf %s "(cached) " >&6
19144 else $as_nop
19145 ac_wine_try_cflags_saved=$CFLAGS
19146 CFLAGS="$CFLAGS -fexcess-precision=standard"
19147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19148 /* end confdefs.h. */
19149 int main(int argc, char **argv) { return 0; }
19150 _ACEOF
19151 if ac_fn_c_try_link "$LINENO"
19152 then :
19153 ac_cv_cflags__fexcess_precision_standard=yes
19154 else $as_nop
19155 ac_cv_cflags__fexcess_precision_standard=no
19157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19158 conftest$ac_exeext conftest.$ac_ext
19159 CFLAGS=$ac_wine_try_cflags_saved
19161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
19162 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
19163 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
19164 then :
19165 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
19170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19171 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19172 if test ${ac_cv_cflags__Wpointer_arith+y}
19173 then :
19174 printf %s "(cached) " >&6
19175 else $as_nop
19176 ac_wine_try_cflags_saved=$CFLAGS
19177 CFLAGS="$CFLAGS -Wpointer-arith"
19178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19179 /* end confdefs.h. */
19180 int main(int argc, char **argv) { return 0; }
19181 _ACEOF
19182 if ac_fn_c_try_link "$LINENO"
19183 then :
19184 ac_cv_cflags__Wpointer_arith=yes
19185 else $as_nop
19186 ac_cv_cflags__Wpointer_arith=no
19188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19189 conftest$ac_exeext conftest.$ac_ext
19190 CFLAGS=$ac_wine_try_cflags_saved
19192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19193 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19194 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19195 then :
19196 saved_string_h_CFLAGS=$CFLAGS
19197 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19199 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19200 if test ${ac_cv_c_string_h_warnings+y}
19201 then :
19202 printf %s "(cached) " >&6
19203 else $as_nop
19204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19205 /* end confdefs.h. */
19206 #include <string.h>
19208 main (void)
19212 return 0;
19214 _ACEOF
19215 if ac_fn_c_try_compile "$LINENO"
19216 then :
19217 ac_cv_c_string_h_warnings=no
19218 else $as_nop
19219 ac_cv_c_string_h_warnings=yes
19221 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19224 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19225 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19226 CFLAGS=$saved_string_h_CFLAGS
19229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19230 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19231 if test ${ac_cv_cflags__Wlogical_op+y}
19232 then :
19233 printf %s "(cached) " >&6
19234 else $as_nop
19235 ac_wine_try_cflags_saved=$CFLAGS
19236 CFLAGS="$CFLAGS -Wlogical-op"
19237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19239 int main(int argc, char **argv) { return 0; }
19240 _ACEOF
19241 if ac_fn_c_try_link "$LINENO"
19242 then :
19243 ac_cv_cflags__Wlogical_op=yes
19244 else $as_nop
19245 ac_cv_cflags__Wlogical_op=no
19247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19248 conftest$ac_exeext conftest.$ac_ext
19249 CFLAGS=$ac_wine_try_cflags_saved
19251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19252 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19253 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19254 then :
19255 saved_string_h_CFLAGS=$CFLAGS
19256 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19258 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19259 if test ${ac_cv_c_logicalop_noisy+y}
19260 then :
19261 printf %s "(cached) " >&6
19262 else $as_nop
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19265 #include <string.h>
19266 char*f(const char *h,char n) {return strchr(h,n);}
19268 main (void)
19272 return 0;
19274 _ACEOF
19275 if ac_fn_c_try_compile "$LINENO"
19276 then :
19277 ac_cv_c_logicalop_noisy=no
19278 else $as_nop
19279 ac_cv_c_logicalop_noisy=yes
19281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19284 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19285 CFLAGS=$saved_string_h_CFLAGS
19286 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19290 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19291 if test ${wine_cv_64bit_compare_swap+y}
19292 then :
19293 printf %s "(cached) " >&6
19294 else $as_nop
19295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19296 /* end confdefs.h. */
19297 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19298 #error no
19299 #endif
19301 main (void)
19305 return 0;
19307 _ACEOF
19308 if ac_fn_c_try_compile "$LINENO"
19309 then :
19310 wine_cv_64bit_compare_swap="none needed"
19311 else $as_nop
19312 case $host_cpu in
19313 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19314 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19315 *) wine_cv_64bit_compare_swap="unknown" ;;
19316 esac
19317 if test "x$wine_cv_64bit_compare_swap" != xunknown
19318 then
19319 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19321 /* end confdefs.h. */
19322 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19323 #error no
19324 #endif
19326 main (void)
19330 return 0;
19332 _ACEOF
19333 if ac_fn_c_try_compile "$LINENO"
19334 then :
19336 else $as_nop
19337 wine_cv_64bit_compare_swap="unknown"
19339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19340 CFLAGS=$saved_CFLAGS
19343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19346 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19347 case "$wine_cv_64bit_compare_swap" in
19348 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19349 "none needed") ;;
19350 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19351 esac
19353 ac_debug_format_seen=""
19354 for ac_flag in $CFLAGS; do
19355 case $ac_flag in
19356 -gdwarf*) ac_debug_format_seen=yes ;;
19357 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19358 esac
19359 done
19360 if test "x$ac_debug_format_seen" = xdefault
19361 then
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19363 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19364 if test ${ac_cv_cflags__gdwarf_4+y}
19365 then :
19366 printf %s "(cached) " >&6
19367 else $as_nop
19368 ac_wine_try_cflags_saved=$CFLAGS
19369 CFLAGS="$CFLAGS -gdwarf-4"
19370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19372 int main(int argc, char **argv) { return 0; }
19373 _ACEOF
19374 if ac_fn_c_try_link "$LINENO"
19375 then :
19376 ac_cv_cflags__gdwarf_4=yes
19377 else $as_nop
19378 ac_cv_cflags__gdwarf_4=no
19380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19381 conftest$ac_exeext conftest.$ac_ext
19382 CFLAGS=$ac_wine_try_cflags_saved
19384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19385 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19386 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19387 then :
19388 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19392 MSVCRTFLAGS=""
19394 case $host_os in
19395 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19396 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19397 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19398 then :
19399 printf %s "(cached) " >&6
19400 else $as_nop
19401 ac_wine_try_cflags_saved=$CFLAGS
19402 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19404 /* end confdefs.h. */
19405 int main(int argc, char **argv) { return 0; }
19406 _ACEOF
19407 if ac_fn_c_try_link "$LINENO"
19408 then :
19409 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19410 else $as_nop
19411 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19414 conftest$ac_exeext conftest.$ac_ext
19415 CFLAGS=$ac_wine_try_cflags_saved
19417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19418 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19419 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19420 then :
19421 DELAYLOADFLAG="-Wl,-delayload,"
19423 fi ;;
19424 *) MSVCRTFLAGS="-D_WIN32"
19425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19426 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19427 if test ${ac_cv_cflags__fno_builtin+y}
19428 then :
19429 printf %s "(cached) " >&6
19430 else $as_nop
19431 ac_wine_try_cflags_saved=$CFLAGS
19432 CFLAGS="$CFLAGS -fno-builtin"
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 int main(int argc, char **argv) { return 0; }
19436 _ACEOF
19437 if ac_fn_c_try_link "$LINENO"
19438 then :
19439 ac_cv_cflags__fno_builtin=yes
19440 else $as_nop
19441 ac_cv_cflags__fno_builtin=no
19443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19444 conftest$ac_exeext conftest.$ac_ext
19445 CFLAGS=$ac_wine_try_cflags_saved
19447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19448 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19449 if test "x$ac_cv_cflags__fno_builtin" = xyes
19450 then :
19451 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19454 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19455 if test ${ac_cv_cflags__fshort_wchar+y}
19456 then :
19457 printf %s "(cached) " >&6
19458 else $as_nop
19459 ac_wine_try_cflags_saved=$CFLAGS
19460 CFLAGS="$CFLAGS -fshort-wchar"
19461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19462 /* end confdefs.h. */
19463 int main(int argc, char **argv) { return 0; }
19464 _ACEOF
19465 if ac_fn_c_try_link "$LINENO"
19466 then :
19467 ac_cv_cflags__fshort_wchar=yes
19468 else $as_nop
19469 ac_cv_cflags__fshort_wchar=no
19471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19472 conftest$ac_exeext conftest.$ac_ext
19473 CFLAGS=$ac_wine_try_cflags_saved
19475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19476 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19477 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19478 then :
19479 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19480 fi ;;
19481 esac
19483 case $host_cpu in
19484 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19485 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19486 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19487 then :
19488 printf %s "(cached) " >&6
19489 else $as_nop
19490 ac_wine_try_cflags_saved=$CFLAGS
19491 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 int main(int argc, char **argv) { return 0; }
19495 _ACEOF
19496 if ac_fn_c_try_link "$LINENO"
19497 then :
19498 ac_cv_cflags__fno_omit_frame_pointer=yes
19499 else $as_nop
19500 ac_cv_cflags__fno_omit_frame_pointer=no
19502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19503 conftest$ac_exeext conftest.$ac_ext
19504 CFLAGS=$ac_wine_try_cflags_saved
19506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19507 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19508 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19509 then :
19510 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19511 fi ;;
19512 *x86_64*)
19513 case $host_os in
19514 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19515 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19516 if test ${ac_cv_cflags__Wno_format+y}
19517 then :
19518 printf %s "(cached) " >&6
19519 else $as_nop
19520 ac_wine_try_cflags_saved=$CFLAGS
19521 CFLAGS="$CFLAGS -Wno-format"
19522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19523 /* end confdefs.h. */
19524 int main(int argc, char **argv) { return 0; }
19525 _ACEOF
19526 if ac_fn_c_try_link "$LINENO"
19527 then :
19528 ac_cv_cflags__Wno_format=yes
19529 else $as_nop
19530 ac_cv_cflags__Wno_format=no
19532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19533 conftest$ac_exeext conftest.$ac_ext
19534 CFLAGS=$ac_wine_try_cflags_saved
19536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19537 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19538 if test "x$ac_cv_cflags__Wno_format" = xyes
19539 then :
19540 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19541 fi ;;
19542 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
19543 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
19544 if test ${ac_cv_cflags__mabi_ms+y}
19545 then :
19546 printf %s "(cached) " >&6
19547 else $as_nop
19548 ac_wine_try_cflags_saved=$CFLAGS
19549 CFLAGS="$CFLAGS -mabi=ms"
19550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19551 /* end confdefs.h. */
19552 int main(int argc, char **argv) { return 0; }
19553 _ACEOF
19554 if ac_fn_c_try_link "$LINENO"
19555 then :
19556 ac_cv_cflags__mabi_ms=yes
19557 else $as_nop
19558 ac_cv_cflags__mabi_ms=no
19560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19561 conftest$ac_exeext conftest.$ac_ext
19562 CFLAGS=$ac_wine_try_cflags_saved
19564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
19565 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
19566 if test "x$ac_cv_cflags__mabi_ms" = xyes
19567 then :
19568 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
19569 fi ;;
19570 esac ;;
19571 esac
19573 CFLAGS=$saved_CFLAGS
19575 if test "x$enable_werror" = "xyes"
19576 then
19577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19578 printf %s "checking whether the compiler supports -Werror... " >&6; }
19579 if test ${ac_cv_cflags__Werror+y}
19580 then :
19581 printf %s "(cached) " >&6
19582 else $as_nop
19583 ac_wine_try_cflags_saved=$CFLAGS
19584 CFLAGS="$CFLAGS -Werror"
19585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19586 /* end confdefs.h. */
19587 int main(int argc, char **argv) { return 0; }
19588 _ACEOF
19589 if ac_fn_c_try_link "$LINENO"
19590 then :
19591 ac_cv_cflags__Werror=yes
19592 else $as_nop
19593 ac_cv_cflags__Werror=no
19595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19596 conftest$ac_exeext conftest.$ac_ext
19597 CFLAGS=$ac_wine_try_cflags_saved
19599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19600 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19601 if test "x$ac_cv_cflags__Werror" = xyes
19602 then :
19603 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19606 if test "x$enable_build_id" = "xyes"
19607 then
19608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19609 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19610 if test ${ac_cv_cflags__Wl___build_id+y}
19611 then :
19612 printf %s "(cached) " >&6
19613 else $as_nop
19614 ac_wine_try_cflags_saved=$CFLAGS
19615 CFLAGS="$CFLAGS -Wl,--build-id"
19616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19617 /* end confdefs.h. */
19618 int main(int argc, char **argv) { return 0; }
19619 _ACEOF
19620 if ac_fn_c_try_link "$LINENO"
19621 then :
19622 ac_cv_cflags__Wl___build_id=yes
19623 else $as_nop
19624 ac_cv_cflags__Wl___build_id=no
19626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19627 conftest$ac_exeext conftest.$ac_ext
19628 CFLAGS=$ac_wine_try_cflags_saved
19630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19631 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19632 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19633 then :
19634 CFLAGS="$CFLAGS -Wl,--build-id"
19635 LDFLAGS="$LDFLAGS -Wl,--build-id"
19641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19642 printf %s "checking for the need to disable Fortify... " >&6; }
19643 if test ${ac_cv_c_fortify_enabled+y}
19644 then :
19645 printf %s "(cached) " >&6
19646 else $as_nop
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19649 #include <string.h>
19651 main (void)
19653 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19654 #error Fortify enabled
19655 #endif
19657 return 0;
19659 _ACEOF
19660 if ac_fn_c_try_compile "$LINENO"
19661 then :
19662 ac_cv_c_fortify_enabled=no
19663 else $as_nop
19664 ac_cv_c_fortify_enabled=yes
19666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19669 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19670 if test "$ac_cv_c_fortify_enabled" = yes
19671 then
19672 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19677 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19678 if test ${ac_cv_c_cfi_support+y}
19679 then :
19680 printf %s "(cached) " >&6
19681 else $as_nop
19682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19683 /* end confdefs.h. */
19684 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19686 main (void)
19690 return 0;
19692 _ACEOF
19693 if ac_fn_c_try_compile "$LINENO"
19694 then :
19695 ac_cv_c_cfi_support="yes"
19696 else $as_nop
19697 ac_cv_c_cfi_support="no"
19699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19702 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19703 if test "$ac_cv_c_cfi_support" = "yes"
19704 then
19705 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19706 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19707 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19708 else
19709 if test "x$enable_win64" = "xyes"
19710 then
19711 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19716 case $host_os in
19717 linux*)
19718 case $host_cpu in
19719 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19720 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19721 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19723 esac
19725 esac
19728 ac_save_CFLAGS="$CFLAGS"
19729 CFLAGS="$CFLAGS $BUILTINFLAG"
19730 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19731 if test "x$ac_cv_func_epoll_create" = xyes
19732 then :
19733 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19736 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19737 if test "x$ac_cv_func_fstatfs" = xyes
19738 then :
19739 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19742 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19743 if test "x$ac_cv_func_futimens" = xyes
19744 then :
19745 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19748 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19749 if test "x$ac_cv_func_futimes" = xyes
19750 then :
19751 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19754 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19755 if test "x$ac_cv_func_futimesat" = xyes
19756 then :
19757 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19760 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19761 if test "x$ac_cv_func_getattrlist" = xyes
19762 then :
19763 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19766 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19767 if test "x$ac_cv_func_getauxval" = xyes
19768 then :
19769 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19772 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19773 if test "x$ac_cv_func_getifaddrs" = xyes
19774 then :
19775 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19778 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19779 if test "x$ac_cv_func_getrandom" = xyes
19780 then :
19781 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19784 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19785 if test "x$ac_cv_func_kqueue" = xyes
19786 then :
19787 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19790 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19791 if test "x$ac_cv_func_mach_continuous_time" = xyes
19792 then :
19793 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19796 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19797 if test "x$ac_cv_func_pipe2" = xyes
19798 then :
19799 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19802 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19803 if test "x$ac_cv_func_port_create" = xyes
19804 then :
19805 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19808 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19809 if test "x$ac_cv_func_posix_fadvise" = xyes
19810 then :
19811 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19814 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19815 if test "x$ac_cv_func_posix_fallocate" = xyes
19816 then :
19817 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19820 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19821 if test "x$ac_cv_func_prctl" = xyes
19822 then :
19823 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19826 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19827 if test "x$ac_cv_func_proc_pidinfo" = xyes
19828 then :
19829 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19832 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19833 if test "x$ac_cv_func_sched_yield" = xyes
19834 then :
19835 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19838 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19839 if test "x$ac_cv_func_setproctitle" = xyes
19840 then :
19841 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19844 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19845 if test "x$ac_cv_func_setprogname" = xyes
19846 then :
19847 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19850 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19851 if test "x$ac_cv_func_sigprocmask" = xyes
19852 then :
19853 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19856 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19857 if test "x$ac_cv_func_sysinfo" = xyes
19858 then :
19859 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19862 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19863 if test "x$ac_cv_func_tcdrain" = xyes
19864 then :
19865 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19868 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19869 if test "x$ac_cv_func_thr_kill2" = xyes
19870 then :
19871 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19875 CFLAGS="$ac_save_CFLAGS"
19877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19878 printf %s "checking for library containing dlopen... " >&6; }
19879 if test ${ac_cv_search_dlopen+y}
19880 then :
19881 printf %s "(cached) " >&6
19882 else $as_nop
19883 ac_func_search_save_LIBS=$LIBS
19884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19885 /* end confdefs.h. */
19887 /* Override any GCC internal prototype to avoid an error.
19888 Use char because int might match the return type of a GCC
19889 builtin and then its argument prototype would still apply. */
19890 char dlopen ();
19892 main (void)
19894 return dlopen ();
19896 return 0;
19898 _ACEOF
19899 for ac_lib in '' dl
19901 if test -z "$ac_lib"; then
19902 ac_res="none required"
19903 else
19904 ac_res=-l$ac_lib
19905 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19907 if ac_fn_c_try_link "$LINENO"
19908 then :
19909 ac_cv_search_dlopen=$ac_res
19911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19912 conftest$ac_exeext
19913 if test ${ac_cv_search_dlopen+y}
19914 then :
19915 break
19917 done
19918 if test ${ac_cv_search_dlopen+y}
19919 then :
19921 else $as_nop
19922 ac_cv_search_dlopen=no
19924 rm conftest.$ac_ext
19925 LIBS=$ac_func_search_save_LIBS
19927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19928 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19929 ac_res=$ac_cv_search_dlopen
19930 if test "$ac_res" != no
19931 then :
19932 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19936 ac_wine_check_funcs_save_LIBS="$LIBS"
19937 LIBS="$LIBS $DL_LIBS"
19938 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19939 if test "x$ac_cv_func_dlinfo" = xyes
19940 then :
19941 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19945 LIBS="$ac_wine_check_funcs_save_LIBS"
19947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19948 printf %s "checking for library containing gethostbyname... " >&6; }
19949 if test ${ac_cv_search_gethostbyname+y}
19950 then :
19951 printf %s "(cached) " >&6
19952 else $as_nop
19953 ac_func_search_save_LIBS=$LIBS
19954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19955 /* end confdefs.h. */
19957 /* Override any GCC internal prototype to avoid an error.
19958 Use char because int might match the return type of a GCC
19959 builtin and then its argument prototype would still apply. */
19960 char gethostbyname ();
19962 main (void)
19964 return gethostbyname ();
19966 return 0;
19968 _ACEOF
19969 for ac_lib in '' nsl
19971 if test -z "$ac_lib"; then
19972 ac_res="none required"
19973 else
19974 ac_res=-l$ac_lib
19975 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19977 if ac_fn_c_try_link "$LINENO"
19978 then :
19979 ac_cv_search_gethostbyname=$ac_res
19981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19982 conftest$ac_exeext
19983 if test ${ac_cv_search_gethostbyname+y}
19984 then :
19985 break
19987 done
19988 if test ${ac_cv_search_gethostbyname+y}
19989 then :
19991 else $as_nop
19992 ac_cv_search_gethostbyname=no
19994 rm conftest.$ac_ext
19995 LIBS=$ac_func_search_save_LIBS
19997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19998 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19999 ac_res=$ac_cv_search_gethostbyname
20000 if test "$ac_res" != no
20001 then :
20002 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20008 printf %s "checking for library containing connect... " >&6; }
20009 if test ${ac_cv_search_connect+y}
20010 then :
20011 printf %s "(cached) " >&6
20012 else $as_nop
20013 ac_func_search_save_LIBS=$LIBS
20014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20015 /* end confdefs.h. */
20017 /* Override any GCC internal prototype to avoid an error.
20018 Use char because int might match the return type of a GCC
20019 builtin and then its argument prototype would still apply. */
20020 char connect ();
20022 main (void)
20024 return connect ();
20026 return 0;
20028 _ACEOF
20029 for ac_lib in '' socket
20031 if test -z "$ac_lib"; then
20032 ac_res="none required"
20033 else
20034 ac_res=-l$ac_lib
20035 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20037 if ac_fn_c_try_link "$LINENO"
20038 then :
20039 ac_cv_search_connect=$ac_res
20041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20042 conftest$ac_exeext
20043 if test ${ac_cv_search_connect+y}
20044 then :
20045 break
20047 done
20048 if test ${ac_cv_search_connect+y}
20049 then :
20051 else $as_nop
20052 ac_cv_search_connect=no
20054 rm conftest.$ac_ext
20055 LIBS=$ac_func_search_save_LIBS
20057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20058 printf "%s\n" "$ac_cv_search_connect" >&6; }
20059 ac_res=$ac_cv_search_connect
20060 if test "$ac_res" != no
20061 then :
20062 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20068 printf %s "checking for library containing inet_aton... " >&6; }
20069 if test ${ac_cv_search_inet_aton+y}
20070 then :
20071 printf %s "(cached) " >&6
20072 else $as_nop
20073 ac_func_search_save_LIBS=$LIBS
20074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20075 /* end confdefs.h. */
20077 /* Override any GCC internal prototype to avoid an error.
20078 Use char because int might match the return type of a GCC
20079 builtin and then its argument prototype would still apply. */
20080 char inet_aton ();
20082 main (void)
20084 return inet_aton ();
20086 return 0;
20088 _ACEOF
20089 for ac_lib in '' resolv
20091 if test -z "$ac_lib"; then
20092 ac_res="none required"
20093 else
20094 ac_res=-l$ac_lib
20095 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20097 if ac_fn_c_try_link "$LINENO"
20098 then :
20099 ac_cv_search_inet_aton=$ac_res
20101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20102 conftest$ac_exeext
20103 if test ${ac_cv_search_inet_aton+y}
20104 then :
20105 break
20107 done
20108 if test ${ac_cv_search_inet_aton+y}
20109 then :
20111 else $as_nop
20112 ac_cv_search_inet_aton=no
20114 rm conftest.$ac_ext
20115 LIBS=$ac_func_search_save_LIBS
20117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20118 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20119 ac_res=$ac_cv_search_inet_aton
20120 if test "$ac_res" != no
20121 then :
20122 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20127 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20128 if test "x$ac_cv_func_getaddrinfo" = xyes
20129 then :
20130 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20135 case $host_os in
20136 darwin*|macosx*) ;;
20137 *) ac_save_LIBS=$LIBS
20138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20139 printf %s "checking for library containing clock_gettime... " >&6; }
20140 if test ${ac_cv_search_clock_gettime+y}
20141 then :
20142 printf %s "(cached) " >&6
20143 else $as_nop
20144 ac_func_search_save_LIBS=$LIBS
20145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20146 /* end confdefs.h. */
20148 /* Override any GCC internal prototype to avoid an error.
20149 Use char because int might match the return type of a GCC
20150 builtin and then its argument prototype would still apply. */
20151 char clock_gettime ();
20153 main (void)
20155 return clock_gettime ();
20157 return 0;
20159 _ACEOF
20160 for ac_lib in '' rt
20162 if test -z "$ac_lib"; then
20163 ac_res="none required"
20164 else
20165 ac_res=-l$ac_lib
20166 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20168 if ac_fn_c_try_link "$LINENO"
20169 then :
20170 ac_cv_search_clock_gettime=$ac_res
20172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20173 conftest$ac_exeext
20174 if test ${ac_cv_search_clock_gettime+y}
20175 then :
20176 break
20178 done
20179 if test ${ac_cv_search_clock_gettime+y}
20180 then :
20182 else $as_nop
20183 ac_cv_search_clock_gettime=no
20185 rm conftest.$ac_ext
20186 LIBS=$ac_func_search_save_LIBS
20188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20189 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20190 ac_res=$ac_cv_search_clock_gettime
20191 if test "$ac_res" != no
20192 then :
20193 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20195 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20197 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20201 LIBS=$ac_save_LIBS
20203 esac
20205 if test "x$with_ldap" != "xno"
20206 then
20207 if ${LDAP_CFLAGS:+false} :
20208 then :
20209 if test ${PKG_CONFIG+y}
20210 then :
20211 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20215 if ${LDAP_LIBS:+false} :
20216 then :
20217 if test ${PKG_CONFIG+y}
20218 then :
20219 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20223 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
20224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20226 ac_save_CPPFLAGS=$CPPFLAGS
20227 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20228 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20229 if test "x$ac_cv_header_ldap_h" = xyes
20230 then :
20231 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20234 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20235 if test "x$ac_cv_header_lber_h" = xyes
20236 then :
20237 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20241 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20242 then
20243 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20245 if test "x$ac_cv_type_LDAPSortKey" = xyes
20246 then :
20247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
20248 printf %s "checking for ldap_initialize in -lldap_r... " >&6; }
20249 if test ${ac_cv_lib_ldap_r_ldap_initialize+y}
20250 then :
20251 printf %s "(cached) " >&6
20252 else $as_nop
20253 ac_check_lib_save_LIBS=$LIBS
20254 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20256 /* end confdefs.h. */
20258 /* Override any GCC internal prototype to avoid an error.
20259 Use char because int might match the return type of a GCC
20260 builtin and then its argument prototype would still apply. */
20261 char ldap_initialize ();
20263 main (void)
20265 return ldap_initialize ();
20267 return 0;
20269 _ACEOF
20270 if ac_fn_c_try_link "$LINENO"
20271 then :
20272 ac_cv_lib_ldap_r_ldap_initialize=yes
20273 else $as_nop
20274 ac_cv_lib_ldap_r_ldap_initialize=no
20276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20277 conftest$ac_exeext conftest.$ac_ext
20278 LIBS=$ac_check_lib_save_LIBS
20280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
20281 printf "%s\n" "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
20282 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
20283 then :
20284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20285 printf %s "checking for ber_init in -llber... " >&6; }
20286 if test ${ac_cv_lib_lber_ber_init+y}
20287 then :
20288 printf %s "(cached) " >&6
20289 else $as_nop
20290 ac_check_lib_save_LIBS=$LIBS
20291 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20293 /* end confdefs.h. */
20295 /* Override any GCC internal prototype to avoid an error.
20296 Use char because int might match the return type of a GCC
20297 builtin and then its argument prototype would still apply. */
20298 char ber_init ();
20300 main (void)
20302 return ber_init ();
20304 return 0;
20306 _ACEOF
20307 if ac_fn_c_try_link "$LINENO"
20308 then :
20309 ac_cv_lib_lber_ber_init=yes
20310 else $as_nop
20311 ac_cv_lib_lber_ber_init=no
20313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20314 conftest$ac_exeext conftest.$ac_ext
20315 LIBS=$ac_check_lib_save_LIBS
20317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20318 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20319 if test "x$ac_cv_lib_lber_ber_init" = xyes
20320 then :
20322 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20324 else $as_nop
20325 LDAP_LIBS=""
20328 else $as_nop
20329 LDAP_LIBS=""
20332 else $as_nop
20333 LDAP_LIBS=""
20336 else
20337 LDAP_LIBS=""
20339 CPPFLAGS=$ac_save_CPPFLAGS
20342 if test "x$LDAP_LIBS" = "x"
20343 then :
20344 case "x$with_ldap" in
20345 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20346 xno) ;;
20347 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20348 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20349 esac
20353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20354 printf %s "checking for sched_setaffinity... " >&6; }
20355 if test ${wine_cv_have_sched_setaffinity+y}
20356 then :
20357 printf %s "(cached) " >&6
20358 else $as_nop
20359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20360 /* end confdefs.h. */
20361 #include <sched.h>
20363 main (void)
20365 sched_setaffinity(0, 0, 0);
20367 return 0;
20369 _ACEOF
20370 if ac_fn_c_try_link "$LINENO"
20371 then :
20372 wine_cv_have_sched_setaffinity=yes
20373 else $as_nop
20374 wine_cv_have_sched_setaffinity=no
20376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20377 conftest$ac_exeext conftest.$ac_ext
20379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20380 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20381 if test "$wine_cv_have_sched_setaffinity" = "yes"
20382 then
20384 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20390 printf %s "checking for inline... " >&6; }
20391 if test ${ac_cv_c_inline+y}
20392 then :
20393 printf %s "(cached) " >&6
20394 else $as_nop
20395 ac_cv_c_inline=no
20396 for ac_kw in inline __inline__ __inline; do
20397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20398 /* end confdefs.h. */
20399 #ifndef __cplusplus
20400 typedef int foo_t;
20401 static $ac_kw foo_t static_foo (void) {return 0; }
20402 $ac_kw foo_t foo (void) {return 0; }
20403 #endif
20405 _ACEOF
20406 if ac_fn_c_try_compile "$LINENO"
20407 then :
20408 ac_cv_c_inline=$ac_kw
20410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20411 test "$ac_cv_c_inline" != no && break
20412 done
20415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20416 printf "%s\n" "$ac_cv_c_inline" >&6; }
20418 case $ac_cv_c_inline in
20419 inline | yes) ;;
20421 case $ac_cv_c_inline in
20422 no) ac_val=;;
20423 *) ac_val=$ac_cv_c_inline;;
20424 esac
20425 cat >>confdefs.h <<_ACEOF
20426 #ifndef __cplusplus
20427 #define inline $ac_val
20428 #endif
20429 _ACEOF
20431 esac
20433 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20434 #include <signal.h>
20436 if test "x$ac_cv_type_sigset_t" = xyes
20437 then :
20439 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20444 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20446 if test "x$ac_cv_type_request_sense" = xyes
20447 then :
20449 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20455 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20456 #include <sys/socket.h>
20457 #ifdef HAVE_SYS_SOCKETVAR_H
20458 #include <sys/socketvar.h>
20459 #endif
20460 #ifdef HAVE_NET_ROUTE_H
20461 #include <net/route.h>
20462 #endif
20463 #ifdef HAVE_NETINET_IN_H
20464 #include <netinet/in.h>
20465 #endif
20466 #ifdef HAVE_NETINET_IN_SYSTM_H
20467 #include <netinet/in_systm.h>
20468 #endif
20469 #ifdef HAVE_NETINET_IP_H
20470 #include <netinet/ip.h>
20471 #endif
20472 #ifdef HAVE_NETINET_IN_PCB_H
20473 #include <netinet/in_pcb.h>
20474 #endif
20476 if test "x$ac_cv_type_struct_xinpgen" = xyes
20477 then :
20479 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20486 printf %s "checking for sigaddset... " >&6; }
20487 if test ${wine_cv_have_sigaddset+y}
20488 then :
20489 printf %s "(cached) " >&6
20490 else $as_nop
20491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20492 /* end confdefs.h. */
20493 #include <signal.h>
20495 main (void)
20497 sigset_t set; sigaddset(&set,SIGTERM);
20499 return 0;
20501 _ACEOF
20502 if ac_fn_c_try_link "$LINENO"
20503 then :
20504 wine_cv_have_sigaddset=yes
20505 else $as_nop
20506 wine_cv_have_sigaddset=no
20508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20509 conftest$ac_exeext conftest.$ac_ext
20511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20512 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20513 if test "$wine_cv_have_sigaddset" = "yes"
20514 then
20516 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20522 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20523 if test ${wine_cv_linux_gethostbyname_r_6+y}
20524 then :
20525 printf %s "(cached) " >&6
20526 else $as_nop
20527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20528 /* end confdefs.h. */
20529 #include <netdb.h>
20531 main (void)
20534 char *name=0;
20535 struct hostent he;
20536 struct hostent *result;
20537 char *buf=0;
20538 int bufsize=0;
20539 int errnr;
20540 char *addr=0;
20541 int addrlen=0;
20542 int addrtype=0;
20543 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20544 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20547 return 0;
20549 _ACEOF
20550 if ac_fn_c_try_link "$LINENO"
20551 then :
20552 wine_cv_linux_gethostbyname_r_6=yes
20553 else $as_nop
20554 wine_cv_linux_gethostbyname_r_6=no
20557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20558 conftest$ac_exeext conftest.$ac_ext
20561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20562 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20563 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20564 then
20566 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20570 if test "$ac_cv_header_linux_joystick_h" = "yes"
20571 then
20572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20573 printf %s "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
20574 if test ${wine_cv_linux_joystick_22_api+y}
20575 then :
20576 printf %s "(cached) " >&6
20577 else $as_nop
20578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20579 /* end confdefs.h. */
20581 #include <sys/ioctl.h>
20582 #include <sys/types.h>
20583 #include <linux/joystick.h>
20585 struct js_event blub;
20586 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20587 #error "no 2.2 header"
20588 #endif
20591 main (void)
20593 /*empty*/
20595 return 0;
20597 _ACEOF
20598 if ac_fn_c_try_compile "$LINENO"
20599 then :
20600 wine_cv_linux_joystick_22_api=yes
20601 else $as_nop
20602 wine_cv_linux_joystick_22_api=no
20604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
20608 printf "%s\n" "$wine_cv_linux_joystick_22_api" >&6; }
20609 if test "$wine_cv_linux_joystick_22_api" = "yes"
20610 then
20612 printf "%s\n" "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
20617 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20618 #include <sys/socket.h>
20619 #ifdef HAVE_SYS_UN_H
20620 # include <sys/un.h>
20621 #endif
20623 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20624 then :
20626 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20630 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20631 #include <sys/socket.h>
20632 #ifdef HAVE_SYS_UN_H
20633 # include <sys/un.h>
20634 #endif
20636 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20637 then :
20639 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20645 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20646 #ifdef HAVE_SCSI_SG_H
20647 #include <scsi/sg.h>
20648 #endif
20650 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20651 then :
20653 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20657 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>
20658 #ifdef HAVE_SCSI_SG_H
20659 #include <scsi/sg.h>
20660 #endif
20662 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20663 then :
20665 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20671 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20673 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20674 then :
20676 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20682 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20683 #ifdef HAVE_SYS_MTIO_H
20684 #include <sys/mtio.h>
20685 #endif
20687 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20688 then :
20690 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20694 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20695 #ifdef HAVE_SYS_MTIO_H
20696 #include <sys/mtio.h>
20697 #endif
20699 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20700 then :
20702 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20706 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20707 #ifdef HAVE_SYS_MTIO_H
20708 #include <sys/mtio.h>
20709 #endif
20711 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20712 then :
20714 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20720 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20721 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20722 then :
20724 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20728 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20729 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20730 then :
20732 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20736 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20737 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20738 then :
20740 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20744 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20745 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20746 then :
20748 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20752 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20753 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20754 then :
20756 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20760 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20761 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20762 then :
20764 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20768 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20769 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20770 then :
20772 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20776 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20777 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20778 then :
20780 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20784 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20785 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20786 then :
20788 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20792 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20793 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20794 then :
20796 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20800 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20801 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20802 then :
20804 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20810 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#include <sys/types.h>
20811 #ifdef HAVE_NETINET_IN_H
20812 #include <netinet/in.h>
20813 #endif
20815 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20816 then :
20818 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20824 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
20825 #include <resolv.h>
20826 #endif
20828 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20829 then :
20831 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20837 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20838 #include <netinet/in.h>
20839 #endif
20841 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20842 then :
20844 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20850 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20851 #ifdef HAVE_SYS_SOCKETVAR_H
20852 #include <sys/socketvar.h>
20853 #endif
20854 #ifdef HAVE_NETINET_IN_H
20855 #include <netinet/in.h>
20856 #endif
20857 #ifdef HAVE_NETINET_IP_VAR_H
20858 #include <netinet/ip_var.h>
20859 #endif
20861 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20862 then :
20864 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20870 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
20871 #include <netinet/ip_var.h>
20872 #endif
20874 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20875 then :
20877 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20883 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20884 #ifdef HAVE_SYS_SOCKETVAR_H
20885 #include <sys/socketvar.h>
20886 #endif
20887 #ifdef HAVE_NETINET_IN_H
20888 #include <netinet/in.h>
20889 #endif
20890 #ifdef HAVE_NETINET_TCP_H
20891 #include <netinet/tcp.h>
20892 #endif
20893 #ifdef HAVE_NETINET_TCP_VAR_H
20894 #include <netinet/tcp_var.h>
20895 #endif
20897 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20898 then :
20900 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20906 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
20907 #include <netinet/tcp_var.h>
20908 #endif
20910 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20911 then :
20913 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20919 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20920 #ifdef HAVE_NETINET_IN_H
20921 #include <netinet/in.h>
20922 #endif
20923 #ifdef HAVE_NETINET_IP_VAR_H
20924 #include <netinet/ip_var.h>
20925 #endif
20926 #ifdef HAVE_NETINET_UDP_H
20927 #include <netinet/udp.h>
20928 #endif
20929 #ifdef HAVE_NETINET_UDP_VAR_H
20930 #include <netinet/udp_var.h>
20931 #endif
20933 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20934 then :
20936 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20942 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20943 #ifdef HAVE_NET_IF_H
20944 # include <net/if.h>
20945 #endif
20947 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20948 then :
20950 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20956 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20957 # include <sys/sysinfo.h>
20958 #endif
20960 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20961 then :
20963 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20967 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20968 # include <sys/sysinfo.h>
20969 #endif
20971 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20972 then :
20974 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20980 ac_save_LIBS="$LIBS"
20981 LIBS="$LIBS -lm"
20982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20983 printf %s "checking for isfinite... " >&6; }
20984 if test ${ac_cv_have_isfinite+y}
20985 then :
20986 printf %s "(cached) " >&6
20987 else $as_nop
20988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20989 /* end confdefs.h. */
20990 #include <math.h>
20992 main (void)
20994 float f = 0.0; return isfinite(f)
20996 return 0;
20998 _ACEOF
20999 if ac_fn_c_try_link "$LINENO"
21000 then :
21001 ac_cv_have_isfinite="yes"
21002 else $as_nop
21003 ac_cv_have_isfinite="no"
21005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21006 conftest$ac_exeext conftest.$ac_ext
21008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
21009 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
21010 if test "$ac_cv_have_isfinite" = "yes"
21011 then
21013 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
21017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
21018 printf %s "checking for isinf... " >&6; }
21019 if test ${ac_cv_have_isinf+y}
21020 then :
21021 printf %s "(cached) " >&6
21022 else $as_nop
21023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21024 /* end confdefs.h. */
21025 #include <math.h>
21027 main (void)
21029 float f = 0.0; return isinf(f)
21031 return 0;
21033 _ACEOF
21034 if ac_fn_c_try_link "$LINENO"
21035 then :
21036 ac_cv_have_isinf="yes"
21037 else $as_nop
21038 ac_cv_have_isinf="no"
21040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21041 conftest$ac_exeext conftest.$ac_ext
21043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
21044 printf "%s\n" "$ac_cv_have_isinf" >&6; }
21045 if test "$ac_cv_have_isinf" = "yes"
21046 then
21048 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
21052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
21053 printf %s "checking for isnan... " >&6; }
21054 if test ${ac_cv_have_isnan+y}
21055 then :
21056 printf %s "(cached) " >&6
21057 else $as_nop
21058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21059 /* end confdefs.h. */
21060 #include <math.h>
21062 main (void)
21064 float f = 0.0; return isnan(f)
21066 return 0;
21068 _ACEOF
21069 if ac_fn_c_try_link "$LINENO"
21070 then :
21071 ac_cv_have_isnan="yes"
21072 else $as_nop
21073 ac_cv_have_isnan="no"
21075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21076 conftest$ac_exeext conftest.$ac_ext
21078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
21079 printf "%s\n" "$ac_cv_have_isnan" >&6; }
21080 if test "$ac_cv_have_isnan" = "yes"
21081 then
21083 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
21087 LIBS="$ac_save_LIBS"
21089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21090 printf %s "checking for __builtin_popcount... " >&6; }
21091 if test ${ac_cv_have___builtin_popcount+y}
21092 then :
21093 printf %s "(cached) " >&6
21094 else $as_nop
21095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21096 /* end confdefs.h. */
21099 main (void)
21101 return __builtin_popcount(1)
21103 return 0;
21105 _ACEOF
21106 if ac_fn_c_try_link "$LINENO"
21107 then :
21108 ac_cv_have___builtin_popcount="yes"
21109 else $as_nop
21110 ac_cv_have___builtin_popcount="no"
21112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21113 conftest$ac_exeext conftest.$ac_ext
21115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21116 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21117 if test "$ac_cv_have___builtin_popcount" = "yes"
21118 then
21120 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21125 printf %s "checking for __clear_cache... " >&6; }
21126 if test ${ac_cv_have___clear_cache+y}
21127 then :
21128 printf %s "(cached) " >&6
21129 else $as_nop
21130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21131 /* end confdefs.h. */
21134 main (void)
21136 __clear_cache((void*)0, (void*)0); return 0;
21138 return 0;
21140 _ACEOF
21141 if ac_fn_c_try_link "$LINENO"
21142 then :
21143 ac_cv_have___clear_cache="yes"
21144 else $as_nop
21145 ac_cv_have___clear_cache="no"
21147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21148 conftest$ac_exeext conftest.$ac_ext
21150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21151 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21152 if test "$ac_cv_have___clear_cache" = "yes"
21153 then
21155 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21160 case $host_cpu in
21161 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21162 printf %s "checking whether we need to define __i386__... " >&6; }
21163 if test ${ac_cv_cpp_def___i386__+y}
21164 then :
21165 printf %s "(cached) " >&6
21166 else $as_nop
21167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21168 /* end confdefs.h. */
21169 #ifndef __i386__
21171 #endif
21172 _ACEOF
21173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21174 $EGREP "yes" >/dev/null 2>&1
21175 then :
21176 ac_cv_cpp_def___i386__=yes
21177 else $as_nop
21178 ac_cv_cpp_def___i386__=no
21180 rm -rf conftest*
21183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21184 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21185 if test "x$ac_cv_cpp_def___i386__" = xyes
21186 then :
21187 CFLAGS="$CFLAGS -D__i386__"
21188 LINTFLAGS="$LINTFLAGS -D__i386__"
21189 fi ;;
21190 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21191 printf %s "checking whether we need to define __x86_64__... " >&6; }
21192 if test ${ac_cv_cpp_def___x86_64__+y}
21193 then :
21194 printf %s "(cached) " >&6
21195 else $as_nop
21196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21197 /* end confdefs.h. */
21198 #ifndef __x86_64__
21200 #endif
21201 _ACEOF
21202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21203 $EGREP "yes" >/dev/null 2>&1
21204 then :
21205 ac_cv_cpp_def___x86_64__=yes
21206 else $as_nop
21207 ac_cv_cpp_def___x86_64__=no
21209 rm -rf conftest*
21212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21213 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21214 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21215 then :
21216 CFLAGS="$CFLAGS -D__x86_64__"
21217 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21218 fi ;;
21219 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21220 printf %s "checking whether we need to define __sparc64__... " >&6; }
21221 if test ${ac_cv_cpp_def___sparc64__+y}
21222 then :
21223 printf %s "(cached) " >&6
21224 else $as_nop
21225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21226 /* end confdefs.h. */
21227 #ifndef __sparc64__
21229 #endif
21230 _ACEOF
21231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21232 $EGREP "yes" >/dev/null 2>&1
21233 then :
21234 ac_cv_cpp_def___sparc64__=yes
21235 else $as_nop
21236 ac_cv_cpp_def___sparc64__=no
21238 rm -rf conftest*
21241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21242 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21243 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21244 then :
21245 CFLAGS="$CFLAGS -D__sparc64__"
21246 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21247 fi ;;
21248 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21249 printf %s "checking whether we need to define __sparc__... " >&6; }
21250 if test ${ac_cv_cpp_def___sparc__+y}
21251 then :
21252 printf %s "(cached) " >&6
21253 else $as_nop
21254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21255 /* end confdefs.h. */
21256 #ifndef __sparc__
21258 #endif
21259 _ACEOF
21260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21261 $EGREP "yes" >/dev/null 2>&1
21262 then :
21263 ac_cv_cpp_def___sparc__=yes
21264 else $as_nop
21265 ac_cv_cpp_def___sparc__=no
21267 rm -rf conftest*
21270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21271 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21272 if test "x$ac_cv_cpp_def___sparc__" = xyes
21273 then :
21274 CFLAGS="$CFLAGS -D__sparc__"
21275 LINTFLAGS="$LINTFLAGS -D__sparc__"
21276 fi ;;
21277 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21278 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21279 if test ${ac_cv_cpp_def___powerpc64__+y}
21280 then :
21281 printf %s "(cached) " >&6
21282 else $as_nop
21283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21284 /* end confdefs.h. */
21285 #ifndef __powerpc64__
21287 #endif
21288 _ACEOF
21289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21290 $EGREP "yes" >/dev/null 2>&1
21291 then :
21292 ac_cv_cpp_def___powerpc64__=yes
21293 else $as_nop
21294 ac_cv_cpp_def___powerpc64__=no
21296 rm -rf conftest*
21299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21300 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21301 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21302 then :
21303 CFLAGS="$CFLAGS -D__powerpc64__"
21304 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21305 fi ;;
21306 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21307 printf %s "checking whether we need to define __powerpc__... " >&6; }
21308 if test ${ac_cv_cpp_def___powerpc__+y}
21309 then :
21310 printf %s "(cached) " >&6
21311 else $as_nop
21312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21313 /* end confdefs.h. */
21314 #ifndef __powerpc__
21316 #endif
21317 _ACEOF
21318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21319 $EGREP "yes" >/dev/null 2>&1
21320 then :
21321 ac_cv_cpp_def___powerpc__=yes
21322 else $as_nop
21323 ac_cv_cpp_def___powerpc__=no
21325 rm -rf conftest*
21328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21329 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21330 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21331 then :
21332 CFLAGS="$CFLAGS -D__powerpc__"
21333 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21334 fi ;;
21335 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21336 printf %s "checking whether we need to define __aarch64__... " >&6; }
21337 if test ${ac_cv_cpp_def___aarch64__+y}
21338 then :
21339 printf %s "(cached) " >&6
21340 else $as_nop
21341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21342 /* end confdefs.h. */
21343 #ifndef __aarch64__
21345 #endif
21346 _ACEOF
21347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21348 $EGREP "yes" >/dev/null 2>&1
21349 then :
21350 ac_cv_cpp_def___aarch64__=yes
21351 else $as_nop
21352 ac_cv_cpp_def___aarch64__=no
21354 rm -rf conftest*
21357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21358 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21359 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21360 then :
21361 CFLAGS="$CFLAGS -D__aarch64__"
21362 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21363 fi ;;
21364 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21365 printf %s "checking whether we need to define __arm__... " >&6; }
21366 if test ${ac_cv_cpp_def___arm__+y}
21367 then :
21368 printf %s "(cached) " >&6
21369 else $as_nop
21370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21371 /* end confdefs.h. */
21372 #ifndef __arm__
21374 #endif
21375 _ACEOF
21376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21377 $EGREP "yes" >/dev/null 2>&1
21378 then :
21379 ac_cv_cpp_def___arm__=yes
21380 else $as_nop
21381 ac_cv_cpp_def___arm__=no
21383 rm -rf conftest*
21386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21387 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21388 if test "x$ac_cv_cpp_def___arm__" = xyes
21389 then :
21390 CFLAGS="$CFLAGS -D__arm__"
21391 LINTFLAGS="$LINTFLAGS -D__arm__"
21392 fi ;;
21393 esac
21395 case $host_vendor in
21396 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21397 printf %s "checking whether we need to define __sun__... " >&6; }
21398 if test ${ac_cv_cpp_def___sun__+y}
21399 then :
21400 printf %s "(cached) " >&6
21401 else $as_nop
21402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21403 /* end confdefs.h. */
21404 #ifndef __sun__
21406 #endif
21407 _ACEOF
21408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21409 $EGREP "yes" >/dev/null 2>&1
21410 then :
21411 ac_cv_cpp_def___sun__=yes
21412 else $as_nop
21413 ac_cv_cpp_def___sun__=no
21415 rm -rf conftest*
21418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21419 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21420 if test "x$ac_cv_cpp_def___sun__" = xyes
21421 then :
21422 CFLAGS="$CFLAGS -D__sun__"
21423 LINTFLAGS="$LINTFLAGS -D__sun__"
21424 fi ;;
21425 esac
21431 ac_config_commands="$ac_config_commands include/stamp-h"
21433 printf %s "creating Makefile rules..." >&6
21435 makedep_flags=""
21436 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21438 wine_srcdir=
21439 test "$srcdir" = . || wine_srcdir="$srcdir/"
21441 ac_config_links="$ac_config_links wine:tools/winewrapper"
21442 wine_fn_config_symlink wine
21443 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21444 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21445 wine_fn_config_symlink wine64
21448 wine_fn_config_makefile dlls/acledit enable_acledit
21449 wine_fn_config_makefile dlls/aclui enable_aclui
21450 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21451 wine_fn_config_makefile dlls/activeds enable_activeds
21452 wine_fn_config_makefile dlls/activeds/tests enable_tests
21453 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21454 wine_fn_config_makefile dlls/adsldp enable_adsldp
21455 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21456 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21457 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21458 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21459 wine_fn_config_makefile dlls/advpack enable_advpack
21460 wine_fn_config_makefile dlls/advpack/tests enable_tests
21461 wine_fn_config_makefile dlls/amsi enable_amsi
21462 wine_fn_config_makefile dlls/amstream enable_amstream
21463 wine_fn_config_makefile dlls/amstream/tests enable_tests
21464 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
21465 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-0 enable_api_ms_win_appmodel_runtime_l1_1_0
21466 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
21467 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
21468 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
21469 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
21470 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
21471 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
21472 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
21473 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
21474 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
21475 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
21476 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
21477 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
21478 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
21479 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
21480 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
21481 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
21482 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
21483 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
21484 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
21485 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
21486 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
21487 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
21488 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
21489 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
21490 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
21491 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
21492 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
21493 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
21494 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
21495 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
21496 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
21497 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
21498 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
21499 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
21500 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
21501 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
21502 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
21503 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
21504 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
21505 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
21506 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
21507 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
21508 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
21509 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
21510 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
21511 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
21512 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
21513 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
21514 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
21515 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
21516 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
21517 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
21518 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
21519 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
21520 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
21521 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
21522 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
21523 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
21524 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
21525 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
21526 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
21527 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
21528 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
21529 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
21530 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
21531 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
21532 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
21533 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
21534 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
21535 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
21536 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
21537 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
21538 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
21539 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
21540 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
21541 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
21542 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
21543 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
21544 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
21545 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
21546 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
21547 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
21548 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
21549 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
21550 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
21551 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
21552 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
21553 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
21554 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
21555 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
21556 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
21557 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
21558 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
21559 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
21560 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
21561 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
21562 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
21563 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
21564 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
21565 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
21566 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
21567 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
21568 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
21569 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
21570 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
21571 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
21572 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
21573 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
21574 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
21575 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
21576 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
21577 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
21578 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
21579 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
21580 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
21581 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
21582 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
21583 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
21584 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
21585 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
21586 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
21587 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
21588 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
21589 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
21590 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
21591 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
21592 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
21593 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
21594 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
21595 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
21596 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
21597 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
21598 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
21599 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
21600 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
21601 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
21602 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
21603 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
21604 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
21605 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
21606 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
21607 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
21608 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
21609 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
21610 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
21611 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
21612 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
21613 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
21614 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
21615 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
21616 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
21617 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
21618 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
21619 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
21620 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
21621 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
21622 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
21623 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
21624 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
21625 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
21626 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
21627 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
21628 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
21629 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
21630 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
21631 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
21632 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
21633 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
21634 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
21635 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
21636 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
21637 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
21638 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
21639 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
21640 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
21641 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
21642 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
21643 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
21644 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
21645 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
21646 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
21647 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
21648 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
21649 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
21650 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
21651 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
21652 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
21653 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
21654 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
21655 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
21656 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
21657 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
21658 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
21659 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
21660 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
21661 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
21662 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
21663 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
21664 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
21665 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
21666 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
21667 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
21668 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
21669 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
21670 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
21671 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
21672 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
21673 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
21674 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
21675 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
21676 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
21677 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
21678 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
21679 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
21680 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
21681 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
21682 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
21683 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
21684 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
21685 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
21686 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
21687 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
21688 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
21689 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
21690 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
21691 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
21692 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
21693 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
21694 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
21695 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
21696 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
21697 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
21698 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
21699 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
21700 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
21701 wine_fn_config_makefile dlls/apphelp enable_apphelp
21702 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21703 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21704 wine_fn_config_makefile dlls/atl enable_atl
21705 wine_fn_config_makefile dlls/atl/tests enable_tests
21706 wine_fn_config_makefile dlls/atl100 enable_atl100
21707 wine_fn_config_makefile dlls/atl100/tests enable_tests
21708 wine_fn_config_makefile dlls/atl110 enable_atl110
21709 wine_fn_config_makefile dlls/atl80 enable_atl80
21710 wine_fn_config_makefile dlls/atl80/tests enable_tests
21711 wine_fn_config_makefile dlls/atl90 enable_atl90
21712 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21713 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21714 wine_fn_config_makefile dlls/atmlib enable_atmlib
21715 wine_fn_config_makefile dlls/authz enable_authz
21716 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21717 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21718 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21719 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21720 wine_fn_config_makefile dlls/avrt enable_avrt
21721 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21722 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21723 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21724 wine_fn_config_makefile dlls/browseui enable_browseui
21725 wine_fn_config_makefile dlls/browseui/tests enable_tests
21726 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21727 wine_fn_config_makefile dlls/cabinet enable_cabinet
21728 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21729 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21730 wine_fn_config_makefile dlls/cards enable_cards
21731 wine_fn_config_makefile dlls/cdosys enable_cdosys
21732 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21733 wine_fn_config_makefile dlls/clusapi enable_clusapi
21734 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21735 wine_fn_config_makefile dlls/combase enable_combase
21736 wine_fn_config_makefile dlls/combase/tests enable_tests
21737 wine_fn_config_makefile dlls/comcat enable_comcat
21738 wine_fn_config_makefile dlls/comcat/tests enable_tests
21739 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21740 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21741 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21742 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21743 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21744 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21745 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21746 wine_fn_config_makefile dlls/compstui enable_compstui
21747 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21748 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21749 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21750 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21751 wine_fn_config_makefile dlls/connect enable_connect
21752 wine_fn_config_makefile dlls/credui enable_credui
21753 wine_fn_config_makefile dlls/credui/tests enable_tests
21754 wine_fn_config_makefile dlls/crtdll enable_crtdll
21755 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21756 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21757 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21758 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21759 wine_fn_config_makefile dlls/cryptext enable_cryptext
21760 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21761 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21762 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21763 wine_fn_config_makefile dlls/cryptui enable_cryptui
21764 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21765 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21766 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21767 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21768 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21769 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21770 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21771 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21772 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21773 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21774 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21775 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21776 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21777 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21778 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21779 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21780 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21781 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21782 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21783 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21784 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21785 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21786 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21787 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21788 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21789 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21790 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21791 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21792 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21793 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21794 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21795 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21796 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21797 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21798 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21799 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21800 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21801 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21802 wine_fn_config_makefile dlls/d3dim enable_d3dim
21803 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21804 wine_fn_config_makefile dlls/d3drm enable_d3drm
21805 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21806 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21807 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21808 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21809 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21810 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21811 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21812 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21813 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21814 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21815 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21816 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21817 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21818 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21819 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21820 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21821 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21822 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21823 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21824 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21825 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21826 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21827 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21828 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21829 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21830 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21831 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21832 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21833 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21834 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21835 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21836 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21837 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21838 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21839 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21840 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21841 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21842 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21843 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21844 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21845 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21846 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21847 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21848 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21849 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21850 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21851 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21852 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21853 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21854 wine_fn_config_makefile dlls/davclnt enable_davclnt
21855 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21856 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21857 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21858 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21859 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21860 wine_fn_config_makefile dlls/dcomp enable_dcomp
21861 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21862 wine_fn_config_makefile dlls/ddraw enable_ddraw
21863 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21864 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21865 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21866 wine_fn_config_makefile dlls/devenum enable_devenum
21867 wine_fn_config_makefile dlls/devenum/tests enable_tests
21868 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21869 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21870 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21871 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21872 wine_fn_config_makefile dlls/difxapi enable_difxapi
21873 wine_fn_config_makefile dlls/dinput enable_dinput
21874 wine_fn_config_makefile dlls/dinput/tests enable_tests
21875 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21876 wine_fn_config_makefile dlls/dinput8/tests enable_tests
21877 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21878 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21879 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21880 wine_fn_config_makefile dlls/dispex enable_dispex
21881 wine_fn_config_makefile dlls/dispex/tests enable_tests
21882 wine_fn_config_makefile dlls/display.drv16 enable_win16
21883 wine_fn_config_makefile dlls/dmband enable_dmband
21884 wine_fn_config_makefile dlls/dmband/tests enable_tests
21885 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21886 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21887 wine_fn_config_makefile dlls/dmime enable_dmime
21888 wine_fn_config_makefile dlls/dmime/tests enable_tests
21889 wine_fn_config_makefile dlls/dmloader enable_dmloader
21890 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21891 wine_fn_config_makefile dlls/dmscript enable_dmscript
21892 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21893 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21894 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21895 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21896 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21897 wine_fn_config_makefile dlls/dmusic enable_dmusic
21898 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21899 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21900 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21901 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21902 wine_fn_config_makefile dlls/dplay enable_dplay
21903 wine_fn_config_makefile dlls/dplayx enable_dplayx
21904 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21905 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21906 wine_fn_config_makefile dlls/dpnet enable_dpnet
21907 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21908 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21909 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21910 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21911 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21912 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21913 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21914 wine_fn_config_makefile dlls/drmclien enable_drmclien
21915 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21916 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21917 wine_fn_config_makefile dlls/dsound enable_dsound
21918 wine_fn_config_makefile dlls/dsound/tests enable_tests
21919 wine_fn_config_makefile dlls/dsquery enable_dsquery
21920 wine_fn_config_makefile dlls/dssenh enable_dssenh
21921 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21922 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21923 wine_fn_config_makefile dlls/dswave enable_dswave
21924 wine_fn_config_makefile dlls/dswave/tests enable_tests
21925 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21926 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21927 wine_fn_config_makefile dlls/dwrite enable_dwrite
21928 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21929 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21930 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21931 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21932 wine_fn_config_makefile dlls/dxgi enable_dxgi
21933 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21934 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21935 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21936 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21937 wine_fn_config_makefile dlls/esent enable_esent
21938 wine_fn_config_makefile dlls/evr enable_evr
21939 wine_fn_config_makefile dlls/evr/tests enable_tests
21940 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21941 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21942 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
21943 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
21944 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
21945 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
21946 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
21947 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
21948 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
21949 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
21950 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
21951 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
21952 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
21953 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
21954 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
21955 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
21956 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
21957 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
21958 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
21959 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
21960 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
21961 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
21962 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
21963 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
21964 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
21965 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
21966 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
21967 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
21968 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
21969 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
21970 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
21971 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
21972 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
21973 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
21974 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
21975 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
21976 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
21977 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
21978 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
21979 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
21980 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
21981 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
21982 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
21983 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
21984 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
21985 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
21986 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
21987 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
21988 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
21989 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
21990 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
21991 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
21992 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
21993 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
21994 wine_fn_config_makefile dlls/faultrep enable_faultrep
21995 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21996 wine_fn_config_makefile dlls/feclient enable_feclient
21997 wine_fn_config_makefile dlls/fltlib enable_fltlib
21998 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21999 wine_fn_config_makefile dlls/fntcache enable_fntcache
22000 wine_fn_config_makefile dlls/fontsub enable_fontsub
22001 wine_fn_config_makefile dlls/fusion enable_fusion
22002 wine_fn_config_makefile dlls/fusion/tests enable_tests
22003 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
22004 wine_fn_config_makefile dlls/gameux enable_gameux
22005 wine_fn_config_makefile dlls/gameux/tests enable_tests
22006 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
22007 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
22008 wine_fn_config_makefile dlls/gdi32 enable_gdi32
22009 wine_fn_config_makefile dlls/gdi32/tests enable_tests
22010 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
22011 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
22012 wine_fn_config_makefile dlls/glu32 enable_glu32
22013 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
22014 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
22015 wine_fn_config_makefile dlls/hal enable_hal
22016 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
22017 wine_fn_config_makefile dlls/hid enable_hid
22018 wine_fn_config_makefile dlls/hid/tests enable_tests
22019 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
22020 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
22021 wine_fn_config_makefile dlls/hlink enable_hlink
22022 wine_fn_config_makefile dlls/hlink/tests enable_tests
22023 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
22024 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
22025 wine_fn_config_makefile dlls/http.sys enable_http_sys
22026 wine_fn_config_makefile dlls/httpapi enable_httpapi
22027 wine_fn_config_makefile dlls/httpapi/tests enable_tests
22028 wine_fn_config_makefile dlls/iccvid enable_iccvid
22029 wine_fn_config_makefile dlls/icmp enable_icmp
22030 wine_fn_config_makefile dlls/ieframe enable_ieframe
22031 wine_fn_config_makefile dlls/ieframe/tests enable_tests
22032 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
22033 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
22034 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
22035 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
22036 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
22037 wine_fn_config_makefile dlls/imm.dll16 enable_win16
22038 wine_fn_config_makefile dlls/imm32 enable_imm32
22039 wine_fn_config_makefile dlls/imm32/tests enable_tests
22040 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
22041 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
22042 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
22043 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
22044 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
22045 wine_fn_config_makefile dlls/infosoft enable_infosoft
22046 wine_fn_config_makefile dlls/infosoft/tests enable_tests
22047 wine_fn_config_makefile dlls/initpki enable_initpki
22048 wine_fn_config_makefile dlls/inkobj enable_inkobj
22049 wine_fn_config_makefile dlls/inseng enable_inseng
22050 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
22051 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
22052 wine_fn_config_makefile dlls/iprop enable_iprop
22053 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
22054 wine_fn_config_makefile dlls/itircl enable_itircl
22055 wine_fn_config_makefile dlls/itss enable_itss
22056 wine_fn_config_makefile dlls/itss/tests enable_tests
22057 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
22058 wine_fn_config_makefile dlls/jscript enable_jscript
22059 wine_fn_config_makefile dlls/jscript/tests enable_tests
22060 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
22061 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
22062 wine_fn_config_makefile dlls/kerberos enable_kerberos
22063 wine_fn_config_makefile dlls/kernel32 enable_kernel32
22064 wine_fn_config_makefile dlls/kernel32/tests enable_tests
22065 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
22066 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
22067 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
22068 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
22069 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
22070 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
22071 wine_fn_config_makefile dlls/ksuser enable_ksuser
22072 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
22073 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
22074 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
22075 wine_fn_config_makefile dlls/loadperf enable_loadperf
22076 wine_fn_config_makefile dlls/localspl enable_localspl
22077 wine_fn_config_makefile dlls/localspl/tests enable_tests
22078 wine_fn_config_makefile dlls/localui enable_localui
22079 wine_fn_config_makefile dlls/localui/tests enable_tests
22080 wine_fn_config_makefile dlls/lz32 enable_lz32
22081 wine_fn_config_makefile dlls/lz32/tests enable_tests
22082 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
22083 wine_fn_config_makefile dlls/mapi32 enable_mapi32
22084 wine_fn_config_makefile dlls/mapi32/tests enable_tests
22085 wine_fn_config_makefile dlls/mapistub enable_mapistub
22086 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
22087 wine_fn_config_makefile dlls/mcicda enable_mcicda
22088 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
22089 wine_fn_config_makefile dlls/mciseq enable_mciseq
22090 wine_fn_config_makefile dlls/mciwave enable_mciwave
22091 wine_fn_config_makefile dlls/mf enable_mf
22092 wine_fn_config_makefile dlls/mf/tests enable_tests
22093 wine_fn_config_makefile dlls/mf3216 enable_mf3216
22094 wine_fn_config_makefile dlls/mferror enable_mferror
22095 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
22096 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
22097 wine_fn_config_makefile dlls/mfplat enable_mfplat
22098 wine_fn_config_makefile dlls/mfplat/tests enable_tests
22099 wine_fn_config_makefile dlls/mfplay enable_mfplay
22100 wine_fn_config_makefile dlls/mfplay/tests enable_tests
22101 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
22102 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
22103 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22104 wine_fn_config_makefile dlls/midimap enable_midimap
22105 wine_fn_config_makefile dlls/mlang enable_mlang
22106 wine_fn_config_makefile dlls/mlang/tests enable_tests
22107 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22108 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22109 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22110 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22111 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22112 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22113 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22114 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22115 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22116 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22117 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22118 wine_fn_config_makefile dlls/mpr enable_mpr
22119 wine_fn_config_makefile dlls/mpr/tests enable_tests
22120 wine_fn_config_makefile dlls/mprapi enable_mprapi
22121 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22122 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22123 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22124 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22125 wine_fn_config_makefile dlls/msado15 enable_msado15
22126 wine_fn_config_makefile dlls/msado15/tests enable_tests
22127 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22128 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22129 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22130 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22131 wine_fn_config_makefile dlls/mscms enable_mscms
22132 wine_fn_config_makefile dlls/mscms/tests enable_tests
22133 wine_fn_config_makefile dlls/mscoree enable_mscoree
22134 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22135 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22136 wine_fn_config_makefile dlls/msctf enable_msctf
22137 wine_fn_config_makefile dlls/msctf/tests enable_tests
22138 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22139 wine_fn_config_makefile dlls/msctfp enable_msctfp
22140 wine_fn_config_makefile dlls/msdaps enable_msdaps
22141 wine_fn_config_makefile dlls/msdasql enable_msdasql
22142 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22143 wine_fn_config_makefile dlls/msdelta enable_msdelta
22144 wine_fn_config_makefile dlls/msdmo enable_msdmo
22145 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22146 wine_fn_config_makefile dlls/msdrm enable_msdrm
22147 wine_fn_config_makefile dlls/msftedit enable_msftedit
22148 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22149 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22150 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22151 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22152 wine_fn_config_makefile dlls/mshtml enable_mshtml
22153 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22154 wine_fn_config_makefile dlls/msi enable_msi
22155 wine_fn_config_makefile dlls/msi/tests enable_tests
22156 wine_fn_config_makefile dlls/msident enable_msident
22157 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22158 wine_fn_config_makefile dlls/msimsg enable_msimsg
22159 wine_fn_config_makefile dlls/msimtf enable_msimtf
22160 wine_fn_config_makefile dlls/msisip enable_msisip
22161 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22162 wine_fn_config_makefile dlls/msls31 enable_msls31
22163 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22164 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22165 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22166 wine_fn_config_makefile dlls/msports enable_msports
22167 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22168 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22169 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22170 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22171 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22172 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22173 wine_fn_config_makefile dlls/mstask enable_mstask
22174 wine_fn_config_makefile dlls/mstask/tests enable_tests
22175 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22176 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22177 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22178 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22179 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22180 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22181 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22182 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22183 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22184 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22185 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22186 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22187 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22188 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22189 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22190 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22191 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22192 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22193 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22194 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22195 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22196 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22197 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22198 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22199 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22200 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22201 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22202 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22203 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22204 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22205 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22206 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22207 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22208 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22209 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22210 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22211 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22212 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22213 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22214 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22215 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22216 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22217 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22218 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22219 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22220 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22221 wine_fn_config_makefile dlls/mswsock enable_mswsock
22222 wine_fn_config_makefile dlls/msxml enable_msxml
22223 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22224 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22225 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22226 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22227 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22228 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22229 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22230 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22231 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22232 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22233 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22234 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22235 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22236 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22237 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22238 wine_fn_config_makefile dlls/netprofm enable_netprofm
22239 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22240 wine_fn_config_makefile dlls/netutils enable_netutils
22241 wine_fn_config_makefile dlls/newdev enable_newdev
22242 wine_fn_config_makefile dlls/ninput enable_ninput
22243 wine_fn_config_makefile dlls/ninput/tests enable_tests
22244 wine_fn_config_makefile dlls/normaliz enable_normaliz
22245 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22246 wine_fn_config_makefile dlls/npptools enable_npptools
22247 wine_fn_config_makefile dlls/nsi enable_nsi
22248 wine_fn_config_makefile dlls/nsi/tests enable_tests
22249 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22250 wine_fn_config_makefile dlls/ntdll enable_ntdll
22251 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22252 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22253 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22254 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22255 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22256 wine_fn_config_makefile dlls/ntprint enable_ntprint
22257 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22258 wine_fn_config_makefile dlls/objsel enable_objsel
22259 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22260 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22261 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22262 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22263 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22264 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22265 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22266 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22267 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22268 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22269 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22270 wine_fn_config_makefile dlls/ole32 enable_ole32
22271 wine_fn_config_makefile dlls/ole32/tests enable_tests
22272 wine_fn_config_makefile dlls/oleacc enable_oleacc
22273 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22274 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22275 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22276 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22277 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22278 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22279 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22280 wine_fn_config_makefile dlls/oledlg enable_oledlg
22281 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22282 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22283 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22284 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22285 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22286 wine_fn_config_makefile dlls/opcservices enable_opcservices
22287 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22288 wine_fn_config_makefile dlls/openal32 enable_openal32
22289 wine_fn_config_makefile dlls/opencl enable_opencl
22290 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22291 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22292 wine_fn_config_makefile dlls/packager enable_packager
22293 wine_fn_config_makefile dlls/packager/tests enable_tests
22294 wine_fn_config_makefile dlls/pdh enable_pdh
22295 wine_fn_config_makefile dlls/pdh/tests enable_tests
22296 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22297 wine_fn_config_makefile dlls/pidgen enable_pidgen
22298 wine_fn_config_makefile dlls/powrprof enable_powrprof
22299 wine_fn_config_makefile dlls/printui enable_printui
22300 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22301 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22302 wine_fn_config_makefile dlls/propsys enable_propsys
22303 wine_fn_config_makefile dlls/propsys/tests enable_tests
22304 wine_fn_config_makefile dlls/psapi enable_psapi
22305 wine_fn_config_makefile dlls/psapi/tests enable_tests
22306 wine_fn_config_makefile dlls/pstorec enable_pstorec
22307 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22308 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22309 wine_fn_config_makefile dlls/qasf enable_qasf
22310 wine_fn_config_makefile dlls/qasf/tests enable_tests
22311 wine_fn_config_makefile dlls/qcap enable_qcap
22312 wine_fn_config_makefile dlls/qcap/tests enable_tests
22313 wine_fn_config_makefile dlls/qdvd enable_qdvd
22314 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22315 wine_fn_config_makefile dlls/qedit enable_qedit
22316 wine_fn_config_makefile dlls/qedit/tests enable_tests
22317 wine_fn_config_makefile dlls/qmgr enable_qmgr
22318 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22319 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22320 wine_fn_config_makefile dlls/quartz enable_quartz
22321 wine_fn_config_makefile dlls/quartz/tests enable_tests
22322 wine_fn_config_makefile dlls/query enable_query
22323 wine_fn_config_makefile dlls/qwave enable_qwave
22324 wine_fn_config_makefile dlls/qwave/tests enable_tests
22325 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22326 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22327 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22328 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22329 wine_fn_config_makefile dlls/regapi enable_regapi
22330 wine_fn_config_makefile dlls/resutils enable_resutils
22331 wine_fn_config_makefile dlls/riched20 enable_riched20
22332 wine_fn_config_makefile dlls/riched20/tests enable_tests
22333 wine_fn_config_makefile dlls/riched32 enable_riched32
22334 wine_fn_config_makefile dlls/riched32/tests enable_tests
22335 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22336 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22337 wine_fn_config_makefile dlls/rsabase enable_rsabase
22338 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22339 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22340 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22341 wine_fn_config_makefile dlls/rtutils enable_rtutils
22342 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22343 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22344 wine_fn_config_makefile dlls/samlib enable_samlib
22345 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22346 wine_fn_config_makefile dlls/sapi enable_sapi
22347 wine_fn_config_makefile dlls/sapi/tests enable_tests
22348 wine_fn_config_makefile dlls/sas enable_sas
22349 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22350 wine_fn_config_makefile dlls/sccbase enable_sccbase
22351 wine_fn_config_makefile dlls/schannel enable_schannel
22352 wine_fn_config_makefile dlls/schannel/tests enable_tests
22353 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22354 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22355 wine_fn_config_makefile dlls/scrobj enable_scrobj
22356 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22357 wine_fn_config_makefile dlls/scrrun enable_scrrun
22358 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22359 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22360 wine_fn_config_makefile dlls/sechost enable_sechost
22361 wine_fn_config_makefile dlls/secur32 enable_secur32
22362 wine_fn_config_makefile dlls/secur32/tests enable_tests
22363 wine_fn_config_makefile dlls/security enable_security
22364 wine_fn_config_makefile dlls/sensapi enable_sensapi
22365 wine_fn_config_makefile dlls/serialui enable_serialui
22366 wine_fn_config_makefile dlls/serialui/tests enable_tests
22367 wine_fn_config_makefile dlls/setupapi enable_setupapi
22368 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22369 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22370 wine_fn_config_makefile dlls/sfc enable_sfc
22371 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22372 wine_fn_config_makefile dlls/shcore enable_shcore
22373 wine_fn_config_makefile dlls/shcore/tests enable_tests
22374 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22375 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22376 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22377 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22378 wine_fn_config_makefile dlls/shell32 enable_shell32
22379 wine_fn_config_makefile dlls/shell32/tests enable_tests
22380 wine_fn_config_makefile dlls/shfolder enable_shfolder
22381 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22382 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22383 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22384 wine_fn_config_makefile dlls/slc enable_slc
22385 wine_fn_config_makefile dlls/slc/tests enable_tests
22386 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22387 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22388 wine_fn_config_makefile dlls/softpub enable_softpub
22389 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22390 wine_fn_config_makefile dlls/spoolss enable_spoolss
22391 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22392 wine_fn_config_makefile dlls/sppc enable_sppc
22393 wine_fn_config_makefile dlls/srclient enable_srclient
22394 wine_fn_config_makefile dlls/srvcli enable_srvcli
22395 wine_fn_config_makefile dlls/sspicli enable_sspicli
22396 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22397 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22398 wine_fn_config_makefile dlls/sti enable_sti
22399 wine_fn_config_makefile dlls/sti/tests enable_tests
22400 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22401 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22402 wine_fn_config_makefile dlls/strmdll enable_strmdll
22403 wine_fn_config_makefile dlls/svrapi enable_svrapi
22404 wine_fn_config_makefile dlls/sxs enable_sxs
22405 wine_fn_config_makefile dlls/sxs/tests enable_tests
22406 wine_fn_config_makefile dlls/system.drv16 enable_win16
22407 wine_fn_config_makefile dlls/t2embed enable_t2embed
22408 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22409 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22410 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22411 wine_fn_config_makefile dlls/taskschd enable_taskschd
22412 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22413 wine_fn_config_makefile dlls/tbs enable_tbs
22414 wine_fn_config_makefile dlls/tdh enable_tdh
22415 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22416 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22417 wine_fn_config_makefile dlls/traffic enable_traffic
22418 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22419 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22420 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22421 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22422 wine_fn_config_makefile dlls/tzres enable_tzres
22423 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22424 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22425 wine_fn_config_makefile dlls/uianimation enable_uianimation
22426 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22427 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22428 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22429 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22430 wine_fn_config_makefile dlls/unicows enable_unicows
22431 wine_fn_config_makefile dlls/updspapi enable_updspapi
22432 wine_fn_config_makefile dlls/url enable_url
22433 wine_fn_config_makefile dlls/urlmon enable_urlmon
22434 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22435 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22436 wine_fn_config_makefile dlls/user.exe16 enable_win16
22437 wine_fn_config_makefile dlls/user32 enable_user32
22438 wine_fn_config_makefile dlls/user32/tests enable_tests
22439 wine_fn_config_makefile dlls/userenv enable_userenv
22440 wine_fn_config_makefile dlls/userenv/tests enable_tests
22441 wine_fn_config_makefile dlls/usp10 enable_usp10
22442 wine_fn_config_makefile dlls/usp10/tests enable_tests
22443 wine_fn_config_makefile dlls/utildll enable_utildll
22444 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22445 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22446 wine_fn_config_makefile dlls/vbscript enable_vbscript
22447 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22448 wine_fn_config_makefile dlls/vcomp enable_vcomp
22449 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22450 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22451 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22452 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22453 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22454 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22455 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22456 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22457 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22458 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22459 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22460 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22461 wine_fn_config_makefile dlls/version enable_version
22462 wine_fn_config_makefile dlls/version/tests enable_tests
22463 wine_fn_config_makefile dlls/vga enable_vga
22464 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22465 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22466 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22467 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22468 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22469 wine_fn_config_makefile dlls/vssapi enable_vssapi
22470 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22471 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22472 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22473 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22474 wine_fn_config_makefile dlls/w32skrnl enable_win16
22475 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22476 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22477 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22478 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22479 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22480 wine_fn_config_makefile dlls/wdscore enable_wdscore
22481 wine_fn_config_makefile dlls/webservices enable_webservices
22482 wine_fn_config_makefile dlls/webservices/tests enable_tests
22483 wine_fn_config_makefile dlls/websocket enable_websocket
22484 wine_fn_config_makefile dlls/wer enable_wer
22485 wine_fn_config_makefile dlls/wer/tests enable_tests
22486 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22487 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22488 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22489 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22490 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22491 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22492 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22493 wine_fn_config_makefile dlls/win32u enable_win32u
22494 wine_fn_config_makefile dlls/win32u/tests enable_tests
22495 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22496 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22497 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22498 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22499 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22500 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22501 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22502 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22503 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22504 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22505 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22506 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22507 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22508 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22509 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22510 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22511 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22512 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22513 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22514 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22515 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22516 wine_fn_config_makefile dlls/wined3d enable_wined3d
22517 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22518 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22519 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
22520 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22521 wine_fn_config_makefile dlls/winemapi enable_winemapi
22522 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22523 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22524 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22525 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22526 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22527 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22528 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22529 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22530 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22531 wine_fn_config_makefile dlls/wing32 enable_wing32
22532 wine_fn_config_makefile dlls/winhttp enable_winhttp
22533 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22534 wine_fn_config_makefile dlls/wininet enable_wininet
22535 wine_fn_config_makefile dlls/wininet/tests enable_tests
22536 wine_fn_config_makefile dlls/winmm enable_winmm
22537 wine_fn_config_makefile dlls/winmm/tests enable_tests
22538 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22539 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22540 wine_fn_config_makefile dlls/winscard enable_winscard
22541 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22542 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22543 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22544 wine_fn_config_makefile dlls/winsta enable_winsta
22545 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22546 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22547 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22548 wine_fn_config_makefile dlls/wintrust enable_wintrust
22549 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22550 wine_fn_config_makefile dlls/winusb enable_winusb
22551 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22552 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22553 wine_fn_config_makefile dlls/wlanui enable_wlanui
22554 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22555 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22556 wine_fn_config_makefile dlls/wmasf enable_wmasf
22557 wine_fn_config_makefile dlls/wmi enable_wmi
22558 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22559 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22560 wine_fn_config_makefile dlls/wmp enable_wmp
22561 wine_fn_config_makefile dlls/wmp/tests enable_tests
22562 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22563 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22564 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22565 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22566 wine_fn_config_makefile dlls/wow32 enable_win16
22567 wine_fn_config_makefile dlls/wow64 enable_wow64
22568 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22569 wine_fn_config_makefile dlls/wow64win enable_wow64win
22570 wine_fn_config_makefile dlls/wpc enable_wpc
22571 wine_fn_config_makefile dlls/wpc/tests enable_tests
22572 wine_fn_config_makefile dlls/wpcap enable_wpcap
22573 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22574 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22575 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22576 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22577 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22578 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22579 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22580 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22581 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22582 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22583 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22584 wine_fn_config_makefile dlls/wuapi enable_wuapi
22585 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22586 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22587 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22588 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22589 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22590 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22591 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22592 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22593 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22594 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22595 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22596 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22597 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22598 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22599 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22600 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22601 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22602 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22603 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22604 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22605 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22606 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22607 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22608 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22609 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22610 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22611 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22612 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22613 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22614 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22615 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22616 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22617 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22618 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22619 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22620 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22621 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22622 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22623 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22624 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22625 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22626 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22627 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22628 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22629 wine_fn_config_makefile dlls/xmllite enable_xmllite
22630 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22631 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22632 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22633 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22634 wine_fn_config_makefile fonts enable_fonts
22635 wine_fn_config_makefile include enable_include
22636 wine_fn_config_makefile libs/adsiid enable_adsiid
22637 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22638 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22639 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22640 wine_fn_config_makefile libs/dxguid enable_dxguid
22641 wine_fn_config_makefile libs/faudio enable_faudio
22642 wine_fn_config_makefile libs/gsm enable_gsm
22643 wine_fn_config_makefile libs/jpeg enable_jpeg
22644 wine_fn_config_makefile libs/jxr enable_jxr
22645 wine_fn_config_makefile libs/lcms2 enable_lcms2
22646 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22647 wine_fn_config_makefile libs/mpg123 enable_mpg123
22648 wine_fn_config_makefile libs/png enable_png
22649 wine_fn_config_makefile libs/strmbase enable_strmbase
22650 wine_fn_config_makefile libs/strmiids enable_strmiids
22651 wine_fn_config_makefile libs/tiff enable_tiff
22652 wine_fn_config_makefile libs/uuid enable_uuid
22653 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22654 wine_fn_config_makefile libs/wine enable_wine
22655 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22656 wine_fn_config_makefile libs/xml2 enable_xml2
22657 wine_fn_config_makefile libs/xslt enable_xslt
22658 wine_fn_config_makefile libs/zlib enable_zlib
22659 wine_fn_config_makefile loader enable_loader
22660 wine_fn_config_makefile nls enable_nls
22661 wine_fn_config_makefile po enable_po
22662 wine_fn_config_makefile programs/arp enable_arp
22663 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22664 wine_fn_config_makefile programs/attrib enable_attrib
22665 wine_fn_config_makefile programs/cabarc enable_cabarc
22666 wine_fn_config_makefile programs/cacls enable_cacls
22667 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22668 wine_fn_config_makefile programs/clock enable_clock
22669 wine_fn_config_makefile programs/cmd enable_cmd
22670 wine_fn_config_makefile programs/cmd/tests enable_tests
22671 wine_fn_config_makefile programs/conhost enable_conhost
22672 wine_fn_config_makefile programs/conhost/tests enable_tests
22673 wine_fn_config_makefile programs/control enable_control
22674 wine_fn_config_makefile programs/cscript enable_cscript
22675 wine_fn_config_makefile programs/dism enable_dism
22676 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22677 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22678 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22679 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22680 wine_fn_config_makefile programs/eject enable_eject
22681 wine_fn_config_makefile programs/expand enable_expand
22682 wine_fn_config_makefile programs/explorer enable_explorer
22683 wine_fn_config_makefile programs/extrac32 enable_extrac32
22684 wine_fn_config_makefile programs/fc enable_fc
22685 wine_fn_config_makefile programs/find enable_find
22686 wine_fn_config_makefile programs/find/tests enable_tests
22687 wine_fn_config_makefile programs/findstr enable_findstr
22688 wine_fn_config_makefile programs/fsutil enable_fsutil
22689 wine_fn_config_makefile programs/fsutil/tests enable_tests
22690 wine_fn_config_makefile programs/hh enable_hh
22691 wine_fn_config_makefile programs/hostname enable_hostname
22692 wine_fn_config_makefile programs/icacls enable_icacls
22693 wine_fn_config_makefile programs/icinfo enable_icinfo
22694 wine_fn_config_makefile programs/iexplore enable_iexplore
22695 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22696 wine_fn_config_makefile programs/lodctr enable_lodctr
22697 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22698 wine_fn_config_makefile programs/mshta enable_mshta
22699 wine_fn_config_makefile programs/msidb enable_msidb
22700 wine_fn_config_makefile programs/msiexec enable_msiexec
22701 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22702 wine_fn_config_makefile programs/net enable_net
22703 wine_fn_config_makefile programs/netsh enable_netsh
22704 wine_fn_config_makefile programs/netstat enable_netstat
22705 wine_fn_config_makefile programs/ngen enable_ngen
22706 wine_fn_config_makefile programs/notepad enable_notepad
22707 wine_fn_config_makefile programs/oleview enable_oleview
22708 wine_fn_config_makefile programs/ping enable_ping
22709 wine_fn_config_makefile programs/plugplay enable_plugplay
22710 wine_fn_config_makefile programs/powershell enable_powershell
22711 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22712 wine_fn_config_makefile programs/progman enable_progman
22713 wine_fn_config_makefile programs/reg enable_reg
22714 wine_fn_config_makefile programs/reg/tests enable_tests
22715 wine_fn_config_makefile programs/regasm enable_regasm
22716 wine_fn_config_makefile programs/regedit enable_regedit
22717 wine_fn_config_makefile programs/regedit/tests enable_tests
22718 wine_fn_config_makefile programs/regini enable_regini
22719 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22720 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22721 wine_fn_config_makefile programs/robocopy enable_robocopy
22722 wine_fn_config_makefile programs/rpcss enable_rpcss
22723 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22724 wine_fn_config_makefile programs/rundll32 enable_rundll32
22725 wine_fn_config_makefile programs/sc enable_sc
22726 wine_fn_config_makefile programs/schtasks enable_schtasks
22727 wine_fn_config_makefile programs/schtasks/tests enable_tests
22728 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22729 wine_fn_config_makefile programs/secedit enable_secedit
22730 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22731 wine_fn_config_makefile programs/services enable_services
22732 wine_fn_config_makefile programs/services/tests enable_tests
22733 wine_fn_config_makefile programs/shutdown enable_shutdown
22734 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22735 wine_fn_config_makefile programs/start enable_start
22736 wine_fn_config_makefile programs/subst enable_subst
22737 wine_fn_config_makefile programs/svchost enable_svchost
22738 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22739 wine_fn_config_makefile programs/taskkill enable_taskkill
22740 wine_fn_config_makefile programs/tasklist enable_tasklist
22741 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22742 wine_fn_config_makefile programs/termsv enable_termsv
22743 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22744 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22745 wine_fn_config_makefile programs/view enable_view
22746 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22747 wine_fn_config_makefile programs/where enable_where
22748 wine_fn_config_makefile programs/whoami enable_whoami
22749 wine_fn_config_makefile programs/wineboot enable_wineboot
22750 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22751 wine_fn_config_makefile programs/winecfg enable_winecfg
22752 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22753 wine_fn_config_makefile programs/winedbg enable_winedbg
22754 wine_fn_config_makefile programs/winedevice enable_winedevice
22755 wine_fn_config_makefile programs/winefile enable_winefile
22756 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22757 wine_fn_config_makefile programs/winemine enable_winemine
22758 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22759 wine_fn_config_makefile programs/winepath enable_winepath
22760 wine_fn_config_makefile programs/winetest enable_winetest
22761 wine_fn_config_makefile programs/winevdm enable_win16
22762 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22763 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22764 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22765 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22766 wine_fn_config_makefile programs/winver enable_winver
22767 wine_fn_config_makefile programs/wmic enable_wmic
22768 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22769 wine_fn_config_makefile programs/wordpad enable_wordpad
22770 wine_fn_config_makefile programs/write enable_write
22771 wine_fn_config_makefile programs/wscript enable_wscript
22772 wine_fn_config_makefile programs/wscript/tests enable_tests
22773 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22774 wine_fn_config_makefile programs/wusa enable_wusa
22775 wine_fn_config_makefile programs/xcopy enable_xcopy
22776 wine_fn_config_makefile programs/xcopy/tests enable_tests
22777 wine_fn_config_makefile server enable_server
22778 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22779 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22780 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22781 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22782 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22783 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22784 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22785 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22786 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22789 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22790 wine_fn_append_file CONFIGURE_TARGETS "tags"
22791 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22792 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22793 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22794 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22795 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22796 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22798 if test "x$enable_tools" != xno
22799 then
22800 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22801 ac_config_commands="$ac_config_commands tools/makedep"
22805 ac_config_commands="$ac_config_commands Makefile"
22809 SHELL=/bin/sh
22812 wine_fn_append_rule "all: wine
22813 @echo \"Wine build complete.\"
22814 .INIT: Makefile
22815 .MAKEFILEDEPS:
22816 all: Makefile
22817 Makefile: config.status \$(MAKEDEP)
22818 @./config.status Makefile
22819 depend: \$(MAKEDEP)
22820 \$(MAKEDEP)$makedep_flags"
22823 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22824 @./config.status --recheck
22825 include/config.h: include/stamp-h
22826 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22827 @./config.status include/config.h include/stamp-h"
22829 if test "x$enable_maintainer_mode" = xyes
22830 then
22831 wine_fn_append_rule "configure: configure.ac aclocal.m4
22832 autoconf --warnings=all
22833 include/config.h.in: include/stamp-h.in
22834 include/stamp-h.in: configure.ac aclocal.m4
22835 autoheader --warnings=all
22836 @echo timestamp > \$@"
22839 if test "x$enable_tools" != xno
22840 then
22841 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22842 @./config.status tools/makedep
22843 Makefile: tools/makedep$ac_exeext"
22844 else
22845 wine_fn_append_rule "\$(MAKEDEP):
22846 @echo \"You need to run make in $toolsdir first\" && false"
22850 if test -n "$with_wine64"
22851 then
22852 case "$with_wine64" in
22853 /*) reldir="" ;;
22854 *) reldir="../" ;;
22855 esac
22856 rm -f fonts server 2>/dev/null
22857 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22858 loader/wine64 loader/wine64-preloader:
22859 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22860 $with_wine64/loader/wine:
22861 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22862 $with_wine64/loader/wine-preloader:
22863 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22864 clean::
22865 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22866 else
22867 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22868 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22869 fonts \
22870 loader/wine.inf \
22871 nls \
22872 programs/msidb/msidb \
22873 programs/msiexec/msiexec \
22874 programs/notepad/notepad \
22875 programs/regedit/regedit \
22876 programs/regsvr32/regsvr32 \
22877 programs/wineboot/wineboot \
22878 programs/winecfg/winecfg \
22879 programs/wineconsole/wineconsole \
22880 programs/winedbg/winedbg \
22881 programs/winefile/winefile \
22882 programs/winemine/winemine \
22883 programs/winepath/winepath \
22884 server/wineserver"
22886 case $host_os in
22887 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22888 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22889 esac
22893 wine_fn_append_rule "distclean:: clean
22894 rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man\$(api_manext)"
22897 wine_fn_append_rule "install-manpages:: manpages
22898 for i in documentation/man\$(api_manext)/*.\$(api_manext); do ${wine_srcdir}tools/install-sh -m 644 \$(INSTALL_DATA_FLAGS) \$\$i \$(DESTDIR)\$(mandir)/\$\$i; done"
22901 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22902 @version=\`(GIT_DIR=${wine_srcdir}.git git describe HEAD 2>/dev/null || echo \"wine-\$(PACKAGE_VERSION)\") | sed -n -e '\$\$s/\(.*\)/const char wine_build[] = \"\\1\";/p'\` && (echo \$\$version | cmp -s - \$@) || echo \$\$version >\$@ || (rm -f \$@ && exit 1)
22903 programs/winetest/build.rc: dummy
22904 @build=\"STRINGTABLE { 1 \\\"\`GIT_DIR=${wine_srcdir}.git git rev-parse HEAD 2>/dev/null\`\\\" }\" && (echo \$\$build | cmp -s - \$@) || echo \$\$build >\$@ || (rm -f \$@ && exit 1)
22905 programs/winetest/build.nfo:
22906 @-\$(CC) -v 2>\$@
22907 dlls/wineandroid.drv/wine-debug.apk: dlls/wineandroid.drv/build.gradle ${wine_srcdir}dlls/wineandroid.drv/AndroidManifest.xml ${wine_srcdir}dlls/wineandroid.drv/WineActivity.java ${wine_srcdir}dlls/wineandroid.drv/wine.svg
22908 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22909 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22912 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22914 wine_fn_append_rule "TAGS etags:
22915 rm -f TAGS
22916 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22917 tags ctags:
22918 rm -f tags
22919 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22920 dummy:
22921 .PHONY: depend dummy install-manpages"
22923 printf "%s\n" " done" >&6
22924 cat >confcache <<\_ACEOF
22925 # This file is a shell script that caches the results of configure
22926 # tests run on this system so they can be shared between configure
22927 # scripts and configure runs, see configure's option --config-cache.
22928 # It is not useful on other systems. If it contains results you don't
22929 # want to keep, you may remove or edit it.
22931 # config.status only pays attention to the cache file if you give it
22932 # the --recheck option to rerun configure.
22934 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22935 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22936 # following values.
22938 _ACEOF
22940 # The following way of writing the cache mishandles newlines in values,
22941 # but we know of no workaround that is simple, portable, and efficient.
22942 # So, we kill variables containing newlines.
22943 # Ultrix sh set writes to stderr and can't be redirected directly,
22944 # and sets the high bit in the cache file unless we assign to the vars.
22946 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22947 eval ac_val=\$$ac_var
22948 case $ac_val in #(
22949 *${as_nl}*)
22950 case $ac_var in #(
22951 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22952 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22953 esac
22954 case $ac_var in #(
22955 _ | IFS | as_nl) ;; #(
22956 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22957 *) { eval $ac_var=; unset $ac_var;} ;;
22958 esac ;;
22959 esac
22960 done
22962 (set) 2>&1 |
22963 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22964 *${as_nl}ac_space=\ *)
22965 # `set' does not quote correctly, so add quotes: double-quote
22966 # substitution turns \\\\ into \\, and sed turns \\ into \.
22967 sed -n \
22968 "s/'/'\\\\''/g;
22969 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22970 ;; #(
22972 # `set' quotes correctly as required by POSIX, so do not add quotes.
22973 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22975 esac |
22976 sort
22978 sed '
22979 /^ac_cv_env_/b end
22980 t clear
22981 :clear
22982 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22983 t end
22984 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22985 :end' >>confcache
22986 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22987 if test -w "$cache_file"; then
22988 if test "x$cache_file" != "x/dev/null"; then
22989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22990 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22991 if test ! -f "$cache_file" || test -h "$cache_file"; then
22992 cat confcache >"$cache_file"
22993 else
22994 case $cache_file in #(
22995 */* | ?:*)
22996 mv -f confcache "$cache_file"$$ &&
22997 mv -f "$cache_file"$$ "$cache_file" ;; #(
22999 mv -f confcache "$cache_file" ;;
23000 esac
23003 else
23004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23005 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
23008 rm -f confcache
23010 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23011 # Let make expand exec_prefix.
23012 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23014 DEFS=-DHAVE_CONFIG_H
23016 ac_libobjs=
23017 ac_ltlibobjs=
23019 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23020 # 1. Remove the extension, and $U if already installed.
23021 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23022 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23023 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23024 # will be set to the directory where LIBOBJS objects are built.
23025 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23026 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23027 done
23028 LIBOBJS=$ac_libobjs
23030 LTLIBOBJS=$ac_ltlibobjs
23034 : "${CONFIG_STATUS=./config.status}"
23035 ac_write_fail=0
23036 ac_clean_files_save=$ac_clean_files
23037 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23039 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23040 as_write_fail=0
23041 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23042 #! $SHELL
23043 # Generated by $as_me.
23044 # Run this file to recreate the current configuration.
23045 # Compiler output produced by configure, useful for debugging
23046 # configure, is in config.log if it exists.
23048 debug=false
23049 ac_cs_recheck=false
23050 ac_cs_silent=false
23052 SHELL=\${CONFIG_SHELL-$SHELL}
23053 export SHELL
23054 _ASEOF
23055 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23056 ## -------------------- ##
23057 ## M4sh Initialization. ##
23058 ## -------------------- ##
23060 # Be more Bourne compatible
23061 DUALCASE=1; export DUALCASE # for MKS sh
23062 as_nop=:
23063 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23064 then :
23065 emulate sh
23066 NULLCMD=:
23067 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23068 # is contrary to our usage. Disable this feature.
23069 alias -g '${1+"$@"}'='"$@"'
23070 setopt NO_GLOB_SUBST
23071 else $as_nop
23072 case `(set -o) 2>/dev/null` in #(
23073 *posix*) :
23074 set -o posix ;; #(
23075 *) :
23077 esac
23082 # Reset variables that may have inherited troublesome values from
23083 # the environment.
23085 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23086 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23087 # side effect of setting IFS to empty, thus disabling word splitting.)
23088 # Quoting is to prevent editors from complaining about space-tab.
23089 as_nl='
23091 export as_nl
23092 IFS=" "" $as_nl"
23094 PS1='$ '
23095 PS2='> '
23096 PS4='+ '
23098 # Ensure predictable behavior from utilities with locale-dependent output.
23099 LC_ALL=C
23100 export LC_ALL
23101 LANGUAGE=C
23102 export LANGUAGE
23104 # We cannot yet rely on "unset" to work, but we need these variables
23105 # to be unset--not just set to an empty or harmless value--now, to
23106 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23107 # also avoids known problems related to "unset" and subshell syntax
23108 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23109 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23110 do eval test \${$as_var+y} \
23111 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23112 done
23114 # Ensure that fds 0, 1, and 2 are open.
23115 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23116 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23117 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23119 # The user is always right.
23120 if ${PATH_SEPARATOR+false} :; then
23121 PATH_SEPARATOR=:
23122 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23123 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23124 PATH_SEPARATOR=';'
23129 # Find who we are. Look in the path if we contain no directory separator.
23130 as_myself=
23131 case $0 in #((
23132 *[\\/]* ) as_myself=$0 ;;
23133 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23134 for as_dir in $PATH
23136 IFS=$as_save_IFS
23137 case $as_dir in #(((
23138 '') as_dir=./ ;;
23139 */) ;;
23140 *) as_dir=$as_dir/ ;;
23141 esac
23142 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23143 done
23144 IFS=$as_save_IFS
23147 esac
23148 # We did not find ourselves, most probably we were run as `sh COMMAND'
23149 # in which case we are not to be found in the path.
23150 if test "x$as_myself" = x; then
23151 as_myself=$0
23153 if test ! -f "$as_myself"; then
23154 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23155 exit 1
23160 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23161 # ----------------------------------------
23162 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23163 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23164 # script with STATUS, using 1 if that was 0.
23165 as_fn_error ()
23167 as_status=$1; test $as_status -eq 0 && as_status=1
23168 if test "$4"; then
23169 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23172 printf "%s\n" "$as_me: error: $2" >&2
23173 as_fn_exit $as_status
23174 } # as_fn_error
23178 # as_fn_set_status STATUS
23179 # -----------------------
23180 # Set $? to STATUS, without forking.
23181 as_fn_set_status ()
23183 return $1
23184 } # as_fn_set_status
23186 # as_fn_exit STATUS
23187 # -----------------
23188 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23189 as_fn_exit ()
23191 set +e
23192 as_fn_set_status $1
23193 exit $1
23194 } # as_fn_exit
23196 # as_fn_unset VAR
23197 # ---------------
23198 # Portably unset VAR.
23199 as_fn_unset ()
23201 { eval $1=; unset $1;}
23203 as_unset=as_fn_unset
23205 # as_fn_append VAR VALUE
23206 # ----------------------
23207 # Append the text in VALUE to the end of the definition contained in VAR. Take
23208 # advantage of any shell optimizations that allow amortized linear growth over
23209 # repeated appends, instead of the typical quadratic growth present in naive
23210 # implementations.
23211 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23212 then :
23213 eval 'as_fn_append ()
23215 eval $1+=\$2
23217 else $as_nop
23218 as_fn_append ()
23220 eval $1=\$$1\$2
23222 fi # as_fn_append
23224 # as_fn_arith ARG...
23225 # ------------------
23226 # Perform arithmetic evaluation on the ARGs, and store the result in the
23227 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23228 # must be portable across $(()) and expr.
23229 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23230 then :
23231 eval 'as_fn_arith ()
23233 as_val=$(( $* ))
23235 else $as_nop
23236 as_fn_arith ()
23238 as_val=`expr "$@" || test $? -eq 1`
23240 fi # as_fn_arith
23243 if expr a : '\(a\)' >/dev/null 2>&1 &&
23244 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23245 as_expr=expr
23246 else
23247 as_expr=false
23250 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23251 as_basename=basename
23252 else
23253 as_basename=false
23256 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23257 as_dirname=dirname
23258 else
23259 as_dirname=false
23262 as_me=`$as_basename -- "$0" ||
23263 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23264 X"$0" : 'X\(//\)$' \| \
23265 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23266 printf "%s\n" X/"$0" |
23267 sed '/^.*\/\([^/][^/]*\)\/*$/{
23268 s//\1/
23271 /^X\/\(\/\/\)$/{
23272 s//\1/
23275 /^X\/\(\/\).*/{
23276 s//\1/
23279 s/.*/./; q'`
23281 # Avoid depending upon Character Ranges.
23282 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23283 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23284 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23285 as_cr_digits='0123456789'
23286 as_cr_alnum=$as_cr_Letters$as_cr_digits
23289 # Determine whether it's possible to make 'echo' print without a newline.
23290 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23291 # for compatibility with existing Makefiles.
23292 ECHO_C= ECHO_N= ECHO_T=
23293 case `echo -n x` in #(((((
23294 -n*)
23295 case `echo 'xy\c'` in
23296 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23297 xy) ECHO_C='\c';;
23298 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23299 ECHO_T=' ';;
23300 esac;;
23302 ECHO_N='-n';;
23303 esac
23305 # For backward compatibility with old third-party macros, we provide
23306 # the shell variables $as_echo and $as_echo_n. New code should use
23307 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23308 as_echo='printf %s\n'
23309 as_echo_n='printf %s'
23311 rm -f conf$$ conf$$.exe conf$$.file
23312 if test -d conf$$.dir; then
23313 rm -f conf$$.dir/conf$$.file
23314 else
23315 rm -f conf$$.dir
23316 mkdir conf$$.dir 2>/dev/null
23318 if (echo >conf$$.file) 2>/dev/null; then
23319 if ln -s conf$$.file conf$$ 2>/dev/null; then
23320 as_ln_s='ln -s'
23321 # ... but there are two gotchas:
23322 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23323 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23324 # In both cases, we have to default to `cp -pR'.
23325 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23326 as_ln_s='cp -pR'
23327 elif ln conf$$.file conf$$ 2>/dev/null; then
23328 as_ln_s=ln
23329 else
23330 as_ln_s='cp -pR'
23332 else
23333 as_ln_s='cp -pR'
23335 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23336 rmdir conf$$.dir 2>/dev/null
23339 # as_fn_mkdir_p
23340 # -------------
23341 # Create "$as_dir" as a directory, including parents if necessary.
23342 as_fn_mkdir_p ()
23345 case $as_dir in #(
23346 -*) as_dir=./$as_dir;;
23347 esac
23348 test -d "$as_dir" || eval $as_mkdir_p || {
23349 as_dirs=
23350 while :; do
23351 case $as_dir in #(
23352 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23353 *) as_qdir=$as_dir;;
23354 esac
23355 as_dirs="'$as_qdir' $as_dirs"
23356 as_dir=`$as_dirname -- "$as_dir" ||
23357 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23358 X"$as_dir" : 'X\(//\)[^/]' \| \
23359 X"$as_dir" : 'X\(//\)$' \| \
23360 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23361 printf "%s\n" X"$as_dir" |
23362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23363 s//\1/
23366 /^X\(\/\/\)[^/].*/{
23367 s//\1/
23370 /^X\(\/\/\)$/{
23371 s//\1/
23374 /^X\(\/\).*/{
23375 s//\1/
23378 s/.*/./; q'`
23379 test -d "$as_dir" && break
23380 done
23381 test -z "$as_dirs" || eval "mkdir $as_dirs"
23382 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23385 } # as_fn_mkdir_p
23386 if mkdir -p . 2>/dev/null; then
23387 as_mkdir_p='mkdir -p "$as_dir"'
23388 else
23389 test -d ./-p && rmdir ./-p
23390 as_mkdir_p=false
23394 # as_fn_executable_p FILE
23395 # -----------------------
23396 # Test if FILE is an executable regular file.
23397 as_fn_executable_p ()
23399 test -f "$1" && test -x "$1"
23400 } # as_fn_executable_p
23401 as_test_x='test -x'
23402 as_executable_p=as_fn_executable_p
23404 # Sed expression to map a string onto a valid CPP name.
23405 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23407 # Sed expression to map a string onto a valid variable name.
23408 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23411 exec 6>&1
23412 ## ----------------------------------- ##
23413 ## Main body of $CONFIG_STATUS script. ##
23414 ## ----------------------------------- ##
23415 _ASEOF
23416 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23419 # Save the log message, to keep $0 and so on meaningful, and to
23420 # report actual input values of CONFIG_FILES etc. instead of their
23421 # values after options handling.
23422 ac_log="
23423 This file was extended by Wine $as_me 6.23, which was
23424 generated by GNU Autoconf 2.71. Invocation command line was
23426 CONFIG_FILES = $CONFIG_FILES
23427 CONFIG_HEADERS = $CONFIG_HEADERS
23428 CONFIG_LINKS = $CONFIG_LINKS
23429 CONFIG_COMMANDS = $CONFIG_COMMANDS
23430 $ $0 $@
23432 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23435 _ACEOF
23438 case $ac_config_headers in *"
23439 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23440 esac
23443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23444 # Files that config.status was made for.
23445 config_headers="$ac_config_headers"
23446 config_links="$ac_config_links"
23447 config_commands="$ac_config_commands"
23449 _ACEOF
23451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23452 ac_cs_usage="\
23453 \`$as_me' instantiates files and other configuration actions
23454 from templates according to the current configuration. Unless the files
23455 and actions are specified as TAGs, all are instantiated by default.
23457 Usage: $0 [OPTION]... [TAG]...
23459 -h, --help print this help, then exit
23460 -V, --version print version number and configuration settings, then exit
23461 --config print configuration, then exit
23462 -q, --quiet, --silent
23463 do not print progress messages
23464 -d, --debug don't remove temporary files
23465 --recheck update $as_me by reconfiguring in the same conditions
23466 --header=FILE[:TEMPLATE]
23467 instantiate the configuration header FILE
23469 Configuration headers:
23470 $config_headers
23472 Configuration links:
23473 $config_links
23475 Configuration commands:
23476 $config_commands
23478 Report bugs to <wine-devel@winehq.org>.
23479 Wine home page: <https://www.winehq.org>."
23481 _ACEOF
23482 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23483 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23485 ac_cs_config='$ac_cs_config_escaped'
23486 ac_cs_version="\\
23487 Wine config.status 6.23
23488 configured by $0, generated by GNU Autoconf 2.71,
23489 with options \\"\$ac_cs_config\\"
23491 Copyright (C) 2021 Free Software Foundation, Inc.
23492 This config.status script is free software; the Free Software Foundation
23493 gives unlimited permission to copy, distribute and modify it."
23495 ac_pwd='$ac_pwd'
23496 srcdir='$srcdir'
23497 test -n "\$AWK" || AWK=awk
23498 _ACEOF
23500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23501 # The default lists apply if the user does not specify any file.
23502 ac_need_defaults=:
23503 while test $# != 0
23505 case $1 in
23506 --*=?*)
23507 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23508 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23509 ac_shift=:
23511 --*=)
23512 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23513 ac_optarg=
23514 ac_shift=:
23517 ac_option=$1
23518 ac_optarg=$2
23519 ac_shift=shift
23521 esac
23523 case $ac_option in
23524 # Handling of the options.
23525 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23526 ac_cs_recheck=: ;;
23527 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23528 printf "%s\n" "$ac_cs_version"; exit ;;
23529 --config | --confi | --conf | --con | --co | --c )
23530 printf "%s\n" "$ac_cs_config"; exit ;;
23531 --debug | --debu | --deb | --de | --d | -d )
23532 debug=: ;;
23533 --header | --heade | --head | --hea )
23534 $ac_shift
23535 case $ac_optarg in
23536 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23537 esac
23538 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23539 ac_need_defaults=false;;
23540 --he | --h)
23541 # Conflict between --help and --header
23542 as_fn_error $? "ambiguous option: \`$1'
23543 Try \`$0 --help' for more information.";;
23544 --help | --hel | -h )
23545 printf "%s\n" "$ac_cs_usage"; exit ;;
23546 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23547 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23548 ac_cs_silent=: ;;
23550 # This is an error.
23551 -*) as_fn_error $? "unrecognized option: \`$1'
23552 Try \`$0 --help' for more information." ;;
23554 *) as_fn_append ac_config_targets " $1"
23555 ac_need_defaults=false ;;
23557 esac
23558 shift
23559 done
23561 ac_configure_extra_args=
23563 if $ac_cs_silent; then
23564 exec 6>/dev/null
23565 ac_configure_extra_args="$ac_configure_extra_args --silent"
23568 _ACEOF
23569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23570 if \$ac_cs_recheck; then
23571 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23572 shift
23573 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23574 CONFIG_SHELL='$SHELL'
23575 export CONFIG_SHELL
23576 exec "\$@"
23579 _ACEOF
23580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23581 exec 5>>config.log
23583 echo
23584 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23585 ## Running $as_me. ##
23586 _ASBOX
23587 printf "%s\n" "$ac_log"
23588 } >&5
23590 _ACEOF
23591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23593 # INIT-COMMANDS
23595 wine_fn_output_makedep ()
23597 as_dir=tools; as_fn_mkdir_p
23598 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23600 wine_fn_output_makefile ()
23602 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23603 # This Makefile understands the following targets:
23605 # all (default): build wine
23606 # clean: remove all intermediate files
23607 # distclean: also remove all files created by configure
23608 # test: run tests
23609 # testclean: clean test results to force running all tests again
23610 # install-lib: install libraries needed to run applications
23611 # install-dev: install development environment
23612 # install: install everything
23613 # uninstall: uninstall everything
23614 # ctags: create a tags file for vim and others.
23615 # etags: create a TAGS file for Emacs.
23616 # manpages: compile manpages for Wine API
23617 # htmlpages: compile html pages for Wine API
23618 # sgmlpages: compile sgml source for the Wine API Guide
23619 # xmlpages: compile xml source for the Wine API Guide
23621 SHELL = $SHELL
23622 PATH_SEPARATOR = $PATH_SEPARATOR
23623 PACKAGE_NAME = $PACKAGE_NAME
23624 PACKAGE_TARNAME = $PACKAGE_TARNAME
23625 PACKAGE_VERSION = $PACKAGE_VERSION
23626 PACKAGE_STRING = $PACKAGE_STRING
23627 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23628 PACKAGE_URL = $PACKAGE_URL
23629 exec_prefix = $exec_prefix
23630 prefix = $prefix
23631 program_transform_name = $program_transform_name
23632 bindir = $bindir
23633 sbindir = $sbindir
23634 libexecdir = $libexecdir
23635 datarootdir = $datarootdir
23636 datadir = $datadir
23637 sysconfdir = $sysconfdir
23638 sharedstatedir = $sharedstatedir
23639 localstatedir = $localstatedir
23640 runstatedir = $runstatedir
23641 includedir = $includedir
23642 oldincludedir = $oldincludedir
23643 docdir = $docdir
23644 infodir = $infodir
23645 htmldir = $htmldir
23646 dvidir = $dvidir
23647 pdfdir = $pdfdir
23648 psdir = $psdir
23649 libdir = $libdir
23650 localedir = $localedir
23651 mandir = $mandir
23652 DEFS = $DEFS
23653 ECHO_C = $ECHO_C
23654 ECHO_N = $ECHO_N
23655 ECHO_T = $ECHO_T
23656 LIBS = $LIBS
23657 build_alias = $build_alias
23658 host_alias = $host_alias
23659 target_alias = $target_alias
23660 system_dllpath = $system_dllpath
23661 build = $build
23662 build_cpu = $build_cpu
23663 build_vendor = $build_vendor
23664 build_os = $build_os
23665 host = $host
23666 host_cpu = $host_cpu
23667 host_vendor = $host_vendor
23668 host_os = $host_os
23669 dlldir = $dlldir
23670 fontdir = $fontdir
23671 nlsdir = $nlsdir
23672 srcdir = $srcdir
23673 SET_MAKE = $SET_MAKE
23674 CC = $CC
23675 CFLAGS = $CFLAGS
23676 LDFLAGS = $LDFLAGS
23677 CPPFLAGS = $CPPFLAGS
23678 ac_ct_CC = $ac_ct_CC
23679 EXEEXT = $EXEEXT
23680 OBJEXT = $OBJEXT
23681 CXX = $CXX
23682 CXXFLAGS = $CXXFLAGS
23683 ac_ct_CXX = $ac_ct_CXX
23684 CPPBIN = $CPPBIN
23685 LD = $LD
23686 TARGETFLAGS = $TARGETFLAGS
23687 toolsext = $toolsext
23688 toolsdir = $toolsdir
23689 MAKEDEP = $MAKEDEP
23690 RUNTESTFLAGS = $RUNTESTFLAGS
23691 SED_CMD = $SED_CMD
23692 api_manext = $api_manext
23693 FLEX = $FLEX
23694 BISON = $BISON
23695 AR = $AR
23696 ac_ct_AR = $ac_ct_AR
23697 STRIP = $STRIP
23698 RANLIB = $RANLIB
23699 LN_S = $LN_S
23700 GREP = $GREP
23701 EGREP = $EGREP
23702 LDCONFIG = $LDCONFIG
23703 MSGFMT = $MSGFMT
23704 PKG_CONFIG = $PKG_CONFIG
23705 FONTFORGE = $FONTFORGE
23706 RSVG = $RSVG
23707 CONVERT = $CONVERT
23708 ICOTOOL = $ICOTOOL
23709 I386_LIBS = $I386_LIBS
23710 OPENGL_LIBS = $OPENGL_LIBS
23711 DLLFLAGS = $DLLFLAGS
23712 LDDLLFLAGS = $LDDLLFLAGS
23713 LDEXECFLAGS = $LDEXECFLAGS
23714 EXTRACFLAGS = $EXTRACFLAGS
23715 UNIXDLLFLAGS = $UNIXDLLFLAGS
23716 UNIXLDFLAGS = $UNIXLDFLAGS
23717 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23718 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23719 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23720 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23721 LDD = $LDD
23722 OTOOL = $OTOOL
23723 READELF = $READELF
23724 SUBDIRS = $SUBDIRS
23725 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23726 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23727 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23728 DLLTOOL = $DLLTOOL
23729 OBJC = $OBJC
23730 OBJCFLAGS = $OBJCFLAGS
23731 ac_ct_OBJC = $ac_ct_OBJC
23732 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23733 IOKIT_LIBS = $IOKIT_LIBS
23734 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23735 CORESERVICES_LIBS = $CORESERVICES_LIBS
23736 APPKIT_LIBS = $APPKIT_LIBS
23737 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23738 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23739 SECURITY_LIBS = $SECURITY_LIBS
23740 COREAUDIO_LIBS = $COREAUDIO_LIBS
23741 OPENAL_LIBS = $OPENAL_LIBS
23742 OPENCL_LIBS = $OPENCL_LIBS
23743 CARBON_LIBS = $CARBON_LIBS
23744 METAL_LIBS = $METAL_LIBS
23745 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23746 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23747 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23748 PRELINK = $PRELINK
23749 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23750 CROSSTARGET = $CROSSTARGET
23751 CROSSCC = $CROSSCC
23752 CROSSCFLAGS = $CROSSCFLAGS
23753 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23754 CROSSLDFLAGS = $CROSSLDFLAGS
23755 DELAYLOADFLAG = $DELAYLOADFLAG
23756 CROSSDEBUG = $CROSSDEBUG
23757 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23758 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23759 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23760 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23761 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23762 GSM_PE_LIBS = $GSM_PE_LIBS
23763 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23764 JPEG_PE_LIBS = $JPEG_PE_LIBS
23765 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23766 JXR_PE_LIBS = $JXR_PE_LIBS
23767 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23768 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23769 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23770 MPG123_PE_LIBS = $MPG123_PE_LIBS
23771 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23772 PNG_PE_LIBS = $PNG_PE_LIBS
23773 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23774 TIFF_PE_LIBS = $TIFF_PE_LIBS
23775 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23776 XML2_PE_LIBS = $XML2_PE_LIBS
23777 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23778 XSLT_PE_LIBS = $XSLT_PE_LIBS
23779 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23780 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23781 PTHREAD_LIBS = $PTHREAD_LIBS
23782 XMKMF = $XMKMF
23783 CPP = $CPP
23784 X_CFLAGS = $X_CFLAGS
23785 X_PRE_LIBS = $X_PRE_LIBS
23786 X_LIBS = $X_LIBS
23787 X_EXTRA_LIBS = $X_EXTRA_LIBS
23788 PCAP_LIBS = $PCAP_LIBS
23789 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23790 INOTIFY_LIBS = $INOTIFY_LIBS
23791 DBUS_CFLAGS = $DBUS_CFLAGS
23792 DBUS_LIBS = $DBUS_LIBS
23793 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23794 GNUTLS_LIBS = $GNUTLS_LIBS
23795 SANE_CFLAGS = $SANE_CFLAGS
23796 SANE_LIBS = $SANE_LIBS
23797 USB_CFLAGS = $USB_CFLAGS
23798 USB_LIBS = $USB_LIBS
23799 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23800 GPHOTO2_LIBS = $GPHOTO2_LIBS
23801 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23802 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23803 RESOLV_LIBS = $RESOLV_LIBS
23804 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23805 FREETYPE_LIBS = $FREETYPE_LIBS
23806 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23807 PULSE_CFLAGS = $PULSE_CFLAGS
23808 PULSE_LIBS = $PULSE_LIBS
23809 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23810 GSTREAMER_LIBS = $GSTREAMER_LIBS
23811 ALSA_LIBS = $ALSA_LIBS
23812 OSS4_CFLAGS = $OSS4_CFLAGS
23813 OSS4_LIBS = $OSS4_LIBS
23814 UDEV_CFLAGS = $UDEV_CFLAGS
23815 UDEV_LIBS = $UDEV_LIBS
23816 UNWIND_CFLAGS = $UNWIND_CFLAGS
23817 UNWIND_LIBS = $UNWIND_LIBS
23818 SDL2_CFLAGS = $SDL2_CFLAGS
23819 SDL2_LIBS = $SDL2_LIBS
23820 CAPI20_CFLAGS = $CAPI20_CFLAGS
23821 CAPI20_LIBS = $CAPI20_LIBS
23822 CUPS_CFLAGS = $CUPS_CFLAGS
23823 CUPS_LIBS = $CUPS_LIBS
23824 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23825 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23826 KRB5_CFLAGS = $KRB5_CFLAGS
23827 KRB5_LIBS = $KRB5_LIBS
23828 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23829 GSSAPI_LIBS = $GSSAPI_LIBS
23830 PROCSTAT_LIBS = $PROCSTAT_LIBS
23831 NETAPI_CFLAGS = $NETAPI_CFLAGS
23832 NETAPI_LIBS = $NETAPI_LIBS
23833 VKD3D_CFLAGS = $VKD3D_CFLAGS
23834 VKD3D_LIBS = $VKD3D_LIBS
23835 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23836 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23837 MSVCRTFLAGS = $MSVCRTFLAGS
23838 RT_LIBS = $RT_LIBS
23839 LDAP_CFLAGS = $LDAP_CFLAGS
23840 LDAP_LIBS = $LDAP_LIBS
23841 TAGSFLAGS = $TAGSFLAGS
23842 LIBOBJS = $LIBOBJS
23843 LTLIBOBJS = $LTLIBOBJS
23844 $SET_MAKE
23845 $wine_rules
23846 _WINE_EOF
23847 as_fn_error $? "could not create Makefile" "$LINENO" 5
23850 _ACEOF
23852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23854 # Handling of arguments.
23855 for ac_config_target in $ac_config_targets
23857 case $ac_config_target in
23858 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23859 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23860 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23861 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23862 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23863 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23865 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23866 esac
23867 done
23870 # If the user did not use the arguments to specify the items to instantiate,
23871 # then the envvar interface is used. Set only those that are not.
23872 # We use the long form for the default assignment because of an extremely
23873 # bizarre bug on SunOS 4.1.3.
23874 if $ac_need_defaults; then
23875 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23876 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23877 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23880 # Have a temporary directory for convenience. Make it in the build tree
23881 # simply because there is no reason against having it here, and in addition,
23882 # creating and moving files from /tmp can sometimes cause problems.
23883 # Hook for its removal unless debugging.
23884 # Note that there is a small window in which the directory will not be cleaned:
23885 # after its creation but before its name has been assigned to `$tmp'.
23886 $debug ||
23888 tmp= ac_tmp=
23889 trap 'exit_status=$?
23890 : "${ac_tmp:=$tmp}"
23891 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23893 trap 'as_fn_exit 1' 1 2 13 15
23895 # Create a (secure) tmp directory for tmp files.
23898 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23899 test -d "$tmp"
23900 } ||
23902 tmp=./conf$$-$RANDOM
23903 (umask 077 && mkdir "$tmp")
23904 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23905 ac_tmp=$tmp
23907 # Set up the scripts for CONFIG_HEADERS section.
23908 # No need to generate them if there are no CONFIG_HEADERS.
23909 # This happens for instance with `./config.status Makefile'.
23910 if test -n "$CONFIG_HEADERS"; then
23911 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23912 BEGIN {
23913 _ACEOF
23915 # Transform confdefs.h into an awk script `defines.awk', embedded as
23916 # here-document in config.status, that substitutes the proper values into
23917 # config.h.in to produce config.h.
23919 # Create a delimiter string that does not exist in confdefs.h, to ease
23920 # handling of long lines.
23921 ac_delim='%!_!# '
23922 for ac_last_try in false false :; do
23923 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23924 if test -z "$ac_tt"; then
23925 break
23926 elif $ac_last_try; then
23927 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23928 else
23929 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23931 done
23933 # For the awk script, D is an array of macro values keyed by name,
23934 # likewise P contains macro parameters if any. Preserve backslash
23935 # newline sequences.
23937 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23938 sed -n '
23939 s/.\{148\}/&'"$ac_delim"'/g
23940 t rset
23941 :rset
23942 s/^[ ]*#[ ]*define[ ][ ]*/ /
23943 t def
23945 :def
23946 s/\\$//
23947 t bsnl
23948 s/["\\]/\\&/g
23949 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23950 D["\1"]=" \3"/p
23951 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23953 :bsnl
23954 s/["\\]/\\&/g
23955 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23956 D["\1"]=" \3\\\\\\n"\\/p
23957 t cont
23958 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23959 t cont
23961 :cont
23963 s/.\{148\}/&'"$ac_delim"'/g
23964 t clear
23965 :clear
23966 s/\\$//
23967 t bsnlc
23968 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23970 :bsnlc
23971 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23972 b cont
23973 ' <confdefs.h | sed '
23974 s/'"$ac_delim"'/"\\\
23975 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23978 for (key in D) D_is_set[key] = 1
23979 FS = "\a"
23981 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23982 line = \$ 0
23983 split(line, arg, " ")
23984 if (arg[1] == "#") {
23985 defundef = arg[2]
23986 mac1 = arg[3]
23987 } else {
23988 defundef = substr(arg[1], 2)
23989 mac1 = arg[2]
23991 split(mac1, mac2, "(") #)
23992 macro = mac2[1]
23993 prefix = substr(line, 1, index(line, defundef) - 1)
23994 if (D_is_set[macro]) {
23995 # Preserve the white space surrounding the "#".
23996 print prefix "define", macro P[macro] D[macro]
23997 next
23998 } else {
23999 # Replace #undef with comments. This is necessary, for example,
24000 # in the case of _POSIX_SOURCE, which is predefined and required
24001 # on some systems where configure will not decide to define it.
24002 if (defundef == "undef") {
24003 print "/*", prefix defundef, macro, "*/"
24004 next
24008 { print }
24009 _ACAWK
24010 _ACEOF
24011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24012 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24013 fi # test -n "$CONFIG_HEADERS"
24016 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
24017 shift
24018 for ac_tag
24020 case $ac_tag in
24021 :[FHLC]) ac_mode=$ac_tag; continue;;
24022 esac
24023 case $ac_mode$ac_tag in
24024 :[FHL]*:*);;
24025 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24026 :[FH]-) ac_tag=-:-;;
24027 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24028 esac
24029 ac_save_IFS=$IFS
24030 IFS=:
24031 set x $ac_tag
24032 IFS=$ac_save_IFS
24033 shift
24034 ac_file=$1
24035 shift
24037 case $ac_mode in
24038 :L) ac_source=$1;;
24039 :[FH])
24040 ac_file_inputs=
24041 for ac_f
24043 case $ac_f in
24044 -) ac_f="$ac_tmp/stdin";;
24045 *) # Look for the file first in the build tree, then in the source tree
24046 # (if the path is not absolute). The absolute path cannot be DOS-style,
24047 # because $ac_f cannot contain `:'.
24048 test -f "$ac_f" ||
24049 case $ac_f in
24050 [\\/$]*) false;;
24051 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24052 esac ||
24053 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24054 esac
24055 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24056 as_fn_append ac_file_inputs " '$ac_f'"
24057 done
24059 # Let's still pretend it is `configure' which instantiates (i.e., don't
24060 # use $as_me), people would be surprised to read:
24061 # /* config.h. Generated by config.status. */
24062 configure_input='Generated from '`
24063 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24064 `' by configure.'
24065 if test x"$ac_file" != x-; then
24066 configure_input="$ac_file. $configure_input"
24067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24068 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24070 # Neutralize special characters interpreted by sed in replacement strings.
24071 case $configure_input in #(
24072 *\&* | *\|* | *\\* )
24073 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24074 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24075 *) ac_sed_conf_input=$configure_input;;
24076 esac
24078 case $ac_tag in
24079 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24080 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24081 esac
24083 esac
24085 ac_dir=`$as_dirname -- "$ac_file" ||
24086 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24087 X"$ac_file" : 'X\(//\)[^/]' \| \
24088 X"$ac_file" : 'X\(//\)$' \| \
24089 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24090 printf "%s\n" X"$ac_file" |
24091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24092 s//\1/
24095 /^X\(\/\/\)[^/].*/{
24096 s//\1/
24099 /^X\(\/\/\)$/{
24100 s//\1/
24103 /^X\(\/\).*/{
24104 s//\1/
24107 s/.*/./; q'`
24108 as_dir="$ac_dir"; as_fn_mkdir_p
24109 ac_builddir=.
24111 case "$ac_dir" in
24112 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24114 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24115 # A ".." for each directory in $ac_dir_suffix.
24116 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24117 case $ac_top_builddir_sub in
24118 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24119 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24120 esac ;;
24121 esac
24122 ac_abs_top_builddir=$ac_pwd
24123 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24124 # for backward compatibility:
24125 ac_top_builddir=$ac_top_build_prefix
24127 case $srcdir in
24128 .) # We are building in place.
24129 ac_srcdir=.
24130 ac_top_srcdir=$ac_top_builddir_sub
24131 ac_abs_top_srcdir=$ac_pwd ;;
24132 [\\/]* | ?:[\\/]* ) # Absolute name.
24133 ac_srcdir=$srcdir$ac_dir_suffix;
24134 ac_top_srcdir=$srcdir
24135 ac_abs_top_srcdir=$srcdir ;;
24136 *) # Relative name.
24137 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24138 ac_top_srcdir=$ac_top_build_prefix$srcdir
24139 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24140 esac
24141 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24144 case $ac_mode in
24148 # CONFIG_HEADER
24150 if test x"$ac_file" != x-; then
24152 printf "%s\n" "/* $configure_input */" >&1 \
24153 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24154 } >"$ac_tmp/config.h" \
24155 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24156 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24158 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24159 else
24160 rm -f "$ac_file"
24161 mv "$ac_tmp/config.h" "$ac_file" \
24162 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24164 else
24165 printf "%s\n" "/* $configure_input */" >&1 \
24166 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24167 || as_fn_error $? "could not create -" "$LINENO" 5
24172 # CONFIG_LINK
24175 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24177 else
24178 # Prefer the file from the source tree if names are identical.
24179 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24180 ac_source=$srcdir/$ac_source
24183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24184 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24186 if test ! -r "$ac_source"; then
24187 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24189 rm -f "$ac_file"
24191 # Try a relative symlink, then a hard link, then a copy.
24192 case $ac_source in
24193 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24194 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24195 esac
24196 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24197 ln "$ac_source" "$ac_file" 2>/dev/null ||
24198 cp -p "$ac_source" "$ac_file" ||
24199 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24202 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24203 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24205 esac
24208 case $ac_file$ac_mode in
24209 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24210 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24211 "Makefile":C) wine_fn_output_makefile Makefile ;;
24213 esac
24214 done # for ac_tag
24217 as_fn_exit 0
24218 _ACEOF
24219 ac_clean_files=$ac_clean_files_save
24221 test $ac_write_fail = 0 ||
24222 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24225 # configure is writing to config.log, and then calls config.status.
24226 # config.status does its own redirection, appending to config.log.
24227 # Unfortunately, on DOS this fails, as config.log is still kept open
24228 # by configure, so config.status won't be able to write to it; its
24229 # output is simply discarded. So we exec the FD to /dev/null,
24230 # effectively closing config.log, so it can be properly (re)opened and
24231 # appended to by config.status. When coming back to configure, we
24232 # need to make the FD available again.
24233 if test "$no_create" != yes; then
24234 ac_cs_success=:
24235 ac_config_status_args=
24236 test "$silent" = yes &&
24237 ac_config_status_args="$ac_config_status_args --quiet"
24238 exec 5>/dev/null
24239 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24240 exec 5>>config.log
24241 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24242 # would make configure fail if this is the last instruction.
24243 $ac_cs_success || as_fn_exit 1
24245 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24247 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24251 if test "$no_create" = "yes"
24252 then
24253 exit 0
24256 ac_save_IFS="$IFS"
24257 if test "x$wine_notices" != x; then
24258 echo >&6
24259 IFS="|"
24260 for msg in $wine_notices; do
24261 IFS="$ac_save_IFS"
24262 if ${msg:+false} :
24263 then :
24265 else $as_nop
24266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24267 printf "%s\n" "$as_me: $msg" >&6;}
24269 done
24271 IFS="|"
24272 for msg in $wine_warnings; do
24273 IFS="$ac_save_IFS"
24274 if ${msg:+false} :
24275 then :
24277 else $as_nop
24278 echo >&2
24279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24280 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24282 done
24283 IFS="$ac_save_IFS"
24285 printf "%s\n" "
24286 $as_me: Finished. Do '${ac_make}' to compile Wine.
24287 " >&6