shlwapi/tests: Link directly to Url*() functions.
[wine.git] / configure
blob4a9f9010f94d0077016f1c1248a155b27e8f233d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.1.
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='7.1'
615 PACKAGE_STRING='Wine 7.1'
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 SED_CMD
804 RUNTESTFLAGS
805 MAKEDEP
806 toolsdir
807 toolsext
808 TARGETFLAGS
810 CPPBIN
811 ac_ct_CXX
812 CXXFLAGS
814 OBJEXT
815 EXEEXT
816 ac_ct_CC
817 CPPFLAGS
818 LDFLAGS
819 CFLAGS
821 SET_MAKE
822 srcdir
823 nlsdir
824 fontdir
825 dlldir
826 host_os
827 host_vendor
828 host_cpu
829 host
830 build_os
831 build_vendor
832 build_cpu
833 build
834 system_dllpath
835 target_alias
836 host_alias
837 build_alias
838 LIBS
839 ECHO_T
840 ECHO_N
841 ECHO_C
842 DEFS
843 mandir
844 localedir
845 libdir
846 psdir
847 pdfdir
848 dvidir
849 htmldir
850 infodir
851 docdir
852 oldincludedir
853 includedir
854 runstatedir
855 localstatedir
856 sharedstatedir
857 sysconfdir
858 datadir
859 datarootdir
860 libexecdir
861 sbindir
862 bindir
863 program_transform_name
864 prefix
865 exec_prefix
866 PACKAGE_URL
867 PACKAGE_BUGREPORT
868 PACKAGE_STRING
869 PACKAGE_VERSION
870 PACKAGE_TARNAME
871 PACKAGE_NAME
872 PATH_SEPARATOR
873 SHELL'
874 ac_subst_files=''
875 ac_user_opts='
876 enable_option_checking
877 enable_win16
878 enable_win64
879 enable_tests
880 enable_build_id
881 enable_maintainer_mode
882 enable_silent_rules
883 enable_werror
884 with_alsa
885 with_capi
886 with_coreaudio
887 with_cups
888 with_dbus
889 with_float_abi
890 with_fontconfig
891 with_freetype
892 with_gettext
893 with_gettextpo
894 with_gphoto
895 with_gnutls
896 with_gssapi
897 with_gstreamer
898 with_inotify
899 with_krb5
900 with_ldap
901 with_mingw
902 with_netapi
903 with_openal
904 with_opencl
905 with_opengl
906 with_osmesa
907 with_oss
908 with_pcap
909 with_pthread
910 with_pulse
911 with_sane
912 with_sdl
913 with_udev
914 with_unwind
915 with_usb
916 with_v4l2
917 with_vkd3d
918 with_vulkan
919 with_xcomposite
920 with_xcursor
921 with_xfixes
922 with_xinerama
923 with_xinput
924 with_xinput2
925 with_xrandr
926 with_xrender
927 with_xshape
928 with_xshm
929 with_xxf86vm
930 with_system_dllpath
931 with_wine_tools
932 with_wine64
933 enable_largefile
934 with_x
935 enable_acledit
936 enable_aclui
937 enable_activeds_tlb
938 enable_activeds
939 enable_actxprxy
940 enable_adsldp
941 enable_adsldpc
942 enable_advapi32
943 enable_advpack
944 enable_amsi
945 enable_amstream
946 enable_api_ms_win_appmodel_identity_l1_1_0
947 enable_api_ms_win_appmodel_runtime_l1_1_0
948 enable_api_ms_win_appmodel_runtime_l1_1_1
949 enable_api_ms_win_appmodel_runtime_l1_1_2
950 enable_api_ms_win_core_apiquery_l1_1_0
951 enable_api_ms_win_core_appcompat_l1_1_1
952 enable_api_ms_win_core_appinit_l1_1_0
953 enable_api_ms_win_core_atoms_l1_1_0
954 enable_api_ms_win_core_bem_l1_1_0
955 enable_api_ms_win_core_com_l1_1_0
956 enable_api_ms_win_core_com_l1_1_1
957 enable_api_ms_win_core_com_private_l1_1_0
958 enable_api_ms_win_core_comm_l1_1_0
959 enable_api_ms_win_core_console_l1_1_0
960 enable_api_ms_win_core_console_l1_2_0
961 enable_api_ms_win_core_console_l2_1_0
962 enable_api_ms_win_core_console_l3_2_0
963 enable_api_ms_win_core_crt_l1_1_0
964 enable_api_ms_win_core_crt_l2_1_0
965 enable_api_ms_win_core_datetime_l1_1_0
966 enable_api_ms_win_core_datetime_l1_1_1
967 enable_api_ms_win_core_debug_l1_1_0
968 enable_api_ms_win_core_debug_l1_1_1
969 enable_api_ms_win_core_delayload_l1_1_0
970 enable_api_ms_win_core_delayload_l1_1_1
971 enable_api_ms_win_core_errorhandling_l1_1_0
972 enable_api_ms_win_core_errorhandling_l1_1_1
973 enable_api_ms_win_core_errorhandling_l1_1_2
974 enable_api_ms_win_core_errorhandling_l1_1_3
975 enable_api_ms_win_core_featurestaging_l1_1_0
976 enable_api_ms_win_core_fibers_l1_1_0
977 enable_api_ms_win_core_fibers_l1_1_1
978 enable_api_ms_win_core_file_ansi_l2_1_0
979 enable_api_ms_win_core_file_fromapp_l1_1_0
980 enable_api_ms_win_core_file_l1_1_0
981 enable_api_ms_win_core_file_l1_2_0
982 enable_api_ms_win_core_file_l1_2_1
983 enable_api_ms_win_core_file_l1_2_2
984 enable_api_ms_win_core_file_l2_1_0
985 enable_api_ms_win_core_file_l2_1_1
986 enable_api_ms_win_core_file_l2_1_2
987 enable_api_ms_win_core_handle_l1_1_0
988 enable_api_ms_win_core_heap_l1_1_0
989 enable_api_ms_win_core_heap_l1_2_0
990 enable_api_ms_win_core_heap_l2_1_0
991 enable_api_ms_win_core_heap_obsolete_l1_1_0
992 enable_api_ms_win_core_interlocked_l1_1_0
993 enable_api_ms_win_core_interlocked_l1_2_0
994 enable_api_ms_win_core_io_l1_1_0
995 enable_api_ms_win_core_io_l1_1_1
996 enable_api_ms_win_core_job_l1_1_0
997 enable_api_ms_win_core_job_l2_1_0
998 enable_api_ms_win_core_kernel32_legacy_l1_1_0
999 enable_api_ms_win_core_kernel32_legacy_l1_1_1
1000 enable_api_ms_win_core_kernel32_legacy_l1_1_2
1001 enable_api_ms_win_core_kernel32_legacy_l1_1_5
1002 enable_api_ms_win_core_kernel32_private_l1_1_1
1003 enable_api_ms_win_core_largeinteger_l1_1_0
1004 enable_api_ms_win_core_libraryloader_l1_1_0
1005 enable_api_ms_win_core_libraryloader_l1_1_1
1006 enable_api_ms_win_core_libraryloader_l1_2_0
1007 enable_api_ms_win_core_libraryloader_l1_2_1
1008 enable_api_ms_win_core_libraryloader_l1_2_2
1009 enable_api_ms_win_core_libraryloader_l2_1_0
1010 enable_api_ms_win_core_localization_l1_1_0
1011 enable_api_ms_win_core_localization_l1_2_0
1012 enable_api_ms_win_core_localization_l1_2_1
1013 enable_api_ms_win_core_localization_l1_2_2
1014 enable_api_ms_win_core_localization_l2_1_0
1015 enable_api_ms_win_core_localization_obsolete_l1_1_0
1016 enable_api_ms_win_core_localization_obsolete_l1_2_0
1017 enable_api_ms_win_core_localization_obsolete_l1_3_0
1018 enable_api_ms_win_core_localization_private_l1_1_0
1019 enable_api_ms_win_core_localregistry_l1_1_0
1020 enable_api_ms_win_core_memory_l1_1_0
1021 enable_api_ms_win_core_memory_l1_1_1
1022 enable_api_ms_win_core_memory_l1_1_2
1023 enable_api_ms_win_core_memory_l1_1_3
1024 enable_api_ms_win_core_memory_l1_1_4
1025 enable_api_ms_win_core_misc_l1_1_0
1026 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1027 enable_api_ms_win_core_namedpipe_l1_1_0
1028 enable_api_ms_win_core_namedpipe_l1_2_0
1029 enable_api_ms_win_core_namespace_l1_1_0
1030 enable_api_ms_win_core_normalization_l1_1_0
1031 enable_api_ms_win_core_path_l1_1_0
1032 enable_api_ms_win_core_privateprofile_l1_1_1
1033 enable_api_ms_win_core_processenvironment_l1_1_0
1034 enable_api_ms_win_core_processenvironment_l1_2_0
1035 enable_api_ms_win_core_processthreads_l1_1_0
1036 enable_api_ms_win_core_processthreads_l1_1_1
1037 enable_api_ms_win_core_processthreads_l1_1_2
1038 enable_api_ms_win_core_processthreads_l1_1_3
1039 enable_api_ms_win_core_processtopology_l1_1_0
1040 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1041 enable_api_ms_win_core_profile_l1_1_0
1042 enable_api_ms_win_core_psapi_ansi_l1_1_0
1043 enable_api_ms_win_core_psapi_l1_1_0
1044 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1045 enable_api_ms_win_core_psm_appnotify_l1_1_0
1046 enable_api_ms_win_core_quirks_l1_1_0
1047 enable_api_ms_win_core_realtime_l1_1_0
1048 enable_api_ms_win_core_realtime_l1_1_1
1049 enable_api_ms_win_core_registry_l1_1_0
1050 enable_api_ms_win_core_registry_l2_1_0
1051 enable_api_ms_win_core_registry_l2_2_0
1052 enable_api_ms_win_core_registryuserspecific_l1_1_0
1053 enable_api_ms_win_core_rtlsupport_l1_1_0
1054 enable_api_ms_win_core_rtlsupport_l1_2_0
1055 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1056 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1057 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1058 enable_api_ms_win_core_shutdown_l1_1_0
1059 enable_api_ms_win_core_sidebyside_l1_1_0
1060 enable_api_ms_win_core_string_l1_1_0
1061 enable_api_ms_win_core_string_l2_1_0
1062 enable_api_ms_win_core_string_obsolete_l1_1_0
1063 enable_api_ms_win_core_stringansi_l1_1_0
1064 enable_api_ms_win_core_stringloader_l1_1_1
1065 enable_api_ms_win_core_synch_ansi_l1_1_0
1066 enable_api_ms_win_core_synch_l1_1_0
1067 enable_api_ms_win_core_synch_l1_2_0
1068 enable_api_ms_win_core_synch_l1_2_1
1069 enable_api_ms_win_core_sysinfo_l1_1_0
1070 enable_api_ms_win_core_sysinfo_l1_2_0
1071 enable_api_ms_win_core_sysinfo_l1_2_1
1072 enable_api_ms_win_core_systemtopology_l1_1_0
1073 enable_api_ms_win_core_threadpool_l1_1_0
1074 enable_api_ms_win_core_threadpool_l1_2_0
1075 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1076 enable_api_ms_win_core_threadpool_private_l1_1_0
1077 enable_api_ms_win_core_timezone_l1_1_0
1078 enable_api_ms_win_core_toolhelp_l1_1_0
1079 enable_api_ms_win_core_url_l1_1_0
1080 enable_api_ms_win_core_util_l1_1_0
1081 enable_api_ms_win_core_version_l1_1_0
1082 enable_api_ms_win_core_version_l1_1_1
1083 enable_api_ms_win_core_version_private_l1_1_0
1084 enable_api_ms_win_core_versionansi_l1_1_0
1085 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1086 enable_api_ms_win_core_windowserrorreporting_l1_1_1
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_ansi_l2_1_0
1162 enable_api_ms_win_security_lsalookup_l1_1_0
1163 enable_api_ms_win_security_lsalookup_l1_1_1
1164 enable_api_ms_win_security_lsalookup_l2_1_0
1165 enable_api_ms_win_security_lsalookup_l2_1_1
1166 enable_api_ms_win_security_lsapolicy_l1_1_0
1167 enable_api_ms_win_security_provider_l1_1_0
1168 enable_api_ms_win_security_sddl_l1_1_0
1169 enable_api_ms_win_security_systemfunctions_l1_1_0
1170 enable_api_ms_win_service_core_l1_1_0
1171 enable_api_ms_win_service_core_l1_1_1
1172 enable_api_ms_win_service_management_l1_1_0
1173 enable_api_ms_win_service_management_l2_1_0
1174 enable_api_ms_win_service_private_l1_1_1
1175 enable_api_ms_win_service_winsvc_l1_1_0
1176 enable_api_ms_win_service_winsvc_l1_2_0
1177 enable_api_ms_win_shcore_obsolete_l1_1_0
1178 enable_api_ms_win_shcore_scaling_l1_1_0
1179 enable_api_ms_win_shcore_scaling_l1_1_1
1180 enable_api_ms_win_shcore_stream_l1_1_0
1181 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1182 enable_api_ms_win_shcore_thread_l1_1_0
1183 enable_api_ms_win_shell_shellcom_l1_1_0
1184 enable_api_ms_win_shell_shellfolders_l1_1_0
1185 enable_apphelp
1186 enable_appwiz_cpl
1187 enable_atl
1188 enable_atl100
1189 enable_atl110
1190 enable_atl80
1191 enable_atl90
1192 enable_atlthunk
1193 enable_atmlib
1194 enable_authz
1195 enable_avicap32
1196 enable_avifil32
1197 enable_avrt
1198 enable_bcrypt
1199 enable_bluetoothapis
1200 enable_browseui
1201 enable_bthprops_cpl
1202 enable_cabinet
1203 enable_capi2032
1204 enable_cards
1205 enable_cdosys
1206 enable_cfgmgr32
1207 enable_clusapi
1208 enable_cng_sys
1209 enable_combase
1210 enable_comcat
1211 enable_comctl32
1212 enable_comdlg32
1213 enable_compstui
1214 enable_comsvcs
1215 enable_concrt140
1216 enable_connect
1217 enable_credui
1218 enable_crtdll
1219 enable_crypt32
1220 enable_cryptdlg
1221 enable_cryptdll
1222 enable_cryptext
1223 enable_cryptnet
1224 enable_cryptsp
1225 enable_cryptui
1226 enable_ctapi32
1227 enable_ctl3d32
1228 enable_d2d1
1229 enable_d3d10
1230 enable_d3d10_1
1231 enable_d3d10core
1232 enable_d3d11
1233 enable_d3d12
1234 enable_d3d8
1235 enable_d3d8thk
1236 enable_d3d9
1237 enable_d3dcompiler_33
1238 enable_d3dcompiler_34
1239 enable_d3dcompiler_35
1240 enable_d3dcompiler_36
1241 enable_d3dcompiler_37
1242 enable_d3dcompiler_38
1243 enable_d3dcompiler_39
1244 enable_d3dcompiler_40
1245 enable_d3dcompiler_41
1246 enable_d3dcompiler_42
1247 enable_d3dcompiler_43
1248 enable_d3dcompiler_46
1249 enable_d3dcompiler_47
1250 enable_d3dim
1251 enable_d3dim700
1252 enable_d3drm
1253 enable_d3dx10_33
1254 enable_d3dx10_34
1255 enable_d3dx10_35
1256 enable_d3dx10_36
1257 enable_d3dx10_37
1258 enable_d3dx10_38
1259 enable_d3dx10_39
1260 enable_d3dx10_40
1261 enable_d3dx10_41
1262 enable_d3dx10_42
1263 enable_d3dx10_43
1264 enable_d3dx11_42
1265 enable_d3dx11_43
1266 enable_d3dx9_24
1267 enable_d3dx9_25
1268 enable_d3dx9_26
1269 enable_d3dx9_27
1270 enable_d3dx9_28
1271 enable_d3dx9_29
1272 enable_d3dx9_30
1273 enable_d3dx9_31
1274 enable_d3dx9_32
1275 enable_d3dx9_33
1276 enable_d3dx9_34
1277 enable_d3dx9_35
1278 enable_d3dx9_36
1279 enable_d3dx9_37
1280 enable_d3dx9_38
1281 enable_d3dx9_39
1282 enable_d3dx9_40
1283 enable_d3dx9_41
1284 enable_d3dx9_42
1285 enable_d3dx9_43
1286 enable_d3dxof
1287 enable_davclnt
1288 enable_dbgeng
1289 enable_dbghelp
1290 enable_dciman32
1291 enable_dcomp
1292 enable_ddraw
1293 enable_ddrawex
1294 enable_devenum
1295 enable_dhcpcsvc
1296 enable_dhcpcsvc6
1297 enable_dhtmled_ocx
1298 enable_diasymreader
1299 enable_difxapi
1300 enable_dinput
1301 enable_dinput8
1302 enable_directmanipulation
1303 enable_dispex
1304 enable_dmband
1305 enable_dmcompos
1306 enable_dmime
1307 enable_dmloader
1308 enable_dmscript
1309 enable_dmstyle
1310 enable_dmsynth
1311 enable_dmusic
1312 enable_dmusic32
1313 enable_dnsapi
1314 enable_dplay
1315 enable_dplayx
1316 enable_dpnaddr
1317 enable_dpnet
1318 enable_dpnhpast
1319 enable_dpnhupnp
1320 enable_dpnlobby
1321 enable_dpvoice
1322 enable_dpwsockx
1323 enable_drmclien
1324 enable_dsdmo
1325 enable_dsound
1326 enable_dsquery
1327 enable_dssenh
1328 enable_dsuiext
1329 enable_dswave
1330 enable_dwmapi
1331 enable_dwrite
1332 enable_dx8vb
1333 enable_dxdiagn
1334 enable_dxgi
1335 enable_dxtrans
1336 enable_dxva2
1337 enable_esent
1338 enable_evr
1339 enable_explorerframe
1340 enable_ext_ms_win_authz_context_l1_1_0
1341 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1342 enable_ext_ms_win_dwmapi_ext_l1_1_0
1343 enable_ext_ms_win_gdi_dc_create_l1_1_0
1344 enable_ext_ms_win_gdi_dc_create_l1_1_1
1345 enable_ext_ms_win_gdi_dc_l1_2_0
1346 enable_ext_ms_win_gdi_devcaps_l1_1_0
1347 enable_ext_ms_win_gdi_draw_l1_1_0
1348 enable_ext_ms_win_gdi_draw_l1_1_1
1349 enable_ext_ms_win_gdi_font_l1_1_0
1350 enable_ext_ms_win_gdi_font_l1_1_1
1351 enable_ext_ms_win_gdi_render_l1_1_0
1352 enable_ext_ms_win_kernel32_package_current_l1_1_0
1353 enable_ext_ms_win_kernel32_package_l1_1_1
1354 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1355 enable_ext_ms_win_ntuser_draw_l1_1_0
1356 enable_ext_ms_win_ntuser_gui_l1_1_0
1357 enable_ext_ms_win_ntuser_gui_l1_3_0
1358 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1359 enable_ext_ms_win_ntuser_message_l1_1_0
1360 enable_ext_ms_win_ntuser_message_l1_1_1
1361 enable_ext_ms_win_ntuser_misc_l1_1_0
1362 enable_ext_ms_win_ntuser_misc_l1_2_0
1363 enable_ext_ms_win_ntuser_misc_l1_5_1
1364 enable_ext_ms_win_ntuser_mouse_l1_1_0
1365 enable_ext_ms_win_ntuser_private_l1_1_1
1366 enable_ext_ms_win_ntuser_private_l1_3_1
1367 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1368 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1369 enable_ext_ms_win_ntuser_window_l1_1_0
1370 enable_ext_ms_win_ntuser_window_l1_1_1
1371 enable_ext_ms_win_ntuser_window_l1_1_4
1372 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1373 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1374 enable_ext_ms_win_oleacc_l1_1_0
1375 enable_ext_ms_win_ras_rasapi32_l1_1_0
1376 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1377 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1378 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1379 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1380 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1381 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1382 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1383 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1384 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1385 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1386 enable_ext_ms_win_security_credui_l1_1_0
1387 enable_ext_ms_win_security_cryptui_l1_1_0
1388 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1389 enable_ext_ms_win_shell_comdlg32_l1_1_0
1390 enable_ext_ms_win_shell_shell32_l1_2_0
1391 enable_ext_ms_win_uxtheme_themes_l1_1_0
1392 enable_faultrep
1393 enable_feclient
1394 enable_fltlib
1395 enable_fltmgr_sys
1396 enable_fntcache
1397 enable_fontsub
1398 enable_fusion
1399 enable_fwpuclnt
1400 enable_gameux
1401 enable_gamingtcui
1402 enable_gdi32
1403 enable_gdiplus
1404 enable_glu32
1405 enable_gphoto2_ds
1406 enable_gpkcsp
1407 enable_hal
1408 enable_hhctrl_ocx
1409 enable_hid
1410 enable_hidclass_sys
1411 enable_hidparse_sys
1412 enable_hlink
1413 enable_hnetcfg
1414 enable_http_sys
1415 enable_httpapi
1416 enable_iccvid
1417 enable_icmp
1418 enable_ieframe
1419 enable_ieproxy
1420 enable_imaadp32_acm
1421 enable_imagehlp
1422 enable_imm32
1423 enable_inetcomm
1424 enable_inetcpl_cpl
1425 enable_inetmib1
1426 enable_infosoft
1427 enable_initpki
1428 enable_inkobj
1429 enable_inseng
1430 enable_iphlpapi
1431 enable_iprop
1432 enable_irprops_cpl
1433 enable_itircl
1434 enable_itss
1435 enable_joy_cpl
1436 enable_jscript
1437 enable_jsproxy
1438 enable_kerberos
1439 enable_kernel32
1440 enable_kernelbase
1441 enable_ksecdd_sys
1442 enable_ksproxy_ax
1443 enable_ksuser
1444 enable_ktmw32
1445 enable_l3codeca_acm
1446 enable_light_msstyles
1447 enable_loadperf
1448 enable_localspl
1449 enable_localui
1450 enable_lz32
1451 enable_mapi32
1452 enable_mapistub
1453 enable_mciavi32
1454 enable_mcicda
1455 enable_mciqtz32
1456 enable_mciseq
1457 enable_mciwave
1458 enable_mf
1459 enable_mf3216
1460 enable_mferror
1461 enable_mfmediaengine
1462 enable_mfplat
1463 enable_mfplay
1464 enable_mfreadwrite
1465 enable_mgmtapi
1466 enable_midimap
1467 enable_mlang
1468 enable_mmcndmgr
1469 enable_mmdevapi
1470 enable_mountmgr_sys
1471 enable_mp3dmod
1472 enable_mpr
1473 enable_mprapi
1474 enable_msacm32_drv
1475 enable_msacm32
1476 enable_msado15
1477 enable_msadp32_acm
1478 enable_msasn1
1479 enable_mscat32
1480 enable_mscms
1481 enable_mscoree
1482 enable_mscorwks
1483 enable_msctf
1484 enable_msctfmonitor
1485 enable_msctfp
1486 enable_msdaps
1487 enable_msdasql
1488 enable_msdelta
1489 enable_msdmo
1490 enable_msdrm
1491 enable_msftedit
1492 enable_msg711_acm
1493 enable_msgsm32_acm
1494 enable_mshtml_tlb
1495 enable_mshtml
1496 enable_msi
1497 enable_msident
1498 enable_msimg32
1499 enable_msimsg
1500 enable_msimtf
1501 enable_msisip
1502 enable_msisys_ocx
1503 enable_msls31
1504 enable_msnet32
1505 enable_mspatcha
1506 enable_msports
1507 enable_msrle32
1508 enable_msscript_ocx
1509 enable_mssign32
1510 enable_mssip32
1511 enable_mstask
1512 enable_msv1_0
1513 enable_msvcirt
1514 enable_msvcm80
1515 enable_msvcm90
1516 enable_msvcp100
1517 enable_msvcp110
1518 enable_msvcp120
1519 enable_msvcp120_app
1520 enable_msvcp140
1521 enable_msvcp140_1
1522 enable_msvcp140_atomic_wait
1523 enable_msvcp60
1524 enable_msvcp70
1525 enable_msvcp71
1526 enable_msvcp80
1527 enable_msvcp90
1528 enable_msvcp_win
1529 enable_msvcr100
1530 enable_msvcr110
1531 enable_msvcr120
1532 enable_msvcr120_app
1533 enable_msvcr70
1534 enable_msvcr71
1535 enable_msvcr80
1536 enable_msvcr90
1537 enable_msvcrt
1538 enable_msvcrt20
1539 enable_msvcrt40
1540 enable_msvcrtd
1541 enable_msvfw32
1542 enable_msvidc32
1543 enable_mswsock
1544 enable_msxml
1545 enable_msxml2
1546 enable_msxml3
1547 enable_msxml4
1548 enable_msxml6
1549 enable_mtxdm
1550 enable_ncrypt
1551 enable_nddeapi
1552 enable_ndis_sys
1553 enable_netapi32
1554 enable_netcfgx
1555 enable_netio_sys
1556 enable_netprofm
1557 enable_netutils
1558 enable_newdev
1559 enable_ninput
1560 enable_normaliz
1561 enable_npmshtml
1562 enable_npptools
1563 enable_nsi
1564 enable_nsiproxy_sys
1565 enable_ntdll
1566 enable_ntdsapi
1567 enable_ntoskrnl_exe
1568 enable_ntprint
1569 enable_objsel
1570 enable_odbc32
1571 enable_odbcbcp
1572 enable_odbccp32
1573 enable_odbccu32
1574 enable_ole32
1575 enable_oleacc
1576 enable_oleaut32
1577 enable_olecli32
1578 enable_oledb32
1579 enable_oledlg
1580 enable_olepro32
1581 enable_olesvr32
1582 enable_olethk32
1583 enable_opcservices
1584 enable_openal32
1585 enable_opencl
1586 enable_opengl32
1587 enable_packager
1588 enable_pdh
1589 enable_photometadatahandler
1590 enable_pidgen
1591 enable_powrprof
1592 enable_printui
1593 enable_prntvpt
1594 enable_propsys
1595 enable_psapi
1596 enable_pstorec
1597 enable_pwrshplugin
1598 enable_qasf
1599 enable_qcap
1600 enable_qdvd
1601 enable_qedit
1602 enable_qmgr
1603 enable_qmgrprxy
1604 enable_quartz
1605 enable_query
1606 enable_qwave
1607 enable_rasapi32
1608 enable_rasdlg
1609 enable_regapi
1610 enable_resutils
1611 enable_riched20
1612 enable_riched32
1613 enable_rpcrt4
1614 enable_rsabase
1615 enable_rsaenh
1616 enable_rstrtmgr
1617 enable_rtutils
1618 enable_rtworkq
1619 enable_samlib
1620 enable_sane_ds
1621 enable_sapi
1622 enable_sas
1623 enable_scarddlg
1624 enable_sccbase
1625 enable_schannel
1626 enable_schedsvc
1627 enable_scrobj
1628 enable_scrrun
1629 enable_scsiport_sys
1630 enable_sechost
1631 enable_secur32
1632 enable_security
1633 enable_sensapi
1634 enable_serialui
1635 enable_setupapi
1636 enable_sfc
1637 enable_sfc_os
1638 enable_shcore
1639 enable_shdoclc
1640 enable_shdocvw
1641 enable_shell32
1642 enable_shfolder
1643 enable_shlwapi
1644 enable_slbcsp
1645 enable_slc
1646 enable_snmpapi
1647 enable_softpub
1648 enable_spoolss
1649 enable_sppc
1650 enable_srclient
1651 enable_srvcli
1652 enable_sspicli
1653 enable_stdole2_tlb
1654 enable_stdole32_tlb
1655 enable_sti
1656 enable_strmdll
1657 enable_svrapi
1658 enable_sxs
1659 enable_t2embed
1660 enable_tapi32
1661 enable_taskschd
1662 enable_tbs
1663 enable_tdh
1664 enable_tdi_sys
1665 enable_traffic
1666 enable_twain_32
1667 enable_tzres
1668 enable_ucrtbase
1669 enable_uianimation
1670 enable_uiautomationcore
1671 enable_uiribbon
1672 enable_unicows
1673 enable_updspapi
1674 enable_url
1675 enable_urlmon
1676 enable_usbd_sys
1677 enable_user32
1678 enable_userenv
1679 enable_usp10
1680 enable_utildll
1681 enable_uxtheme
1682 enable_vbscript
1683 enable_vcomp
1684 enable_vcomp100
1685 enable_vcomp110
1686 enable_vcomp120
1687 enable_vcomp140
1688 enable_vcomp90
1689 enable_vcruntime140
1690 enable_vcruntime140_1
1691 enable_vdmdbg
1692 enable_version
1693 enable_vga
1694 enable_virtdisk
1695 enable_vssapi
1696 enable_vulkan_1
1697 enable_wbemdisp
1698 enable_wbemprox
1699 enable_wdscore
1700 enable_webservices
1701 enable_websocket
1702 enable_wer
1703 enable_wevtapi
1704 enable_wevtsvc
1705 enable_wiaservc
1706 enable_wimgapi
1707 enable_win32u
1708 enable_windows_devices_enumeration
1709 enable_windows_gaming_input
1710 enable_windows_globalization
1711 enable_windows_media_devices
1712 enable_windows_media_speech
1713 enable_windowscodecs
1714 enable_windowscodecsext
1715 enable_winealsa_drv
1716 enable_wineandroid_drv
1717 enable_winebus_sys
1718 enable_winecoreaudio_drv
1719 enable_winecrt0
1720 enable_wined3d
1721 enable_winegstreamer
1722 enable_winehid_sys
1723 enable_winemac_drv
1724 enable_winemapi
1725 enable_wineoss_drv
1726 enable_wineps_drv
1727 enable_winepulse_drv
1728 enable_wineusb_sys
1729 enable_winevulkan
1730 enable_winex11_drv
1731 enable_winexinput_sys
1732 enable_wing32
1733 enable_winhttp
1734 enable_wininet
1735 enable_winmm
1736 enable_winnls32
1737 enable_winscard
1738 enable_winspool_drv
1739 enable_winsta
1740 enable_wintab32
1741 enable_wintrust
1742 enable_winusb
1743 enable_wlanapi
1744 enable_wlanui
1745 enable_wldap32
1746 enable_wmadmod
1747 enable_wmasf
1748 enable_wmi
1749 enable_wmiutils
1750 enable_wmp
1751 enable_wmphoto
1752 enable_wmvcore
1753 enable_wnaspi32
1754 enable_wow64
1755 enable_wow64cpu
1756 enable_wow64win
1757 enable_wpc
1758 enable_wpcap
1759 enable_ws2_32
1760 enable_wsdapi
1761 enable_wshom_ocx
1762 enable_wsnmp32
1763 enable_wsock32
1764 enable_wtsapi32
1765 enable_wuapi
1766 enable_wuaueng
1767 enable_x3daudio1_0
1768 enable_x3daudio1_1
1769 enable_x3daudio1_2
1770 enable_x3daudio1_3
1771 enable_x3daudio1_4
1772 enable_x3daudio1_5
1773 enable_x3daudio1_6
1774 enable_x3daudio1_7
1775 enable_xactengine2_0
1776 enable_xactengine2_4
1777 enable_xactengine2_7
1778 enable_xactengine2_9
1779 enable_xactengine3_0
1780 enable_xactengine3_1
1781 enable_xactengine3_2
1782 enable_xactengine3_3
1783 enable_xactengine3_4
1784 enable_xactengine3_5
1785 enable_xactengine3_6
1786 enable_xactengine3_7
1787 enable_xapofx1_1
1788 enable_xapofx1_2
1789 enable_xapofx1_3
1790 enable_xapofx1_4
1791 enable_xapofx1_5
1792 enable_xaudio2_0
1793 enable_xaudio2_1
1794 enable_xaudio2_2
1795 enable_xaudio2_3
1796 enable_xaudio2_4
1797 enable_xaudio2_5
1798 enable_xaudio2_6
1799 enable_xaudio2_7
1800 enable_xaudio2_8
1801 enable_xaudio2_9
1802 enable_xinput1_1
1803 enable_xinput1_2
1804 enable_xinput1_3
1805 enable_xinput1_4
1806 enable_xinput9_1_0
1807 enable_xmllite
1808 enable_xolehlp
1809 enable_xpsprint
1810 enable_xpssvcs
1811 enable_fonts
1812 enable_include
1813 enable_adsiid
1814 enable_dmoguids
1815 enable_dxerr8
1816 enable_dxerr9
1817 enable_dxguid
1818 enable_faudio
1819 enable_gsm
1820 enable_jpeg
1821 enable_jxr
1822 enable_lcms2
1823 enable_mfuuid
1824 enable_mpg123
1825 enable_png
1826 enable_strmbase
1827 enable_strmiids
1828 enable_tiff
1829 enable_uuid
1830 enable_wbemuuid
1831 enable_wine
1832 enable_wmcodecdspuuid
1833 enable_xml2
1834 enable_xslt
1835 enable_zlib
1836 enable_loader
1837 enable_nls
1838 enable_po
1839 enable_arp
1840 enable_aspnet_regiis
1841 enable_attrib
1842 enable_cabarc
1843 enable_cacls
1844 enable_chcp_com
1845 enable_clock
1846 enable_cmd
1847 enable_conhost
1848 enable_control
1849 enable_cscript
1850 enable_dism
1851 enable_dplaysvr
1852 enable_dpnsvr
1853 enable_dpvsetup
1854 enable_dxdiag
1855 enable_eject
1856 enable_expand
1857 enable_explorer
1858 enable_extrac32
1859 enable_fc
1860 enable_find
1861 enable_findstr
1862 enable_fsutil
1863 enable_hh
1864 enable_hostname
1865 enable_icacls
1866 enable_icinfo
1867 enable_iexplore
1868 enable_ipconfig
1869 enable_lodctr
1870 enable_mofcomp
1871 enable_mshta
1872 enable_msidb
1873 enable_msiexec
1874 enable_msinfo32
1875 enable_net
1876 enable_netsh
1877 enable_netstat
1878 enable_ngen
1879 enable_notepad
1880 enable_oleview
1881 enable_ping
1882 enable_plugplay
1883 enable_powershell
1884 enable_presentationfontcache
1885 enable_progman
1886 enable_reg
1887 enable_regasm
1888 enable_regedit
1889 enable_regini
1890 enable_regsvcs
1891 enable_regsvr32
1892 enable_robocopy
1893 enable_rpcss
1894 enable_rundll32
1895 enable_sc
1896 enable_schtasks
1897 enable_sdbinst
1898 enable_secedit
1899 enable_servicemodelreg
1900 enable_services
1901 enable_shutdown
1902 enable_spoolsv
1903 enable_start
1904 enable_subst
1905 enable_svchost
1906 enable_systeminfo
1907 enable_taskkill
1908 enable_tasklist
1909 enable_taskmgr
1910 enable_termsv
1911 enable_uninstaller
1912 enable_unlodctr
1913 enable_view
1914 enable_wevtutil
1915 enable_where
1916 enable_whoami
1917 enable_wineboot
1918 enable_winebrowser
1919 enable_winecfg
1920 enable_wineconsole
1921 enable_winedbg
1922 enable_winedevice
1923 enable_winefile
1924 enable_winemenubuilder
1925 enable_winemine
1926 enable_winemsibuilder
1927 enable_winepath
1928 enable_winetest
1929 enable_winhlp32
1930 enable_winmgmt
1931 enable_winver
1932 enable_wmic
1933 enable_wmplayer
1934 enable_wordpad
1935 enable_write
1936 enable_wscript
1937 enable_wuauserv
1938 enable_wusa
1939 enable_xcopy
1940 enable_server
1941 enable_tools
1942 enable_sfnt2fon
1943 enable_widl
1944 enable_winebuild
1945 enable_winedump
1946 enable_winegcc
1947 enable_winemaker
1948 enable_wmc
1949 enable_wrc
1951 ac_precious_vars='build_alias
1952 host_alias
1953 target_alias
1955 CFLAGS
1956 LDFLAGS
1957 LIBS
1958 CPPFLAGS
1960 CXXFLAGS
1962 OBJC
1963 OBJCFLAGS
1964 FAUDIO_PE_CFLAGS
1965 FAUDIO_PE_LIBS
1966 GSM_PE_CFLAGS
1967 GSM_PE_LIBS
1968 JPEG_PE_CFLAGS
1969 JPEG_PE_LIBS
1970 JXR_PE_CFLAGS
1971 JXR_PE_LIBS
1972 LCMS2_PE_CFLAGS
1973 LCMS2_PE_LIBS
1974 MPG123_PE_CFLAGS
1975 MPG123_PE_LIBS
1976 PNG_PE_CFLAGS
1977 PNG_PE_LIBS
1978 TIFF_PE_CFLAGS
1979 TIFF_PE_LIBS
1980 XML2_PE_CFLAGS
1981 XML2_PE_LIBS
1982 XSLT_PE_CFLAGS
1983 XSLT_PE_LIBS
1984 ZLIB_PE_CFLAGS
1985 ZLIB_PE_LIBS
1986 XMKMF
1988 INOTIFY_CFLAGS
1989 INOTIFY_LIBS
1990 DBUS_CFLAGS
1991 DBUS_LIBS
1992 GNUTLS_CFLAGS
1993 GNUTLS_LIBS
1994 SANE_CFLAGS
1995 SANE_LIBS
1996 USB_CFLAGS
1997 USB_LIBS
1998 GPHOTO2_CFLAGS
1999 GPHOTO2_LIBS
2000 GPHOTO2_PORT_CFLAGS
2001 GPHOTO2_PORT_LIBS
2002 FREETYPE_CFLAGS
2003 FREETYPE_LIBS
2004 PULSE_CFLAGS
2005 PULSE_LIBS
2006 GSTREAMER_CFLAGS
2007 GSTREAMER_LIBS
2008 UDEV_CFLAGS
2009 UDEV_LIBS
2010 UNWIND_CFLAGS
2011 UNWIND_LIBS
2012 SDL2_CFLAGS
2013 SDL2_LIBS
2014 CAPI20_CFLAGS
2015 CAPI20_LIBS
2016 CUPS_CFLAGS
2017 CUPS_LIBS
2018 FONTCONFIG_CFLAGS
2019 FONTCONFIG_LIBS
2020 KRB5_CFLAGS
2021 KRB5_LIBS
2022 GSSAPI_CFLAGS
2023 GSSAPI_LIBS
2024 NETAPI_CFLAGS
2025 NETAPI_LIBS
2026 VKD3D_CFLAGS
2027 VKD3D_LIBS
2028 VKD3D_SHADER_CFLAGS
2029 VKD3D_SHADER_LIBS
2030 LDAP_CFLAGS
2031 LDAP_LIBS'
2034 # Initialize some variables set by options.
2035 ac_init_help=
2036 ac_init_version=false
2037 ac_unrecognized_opts=
2038 ac_unrecognized_sep=
2039 # The variables have the same names as the options, with
2040 # dashes changed to underlines.
2041 cache_file=/dev/null
2042 exec_prefix=NONE
2043 no_create=
2044 no_recursion=
2045 prefix=NONE
2046 program_prefix=NONE
2047 program_suffix=NONE
2048 program_transform_name=s,x,x,
2049 silent=
2050 site=
2051 srcdir=
2052 verbose=
2053 x_includes=NONE
2054 x_libraries=NONE
2056 # Installation directory options.
2057 # These are left unexpanded so users can "make install exec_prefix=/foo"
2058 # and all the variables that are supposed to be based on exec_prefix
2059 # by default will actually change.
2060 # Use braces instead of parens because sh, perl, etc. also accept them.
2061 # (The list follows the same order as the GNU Coding Standards.)
2062 bindir='${exec_prefix}/bin'
2063 sbindir='${exec_prefix}/sbin'
2064 libexecdir='${exec_prefix}/libexec'
2065 datarootdir='${prefix}/share'
2066 datadir='${datarootdir}'
2067 sysconfdir='${prefix}/etc'
2068 sharedstatedir='${prefix}/com'
2069 localstatedir='${prefix}/var'
2070 runstatedir='${localstatedir}/run'
2071 includedir='${prefix}/include'
2072 oldincludedir='/usr/include'
2073 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2074 infodir='${datarootdir}/info'
2075 htmldir='${docdir}'
2076 dvidir='${docdir}'
2077 pdfdir='${docdir}'
2078 psdir='${docdir}'
2079 libdir='${exec_prefix}/lib'
2080 localedir='${datarootdir}/locale'
2081 mandir='${datarootdir}/man'
2083 ac_prev=
2084 ac_dashdash=
2085 for ac_option
2087 # If the previous option needs an argument, assign it.
2088 if test -n "$ac_prev"; then
2089 eval $ac_prev=\$ac_option
2090 ac_prev=
2091 continue
2094 case $ac_option in
2095 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2096 *=) ac_optarg= ;;
2097 *) ac_optarg=yes ;;
2098 esac
2100 case $ac_dashdash$ac_option in
2102 ac_dashdash=yes ;;
2104 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2105 ac_prev=bindir ;;
2106 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2107 bindir=$ac_optarg ;;
2109 -build | --build | --buil | --bui | --bu)
2110 ac_prev=build_alias ;;
2111 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2112 build_alias=$ac_optarg ;;
2114 -cache-file | --cache-file | --cache-fil | --cache-fi \
2115 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2116 ac_prev=cache_file ;;
2117 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2118 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2119 cache_file=$ac_optarg ;;
2121 --config-cache | -C)
2122 cache_file=config.cache ;;
2124 -datadir | --datadir | --datadi | --datad)
2125 ac_prev=datadir ;;
2126 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2127 datadir=$ac_optarg ;;
2129 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2130 | --dataroo | --dataro | --datar)
2131 ac_prev=datarootdir ;;
2132 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2133 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2134 datarootdir=$ac_optarg ;;
2136 -disable-* | --disable-*)
2137 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2138 # Reject names that are not valid shell variable names.
2139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2140 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2141 ac_useropt_orig=$ac_useropt
2142 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2143 case $ac_user_opts in
2145 "enable_$ac_useropt"
2146 "*) ;;
2147 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2148 ac_unrecognized_sep=', ';;
2149 esac
2150 eval enable_$ac_useropt=no ;;
2152 -docdir | --docdir | --docdi | --doc | --do)
2153 ac_prev=docdir ;;
2154 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2155 docdir=$ac_optarg ;;
2157 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2158 ac_prev=dvidir ;;
2159 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2160 dvidir=$ac_optarg ;;
2162 -enable-* | --enable-*)
2163 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2164 # Reject names that are not valid shell variable names.
2165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2166 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2167 ac_useropt_orig=$ac_useropt
2168 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2169 case $ac_user_opts in
2171 "enable_$ac_useropt"
2172 "*) ;;
2173 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2174 ac_unrecognized_sep=', ';;
2175 esac
2176 eval enable_$ac_useropt=\$ac_optarg ;;
2178 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2179 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2180 | --exec | --exe | --ex)
2181 ac_prev=exec_prefix ;;
2182 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2183 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2184 | --exec=* | --exe=* | --ex=*)
2185 exec_prefix=$ac_optarg ;;
2187 -gas | --gas | --ga | --g)
2188 # Obsolete; use --with-gas.
2189 with_gas=yes ;;
2191 -help | --help | --hel | --he | -h)
2192 ac_init_help=long ;;
2193 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2194 ac_init_help=recursive ;;
2195 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2196 ac_init_help=short ;;
2198 -host | --host | --hos | --ho)
2199 ac_prev=host_alias ;;
2200 -host=* | --host=* | --hos=* | --ho=*)
2201 host_alias=$ac_optarg ;;
2203 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2204 ac_prev=htmldir ;;
2205 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2206 | --ht=*)
2207 htmldir=$ac_optarg ;;
2209 -includedir | --includedir | --includedi | --included | --include \
2210 | --includ | --inclu | --incl | --inc)
2211 ac_prev=includedir ;;
2212 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2213 | --includ=* | --inclu=* | --incl=* | --inc=*)
2214 includedir=$ac_optarg ;;
2216 -infodir | --infodir | --infodi | --infod | --info | --inf)
2217 ac_prev=infodir ;;
2218 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2219 infodir=$ac_optarg ;;
2221 -libdir | --libdir | --libdi | --libd)
2222 ac_prev=libdir ;;
2223 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2224 libdir=$ac_optarg ;;
2226 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2227 | --libexe | --libex | --libe)
2228 ac_prev=libexecdir ;;
2229 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2230 | --libexe=* | --libex=* | --libe=*)
2231 libexecdir=$ac_optarg ;;
2233 -localedir | --localedir | --localedi | --localed | --locale)
2234 ac_prev=localedir ;;
2235 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2236 localedir=$ac_optarg ;;
2238 -localstatedir | --localstatedir | --localstatedi | --localstated \
2239 | --localstate | --localstat | --localsta | --localst | --locals)
2240 ac_prev=localstatedir ;;
2241 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2242 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2243 localstatedir=$ac_optarg ;;
2245 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2246 ac_prev=mandir ;;
2247 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2248 mandir=$ac_optarg ;;
2250 -nfp | --nfp | --nf)
2251 # Obsolete; use --without-fp.
2252 with_fp=no ;;
2254 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2255 | --no-cr | --no-c | -n)
2256 no_create=yes ;;
2258 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2259 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2260 no_recursion=yes ;;
2262 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2263 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2264 | --oldin | --oldi | --old | --ol | --o)
2265 ac_prev=oldincludedir ;;
2266 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2267 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2268 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2269 oldincludedir=$ac_optarg ;;
2271 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2272 ac_prev=prefix ;;
2273 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2274 prefix=$ac_optarg ;;
2276 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2277 | --program-pre | --program-pr | --program-p)
2278 ac_prev=program_prefix ;;
2279 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2280 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2281 program_prefix=$ac_optarg ;;
2283 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2284 | --program-suf | --program-su | --program-s)
2285 ac_prev=program_suffix ;;
2286 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2287 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2288 program_suffix=$ac_optarg ;;
2290 -program-transform-name | --program-transform-name \
2291 | --program-transform-nam | --program-transform-na \
2292 | --program-transform-n | --program-transform- \
2293 | --program-transform | --program-transfor \
2294 | --program-transfo | --program-transf \
2295 | --program-trans | --program-tran \
2296 | --progr-tra | --program-tr | --program-t)
2297 ac_prev=program_transform_name ;;
2298 -program-transform-name=* | --program-transform-name=* \
2299 | --program-transform-nam=* | --program-transform-na=* \
2300 | --program-transform-n=* | --program-transform-=* \
2301 | --program-transform=* | --program-transfor=* \
2302 | --program-transfo=* | --program-transf=* \
2303 | --program-trans=* | --program-tran=* \
2304 | --progr-tra=* | --program-tr=* | --program-t=*)
2305 program_transform_name=$ac_optarg ;;
2307 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2308 ac_prev=pdfdir ;;
2309 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2310 pdfdir=$ac_optarg ;;
2312 -psdir | --psdir | --psdi | --psd | --ps)
2313 ac_prev=psdir ;;
2314 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2315 psdir=$ac_optarg ;;
2317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2318 | -silent | --silent | --silen | --sile | --sil)
2319 silent=yes ;;
2321 -runstatedir | --runstatedir | --runstatedi | --runstated \
2322 | --runstate | --runstat | --runsta | --runst | --runs \
2323 | --run | --ru | --r)
2324 ac_prev=runstatedir ;;
2325 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2326 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2327 | --run=* | --ru=* | --r=*)
2328 runstatedir=$ac_optarg ;;
2330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2331 ac_prev=sbindir ;;
2332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2333 | --sbi=* | --sb=*)
2334 sbindir=$ac_optarg ;;
2336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2338 | --sharedst | --shareds | --shared | --share | --shar \
2339 | --sha | --sh)
2340 ac_prev=sharedstatedir ;;
2341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2344 | --sha=* | --sh=*)
2345 sharedstatedir=$ac_optarg ;;
2347 -site | --site | --sit)
2348 ac_prev=site ;;
2349 -site=* | --site=* | --sit=*)
2350 site=$ac_optarg ;;
2352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2353 ac_prev=srcdir ;;
2354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2355 srcdir=$ac_optarg ;;
2357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2358 | --syscon | --sysco | --sysc | --sys | --sy)
2359 ac_prev=sysconfdir ;;
2360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2362 sysconfdir=$ac_optarg ;;
2364 -target | --target | --targe | --targ | --tar | --ta | --t)
2365 ac_prev=target_alias ;;
2366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2367 target_alias=$ac_optarg ;;
2369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2370 verbose=yes ;;
2372 -version | --version | --versio | --versi | --vers | -V)
2373 ac_init_version=: ;;
2375 -with-* | --with-*)
2376 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2377 # Reject names that are not valid shell variable names.
2378 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2379 as_fn_error $? "invalid package name: \`$ac_useropt'"
2380 ac_useropt_orig=$ac_useropt
2381 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2382 case $ac_user_opts in
2384 "with_$ac_useropt"
2385 "*) ;;
2386 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2387 ac_unrecognized_sep=', ';;
2388 esac
2389 eval with_$ac_useropt=\$ac_optarg ;;
2391 -without-* | --without-*)
2392 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2393 # Reject names that are not valid shell variable names.
2394 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2395 as_fn_error $? "invalid package name: \`$ac_useropt'"
2396 ac_useropt_orig=$ac_useropt
2397 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2398 case $ac_user_opts in
2400 "with_$ac_useropt"
2401 "*) ;;
2402 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2403 ac_unrecognized_sep=', ';;
2404 esac
2405 eval with_$ac_useropt=no ;;
2407 --x)
2408 # Obsolete; use --with-x.
2409 with_x=yes ;;
2411 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2412 | --x-incl | --x-inc | --x-in | --x-i)
2413 ac_prev=x_includes ;;
2414 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2415 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2416 x_includes=$ac_optarg ;;
2418 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2419 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2420 ac_prev=x_libraries ;;
2421 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2422 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2423 x_libraries=$ac_optarg ;;
2425 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2426 Try \`$0 --help' for more information"
2429 *=*)
2430 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2431 # Reject names that are not valid shell variable names.
2432 case $ac_envvar in #(
2433 '' | [0-9]* | *[!_$as_cr_alnum]* )
2434 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2435 esac
2436 eval $ac_envvar=\$ac_optarg
2437 export $ac_envvar ;;
2440 # FIXME: should be removed in autoconf 3.0.
2441 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2442 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2443 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2444 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2447 esac
2448 done
2450 if test -n "$ac_prev"; then
2451 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2452 as_fn_error $? "missing argument to $ac_option"
2455 if test -n "$ac_unrecognized_opts"; then
2456 case $enable_option_checking in
2457 no) ;;
2458 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2459 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2460 esac
2463 # Check all directory arguments for consistency.
2464 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2465 datadir sysconfdir sharedstatedir localstatedir includedir \
2466 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2467 libdir localedir mandir runstatedir
2469 eval ac_val=\$$ac_var
2470 # Remove trailing slashes.
2471 case $ac_val in
2472 */ )
2473 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2474 eval $ac_var=\$ac_val;;
2475 esac
2476 # Be sure to have absolute directory names.
2477 case $ac_val in
2478 [\\/$]* | ?:[\\/]* ) continue;;
2479 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2480 esac
2481 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2482 done
2484 # There might be people who depend on the old broken behavior: `$host'
2485 # used to hold the argument of --host etc.
2486 # FIXME: To remove some day.
2487 build=$build_alias
2488 host=$host_alias
2489 target=$target_alias
2491 # FIXME: To remove some day.
2492 if test "x$host_alias" != x; then
2493 if test "x$build_alias" = x; then
2494 cross_compiling=maybe
2495 elif test "x$build_alias" != "x$host_alias"; then
2496 cross_compiling=yes
2500 ac_tool_prefix=
2501 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2503 test "$silent" = yes && exec 6>/dev/null
2506 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2507 ac_ls_di=`ls -di .` &&
2508 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2509 as_fn_error $? "working directory cannot be determined"
2510 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2511 as_fn_error $? "pwd does not report name of working directory"
2514 # Find the source files, if location was not specified.
2515 if test -z "$srcdir"; then
2516 ac_srcdir_defaulted=yes
2517 # Try the directory containing this script, then the parent directory.
2518 ac_confdir=`$as_dirname -- "$as_myself" ||
2519 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2520 X"$as_myself" : 'X\(//\)[^/]' \| \
2521 X"$as_myself" : 'X\(//\)$' \| \
2522 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2523 printf "%s\n" X"$as_myself" |
2524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2525 s//\1/
2528 /^X\(\/\/\)[^/].*/{
2529 s//\1/
2532 /^X\(\/\/\)$/{
2533 s//\1/
2536 /^X\(\/\).*/{
2537 s//\1/
2540 s/.*/./; q'`
2541 srcdir=$ac_confdir
2542 if test ! -r "$srcdir/$ac_unique_file"; then
2543 srcdir=..
2545 else
2546 ac_srcdir_defaulted=no
2548 if test ! -r "$srcdir/$ac_unique_file"; then
2549 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2550 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2552 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2553 ac_abs_confdir=`(
2554 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2555 pwd)`
2556 # When building in place, set srcdir=.
2557 if test "$ac_abs_confdir" = "$ac_pwd"; then
2558 srcdir=.
2560 # Remove unnecessary trailing slashes from srcdir.
2561 # Double slashes in file names in object file debugging info
2562 # mess up M-x gdb in Emacs.
2563 case $srcdir in
2564 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2565 esac
2566 for ac_var in $ac_precious_vars; do
2567 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2568 eval ac_env_${ac_var}_value=\$${ac_var}
2569 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2570 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2571 done
2574 # Report the --help message.
2576 if test "$ac_init_help" = "long"; then
2577 # Omit some internal or obsolete options to make the list less imposing.
2578 # This message is too long to be a string in the A/UX 3.1 sh.
2579 cat <<_ACEOF
2580 \`configure' configures Wine 7.1 to adapt to many kinds of systems.
2582 Usage: $0 [OPTION]... [VAR=VALUE]...
2584 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2585 VAR=VALUE. See below for descriptions of some of the useful variables.
2587 Defaults for the options are specified in brackets.
2589 Configuration:
2590 -h, --help display this help and exit
2591 --help=short display options specific to this package
2592 --help=recursive display the short help of all the included packages
2593 -V, --version display version information and exit
2594 -q, --quiet, --silent do not print \`checking ...' messages
2595 --cache-file=FILE cache test results in FILE [disabled]
2596 -C, --config-cache alias for \`--cache-file=config.cache'
2597 -n, --no-create do not create output files
2598 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2600 Installation directories:
2601 --prefix=PREFIX install architecture-independent files in PREFIX
2602 [$ac_default_prefix]
2603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2604 [PREFIX]
2606 By default, \`make install' will install all the files in
2607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2609 for instance \`--prefix=\$HOME'.
2611 For better control, use the options below.
2613 Fine tuning of the installation directories:
2614 --bindir=DIR user executables [EPREFIX/bin]
2615 --sbindir=DIR system admin executables [EPREFIX/sbin]
2616 --libexecdir=DIR program executables [EPREFIX/libexec]
2617 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2618 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2619 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2620 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2621 --libdir=DIR object code libraries [EPREFIX/lib]
2622 --includedir=DIR C header files [PREFIX/include]
2623 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2624 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2625 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2626 --infodir=DIR info documentation [DATAROOTDIR/info]
2627 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2628 --mandir=DIR man documentation [DATAROOTDIR/man]
2629 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2630 --htmldir=DIR html documentation [DOCDIR]
2631 --dvidir=DIR dvi documentation [DOCDIR]
2632 --pdfdir=DIR pdf documentation [DOCDIR]
2633 --psdir=DIR ps documentation [DOCDIR]
2634 _ACEOF
2636 cat <<\_ACEOF
2638 X features:
2639 --x-includes=DIR X include files are in DIR
2640 --x-libraries=DIR X library files are in DIR
2642 System types:
2643 --build=BUILD configure for building on BUILD [guessed]
2644 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2645 _ACEOF
2648 if test -n "$ac_init_help"; then
2649 case $ac_init_help in
2650 short | recursive ) echo "Configuration of Wine 7.1:";;
2651 esac
2652 cat <<\_ACEOF
2654 Optional Features:
2655 --disable-option-checking ignore unrecognized --enable/--with options
2656 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2657 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2658 --disable-win16 do not include Win16 support
2659 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2660 binaries)
2661 --disable-tests do not build the regression tests
2662 --enable-build-id include .buildid section in output objects
2663 --enable-maintainer-mode
2664 enable maintainer-specific build rules
2665 --enable-silent-rules use silent build rules (override: "make V=1")
2666 --enable-werror treat compilation warnings as errors
2667 --disable-largefile omit support for large files
2669 Optional Packages:
2670 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2671 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2672 --without-alsa do not use the Alsa sound support
2673 --without-capi do not use CAPI (ISDN support)
2674 --without-coreaudio do not use the CoreAudio sound support
2675 --without-cups do not use CUPS
2676 --without-dbus do not use DBus (dynamic device support)
2677 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2678 --without-fontconfig do not use fontconfig
2679 --without-freetype do not use the FreeType library
2680 --without-gettext do not use gettext
2681 --with-gettextpo use the GetTextPO library to rebuild po files
2682 --without-gphoto do not use gphoto (Digital Camera support)
2683 --without-gnutls do not use GnuTLS (schannel support)
2684 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2685 --without-gstreamer do not use GStreamer (codecs support)
2686 --without-inotify do not use inotify (filesystem change notifications)
2687 --without-krb5 do not use krb5 (Kerberos)
2688 --without-ldap do not use LDAP
2689 --without-mingw do not use the MinGW cross-compiler
2690 --without-netapi do not use the Samba NetAPI library
2691 --without-openal do not use OpenAL
2692 --without-opencl do not use OpenCL
2693 --without-opengl do not use OpenGL
2694 --without-osmesa do not use the OSMesa library
2695 --without-oss do not use the OSS sound support
2696 --without-pcap do not use the Packet Capture library
2697 --without-pthread do not use the pthread library
2698 --without-pulse do not use PulseAudio sound support
2699 --without-sane do not use SANE (scanner support)
2700 --without-sdl do not use SDL
2701 --without-udev do not use udev (plug and play support)
2702 --without-unwind do not use the libunwind library (exception
2703 handling)
2704 --without-usb do not use the libusb library
2705 --without-v4l2 do not use v4l2 (video capture)
2706 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2707 --without-vulkan do not use Vulkan
2708 --without-xcomposite do not use the Xcomposite extension
2709 --without-xcursor do not use the Xcursor extension
2710 --without-xfixes do not use Xfixes for clipboard change notifications
2711 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2712 --without-xinput do not use the Xinput extension
2713 --without-xinput2 do not use the Xinput 2 extension
2714 --without-xrandr do not use Xrandr (multi-monitor support)
2715 --without-xrender do not use the Xrender extension
2716 --without-xshape do not use the Xshape extension
2717 --without-xshm do not use XShm (shared memory extension)
2718 --without-xxf86vm do not use XFree video mode extension
2719 --with-system-dllpath=PATH
2720 load external PE dependencies from colon-separated
2721 path PATH
2722 --with-wine-tools=DIR use Wine tools from directory DIR
2723 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2724 --with-x use the X Window System
2726 Some influential environment variables:
2727 CC C compiler command
2728 CFLAGS C compiler flags
2729 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2730 nonstandard directory <lib dir>
2731 LIBS libraries to pass to the linker, e.g. -l<library>
2732 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2733 you have headers in a nonstandard directory <include dir>
2734 CXX C++ compiler command
2735 CXXFLAGS C++ compiler flags
2736 OBJC Objective C compiler command
2737 OBJCFLAGS Objective C compiler flags
2738 FAUDIO_PE_CFLAGS
2739 C compiler flags for the PE faudio, overriding the bundled
2740 version
2741 FAUDIO_PE_LIBS
2742 Linker flags for the PE faudio, overriding the bundled version
2743 GSM_PE_CFLAGS
2744 C compiler flags for the PE gsm, overriding the bundled version
2745 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2746 JPEG_PE_CFLAGS
2747 C compiler flags for the PE jpeg, overriding the bundled version
2748 JPEG_PE_LIBS
2749 Linker flags for the PE jpeg, overriding the bundled version
2750 JXR_PE_CFLAGS
2751 C compiler flags for the PE jxr, overriding the bundled version
2752 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2753 LCMS2_PE_CFLAGS
2754 C compiler flags for the PE lcms2, overriding the bundled
2755 version
2756 LCMS2_PE_LIBS
2757 Linker flags for the PE lcms2, overriding the bundled version
2758 MPG123_PE_CFLAGS
2759 C compiler flags for the PE mpg123, overriding the bundled
2760 version
2761 MPG123_PE_LIBS
2762 Linker flags for the PE mpg123, overriding the bundled version
2763 PNG_PE_CFLAGS
2764 C compiler flags for the PE png, overriding the bundled version
2765 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2766 TIFF_PE_CFLAGS
2767 C compiler flags for the PE tiff, overriding the bundled version
2768 TIFF_PE_LIBS
2769 Linker flags for the PE tiff, overriding the bundled version
2770 XML2_PE_CFLAGS
2771 C compiler flags for the PE xml2, overriding the bundled version
2772 XML2_PE_LIBS
2773 Linker flags for the PE xml2, overriding the bundled version
2774 XSLT_PE_CFLAGS
2775 C compiler flags for the PE xslt, overriding the bundled version
2776 XSLT_PE_LIBS
2777 Linker flags for the PE xslt, overriding the bundled version
2778 ZLIB_PE_CFLAGS
2779 C compiler flags for the PE zlib, overriding the bundled version
2780 ZLIB_PE_LIBS
2781 Linker flags for the PE zlib, overriding the bundled version
2782 XMKMF Path to xmkmf, Makefile generator for X Window System
2783 CPP C preprocessor
2784 INOTIFY_CFLAGS
2785 C compiler flags for libinotify, overriding pkg-config
2786 INOTIFY_LIBS
2787 Linker flags for libinotify, overriding pkg-config
2788 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2789 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2790 GNUTLS_CFLAGS
2791 C compiler flags for gnutls, overriding pkg-config
2792 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2793 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2794 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2795 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2796 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2797 GPHOTO2_CFLAGS
2798 C compiler flags for libgphoto2, overriding pkg-config
2799 GPHOTO2_LIBS
2800 Linker flags for libgphoto2, overriding pkg-config
2801 GPHOTO2_PORT_CFLAGS
2802 C compiler flags for libgphoto2_port, overriding pkg-config
2803 GPHOTO2_PORT_LIBS
2804 Linker flags for libgphoto2_port, overriding pkg-config
2805 FREETYPE_CFLAGS
2806 C compiler flags for freetype2, overriding pkg-config
2807 FREETYPE_LIBS
2808 Linker flags for freetype2, overriding pkg-config
2809 PULSE_CFLAGS
2810 C compiler flags for libpulse, overriding pkg-config
2811 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2812 GSTREAMER_CFLAGS
2813 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2814 gstreamer-audio-1.0, overriding pkg-config
2815 GSTREAMER_LIBS
2816 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2817 gstreamer-audio-1.0, overriding pkg-config
2818 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2819 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2820 UNWIND_CFLAGS
2821 C compiler flags for libunwind, overriding pkg-config
2822 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2823 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2824 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2825 CAPI20_CFLAGS
2826 C compiler flags for capi20, overriding pkg-config
2827 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2828 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2829 CUPS_LIBS Linker flags for cups, overriding pkg-config
2830 FONTCONFIG_CFLAGS
2831 C compiler flags for fontconfig, overriding pkg-config
2832 FONTCONFIG_LIBS
2833 Linker flags for fontconfig, overriding pkg-config
2834 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2835 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2836 GSSAPI_CFLAGS
2837 C compiler flags for krb5-gssapi, overriding pkg-config
2838 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2839 NETAPI_CFLAGS
2840 C compiler flags for netapi, overriding pkg-config
2841 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2842 VKD3D_CFLAGS
2843 C compiler flags for libvkd3d, overriding pkg-config
2844 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2845 VKD3D_SHADER_CFLAGS
2846 C compiler flags for libvkd3d-shader, overriding pkg-config
2847 VKD3D_SHADER_LIBS
2848 Linker flags for libvkd3d-shader, overriding pkg-config
2849 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2850 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2852 Use these variables to override the choices made by `configure' or to help
2853 it to find libraries and programs with nonstandard names/locations.
2855 Report bugs to <wine-devel@winehq.org>.
2856 Wine home page: <https://www.winehq.org>.
2857 _ACEOF
2858 ac_status=$?
2861 if test "$ac_init_help" = "recursive"; then
2862 # If there are subdirs, report their specific --help.
2863 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2864 test -d "$ac_dir" ||
2865 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2866 continue
2867 ac_builddir=.
2869 case "$ac_dir" in
2870 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2872 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2873 # A ".." for each directory in $ac_dir_suffix.
2874 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2875 case $ac_top_builddir_sub in
2876 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2877 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2878 esac ;;
2879 esac
2880 ac_abs_top_builddir=$ac_pwd
2881 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2882 # for backward compatibility:
2883 ac_top_builddir=$ac_top_build_prefix
2885 case $srcdir in
2886 .) # We are building in place.
2887 ac_srcdir=.
2888 ac_top_srcdir=$ac_top_builddir_sub
2889 ac_abs_top_srcdir=$ac_pwd ;;
2890 [\\/]* | ?:[\\/]* ) # Absolute name.
2891 ac_srcdir=$srcdir$ac_dir_suffix;
2892 ac_top_srcdir=$srcdir
2893 ac_abs_top_srcdir=$srcdir ;;
2894 *) # Relative name.
2895 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2896 ac_top_srcdir=$ac_top_build_prefix$srcdir
2897 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2898 esac
2899 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2901 cd "$ac_dir" || { ac_status=$?; continue; }
2902 # Check for configure.gnu first; this name is used for a wrapper for
2903 # Metaconfig's "Configure" on case-insensitive file systems.
2904 if test -f "$ac_srcdir/configure.gnu"; then
2905 echo &&
2906 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2907 elif test -f "$ac_srcdir/configure"; then
2908 echo &&
2909 $SHELL "$ac_srcdir/configure" --help=recursive
2910 else
2911 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2912 fi || ac_status=$?
2913 cd "$ac_pwd" || { ac_status=$?; break; }
2914 done
2917 test -n "$ac_init_help" && exit $ac_status
2918 if $ac_init_version; then
2919 cat <<\_ACEOF
2920 Wine configure 7.1
2921 generated by GNU Autoconf 2.71
2923 Copyright (C) 2021 Free Software Foundation, Inc.
2924 This configure script is free software; the Free Software Foundation
2925 gives unlimited permission to copy, distribute and modify it.
2926 _ACEOF
2927 exit
2930 ## ------------------------ ##
2931 ## Autoconf initialization. ##
2932 ## ------------------------ ##
2934 # ac_fn_c_try_compile LINENO
2935 # --------------------------
2936 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2937 ac_fn_c_try_compile ()
2939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2940 rm -f conftest.$ac_objext conftest.beam
2941 if { { ac_try="$ac_compile"
2942 case "(($ac_try" in
2943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2945 esac
2946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2947 printf "%s\n" "$ac_try_echo"; } >&5
2948 (eval "$ac_compile") 2>conftest.err
2949 ac_status=$?
2950 if test -s conftest.err; then
2951 grep -v '^ *+' conftest.err >conftest.er1
2952 cat conftest.er1 >&5
2953 mv -f conftest.er1 conftest.err
2955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2956 test $ac_status = 0; } && {
2957 test -z "$ac_c_werror_flag" ||
2958 test ! -s conftest.err
2959 } && test -s conftest.$ac_objext
2960 then :
2961 ac_retval=0
2962 else $as_nop
2963 printf "%s\n" "$as_me: failed program was:" >&5
2964 sed 's/^/| /' conftest.$ac_ext >&5
2966 ac_retval=1
2968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2969 as_fn_set_status $ac_retval
2971 } # ac_fn_c_try_compile
2973 # ac_fn_cxx_try_compile LINENO
2974 # ----------------------------
2975 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2976 ac_fn_cxx_try_compile ()
2978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2979 rm -f conftest.$ac_objext conftest.beam
2980 if { { ac_try="$ac_compile"
2981 case "(($ac_try" in
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2984 esac
2985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2986 printf "%s\n" "$ac_try_echo"; } >&5
2987 (eval "$ac_compile") 2>conftest.err
2988 ac_status=$?
2989 if test -s conftest.err; then
2990 grep -v '^ *+' conftest.err >conftest.er1
2991 cat conftest.er1 >&5
2992 mv -f conftest.er1 conftest.err
2994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2995 test $ac_status = 0; } && {
2996 test -z "$ac_cxx_werror_flag" ||
2997 test ! -s conftest.err
2998 } && test -s conftest.$ac_objext
2999 then :
3000 ac_retval=0
3001 else $as_nop
3002 printf "%s\n" "$as_me: failed program was:" >&5
3003 sed 's/^/| /' conftest.$ac_ext >&5
3005 ac_retval=1
3007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3008 as_fn_set_status $ac_retval
3010 } # ac_fn_cxx_try_compile
3012 # ac_fn_c_try_link LINENO
3013 # -----------------------
3014 # Try to link conftest.$ac_ext, and return whether this succeeded.
3015 ac_fn_c_try_link ()
3017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3018 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
3019 if { { ac_try="$ac_link"
3020 case "(($ac_try" in
3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3023 esac
3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3025 printf "%s\n" "$ac_try_echo"; } >&5
3026 (eval "$ac_link") 2>conftest.err
3027 ac_status=$?
3028 if test -s conftest.err; then
3029 grep -v '^ *+' conftest.err >conftest.er1
3030 cat conftest.er1 >&5
3031 mv -f conftest.er1 conftest.err
3033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3034 test $ac_status = 0; } && {
3035 test -z "$ac_c_werror_flag" ||
3036 test ! -s conftest.err
3037 } && test -s conftest$ac_exeext && {
3038 test "$cross_compiling" = yes ||
3039 test -x conftest$ac_exeext
3041 then :
3042 ac_retval=0
3043 else $as_nop
3044 printf "%s\n" "$as_me: failed program was:" >&5
3045 sed 's/^/| /' conftest.$ac_ext >&5
3047 ac_retval=1
3049 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3050 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3051 # interfere with the next link command; also delete a directory that is
3052 # left behind by Apple's compiler. We do this before executing the actions.
3053 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3055 as_fn_set_status $ac_retval
3057 } # ac_fn_c_try_link
3059 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3060 # -------------------------------------------------------
3061 # Tests whether HEADER exists and can be compiled using the include files in
3062 # INCLUDES, setting the cache variable VAR accordingly.
3063 ac_fn_c_check_header_compile ()
3065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3067 printf %s "checking for $2... " >&6; }
3068 if eval test \${$3+y}
3069 then :
3070 printf %s "(cached) " >&6
3071 else $as_nop
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3075 #include <$2>
3076 _ACEOF
3077 if ac_fn_c_try_compile "$LINENO"
3078 then :
3079 eval "$3=yes"
3080 else $as_nop
3081 eval "$3=no"
3083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3085 eval ac_res=\$$3
3086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3087 printf "%s\n" "$ac_res" >&6; }
3088 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3090 } # ac_fn_c_check_header_compile
3092 # ac_fn_objc_try_compile LINENO
3093 # -----------------------------
3094 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3095 ac_fn_objc_try_compile ()
3097 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3098 rm -f conftest.$ac_objext conftest.beam
3099 if { { ac_try="$ac_compile"
3100 case "(($ac_try" in
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3103 esac
3104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3105 printf "%s\n" "$ac_try_echo"; } >&5
3106 (eval "$ac_compile") 2>conftest.err
3107 ac_status=$?
3108 if test -s conftest.err; then
3109 grep -v '^ *+' conftest.err >conftest.er1
3110 cat conftest.er1 >&5
3111 mv -f conftest.er1 conftest.err
3113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3114 test $ac_status = 0; } && {
3115 test -z "$ac_objc_werror_flag" ||
3116 test ! -s conftest.err
3117 } && test -s conftest.$ac_objext
3118 then :
3119 ac_retval=0
3120 else $as_nop
3121 printf "%s\n" "$as_me: failed program was:" >&5
3122 sed 's/^/| /' conftest.$ac_ext >&5
3124 ac_retval=1
3126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3127 as_fn_set_status $ac_retval
3129 } # ac_fn_objc_try_compile
3131 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
3132 # ----------------------------------------------------------
3133 # Tests whether HEADER exists and can be compiled using the include files in
3134 # INCLUDES, setting the cache variable VAR accordingly.
3135 ac_fn_objc_check_header_compile ()
3137 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3139 printf %s "checking for $2... " >&6; }
3140 if eval test \${$3+y}
3141 then :
3142 printf %s "(cached) " >&6
3143 else $as_nop
3144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3147 #include <$2>
3148 _ACEOF
3149 if ac_fn_objc_try_compile "$LINENO"
3150 then :
3151 eval "$3=yes"
3152 else $as_nop
3153 eval "$3=no"
3155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3157 eval ac_res=\$$3
3158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3159 printf "%s\n" "$ac_res" >&6; }
3160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3162 } # ac_fn_objc_check_header_compile
3164 # ac_fn_c_check_func LINENO FUNC VAR
3165 # ----------------------------------
3166 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3167 ac_fn_c_check_func ()
3169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3171 printf %s "checking for $2... " >&6; }
3172 if eval test \${$3+y}
3173 then :
3174 printf %s "(cached) " >&6
3175 else $as_nop
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3178 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3180 #define $2 innocuous_$2
3182 /* System header to define __stub macros and hopefully few prototypes,
3183 which can conflict with char $2 (); below. */
3185 #include <limits.h>
3186 #undef $2
3188 /* Override any GCC internal prototype to avoid an error.
3189 Use char because int might match the return type of a GCC
3190 builtin and then its argument prototype would still apply. */
3191 #ifdef __cplusplus
3192 extern "C"
3193 #endif
3194 char $2 ();
3195 /* The GNU C library defines this for functions which it implements
3196 to always fail with ENOSYS. Some functions are actually named
3197 something starting with __ and the normal name is an alias. */
3198 #if defined __stub_$2 || defined __stub___$2
3199 choke me
3200 #endif
3203 main (void)
3205 return $2 ();
3207 return 0;
3209 _ACEOF
3210 if ac_fn_c_try_link "$LINENO"
3211 then :
3212 eval "$3=yes"
3213 else $as_nop
3214 eval "$3=no"
3216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3217 conftest$ac_exeext conftest.$ac_ext
3219 eval ac_res=\$$3
3220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3221 printf "%s\n" "$ac_res" >&6; }
3222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3224 } # ac_fn_c_check_func
3226 # ac_fn_c_try_cpp LINENO
3227 # ----------------------
3228 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3229 ac_fn_c_try_cpp ()
3231 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3232 if { { ac_try="$ac_cpp conftest.$ac_ext"
3233 case "(($ac_try" in
3234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3235 *) ac_try_echo=$ac_try;;
3236 esac
3237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3238 printf "%s\n" "$ac_try_echo"; } >&5
3239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3240 ac_status=$?
3241 if test -s conftest.err; then
3242 grep -v '^ *+' conftest.err >conftest.er1
3243 cat conftest.er1 >&5
3244 mv -f conftest.er1 conftest.err
3246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3247 test $ac_status = 0; } > conftest.i && {
3248 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3249 test ! -s conftest.err
3251 then :
3252 ac_retval=0
3253 else $as_nop
3254 printf "%s\n" "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.$ac_ext >&5
3257 ac_retval=1
3259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3260 as_fn_set_status $ac_retval
3262 } # ac_fn_c_try_cpp
3264 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3265 # ----------------------------------------------------
3266 # Tries to find if the field MEMBER exists in type AGGR, after including
3267 # INCLUDES, setting cache variable VAR accordingly.
3268 ac_fn_c_check_member ()
3270 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3272 printf %s "checking for $2.$3... " >&6; }
3273 if eval test \${$4+y}
3274 then :
3275 printf %s "(cached) " >&6
3276 else $as_nop
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3281 main (void)
3283 static $2 ac_aggr;
3284 if (ac_aggr.$3)
3285 return 0;
3287 return 0;
3289 _ACEOF
3290 if ac_fn_c_try_compile "$LINENO"
3291 then :
3292 eval "$4=yes"
3293 else $as_nop
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3298 main (void)
3300 static $2 ac_aggr;
3301 if (sizeof ac_aggr.$3)
3302 return 0;
3304 return 0;
3306 _ACEOF
3307 if ac_fn_c_try_compile "$LINENO"
3308 then :
3309 eval "$4=yes"
3310 else $as_nop
3311 eval "$4=no"
3313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3317 eval ac_res=\$$4
3318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3319 printf "%s\n" "$ac_res" >&6; }
3320 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3322 } # ac_fn_c_check_member
3324 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3325 # -------------------------------------------
3326 # Tests whether TYPE exists after having included INCLUDES, setting cache
3327 # variable VAR accordingly.
3328 ac_fn_c_check_type ()
3330 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3332 printf %s "checking for $2... " >&6; }
3333 if eval test \${$3+y}
3334 then :
3335 printf %s "(cached) " >&6
3336 else $as_nop
3337 eval "$3=no"
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3342 main (void)
3344 if (sizeof ($2))
3345 return 0;
3347 return 0;
3349 _ACEOF
3350 if ac_fn_c_try_compile "$LINENO"
3351 then :
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3356 main (void)
3358 if (sizeof (($2)))
3359 return 0;
3361 return 0;
3363 _ACEOF
3364 if ac_fn_c_try_compile "$LINENO"
3365 then :
3367 else $as_nop
3368 eval "$3=yes"
3370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3374 eval ac_res=\$$3
3375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3376 printf "%s\n" "$ac_res" >&6; }
3377 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3379 } # ac_fn_c_check_type
3380 ac_configure_args_raw=
3381 for ac_arg
3383 case $ac_arg in
3384 *\'*)
3385 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3386 esac
3387 as_fn_append ac_configure_args_raw " '$ac_arg'"
3388 done
3390 case $ac_configure_args_raw in
3391 *$as_nl*)
3392 ac_safe_unquote= ;;
3394 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3395 ac_unsafe_a="$ac_unsafe_z#~"
3396 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3397 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3398 esac
3400 cat >config.log <<_ACEOF
3401 This file contains any messages produced by compilers while
3402 running configure, to aid debugging if configure makes a mistake.
3404 It was created by Wine $as_me 7.1, which was
3405 generated by GNU Autoconf 2.71. Invocation command line was
3407 $ $0$ac_configure_args_raw
3409 _ACEOF
3410 exec 5>>config.log
3412 cat <<_ASUNAME
3413 ## --------- ##
3414 ## Platform. ##
3415 ## --------- ##
3417 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3418 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3419 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3420 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3421 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3423 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3424 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3426 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3427 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3428 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3429 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3430 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3431 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3432 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3434 _ASUNAME
3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3437 for as_dir in $PATH
3439 IFS=$as_save_IFS
3440 case $as_dir in #(((
3441 '') as_dir=./ ;;
3442 */) ;;
3443 *) as_dir=$as_dir/ ;;
3444 esac
3445 printf "%s\n" "PATH: $as_dir"
3446 done
3447 IFS=$as_save_IFS
3449 } >&5
3451 cat >&5 <<_ACEOF
3454 ## ----------- ##
3455 ## Core tests. ##
3456 ## ----------- ##
3458 _ACEOF
3461 # Keep a trace of the command line.
3462 # Strip out --no-create and --no-recursion so they do not pile up.
3463 # Strip out --silent because we don't want to record it for future runs.
3464 # Also quote any args containing shell meta-characters.
3465 # Make two passes to allow for proper duplicate-argument suppression.
3466 ac_configure_args=
3467 ac_configure_args0=
3468 ac_configure_args1=
3469 ac_must_keep_next=false
3470 for ac_pass in 1 2
3472 for ac_arg
3474 case $ac_arg in
3475 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3476 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3477 | -silent | --silent | --silen | --sile | --sil)
3478 continue ;;
3479 *\'*)
3480 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3481 esac
3482 case $ac_pass in
3483 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3485 as_fn_append ac_configure_args1 " '$ac_arg'"
3486 if test $ac_must_keep_next = true; then
3487 ac_must_keep_next=false # Got value, back to normal.
3488 else
3489 case $ac_arg in
3490 *=* | --config-cache | -C | -disable-* | --disable-* \
3491 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3492 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3493 | -with-* | --with-* | -without-* | --without-* | --x)
3494 case "$ac_configure_args0 " in
3495 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3496 esac
3498 -* ) ac_must_keep_next=true ;;
3499 esac
3501 as_fn_append ac_configure_args " '$ac_arg'"
3503 esac
3504 done
3505 done
3506 { ac_configure_args0=; unset ac_configure_args0;}
3507 { ac_configure_args1=; unset ac_configure_args1;}
3509 # When interrupted or exit'd, cleanup temporary files, and complete
3510 # config.log. We remove comments because anyway the quotes in there
3511 # would cause problems or look ugly.
3512 # WARNING: Use '\'' to represent an apostrophe within the trap.
3513 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3514 trap 'exit_status=$?
3515 # Sanitize IFS.
3516 IFS=" "" $as_nl"
3517 # Save into config.log some information that might help in debugging.
3519 echo
3521 printf "%s\n" "## ---------------- ##
3522 ## Cache variables. ##
3523 ## ---------------- ##"
3524 echo
3525 # The following way of writing the cache mishandles newlines in values,
3527 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3528 eval ac_val=\$$ac_var
3529 case $ac_val in #(
3530 *${as_nl}*)
3531 case $ac_var in #(
3532 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3533 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3534 esac
3535 case $ac_var in #(
3536 _ | IFS | as_nl) ;; #(
3537 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3538 *) { eval $ac_var=; unset $ac_var;} ;;
3539 esac ;;
3540 esac
3541 done
3542 (set) 2>&1 |
3543 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3544 *${as_nl}ac_space=\ *)
3545 sed -n \
3546 "s/'\''/'\''\\\\'\'''\''/g;
3547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3548 ;; #(
3550 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3552 esac |
3553 sort
3555 echo
3557 printf "%s\n" "## ----------------- ##
3558 ## Output variables. ##
3559 ## ----------------- ##"
3560 echo
3561 for ac_var in $ac_subst_vars
3563 eval ac_val=\$$ac_var
3564 case $ac_val in
3565 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3566 esac
3567 printf "%s\n" "$ac_var='\''$ac_val'\''"
3568 done | sort
3569 echo
3571 if test -n "$ac_subst_files"; then
3572 printf "%s\n" "## ------------------- ##
3573 ## File substitutions. ##
3574 ## ------------------- ##"
3575 echo
3576 for ac_var in $ac_subst_files
3578 eval ac_val=\$$ac_var
3579 case $ac_val in
3580 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3581 esac
3582 printf "%s\n" "$ac_var='\''$ac_val'\''"
3583 done | sort
3584 echo
3587 if test -s confdefs.h; then
3588 printf "%s\n" "## ----------- ##
3589 ## confdefs.h. ##
3590 ## ----------- ##"
3591 echo
3592 cat confdefs.h
3593 echo
3595 test "$ac_signal" != 0 &&
3596 printf "%s\n" "$as_me: caught signal $ac_signal"
3597 printf "%s\n" "$as_me: exit $exit_status"
3598 } >&5
3599 rm -f core *.core core.conftest.* &&
3600 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3601 exit $exit_status
3603 for ac_signal in 1 2 13 15; do
3604 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3605 done
3606 ac_signal=0
3608 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3609 rm -f -r conftest* confdefs.h
3611 printf "%s\n" "/* confdefs.h */" > confdefs.h
3613 # Predefined preprocessor variables.
3615 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3617 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3619 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3621 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3623 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3625 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3628 # Let the site file select an alternate cache file if it wants to.
3629 # Prefer an explicitly selected file to automatically selected ones.
3630 if test -n "$CONFIG_SITE"; then
3631 ac_site_files="$CONFIG_SITE"
3632 elif test "x$prefix" != xNONE; then
3633 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3634 else
3635 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3638 for ac_site_file in $ac_site_files
3640 case $ac_site_file in #(
3641 */*) :
3642 ;; #(
3643 *) :
3644 ac_site_file=./$ac_site_file ;;
3645 esac
3646 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3648 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3649 sed 's/^/| /' "$ac_site_file" >&5
3650 . "$ac_site_file" \
3651 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3652 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3653 as_fn_error $? "failed to load site script $ac_site_file
3654 See \`config.log' for more details" "$LINENO" 5; }
3656 done
3658 if test -r "$cache_file"; then
3659 # Some versions of bash will fail to source /dev/null (special files
3660 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3661 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3663 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3664 case $cache_file in
3665 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3666 *) . "./$cache_file";;
3667 esac
3669 else
3670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3671 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3672 >$cache_file
3675 # Test code for whether the C compiler supports C89 (global declarations)
3676 ac_c_conftest_c89_globals='
3677 /* Does the compiler advertise C89 conformance?
3678 Do not test the value of __STDC__, because some compilers set it to 0
3679 while being otherwise adequately conformant. */
3680 #if !defined __STDC__
3681 # error "Compiler does not advertise C89 conformance"
3682 #endif
3684 #include <stddef.h>
3685 #include <stdarg.h>
3686 struct stat;
3687 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3688 struct buf { int x; };
3689 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3690 static char *e (p, i)
3691 char **p;
3692 int i;
3694 return p[i];
3696 static char *f (char * (*g) (char **, int), char **p, ...)
3698 char *s;
3699 va_list v;
3700 va_start (v,p);
3701 s = g (p, va_arg (v,int));
3702 va_end (v);
3703 return s;
3706 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3707 function prototypes and stuff, but not \xHH hex character constants.
3708 These do not provoke an error unfortunately, instead are silently treated
3709 as an "x". The following induces an error, until -std is added to get
3710 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3711 array size at least. It is necessary to write \x00 == 0 to get something
3712 that is true only with -std. */
3713 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3715 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3716 inside strings and character constants. */
3717 #define FOO(x) '\''x'\''
3718 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3720 int test (int i, double x);
3721 struct s1 {int (*f) (int a);};
3722 struct s2 {int (*f) (double a);};
3723 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3724 int, int);'
3726 # Test code for whether the C compiler supports C89 (body of main).
3727 ac_c_conftest_c89_main='
3728 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3731 # Test code for whether the C compiler supports C99 (global declarations)
3732 ac_c_conftest_c99_globals='
3733 // Does the compiler advertise C99 conformance?
3734 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3735 # error "Compiler does not advertise C99 conformance"
3736 #endif
3738 #include <stdbool.h>
3739 extern int puts (const char *);
3740 extern int printf (const char *, ...);
3741 extern int dprintf (int, const char *, ...);
3742 extern void *malloc (size_t);
3744 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3745 // dprintf is used instead of fprintf to avoid needing to declare
3746 // FILE and stderr.
3747 #define debug(...) dprintf (2, __VA_ARGS__)
3748 #define showlist(...) puts (#__VA_ARGS__)
3749 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3750 static void
3751 test_varargs_macros (void)
3753 int x = 1234;
3754 int y = 5678;
3755 debug ("Flag");
3756 debug ("X = %d\n", x);
3757 showlist (The first, second, and third items.);
3758 report (x>y, "x is %d but y is %d", x, y);
3761 // Check long long types.
3762 #define BIG64 18446744073709551615ull
3763 #define BIG32 4294967295ul
3764 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3765 #if !BIG_OK
3766 #error "your preprocessor is broken"
3767 #endif
3768 #if BIG_OK
3769 #else
3770 #error "your preprocessor is broken"
3771 #endif
3772 static long long int bignum = -9223372036854775807LL;
3773 static unsigned long long int ubignum = BIG64;
3775 struct incomplete_array
3777 int datasize;
3778 double data[];
3781 struct named_init {
3782 int number;
3783 const wchar_t *name;
3784 double average;
3787 typedef const char *ccp;
3789 static inline int
3790 test_restrict (ccp restrict text)
3792 // See if C++-style comments work.
3793 // Iterate through items via the restricted pointer.
3794 // Also check for declarations in for loops.
3795 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3796 continue;
3797 return 0;
3800 // Check varargs and va_copy.
3801 static bool
3802 test_varargs (const char *format, ...)
3804 va_list args;
3805 va_start (args, format);
3806 va_list args_copy;
3807 va_copy (args_copy, args);
3809 const char *str = "";
3810 int number = 0;
3811 float fnumber = 0;
3813 while (*format)
3815 switch (*format++)
3817 case '\''s'\'': // string
3818 str = va_arg (args_copy, const char *);
3819 break;
3820 case '\''d'\'': // int
3821 number = va_arg (args_copy, int);
3822 break;
3823 case '\''f'\'': // float
3824 fnumber = va_arg (args_copy, double);
3825 break;
3826 default:
3827 break;
3830 va_end (args_copy);
3831 va_end (args);
3833 return *str && number && fnumber;
3837 # Test code for whether the C compiler supports C99 (body of main).
3838 ac_c_conftest_c99_main='
3839 // Check bool.
3840 _Bool success = false;
3841 success |= (argc != 0);
3843 // Check restrict.
3844 if (test_restrict ("String literal") == 0)
3845 success = true;
3846 char *restrict newvar = "Another string";
3848 // Check varargs.
3849 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3850 test_varargs_macros ();
3852 // Check flexible array members.
3853 struct incomplete_array *ia =
3854 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3855 ia->datasize = 10;
3856 for (int i = 0; i < ia->datasize; ++i)
3857 ia->data[i] = i * 1.234;
3859 // Check named initializers.
3860 struct named_init ni = {
3861 .number = 34,
3862 .name = L"Test wide string",
3863 .average = 543.34343,
3866 ni.number = 58;
3868 int dynamic_array[ni.number];
3869 dynamic_array[0] = argv[0][0];
3870 dynamic_array[ni.number - 1] = 543;
3872 // work around unused variable warnings
3873 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3874 || dynamic_array[ni.number - 1] != 543);
3877 # Test code for whether the C compiler supports C11 (global declarations)
3878 ac_c_conftest_c11_globals='
3879 // Does the compiler advertise C11 conformance?
3880 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3881 # error "Compiler does not advertise C11 conformance"
3882 #endif
3884 // Check _Alignas.
3885 char _Alignas (double) aligned_as_double;
3886 char _Alignas (0) no_special_alignment;
3887 extern char aligned_as_int;
3888 char _Alignas (0) _Alignas (int) aligned_as_int;
3890 // Check _Alignof.
3891 enum
3893 int_alignment = _Alignof (int),
3894 int_array_alignment = _Alignof (int[100]),
3895 char_alignment = _Alignof (char)
3897 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3899 // Check _Noreturn.
3900 int _Noreturn does_not_return (void) { for (;;) continue; }
3902 // Check _Static_assert.
3903 struct test_static_assert
3905 int x;
3906 _Static_assert (sizeof (int) <= sizeof (long int),
3907 "_Static_assert does not work in struct");
3908 long int y;
3911 // Check UTF-8 literals.
3912 #define u8 syntax error!
3913 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3915 // Check duplicate typedefs.
3916 typedef long *long_ptr;
3917 typedef long int *long_ptr;
3918 typedef long_ptr long_ptr;
3920 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3921 struct anonymous
3923 union {
3924 struct { int i; int j; };
3925 struct { int k; long int l; } w;
3927 int m;
3928 } v1;
3931 # Test code for whether the C compiler supports C11 (body of main).
3932 ac_c_conftest_c11_main='
3933 _Static_assert ((offsetof (struct anonymous, i)
3934 == offsetof (struct anonymous, w.k)),
3935 "Anonymous union alignment botch");
3936 v1.i = 2;
3937 v1.w.k = 5;
3938 ok |= v1.i != 5;
3941 # Test code for whether the C compiler supports C11 (complete).
3942 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3943 ${ac_c_conftest_c99_globals}
3944 ${ac_c_conftest_c11_globals}
3947 main (int argc, char **argv)
3949 int ok = 0;
3950 ${ac_c_conftest_c89_main}
3951 ${ac_c_conftest_c99_main}
3952 ${ac_c_conftest_c11_main}
3953 return ok;
3957 # Test code for whether the C compiler supports C99 (complete).
3958 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3959 ${ac_c_conftest_c99_globals}
3962 main (int argc, char **argv)
3964 int ok = 0;
3965 ${ac_c_conftest_c89_main}
3966 ${ac_c_conftest_c99_main}
3967 return ok;
3971 # Test code for whether the C compiler supports C89 (complete).
3972 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3975 main (int argc, char **argv)
3977 int ok = 0;
3978 ${ac_c_conftest_c89_main}
3979 return ok;
3983 # Test code for whether the C++ compiler supports C++98 (global declarations)
3984 ac_cxx_conftest_cxx98_globals='
3985 // Does the compiler advertise C++98 conformance?
3986 #if !defined __cplusplus || __cplusplus < 199711L
3987 # error "Compiler does not advertise C++98 conformance"
3988 #endif
3990 // These inclusions are to reject old compilers that
3991 // lack the unsuffixed header files.
3992 #include <cstdlib>
3993 #include <exception>
3995 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3996 extern void assert (int);
3997 namespace std {
3998 extern int strcmp (const char *, const char *);
4001 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
4002 using std::exception;
4003 using std::strcmp;
4005 namespace {
4007 void test_exception_syntax()
4009 try {
4010 throw "test";
4011 } catch (const char *s) {
4012 // Extra parentheses suppress a warning when building autoconf itself,
4013 // due to lint rules shared with more typical C programs.
4014 assert (!(strcmp) (s, "test"));
4018 template <typename T> struct test_template
4020 T const val;
4021 explicit test_template(T t) : val(t) {}
4022 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
4025 } // anonymous namespace
4028 # Test code for whether the C++ compiler supports C++98 (body of main)
4029 ac_cxx_conftest_cxx98_main='
4030 assert (argc);
4031 assert (! argv[0]);
4033 test_exception_syntax ();
4034 test_template<double> tt (2.0);
4035 assert (tt.add (4) == 6.0);
4036 assert (true && !false);
4040 # Test code for whether the C++ compiler supports C++11 (global declarations)
4041 ac_cxx_conftest_cxx11_globals='
4042 // Does the compiler advertise C++ 2011 conformance?
4043 #if !defined __cplusplus || __cplusplus < 201103L
4044 # error "Compiler does not advertise C++11 conformance"
4045 #endif
4047 namespace cxx11test
4049 constexpr int get_val() { return 20; }
4051 struct testinit
4053 int i;
4054 double d;
4057 class delegate
4059 public:
4060 delegate(int n) : n(n) {}
4061 delegate(): delegate(2354) {}
4063 virtual int getval() { return this->n; };
4064 protected:
4065 int n;
4068 class overridden : public delegate
4070 public:
4071 overridden(int n): delegate(n) {}
4072 virtual int getval() override final { return this->n * 2; }
4075 class nocopy
4077 public:
4078 nocopy(int i): i(i) {}
4079 nocopy() = default;
4080 nocopy(const nocopy&) = delete;
4081 nocopy & operator=(const nocopy&) = delete;
4082 private:
4083 int i;
4086 // for testing lambda expressions
4087 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
4089 return f(v);
4092 // for testing variadic templates and trailing return types
4093 template <typename V> auto sum(V first) -> V
4095 return first;
4097 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
4099 return first + sum(rest...);
4104 # Test code for whether the C++ compiler supports C++11 (body of main)
4105 ac_cxx_conftest_cxx11_main='
4107 // Test auto and decltype
4108 auto a1 = 6538;
4109 auto a2 = 48573953.4;
4110 auto a3 = "String literal";
4112 int total = 0;
4113 for (auto i = a3; *i; ++i) { total += *i; }
4115 decltype(a2) a4 = 34895.034;
4118 // Test constexpr
4119 short sa[cxx11test::get_val()] = { 0 };
4122 // Test initializer lists
4123 cxx11test::testinit il = { 4323, 435234.23544 };
4126 // Test range-based for
4127 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
4128 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
4129 for (auto &x : array) { x += 23; }
4132 // Test lambda expressions
4133 using cxx11test::eval;
4134 assert (eval ([](int x) { return x*2; }, 21) == 42);
4135 double d = 2.0;
4136 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
4137 assert (d == 5.0);
4138 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
4139 assert (d == 5.0);
4142 // Test use of variadic templates
4143 using cxx11test::sum;
4144 auto a = sum(1);
4145 auto b = sum(1, 2);
4146 auto c = sum(1.0, 2.0, 3.0);
4149 // Test constructor delegation
4150 cxx11test::delegate d1;
4151 cxx11test::delegate d2();
4152 cxx11test::delegate d3(45);
4155 // Test override and final
4156 cxx11test::overridden o1(55464);
4159 // Test nullptr
4160 char *c = nullptr;
4163 // Test template brackets
4164 test_template<::test_template<int>> v(test_template<int>(12));
4167 // Unicode literals
4168 char const *utf8 = u8"UTF-8 string \u2500";
4169 char16_t const *utf16 = u"UTF-8 string \u2500";
4170 char32_t const *utf32 = U"UTF-32 string \u2500";
4174 # Test code for whether the C compiler supports C++11 (complete).
4175 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4176 ${ac_cxx_conftest_cxx11_globals}
4179 main (int argc, char **argv)
4181 int ok = 0;
4182 ${ac_cxx_conftest_cxx98_main}
4183 ${ac_cxx_conftest_cxx11_main}
4184 return ok;
4188 # Test code for whether the C compiler supports C++98 (complete).
4189 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4191 main (int argc, char **argv)
4193 int ok = 0;
4194 ${ac_cxx_conftest_cxx98_main}
4195 return ok;
4199 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4200 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4201 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4202 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4203 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4204 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4205 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4206 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4207 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4209 # Auxiliary files required by this configure script.
4210 ac_aux_files="config.guess config.sub"
4212 # Locations in which to look for auxiliary files.
4213 ac_aux_dir_candidates="${srcdir}/tools"
4215 # Search for a directory containing all of the required auxiliary files,
4216 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4217 # If we don't find one directory that contains all the files we need,
4218 # we report the set of missing files from the *first* directory in
4219 # $ac_aux_dir_candidates and give up.
4220 ac_missing_aux_files=""
4221 ac_first_candidate=:
4222 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4224 as_found=false
4225 for as_dir in $ac_aux_dir_candidates
4227 IFS=$as_save_IFS
4228 case $as_dir in #(((
4229 '') as_dir=./ ;;
4230 */) ;;
4231 *) as_dir=$as_dir/ ;;
4232 esac
4233 as_found=:
4235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4236 ac_aux_dir_found=yes
4237 ac_install_sh=
4238 for ac_aux in $ac_aux_files
4240 # As a special case, if "install-sh" is required, that requirement
4241 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4242 # and $ac_install_sh is set appropriately for whichever one is found.
4243 if test x"$ac_aux" = x"install-sh"
4244 then
4245 if 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}install.sh"; then
4249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4250 ac_install_sh="${as_dir}install.sh -c"
4251 elif test -f "${as_dir}shtool"; then
4252 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4253 ac_install_sh="${as_dir}shtool install -c"
4254 else
4255 ac_aux_dir_found=no
4256 if $ac_first_candidate; then
4257 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4258 else
4259 break
4262 else
4263 if test -f "${as_dir}${ac_aux}"; then
4264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4265 else
4266 ac_aux_dir_found=no
4267 if $ac_first_candidate; then
4268 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4269 else
4270 break
4274 done
4275 if test "$ac_aux_dir_found" = yes; then
4276 ac_aux_dir="$as_dir"
4277 break
4279 ac_first_candidate=false
4281 as_found=false
4282 done
4283 IFS=$as_save_IFS
4284 if $as_found
4285 then :
4287 else $as_nop
4288 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4292 # These three variables are undocumented and unsupported,
4293 # and are intended to be withdrawn in a future Autoconf release.
4294 # They can cause serious problems if a builder's source tree is in a directory
4295 # whose full name contains unusual characters.
4296 if test -f "${ac_aux_dir}config.guess"; then
4297 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4299 if test -f "${ac_aux_dir}config.sub"; then
4300 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4302 if test -f "$ac_aux_dir/configure"; then
4303 ac_configure="$SHELL ${ac_aux_dir}configure"
4306 # Check that the precious variables saved in the cache have kept the same
4307 # value.
4308 ac_cache_corrupted=false
4309 for ac_var in $ac_precious_vars; do
4310 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4311 eval ac_new_set=\$ac_env_${ac_var}_set
4312 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4313 eval ac_new_val=\$ac_env_${ac_var}_value
4314 case $ac_old_set,$ac_new_set in
4315 set,)
4316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4317 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4318 ac_cache_corrupted=: ;;
4319 ,set)
4320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4321 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4322 ac_cache_corrupted=: ;;
4323 ,);;
4325 if test "x$ac_old_val" != "x$ac_new_val"; then
4326 # differences in whitespace do not lead to failure.
4327 ac_old_val_w=`echo x $ac_old_val`
4328 ac_new_val_w=`echo x $ac_new_val`
4329 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4331 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4332 ac_cache_corrupted=:
4333 else
4334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4335 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4336 eval $ac_var=\$ac_old_val
4338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4339 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4341 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4342 fi;;
4343 esac
4344 # Pass precious variables to config.status.
4345 if test "$ac_new_set" = set; then
4346 case $ac_new_val in
4347 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4348 *) ac_arg=$ac_var=$ac_new_val ;;
4349 esac
4350 case " $ac_configure_args " in
4351 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4352 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4353 esac
4355 done
4356 if $ac_cache_corrupted; then
4357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4358 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4360 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4361 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4362 and start over" "$LINENO" 5
4364 ## -------------------- ##
4365 ## Main body of script. ##
4366 ## -------------------- ##
4368 ac_ext=c
4369 ac_cpp='$CPP $CPPFLAGS'
4370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4376 ac_config_headers="$ac_config_headers include/config.h"
4380 libwine_version="1.0"
4383 # Check whether --enable-win16 was given.
4384 if test ${enable_win16+y}
4385 then :
4386 enableval=$enable_win16;
4389 # Check whether --enable-win64 was given.
4390 if test ${enable_win64+y}
4391 then :
4392 enableval=$enable_win64;
4395 # Check whether --enable-tests was given.
4396 if test ${enable_tests+y}
4397 then :
4398 enableval=$enable_tests;
4401 # Check whether --enable-build-id was given.
4402 if test ${enable_build_id+y}
4403 then :
4404 enableval=$enable_build_id;
4407 # Check whether --enable-maintainer-mode was given.
4408 if test ${enable_maintainer_mode+y}
4409 then :
4410 enableval=$enable_maintainer_mode;
4413 # Check whether --enable-silent-rules was given.
4414 if test ${enable_silent_rules+y}
4415 then :
4416 enableval=$enable_silent_rules;
4419 # Check whether --enable-werror was given.
4420 if test ${enable_werror+y}
4421 then :
4422 enableval=$enable_werror;
4427 # Check whether --with-alsa was given.
4428 if test ${with_alsa+y}
4429 then :
4430 withval=$with_alsa;
4434 # Check whether --with-capi was given.
4435 if test ${with_capi+y}
4436 then :
4437 withval=$with_capi;
4441 # Check whether --with-coreaudio was given.
4442 if test ${with_coreaudio+y}
4443 then :
4444 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4448 # Check whether --with-cups was given.
4449 if test ${with_cups+y}
4450 then :
4451 withval=$with_cups;
4455 # Check whether --with-dbus was given.
4456 if test ${with_dbus+y}
4457 then :
4458 withval=$with_dbus;
4462 # Check whether --with-float-abi was given.
4463 if test ${with_float_abi+y}
4464 then :
4465 withval=$with_float_abi;
4469 # Check whether --with-fontconfig was given.
4470 if test ${with_fontconfig+y}
4471 then :
4472 withval=$with_fontconfig;
4476 # Check whether --with-freetype was given.
4477 if test ${with_freetype+y}
4478 then :
4479 withval=$with_freetype;
4483 # Check whether --with-gettext was given.
4484 if test ${with_gettext+y}
4485 then :
4486 withval=$with_gettext;
4490 # Check whether --with-gettextpo was given.
4491 if test ${with_gettextpo+y}
4492 then :
4493 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4497 # Check whether --with-gphoto was given.
4498 if test ${with_gphoto+y}
4499 then :
4500 withval=$with_gphoto;
4504 # Check whether --with-gnutls was given.
4505 if test ${with_gnutls+y}
4506 then :
4507 withval=$with_gnutls;
4511 # Check whether --with-gssapi was given.
4512 if test ${with_gssapi+y}
4513 then :
4514 withval=$with_gssapi;
4518 # Check whether --with-gstreamer was given.
4519 if test ${with_gstreamer+y}
4520 then :
4521 withval=$with_gstreamer;
4525 # Check whether --with-inotify was given.
4526 if test ${with_inotify+y}
4527 then :
4528 withval=$with_inotify;
4532 # Check whether --with-krb5 was given.
4533 if test ${with_krb5+y}
4534 then :
4535 withval=$with_krb5;
4539 # Check whether --with-ldap was given.
4540 if test ${with_ldap+y}
4541 then :
4542 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4546 # Check whether --with-mingw was given.
4547 if test ${with_mingw+y}
4548 then :
4549 withval=$with_mingw;
4553 # Check whether --with-netapi was given.
4554 if test ${with_netapi+y}
4555 then :
4556 withval=$with_netapi;
4560 # Check whether --with-openal was given.
4561 if test ${with_openal+y}
4562 then :
4563 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4567 # Check whether --with-opencl was given.
4568 if test ${with_opencl+y}
4569 then :
4570 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4574 # Check whether --with-opengl was given.
4575 if test ${with_opengl+y}
4576 then :
4577 withval=$with_opengl;
4581 # Check whether --with-osmesa was given.
4582 if test ${with_osmesa+y}
4583 then :
4584 withval=$with_osmesa;
4588 # Check whether --with-oss was given.
4589 if test ${with_oss+y}
4590 then :
4591 withval=$with_oss;
4595 # Check whether --with-pcap was given.
4596 if test ${with_pcap+y}
4597 then :
4598 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4602 # Check whether --with-pthread was given.
4603 if test ${with_pthread+y}
4604 then :
4605 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4609 # Check whether --with-pulse was given.
4610 if test ${with_pulse+y}
4611 then :
4612 withval=$with_pulse;
4616 # Check whether --with-sane was given.
4617 if test ${with_sane+y}
4618 then :
4619 withval=$with_sane;
4623 # Check whether --with-sdl was given.
4624 if test ${with_sdl+y}
4625 then :
4626 withval=$with_sdl;
4630 # Check whether --with-udev was given.
4631 if test ${with_udev+y}
4632 then :
4633 withval=$with_udev;
4637 # Check whether --with-unwind was given.
4638 if test ${with_unwind+y}
4639 then :
4640 withval=$with_unwind;
4644 # Check whether --with-usb was given.
4645 if test ${with_usb+y}
4646 then :
4647 withval=$with_usb;
4651 # Check whether --with-v4l2 was given.
4652 if test ${with_v4l2+y}
4653 then :
4654 withval=$with_v4l2;
4658 # Check whether --with-vkd3d was given.
4659 if test ${with_vkd3d+y}
4660 then :
4661 withval=$with_vkd3d;
4665 # Check whether --with-vulkan was given.
4666 if test ${with_vulkan+y}
4667 then :
4668 withval=$with_vulkan;
4672 # Check whether --with-xcomposite was given.
4673 if test ${with_xcomposite+y}
4674 then :
4675 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4679 # Check whether --with-xcursor was given.
4680 if test ${with_xcursor+y}
4681 then :
4682 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4686 # Check whether --with-xfixes was given.
4687 if test ${with_xfixes+y}
4688 then :
4689 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4693 # Check whether --with-xinerama was given.
4694 if test ${with_xinerama+y}
4695 then :
4696 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4700 # Check whether --with-xinput was given.
4701 if test ${with_xinput+y}
4702 then :
4703 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4707 # Check whether --with-xinput2 was given.
4708 if test ${with_xinput2+y}
4709 then :
4710 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4714 # Check whether --with-xrandr was given.
4715 if test ${with_xrandr+y}
4716 then :
4717 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4721 # Check whether --with-xrender was given.
4722 if test ${with_xrender+y}
4723 then :
4724 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4728 # Check whether --with-xshape was given.
4729 if test ${with_xshape+y}
4730 then :
4731 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4735 # Check whether --with-xshm was given.
4736 if test ${with_xshm+y}
4737 then :
4738 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4742 # Check whether --with-xxf86vm was given.
4743 if test ${with_xxf86vm+y}
4744 then :
4745 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
4750 # Check whether --with-system-dllpath was given.
4751 if test ${with_system_dllpath+y}
4752 then :
4753 withval=$with_system_dllpath; system_dllpath=$withval
4758 # Check whether --with-wine-tools was given.
4759 if test ${with_wine_tools+y}
4760 then :
4761 withval=$with_wine_tools;
4765 # Check whether --with-wine64 was given.
4766 if test ${with_wine64+y}
4767 then :
4768 withval=$with_wine64;
4775 # Make sure we can run config.sub.
4776 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4777 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4780 printf %s "checking build system type... " >&6; }
4781 if test ${ac_cv_build+y}
4782 then :
4783 printf %s "(cached) " >&6
4784 else $as_nop
4785 ac_build_alias=$build_alias
4786 test "x$ac_build_alias" = x &&
4787 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4788 test "x$ac_build_alias" = x &&
4789 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4790 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4791 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4795 printf "%s\n" "$ac_cv_build" >&6; }
4796 case $ac_cv_build in
4797 *-*-*) ;;
4798 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4799 esac
4800 build=$ac_cv_build
4801 ac_save_IFS=$IFS; IFS='-'
4802 set x $ac_cv_build
4803 shift
4804 build_cpu=$1
4805 build_vendor=$2
4806 shift; shift
4807 # Remember, the first character of IFS is used to create $*,
4808 # except with old shells:
4809 build_os=$*
4810 IFS=$ac_save_IFS
4811 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4815 printf %s "checking host system type... " >&6; }
4816 if test ${ac_cv_host+y}
4817 then :
4818 printf %s "(cached) " >&6
4819 else $as_nop
4820 if test "x$host_alias" = x; then
4821 ac_cv_host=$ac_cv_build
4822 else
4823 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4824 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4829 printf "%s\n" "$ac_cv_host" >&6; }
4830 case $ac_cv_host in
4831 *-*-*) ;;
4832 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4833 esac
4834 host=$ac_cv_host
4835 ac_save_IFS=$IFS; IFS='-'
4836 set x $ac_cv_host
4837 shift
4838 host_cpu=$1
4839 host_vendor=$2
4840 shift; shift
4841 # Remember, the first character of IFS is used to create $*,
4842 # except with old shells:
4843 host_os=$*
4844 IFS=$ac_save_IFS
4845 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4849 dlldir=\${libdir}/wine
4851 fontdir=\${datadir}/wine/fonts
4853 nlsdir=\${datadir}/wine/nls
4858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4859 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4860 set x ${MAKE-make}
4861 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4862 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4863 then :
4864 printf %s "(cached) " >&6
4865 else $as_nop
4866 cat >conftest.make <<\_ACEOF
4867 SHELL = /bin/sh
4868 all:
4869 @echo '@@@%%%=$(MAKE)=@@@%%%'
4870 _ACEOF
4871 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4872 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4873 *@@@%%%=?*=@@@%%%*)
4874 eval ac_cv_prog_make_${ac_make}_set=yes;;
4876 eval ac_cv_prog_make_${ac_make}_set=no;;
4877 esac
4878 rm -f conftest.make
4880 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4882 printf "%s\n" "yes" >&6; }
4883 SET_MAKE=
4884 else
4885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 printf "%s\n" "no" >&6; }
4887 SET_MAKE="MAKE=${MAKE-make}"
4899 ac_ext=c
4900 ac_cpp='$CPP $CPPFLAGS'
4901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4904 if test -n "$ac_tool_prefix"; then
4905 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4906 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4908 printf %s "checking for $ac_word... " >&6; }
4909 if test ${ac_cv_prog_CC+y}
4910 then :
4911 printf %s "(cached) " >&6
4912 else $as_nop
4913 if test -n "$CC"; then
4914 ac_cv_prog_CC="$CC" # Let the user override the test.
4915 else
4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 for as_dir in $PATH
4919 IFS=$as_save_IFS
4920 case $as_dir in #(((
4921 '') as_dir=./ ;;
4922 */) ;;
4923 *) as_dir=$as_dir/ ;;
4924 esac
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4929 break 2
4931 done
4932 done
4933 IFS=$as_save_IFS
4937 CC=$ac_cv_prog_CC
4938 if test -n "$CC"; then
4939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4940 printf "%s\n" "$CC" >&6; }
4941 else
4942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 printf "%s\n" "no" >&6; }
4948 if test -z "$ac_cv_prog_CC"; then
4949 ac_ct_CC=$CC
4950 # Extract the first word of "gcc", so it can be a program name with args.
4951 set dummy gcc; ac_word=$2
4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 printf %s "checking for $ac_word... " >&6; }
4954 if test ${ac_cv_prog_ac_ct_CC+y}
4955 then :
4956 printf %s "(cached) " >&6
4957 else $as_nop
4958 if test -n "$ac_ct_CC"; then
4959 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4960 else
4961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4962 for as_dir in $PATH
4964 IFS=$as_save_IFS
4965 case $as_dir in #(((
4966 '') as_dir=./ ;;
4967 */) ;;
4968 *) as_dir=$as_dir/ ;;
4969 esac
4970 for ac_exec_ext in '' $ac_executable_extensions; do
4971 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4972 ac_cv_prog_ac_ct_CC="gcc"
4973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4974 break 2
4976 done
4977 done
4978 IFS=$as_save_IFS
4982 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4983 if test -n "$ac_ct_CC"; then
4984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4985 printf "%s\n" "$ac_ct_CC" >&6; }
4986 else
4987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4988 printf "%s\n" "no" >&6; }
4991 if test "x$ac_ct_CC" = x; then
4992 CC=""
4993 else
4994 case $cross_compiling:$ac_tool_warned in
4995 yes:)
4996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4997 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4998 ac_tool_warned=yes ;;
4999 esac
5000 CC=$ac_ct_CC
5002 else
5003 CC="$ac_cv_prog_CC"
5006 if test -z "$CC"; then
5007 if test -n "$ac_tool_prefix"; then
5008 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5009 set dummy ${ac_tool_prefix}cc; ac_word=$2
5010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 printf %s "checking for $ac_word... " >&6; }
5012 if test ${ac_cv_prog_CC+y}
5013 then :
5014 printf %s "(cached) " >&6
5015 else $as_nop
5016 if test -n "$CC"; then
5017 ac_cv_prog_CC="$CC" # Let the user override the test.
5018 else
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020 for as_dir in $PATH
5022 IFS=$as_save_IFS
5023 case $as_dir in #(((
5024 '') as_dir=./ ;;
5025 */) ;;
5026 *) as_dir=$as_dir/ ;;
5027 esac
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5030 ac_cv_prog_CC="${ac_tool_prefix}cc"
5031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5032 break 2
5034 done
5035 done
5036 IFS=$as_save_IFS
5040 CC=$ac_cv_prog_CC
5041 if test -n "$CC"; then
5042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5043 printf "%s\n" "$CC" >&6; }
5044 else
5045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 printf "%s\n" "no" >&6; }
5052 if test -z "$CC"; then
5053 # Extract the first word of "cc", so it can be a program name with args.
5054 set dummy cc; ac_word=$2
5055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 printf %s "checking for $ac_word... " >&6; }
5057 if test ${ac_cv_prog_CC+y}
5058 then :
5059 printf %s "(cached) " >&6
5060 else $as_nop
5061 if test -n "$CC"; then
5062 ac_cv_prog_CC="$CC" # Let the user override the test.
5063 else
5064 ac_prog_rejected=no
5065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5066 for as_dir in $PATH
5068 IFS=$as_save_IFS
5069 case $as_dir in #(((
5070 '') as_dir=./ ;;
5071 */) ;;
5072 *) as_dir=$as_dir/ ;;
5073 esac
5074 for ac_exec_ext in '' $ac_executable_extensions; do
5075 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5076 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5077 ac_prog_rejected=yes
5078 continue
5080 ac_cv_prog_CC="cc"
5081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5082 break 2
5084 done
5085 done
5086 IFS=$as_save_IFS
5088 if test $ac_prog_rejected = yes; then
5089 # We found a bogon in the path, so make sure we never use it.
5090 set dummy $ac_cv_prog_CC
5091 shift
5092 if test $# != 0; then
5093 # We chose a different compiler from the bogus one.
5094 # However, it has the same basename, so the bogon will be chosen
5095 # first if we set CC to just the basename; use the full file name.
5096 shift
5097 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5102 CC=$ac_cv_prog_CC
5103 if test -n "$CC"; then
5104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5105 printf "%s\n" "$CC" >&6; }
5106 else
5107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 printf "%s\n" "no" >&6; }
5113 if test -z "$CC"; then
5114 if test -n "$ac_tool_prefix"; then
5115 for ac_prog in cl.exe
5117 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5118 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120 printf %s "checking for $ac_word... " >&6; }
5121 if test ${ac_cv_prog_CC+y}
5122 then :
5123 printf %s "(cached) " >&6
5124 else $as_nop
5125 if test -n "$CC"; then
5126 ac_cv_prog_CC="$CC" # Let the user override the test.
5127 else
5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 for as_dir in $PATH
5131 IFS=$as_save_IFS
5132 case $as_dir in #(((
5133 '') as_dir=./ ;;
5134 */) ;;
5135 *) as_dir=$as_dir/ ;;
5136 esac
5137 for ac_exec_ext in '' $ac_executable_extensions; do
5138 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5139 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5141 break 2
5143 done
5144 done
5145 IFS=$as_save_IFS
5149 CC=$ac_cv_prog_CC
5150 if test -n "$CC"; then
5151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5152 printf "%s\n" "$CC" >&6; }
5153 else
5154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5155 printf "%s\n" "no" >&6; }
5159 test -n "$CC" && break
5160 done
5162 if test -z "$CC"; then
5163 ac_ct_CC=$CC
5164 for ac_prog in cl.exe
5166 # Extract the first word of "$ac_prog", so it can be a program name with args.
5167 set dummy $ac_prog; ac_word=$2
5168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169 printf %s "checking for $ac_word... " >&6; }
5170 if test ${ac_cv_prog_ac_ct_CC+y}
5171 then :
5172 printf %s "(cached) " >&6
5173 else $as_nop
5174 if test -n "$ac_ct_CC"; then
5175 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5176 else
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 for as_dir in $PATH
5180 IFS=$as_save_IFS
5181 case $as_dir in #(((
5182 '') as_dir=./ ;;
5183 */) ;;
5184 *) as_dir=$as_dir/ ;;
5185 esac
5186 for ac_exec_ext in '' $ac_executable_extensions; do
5187 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5188 ac_cv_prog_ac_ct_CC="$ac_prog"
5189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5190 break 2
5192 done
5193 done
5194 IFS=$as_save_IFS
5198 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5199 if test -n "$ac_ct_CC"; then
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5201 printf "%s\n" "$ac_ct_CC" >&6; }
5202 else
5203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 printf "%s\n" "no" >&6; }
5208 test -n "$ac_ct_CC" && break
5209 done
5211 if test "x$ac_ct_CC" = x; then
5212 CC=""
5213 else
5214 case $cross_compiling:$ac_tool_warned in
5215 yes:)
5216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5217 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5218 ac_tool_warned=yes ;;
5219 esac
5220 CC=$ac_ct_CC
5225 if test -z "$CC"; then
5226 if test -n "$ac_tool_prefix"; then
5227 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5228 set dummy ${ac_tool_prefix}clang; ac_word=$2
5229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 printf %s "checking for $ac_word... " >&6; }
5231 if test ${ac_cv_prog_CC+y}
5232 then :
5233 printf %s "(cached) " >&6
5234 else $as_nop
5235 if test -n "$CC"; then
5236 ac_cv_prog_CC="$CC" # Let the user override the test.
5237 else
5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 for as_dir in $PATH
5241 IFS=$as_save_IFS
5242 case $as_dir in #(((
5243 '') as_dir=./ ;;
5244 */) ;;
5245 *) as_dir=$as_dir/ ;;
5246 esac
5247 for ac_exec_ext in '' $ac_executable_extensions; do
5248 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5249 ac_cv_prog_CC="${ac_tool_prefix}clang"
5250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5251 break 2
5253 done
5254 done
5255 IFS=$as_save_IFS
5259 CC=$ac_cv_prog_CC
5260 if test -n "$CC"; then
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5262 printf "%s\n" "$CC" >&6; }
5263 else
5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5265 printf "%s\n" "no" >&6; }
5270 if test -z "$ac_cv_prog_CC"; then
5271 ac_ct_CC=$CC
5272 # Extract the first word of "clang", so it can be a program name with args.
5273 set dummy clang; ac_word=$2
5274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5275 printf %s "checking for $ac_word... " >&6; }
5276 if test ${ac_cv_prog_ac_ct_CC+y}
5277 then :
5278 printf %s "(cached) " >&6
5279 else $as_nop
5280 if test -n "$ac_ct_CC"; then
5281 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5282 else
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5284 for as_dir in $PATH
5286 IFS=$as_save_IFS
5287 case $as_dir in #(((
5288 '') as_dir=./ ;;
5289 */) ;;
5290 *) as_dir=$as_dir/ ;;
5291 esac
5292 for ac_exec_ext in '' $ac_executable_extensions; do
5293 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5294 ac_cv_prog_ac_ct_CC="clang"
5295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5296 break 2
5298 done
5299 done
5300 IFS=$as_save_IFS
5304 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5305 if test -n "$ac_ct_CC"; then
5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5307 printf "%s\n" "$ac_ct_CC" >&6; }
5308 else
5309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 printf "%s\n" "no" >&6; }
5313 if test "x$ac_ct_CC" = x; then
5314 CC=""
5315 else
5316 case $cross_compiling:$ac_tool_warned in
5317 yes:)
5318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5319 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5320 ac_tool_warned=yes ;;
5321 esac
5322 CC=$ac_ct_CC
5324 else
5325 CC="$ac_cv_prog_CC"
5331 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5332 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5333 as_fn_error $? "no acceptable C compiler found in \$PATH
5334 See \`config.log' for more details" "$LINENO" 5; }
5336 # Provide some information about the compiler.
5337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5338 set X $ac_compile
5339 ac_compiler=$2
5340 for ac_option in --version -v -V -qversion -version; do
5341 { { ac_try="$ac_compiler $ac_option >&5"
5342 case "(($ac_try" in
5343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5344 *) ac_try_echo=$ac_try;;
5345 esac
5346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5347 printf "%s\n" "$ac_try_echo"; } >&5
5348 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5349 ac_status=$?
5350 if test -s conftest.err; then
5351 sed '10a\
5352 ... rest of stderr output deleted ...
5353 10q' conftest.err >conftest.er1
5354 cat conftest.er1 >&5
5356 rm -f conftest.er1 conftest.err
5357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5358 test $ac_status = 0; }
5359 done
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5365 main (void)
5369 return 0;
5371 _ACEOF
5372 ac_clean_files_save=$ac_clean_files
5373 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5374 # Try to create an executable without -o first, disregard a.out.
5375 # It will help us diagnose broken compilers, and finding out an intuition
5376 # of exeext.
5377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5378 printf %s "checking whether the C compiler works... " >&6; }
5379 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5381 # The possible output files:
5382 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5384 ac_rmfiles=
5385 for ac_file in $ac_files
5387 case $ac_file in
5388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5389 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5390 esac
5391 done
5392 rm -f $ac_rmfiles
5394 if { { ac_try="$ac_link_default"
5395 case "(($ac_try" in
5396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5397 *) ac_try_echo=$ac_try;;
5398 esac
5399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5400 printf "%s\n" "$ac_try_echo"; } >&5
5401 (eval "$ac_link_default") 2>&5
5402 ac_status=$?
5403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5404 test $ac_status = 0; }
5405 then :
5406 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5407 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5408 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5409 # so that the user can short-circuit this test for compilers unknown to
5410 # Autoconf.
5411 for ac_file in $ac_files ''
5413 test -f "$ac_file" || continue
5414 case $ac_file in
5415 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5417 [ab].out )
5418 # We found the default executable, but exeext='' is most
5419 # certainly right.
5420 break;;
5421 *.* )
5422 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5423 then :; else
5424 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5426 # We set ac_cv_exeext here because the later test for it is not
5427 # safe: cross compilers may not add the suffix if given an `-o'
5428 # argument, so we may need to know it at that point already.
5429 # Even if this section looks crufty: it has the advantage of
5430 # actually working.
5431 break;;
5433 break;;
5434 esac
5435 done
5436 test "$ac_cv_exeext" = no && ac_cv_exeext=
5438 else $as_nop
5439 ac_file=''
5441 if test -z "$ac_file"
5442 then :
5443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 printf "%s\n" "no" >&6; }
5445 printf "%s\n" "$as_me: failed program was:" >&5
5446 sed 's/^/| /' conftest.$ac_ext >&5
5448 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5449 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5450 as_fn_error 77 "C compiler cannot create executables
5451 See \`config.log' for more details" "$LINENO" 5; }
5452 else $as_nop
5453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5454 printf "%s\n" "yes" >&6; }
5456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5457 printf %s "checking for C compiler default output file name... " >&6; }
5458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5459 printf "%s\n" "$ac_file" >&6; }
5460 ac_exeext=$ac_cv_exeext
5462 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5463 ac_clean_files=$ac_clean_files_save
5464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5465 printf %s "checking for suffix of executables... " >&6; }
5466 if { { ac_try="$ac_link"
5467 case "(($ac_try" in
5468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5469 *) ac_try_echo=$ac_try;;
5470 esac
5471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5472 printf "%s\n" "$ac_try_echo"; } >&5
5473 (eval "$ac_link") 2>&5
5474 ac_status=$?
5475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5476 test $ac_status = 0; }
5477 then :
5478 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5479 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5480 # work properly (i.e., refer to `conftest.exe'), while it won't with
5481 # `rm'.
5482 for ac_file in conftest.exe conftest conftest.*; do
5483 test -f "$ac_file" || continue
5484 case $ac_file in
5485 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5486 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5487 break;;
5488 * ) break;;
5489 esac
5490 done
5491 else $as_nop
5492 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5493 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5494 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5495 See \`config.log' for more details" "$LINENO" 5; }
5497 rm -f conftest conftest$ac_cv_exeext
5498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5499 printf "%s\n" "$ac_cv_exeext" >&6; }
5501 rm -f conftest.$ac_ext
5502 EXEEXT=$ac_cv_exeext
5503 ac_exeext=$EXEEXT
5504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5505 /* end confdefs.h. */
5506 #include <stdio.h>
5508 main (void)
5510 FILE *f = fopen ("conftest.out", "w");
5511 return ferror (f) || fclose (f) != 0;
5514 return 0;
5516 _ACEOF
5517 ac_clean_files="$ac_clean_files conftest.out"
5518 # Check that the compiler produces executables we can run. If not, either
5519 # the compiler is broken, or we cross compile.
5520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5521 printf %s "checking whether we are cross compiling... " >&6; }
5522 if test "$cross_compiling" != yes; then
5523 { { ac_try="$ac_link"
5524 case "(($ac_try" in
5525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5526 *) ac_try_echo=$ac_try;;
5527 esac
5528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5529 printf "%s\n" "$ac_try_echo"; } >&5
5530 (eval "$ac_link") 2>&5
5531 ac_status=$?
5532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5533 test $ac_status = 0; }
5534 if { ac_try='./conftest$ac_cv_exeext'
5535 { { case "(($ac_try" in
5536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5537 *) ac_try_echo=$ac_try;;
5538 esac
5539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5540 printf "%s\n" "$ac_try_echo"; } >&5
5541 (eval "$ac_try") 2>&5
5542 ac_status=$?
5543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5544 test $ac_status = 0; }; }; then
5545 cross_compiling=no
5546 else
5547 if test "$cross_compiling" = maybe; then
5548 cross_compiling=yes
5549 else
5550 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5551 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5552 as_fn_error 77 "cannot run C compiled programs.
5553 If you meant to cross compile, use \`--host'.
5554 See \`config.log' for more details" "$LINENO" 5; }
5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5559 printf "%s\n" "$cross_compiling" >&6; }
5561 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5562 ac_clean_files=$ac_clean_files_save
5563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5564 printf %s "checking for suffix of object files... " >&6; }
5565 if test ${ac_cv_objext+y}
5566 then :
5567 printf %s "(cached) " >&6
5568 else $as_nop
5569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5570 /* end confdefs.h. */
5573 main (void)
5577 return 0;
5579 _ACEOF
5580 rm -f conftest.o conftest.obj
5581 if { { ac_try="$ac_compile"
5582 case "(($ac_try" in
5583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5584 *) ac_try_echo=$ac_try;;
5585 esac
5586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5587 printf "%s\n" "$ac_try_echo"; } >&5
5588 (eval "$ac_compile") 2>&5
5589 ac_status=$?
5590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5591 test $ac_status = 0; }
5592 then :
5593 for ac_file in conftest.o conftest.obj conftest.*; do
5594 test -f "$ac_file" || continue;
5595 case $ac_file in
5596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5597 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5598 break;;
5599 esac
5600 done
5601 else $as_nop
5602 printf "%s\n" "$as_me: failed program was:" >&5
5603 sed 's/^/| /' conftest.$ac_ext >&5
5605 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5606 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5607 as_fn_error $? "cannot compute suffix of object files: cannot compile
5608 See \`config.log' for more details" "$LINENO" 5; }
5610 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5613 printf "%s\n" "$ac_cv_objext" >&6; }
5614 OBJEXT=$ac_cv_objext
5615 ac_objext=$OBJEXT
5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5617 printf %s "checking whether the compiler supports GNU C... " >&6; }
5618 if test ${ac_cv_c_compiler_gnu+y}
5619 then :
5620 printf %s "(cached) " >&6
5621 else $as_nop
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5626 main (void)
5628 #ifndef __GNUC__
5629 choke me
5630 #endif
5633 return 0;
5635 _ACEOF
5636 if ac_fn_c_try_compile "$LINENO"
5637 then :
5638 ac_compiler_gnu=yes
5639 else $as_nop
5640 ac_compiler_gnu=no
5642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5643 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5647 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5650 if test $ac_compiler_gnu = yes; then
5651 GCC=yes
5652 else
5653 GCC=
5655 ac_test_CFLAGS=${CFLAGS+y}
5656 ac_save_CFLAGS=$CFLAGS
5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5658 printf %s "checking whether $CC accepts -g... " >&6; }
5659 if test ${ac_cv_prog_cc_g+y}
5660 then :
5661 printf %s "(cached) " >&6
5662 else $as_nop
5663 ac_save_c_werror_flag=$ac_c_werror_flag
5664 ac_c_werror_flag=yes
5665 ac_cv_prog_cc_g=no
5666 CFLAGS="-g"
5667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h. */
5671 main (void)
5675 return 0;
5677 _ACEOF
5678 if ac_fn_c_try_compile "$LINENO"
5679 then :
5680 ac_cv_prog_cc_g=yes
5681 else $as_nop
5682 CFLAGS=""
5683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5684 /* end confdefs.h. */
5687 main (void)
5691 return 0;
5693 _ACEOF
5694 if ac_fn_c_try_compile "$LINENO"
5695 then :
5697 else $as_nop
5698 ac_c_werror_flag=$ac_save_c_werror_flag
5699 CFLAGS="-g"
5700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5701 /* end confdefs.h. */
5704 main (void)
5708 return 0;
5710 _ACEOF
5711 if ac_fn_c_try_compile "$LINENO"
5712 then :
5713 ac_cv_prog_cc_g=yes
5715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5720 ac_c_werror_flag=$ac_save_c_werror_flag
5722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5723 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5724 if test $ac_test_CFLAGS; then
5725 CFLAGS=$ac_save_CFLAGS
5726 elif test $ac_cv_prog_cc_g = yes; then
5727 if test "$GCC" = yes; then
5728 CFLAGS="-g -O2"
5729 else
5730 CFLAGS="-g"
5732 else
5733 if test "$GCC" = yes; then
5734 CFLAGS="-O2"
5735 else
5736 CFLAGS=
5739 ac_prog_cc_stdc=no
5740 if test x$ac_prog_cc_stdc = xno
5741 then :
5742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5743 printf %s "checking for $CC option to enable C11 features... " >&6; }
5744 if test ${ac_cv_prog_cc_c11+y}
5745 then :
5746 printf %s "(cached) " >&6
5747 else $as_nop
5748 ac_cv_prog_cc_c11=no
5749 ac_save_CC=$CC
5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5751 /* end confdefs.h. */
5752 $ac_c_conftest_c11_program
5753 _ACEOF
5754 for ac_arg in '' -std=gnu11
5756 CC="$ac_save_CC $ac_arg"
5757 if ac_fn_c_try_compile "$LINENO"
5758 then :
5759 ac_cv_prog_cc_c11=$ac_arg
5761 rm -f core conftest.err conftest.$ac_objext conftest.beam
5762 test "x$ac_cv_prog_cc_c11" != "xno" && break
5763 done
5764 rm -f conftest.$ac_ext
5765 CC=$ac_save_CC
5768 if test "x$ac_cv_prog_cc_c11" = xno
5769 then :
5770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5771 printf "%s\n" "unsupported" >&6; }
5772 else $as_nop
5773 if test "x$ac_cv_prog_cc_c11" = x
5774 then :
5775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5776 printf "%s\n" "none needed" >&6; }
5777 else $as_nop
5778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5779 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5780 CC="$CC $ac_cv_prog_cc_c11"
5782 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5783 ac_prog_cc_stdc=c11
5786 if test x$ac_prog_cc_stdc = xno
5787 then :
5788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5789 printf %s "checking for $CC option to enable C99 features... " >&6; }
5790 if test ${ac_cv_prog_cc_c99+y}
5791 then :
5792 printf %s "(cached) " >&6
5793 else $as_nop
5794 ac_cv_prog_cc_c99=no
5795 ac_save_CC=$CC
5796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5797 /* end confdefs.h. */
5798 $ac_c_conftest_c99_program
5799 _ACEOF
5800 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5802 CC="$ac_save_CC $ac_arg"
5803 if ac_fn_c_try_compile "$LINENO"
5804 then :
5805 ac_cv_prog_cc_c99=$ac_arg
5807 rm -f core conftest.err conftest.$ac_objext conftest.beam
5808 test "x$ac_cv_prog_cc_c99" != "xno" && break
5809 done
5810 rm -f conftest.$ac_ext
5811 CC=$ac_save_CC
5814 if test "x$ac_cv_prog_cc_c99" = xno
5815 then :
5816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5817 printf "%s\n" "unsupported" >&6; }
5818 else $as_nop
5819 if test "x$ac_cv_prog_cc_c99" = x
5820 then :
5821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5822 printf "%s\n" "none needed" >&6; }
5823 else $as_nop
5824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5825 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5826 CC="$CC $ac_cv_prog_cc_c99"
5828 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5829 ac_prog_cc_stdc=c99
5832 if test x$ac_prog_cc_stdc = xno
5833 then :
5834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5835 printf %s "checking for $CC option to enable C89 features... " >&6; }
5836 if test ${ac_cv_prog_cc_c89+y}
5837 then :
5838 printf %s "(cached) " >&6
5839 else $as_nop
5840 ac_cv_prog_cc_c89=no
5841 ac_save_CC=$CC
5842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5843 /* end confdefs.h. */
5844 $ac_c_conftest_c89_program
5845 _ACEOF
5846 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5848 CC="$ac_save_CC $ac_arg"
5849 if ac_fn_c_try_compile "$LINENO"
5850 then :
5851 ac_cv_prog_cc_c89=$ac_arg
5853 rm -f core conftest.err conftest.$ac_objext conftest.beam
5854 test "x$ac_cv_prog_cc_c89" != "xno" && break
5855 done
5856 rm -f conftest.$ac_ext
5857 CC=$ac_save_CC
5860 if test "x$ac_cv_prog_cc_c89" = xno
5861 then :
5862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5863 printf "%s\n" "unsupported" >&6; }
5864 else $as_nop
5865 if test "x$ac_cv_prog_cc_c89" = x
5866 then :
5867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5868 printf "%s\n" "none needed" >&6; }
5869 else $as_nop
5870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5871 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5872 CC="$CC $ac_cv_prog_cc_c89"
5874 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5875 ac_prog_cc_stdc=c89
5879 ac_ext=c
5880 ac_cpp='$CPP $CPPFLAGS'
5881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5891 ac_ext=cpp
5892 ac_cpp='$CXXCPP $CPPFLAGS'
5893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5896 if test -z "$CXX"; then
5897 if test -n "$CCC"; then
5898 CXX=$CCC
5899 else
5900 if test -n "$ac_tool_prefix"; then
5901 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5903 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5904 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5906 printf %s "checking for $ac_word... " >&6; }
5907 if test ${ac_cv_prog_CXX+y}
5908 then :
5909 printf %s "(cached) " >&6
5910 else $as_nop
5911 if test -n "$CXX"; then
5912 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5913 else
5914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5915 for as_dir in $PATH
5917 IFS=$as_save_IFS
5918 case $as_dir in #(((
5919 '') as_dir=./ ;;
5920 */) ;;
5921 *) as_dir=$as_dir/ ;;
5922 esac
5923 for ac_exec_ext in '' $ac_executable_extensions; do
5924 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5925 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5927 break 2
5929 done
5930 done
5931 IFS=$as_save_IFS
5935 CXX=$ac_cv_prog_CXX
5936 if test -n "$CXX"; then
5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5938 printf "%s\n" "$CXX" >&6; }
5939 else
5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5941 printf "%s\n" "no" >&6; }
5945 test -n "$CXX" && break
5946 done
5948 if test -z "$CXX"; then
5949 ac_ct_CXX=$CXX
5950 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5952 # Extract the first word of "$ac_prog", so it can be a program name with args.
5953 set dummy $ac_prog; ac_word=$2
5954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 printf %s "checking for $ac_word... " >&6; }
5956 if test ${ac_cv_prog_ac_ct_CXX+y}
5957 then :
5958 printf %s "(cached) " >&6
5959 else $as_nop
5960 if test -n "$ac_ct_CXX"; then
5961 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5962 else
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 for as_dir in $PATH
5966 IFS=$as_save_IFS
5967 case $as_dir in #(((
5968 '') as_dir=./ ;;
5969 */) ;;
5970 *) as_dir=$as_dir/ ;;
5971 esac
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5974 ac_cv_prog_ac_ct_CXX="$ac_prog"
5975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5976 break 2
5978 done
5979 done
5980 IFS=$as_save_IFS
5984 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5985 if test -n "$ac_ct_CXX"; then
5986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5987 printf "%s\n" "$ac_ct_CXX" >&6; }
5988 else
5989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 printf "%s\n" "no" >&6; }
5994 test -n "$ac_ct_CXX" && break
5995 done
5997 if test "x$ac_ct_CXX" = x; then
5998 CXX="g++"
5999 else
6000 case $cross_compiling:$ac_tool_warned in
6001 yes:)
6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6003 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6004 ac_tool_warned=yes ;;
6005 esac
6006 CXX=$ac_ct_CXX
6012 # Provide some information about the compiler.
6013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6014 set X $ac_compile
6015 ac_compiler=$2
6016 for ac_option in --version -v -V -qversion; do
6017 { { ac_try="$ac_compiler $ac_option >&5"
6018 case "(($ac_try" in
6019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6020 *) ac_try_echo=$ac_try;;
6021 esac
6022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6023 printf "%s\n" "$ac_try_echo"; } >&5
6024 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6025 ac_status=$?
6026 if test -s conftest.err; then
6027 sed '10a\
6028 ... rest of stderr output deleted ...
6029 10q' conftest.err >conftest.er1
6030 cat conftest.er1 >&5
6032 rm -f conftest.er1 conftest.err
6033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6034 test $ac_status = 0; }
6035 done
6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6038 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6039 if test ${ac_cv_cxx_compiler_gnu+y}
6040 then :
6041 printf %s "(cached) " >&6
6042 else $as_nop
6043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6044 /* end confdefs.h. */
6047 main (void)
6049 #ifndef __GNUC__
6050 choke me
6051 #endif
6054 return 0;
6056 _ACEOF
6057 if ac_fn_cxx_try_compile "$LINENO"
6058 then :
6059 ac_compiler_gnu=yes
6060 else $as_nop
6061 ac_compiler_gnu=no
6063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6064 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6068 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6071 if test $ac_compiler_gnu = yes; then
6072 GXX=yes
6073 else
6074 GXX=
6076 ac_test_CXXFLAGS=${CXXFLAGS+y}
6077 ac_save_CXXFLAGS=$CXXFLAGS
6078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6079 printf %s "checking whether $CXX accepts -g... " >&6; }
6080 if test ${ac_cv_prog_cxx_g+y}
6081 then :
6082 printf %s "(cached) " >&6
6083 else $as_nop
6084 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6085 ac_cxx_werror_flag=yes
6086 ac_cv_prog_cxx_g=no
6087 CXXFLAGS="-g"
6088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6089 /* end confdefs.h. */
6092 main (void)
6096 return 0;
6098 _ACEOF
6099 if ac_fn_cxx_try_compile "$LINENO"
6100 then :
6101 ac_cv_prog_cxx_g=yes
6102 else $as_nop
6103 CXXFLAGS=""
6104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6105 /* end confdefs.h. */
6108 main (void)
6112 return 0;
6114 _ACEOF
6115 if ac_fn_cxx_try_compile "$LINENO"
6116 then :
6118 else $as_nop
6119 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6120 CXXFLAGS="-g"
6121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6122 /* end confdefs.h. */
6125 main (void)
6129 return 0;
6131 _ACEOF
6132 if ac_fn_cxx_try_compile "$LINENO"
6133 then :
6134 ac_cv_prog_cxx_g=yes
6136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6141 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6144 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6145 if test $ac_test_CXXFLAGS; then
6146 CXXFLAGS=$ac_save_CXXFLAGS
6147 elif test $ac_cv_prog_cxx_g = yes; then
6148 if test "$GXX" = yes; then
6149 CXXFLAGS="-g -O2"
6150 else
6151 CXXFLAGS="-g"
6153 else
6154 if test "$GXX" = yes; then
6155 CXXFLAGS="-O2"
6156 else
6157 CXXFLAGS=
6160 ac_prog_cxx_stdcxx=no
6161 if test x$ac_prog_cxx_stdcxx = xno
6162 then :
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6164 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6165 if test ${ac_cv_prog_cxx_11+y}
6166 then :
6167 printf %s "(cached) " >&6
6168 else $as_nop
6169 ac_cv_prog_cxx_11=no
6170 ac_save_CXX=$CXX
6171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6172 /* end confdefs.h. */
6173 $ac_cxx_conftest_cxx11_program
6174 _ACEOF
6175 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6177 CXX="$ac_save_CXX $ac_arg"
6178 if ac_fn_cxx_try_compile "$LINENO"
6179 then :
6180 ac_cv_prog_cxx_cxx11=$ac_arg
6182 rm -f core conftest.err conftest.$ac_objext conftest.beam
6183 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6184 done
6185 rm -f conftest.$ac_ext
6186 CXX=$ac_save_CXX
6189 if test "x$ac_cv_prog_cxx_cxx11" = xno
6190 then :
6191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6192 printf "%s\n" "unsupported" >&6; }
6193 else $as_nop
6194 if test "x$ac_cv_prog_cxx_cxx11" = x
6195 then :
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6197 printf "%s\n" "none needed" >&6; }
6198 else $as_nop
6199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6200 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6201 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6203 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6204 ac_prog_cxx_stdcxx=cxx11
6207 if test x$ac_prog_cxx_stdcxx = xno
6208 then :
6209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6210 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6211 if test ${ac_cv_prog_cxx_98+y}
6212 then :
6213 printf %s "(cached) " >&6
6214 else $as_nop
6215 ac_cv_prog_cxx_98=no
6216 ac_save_CXX=$CXX
6217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6219 $ac_cxx_conftest_cxx98_program
6220 _ACEOF
6221 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6223 CXX="$ac_save_CXX $ac_arg"
6224 if ac_fn_cxx_try_compile "$LINENO"
6225 then :
6226 ac_cv_prog_cxx_cxx98=$ac_arg
6228 rm -f core conftest.err conftest.$ac_objext conftest.beam
6229 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6230 done
6231 rm -f conftest.$ac_ext
6232 CXX=$ac_save_CXX
6235 if test "x$ac_cv_prog_cxx_cxx98" = xno
6236 then :
6237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6238 printf "%s\n" "unsupported" >&6; }
6239 else $as_nop
6240 if test "x$ac_cv_prog_cxx_cxx98" = x
6241 then :
6242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6243 printf "%s\n" "none needed" >&6; }
6244 else $as_nop
6245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6246 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6247 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6249 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6250 ac_prog_cxx_stdcxx=cxx98
6254 ac_ext=c
6255 ac_cpp='$CPP $CPPFLAGS'
6256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6260 if test -n "$ac_tool_prefix"; then
6261 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6262 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6264 printf %s "checking for $ac_word... " >&6; }
6265 if test ${ac_cv_prog_CPPBIN+y}
6266 then :
6267 printf %s "(cached) " >&6
6268 else $as_nop
6269 if test -n "$CPPBIN"; then
6270 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6271 else
6272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6273 for as_dir in $PATH
6275 IFS=$as_save_IFS
6276 case $as_dir in #(((
6277 '') as_dir=./ ;;
6278 */) ;;
6279 *) as_dir=$as_dir/ ;;
6280 esac
6281 for ac_exec_ext in '' $ac_executable_extensions; do
6282 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6283 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6285 break 2
6287 done
6288 done
6289 IFS=$as_save_IFS
6293 CPPBIN=$ac_cv_prog_CPPBIN
6294 if test -n "$CPPBIN"; then
6295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6296 printf "%s\n" "$CPPBIN" >&6; }
6297 else
6298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6299 printf "%s\n" "no" >&6; }
6304 if test -z "$ac_cv_prog_CPPBIN"; then
6305 ac_ct_CPPBIN=$CPPBIN
6306 # Extract the first word of "cpp", so it can be a program name with args.
6307 set dummy cpp; ac_word=$2
6308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6309 printf %s "checking for $ac_word... " >&6; }
6310 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6311 then :
6312 printf %s "(cached) " >&6
6313 else $as_nop
6314 if test -n "$ac_ct_CPPBIN"; then
6315 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6316 else
6317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6318 for as_dir in $PATH
6320 IFS=$as_save_IFS
6321 case $as_dir in #(((
6322 '') as_dir=./ ;;
6323 */) ;;
6324 *) as_dir=$as_dir/ ;;
6325 esac
6326 for ac_exec_ext in '' $ac_executable_extensions; do
6327 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6328 ac_cv_prog_ac_ct_CPPBIN="cpp"
6329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6330 break 2
6332 done
6333 done
6334 IFS=$as_save_IFS
6338 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6339 if test -n "$ac_ct_CPPBIN"; then
6340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6341 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6342 else
6343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6344 printf "%s\n" "no" >&6; }
6347 if test "x$ac_ct_CPPBIN" = x; then
6348 CPPBIN="cpp"
6349 else
6350 case $cross_compiling:$ac_tool_warned in
6351 yes:)
6352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6353 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6354 ac_tool_warned=yes ;;
6355 esac
6356 CPPBIN=$ac_ct_CPPBIN
6358 else
6359 CPPBIN="$ac_cv_prog_CPPBIN"
6363 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6365 if test -n "$ac_tool_prefix"; then
6366 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6367 set dummy ${ac_tool_prefix}ld; ac_word=$2
6368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6369 printf %s "checking for $ac_word... " >&6; }
6370 if test ${ac_cv_prog_LD+y}
6371 then :
6372 printf %s "(cached) " >&6
6373 else $as_nop
6374 if test -n "$LD"; then
6375 ac_cv_prog_LD="$LD" # Let the user override the test.
6376 else
6377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6378 for as_dir in $PATH
6380 IFS=$as_save_IFS
6381 case $as_dir in #(((
6382 '') as_dir=./ ;;
6383 */) ;;
6384 *) as_dir=$as_dir/ ;;
6385 esac
6386 for ac_exec_ext in '' $ac_executable_extensions; do
6387 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6388 ac_cv_prog_LD="${ac_tool_prefix}ld"
6389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6390 break 2
6392 done
6393 done
6394 IFS=$as_save_IFS
6398 LD=$ac_cv_prog_LD
6399 if test -n "$LD"; then
6400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6401 printf "%s\n" "$LD" >&6; }
6402 else
6403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6404 printf "%s\n" "no" >&6; }
6409 if test -z "$ac_cv_prog_LD"; then
6410 ac_ct_LD=$LD
6411 # Extract the first word of "ld", so it can be a program name with args.
6412 set dummy ld; ac_word=$2
6413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6414 printf %s "checking for $ac_word... " >&6; }
6415 if test ${ac_cv_prog_ac_ct_LD+y}
6416 then :
6417 printf %s "(cached) " >&6
6418 else $as_nop
6419 if test -n "$ac_ct_LD"; then
6420 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6421 else
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423 for as_dir in $PATH
6425 IFS=$as_save_IFS
6426 case $as_dir in #(((
6427 '') as_dir=./ ;;
6428 */) ;;
6429 *) as_dir=$as_dir/ ;;
6430 esac
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6433 ac_cv_prog_ac_ct_LD="ld"
6434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6435 break 2
6437 done
6438 done
6439 IFS=$as_save_IFS
6443 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6444 if test -n "$ac_ct_LD"; then
6445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6446 printf "%s\n" "$ac_ct_LD" >&6; }
6447 else
6448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6449 printf "%s\n" "no" >&6; }
6452 if test "x$ac_ct_LD" = x; then
6453 LD=""
6454 else
6455 case $cross_compiling:$ac_tool_warned in
6456 yes:)
6457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6458 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6459 ac_tool_warned=yes ;;
6460 esac
6461 LD=$ac_ct_LD
6463 else
6464 LD="$ac_cv_prog_LD"
6468 case $host in
6469 *-darwin*)
6470 with_fontconfig=${with_fontconfig:-no}
6472 *-mingw32*|*-cygwin*)
6473 enable_win16=${enable_win16:-no}
6474 with_mingw=${with_mingw:-no}
6476 esac
6479 case $host in
6480 x86_64*|amd64*)
6481 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6482 then
6483 CC="$CC -m32"
6484 CXX="$CXX -m32"
6486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6487 printf %s "checking whether $CC works... " >&6; }
6488 if test ${wine_cv_cc_m32+y}
6489 then :
6490 printf %s "(cached) " >&6
6491 else $as_nop
6492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6493 /* end confdefs.h. */
6496 main (void)
6500 return 0;
6502 _ACEOF
6503 if ac_fn_c_try_link "$LINENO"
6504 then :
6505 wine_cv_cc_m32=yes
6506 else $as_nop
6507 wine_cv_cc_m32=no
6509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6510 conftest$ac_exeext conftest.$ac_ext
6512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6513 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6514 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
6515 host_cpu="i386"
6516 notice_platform="32-bit "
6517 TARGETFLAGS="$TARGETFLAGS -m32"
6518 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6519 export PKG_CONFIG_PATH
6520 enable_win16=${enable_win16:-yes}
6521 with_unwind=${with_unwind:-no}
6522 else
6523 if test "x${GCC}" = "xyes"
6524 then
6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6526 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6527 if test ${wine_cv_builtin_ms_va_list+y}
6528 then :
6529 printf %s "(cached) " >&6
6530 else $as_nop
6531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6532 /* end confdefs.h. */
6533 #include <stdarg.h>
6535 main (void)
6537 void func(__builtin_ms_va_list *args);
6539 return 0;
6541 _ACEOF
6542 if ac_fn_c_try_compile "$LINENO"
6543 then :
6544 wine_cv_builtin_ms_va_list=yes
6545 else $as_nop
6546 wine_cv_builtin_ms_va_list=no
6548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6551 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6552 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
6554 CC="$CC -m64"
6555 CXX="$CXX -m64"
6556 host_cpu="x86_64"
6557 notice_platform="64-bit "
6558 TARGETFLAGS="$TARGETFLAGS -m64"
6559 enable_wow64=${enable_wow64:-yes}
6560 enable_wow64win=${enable_wow64win:-yes}
6561 enable_wow64cpu=${enable_wow64cpu:-yes}
6564 arm*)
6565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6566 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6567 if test ${wine_cv_thumb2+y}
6568 then :
6569 printf %s "(cached) " >&6
6570 else $as_nop
6571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6575 main (void)
6577 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6579 return 0;
6581 _ACEOF
6582 if ac_fn_c_try_link "$LINENO"
6583 then :
6584 wine_cv_thumb2=yes
6585 else $as_nop
6586 wine_cv_thumb2=no
6588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6589 conftest$ac_exeext conftest.$ac_ext
6591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6592 printf "%s\n" "$wine_cv_thumb2" >&6; }
6593 if test x"$wine_cv_thumb2" = xyes
6594 then
6595 CFLAGS="$CFLAGS -mthumb"
6596 TARGETFLAGS="$TARGETFLAGS -mthumb"
6597 else
6598 CFLAGS="$CFLAGS -marm"
6599 TARGETFLAGS="$TARGETFLAGS -marm"
6601 case $with_float_abi in
6602 soft|softfp|hard)
6603 float_abi=$with_float_abi ;;
6605 case $host_os in
6606 *eabihf)
6607 float_abi=hard ;;
6609 float_abi=softfp
6610 saved_CFLAGS=$CFLAGS
6611 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6613 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6614 if test ${wine_cv_float_abi+y}
6615 then :
6616 printf %s "(cached) " >&6
6617 else $as_nop
6618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6619 /* end confdefs.h. */
6622 main (void)
6624 asm("vmrs r2,fpscr");
6626 return 0;
6628 _ACEOF
6629 if ac_fn_c_try_link "$LINENO"
6630 then :
6631 wine_cv_float_abi=yes
6632 else $as_nop
6633 wine_cv_float_abi=no
6635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6636 conftest$ac_exeext conftest.$ac_ext
6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6639 printf "%s\n" "$wine_cv_float_abi" >&6; }
6640 if test $wine_cv_float_abi = no
6641 then
6642 float_abi=soft
6643 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6645 CFLAGS=$saved_CFLAGS
6646 esac
6648 esac
6649 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6650 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6652 aarch64*)
6653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6654 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6655 if test ${wine_cv_builtin_ms_va_list+y}
6656 then :
6657 printf %s "(cached) " >&6
6658 else $as_nop
6659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6661 #include <stdarg.h>
6663 main (void)
6665 void func(__builtin_ms_va_list *args);
6667 return 0;
6669 _ACEOF
6670 if ac_fn_c_try_compile "$LINENO"
6671 then :
6672 wine_cv_builtin_ms_va_list=yes
6673 else $as_nop
6674 wine_cv_builtin_ms_va_list=no
6676 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6679 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6680 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6681 enable_wow64=${enable_wow64:-yes}
6682 enable_wow64win=${enable_wow64win:-yes}
6684 i[3456789]86*)
6685 enable_win16=${enable_win16:-yes}
6686 with_unwind=${with_unwind:-no}
6688 esac
6690 enable_win16=${enable_win16:-no}
6691 enable_win64=${enable_win64:-no}
6692 enable_wow64=${enable_wow64:-no}
6693 enable_wow64win=${enable_wow64win:-no}
6694 enable_wow64cpu=${enable_wow64cpu:-no}
6696 enable_winetest=${enable_winetest:-$enable_tests}
6698 if test "x$enable_win64" = "xyes"
6699 then
6700 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6701 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6704 case $build_os in
6705 cygwin*|mingw32*) toolsext=".exe"
6707 *) toolsext=""
6709 esac
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6712 printf %s "checking for the directory containing the Wine tools... " >&6; }
6713 if test ${wine_cv_toolsdir+y}
6714 then :
6715 printf %s "(cached) " >&6
6716 else $as_nop
6717 wine_cv_toolsdir="$with_wine_tools"
6718 if test -z "$with_wine_tools"; then
6719 if test "$cross_compiling" = "yes"; then
6720 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6721 elif test -n "$with_wine64"; then
6722 wine_cv_toolsdir="$with_wine64"
6726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6727 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6728 if test -z "$wine_cv_toolsdir"; then
6729 wine_makedep=tools/makedep$toolsext
6730 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6731 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6732 enable_tools=${enable_tools:-no}
6733 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6734 else
6735 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6737 toolsdir=$wine_cv_toolsdir
6739 MAKEDEP=$wine_makedep
6741 RUNTESTFLAGS="-q -P wine"
6743 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'"
6746 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6747 then
6748 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6751 for ac_prog in flex
6753 # Extract the first word of "$ac_prog", so it can be a program name with args.
6754 set dummy $ac_prog; ac_word=$2
6755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 printf %s "checking for $ac_word... " >&6; }
6757 if test ${ac_cv_prog_FLEX+y}
6758 then :
6759 printf %s "(cached) " >&6
6760 else $as_nop
6761 if test -n "$FLEX"; then
6762 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6763 else
6764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6765 for as_dir in $PATH
6767 IFS=$as_save_IFS
6768 case $as_dir in #(((
6769 '') as_dir=./ ;;
6770 */) ;;
6771 *) as_dir=$as_dir/ ;;
6772 esac
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6775 ac_cv_prog_FLEX="$ac_prog"
6776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6777 break 2
6779 done
6780 done
6781 IFS=$as_save_IFS
6785 FLEX=$ac_cv_prog_FLEX
6786 if test -n "$FLEX"; then
6787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6788 printf "%s\n" "$FLEX" >&6; }
6789 else
6790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791 printf "%s\n" "no" >&6; }
6795 test -n "$FLEX" && break
6796 done
6797 test -n "$FLEX" || FLEX="none"
6799 if test "$FLEX" = "none"
6800 then
6801 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6804 printf %s "checking whether flex is recent enough... " >&6; }
6805 if test ${wine_cv_recent_flex+y}
6806 then :
6807 printf %s "(cached) " >&6
6808 else $as_nop
6809 cat >conftest.l <<EOF
6810 %top{
6811 #include "prediluvian.h"
6815 if $FLEX -t conftest.l >/dev/null 2>&5
6816 then
6817 wine_cv_recent_flex=yes
6818 else
6819 wine_cv_recent_flex=no
6822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6823 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6824 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
6826 for ac_prog in bison
6828 # Extract the first word of "$ac_prog", so it can be a program name with args.
6829 set dummy $ac_prog; ac_word=$2
6830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 printf %s "checking for $ac_word... " >&6; }
6832 if test ${ac_cv_prog_BISON+y}
6833 then :
6834 printf %s "(cached) " >&6
6835 else $as_nop
6836 if test -n "$BISON"; then
6837 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6838 else
6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840 for as_dir in $PATH
6842 IFS=$as_save_IFS
6843 case $as_dir in #(((
6844 '') as_dir=./ ;;
6845 */) ;;
6846 *) as_dir=$as_dir/ ;;
6847 esac
6848 for ac_exec_ext in '' $ac_executable_extensions; do
6849 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6850 ac_cv_prog_BISON="$ac_prog"
6851 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6852 break 2
6854 done
6855 done
6856 IFS=$as_save_IFS
6860 BISON=$ac_cv_prog_BISON
6861 if test -n "$BISON"; then
6862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6863 printf "%s\n" "$BISON" >&6; }
6864 else
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6866 printf "%s\n" "no" >&6; }
6870 test -n "$BISON" && break
6871 done
6872 test -n "$BISON" || BISON="none"
6874 if test "$BISON" = "none"
6875 then
6876 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6879 printf %s "checking whether bison is recent enough... " >&6; }
6880 if test ${wine_cv_recent_bison+y}
6881 then :
6882 printf %s "(cached) " >&6
6883 else $as_nop
6884 cat >conftest.y <<EOF
6885 %define parse.error verbose
6887 empty: ;
6889 if $BISON conftest.y >/dev/null 2>&5
6890 then
6891 wine_cv_recent_bison=yes
6892 else
6893 wine_cv_recent_bison=no
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6897 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6898 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
6900 if test -n "$ac_tool_prefix"; then
6901 for ac_prog in ar gar
6903 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6904 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6906 printf %s "checking for $ac_word... " >&6; }
6907 if test ${ac_cv_prog_AR+y}
6908 then :
6909 printf %s "(cached) " >&6
6910 else $as_nop
6911 if test -n "$AR"; then
6912 ac_cv_prog_AR="$AR" # Let the user override the test.
6913 else
6914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6915 for as_dir in $PATH
6917 IFS=$as_save_IFS
6918 case $as_dir in #(((
6919 '') as_dir=./ ;;
6920 */) ;;
6921 *) as_dir=$as_dir/ ;;
6922 esac
6923 for ac_exec_ext in '' $ac_executable_extensions; do
6924 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6925 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6927 break 2
6929 done
6930 done
6931 IFS=$as_save_IFS
6935 AR=$ac_cv_prog_AR
6936 if test -n "$AR"; then
6937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6938 printf "%s\n" "$AR" >&6; }
6939 else
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6941 printf "%s\n" "no" >&6; }
6945 test -n "$AR" && break
6946 done
6948 if test -z "$AR"; then
6949 ac_ct_AR=$AR
6950 for ac_prog in ar gar
6952 # Extract the first word of "$ac_prog", so it can be a program name with args.
6953 set dummy $ac_prog; ac_word=$2
6954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6955 printf %s "checking for $ac_word... " >&6; }
6956 if test ${ac_cv_prog_ac_ct_AR+y}
6957 then :
6958 printf %s "(cached) " >&6
6959 else $as_nop
6960 if test -n "$ac_ct_AR"; then
6961 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6962 else
6963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6964 for as_dir in $PATH
6966 IFS=$as_save_IFS
6967 case $as_dir in #(((
6968 '') as_dir=./ ;;
6969 */) ;;
6970 *) as_dir=$as_dir/ ;;
6971 esac
6972 for ac_exec_ext in '' $ac_executable_extensions; do
6973 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6974 ac_cv_prog_ac_ct_AR="$ac_prog"
6975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6976 break 2
6978 done
6979 done
6980 IFS=$as_save_IFS
6984 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6985 if test -n "$ac_ct_AR"; then
6986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6987 printf "%s\n" "$ac_ct_AR" >&6; }
6988 else
6989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6990 printf "%s\n" "no" >&6; }
6994 test -n "$ac_ct_AR" && break
6995 done
6997 if test "x$ac_ct_AR" = x; then
6998 AR="ar"
6999 else
7000 case $cross_compiling:$ac_tool_warned in
7001 yes:)
7002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7003 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7004 ac_tool_warned=yes ;;
7005 esac
7006 AR=$ac_ct_AR
7010 if test -n "$ac_tool_prefix"; then
7011 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7012 set dummy ${ac_tool_prefix}strip; ac_word=$2
7013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7014 printf %s "checking for $ac_word... " >&6; }
7015 if test ${ac_cv_prog_STRIP+y}
7016 then :
7017 printf %s "(cached) " >&6
7018 else $as_nop
7019 if test -n "$STRIP"; then
7020 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7021 else
7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7023 for as_dir in $PATH
7025 IFS=$as_save_IFS
7026 case $as_dir in #(((
7027 '') as_dir=./ ;;
7028 */) ;;
7029 *) as_dir=$as_dir/ ;;
7030 esac
7031 for ac_exec_ext in '' $ac_executable_extensions; do
7032 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7033 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7035 break 2
7037 done
7038 done
7039 IFS=$as_save_IFS
7043 STRIP=$ac_cv_prog_STRIP
7044 if test -n "$STRIP"; then
7045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7046 printf "%s\n" "$STRIP" >&6; }
7047 else
7048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049 printf "%s\n" "no" >&6; }
7054 if test -z "$ac_cv_prog_STRIP"; then
7055 ac_ct_STRIP=$STRIP
7056 # Extract the first word of "strip", so it can be a program name with args.
7057 set dummy strip; ac_word=$2
7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 printf %s "checking for $ac_word... " >&6; }
7060 if test ${ac_cv_prog_ac_ct_STRIP+y}
7061 then :
7062 printf %s "(cached) " >&6
7063 else $as_nop
7064 if test -n "$ac_ct_STRIP"; then
7065 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7066 else
7067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7068 for as_dir in $PATH
7070 IFS=$as_save_IFS
7071 case $as_dir in #(((
7072 '') as_dir=./ ;;
7073 */) ;;
7074 *) as_dir=$as_dir/ ;;
7075 esac
7076 for ac_exec_ext in '' $ac_executable_extensions; do
7077 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7078 ac_cv_prog_ac_ct_STRIP="strip"
7079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7080 break 2
7082 done
7083 done
7084 IFS=$as_save_IFS
7088 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7089 if test -n "$ac_ct_STRIP"; then
7090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7091 printf "%s\n" "$ac_ct_STRIP" >&6; }
7092 else
7093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7094 printf "%s\n" "no" >&6; }
7097 if test "x$ac_ct_STRIP" = x; then
7098 STRIP="strip"
7099 else
7100 case $cross_compiling:$ac_tool_warned in
7101 yes:)
7102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7103 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7104 ac_tool_warned=yes ;;
7105 esac
7106 STRIP=$ac_ct_STRIP
7108 else
7109 STRIP="$ac_cv_prog_STRIP"
7112 if test -n "$ac_tool_prefix"; then
7113 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7114 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 printf %s "checking for $ac_word... " >&6; }
7117 if test ${ac_cv_prog_RANLIB+y}
7118 then :
7119 printf %s "(cached) " >&6
7120 else $as_nop
7121 if test -n "$RANLIB"; then
7122 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7123 else
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7125 for as_dir in $PATH
7127 IFS=$as_save_IFS
7128 case $as_dir in #(((
7129 '') as_dir=./ ;;
7130 */) ;;
7131 *) as_dir=$as_dir/ ;;
7132 esac
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7137 break 2
7139 done
7140 done
7141 IFS=$as_save_IFS
7145 RANLIB=$ac_cv_prog_RANLIB
7146 if test -n "$RANLIB"; then
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7148 printf "%s\n" "$RANLIB" >&6; }
7149 else
7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 printf "%s\n" "no" >&6; }
7156 if test -z "$ac_cv_prog_RANLIB"; then
7157 ac_ct_RANLIB=$RANLIB
7158 # Extract the first word of "ranlib", so it can be a program name with args.
7159 set dummy ranlib; ac_word=$2
7160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161 printf %s "checking for $ac_word... " >&6; }
7162 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7163 then :
7164 printf %s "(cached) " >&6
7165 else $as_nop
7166 if test -n "$ac_ct_RANLIB"; then
7167 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7168 else
7169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7170 for as_dir in $PATH
7172 IFS=$as_save_IFS
7173 case $as_dir in #(((
7174 '') as_dir=./ ;;
7175 */) ;;
7176 *) as_dir=$as_dir/ ;;
7177 esac
7178 for ac_exec_ext in '' $ac_executable_extensions; do
7179 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7180 ac_cv_prog_ac_ct_RANLIB="ranlib"
7181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7182 break 2
7184 done
7185 done
7186 IFS=$as_save_IFS
7190 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7191 if test -n "$ac_ct_RANLIB"; then
7192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7193 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7194 else
7195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196 printf "%s\n" "no" >&6; }
7199 if test "x$ac_ct_RANLIB" = x; then
7200 RANLIB=":"
7201 else
7202 case $cross_compiling:$ac_tool_warned in
7203 yes:)
7204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7205 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7206 ac_tool_warned=yes ;;
7207 esac
7208 RANLIB=$ac_ct_RANLIB
7210 else
7211 RANLIB="$ac_cv_prog_RANLIB"
7214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7215 printf %s "checking whether ln -s works... " >&6; }
7216 LN_S=$as_ln_s
7217 if test "$LN_S" = "ln -s"; then
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7219 printf "%s\n" "yes" >&6; }
7220 else
7221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7222 printf "%s\n" "no, using $LN_S" >&6; }
7225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7226 printf %s "checking for grep that handles long lines and -e... " >&6; }
7227 if test ${ac_cv_path_GREP+y}
7228 then :
7229 printf %s "(cached) " >&6
7230 else $as_nop
7231 if test -z "$GREP"; then
7232 ac_path_GREP_found=false
7233 # Loop through the user's path and test for each of PROGNAME-LIST
7234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7237 IFS=$as_save_IFS
7238 case $as_dir in #(((
7239 '') as_dir=./ ;;
7240 */) ;;
7241 *) as_dir=$as_dir/ ;;
7242 esac
7243 for ac_prog in grep ggrep
7245 for ac_exec_ext in '' $ac_executable_extensions; do
7246 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7247 as_fn_executable_p "$ac_path_GREP" || continue
7248 # Check for GNU ac_path_GREP and select it if it is found.
7249 # Check for GNU $ac_path_GREP
7250 case `"$ac_path_GREP" --version 2>&1` in
7251 *GNU*)
7252 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7254 ac_count=0
7255 printf %s 0123456789 >"conftest.in"
7256 while :
7258 cat "conftest.in" "conftest.in" >"conftest.tmp"
7259 mv "conftest.tmp" "conftest.in"
7260 cp "conftest.in" "conftest.nl"
7261 printf "%s\n" 'GREP' >> "conftest.nl"
7262 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7263 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7264 as_fn_arith $ac_count + 1 && ac_count=$as_val
7265 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7266 # Best one so far, save it but keep looking for a better one
7267 ac_cv_path_GREP="$ac_path_GREP"
7268 ac_path_GREP_max=$ac_count
7270 # 10*(2^10) chars as input seems more than enough
7271 test $ac_count -gt 10 && break
7272 done
7273 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7274 esac
7276 $ac_path_GREP_found && break 3
7277 done
7278 done
7279 done
7280 IFS=$as_save_IFS
7281 if test -z "$ac_cv_path_GREP"; then
7282 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7284 else
7285 ac_cv_path_GREP=$GREP
7289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7290 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7291 GREP="$ac_cv_path_GREP"
7294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7295 printf %s "checking for egrep... " >&6; }
7296 if test ${ac_cv_path_EGREP+y}
7297 then :
7298 printf %s "(cached) " >&6
7299 else $as_nop
7300 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7301 then ac_cv_path_EGREP="$GREP -E"
7302 else
7303 if test -z "$EGREP"; then
7304 ac_path_EGREP_found=false
7305 # Loop through the user's path and test for each of PROGNAME-LIST
7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7307 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7309 IFS=$as_save_IFS
7310 case $as_dir in #(((
7311 '') as_dir=./ ;;
7312 */) ;;
7313 *) as_dir=$as_dir/ ;;
7314 esac
7315 for ac_prog in egrep
7317 for ac_exec_ext in '' $ac_executable_extensions; do
7318 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7319 as_fn_executable_p "$ac_path_EGREP" || continue
7320 # Check for GNU ac_path_EGREP and select it if it is found.
7321 # Check for GNU $ac_path_EGREP
7322 case `"$ac_path_EGREP" --version 2>&1` in
7323 *GNU*)
7324 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7326 ac_count=0
7327 printf %s 0123456789 >"conftest.in"
7328 while :
7330 cat "conftest.in" "conftest.in" >"conftest.tmp"
7331 mv "conftest.tmp" "conftest.in"
7332 cp "conftest.in" "conftest.nl"
7333 printf "%s\n" 'EGREP' >> "conftest.nl"
7334 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7335 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7336 as_fn_arith $ac_count + 1 && ac_count=$as_val
7337 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7338 # Best one so far, save it but keep looking for a better one
7339 ac_cv_path_EGREP="$ac_path_EGREP"
7340 ac_path_EGREP_max=$ac_count
7342 # 10*(2^10) chars as input seems more than enough
7343 test $ac_count -gt 10 && break
7344 done
7345 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7346 esac
7348 $ac_path_EGREP_found && break 3
7349 done
7350 done
7351 done
7352 IFS=$as_save_IFS
7353 if test -z "$ac_cv_path_EGREP"; then
7354 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7356 else
7357 ac_cv_path_EGREP=$EGREP
7362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7363 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7364 EGREP="$ac_cv_path_EGREP"
7367 # Extract the first word of "ldconfig", so it can be a program name with args.
7368 set dummy ldconfig; ac_word=$2
7369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370 printf %s "checking for $ac_word... " >&6; }
7371 if test ${ac_cv_path_LDCONFIG+y}
7372 then :
7373 printf %s "(cached) " >&6
7374 else $as_nop
7375 case $LDCONFIG in
7376 [\\/]* | ?:[\\/]*)
7377 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7381 for as_dir in /sbin /usr/sbin $PATH
7383 IFS=$as_save_IFS
7384 case $as_dir in #(((
7385 '') as_dir=./ ;;
7386 */) ;;
7387 *) as_dir=$as_dir/ ;;
7388 esac
7389 for ac_exec_ext in '' $ac_executable_extensions; do
7390 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7391 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7393 break 2
7395 done
7396 done
7397 IFS=$as_save_IFS
7399 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7401 esac
7403 LDCONFIG=$ac_cv_path_LDCONFIG
7404 if test -n "$LDCONFIG"; then
7405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7406 printf "%s\n" "$LDCONFIG" >&6; }
7407 else
7408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 printf "%s\n" "no" >&6; }
7413 for ac_prog in msgfmt
7415 # Extract the first word of "$ac_prog", so it can be a program name with args.
7416 set dummy $ac_prog; ac_word=$2
7417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 printf %s "checking for $ac_word... " >&6; }
7419 if test ${ac_cv_prog_MSGFMT+y}
7420 then :
7421 printf %s "(cached) " >&6
7422 else $as_nop
7423 if test -n "$MSGFMT"; then
7424 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7425 else
7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 for as_dir in $PATH
7429 IFS=$as_save_IFS
7430 case $as_dir in #(((
7431 '') as_dir=./ ;;
7432 */) ;;
7433 *) as_dir=$as_dir/ ;;
7434 esac
7435 for ac_exec_ext in '' $ac_executable_extensions; do
7436 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7437 ac_cv_prog_MSGFMT="$ac_prog"
7438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7439 break 2
7441 done
7442 done
7443 IFS=$as_save_IFS
7447 MSGFMT=$ac_cv_prog_MSGFMT
7448 if test -n "$MSGFMT"; then
7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7450 printf "%s\n" "$MSGFMT" >&6; }
7451 else
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7453 printf "%s\n" "no" >&6; }
7457 test -n "$MSGFMT" && break
7458 done
7459 test -n "$MSGFMT" || MSGFMT="false"
7461 if test ${ac_tool_prefix+y}
7462 then :
7463 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7464 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7466 printf %s "checking for $ac_word... " >&6; }
7467 if test ${ac_cv_prog_PKG_CONFIG+y}
7468 then :
7469 printf %s "(cached) " >&6
7470 else $as_nop
7471 if test -n "$PKG_CONFIG"; then
7472 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7473 else
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7475 for as_dir in $PATH
7477 IFS=$as_save_IFS
7478 case $as_dir in #(((
7479 '') as_dir=./ ;;
7480 */) ;;
7481 *) as_dir=$as_dir/ ;;
7482 esac
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7485 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7487 break 2
7489 done
7490 done
7491 IFS=$as_save_IFS
7495 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7496 if test -n "$PKG_CONFIG"; then
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7498 printf "%s\n" "$PKG_CONFIG" >&6; }
7499 else
7500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 printf "%s\n" "no" >&6; }
7506 if ${ac_cv_prog_PKG_CONFIG:+false} :
7507 then :
7508 if test "x$cross_compiling" = xyes
7509 then :
7511 else $as_nop
7512 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7513 # Extract the first word of "pkg-config", so it can be a program name with args.
7514 set dummy pkg-config; ac_word=$2
7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7516 printf %s "checking for $ac_word... " >&6; }
7517 if test ${ac_cv_prog_PKG_CONFIG+y}
7518 then :
7519 printf %s "(cached) " >&6
7520 else $as_nop
7521 if test -n "$PKG_CONFIG"; then
7522 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7523 else
7524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525 for as_dir in $PATH
7527 IFS=$as_save_IFS
7528 case $as_dir in #(((
7529 '') as_dir=./ ;;
7530 */) ;;
7531 *) as_dir=$as_dir/ ;;
7532 esac
7533 for ac_exec_ext in '' $ac_executable_extensions; do
7534 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7535 ac_cv_prog_PKG_CONFIG="pkg-config"
7536 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7537 break 2
7539 done
7540 done
7541 IFS=$as_save_IFS
7545 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7546 if test -n "$PKG_CONFIG"; then
7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7548 printf "%s\n" "$PKG_CONFIG" >&6; }
7549 else
7550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7551 printf "%s\n" "no" >&6; }
7556 else $as_nop
7557 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7560 if test "x$enable_maintainer_mode" != "xyes"
7561 then
7562 FONTFORGE=""
7563 RSVG=""
7564 CONVERT=""
7565 ICOTOOL=""
7566 else
7567 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7568 for ac_prog in fontforge
7570 # Extract the first word of "$ac_prog", so it can be a program name with args.
7571 set dummy $ac_prog; ac_word=$2
7572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7573 printf %s "checking for $ac_word... " >&6; }
7574 if test ${ac_cv_prog_FONTFORGE+y}
7575 then :
7576 printf %s "(cached) " >&6
7577 else $as_nop
7578 if test -n "$FONTFORGE"; then
7579 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7584 IFS=$as_save_IFS
7585 case $as_dir in #(((
7586 '') as_dir=./ ;;
7587 */) ;;
7588 *) as_dir=$as_dir/ ;;
7589 esac
7590 for ac_exec_ext in '' $ac_executable_extensions; do
7591 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7592 ac_cv_prog_FONTFORGE="$ac_prog"
7593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7594 break 2
7596 done
7597 done
7598 IFS=$as_save_IFS
7602 FONTFORGE=$ac_cv_prog_FONTFORGE
7603 if test -n "$FONTFORGE"; then
7604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7605 printf "%s\n" "$FONTFORGE" >&6; }
7606 else
7607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7608 printf "%s\n" "no" >&6; }
7612 test -n "$FONTFORGE" && break
7613 done
7614 test -n "$FONTFORGE" || FONTFORGE="false"
7616 for ac_prog in rsvg-convert rsvg
7618 # Extract the first word of "$ac_prog", so it can be a program name with args.
7619 set dummy $ac_prog; ac_word=$2
7620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621 printf %s "checking for $ac_word... " >&6; }
7622 if test ${ac_cv_prog_RSVG+y}
7623 then :
7624 printf %s "(cached) " >&6
7625 else $as_nop
7626 if test -n "$RSVG"; then
7627 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7628 else
7629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7630 for as_dir in $PATH
7632 IFS=$as_save_IFS
7633 case $as_dir in #(((
7634 '') as_dir=./ ;;
7635 */) ;;
7636 *) as_dir=$as_dir/ ;;
7637 esac
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7640 ac_cv_prog_RSVG="$ac_prog"
7641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7642 break 2
7644 done
7645 done
7646 IFS=$as_save_IFS
7650 RSVG=$ac_cv_prog_RSVG
7651 if test -n "$RSVG"; then
7652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7653 printf "%s\n" "$RSVG" >&6; }
7654 else
7655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 printf "%s\n" "no" >&6; }
7660 test -n "$RSVG" && break
7661 done
7662 test -n "$RSVG" || RSVG="false"
7664 for ac_prog in convert
7666 # Extract the first word of "$ac_prog", so it can be a program name with args.
7667 set dummy $ac_prog; ac_word=$2
7668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7669 printf %s "checking for $ac_word... " >&6; }
7670 if test ${ac_cv_prog_CONVERT+y}
7671 then :
7672 printf %s "(cached) " >&6
7673 else $as_nop
7674 if test -n "$CONVERT"; then
7675 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7676 else
7677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7678 for as_dir in $PATH
7680 IFS=$as_save_IFS
7681 case $as_dir in #(((
7682 '') as_dir=./ ;;
7683 */) ;;
7684 *) as_dir=$as_dir/ ;;
7685 esac
7686 for ac_exec_ext in '' $ac_executable_extensions; do
7687 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7688 ac_cv_prog_CONVERT="$ac_prog"
7689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7690 break 2
7692 done
7693 done
7694 IFS=$as_save_IFS
7698 CONVERT=$ac_cv_prog_CONVERT
7699 if test -n "$CONVERT"; then
7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7701 printf "%s\n" "$CONVERT" >&6; }
7702 else
7703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7704 printf "%s\n" "no" >&6; }
7708 test -n "$CONVERT" && break
7709 done
7710 test -n "$CONVERT" || CONVERT="false"
7712 for ac_prog in icotool
7714 # Extract the first word of "$ac_prog", so it can be a program name with args.
7715 set dummy $ac_prog; ac_word=$2
7716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7717 printf %s "checking for $ac_word... " >&6; }
7718 if test ${ac_cv_prog_ICOTOOL+y}
7719 then :
7720 printf %s "(cached) " >&6
7721 else $as_nop
7722 if test -n "$ICOTOOL"; then
7723 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7724 else
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7726 for as_dir in $PATH
7728 IFS=$as_save_IFS
7729 case $as_dir in #(((
7730 '') as_dir=./ ;;
7731 */) ;;
7732 *) as_dir=$as_dir/ ;;
7733 esac
7734 for ac_exec_ext in '' $ac_executable_extensions; do
7735 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7736 ac_cv_prog_ICOTOOL="$ac_prog"
7737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7738 break 2
7740 done
7741 done
7742 IFS=$as_save_IFS
7746 ICOTOOL=$ac_cv_prog_ICOTOOL
7747 if test -n "$ICOTOOL"; then
7748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7749 printf "%s\n" "$ICOTOOL" >&6; }
7750 else
7751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7752 printf "%s\n" "no" >&6; }
7756 test -n "$ICOTOOL" && break
7757 done
7758 test -n "$ICOTOOL" || ICOTOOL="false"
7760 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7761 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7763 if test "$CONVERT" = false
7764 then
7765 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7766 else
7767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7768 printf %s "checking for recent enough imagemagick... " >&6; }
7769 convert_version=`convert --version | head -n1`
7770 if test "x$convert_version" != "x"
7771 then
7772 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7773 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7774 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7775 then
7776 CONVERT=false
7779 if test "$CONVERT" = false
7780 then
7781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7782 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7783 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7784 else
7785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7786 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7790 if test "$ICOTOOL" = false
7791 then
7792 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7793 else
7794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7795 printf %s "checking for recent enough icotool... " >&6; }
7796 icotool_version=`icotool --version | head -n1`
7797 if test "x$icotool_version" != "x"
7798 then
7799 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7800 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7801 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7802 then
7803 ICOTOOL=false
7804 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7807 if test "$ICOTOOL" = false
7808 then
7809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7810 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7811 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7812 else
7813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7814 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7818 with_gettext=yes
7819 with_gettextpo=yes
7821 enable_werror=yes
7824 test "x$with_gettext" != xno || MSGFMT=false
7825 if test "$MSGFMT" != "false"
7826 then
7827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7828 printf %s "checking whether msgfmt supports contexts... " >&6; }
7829 if test ${wine_cv_msgfmt_contexts+y}
7830 then :
7831 printf %s "(cached) " >&6
7832 else $as_nop
7833 cat >conftest.po <<EOF
7834 # comment
7835 msgctxt "ctxt"
7836 msgid "id"
7837 msgstr "str"
7839 if $MSGFMT -o /dev/null conftest.po 2>&5
7840 then
7841 wine_cv_msgfmt_contexts=yes
7842 else
7843 wine_cv_msgfmt_contexts=no
7846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7847 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7848 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7850 if test "$MSGFMT" = false
7851 then :
7852 case "x$with_gettext" in
7853 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7854 xno) ;;
7855 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7856 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7857 esac
7858 enable_po=${enable_po:-no}
7862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7863 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7864 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7865 then :
7866 printf %s "(cached) " >&6
7867 else $as_nop
7868 ac_check_lib_save_LIBS=$LIBS
7869 LIBS="-li386 $LIBS"
7870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7871 /* end confdefs.h. */
7873 /* Override any GCC internal prototype to avoid an error.
7874 Use char because int might match the return type of a GCC
7875 builtin and then its argument prototype would still apply. */
7876 char i386_set_ldt ();
7878 main (void)
7880 return i386_set_ldt ();
7882 return 0;
7884 _ACEOF
7885 if ac_fn_c_try_link "$LINENO"
7886 then :
7887 ac_cv_lib_i386_i386_set_ldt=yes
7888 else $as_nop
7889 ac_cv_lib_i386_i386_set_ldt=no
7891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7892 conftest$ac_exeext conftest.$ac_ext
7893 LIBS=$ac_check_lib_save_LIBS
7895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7896 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7897 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7898 then :
7899 I386_LIBS="-li386"
7904 OPENGL_LIBS=""
7908 # Check whether --enable-largefile was given.
7909 if test ${enable_largefile+y}
7910 then :
7911 enableval=$enable_largefile;
7914 if test "$enable_largefile" != no; then
7916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7917 printf %s "checking for special C compiler options needed for large files... " >&6; }
7918 if test ${ac_cv_sys_largefile_CC+y}
7919 then :
7920 printf %s "(cached) " >&6
7921 else $as_nop
7922 ac_cv_sys_largefile_CC=no
7923 if test "$GCC" != yes; then
7924 ac_save_CC=$CC
7925 while :; do
7926 # IRIX 6.2 and later do not support large files by default,
7927 # so use the C compiler's -n32 option if that helps.
7928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7930 #include <sys/types.h>
7931 /* Check that off_t can represent 2**63 - 1 correctly.
7932 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7933 since some C++ compilers masquerading as C compilers
7934 incorrectly reject 9223372036854775807. */
7935 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7936 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7937 && LARGE_OFF_T % 2147483647 == 1)
7938 ? 1 : -1];
7940 main (void)
7944 return 0;
7946 _ACEOF
7947 if ac_fn_c_try_compile "$LINENO"
7948 then :
7949 break
7951 rm -f core conftest.err conftest.$ac_objext conftest.beam
7952 CC="$CC -n32"
7953 if ac_fn_c_try_compile "$LINENO"
7954 then :
7955 ac_cv_sys_largefile_CC=' -n32'; break
7957 rm -f core conftest.err conftest.$ac_objext conftest.beam
7958 break
7959 done
7960 CC=$ac_save_CC
7961 rm -f conftest.$ac_ext
7964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7965 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7966 if test "$ac_cv_sys_largefile_CC" != no; then
7967 CC=$CC$ac_cv_sys_largefile_CC
7970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7971 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7972 if test ${ac_cv_sys_file_offset_bits+y}
7973 then :
7974 printf %s "(cached) " >&6
7975 else $as_nop
7976 while :; do
7977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7978 /* end confdefs.h. */
7979 #include <sys/types.h>
7980 /* Check that off_t can represent 2**63 - 1 correctly.
7981 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7982 since some C++ compilers masquerading as C compilers
7983 incorrectly reject 9223372036854775807. */
7984 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7985 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7986 && LARGE_OFF_T % 2147483647 == 1)
7987 ? 1 : -1];
7989 main (void)
7993 return 0;
7995 _ACEOF
7996 if ac_fn_c_try_compile "$LINENO"
7997 then :
7998 ac_cv_sys_file_offset_bits=no; break
8000 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8002 /* end confdefs.h. */
8003 #define _FILE_OFFSET_BITS 64
8004 #include <sys/types.h>
8005 /* Check that off_t can represent 2**63 - 1 correctly.
8006 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8007 since some C++ compilers masquerading as C compilers
8008 incorrectly reject 9223372036854775807. */
8009 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8010 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8011 && LARGE_OFF_T % 2147483647 == 1)
8012 ? 1 : -1];
8014 main (void)
8018 return 0;
8020 _ACEOF
8021 if ac_fn_c_try_compile "$LINENO"
8022 then :
8023 ac_cv_sys_file_offset_bits=64; break
8025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8026 ac_cv_sys_file_offset_bits=unknown
8027 break
8028 done
8030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8031 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
8032 case $ac_cv_sys_file_offset_bits in #(
8033 no | unknown) ;;
8035 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
8037 esac
8038 rm -rf conftest*
8039 if test $ac_cv_sys_file_offset_bits = unknown; then
8040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8041 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8042 if test ${ac_cv_sys_large_files+y}
8043 then :
8044 printf %s "(cached) " >&6
8045 else $as_nop
8046 while :; do
8047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8048 /* end confdefs.h. */
8049 #include <sys/types.h>
8050 /* Check that off_t can represent 2**63 - 1 correctly.
8051 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8052 since some C++ compilers masquerading as C compilers
8053 incorrectly reject 9223372036854775807. */
8054 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8055 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8056 && LARGE_OFF_T % 2147483647 == 1)
8057 ? 1 : -1];
8059 main (void)
8063 return 0;
8065 _ACEOF
8066 if ac_fn_c_try_compile "$LINENO"
8067 then :
8068 ac_cv_sys_large_files=no; break
8070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8072 /* end confdefs.h. */
8073 #define _LARGE_FILES 1
8074 #include <sys/types.h>
8075 /* Check that off_t can represent 2**63 - 1 correctly.
8076 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8077 since some C++ compilers masquerading as C compilers
8078 incorrectly reject 9223372036854775807. */
8079 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8080 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8081 && LARGE_OFF_T % 2147483647 == 1)
8082 ? 1 : -1];
8084 main (void)
8088 return 0;
8090 _ACEOF
8091 if ac_fn_c_try_compile "$LINENO"
8092 then :
8093 ac_cv_sys_large_files=1; break
8095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8096 ac_cv_sys_large_files=unknown
8097 break
8098 done
8100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8101 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
8102 case $ac_cv_sys_large_files in #(
8103 no | unknown) ;;
8105 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
8107 esac
8108 rm -rf conftest*
8113 ac_header= ac_cache=
8114 for ac_item in $ac_header_c_list
8116 if test $ac_cache; then
8117 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8118 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8119 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8121 ac_header= ac_cache=
8122 elif test $ac_header; then
8123 ac_cache=$ac_item
8124 else
8125 ac_header=$ac_item
8127 done
8136 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8137 then :
8139 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8142 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_AL_al_h" = xyes
8144 then :
8145 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
8150 then :
8151 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_CL_cl_h" = xyes
8156 then :
8157 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
8162 then :
8163 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
8168 then :
8169 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
8174 then :
8175 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_EGL_egl_h" = xyes
8180 then :
8181 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
8186 then :
8187 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
8192 then :
8193 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_OpenAL_al_h" = xyes
8198 then :
8199 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
8204 then :
8205 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_Security_Security_h" = xyes
8210 then :
8211 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
8216 then :
8217 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
8222 then :
8223 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_arpa_inet_h" = xyes
8228 then :
8229 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_arpa_nameser_h" = xyes
8234 then :
8235 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_asm_types_h" = xyes
8240 then :
8241 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_asm_user_h" = xyes
8246 then :
8247 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_elf_h" = xyes
8252 then :
8253 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_float_h" = xyes
8258 then :
8259 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_gettext_po_h" = xyes
8264 then :
8265 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_ieeefp_h" = xyes
8270 then :
8271 printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_libproc_h" = xyes
8276 then :
8277 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_link_h" = xyes
8282 then :
8283 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
8286 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
8287 if test "x$ac_cv_header_linux_cdrom_h" = xyes
8288 then :
8289 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
8292 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_linux_filter_h" = xyes
8294 then :
8295 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8298 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8300 then :
8301 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8304 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8305 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8306 then :
8307 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_linux_input_h" = xyes
8312 then :
8313 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8316 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8318 then :
8319 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8322 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_linux_major_h" = xyes
8324 then :
8325 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8328 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8329 if test "x$ac_cv_header_linux_param_h" = xyes
8330 then :
8331 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8334 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8335 if test "x$ac_cv_header_linux_serial_h" = xyes
8336 then :
8337 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8340 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8341 if test "x$ac_cv_header_linux_types_h" = xyes
8342 then :
8343 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8346 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8347 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8348 then :
8349 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8352 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8353 if test "x$ac_cv_header_lwp_h" = xyes
8354 then :
8355 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8358 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8359 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8360 then :
8361 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8364 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8365 if test "x$ac_cv_header_mach_mach_h" = xyes
8366 then :
8367 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8370 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8371 if test "x$ac_cv_header_machine_cpu_h" = xyes
8372 then :
8373 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8376 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8377 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8378 then :
8379 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8382 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8383 if test "x$ac_cv_header_mntent_h" = xyes
8384 then :
8385 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8388 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8389 if test "x$ac_cv_header_netdb_h" = xyes
8390 then :
8391 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8394 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8395 if test "x$ac_cv_header_netinet_in_h" = xyes
8396 then :
8397 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8400 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8401 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8402 then :
8403 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8406 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8407 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8408 then :
8409 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8412 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8413 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8414 then :
8415 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8418 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8419 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8420 then :
8421 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8424 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8425 if test "x$ac_cv_header_port_h" = xyes
8426 then :
8427 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8430 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8431 if test "x$ac_cv_header_pthread_h" = xyes
8432 then :
8433 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8436 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8437 if test "x$ac_cv_header_pwd_h" = xyes
8438 then :
8439 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8442 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8443 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8444 then :
8445 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8448 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8449 if test "x$ac_cv_header_sched_h" = xyes
8450 then :
8451 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8454 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8455 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8456 then :
8457 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8460 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8461 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8462 then :
8463 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8466 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8467 if test "x$ac_cv_header_scsi_sg_h" = xyes
8468 then :
8469 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8472 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8473 if test "x$ac_cv_header_stdint_h" = xyes
8474 then :
8475 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8478 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8479 if test "x$ac_cv_header_sys_attr_h" = xyes
8480 then :
8481 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8484 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8485 if test "x$ac_cv_header_sys_auxv_h" = xyes
8486 then :
8487 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8490 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8491 if test "x$ac_cv_header_sys_cdio_h" = xyes
8492 then :
8493 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8496 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8497 if test "x$ac_cv_header_sys_epoll_h" = xyes
8498 then :
8499 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8502 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8503 if test "x$ac_cv_header_sys_event_h" = xyes
8504 then :
8505 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8508 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8509 if test "x$ac_cv_header_sys_filio_h" = xyes
8510 then :
8511 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8514 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8515 if test "x$ac_cv_header_sys_ipc_h" = xyes
8516 then :
8517 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8520 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8521 if test "x$ac_cv_header_sys_link_h" = xyes
8522 then :
8523 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8526 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8527 if test "x$ac_cv_header_sys_modem_h" = xyes
8528 then :
8529 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8532 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8533 if test "x$ac_cv_header_sys_mtio_h" = xyes
8534 then :
8535 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8538 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8539 if test "x$ac_cv_header_sys_param_h" = xyes
8540 then :
8541 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8544 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8545 if test "x$ac_cv_header_sys_prctl_h" = xyes
8546 then :
8547 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8550 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8551 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8552 then :
8553 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8556 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8557 if test "x$ac_cv_header_sys_queue_h" = xyes
8558 then :
8559 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8562 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8563 if test "x$ac_cv_header_sys_random_h" = xyes
8564 then :
8565 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8568 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8569 if test "x$ac_cv_header_sys_resource_h" = xyes
8570 then :
8571 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8574 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8575 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8576 then :
8577 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8580 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8581 if test "x$ac_cv_header_sys_shm_h" = xyes
8582 then :
8583 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8586 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8587 if test "x$ac_cv_header_sys_signal_h" = xyes
8588 then :
8589 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8592 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8593 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8594 then :
8595 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8598 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8599 if test "x$ac_cv_header_sys_sockio_h" = xyes
8600 then :
8601 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8604 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8605 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8606 then :
8607 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8610 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8611 if test "x$ac_cv_header_sys_strtio_h" = xyes
8612 then :
8613 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8616 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8617 if test "x$ac_cv_header_sys_syscall_h" = xyes
8618 then :
8619 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8622 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8623 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8624 then :
8625 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8628 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8629 if test "x$ac_cv_header_sys_times_h" = xyes
8630 then :
8631 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8634 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8635 if test "x$ac_cv_header_sys_uio_h" = xyes
8636 then :
8637 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8640 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8641 if test "x$ac_cv_header_sys_user_h" = xyes
8642 then :
8643 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8646 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8647 if test "x$ac_cv_header_sys_utsname_h" = xyes
8648 then :
8649 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8652 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8653 if test "x$ac_cv_header_sys_vnode_h" = xyes
8654 then :
8655 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8658 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8659 if test "x$ac_cv_header_syscall_h" = xyes
8660 then :
8661 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8664 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8665 if test "x$ac_cv_header_utime_h" = xyes
8666 then :
8667 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8670 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8671 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8672 then :
8673 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8676 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8677 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8678 then :
8679 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8683 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8684 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8685 then :
8687 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8691 if test $ac_cv_header_sys_mkdev_h = no; then
8692 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8693 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8694 then :
8696 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8702 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8703 if test ${ac_cv_header_stat_broken+y}
8704 then :
8705 printf %s "(cached) " >&6
8706 else $as_nop
8707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8708 /* end confdefs.h. */
8709 #include <sys/types.h>
8710 #include <sys/stat.h>
8712 #if defined S_ISBLK && defined S_IFDIR
8713 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8714 #endif
8716 #if defined S_ISBLK && defined S_IFCHR
8717 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8718 #endif
8720 #if defined S_ISLNK && defined S_IFREG
8721 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8722 #endif
8724 #if defined S_ISSOCK && defined S_IFREG
8725 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8726 #endif
8728 _ACEOF
8729 if ac_fn_c_try_compile "$LINENO"
8730 then :
8731 ac_cv_header_stat_broken=no
8732 else $as_nop
8733 ac_cv_header_stat_broken=yes
8735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8738 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8739 if test $ac_cv_header_stat_broken = yes; then
8741 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8747 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8748 #ifdef HAVE_SYS_PARAM_H
8749 # include <sys/param.h>
8750 #endif
8752 if test "x$ac_cv_header_sys_conf_h" = xyes
8753 then :
8754 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8757 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8758 #ifdef HAVE_SYS_PARAM_H
8759 # include <sys/param.h>
8760 #endif
8762 if test "x$ac_cv_header_sys_mount_h" = xyes
8763 then :
8764 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8767 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8768 #ifdef HAVE_SYS_PARAM_H
8769 # include <sys/param.h>
8770 #endif
8772 if test "x$ac_cv_header_sys_statfs_h" = xyes
8773 then :
8774 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8777 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8778 #ifdef HAVE_SYS_PARAM_H
8779 # include <sys/param.h>
8780 #endif
8782 if test "x$ac_cv_header_sys_user_h" = xyes
8783 then :
8784 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8787 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8788 #ifdef HAVE_SYS_PARAM_H
8789 # include <sys/param.h>
8790 #endif
8792 if test "x$ac_cv_header_sys_vfs_h" = xyes
8793 then :
8794 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8799 saved_sysctl_h_CFLAGS=$CFLAGS
8800 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8801 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8802 #ifdef HAVE_SYS_PARAM_H
8803 # include <sys/param.h>
8804 #endif
8806 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8807 then :
8808 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8812 CFLAGS=$saved_sysctl_h_CFLAGS
8814 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8815 #include <sys/socket.h>
8816 #ifdef HAVE_SYS_SOCKETVAR_H
8817 # include <sys/socketvar.h>
8818 #endif
8819 #ifdef HAVE_NET_ROUTE_H
8820 # include <net/route.h>
8821 #endif
8822 #ifdef HAVE_NETINET_IN_H
8823 # include <netinet/in.h>
8824 #endif
8825 #ifdef HAVE_NETINET_IN_SYSTM_H
8826 # include <netinet/in_systm.h>
8827 #endif
8828 #ifdef HAVE_NET_IF_H
8829 # include <net/if.h>
8830 #endif
8831 #ifdef HAVE_NETINET_IP_H
8832 # include <netinet/ip.h>
8833 #endif
8835 if test "x$ac_cv_header_netinet_ip_h" = xyes
8836 then :
8837 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8840 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8841 #include <sys/socket.h>
8842 #ifdef HAVE_SYS_SOCKETVAR_H
8843 # include <sys/socketvar.h>
8844 #endif
8845 #ifdef HAVE_NET_ROUTE_H
8846 # include <net/route.h>
8847 #endif
8848 #ifdef HAVE_NETINET_IN_H
8849 # include <netinet/in.h>
8850 #endif
8851 #ifdef HAVE_NETINET_IN_SYSTM_H
8852 # include <netinet/in_systm.h>
8853 #endif
8854 #ifdef HAVE_NET_IF_H
8855 # include <net/if.h>
8856 #endif
8857 #ifdef HAVE_NETINET_IP_H
8858 # include <netinet/ip.h>
8859 #endif
8861 if test "x$ac_cv_header_net_if_h" = xyes
8862 then :
8863 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8866 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8867 #include <sys/socket.h>
8868 #ifdef HAVE_SYS_SOCKETVAR_H
8869 # include <sys/socketvar.h>
8870 #endif
8871 #ifdef HAVE_NET_ROUTE_H
8872 # include <net/route.h>
8873 #endif
8874 #ifdef HAVE_NETINET_IN_H
8875 # include <netinet/in.h>
8876 #endif
8877 #ifdef HAVE_NETINET_IN_SYSTM_H
8878 # include <netinet/in_systm.h>
8879 #endif
8880 #ifdef HAVE_NET_IF_H
8881 # include <net/if.h>
8882 #endif
8883 #ifdef HAVE_NETINET_IP_H
8884 # include <netinet/ip.h>
8885 #endif
8887 if test "x$ac_cv_header_net_if_arp_h" = xyes
8888 then :
8889 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8892 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8893 #include <sys/socket.h>
8894 #ifdef HAVE_SYS_SOCKETVAR_H
8895 # include <sys/socketvar.h>
8896 #endif
8897 #ifdef HAVE_NET_ROUTE_H
8898 # include <net/route.h>
8899 #endif
8900 #ifdef HAVE_NETINET_IN_H
8901 # include <netinet/in.h>
8902 #endif
8903 #ifdef HAVE_NETINET_IN_SYSTM_H
8904 # include <netinet/in_systm.h>
8905 #endif
8906 #ifdef HAVE_NET_IF_H
8907 # include <net/if.h>
8908 #endif
8909 #ifdef HAVE_NETINET_IP_H
8910 # include <netinet/ip.h>
8911 #endif
8913 if test "x$ac_cv_header_net_if_dl_h" = xyes
8914 then :
8915 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8918 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8919 #include <sys/socket.h>
8920 #ifdef HAVE_SYS_SOCKETVAR_H
8921 # include <sys/socketvar.h>
8922 #endif
8923 #ifdef HAVE_NET_ROUTE_H
8924 # include <net/route.h>
8925 #endif
8926 #ifdef HAVE_NETINET_IN_H
8927 # include <netinet/in.h>
8928 #endif
8929 #ifdef HAVE_NETINET_IN_SYSTM_H
8930 # include <netinet/in_systm.h>
8931 #endif
8932 #ifdef HAVE_NET_IF_H
8933 # include <net/if.h>
8934 #endif
8935 #ifdef HAVE_NETINET_IP_H
8936 # include <netinet/ip.h>
8937 #endif
8939 if test "x$ac_cv_header_net_if_types_h" = xyes
8940 then :
8941 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8944 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8945 #include <sys/socket.h>
8946 #ifdef HAVE_SYS_SOCKETVAR_H
8947 # include <sys/socketvar.h>
8948 #endif
8949 #ifdef HAVE_NET_ROUTE_H
8950 # include <net/route.h>
8951 #endif
8952 #ifdef HAVE_NETINET_IN_H
8953 # include <netinet/in.h>
8954 #endif
8955 #ifdef HAVE_NETINET_IN_SYSTM_H
8956 # include <netinet/in_systm.h>
8957 #endif
8958 #ifdef HAVE_NET_IF_H
8959 # include <net/if.h>
8960 #endif
8961 #ifdef HAVE_NETINET_IP_H
8962 # include <netinet/ip.h>
8963 #endif
8965 if test "x$ac_cv_header_net_route_h" = xyes
8966 then :
8967 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8970 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8971 #include <sys/socket.h>
8972 #ifdef HAVE_SYS_SOCKETVAR_H
8973 # include <sys/socketvar.h>
8974 #endif
8975 #ifdef HAVE_NET_ROUTE_H
8976 # include <net/route.h>
8977 #endif
8978 #ifdef HAVE_NETINET_IN_H
8979 # include <netinet/in.h>
8980 #endif
8981 #ifdef HAVE_NETINET_IN_SYSTM_H
8982 # include <netinet/in_systm.h>
8983 #endif
8984 #ifdef HAVE_NET_IF_H
8985 # include <net/if.h>
8986 #endif
8987 #ifdef HAVE_NETINET_IP_H
8988 # include <netinet/ip.h>
8989 #endif
8991 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8992 then :
8993 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8996 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8997 #include <sys/socket.h>
8998 #ifdef HAVE_SYS_SOCKETVAR_H
8999 # include <sys/socketvar.h>
9000 #endif
9001 #ifdef HAVE_NET_ROUTE_H
9002 # include <net/route.h>
9003 #endif
9004 #ifdef HAVE_NETINET_IN_H
9005 # include <netinet/in.h>
9006 #endif
9007 #ifdef HAVE_NETINET_IN_SYSTM_H
9008 # include <netinet/in_systm.h>
9009 #endif
9010 #ifdef HAVE_NET_IF_H
9011 # include <net/if.h>
9012 #endif
9013 #ifdef HAVE_NETINET_IP_H
9014 # include <netinet/ip.h>
9015 #endif
9017 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
9018 then :
9019 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
9022 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
9023 #include <sys/socket.h>
9024 #ifdef HAVE_SYS_SOCKETVAR_H
9025 # include <sys/socketvar.h>
9026 #endif
9027 #ifdef HAVE_NET_ROUTE_H
9028 # include <net/route.h>
9029 #endif
9030 #ifdef HAVE_NETINET_IN_H
9031 # include <netinet/in.h>
9032 #endif
9033 #ifdef HAVE_NETINET_IN_SYSTM_H
9034 # include <netinet/in_systm.h>
9035 #endif
9036 #ifdef HAVE_NET_IF_H
9037 # include <net/if.h>
9038 #endif
9039 #ifdef HAVE_NETINET_IP_H
9040 # include <netinet/ip.h>
9041 #endif
9043 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
9044 then :
9045 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
9048 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
9049 #include <sys/socket.h>
9050 #ifdef HAVE_SYS_SOCKETVAR_H
9051 # include <sys/socketvar.h>
9052 #endif
9053 #ifdef HAVE_NET_ROUTE_H
9054 # include <net/route.h>
9055 #endif
9056 #ifdef HAVE_NETINET_IN_H
9057 # include <netinet/in.h>
9058 #endif
9059 #ifdef HAVE_NETINET_IN_SYSTM_H
9060 # include <netinet/in_systm.h>
9061 #endif
9062 #ifdef HAVE_NET_IF_H
9063 # include <net/if.h>
9064 #endif
9065 #ifdef HAVE_NETINET_IP_H
9066 # include <netinet/ip.h>
9067 #endif
9069 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
9070 then :
9071 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
9074 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
9075 #include <sys/socket.h>
9076 #ifdef HAVE_SYS_SOCKETVAR_H
9077 # include <sys/socketvar.h>
9078 #endif
9079 #ifdef HAVE_NET_ROUTE_H
9080 # include <net/route.h>
9081 #endif
9082 #ifdef HAVE_NETINET_IN_H
9083 # include <netinet/in.h>
9084 #endif
9085 #ifdef HAVE_NETINET_IN_SYSTM_H
9086 # include <netinet/in_systm.h>
9087 #endif
9088 #ifdef HAVE_NET_IF_H
9089 # include <net/if.h>
9090 #endif
9091 #ifdef HAVE_NETINET_IP_H
9092 # include <netinet/ip.h>
9093 #endif
9095 if test "x$ac_cv_header_netinet_udp_h" = xyes
9096 then :
9097 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
9100 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
9101 #include <sys/socket.h>
9102 #ifdef HAVE_SYS_SOCKETVAR_H
9103 # include <sys/socketvar.h>
9104 #endif
9105 #ifdef HAVE_NET_ROUTE_H
9106 # include <net/route.h>
9107 #endif
9108 #ifdef HAVE_NETINET_IN_H
9109 # include <netinet/in.h>
9110 #endif
9111 #ifdef HAVE_NETINET_IN_SYSTM_H
9112 # include <netinet/in_systm.h>
9113 #endif
9114 #ifdef HAVE_NET_IF_H
9115 # include <net/if.h>
9116 #endif
9117 #ifdef HAVE_NETINET_IP_H
9118 # include <netinet/ip.h>
9119 #endif
9121 if test "x$ac_cv_header_netipx_ipx_h" = xyes
9122 then :
9123 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
9126 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
9127 #include <sys/socket.h>
9128 #ifdef HAVE_SYS_SOCKETVAR_H
9129 # include <sys/socketvar.h>
9130 #endif
9131 #ifdef HAVE_NET_ROUTE_H
9132 # include <net/route.h>
9133 #endif
9134 #ifdef HAVE_NETINET_IN_H
9135 # include <netinet/in.h>
9136 #endif
9137 #ifdef HAVE_NETINET_IN_SYSTM_H
9138 # include <netinet/in_systm.h>
9139 #endif
9140 #ifdef HAVE_NET_IF_H
9141 # include <net/if.h>
9142 #endif
9143 #ifdef HAVE_NETINET_IP_H
9144 # include <netinet/ip.h>
9145 #endif
9147 if test "x$ac_cv_header_sys_un_h" = xyes
9148 then :
9149 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
9154 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
9155 #include <sys/socket.h>
9156 #ifdef HAVE_SYS_SOCKETVAR_H
9157 # include <sys/socketvar.h>
9158 #endif
9159 #ifdef HAVE_NETINET_IN_H
9160 # include <netinet/in.h>
9161 #endif
9162 #ifdef HAVE_NETINET_IN_SYSTM_H
9163 # include <netinet/in_systm.h>
9164 #endif
9165 #ifdef HAVE_NETINET_IP_H
9166 # include <netinet/ip.h>
9167 #endif
9168 #ifdef HAVE_NETINET_IP_VAR_H
9169 # include <netinet/ip_var.h>
9170 #endif
9171 #ifdef HAVE_NETINET_IP_ICMP_H
9172 # include <netinet/ip_icmp.h>
9173 #endif
9174 #ifdef HAVE_NETINET_UDP_H
9175 # include <netinet/udp.h>
9176 #endif
9177 #ifdef HAVE_NETINET_TCP_H
9178 # include <netinet/tcp.h>
9179 #endif
9181 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
9182 then :
9183 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
9186 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
9187 #include <sys/socket.h>
9188 #ifdef HAVE_SYS_SOCKETVAR_H
9189 # include <sys/socketvar.h>
9190 #endif
9191 #ifdef HAVE_NETINET_IN_H
9192 # include <netinet/in.h>
9193 #endif
9194 #ifdef HAVE_NETINET_IN_SYSTM_H
9195 # include <netinet/in_systm.h>
9196 #endif
9197 #ifdef HAVE_NETINET_IP_H
9198 # include <netinet/ip.h>
9199 #endif
9200 #ifdef HAVE_NETINET_IP_VAR_H
9201 # include <netinet/ip_var.h>
9202 #endif
9203 #ifdef HAVE_NETINET_IP_ICMP_H
9204 # include <netinet/ip_icmp.h>
9205 #endif
9206 #ifdef HAVE_NETINET_UDP_H
9207 # include <netinet/udp.h>
9208 #endif
9209 #ifdef HAVE_NETINET_TCP_H
9210 # include <netinet/tcp.h>
9211 #endif
9213 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
9214 then :
9215 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
9218 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
9219 #include <sys/socket.h>
9220 #ifdef HAVE_SYS_SOCKETVAR_H
9221 # include <sys/socketvar.h>
9222 #endif
9223 #ifdef HAVE_NETINET_IN_H
9224 # include <netinet/in.h>
9225 #endif
9226 #ifdef HAVE_NETINET_IN_SYSTM_H
9227 # include <netinet/in_systm.h>
9228 #endif
9229 #ifdef HAVE_NETINET_IP_H
9230 # include <netinet/ip.h>
9231 #endif
9232 #ifdef HAVE_NETINET_IP_VAR_H
9233 # include <netinet/ip_var.h>
9234 #endif
9235 #ifdef HAVE_NETINET_IP_ICMP_H
9236 # include <netinet/ip_icmp.h>
9237 #endif
9238 #ifdef HAVE_NETINET_UDP_H
9239 # include <netinet/udp.h>
9240 #endif
9241 #ifdef HAVE_NETINET_TCP_H
9242 # include <netinet/tcp.h>
9243 #endif
9245 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9246 then :
9247 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9252 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9253 #include <sys/socket.h>
9254 #ifdef HAVE_ASM_TYPES_H
9255 # include <asm/types.h>
9256 #endif
9257 #ifdef HAVE_LINUX_TYPES_H
9258 # include <linux/types.h>
9259 #endif
9261 if test "x$ac_cv_header_linux_ipx_h" = xyes
9262 then :
9263 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9266 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9267 #include <sys/socket.h>
9268 #ifdef HAVE_ASM_TYPES_H
9269 # include <asm/types.h>
9270 #endif
9271 #ifdef HAVE_LINUX_TYPES_H
9272 # include <linux/types.h>
9273 #endif
9275 if test "x$ac_cv_header_linux_irda_h" = xyes
9276 then :
9277 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9280 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9281 #include <sys/socket.h>
9282 #ifdef HAVE_ASM_TYPES_H
9283 # include <asm/types.h>
9284 #endif
9285 #ifdef HAVE_LINUX_TYPES_H
9286 # include <linux/types.h>
9287 #endif
9289 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9290 then :
9291 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9296 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9297 #include <sys/socket.h>
9298 #ifdef HAVE_NETINET_IN_H
9299 # include <netinet/in.h>
9300 #endif
9301 #ifdef HAVE_ARPA_NAMESER_H
9302 # include <arpa/nameser.h>
9303 #endif
9305 if test "x$ac_cv_header_resolv_h" = xyes
9306 then :
9307 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9312 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9314 if test "x$ac_cv_header_ifaddrs_h" = xyes
9315 then :
9316 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9321 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9323 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9324 then :
9325 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9330 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9331 #ifdef HAVE_SYS_UCONTEXT_H
9332 #include <sys/ucontext.h>
9333 #endif
9335 if test "x$ac_cv_header_sys_thr_h" = xyes
9336 then :
9337 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9342 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9343 #include <pthread.h>
9344 #endif
9346 if test "x$ac_cv_header_pthread_np_h" = xyes
9347 then :
9348 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9353 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9354 #include <sys/types.h>
9355 #ifdef HAVE_ASM_TYPES_H
9356 #include <asm/types.h>
9357 #endif
9359 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9360 then :
9361 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9366 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9367 #include <sys/param.h>
9368 #endif
9369 #include <sys/socket.h>
9370 #ifdef HAVE_SYS_QUEUE_H
9371 #include <sys/queue.h>
9372 #endif
9374 if test "x$ac_cv_header_libprocstat_h" = xyes
9375 then :
9376 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9382 DLLFLAGS=""
9384 LDDLLFLAGS=""
9386 LDEXECFLAGS=""
9388 EXTRACFLAGS=""
9390 UNIXDLLFLAGS="-fPIC"
9392 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9394 TOP_INSTALL_LIB=""
9396 TOP_INSTALL_DEV=""
9398 WINELOADER_LDFLAGS=""
9400 WINEPRELOADER_LDFLAGS=""
9402 LIBEXT="so"
9403 # Extract the first word of "ldd", so it can be a program name with args.
9404 set dummy ldd; ac_word=$2
9405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9406 printf %s "checking for $ac_word... " >&6; }
9407 if test ${ac_cv_path_LDD+y}
9408 then :
9409 printf %s "(cached) " >&6
9410 else $as_nop
9411 case $LDD in
9412 [\\/]* | ?:[\\/]*)
9413 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9417 as_dummy="/sbin:/usr/sbin:$PATH"
9418 for as_dir in $as_dummy
9420 IFS=$as_save_IFS
9421 case $as_dir in #(((
9422 '') as_dir=./ ;;
9423 */) ;;
9424 *) as_dir=$as_dir/ ;;
9425 esac
9426 for ac_exec_ext in '' $ac_executable_extensions; do
9427 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9428 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9430 break 2
9432 done
9433 done
9434 IFS=$as_save_IFS
9436 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9438 esac
9440 LDD=$ac_cv_path_LDD
9441 if test -n "$LDD"; then
9442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9443 printf "%s\n" "$LDD" >&6; }
9444 else
9445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9446 printf "%s\n" "no" >&6; }
9450 if test -n "$ac_tool_prefix"; then
9451 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9452 set dummy ${ac_tool_prefix}otool; ac_word=$2
9453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9454 printf %s "checking for $ac_word... " >&6; }
9455 if test ${ac_cv_prog_OTOOL+y}
9456 then :
9457 printf %s "(cached) " >&6
9458 else $as_nop
9459 if test -n "$OTOOL"; then
9460 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9461 else
9462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9463 for as_dir in $PATH
9465 IFS=$as_save_IFS
9466 case $as_dir in #(((
9467 '') as_dir=./ ;;
9468 */) ;;
9469 *) as_dir=$as_dir/ ;;
9470 esac
9471 for ac_exec_ext in '' $ac_executable_extensions; do
9472 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9473 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9475 break 2
9477 done
9478 done
9479 IFS=$as_save_IFS
9483 OTOOL=$ac_cv_prog_OTOOL
9484 if test -n "$OTOOL"; then
9485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9486 printf "%s\n" "$OTOOL" >&6; }
9487 else
9488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9489 printf "%s\n" "no" >&6; }
9494 if test -z "$ac_cv_prog_OTOOL"; then
9495 ac_ct_OTOOL=$OTOOL
9496 # Extract the first word of "otool", so it can be a program name with args.
9497 set dummy otool; ac_word=$2
9498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9499 printf %s "checking for $ac_word... " >&6; }
9500 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9501 then :
9502 printf %s "(cached) " >&6
9503 else $as_nop
9504 if test -n "$ac_ct_OTOOL"; then
9505 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9506 else
9507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9508 for as_dir in $PATH
9510 IFS=$as_save_IFS
9511 case $as_dir in #(((
9512 '') as_dir=./ ;;
9513 */) ;;
9514 *) as_dir=$as_dir/ ;;
9515 esac
9516 for ac_exec_ext in '' $ac_executable_extensions; do
9517 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9518 ac_cv_prog_ac_ct_OTOOL="otool"
9519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9520 break 2
9522 done
9523 done
9524 IFS=$as_save_IFS
9528 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9529 if test -n "$ac_ct_OTOOL"; then
9530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9531 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9532 else
9533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9534 printf "%s\n" "no" >&6; }
9537 if test "x$ac_ct_OTOOL" = x; then
9538 OTOOL="otool"
9539 else
9540 case $cross_compiling:$ac_tool_warned in
9541 yes:)
9542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9543 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9544 ac_tool_warned=yes ;;
9545 esac
9546 OTOOL=$ac_ct_OTOOL
9548 else
9549 OTOOL="$ac_cv_prog_OTOOL"
9552 if test -n "$ac_tool_prefix"; then
9553 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9554 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9556 printf %s "checking for $ac_word... " >&6; }
9557 if test ${ac_cv_prog_READELF+y}
9558 then :
9559 printf %s "(cached) " >&6
9560 else $as_nop
9561 if test -n "$READELF"; then
9562 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9563 else
9564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9565 for as_dir in $PATH
9567 IFS=$as_save_IFS
9568 case $as_dir in #(((
9569 '') as_dir=./ ;;
9570 */) ;;
9571 *) as_dir=$as_dir/ ;;
9572 esac
9573 for ac_exec_ext in '' $ac_executable_extensions; do
9574 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9575 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9577 break 2
9579 done
9580 done
9581 IFS=$as_save_IFS
9585 READELF=$ac_cv_prog_READELF
9586 if test -n "$READELF"; then
9587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9588 printf "%s\n" "$READELF" >&6; }
9589 else
9590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9591 printf "%s\n" "no" >&6; }
9596 if test -z "$ac_cv_prog_READELF"; then
9597 ac_ct_READELF=$READELF
9598 # Extract the first word of "readelf", so it can be a program name with args.
9599 set dummy readelf; ac_word=$2
9600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9601 printf %s "checking for $ac_word... " >&6; }
9602 if test ${ac_cv_prog_ac_ct_READELF+y}
9603 then :
9604 printf %s "(cached) " >&6
9605 else $as_nop
9606 if test -n "$ac_ct_READELF"; then
9607 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9608 else
9609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9610 for as_dir in $PATH
9612 IFS=$as_save_IFS
9613 case $as_dir in #(((
9614 '') as_dir=./ ;;
9615 */) ;;
9616 *) as_dir=$as_dir/ ;;
9617 esac
9618 for ac_exec_ext in '' $ac_executable_extensions; do
9619 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9620 ac_cv_prog_ac_ct_READELF="readelf"
9621 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9622 break 2
9624 done
9625 done
9626 IFS=$as_save_IFS
9630 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9631 if test -n "$ac_ct_READELF"; then
9632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9633 printf "%s\n" "$ac_ct_READELF" >&6; }
9634 else
9635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9636 printf "%s\n" "no" >&6; }
9639 if test "x$ac_ct_READELF" = x; then
9640 READELF="true"
9641 else
9642 case $cross_compiling:$ac_tool_warned in
9643 yes:)
9644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9645 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9646 ac_tool_warned=yes ;;
9647 esac
9648 READELF=$ac_ct_READELF
9650 else
9651 READELF="$ac_cv_prog_READELF"
9654 wine_rules="all:"
9655 SUBDIRS=""
9657 DISABLED_SUBDIRS=""
9659 CONFIGURE_TARGETS=""
9662 wine_fn_append_file ()
9664 as_fn_append $1 " \\$as_nl $2"
9667 wine_fn_append_rule ()
9669 as_fn_append wine_rules "$as_nl$1"
9672 wine_fn_config_makefile ()
9674 wine_fn_append_file SUBDIRS $1
9675 if eval test \"x\$"$2"\" = x"no"
9676 then :
9677 wine_fn_append_file DISABLED_SUBDIRS $1
9681 wine_fn_config_symlink ()
9683 ac_links=$@
9684 wine_fn_append_rule \
9685 "$ac_links:
9686 @./config.status \$@"
9687 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9690 wine_binary="wine"
9691 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9692 WINELOADER_PROGRAMS="$wine_binary"
9694 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9696 case $host_os in
9697 cygwin*|mingw32*)
9698 if test -n "$ac_tool_prefix"; then
9699 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9700 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9702 printf %s "checking for $ac_word... " >&6; }
9703 if test ${ac_cv_prog_DLLTOOL+y}
9704 then :
9705 printf %s "(cached) " >&6
9706 else $as_nop
9707 if test -n "$DLLTOOL"; then
9708 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9709 else
9710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9711 for as_dir in $PATH
9713 IFS=$as_save_IFS
9714 case $as_dir in #(((
9715 '') as_dir=./ ;;
9716 */) ;;
9717 *) as_dir=$as_dir/ ;;
9718 esac
9719 for ac_exec_ext in '' $ac_executable_extensions; do
9720 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9721 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9723 break 2
9725 done
9726 done
9727 IFS=$as_save_IFS
9731 DLLTOOL=$ac_cv_prog_DLLTOOL
9732 if test -n "$DLLTOOL"; then
9733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9734 printf "%s\n" "$DLLTOOL" >&6; }
9735 else
9736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9737 printf "%s\n" "no" >&6; }
9742 if test -z "$ac_cv_prog_DLLTOOL"; then
9743 ac_ct_DLLTOOL=$DLLTOOL
9744 # Extract the first word of "dlltool", so it can be a program name with args.
9745 set dummy dlltool; ac_word=$2
9746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9747 printf %s "checking for $ac_word... " >&6; }
9748 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9749 then :
9750 printf %s "(cached) " >&6
9751 else $as_nop
9752 if test -n "$ac_ct_DLLTOOL"; then
9753 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9754 else
9755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9756 for as_dir in $PATH
9758 IFS=$as_save_IFS
9759 case $as_dir in #(((
9760 '') as_dir=./ ;;
9761 */) ;;
9762 *) as_dir=$as_dir/ ;;
9763 esac
9764 for ac_exec_ext in '' $ac_executable_extensions; do
9765 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9766 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9768 break 2
9770 done
9771 done
9772 IFS=$as_save_IFS
9776 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9777 if test -n "$ac_ct_DLLTOOL"; then
9778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9779 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9780 else
9781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9782 printf "%s\n" "no" >&6; }
9785 if test "x$ac_ct_DLLTOOL" = x; then
9786 DLLTOOL="false"
9787 else
9788 case $cross_compiling:$ac_tool_warned in
9789 yes:)
9790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9791 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9792 ac_tool_warned=yes ;;
9793 esac
9794 DLLTOOL=$ac_ct_DLLTOOL
9796 else
9797 DLLTOOL="$ac_cv_prog_DLLTOOL"
9800 LIBEXT="dll"
9801 EXTRACFLAGS="-D__WINE_PE_BUILD"
9802 case $host_cpu in
9803 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9804 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9805 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9806 then :
9807 printf %s "(cached) " >&6
9808 else $as_nop
9809 ac_wine_try_cflags_saved=$CFLAGS
9810 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9813 int main(int argc, char **argv) { return 0; }
9814 _ACEOF
9815 if ac_fn_c_try_link "$LINENO"
9816 then :
9817 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9818 else $as_nop
9819 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9822 conftest$ac_exeext conftest.$ac_ext
9823 CFLAGS=$ac_wine_try_cflags_saved
9825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9826 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9827 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9828 then :
9829 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9830 fi ;;
9831 esac
9832 enable_loader=${enable_loader:-no}
9833 enable_server=${enable_server:-no}
9834 with_x=${with_x:-no}
9835 with_pthread=${with_pthread:-no}
9838 darwin*|macosx*)
9839 ac_ext=m
9840 ac_cpp='$OBJCPP $CPPFLAGS'
9841 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9842 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9843 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
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
9850 if test -n "$ac_tool_prefix"; then
9851 for ac_prog in gcc objcc objc cc CC clang
9853 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9854 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9856 printf %s "checking for $ac_word... " >&6; }
9857 if test ${ac_cv_prog_OBJC+y}
9858 then :
9859 printf %s "(cached) " >&6
9860 else $as_nop
9861 if test -n "$OBJC"; then
9862 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9863 else
9864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9865 for as_dir in $PATH
9867 IFS=$as_save_IFS
9868 case $as_dir in #(((
9869 '') as_dir=./ ;;
9870 */) ;;
9871 *) as_dir=$as_dir/ ;;
9872 esac
9873 for ac_exec_ext in '' $ac_executable_extensions; do
9874 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9875 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9877 break 2
9879 done
9880 done
9881 IFS=$as_save_IFS
9885 OBJC=$ac_cv_prog_OBJC
9886 if test -n "$OBJC"; then
9887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9888 printf "%s\n" "$OBJC" >&6; }
9889 else
9890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9891 printf "%s\n" "no" >&6; }
9895 test -n "$OBJC" && break
9896 done
9898 if test -z "$OBJC"; then
9899 ac_ct_OBJC=$OBJC
9900 for ac_prog in gcc objcc objc cc CC clang
9902 # Extract the first word of "$ac_prog", so it can be a program name with args.
9903 set dummy $ac_prog; ac_word=$2
9904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9905 printf %s "checking for $ac_word... " >&6; }
9906 if test ${ac_cv_prog_ac_ct_OBJC+y}
9907 then :
9908 printf %s "(cached) " >&6
9909 else $as_nop
9910 if test -n "$ac_ct_OBJC"; then
9911 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9912 else
9913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9914 for as_dir in $PATH
9916 IFS=$as_save_IFS
9917 case $as_dir in #(((
9918 '') as_dir=./ ;;
9919 */) ;;
9920 *) as_dir=$as_dir/ ;;
9921 esac
9922 for ac_exec_ext in '' $ac_executable_extensions; do
9923 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9924 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9925 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9926 break 2
9928 done
9929 done
9930 IFS=$as_save_IFS
9934 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9935 if test -n "$ac_ct_OBJC"; then
9936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9937 printf "%s\n" "$ac_ct_OBJC" >&6; }
9938 else
9939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9940 printf "%s\n" "no" >&6; }
9944 test -n "$ac_ct_OBJC" && break
9945 done
9947 if test "x$ac_ct_OBJC" = x; then
9948 OBJC="gcc"
9949 else
9950 case $cross_compiling:$ac_tool_warned in
9951 yes:)
9952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9953 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9954 ac_tool_warned=yes ;;
9955 esac
9956 OBJC=$ac_ct_OBJC
9960 # Provide some information about the compiler.
9961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9962 set X $ac_compile
9963 ac_compiler=$2
9964 for ac_option in --version -v -V -qversion; do
9965 { { ac_try="$ac_compiler $ac_option >&5"
9966 case "(($ac_try" in
9967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9968 *) ac_try_echo=$ac_try;;
9969 esac
9970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9971 printf "%s\n" "$ac_try_echo"; } >&5
9972 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9973 ac_status=$?
9974 if test -s conftest.err; then
9975 sed '10a\
9976 ... rest of stderr output deleted ...
9977 10q' conftest.err >conftest.er1
9978 cat conftest.er1 >&5
9980 rm -f conftest.er1 conftest.err
9981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9982 test $ac_status = 0; }
9983 done
9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9986 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9987 if test ${ac_cv_objc_compiler_gnu+y}
9988 then :
9989 printf %s "(cached) " >&6
9990 else $as_nop
9991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9992 /* end confdefs.h. */
9995 main (void)
9997 #ifndef __GNUC__
9998 choke me
9999 #endif
10002 return 0;
10004 _ACEOF
10005 if ac_fn_objc_try_compile "$LINENO"
10006 then :
10007 ac_compiler_gnu=yes
10008 else $as_nop
10009 ac_compiler_gnu=no
10011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10012 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
10015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
10016 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
10017 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10019 if test $ac_compiler_gnu = yes; then
10020 GOBJC=yes
10021 else
10022 GOBJC=
10024 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
10025 ac_save_OBJCFLAGS=$OBJCFLAGS
10026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
10027 printf %s "checking whether $OBJC accepts -g... " >&6; }
10028 if test ${ac_cv_prog_objc_g+y}
10029 then :
10030 printf %s "(cached) " >&6
10031 else $as_nop
10032 ac_save_objc_werror_flag=$ac_objc_werror_flag
10033 ac_objc_werror_flag=yes
10034 ac_cv_prog_objc_g=no
10035 OBJCFLAGS="-g"
10036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10037 /* end confdefs.h. */
10040 main (void)
10044 return 0;
10046 _ACEOF
10047 if ac_fn_objc_try_compile "$LINENO"
10048 then :
10049 ac_cv_prog_objc_g=yes
10050 else $as_nop
10051 OBJCFLAGS=""
10052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10056 main (void)
10060 return 0;
10062 _ACEOF
10063 if ac_fn_objc_try_compile "$LINENO"
10064 then :
10066 else $as_nop
10067 ac_objc_werror_flag=$ac_save_objc_werror_flag
10068 OBJCFLAGS="-g"
10069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10073 main (void)
10077 return 0;
10079 _ACEOF
10080 if ac_fn_objc_try_compile "$LINENO"
10081 then :
10082 ac_cv_prog_objc_g=yes
10084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10089 ac_objc_werror_flag=$ac_save_objc_werror_flag
10091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
10092 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
10093 if test $ac_test_OBJCFLAGS; then
10094 OBJCFLAGS=$ac_save_OBJCFLAGS
10095 elif test $ac_cv_prog_objc_g = yes; then
10096 if test "$GOBJC" = yes; then
10097 OBJCFLAGS="-g -O2"
10098 else
10099 OBJCFLAGS="-g"
10101 else
10102 if test "$GOBJC" = yes; then
10103 OBJCFLAGS="-O2"
10104 else
10105 OBJCFLAGS=
10108 ac_ext=m
10109 ac_cpp='$OBJCPP $CPPFLAGS'
10110 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10111 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10112 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10115 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
10116 if test "x$ac_cv_header_Metal_Metal_h" = xyes
10117 then :
10118 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
10122 ac_ext=c
10123 ac_cpp='$CPP $CPPFLAGS'
10124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10128 LIBEXT="dylib"
10129 DLLFLAGS="$DLLFLAGS -fPIC"
10130 LDDLLFLAGS="-fPIC"
10131 COREFOUNDATION_LIBS="-framework CoreFoundation"
10133 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
10135 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
10137 CORESERVICES_LIBS="-framework CoreServices"
10139 APPKIT_LIBS="-framework AppKit"
10141 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
10144 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
10146 wine_can_build_preloader=yes
10147 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"
10148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
10149 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
10150 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
10151 then :
10152 printf %s "(cached) " >&6
10153 else $as_nop
10154 ac_wine_try_cflags_saved=$CFLAGS
10155 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
10156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10157 /* end confdefs.h. */
10158 int main(int argc, char **argv) { return 0; }
10159 _ACEOF
10160 if ac_fn_c_try_link "$LINENO"
10161 then :
10162 ac_cv_cflags__Wl__no_new_main__e__main=yes
10163 else $as_nop
10164 ac_cv_cflags__Wl__no_new_main__e__main=no
10166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10167 conftest$ac_exeext conftest.$ac_ext
10168 CFLAGS=$ac_wine_try_cflags_saved
10170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
10171 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
10172 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
10173 then :
10174 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
10175 { 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
10176 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10177 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10178 then :
10179 printf %s "(cached) " >&6
10180 else $as_nop
10181 ac_wine_try_cflags_saved=$CFLAGS
10182 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10185 int main(int argc, char **argv) { return 0; }
10186 _ACEOF
10187 if ac_fn_c_try_link "$LINENO"
10188 then :
10189 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10190 else $as_nop
10191 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10194 conftest$ac_exeext conftest.$ac_ext
10195 CFLAGS=$ac_wine_try_cflags_saved
10197 { 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
10198 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10199 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10200 then :
10201 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10202 else $as_nop
10203 wine_can_build_preloader=no
10205 else $as_nop
10206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10207 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10208 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10209 then :
10210 printf %s "(cached) " >&6
10211 else $as_nop
10212 ac_wine_try_cflags_saved=$CFLAGS
10213 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 int main(int argc, char **argv) { return 0; }
10217 _ACEOF
10218 if ac_fn_c_try_link "$LINENO"
10219 then :
10220 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10221 else $as_nop
10222 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10225 conftest$ac_exeext conftest.$ac_ext
10226 CFLAGS=$ac_wine_try_cflags_saved
10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10229 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10230 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10231 then :
10232 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10233 else $as_nop
10234 wine_can_build_preloader=no
10237 if test "$wine_can_build_preloader" = "yes"
10238 then
10239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10240 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10241 if test ${ac_cv_cflags__Wl__no_pie+y}
10242 then :
10243 printf %s "(cached) " >&6
10244 else $as_nop
10245 ac_wine_try_cflags_saved=$CFLAGS
10246 CFLAGS="$CFLAGS -Wl,-no_pie"
10247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10249 int main(int argc, char **argv) { return 0; }
10250 _ACEOF
10251 if ac_fn_c_try_link "$LINENO"
10252 then :
10253 ac_cv_cflags__Wl__no_pie=yes
10254 else $as_nop
10255 ac_cv_cflags__Wl__no_pie=no
10257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10258 conftest$ac_exeext conftest.$ac_ext
10259 CFLAGS=$ac_wine_try_cflags_saved
10261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10262 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10263 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10264 then :
10265 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10267 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10268 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10269 else
10270 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10273 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10274 then
10275 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10278 if test "$ac_cv_header_Security_Security_h" = "yes"
10279 then
10280 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10283 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10284 then
10285 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10287 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10289 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10290 then
10291 OPENAL_LIBS="-framework OpenAL"
10294 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10296 ac_cv_lib_openal=yes
10298 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10299 then
10300 OPENCL_LIBS="-framework OpenCL"
10302 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10304 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10305 then
10306 ac_save_LIBS="$LIBS"
10307 LIBS="$LIBS $IOKIT_LIBS"
10308 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10309 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10310 then :
10311 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10315 LIBS="$ac_save_LIBS"
10318 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10319 then
10320 CARBON_LIBS="-framework Carbon"
10323 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10324 then
10325 METAL_LIBS="-framework Metal"
10329 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10330 then
10331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10332 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10333 ac_ext=m
10334 ac_cpp='$OBJCPP $CPPFLAGS'
10335 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10336 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10337 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h. */
10341 #include <Metal/Metal.h>
10343 main (void)
10345 id<MTLDevice> device; device.registryID;
10347 return 0;
10349 _ACEOF
10350 if ac_fn_objc_try_compile "$LINENO"
10351 then :
10352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10353 printf "%s\n" "yes" >&6; }
10355 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10357 else $as_nop
10358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10359 printf "%s\n" "no" >&6; }
10361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10362 ac_ext=c
10363 ac_cpp='$CPP $CPPFLAGS'
10364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10370 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10371 then
10372 ac_save_LIBS="$LIBS"
10373 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10374 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10375 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10376 then :
10377 enable_winemac_drv=${enable_winemac_drv:-yes}
10380 LIBS="$ac_save_LIBS"
10383 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10384 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10386 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10388 WINELOADER_DEPENDS="wine_info.plist"
10390 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10393 linux-android*)
10395 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10397 DLLFLAGS="$DLLFLAGS -fPIC"
10398 LDDLLFLAGS="-fPIC"
10399 LDEXECFLAGS="-Wl,-pie"
10400 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10402 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10403 if test ${ac_cv_cflags__Wl__z_defs+y}
10404 then :
10405 printf %s "(cached) " >&6
10406 else $as_nop
10407 ac_wine_try_cflags_saved=$CFLAGS
10408 CFLAGS="$CFLAGS -Wl,-z,defs"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10411 int main(int argc, char **argv) { return 0; }
10412 _ACEOF
10413 if ac_fn_c_try_link "$LINENO"
10414 then :
10415 ac_cv_cflags__Wl__z_defs=yes
10416 else $as_nop
10417 ac_cv_cflags__Wl__z_defs=no
10419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10420 conftest$ac_exeext conftest.$ac_ext
10421 CFLAGS=$ac_wine_try_cflags_saved
10423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10424 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10425 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10426 then :
10427 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10430 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10431 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10432 then :
10433 printf %s "(cached) " >&6
10434 else $as_nop
10435 ac_wine_try_cflags_saved=$CFLAGS
10436 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10439 int main(int argc, char **argv) { return 0; }
10440 _ACEOF
10441 if ac_fn_c_try_link "$LINENO"
10442 then :
10443 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10444 else $as_nop
10445 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10448 conftest$ac_exeext conftest.$ac_ext
10449 CFLAGS=$ac_wine_try_cflags_saved
10451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10452 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10453 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10454 then :
10455 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10457 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10460 printf %s "checking for -lEGL... " >&6; }
10461 if test ${ac_cv_lib_soname_EGL+y}
10462 then :
10463 printf %s "(cached) " >&6
10464 else $as_nop
10465 ac_check_soname_save_LIBS=$LIBS
10466 LIBS="-lEGL $LIBS"
10467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10468 /* end confdefs.h. */
10470 /* Override any GCC internal prototype to avoid an error.
10471 Use char because int might match the return type of a GCC
10472 builtin and then its argument prototype would still apply. */
10473 char eglGetProcAddress ();
10475 main (void)
10477 return eglGetProcAddress ();
10479 return 0;
10481 _ACEOF
10482 if ac_fn_c_try_link "$LINENO"
10483 then :
10484 case "$LIBEXT" in
10485 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10486 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'` ;;
10487 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10488 if ${ac_cv_lib_soname_EGL:+false} :
10489 then :
10490 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10491 fi ;;
10492 esac
10493 else $as_nop
10494 ac_cv_lib_soname_EGL=
10496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10497 conftest$ac_exeext conftest.$ac_ext
10498 LIBS=$ac_check_soname_save_LIBS
10500 if ${ac_cv_lib_soname_EGL:+false} :
10501 then :
10502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10503 printf "%s\n" "not found" >&6; }
10505 else $as_nop
10506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10507 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10509 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10514 printf %s "checking for -lGLESv2... " >&6; }
10515 if test ${ac_cv_lib_soname_GLESv2+y}
10516 then :
10517 printf %s "(cached) " >&6
10518 else $as_nop
10519 ac_check_soname_save_LIBS=$LIBS
10520 LIBS="-lGLESv2 $LIBS"
10521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10524 /* Override any GCC internal prototype to avoid an error.
10525 Use char because int might match the return type of a GCC
10526 builtin and then its argument prototype would still apply. */
10527 char glFlush ();
10529 main (void)
10531 return glFlush ();
10533 return 0;
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"
10537 then :
10538 case "$LIBEXT" in
10539 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10540 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'` ;;
10541 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10542 if ${ac_cv_lib_soname_GLESv2:+false} :
10543 then :
10544 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10545 fi ;;
10546 esac
10547 else $as_nop
10548 ac_cv_lib_soname_GLESv2=
10550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10551 conftest$ac_exeext conftest.$ac_ext
10552 LIBS=$ac_check_soname_save_LIBS
10554 if ${ac_cv_lib_soname_GLESv2:+false} :
10555 then :
10556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10557 printf "%s\n" "not found" >&6; }
10559 else $as_nop
10560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10561 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10563 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10568 if test "x$exec_prefix" = xNONE
10569 then
10570 case $host_cpu in
10571 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10572 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10573 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10574 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10575 esac
10581 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10583 test "$ac_cv_sys_file_offset_bits" = 64 &&
10584 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10586 case $host_cpu in
10587 *i[3456789]86*)
10588 DLLFLAGS="$DLLFLAGS -fno-PIC"
10589 LDDLLFLAGS="-fno-PIC"
10590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10591 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10592 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10593 then :
10594 printf %s "(cached) " >&6
10595 else $as_nop
10596 ac_wine_try_cflags_saved=$CFLAGS
10597 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10599 /* end confdefs.h. */
10600 int main(int argc, char **argv) { return 0; }
10601 _ACEOF
10602 if ac_fn_c_try_link "$LINENO"
10603 then :
10604 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10605 else $as_nop
10606 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10609 conftest$ac_exeext conftest.$ac_ext
10610 CFLAGS=$ac_wine_try_cflags_saved
10612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10613 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10614 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10615 then :
10616 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10620 DLLFLAGS="$DLLFLAGS -fPIC"
10621 LDDLLFLAGS="-fPIC" ;;
10622 esac
10623 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10625 echo '{ global: *; };' >conftest.map
10626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10627 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10628 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10629 then :
10630 printf %s "(cached) " >&6
10631 else $as_nop
10632 ac_wine_try_cflags_saved=$CFLAGS
10633 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10636 int main(int argc, char **argv) { return 0; }
10637 _ACEOF
10638 if ac_fn_c_try_link "$LINENO"
10639 then :
10640 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10641 else $as_nop
10642 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10645 conftest$ac_exeext conftest.$ac_ext
10646 CFLAGS=$ac_wine_try_cflags_saved
10648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10649 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10650 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10651 then :
10652 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10654 rm -f conftest.map
10656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10657 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10658 if test ${ac_cv_cflags__Wl__z_defs+y}
10659 then :
10660 printf %s "(cached) " >&6
10661 else $as_nop
10662 ac_wine_try_cflags_saved=$CFLAGS
10663 CFLAGS="$CFLAGS -Wl,-z,defs"
10664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10665 /* end confdefs.h. */
10666 int main(int argc, char **argv) { return 0; }
10667 _ACEOF
10668 if ac_fn_c_try_link "$LINENO"
10669 then :
10670 ac_cv_cflags__Wl__z_defs=yes
10671 else $as_nop
10672 ac_cv_cflags__Wl__z_defs=no
10674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10675 conftest$ac_exeext conftest.$ac_ext
10676 CFLAGS=$ac_wine_try_cflags_saved
10678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10679 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10680 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10681 then :
10682 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10685 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10686 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10687 then :
10688 printf %s "(cached) " >&6
10689 else $as_nop
10690 ac_wine_try_cflags_saved=$CFLAGS
10691 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10693 /* end confdefs.h. */
10694 int main(int argc, char **argv) { return 0; }
10695 _ACEOF
10696 if ac_fn_c_try_link "$LINENO"
10697 then :
10698 ac_cv_cflags__Wl___export_dynamic=yes
10699 else $as_nop
10700 ac_cv_cflags__Wl___export_dynamic=no
10702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10703 conftest$ac_exeext conftest.$ac_ext
10704 CFLAGS=$ac_wine_try_cflags_saved
10706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10707 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10708 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10709 then :
10710 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10712 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10714 case $host_cpu in
10715 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10717 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10718 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10719 then :
10720 printf %s "(cached) " >&6
10721 else $as_nop
10722 ac_wine_try_cflags_saved=$CFLAGS
10723 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10725 /* end confdefs.h. */
10726 int main(int argc, char **argv) { return 0; }
10727 _ACEOF
10728 if ac_fn_c_try_link "$LINENO"
10729 then :
10730 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10731 else $as_nop
10732 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10735 conftest$ac_exeext conftest.$ac_ext
10736 CFLAGS=$ac_wine_try_cflags_saved
10738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10739 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10740 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10741 then :
10742 case $host_os in
10743 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10744 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10745 esac
10746 else $as_nop
10747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10748 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10749 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10750 then :
10751 printf %s "(cached) " >&6
10752 else $as_nop
10753 ac_wine_try_cflags_saved=$CFLAGS
10754 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10756 /* end confdefs.h. */
10757 int main(int argc, char **argv) { return 0; }
10758 _ACEOF
10759 if ac_fn_c_try_link "$LINENO"
10760 then :
10761 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10762 else $as_nop
10763 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10766 conftest$ac_exeext conftest.$ac_ext
10767 CFLAGS=$ac_wine_try_cflags_saved
10769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10770 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10771 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10772 then :
10773 case $host_os in
10774 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10775 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10776 esac
10778 # Extract the first word of "prelink", so it can be a program name with args.
10779 set dummy prelink; ac_word=$2
10780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10781 printf %s "checking for $ac_word... " >&6; }
10782 if test ${ac_cv_path_PRELINK+y}
10783 then :
10784 printf %s "(cached) " >&6
10785 else $as_nop
10786 case $PRELINK in
10787 [\\/]* | ?:[\\/]*)
10788 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10792 for as_dir in /sbin /usr/sbin $PATH
10794 IFS=$as_save_IFS
10795 case $as_dir in #(((
10796 '') as_dir=./ ;;
10797 */) ;;
10798 *) as_dir=$as_dir/ ;;
10799 esac
10800 for ac_exec_ext in '' $ac_executable_extensions; do
10801 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10802 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10804 break 2
10806 done
10807 done
10808 IFS=$as_save_IFS
10810 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10812 esac
10814 PRELINK=$ac_cv_path_PRELINK
10815 if test -n "$PRELINK"; then
10816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10817 printf "%s\n" "$PRELINK" >&6; }
10818 else
10819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10820 printf "%s\n" "no" >&6; }
10824 if test "x$PRELINK" = xfalse
10825 then
10826 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10830 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10831 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10832 then :
10833 printf %s "(cached) " >&6
10834 else $as_nop
10835 ac_wine_try_cflags_saved=$CFLAGS
10836 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10839 int main(int argc, char **argv) { return 0; }
10840 _ACEOF
10841 if ac_fn_c_try_link "$LINENO"
10842 then :
10843 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10844 else $as_nop
10845 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10848 conftest$ac_exeext conftest.$ac_ext
10849 CFLAGS=$ac_wine_try_cflags_saved
10851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10852 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10853 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10854 then :
10855 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10858 esac
10859 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10861 LIBWINE_DEPENDS="wine.map"
10863 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10865 esac
10867 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10868 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10869 enable_winemac_drv=${enable_winemac_drv:-no}
10872 if test "x$with_mingw" != xno
10873 then
10874 case "x$with_mingw" in
10875 x|xyes) case "$host_cpu" in
10876 aarch64*)
10877 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10878 arm*)
10879 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10880 i[3456789]86*)
10881 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
10882 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10883 mingw32-gcc clang" ;;
10884 x86_64)
10885 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
10886 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10888 ac_prefix_list="" ;;
10889 esac
10890 for ac_prog in $ac_prefix_list
10892 # Extract the first word of "$ac_prog", so it can be a program name with args.
10893 set dummy $ac_prog; ac_word=$2
10894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10895 printf %s "checking for $ac_word... " >&6; }
10896 if test ${ac_cv_prog_CROSSCC+y}
10897 then :
10898 printf %s "(cached) " >&6
10899 else $as_nop
10900 if test -n "$CROSSCC"; then
10901 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10902 else
10903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10904 for as_dir in $PATH
10906 IFS=$as_save_IFS
10907 case $as_dir in #(((
10908 '') as_dir=./ ;;
10909 */) ;;
10910 *) as_dir=$as_dir/ ;;
10911 esac
10912 for ac_exec_ext in '' $ac_executable_extensions; do
10913 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10914 ac_cv_prog_CROSSCC="$ac_prog"
10915 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10916 break 2
10918 done
10919 done
10920 IFS=$as_save_IFS
10924 CROSSCC=$ac_cv_prog_CROSSCC
10925 if test -n "$CROSSCC"; then
10926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10927 printf "%s\n" "$CROSSCC" >&6; }
10928 else
10929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10930 printf "%s\n" "no" >&6; }
10934 test -n "$CROSSCC" && break
10935 done
10936 test -n "$CROSSCC" || CROSSCC="false"
10938 *) CROSSCC=$with_mingw ;;
10939 esac
10940 if test "$CROSSCC" != "false"
10941 then
10942 ac_save_CC="$CC"
10943 saved_CFLAGS=$CFLAGS
10944 saved_LDFLAGS=$LDFLAGS
10945 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10947 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10951 CC="$CROSSCC"
10952 CFLAGS=$CROSSCFLAGS
10953 LDFLAGS=$CROSSLDFLAGS
10954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10955 printf %s "checking whether $CROSSCC works... " >&6; }
10956 if test ${wine_cv_crosscc+y}
10957 then :
10958 printf %s "(cached) " >&6
10959 else $as_nop
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10964 main (void)
10968 return 0;
10970 _ACEOF
10971 if ac_fn_c_try_compile "$LINENO"
10972 then :
10973 wine_cv_crosscc=yes
10974 else $as_nop
10975 wine_cv_crosscc=no
10977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10980 printf "%s\n" "$wine_cv_crosscc" >&6; }
10981 if test $wine_cv_crosscc = yes
10982 then
10983 set x $CROSSCC
10984 shift
10985 while test $# -ge 1
10987 case "$1" in
10988 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10989 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10990 esac
10991 shift
10992 done
10994 llvm_target=$CROSSTARGET
10995 llvm_cflags="-fuse-ld=lld"
10996 if test -z "$llvm_target"
10997 then
10998 case $host_cpu in
10999 *i[3456789]86*) llvm_target=i686-windows ;;
11000 *) llvm_target=$host_cpu-windows ;;
11001 esac
11003 case $llvm_target in
11004 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
11005 esac
11006 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
11007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
11008 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
11009 if eval test \${$as_ac_var+y}
11010 then :
11011 printf %s "(cached) " >&6
11012 else $as_nop
11013 ac_wine_try_cflags_saved=$CFLAGS
11014 ac_wine_try_cflags_saved_cc=$CC
11015 ac_wine_try_cflags_saved_exeext=$ac_exeext
11016 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
11017 CC="$CROSSCC"
11018 ac_exeext=".exe"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11021 int __cdecl mainCRTStartup(void) { return 0; }
11022 _ACEOF
11023 if ac_fn_c_try_link "$LINENO"
11024 then :
11025 eval "$as_ac_var=yes"
11026 else $as_nop
11027 eval "$as_ac_var=no"
11029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11030 conftest$ac_exeext conftest.$ac_ext
11031 CFLAGS=$ac_wine_try_cflags_saved
11032 CC=$ac_wine_try_cflags_saved_cc
11033 ac_exeext=$ac_wine_try_cflags_saved_exeext
11035 eval ac_res=\$$as_ac_var
11036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11037 printf "%s\n" "$ac_res" >&6; }
11038 if eval test \"x\$"$as_ac_var"\" = x"yes"
11039 then :
11040 CROSSTARGET=$llvm_target
11041 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
11042 DELAYLOADFLAG="-Wl,-delayload,"
11044 CFLAGS="$CFLAGS $llvm_cflags"
11047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
11048 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
11049 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
11050 then :
11051 printf %s "(cached) " >&6
11052 else $as_nop
11053 ac_wine_try_cflags_saved=$CFLAGS
11054 ac_wine_try_cflags_saved_cc=$CC
11055 ac_wine_try_cflags_saved_exeext=$ac_exeext
11056 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
11057 CC="$CROSSCC"
11058 ac_exeext=".exe"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11061 int __cdecl mainCRTStartup(void) { return 0; }
11062 _ACEOF
11063 if ac_fn_c_try_link "$LINENO"
11064 then :
11065 ac_cv_crosscflags__fno_strict_aliasing=yes
11066 else $as_nop
11067 ac_cv_crosscflags__fno_strict_aliasing=no
11069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11070 conftest$ac_exeext conftest.$ac_ext
11071 CFLAGS=$ac_wine_try_cflags_saved
11072 CC=$ac_wine_try_cflags_saved_cc
11073 ac_exeext=$ac_wine_try_cflags_saved_exeext
11075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
11076 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
11077 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
11078 then :
11079 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
11081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
11082 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
11083 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
11084 then :
11085 printf %s "(cached) " >&6
11086 else $as_nop
11087 ac_wine_try_cflags_saved=$CFLAGS
11088 ac_wine_try_cflags_saved_cc=$CC
11089 ac_wine_try_cflags_saved_exeext=$ac_exeext
11090 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11091 CC="$CROSSCC"
11092 ac_exeext=".exe"
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11095 int __cdecl mainCRTStartup(void) { return 0; }
11096 _ACEOF
11097 if ac_fn_c_try_link "$LINENO"
11098 then :
11099 ac_cv_crosscflags__Werror_unknown_warning_option=yes
11100 else $as_nop
11101 ac_cv_crosscflags__Werror_unknown_warning_option=no
11103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11104 conftest$ac_exeext conftest.$ac_ext
11105 CFLAGS=$ac_wine_try_cflags_saved
11106 CC=$ac_wine_try_cflags_saved_cc
11107 ac_exeext=$ac_wine_try_cflags_saved_exeext
11109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
11110 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
11111 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
11112 then :
11113 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
11116 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
11117 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
11118 then :
11119 printf %s "(cached) " >&6
11120 else $as_nop
11121 ac_wine_try_cflags_saved=$CFLAGS
11122 ac_wine_try_cflags_saved_cc=$CC
11123 ac_wine_try_cflags_saved_exeext=$ac_exeext
11124 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11125 CC="$CROSSCC"
11126 ac_exeext=".exe"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11129 int __cdecl mainCRTStartup(void) { return 0; }
11130 _ACEOF
11131 if ac_fn_c_try_link "$LINENO"
11132 then :
11133 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
11134 else $as_nop
11135 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
11137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11138 conftest$ac_exeext conftest.$ac_ext
11139 CFLAGS=$ac_wine_try_cflags_saved
11140 CC=$ac_wine_try_cflags_saved_cc
11141 ac_exeext=$ac_wine_try_cflags_saved_exeext
11143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
11144 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
11145 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
11146 then :
11147 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
11150 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
11151 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
11152 then :
11153 printf %s "(cached) " >&6
11154 else $as_nop
11155 ac_wine_try_cflags_saved=$CFLAGS
11156 ac_wine_try_cflags_saved_cc=$CC
11157 ac_wine_try_cflags_saved_exeext=$ac_exeext
11158 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11159 CC="$CROSSCC"
11160 ac_exeext=".exe"
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11163 int __cdecl mainCRTStartup(void) { return 0; }
11164 _ACEOF
11165 if ac_fn_c_try_link "$LINENO"
11166 then :
11167 ac_cv_crosscflags__Wdeclaration_after_statement=yes
11168 else $as_nop
11169 ac_cv_crosscflags__Wdeclaration_after_statement=no
11171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11172 conftest$ac_exeext conftest.$ac_ext
11173 CFLAGS=$ac_wine_try_cflags_saved
11174 CC=$ac_wine_try_cflags_saved_cc
11175 ac_exeext=$ac_wine_try_cflags_saved_exeext
11177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
11178 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
11179 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
11180 then :
11181 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
11183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
11184 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
11185 if test ${ac_cv_crosscflags__Wempty_body+y}
11186 then :
11187 printf %s "(cached) " >&6
11188 else $as_nop
11189 ac_wine_try_cflags_saved=$CFLAGS
11190 ac_wine_try_cflags_saved_cc=$CC
11191 ac_wine_try_cflags_saved_exeext=$ac_exeext
11192 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11193 CC="$CROSSCC"
11194 ac_exeext=".exe"
11195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11196 /* end confdefs.h. */
11197 int __cdecl mainCRTStartup(void) { return 0; }
11198 _ACEOF
11199 if ac_fn_c_try_link "$LINENO"
11200 then :
11201 ac_cv_crosscflags__Wempty_body=yes
11202 else $as_nop
11203 ac_cv_crosscflags__Wempty_body=no
11205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11206 conftest$ac_exeext conftest.$ac_ext
11207 CFLAGS=$ac_wine_try_cflags_saved
11208 CC=$ac_wine_try_cflags_saved_cc
11209 ac_exeext=$ac_wine_try_cflags_saved_exeext
11211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11212 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11213 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11214 then :
11215 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11218 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11219 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11220 then :
11221 printf %s "(cached) " >&6
11222 else $as_nop
11223 ac_wine_try_cflags_saved=$CFLAGS
11224 ac_wine_try_cflags_saved_cc=$CC
11225 ac_wine_try_cflags_saved_exeext=$ac_exeext
11226 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11227 CC="$CROSSCC"
11228 ac_exeext=".exe"
11229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11230 /* end confdefs.h. */
11231 int __cdecl mainCRTStartup(void) { return 0; }
11232 _ACEOF
11233 if ac_fn_c_try_link "$LINENO"
11234 then :
11235 ac_cv_crosscflags__Wignored_qualifiers=yes
11236 else $as_nop
11237 ac_cv_crosscflags__Wignored_qualifiers=no
11239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11240 conftest$ac_exeext conftest.$ac_ext
11241 CFLAGS=$ac_wine_try_cflags_saved
11242 CC=$ac_wine_try_cflags_saved_cc
11243 ac_exeext=$ac_wine_try_cflags_saved_exeext
11245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11246 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11247 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11248 then :
11249 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11252 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11253 if test ${ac_cv_crosscflags__Winit_self+y}
11254 then :
11255 printf %s "(cached) " >&6
11256 else $as_nop
11257 ac_wine_try_cflags_saved=$CFLAGS
11258 ac_wine_try_cflags_saved_cc=$CC
11259 ac_wine_try_cflags_saved_exeext=$ac_exeext
11260 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11261 CC="$CROSSCC"
11262 ac_exeext=".exe"
11263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11265 int __cdecl mainCRTStartup(void) { return 0; }
11266 _ACEOF
11267 if ac_fn_c_try_link "$LINENO"
11268 then :
11269 ac_cv_crosscflags__Winit_self=yes
11270 else $as_nop
11271 ac_cv_crosscflags__Winit_self=no
11273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11274 conftest$ac_exeext conftest.$ac_ext
11275 CFLAGS=$ac_wine_try_cflags_saved
11276 CC=$ac_wine_try_cflags_saved_cc
11277 ac_exeext=$ac_wine_try_cflags_saved_exeext
11279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11280 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11281 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11282 then :
11283 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11286 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11287 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11288 then :
11289 printf %s "(cached) " >&6
11290 else $as_nop
11291 ac_wine_try_cflags_saved=$CFLAGS
11292 ac_wine_try_cflags_saved_cc=$CC
11293 ac_wine_try_cflags_saved_exeext=$ac_exeext
11294 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11295 CC="$CROSSCC"
11296 ac_exeext=".exe"
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11299 int __cdecl mainCRTStartup(void) { return 0; }
11300 _ACEOF
11301 if ac_fn_c_try_link "$LINENO"
11302 then :
11303 ac_cv_crosscflags__Wpacked_not_aligned=yes
11304 else $as_nop
11305 ac_cv_crosscflags__Wpacked_not_aligned=no
11307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11308 conftest$ac_exeext conftest.$ac_ext
11309 CFLAGS=$ac_wine_try_cflags_saved
11310 CC=$ac_wine_try_cflags_saved_cc
11311 ac_exeext=$ac_wine_try_cflags_saved_exeext
11313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11314 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11315 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11316 then :
11317 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11320 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11321 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11322 then :
11323 printf %s "(cached) " >&6
11324 else $as_nop
11325 ac_wine_try_cflags_saved=$CFLAGS
11326 ac_wine_try_cflags_saved_cc=$CC
11327 ac_wine_try_cflags_saved_exeext=$ac_exeext
11328 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11329 CC="$CROSSCC"
11330 ac_exeext=".exe"
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11333 int __cdecl mainCRTStartup(void) { return 0; }
11334 _ACEOF
11335 if ac_fn_c_try_link "$LINENO"
11336 then :
11337 ac_cv_crosscflags__Wpragma_pack=yes
11338 else $as_nop
11339 ac_cv_crosscflags__Wpragma_pack=no
11341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11342 conftest$ac_exeext conftest.$ac_ext
11343 CFLAGS=$ac_wine_try_cflags_saved
11344 CC=$ac_wine_try_cflags_saved_cc
11345 ac_exeext=$ac_wine_try_cflags_saved_exeext
11347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11348 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11349 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11350 then :
11351 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11354 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11355 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11356 then :
11357 printf %s "(cached) " >&6
11358 else $as_nop
11359 ac_wine_try_cflags_saved=$CFLAGS
11360 ac_wine_try_cflags_saved_cc=$CC
11361 ac_wine_try_cflags_saved_exeext=$ac_exeext
11362 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11363 CC="$CROSSCC"
11364 ac_exeext=".exe"
11365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h. */
11367 int __cdecl mainCRTStartup(void) { return 0; }
11368 _ACEOF
11369 if ac_fn_c_try_link "$LINENO"
11370 then :
11371 ac_cv_crosscflags__Wshift_overflow_2=yes
11372 else $as_nop
11373 ac_cv_crosscflags__Wshift_overflow_2=no
11375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11376 conftest$ac_exeext conftest.$ac_ext
11377 CFLAGS=$ac_wine_try_cflags_saved
11378 CC=$ac_wine_try_cflags_saved_cc
11379 ac_exeext=$ac_wine_try_cflags_saved_exeext
11381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11382 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11383 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11384 then :
11385 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11388 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11389 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11390 then :
11391 printf %s "(cached) " >&6
11392 else $as_nop
11393 ac_wine_try_cflags_saved=$CFLAGS
11394 ac_wine_try_cflags_saved_cc=$CC
11395 ac_wine_try_cflags_saved_exeext=$ac_exeext
11396 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11397 CC="$CROSSCC"
11398 ac_exeext=".exe"
11399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11401 int __cdecl mainCRTStartup(void) { return 0; }
11402 _ACEOF
11403 if ac_fn_c_try_link "$LINENO"
11404 then :
11405 ac_cv_crosscflags__Wstrict_prototypes=yes
11406 else $as_nop
11407 ac_cv_crosscflags__Wstrict_prototypes=no
11409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11410 conftest$ac_exeext conftest.$ac_ext
11411 CFLAGS=$ac_wine_try_cflags_saved
11412 CC=$ac_wine_try_cflags_saved_cc
11413 ac_exeext=$ac_wine_try_cflags_saved_exeext
11415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11416 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11417 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11418 then :
11419 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11422 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11423 if test ${ac_cv_crosscflags__Wtype_limits+y}
11424 then :
11425 printf %s "(cached) " >&6
11426 else $as_nop
11427 ac_wine_try_cflags_saved=$CFLAGS
11428 ac_wine_try_cflags_saved_cc=$CC
11429 ac_wine_try_cflags_saved_exeext=$ac_exeext
11430 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11431 CC="$CROSSCC"
11432 ac_exeext=".exe"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11435 int __cdecl mainCRTStartup(void) { return 0; }
11436 _ACEOF
11437 if ac_fn_c_try_link "$LINENO"
11438 then :
11439 ac_cv_crosscflags__Wtype_limits=yes
11440 else $as_nop
11441 ac_cv_crosscflags__Wtype_limits=no
11443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11444 conftest$ac_exeext conftest.$ac_ext
11445 CFLAGS=$ac_wine_try_cflags_saved
11446 CC=$ac_wine_try_cflags_saved_cc
11447 ac_exeext=$ac_wine_try_cflags_saved_exeext
11449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11450 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11451 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11452 then :
11453 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11456 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11457 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11458 then :
11459 printf %s "(cached) " >&6
11460 else $as_nop
11461 ac_wine_try_cflags_saved=$CFLAGS
11462 ac_wine_try_cflags_saved_cc=$CC
11463 ac_wine_try_cflags_saved_exeext=$ac_exeext
11464 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11465 CC="$CROSSCC"
11466 ac_exeext=".exe"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11469 int __cdecl mainCRTStartup(void) { return 0; }
11470 _ACEOF
11471 if ac_fn_c_try_link "$LINENO"
11472 then :
11473 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11474 else $as_nop
11475 ac_cv_crosscflags__Wunused_but_set_parameter=no
11477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11478 conftest$ac_exeext conftest.$ac_ext
11479 CFLAGS=$ac_wine_try_cflags_saved
11480 CC=$ac_wine_try_cflags_saved_cc
11481 ac_exeext=$ac_wine_try_cflags_saved_exeext
11483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11484 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11485 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11486 then :
11487 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11490 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11491 if test ${ac_cv_crosscflags__Wvla+y}
11492 then :
11493 printf %s "(cached) " >&6
11494 else $as_nop
11495 ac_wine_try_cflags_saved=$CFLAGS
11496 ac_wine_try_cflags_saved_cc=$CC
11497 ac_wine_try_cflags_saved_exeext=$ac_exeext
11498 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11499 CC="$CROSSCC"
11500 ac_exeext=".exe"
11501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11503 int __cdecl mainCRTStartup(void) { return 0; }
11504 _ACEOF
11505 if ac_fn_c_try_link "$LINENO"
11506 then :
11507 ac_cv_crosscflags__Wvla=yes
11508 else $as_nop
11509 ac_cv_crosscflags__Wvla=no
11511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11512 conftest$ac_exeext conftest.$ac_ext
11513 CFLAGS=$ac_wine_try_cflags_saved
11514 CC=$ac_wine_try_cflags_saved_cc
11515 ac_exeext=$ac_wine_try_cflags_saved_exeext
11517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11518 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11519 if test "x$ac_cv_crosscflags__Wvla" = xyes
11520 then :
11521 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11524 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11525 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11526 then :
11527 printf %s "(cached) " >&6
11528 else $as_nop
11529 ac_wine_try_cflags_saved=$CFLAGS
11530 ac_wine_try_cflags_saved_cc=$CC
11531 ac_wine_try_cflags_saved_exeext=$ac_exeext
11532 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11533 CC="$CROSSCC"
11534 ac_exeext=".exe"
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11537 int __cdecl mainCRTStartup(void) { return 0; }
11538 _ACEOF
11539 if ac_fn_c_try_link "$LINENO"
11540 then :
11541 ac_cv_crosscflags__Wwrite_strings=yes
11542 else $as_nop
11543 ac_cv_crosscflags__Wwrite_strings=no
11545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11546 conftest$ac_exeext conftest.$ac_ext
11547 CFLAGS=$ac_wine_try_cflags_saved
11548 CC=$ac_wine_try_cflags_saved_cc
11549 ac_exeext=$ac_wine_try_cflags_saved_exeext
11551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11552 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11553 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11554 then :
11555 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11558 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11559 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11560 then :
11561 printf %s "(cached) " >&6
11562 else $as_nop
11563 ac_wine_try_cflags_saved=$CFLAGS
11564 ac_wine_try_cflags_saved_cc=$CC
11565 ac_wine_try_cflags_saved_exeext=$ac_exeext
11566 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11567 CC="$CROSSCC"
11568 ac_exeext=".exe"
11569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11571 int __cdecl mainCRTStartup(void) { return 0; }
11572 _ACEOF
11573 if ac_fn_c_try_link "$LINENO"
11574 then :
11575 ac_cv_crosscflags__Wpointer_arith=yes
11576 else $as_nop
11577 ac_cv_crosscflags__Wpointer_arith=no
11579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11580 conftest$ac_exeext conftest.$ac_ext
11581 CFLAGS=$ac_wine_try_cflags_saved
11582 CC=$ac_wine_try_cflags_saved_cc
11583 ac_exeext=$ac_wine_try_cflags_saved_exeext
11585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11586 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11587 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11588 then :
11589 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11592 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11593 if test ${ac_cv_crosscflags__Wlogical_op+y}
11594 then :
11595 printf %s "(cached) " >&6
11596 else $as_nop
11597 ac_wine_try_cflags_saved=$CFLAGS
11598 ac_wine_try_cflags_saved_cc=$CC
11599 ac_wine_try_cflags_saved_exeext=$ac_exeext
11600 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11601 CC="$CROSSCC"
11602 ac_exeext=".exe"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11605 int __cdecl mainCRTStartup(void) { return 0; }
11606 _ACEOF
11607 if ac_fn_c_try_link "$LINENO"
11608 then :
11609 ac_cv_crosscflags__Wlogical_op=yes
11610 else $as_nop
11611 ac_cv_crosscflags__Wlogical_op=no
11613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11614 conftest$ac_exeext conftest.$ac_ext
11615 CFLAGS=$ac_wine_try_cflags_saved
11616 CC=$ac_wine_try_cflags_saved_cc
11617 ac_exeext=$ac_wine_try_cflags_saved_exeext
11619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11620 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11621 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11622 then :
11623 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11626 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11627 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11628 then :
11629 printf %s "(cached) " >&6
11630 else $as_nop
11631 ac_wine_try_cflags_saved=$CFLAGS
11632 ac_wine_try_cflags_saved_cc=$CC
11633 ac_wine_try_cflags_saved_exeext=$ac_exeext
11634 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11635 CC="$CROSSCC"
11636 ac_exeext=".exe"
11637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11638 /* end confdefs.h. */
11639 int __cdecl mainCRTStartup(void) { return 0; }
11640 _ACEOF
11641 if ac_fn_c_try_link "$LINENO"
11642 then :
11643 ac_cv_crosscflags__Wabsolute_value=yes
11644 else $as_nop
11645 ac_cv_crosscflags__Wabsolute_value=no
11647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11648 conftest$ac_exeext conftest.$ac_ext
11649 CFLAGS=$ac_wine_try_cflags_saved
11650 CC=$ac_wine_try_cflags_saved_cc
11651 ac_exeext=$ac_wine_try_cflags_saved_exeext
11653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11654 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11655 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11656 then :
11657 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11660 case $host_cpu in
11661 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11662 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11663 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11664 then :
11665 printf %s "(cached) " >&6
11666 else $as_nop
11667 ac_wine_try_cflags_saved=$CFLAGS
11668 ac_wine_try_cflags_saved_cc=$CC
11669 ac_wine_try_cflags_saved_exeext=$ac_exeext
11670 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11671 CC="$CROSSCC"
11672 ac_exeext=".exe"
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11675 int __cdecl mainCRTStartup(void) { return 0; }
11676 _ACEOF
11677 if ac_fn_c_try_link "$LINENO"
11678 then :
11679 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11680 else $as_nop
11681 ac_cv_crosscflags__fno_omit_frame_pointer=no
11683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11684 conftest$ac_exeext conftest.$ac_ext
11685 CFLAGS=$ac_wine_try_cflags_saved
11686 CC=$ac_wine_try_cflags_saved_cc
11687 ac_exeext=$ac_wine_try_cflags_saved_exeext
11689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11690 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11691 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11692 then :
11693 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11694 fi ;;
11695 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11696 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11697 if test ${ac_cv_crosscflags__Wno_format+y}
11698 then :
11699 printf %s "(cached) " >&6
11700 else $as_nop
11701 ac_wine_try_cflags_saved=$CFLAGS
11702 ac_wine_try_cflags_saved_cc=$CC
11703 ac_wine_try_cflags_saved_exeext=$ac_exeext
11704 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11705 CC="$CROSSCC"
11706 ac_exeext=".exe"
11707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11708 /* end confdefs.h. */
11709 int __cdecl mainCRTStartup(void) { return 0; }
11710 _ACEOF
11711 if ac_fn_c_try_link "$LINENO"
11712 then :
11713 ac_cv_crosscflags__Wno_format=yes
11714 else $as_nop
11715 ac_cv_crosscflags__Wno_format=no
11717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11718 conftest$ac_exeext conftest.$ac_ext
11719 CFLAGS=$ac_wine_try_cflags_saved
11720 CC=$ac_wine_try_cflags_saved_cc
11721 ac_exeext=$ac_wine_try_cflags_saved_exeext
11723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11724 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11725 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11726 then :
11727 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11730 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11731 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11732 then :
11733 printf %s "(cached) " >&6
11734 else $as_nop
11735 ac_wine_try_cflags_saved=$CFLAGS
11736 ac_wine_try_cflags_saved_cc=$CC
11737 ac_wine_try_cflags_saved_exeext=$ac_exeext
11738 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11739 CC="$CROSSCC"
11740 ac_exeext=".exe"
11741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11742 /* end confdefs.h. */
11743 int __cdecl mainCRTStartup(void) { return 0; }
11744 _ACEOF
11745 if ac_fn_c_try_link "$LINENO"
11746 then :
11747 ac_cv_crosscflags__Wformat_overflow=yes
11748 else $as_nop
11749 ac_cv_crosscflags__Wformat_overflow=no
11751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11752 conftest$ac_exeext conftest.$ac_ext
11753 CFLAGS=$ac_wine_try_cflags_saved
11754 CC=$ac_wine_try_cflags_saved_cc
11755 ac_exeext=$ac_wine_try_cflags_saved_exeext
11757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11758 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11759 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11760 then :
11761 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11764 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11765 if test ${ac_cv_crosscflags__Wnonnull+y}
11766 then :
11767 printf %s "(cached) " >&6
11768 else $as_nop
11769 ac_wine_try_cflags_saved=$CFLAGS
11770 ac_wine_try_cflags_saved_cc=$CC
11771 ac_wine_try_cflags_saved_exeext=$ac_exeext
11772 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11773 CC="$CROSSCC"
11774 ac_exeext=".exe"
11775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11777 int __cdecl mainCRTStartup(void) { return 0; }
11778 _ACEOF
11779 if ac_fn_c_try_link "$LINENO"
11780 then :
11781 ac_cv_crosscflags__Wnonnull=yes
11782 else $as_nop
11783 ac_cv_crosscflags__Wnonnull=no
11785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11786 conftest$ac_exeext conftest.$ac_ext
11787 CFLAGS=$ac_wine_try_cflags_saved
11788 CC=$ac_wine_try_cflags_saved_cc
11789 ac_exeext=$ac_wine_try_cflags_saved_exeext
11791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11792 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11793 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11794 then :
11795 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11798 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11799 if test ${ac_cv_crosscflags__mcx16+y}
11800 then :
11801 printf %s "(cached) " >&6
11802 else $as_nop
11803 ac_wine_try_cflags_saved=$CFLAGS
11804 ac_wine_try_cflags_saved_cc=$CC
11805 ac_wine_try_cflags_saved_exeext=$ac_exeext
11806 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11807 CC="$CROSSCC"
11808 ac_exeext=".exe"
11809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11811 int __cdecl mainCRTStartup(void) { return 0; }
11812 _ACEOF
11813 if ac_fn_c_try_link "$LINENO"
11814 then :
11815 ac_cv_crosscflags__mcx16=yes
11816 else $as_nop
11817 ac_cv_crosscflags__mcx16=no
11819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11820 conftest$ac_exeext conftest.$ac_ext
11821 CFLAGS=$ac_wine_try_cflags_saved
11822 CC=$ac_wine_try_cflags_saved_cc
11823 ac_exeext=$ac_wine_try_cflags_saved_exeext
11825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11826 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11827 if test "x$ac_cv_crosscflags__mcx16" = xyes
11828 then :
11829 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11830 fi ;;
11831 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11832 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11833 if test ${ac_cv_crosscflags__Wno_format+y}
11834 then :
11835 printf %s "(cached) " >&6
11836 else $as_nop
11837 ac_wine_try_cflags_saved=$CFLAGS
11838 ac_wine_try_cflags_saved_cc=$CC
11839 ac_wine_try_cflags_saved_exeext=$ac_exeext
11840 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11841 CC="$CROSSCC"
11842 ac_exeext=".exe"
11843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11844 /* end confdefs.h. */
11845 int __cdecl mainCRTStartup(void) { return 0; }
11846 _ACEOF
11847 if ac_fn_c_try_link "$LINENO"
11848 then :
11849 ac_cv_crosscflags__Wno_format=yes
11850 else $as_nop
11851 ac_cv_crosscflags__Wno_format=no
11853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11854 conftest$ac_exeext conftest.$ac_ext
11855 CFLAGS=$ac_wine_try_cflags_saved
11856 CC=$ac_wine_try_cflags_saved_cc
11857 ac_exeext=$ac_wine_try_cflags_saved_exeext
11859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11860 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11861 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11862 then :
11863 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11864 fi ;;
11865 esac
11868 if test -z "$CROSSDEBUG"
11869 then
11870 for ac_flag in $CROSSCFLAGS; do
11871 case $ac_flag in
11872 -gdwarf*) CROSSDEBUG=dwarf ;;
11873 -gcodeview) CROSSDEBUG=pdb ;;
11874 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11875 esac
11876 done
11879 ac_debug_format_seen=""
11880 for ac_flag in $CROSSCFLAGS; do
11881 case $ac_flag in
11882 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11883 esac
11884 done
11885 if test "x$ac_debug_format_seen" = x
11886 then
11887 case $CROSSDEBUG in
11888 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11889 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11890 if test ${ac_cv_crosscflags__gdwarf_4+y}
11891 then :
11892 printf %s "(cached) " >&6
11893 else $as_nop
11894 ac_wine_try_cflags_saved=$CFLAGS
11895 ac_wine_try_cflags_saved_cc=$CC
11896 ac_wine_try_cflags_saved_exeext=$ac_exeext
11897 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11898 CC="$CROSSCC"
11899 ac_exeext=".exe"
11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11902 int __cdecl mainCRTStartup(void) { return 0; }
11903 _ACEOF
11904 if ac_fn_c_try_link "$LINENO"
11905 then :
11906 ac_cv_crosscflags__gdwarf_4=yes
11907 else $as_nop
11908 ac_cv_crosscflags__gdwarf_4=no
11910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11911 conftest$ac_exeext conftest.$ac_ext
11912 CFLAGS=$ac_wine_try_cflags_saved
11913 CC=$ac_wine_try_cflags_saved_cc
11914 ac_exeext=$ac_wine_try_cflags_saved_exeext
11916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11917 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11918 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11919 then :
11920 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11921 fi ;;
11922 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11923 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11924 if test ${ac_cv_crosscflags__gcodeview+y}
11925 then :
11926 printf %s "(cached) " >&6
11927 else $as_nop
11928 ac_wine_try_cflags_saved=$CFLAGS
11929 ac_wine_try_cflags_saved_cc=$CC
11930 ac_wine_try_cflags_saved_exeext=$ac_exeext
11931 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11932 CC="$CROSSCC"
11933 ac_exeext=".exe"
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11936 int __cdecl mainCRTStartup(void) { return 0; }
11937 _ACEOF
11938 if ac_fn_c_try_link "$LINENO"
11939 then :
11940 ac_cv_crosscflags__gcodeview=yes
11941 else $as_nop
11942 ac_cv_crosscflags__gcodeview=no
11944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11945 conftest$ac_exeext conftest.$ac_ext
11946 CFLAGS=$ac_wine_try_cflags_saved
11947 CC=$ac_wine_try_cflags_saved_cc
11948 ac_exeext=$ac_wine_try_cflags_saved_exeext
11950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11951 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11952 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11953 then :
11954 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11955 fi ;;
11956 esac
11959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11960 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11961 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11962 then :
11963 printf %s "(cached) " >&6
11964 else $as_nop
11965 ac_wine_try_cflags_saved=$CFLAGS
11966 ac_wine_try_cflags_saved_cc=$CC
11967 ac_wine_try_cflags_saved_exeext=$ac_exeext
11968 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11969 CC="$CROSSCC"
11970 ac_exeext=".exe"
11971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11972 /* end confdefs.h. */
11973 int __cdecl mainCRTStartup(void) { return 0; }
11974 _ACEOF
11975 if ac_fn_c_try_link "$LINENO"
11976 then :
11977 ac_cv_crosscflags__fexcess_precision_standard=yes
11978 else $as_nop
11979 ac_cv_crosscflags__fexcess_precision_standard=no
11981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11982 conftest$ac_exeext conftest.$ac_ext
11983 CFLAGS=$ac_wine_try_cflags_saved
11984 CC=$ac_wine_try_cflags_saved_cc
11985 ac_exeext=$ac_wine_try_cflags_saved_exeext
11987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11988 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11989 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11990 then :
11991 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11995 if test "x$enable_werror" = "xyes"
11996 then
11997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11998 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11999 if test ${ac_cv_crosscflags__Werror+y}
12000 then :
12001 printf %s "(cached) " >&6
12002 else $as_nop
12003 ac_wine_try_cflags_saved=$CFLAGS
12004 ac_wine_try_cflags_saved_cc=$CC
12005 ac_wine_try_cflags_saved_exeext=$ac_exeext
12006 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
12007 CC="$CROSSCC"
12008 ac_exeext=".exe"
12009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12010 /* end confdefs.h. */
12011 int __cdecl mainCRTStartup(void) { return 0; }
12012 _ACEOF
12013 if ac_fn_c_try_link "$LINENO"
12014 then :
12015 ac_cv_crosscflags__Werror=yes
12016 else $as_nop
12017 ac_cv_crosscflags__Werror=no
12019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12020 conftest$ac_exeext conftest.$ac_ext
12021 CFLAGS=$ac_wine_try_cflags_saved
12022 CC=$ac_wine_try_cflags_saved_cc
12023 ac_exeext=$ac_wine_try_cflags_saved_exeext
12025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
12026 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
12027 if test "x$ac_cv_crosscflags__Werror" = xyes
12028 then :
12029 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
12032 if test "x$enable_build_id" = "xyes"
12033 then
12034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
12035 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
12036 if test ${ac_cv_crosscflags__Wl___build_id+y}
12037 then :
12038 printf %s "(cached) " >&6
12039 else $as_nop
12040 ac_wine_try_cflags_saved=$CFLAGS
12041 ac_wine_try_cflags_saved_cc=$CC
12042 ac_wine_try_cflags_saved_exeext=$ac_exeext
12043 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
12044 CC="$CROSSCC"
12045 ac_exeext=".exe"
12046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12047 /* end confdefs.h. */
12048 int __cdecl mainCRTStartup(void) { return 0; }
12049 _ACEOF
12050 if ac_fn_c_try_link "$LINENO"
12051 then :
12052 ac_cv_crosscflags__Wl___build_id=yes
12053 else $as_nop
12054 ac_cv_crosscflags__Wl___build_id=no
12056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12057 conftest$ac_exeext conftest.$ac_ext
12058 CFLAGS=$ac_wine_try_cflags_saved
12059 CC=$ac_wine_try_cflags_saved_cc
12060 ac_exeext=$ac_wine_try_cflags_saved_exeext
12062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
12063 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
12064 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
12065 then :
12066 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
12067 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
12071 CFLAGS=$saved_CFLAGS
12072 LDFLAGS=$saved_LDFLAGS
12073 CC="$ac_save_CC"
12076 if test "x$CROSSTARGET" = "x"
12077 then :
12078 case "x$with_mingw" in
12079 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
12080 xno) ;;
12081 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
12082 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12083 esac
12088 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
12089 then
12090 case "$host_cpu" in
12091 i[3456789]86*)
12092 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
12094 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
12095 esac
12096 for ac_prog in $ac_prefix_list
12098 # Extract the first word of "$ac_prog", so it can be a program name with args.
12099 set dummy $ac_prog; ac_word=$2
12100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12101 printf %s "checking for $ac_word... " >&6; }
12102 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12103 then :
12104 printf %s "(cached) " >&6
12105 else $as_nop
12106 if test -n "$MINGW_PKG_CONFIG"; then
12107 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12108 else
12109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12110 for as_dir in $PATH
12112 IFS=$as_save_IFS
12113 case $as_dir in #(((
12114 '') as_dir=./ ;;
12115 */) ;;
12116 *) as_dir=$as_dir/ ;;
12117 esac
12118 for ac_exec_ext in '' $ac_executable_extensions; do
12119 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12120 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12121 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12122 break 2
12124 done
12125 done
12126 IFS=$as_save_IFS
12130 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12131 if test -n "$MINGW_PKG_CONFIG"; then
12132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12133 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12134 else
12135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12136 printf "%s\n" "no" >&6; }
12140 test -n "$MINGW_PKG_CONFIG" && break
12141 done
12142 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12144 if ${FAUDIO_PE_CFLAGS:+false} :
12145 then :
12146 if test ${MINGW_PKG_CONFIG+y}
12147 then :
12148 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12151 if ${FAUDIO_PE_LIBS:+false} :
12152 then :
12153 if test ${MINGW_PKG_CONFIG+y}
12154 then :
12155 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12158 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12159 ac_save_CPPFLAGS=$CPPFLAGS
12160 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12162 printf %s "checking for MinGW FAudio.h... " >&6; }
12163 if test ${ac_cv_mingw_header_FAudio_h+y}
12164 then :
12165 printf %s "(cached) " >&6
12166 else $as_nop
12167 ac_wine_check_headers_saved_cc=$CC
12168 ac_wine_check_headers_saved_exeext=$ac_exeext
12169 CC="$CROSSCC"
12170 ac_exeext=".exe"
12171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12172 /* end confdefs.h. */
12174 #include <FAudio.h>
12176 main (void)
12180 return 0;
12182 _ACEOF
12183 if ac_fn_c_try_compile "$LINENO"
12184 then :
12185 ac_cv_mingw_header_FAudio_h=yes
12186 else $as_nop
12187 ac_cv_mingw_header_FAudio_h=no
12189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12190 CC=$ac_wine_check_headers_saved_cc
12191 ac_exeext=$ac_wine_check_headers_saved_exeext
12193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12194 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12195 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12196 then :
12197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12198 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12199 if test ${ac_cv_mingw_lib_FAudio+y}
12200 then :
12201 printf %s "(cached) " >&6
12202 else $as_nop
12203 ac_wine_check_headers_saved_cc=$CC
12204 ac_wine_check_headers_saved_exeext=$ac_exeext
12205 ac_wine_check_headers_saved_libs=$LIBS
12206 CC="$CROSSCC"
12207 ac_exeext=".exe"
12208 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12212 /* Override any GCC internal prototype to avoid an error.
12213 Use char because int might match the return type of a GCC
12214 builtin and then its argument prototype would still apply. */
12215 char FAudio_CommitOperationSet ();
12217 main (void)
12219 return FAudio_CommitOperationSet ();
12221 return 0;
12223 _ACEOF
12224 if ac_fn_c_try_link "$LINENO"
12225 then :
12226 ac_cv_mingw_lib_FAudio=yes
12227 else $as_nop
12228 ac_cv_mingw_lib_FAudio=no
12230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12231 conftest$ac_exeext conftest.$ac_ext
12232 CC=$ac_wine_check_headers_saved_cc
12233 ac_exeext=$ac_wine_check_headers_saved_exeext
12234 LIBS=$ac_wine_check_headers_saved_libs
12236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12237 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12238 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12239 then :
12241 else $as_nop
12242 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12244 else $as_nop
12245 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12247 CPPFLAGS=$ac_save_CPPFLAGS
12249 if test "x$FAUDIO_PE_LIBS" = "x"
12250 then
12251 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12254 if ${JPEG_PE_CFLAGS:+false} :
12255 then :
12256 if test ${MINGW_PKG_CONFIG+y}
12257 then :
12258 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12261 if ${JPEG_PE_LIBS:+false} :
12262 then :
12263 if test ${MINGW_PKG_CONFIG+y}
12264 then :
12265 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12269 ac_save_CPPFLAGS=$CPPFLAGS
12270 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12272 printf %s "checking for MinGW jpeglib.h... " >&6; }
12273 if test ${ac_cv_mingw_header_jpeglib_h+y}
12274 then :
12275 printf %s "(cached) " >&6
12276 else $as_nop
12277 ac_wine_check_headers_saved_cc=$CC
12278 ac_wine_check_headers_saved_exeext=$ac_exeext
12279 CC="$CROSSCC"
12280 ac_exeext=".exe"
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12283 #include <stddef.h>
12284 #include <stdio.h>
12285 #include <jpeglib.h>
12287 main (void)
12291 return 0;
12293 _ACEOF
12294 if ac_fn_c_try_compile "$LINENO"
12295 then :
12296 ac_cv_mingw_header_jpeglib_h=yes
12297 else $as_nop
12298 ac_cv_mingw_header_jpeglib_h=no
12300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12301 CC=$ac_wine_check_headers_saved_cc
12302 ac_exeext=$ac_wine_check_headers_saved_exeext
12304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12305 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12306 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12307 then :
12308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12309 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12310 if test ${ac_cv_mingw_lib_jpeg+y}
12311 then :
12312 printf %s "(cached) " >&6
12313 else $as_nop
12314 ac_wine_check_headers_saved_cc=$CC
12315 ac_wine_check_headers_saved_exeext=$ac_exeext
12316 ac_wine_check_headers_saved_libs=$LIBS
12317 CC="$CROSSCC"
12318 ac_exeext=".exe"
12319 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12323 /* Override any GCC internal prototype to avoid an error.
12324 Use char because int might match the return type of a GCC
12325 builtin and then its argument prototype would still apply. */
12326 char jpeg_start_decompress ();
12328 main (void)
12330 return jpeg_start_decompress ();
12332 return 0;
12334 _ACEOF
12335 if ac_fn_c_try_link "$LINENO"
12336 then :
12337 ac_cv_mingw_lib_jpeg=yes
12338 else $as_nop
12339 ac_cv_mingw_lib_jpeg=no
12341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12342 conftest$ac_exeext conftest.$ac_ext
12343 CC=$ac_wine_check_headers_saved_cc
12344 ac_exeext=$ac_wine_check_headers_saved_exeext
12345 LIBS=$ac_wine_check_headers_saved_libs
12347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12348 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12349 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12350 then :
12352 else $as_nop
12353 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12355 else $as_nop
12356 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12358 CPPFLAGS=$ac_save_CPPFLAGS
12360 if test "x$JPEG_PE_LIBS" = "x"
12361 then
12362 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12365 if ${LCMS2_PE_CFLAGS:+false} :
12366 then :
12367 if test ${MINGW_PKG_CONFIG+y}
12368 then :
12369 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12372 if ${LCMS2_PE_LIBS:+false} :
12373 then :
12374 if test ${MINGW_PKG_CONFIG+y}
12375 then :
12376 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12379 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12380 ac_save_CPPFLAGS=$CPPFLAGS
12381 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12383 printf %s "checking for MinGW lcms2.h... " >&6; }
12384 if test ${ac_cv_mingw_header_lcms2_h+y}
12385 then :
12386 printf %s "(cached) " >&6
12387 else $as_nop
12388 ac_wine_check_headers_saved_cc=$CC
12389 ac_wine_check_headers_saved_exeext=$ac_exeext
12390 CC="$CROSSCC"
12391 ac_exeext=".exe"
12392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12393 /* end confdefs.h. */
12395 #include <lcms2.h>
12397 main (void)
12401 return 0;
12403 _ACEOF
12404 if ac_fn_c_try_compile "$LINENO"
12405 then :
12406 ac_cv_mingw_header_lcms2_h=yes
12407 else $as_nop
12408 ac_cv_mingw_header_lcms2_h=no
12410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12411 CC=$ac_wine_check_headers_saved_cc
12412 ac_exeext=$ac_wine_check_headers_saved_exeext
12414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12415 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12416 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12417 then :
12418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12419 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12420 if test ${ac_cv_mingw_lib_lcms2+y}
12421 then :
12422 printf %s "(cached) " >&6
12423 else $as_nop
12424 ac_wine_check_headers_saved_cc=$CC
12425 ac_wine_check_headers_saved_exeext=$ac_exeext
12426 ac_wine_check_headers_saved_libs=$LIBS
12427 CC="$CROSSCC"
12428 ac_exeext=".exe"
12429 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12433 /* Override any GCC internal prototype to avoid an error.
12434 Use char because int might match the return type of a GCC
12435 builtin and then its argument prototype would still apply. */
12436 char cmsOpenProfileFromFile ();
12438 main (void)
12440 return cmsOpenProfileFromFile ();
12442 return 0;
12444 _ACEOF
12445 if ac_fn_c_try_link "$LINENO"
12446 then :
12447 ac_cv_mingw_lib_lcms2=yes
12448 else $as_nop
12449 ac_cv_mingw_lib_lcms2=no
12451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12452 conftest$ac_exeext conftest.$ac_ext
12453 CC=$ac_wine_check_headers_saved_cc
12454 ac_exeext=$ac_wine_check_headers_saved_exeext
12455 LIBS=$ac_wine_check_headers_saved_libs
12457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12458 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12459 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12460 then :
12462 else $as_nop
12463 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12465 else $as_nop
12466 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12468 CPPFLAGS=$ac_save_CPPFLAGS
12470 if test "x$LCMS2_PE_LIBS" = "x"
12471 then
12472 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12475 if ${MPG123_PE_CFLAGS:+false} :
12476 then :
12477 if test ${MINGW_PKG_CONFIG+y}
12478 then :
12479 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12482 if ${MPG123_PE_LIBS:+false} :
12483 then :
12484 if test ${MINGW_PKG_CONFIG+y}
12485 then :
12486 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12489 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12490 ac_save_CPPFLAGS=$CPPFLAGS
12491 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12493 printf %s "checking for MinGW mpg123.h... " >&6; }
12494 if test ${ac_cv_mingw_header_mpg123_h+y}
12495 then :
12496 printf %s "(cached) " >&6
12497 else $as_nop
12498 ac_wine_check_headers_saved_cc=$CC
12499 ac_wine_check_headers_saved_exeext=$ac_exeext
12500 CC="$CROSSCC"
12501 ac_exeext=".exe"
12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12505 #include <mpg123.h>
12507 main (void)
12511 return 0;
12513 _ACEOF
12514 if ac_fn_c_try_compile "$LINENO"
12515 then :
12516 ac_cv_mingw_header_mpg123_h=yes
12517 else $as_nop
12518 ac_cv_mingw_header_mpg123_h=no
12520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12521 CC=$ac_wine_check_headers_saved_cc
12522 ac_exeext=$ac_wine_check_headers_saved_exeext
12524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12525 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12526 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12527 then :
12528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12529 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12530 if test ${ac_cv_mingw_lib_mpg123+y}
12531 then :
12532 printf %s "(cached) " >&6
12533 else $as_nop
12534 ac_wine_check_headers_saved_cc=$CC
12535 ac_wine_check_headers_saved_exeext=$ac_exeext
12536 ac_wine_check_headers_saved_libs=$LIBS
12537 CC="$CROSSCC"
12538 ac_exeext=".exe"
12539 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12543 /* Override any GCC internal prototype to avoid an error.
12544 Use char because int might match the return type of a GCC
12545 builtin and then its argument prototype would still apply. */
12546 char mpg123_feed ();
12548 main (void)
12550 return mpg123_feed ();
12552 return 0;
12554 _ACEOF
12555 if ac_fn_c_try_link "$LINENO"
12556 then :
12557 ac_cv_mingw_lib_mpg123=yes
12558 else $as_nop
12559 ac_cv_mingw_lib_mpg123=no
12561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12562 conftest$ac_exeext conftest.$ac_ext
12563 CC=$ac_wine_check_headers_saved_cc
12564 ac_exeext=$ac_wine_check_headers_saved_exeext
12565 LIBS=$ac_wine_check_headers_saved_libs
12567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12568 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12569 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12570 then :
12572 else $as_nop
12573 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12575 else $as_nop
12576 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12578 CPPFLAGS=$ac_save_CPPFLAGS
12580 if test "x$MPG123_PE_LIBS" = "x"
12581 then
12582 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12585 if ${PNG_PE_CFLAGS:+false} :
12586 then :
12587 if test ${MINGW_PKG_CONFIG+y}
12588 then :
12589 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12592 if ${PNG_PE_LIBS:+false} :
12593 then :
12594 if test ${MINGW_PKG_CONFIG+y}
12595 then :
12596 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12600 ac_save_CPPFLAGS=$CPPFLAGS
12601 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12603 printf %s "checking for MinGW png.h... " >&6; }
12604 if test ${ac_cv_mingw_header_png_h+y}
12605 then :
12606 printf %s "(cached) " >&6
12607 else $as_nop
12608 ac_wine_check_headers_saved_cc=$CC
12609 ac_wine_check_headers_saved_exeext=$ac_exeext
12610 CC="$CROSSCC"
12611 ac_exeext=".exe"
12612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12613 /* end confdefs.h. */
12615 #include <png.h>
12617 main (void)
12621 return 0;
12623 _ACEOF
12624 if ac_fn_c_try_compile "$LINENO"
12625 then :
12626 ac_cv_mingw_header_png_h=yes
12627 else $as_nop
12628 ac_cv_mingw_header_png_h=no
12630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12631 CC=$ac_wine_check_headers_saved_cc
12632 ac_exeext=$ac_wine_check_headers_saved_exeext
12634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12635 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12636 if test "x$ac_cv_mingw_header_png_h" = xyes
12637 then :
12638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12639 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12640 if test ${ac_cv_mingw_lib_png+y}
12641 then :
12642 printf %s "(cached) " >&6
12643 else $as_nop
12644 ac_wine_check_headers_saved_cc=$CC
12645 ac_wine_check_headers_saved_exeext=$ac_exeext
12646 ac_wine_check_headers_saved_libs=$LIBS
12647 CC="$CROSSCC"
12648 ac_exeext=".exe"
12649 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12653 /* Override any GCC internal prototype to avoid an error.
12654 Use char because int might match the return type of a GCC
12655 builtin and then its argument prototype would still apply. */
12656 char png_create_read_struct ();
12658 main (void)
12660 return png_create_read_struct ();
12662 return 0;
12664 _ACEOF
12665 if ac_fn_c_try_link "$LINENO"
12666 then :
12667 ac_cv_mingw_lib_png=yes
12668 else $as_nop
12669 ac_cv_mingw_lib_png=no
12671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12672 conftest$ac_exeext conftest.$ac_ext
12673 CC=$ac_wine_check_headers_saved_cc
12674 ac_exeext=$ac_wine_check_headers_saved_exeext
12675 LIBS=$ac_wine_check_headers_saved_libs
12677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12678 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12679 if test "x$ac_cv_mingw_lib_png" = xyes
12680 then :
12682 else $as_nop
12683 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12685 else $as_nop
12686 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12688 CPPFLAGS=$ac_save_CPPFLAGS
12690 if test "x$PNG_PE_LIBS" = "x"
12691 then
12692 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12695 if ${TIFF_PE_CFLAGS:+false} :
12696 then :
12697 if test ${MINGW_PKG_CONFIG+y}
12698 then :
12699 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12702 if ${TIFF_PE_LIBS:+false} :
12703 then :
12704 if test ${MINGW_PKG_CONFIG+y}
12705 then :
12706 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12710 ac_save_CPPFLAGS=$CPPFLAGS
12711 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12713 printf %s "checking for MinGW tiffio.h... " >&6; }
12714 if test ${ac_cv_mingw_header_tiffio_h+y}
12715 then :
12716 printf %s "(cached) " >&6
12717 else $as_nop
12718 ac_wine_check_headers_saved_cc=$CC
12719 ac_wine_check_headers_saved_exeext=$ac_exeext
12720 CC="$CROSSCC"
12721 ac_exeext=".exe"
12722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12723 /* end confdefs.h. */
12725 #include <tiffio.h>
12727 main (void)
12731 return 0;
12733 _ACEOF
12734 if ac_fn_c_try_compile "$LINENO"
12735 then :
12736 ac_cv_mingw_header_tiffio_h=yes
12737 else $as_nop
12738 ac_cv_mingw_header_tiffio_h=no
12740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12741 CC=$ac_wine_check_headers_saved_cc
12742 ac_exeext=$ac_wine_check_headers_saved_exeext
12744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12745 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12746 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12747 then :
12748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12749 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12750 if test ${ac_cv_mingw_lib_tiff+y}
12751 then :
12752 printf %s "(cached) " >&6
12753 else $as_nop
12754 ac_wine_check_headers_saved_cc=$CC
12755 ac_wine_check_headers_saved_exeext=$ac_exeext
12756 ac_wine_check_headers_saved_libs=$LIBS
12757 CC="$CROSSCC"
12758 ac_exeext=".exe"
12759 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12761 /* end confdefs.h. */
12763 /* Override any GCC internal prototype to avoid an error.
12764 Use char because int might match the return type of a GCC
12765 builtin and then its argument prototype would still apply. */
12766 char TIFFClientOpen ();
12768 main (void)
12770 return TIFFClientOpen ();
12772 return 0;
12774 _ACEOF
12775 if ac_fn_c_try_link "$LINENO"
12776 then :
12777 ac_cv_mingw_lib_tiff=yes
12778 else $as_nop
12779 ac_cv_mingw_lib_tiff=no
12781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12782 conftest$ac_exeext conftest.$ac_ext
12783 CC=$ac_wine_check_headers_saved_cc
12784 ac_exeext=$ac_wine_check_headers_saved_exeext
12785 LIBS=$ac_wine_check_headers_saved_libs
12787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12788 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12789 if test "x$ac_cv_mingw_lib_tiff" = xyes
12790 then :
12792 else $as_nop
12793 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12795 else $as_nop
12796 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12798 CPPFLAGS=$ac_save_CPPFLAGS
12800 if test "x$TIFF_PE_LIBS" = "x"
12801 then
12802 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12805 if ${XML2_PE_CFLAGS:+false} :
12806 then :
12807 if test ${MINGW_PKG_CONFIG+y}
12808 then :
12809 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12812 if ${XML2_PE_LIBS:+false} :
12813 then :
12814 if test ${MINGW_PKG_CONFIG+y}
12815 then :
12816 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12819 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12820 ac_save_CPPFLAGS=$CPPFLAGS
12821 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12823 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12824 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12825 then :
12826 printf %s "(cached) " >&6
12827 else $as_nop
12828 ac_wine_check_headers_saved_cc=$CC
12829 ac_wine_check_headers_saved_exeext=$ac_exeext
12830 CC="$CROSSCC"
12831 ac_exeext=".exe"
12832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12833 /* end confdefs.h. */
12835 #include <libxml/parser.h>
12837 main (void)
12841 return 0;
12843 _ACEOF
12844 if ac_fn_c_try_compile "$LINENO"
12845 then :
12846 ac_cv_mingw_header_libxml_parser_h=yes
12847 else $as_nop
12848 ac_cv_mingw_header_libxml_parser_h=no
12850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12851 CC=$ac_wine_check_headers_saved_cc
12852 ac_exeext=$ac_wine_check_headers_saved_exeext
12854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12855 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12856 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12857 then :
12860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12861 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12862 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12863 then :
12864 printf %s "(cached) " >&6
12865 else $as_nop
12866 ac_wine_check_headers_saved_cc=$CC
12867 ac_wine_check_headers_saved_exeext=$ac_exeext
12868 CC="$CROSSCC"
12869 ac_exeext=".exe"
12870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12871 /* end confdefs.h. */
12873 #include <libxml/xmlsave.h>
12875 main (void)
12879 return 0;
12881 _ACEOF
12882 if ac_fn_c_try_compile "$LINENO"
12883 then :
12884 ac_cv_mingw_header_libxml_xmlsave_h=yes
12885 else $as_nop
12886 ac_cv_mingw_header_libxml_xmlsave_h=no
12888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12889 CC=$ac_wine_check_headers_saved_cc
12890 ac_exeext=$ac_wine_check_headers_saved_exeext
12892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12893 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12894 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12895 then :
12898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12899 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12900 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12901 then :
12902 printf %s "(cached) " >&6
12903 else $as_nop
12904 ac_wine_check_headers_saved_cc=$CC
12905 ac_wine_check_headers_saved_exeext=$ac_exeext
12906 CC="$CROSSCC"
12907 ac_exeext=".exe"
12908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12911 #include <libxml/SAX2.h>
12913 main (void)
12917 return 0;
12919 _ACEOF
12920 if ac_fn_c_try_compile "$LINENO"
12921 then :
12922 ac_cv_mingw_header_libxml_SAX2_h=yes
12923 else $as_nop
12924 ac_cv_mingw_header_libxml_SAX2_h=no
12926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12927 CC=$ac_wine_check_headers_saved_cc
12928 ac_exeext=$ac_wine_check_headers_saved_exeext
12930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12931 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12932 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12933 then :
12936 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"
12937 then
12938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12939 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12940 if test ${ac_cv_mingw_lib_xml2+y}
12941 then :
12942 printf %s "(cached) " >&6
12943 else $as_nop
12944 ac_wine_check_headers_saved_cc=$CC
12945 ac_wine_check_headers_saved_exeext=$ac_exeext
12946 ac_wine_check_headers_saved_libs=$LIBS
12947 CC="$CROSSCC"
12948 ac_exeext=".exe"
12949 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12951 /* end confdefs.h. */
12953 /* Override any GCC internal prototype to avoid an error.
12954 Use char because int might match the return type of a GCC
12955 builtin and then its argument prototype would still apply. */
12956 char xmlFirstElementChild ();
12958 main (void)
12960 return xmlFirstElementChild ();
12962 return 0;
12964 _ACEOF
12965 if ac_fn_c_try_link "$LINENO"
12966 then :
12967 ac_cv_mingw_lib_xml2=yes
12968 else $as_nop
12969 ac_cv_mingw_lib_xml2=no
12971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12972 conftest$ac_exeext conftest.$ac_ext
12973 CC=$ac_wine_check_headers_saved_cc
12974 ac_exeext=$ac_wine_check_headers_saved_exeext
12975 LIBS=$ac_wine_check_headers_saved_libs
12977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12978 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12979 if test "x$ac_cv_mingw_lib_xml2" = xyes
12980 then :
12982 else $as_nop
12983 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12985 else
12986 XML2_PE_CFLAGS=""
12987 XML2_PE_LIBS=""
12989 CPPFLAGS=$ac_save_CPPFLAGS
12991 if test "x$XML2_PE_LIBS" = "x"
12992 then
12993 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12996 if ${XSLT_PE_CFLAGS:+false} :
12997 then :
12998 if test ${MINGW_PKG_CONFIG+y}
12999 then :
13000 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
13003 if ${XSLT_PE_LIBS:+false} :
13004 then :
13005 if test ${MINGW_PKG_CONFIG+y}
13006 then :
13007 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13010 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13011 ac_save_CPPFLAGS=$CPPFLAGS
13012 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13014 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13015 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13016 then :
13017 printf %s "(cached) " >&6
13018 else $as_nop
13019 ac_wine_check_headers_saved_cc=$CC
13020 ac_wine_check_headers_saved_exeext=$ac_exeext
13021 CC="$CROSSCC"
13022 ac_exeext=".exe"
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13026 #include <libxslt/pattern.h>
13028 main (void)
13032 return 0;
13034 _ACEOF
13035 if ac_fn_c_try_compile "$LINENO"
13036 then :
13037 ac_cv_mingw_header_libxslt_pattern_h=yes
13038 else $as_nop
13039 ac_cv_mingw_header_libxslt_pattern_h=no
13041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13042 CC=$ac_wine_check_headers_saved_cc
13043 ac_exeext=$ac_wine_check_headers_saved_exeext
13045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13046 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13047 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13048 then :
13051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13052 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13053 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13054 then :
13055 printf %s "(cached) " >&6
13056 else $as_nop
13057 ac_wine_check_headers_saved_cc=$CC
13058 ac_wine_check_headers_saved_exeext=$ac_exeext
13059 CC="$CROSSCC"
13060 ac_exeext=".exe"
13061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13064 #include <libxslt/transform.h>
13066 main (void)
13070 return 0;
13072 _ACEOF
13073 if ac_fn_c_try_compile "$LINENO"
13074 then :
13075 ac_cv_mingw_header_libxslt_transform_h=yes
13076 else $as_nop
13077 ac_cv_mingw_header_libxslt_transform_h=no
13079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13080 CC=$ac_wine_check_headers_saved_cc
13081 ac_exeext=$ac_wine_check_headers_saved_exeext
13083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13084 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13085 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13086 then :
13089 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13090 then
13091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13092 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13093 if test ${ac_cv_mingw_lib_xslt+y}
13094 then :
13095 printf %s "(cached) " >&6
13096 else $as_nop
13097 ac_wine_check_headers_saved_cc=$CC
13098 ac_wine_check_headers_saved_exeext=$ac_exeext
13099 ac_wine_check_headers_saved_libs=$LIBS
13100 CC="$CROSSCC"
13101 ac_exeext=".exe"
13102 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13104 /* end confdefs.h. */
13106 /* Override any GCC internal prototype to avoid an error.
13107 Use char because int might match the return type of a GCC
13108 builtin and then its argument prototype would still apply. */
13109 char xsltCompilePattern ();
13111 main (void)
13113 return xsltCompilePattern ();
13115 return 0;
13117 _ACEOF
13118 if ac_fn_c_try_link "$LINENO"
13119 then :
13120 ac_cv_mingw_lib_xslt=yes
13121 else $as_nop
13122 ac_cv_mingw_lib_xslt=no
13124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13125 conftest$ac_exeext conftest.$ac_ext
13126 CC=$ac_wine_check_headers_saved_cc
13127 ac_exeext=$ac_wine_check_headers_saved_exeext
13128 LIBS=$ac_wine_check_headers_saved_libs
13130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13131 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13132 if test "x$ac_cv_mingw_lib_xslt" = xyes
13133 then :
13135 else $as_nop
13136 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13138 else
13139 XSLT_PE_CFLAGS=""
13140 XSLT_PE_LIBS=""
13142 CPPFLAGS=$ac_save_CPPFLAGS
13144 if test "x$XSLT_PE_LIBS" = "x"
13145 then
13146 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13149 if ${ZLIB_PE_CFLAGS:+false} :
13150 then :
13151 if test ${MINGW_PKG_CONFIG+y}
13152 then :
13153 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13156 if ${ZLIB_PE_LIBS:+false} :
13157 then :
13158 if test ${MINGW_PKG_CONFIG+y}
13159 then :
13160 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13163 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13164 ac_save_CPPFLAGS=$CPPFLAGS
13165 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13167 printf %s "checking for MinGW zlib.h... " >&6; }
13168 if test ${ac_cv_mingw_header_zlib_h+y}
13169 then :
13170 printf %s "(cached) " >&6
13171 else $as_nop
13172 ac_wine_check_headers_saved_cc=$CC
13173 ac_wine_check_headers_saved_exeext=$ac_exeext
13174 CC="$CROSSCC"
13175 ac_exeext=".exe"
13176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13179 #include <zlib.h>
13181 main (void)
13185 return 0;
13187 _ACEOF
13188 if ac_fn_c_try_compile "$LINENO"
13189 then :
13190 ac_cv_mingw_header_zlib_h=yes
13191 else $as_nop
13192 ac_cv_mingw_header_zlib_h=no
13194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13195 CC=$ac_wine_check_headers_saved_cc
13196 ac_exeext=$ac_wine_check_headers_saved_exeext
13198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13199 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13200 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13201 then :
13202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13203 printf %s "checking for inflate in MinGW -lz... " >&6; }
13204 if test ${ac_cv_mingw_lib_z+y}
13205 then :
13206 printf %s "(cached) " >&6
13207 else $as_nop
13208 ac_wine_check_headers_saved_cc=$CC
13209 ac_wine_check_headers_saved_exeext=$ac_exeext
13210 ac_wine_check_headers_saved_libs=$LIBS
13211 CC="$CROSSCC"
13212 ac_exeext=".exe"
13213 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13215 /* end confdefs.h. */
13217 /* Override any GCC internal prototype to avoid an error.
13218 Use char because int might match the return type of a GCC
13219 builtin and then its argument prototype would still apply. */
13220 char inflate ();
13222 main (void)
13224 return inflate ();
13226 return 0;
13228 _ACEOF
13229 if ac_fn_c_try_link "$LINENO"
13230 then :
13231 ac_cv_mingw_lib_z=yes
13232 else $as_nop
13233 ac_cv_mingw_lib_z=no
13235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13236 conftest$ac_exeext conftest.$ac_ext
13237 CC=$ac_wine_check_headers_saved_cc
13238 ac_exeext=$ac_wine_check_headers_saved_exeext
13239 LIBS=$ac_wine_check_headers_saved_libs
13241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13242 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13243 if test "x$ac_cv_mingw_lib_z" = xyes
13244 then :
13246 else $as_nop
13247 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13249 else $as_nop
13250 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13252 CPPFLAGS=$ac_save_CPPFLAGS
13254 if test "x$ZLIB_PE_LIBS" = "x"
13255 then
13256 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13260 if ${FAUDIO_PE_LIBS:+false} :
13261 then :
13262 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13263 if ${FAUDIO_PE_CFLAGS:+false} :
13264 then :
13265 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13266 else $as_nop
13267 enable_faudio=no
13269 else $as_nop
13270 enable_faudio=no
13272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13275 if ${GSM_PE_LIBS:+false} :
13276 then :
13277 GSM_PE_LIBS=gsm
13278 if ${GSM_PE_CFLAGS:+false} :
13279 then :
13280 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13281 else $as_nop
13282 enable_gsm=no
13284 else $as_nop
13285 enable_gsm=no
13287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13290 if ${JPEG_PE_LIBS:+false} :
13291 then :
13292 JPEG_PE_LIBS=jpeg
13293 if ${JPEG_PE_CFLAGS:+false} :
13294 then :
13295 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13296 else $as_nop
13297 enable_jpeg=no
13299 else $as_nop
13300 enable_jpeg=no
13302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13305 if ${JXR_PE_LIBS:+false} :
13306 then :
13307 JXR_PE_LIBS=jxr
13308 if ${JXR_PE_CFLAGS:+false} :
13309 then :
13310 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13311 else $as_nop
13312 enable_jxr=no
13314 else $as_nop
13315 enable_jxr=no
13317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13320 if ${LCMS2_PE_LIBS:+false} :
13321 then :
13322 LCMS2_PE_LIBS=lcms2
13323 if ${LCMS2_PE_CFLAGS:+false} :
13324 then :
13325 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13326 else $as_nop
13327 enable_lcms2=no
13329 else $as_nop
13330 enable_lcms2=no
13332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13335 if ${MPG123_PE_LIBS:+false} :
13336 then :
13337 MPG123_PE_LIBS=mpg123
13338 if ${MPG123_PE_CFLAGS:+false} :
13339 then :
13340 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13341 else $as_nop
13342 enable_mpg123=no
13344 else $as_nop
13345 enable_mpg123=no
13347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13350 if ${PNG_PE_LIBS:+false} :
13351 then :
13352 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13353 if ${PNG_PE_CFLAGS:+false} :
13354 then :
13355 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13356 else $as_nop
13357 enable_png=no
13359 else $as_nop
13360 enable_png=no
13362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13365 if ${TIFF_PE_LIBS:+false} :
13366 then :
13367 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13368 if ${TIFF_PE_CFLAGS:+false} :
13369 then :
13370 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13371 else $as_nop
13372 enable_tiff=no
13374 else $as_nop
13375 enable_tiff=no
13377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13380 if ${XML2_PE_LIBS:+false} :
13381 then :
13382 XML2_PE_LIBS=xml2
13383 if ${XML2_PE_CFLAGS:+false} :
13384 then :
13385 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13386 else $as_nop
13387 enable_xml2=no
13389 else $as_nop
13390 enable_xml2=no
13392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13395 if ${XSLT_PE_LIBS:+false} :
13396 then :
13397 XSLT_PE_LIBS=xslt
13398 if ${XSLT_PE_CFLAGS:+false} :
13399 then :
13400 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13401 else $as_nop
13402 enable_xslt=no
13404 else $as_nop
13405 enable_xslt=no
13407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13410 if ${ZLIB_PE_LIBS:+false} :
13411 then :
13412 ZLIB_PE_LIBS=z
13413 if ${ZLIB_PE_CFLAGS:+false} :
13414 then :
13415 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13416 else $as_nop
13417 enable_zlib=no
13419 else $as_nop
13420 enable_zlib=no
13422 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13427 if test "$ac_cv_header_pthread_h" = "yes"
13428 then
13429 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13430 if test "x$ac_cv_func_pthread_create" = xyes
13431 then :
13433 else $as_nop
13434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13435 printf %s "checking for pthread_create in -lpthread... " >&6; }
13436 if test ${ac_cv_lib_pthread_pthread_create+y}
13437 then :
13438 printf %s "(cached) " >&6
13439 else $as_nop
13440 ac_check_lib_save_LIBS=$LIBS
13441 LIBS="-lpthread $LIBS"
13442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13443 /* end confdefs.h. */
13445 /* Override any GCC internal prototype to avoid an error.
13446 Use char because int might match the return type of a GCC
13447 builtin and then its argument prototype would still apply. */
13448 char pthread_create ();
13450 main (void)
13452 return pthread_create ();
13454 return 0;
13456 _ACEOF
13457 if ac_fn_c_try_link "$LINENO"
13458 then :
13459 ac_cv_lib_pthread_pthread_create=yes
13460 else $as_nop
13461 ac_cv_lib_pthread_pthread_create=no
13463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13464 conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_lib_save_LIBS
13467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13468 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13469 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13470 then :
13471 PTHREAD_LIBS="-lpthread"
13478 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13479 then :
13480 case "x$with_pthread" in
13481 xno) ;;
13482 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13483 Wine cannot support threads without libpthread.
13484 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13485 esac
13490 ac_ext=c
13491 ac_cpp='$CPP $CPPFLAGS'
13492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13496 printf %s "checking how to run the C preprocessor... " >&6; }
13497 # On Suns, sometimes $CPP names a directory.
13498 if test -n "$CPP" && test -d "$CPP"; then
13499 CPP=
13501 if test -z "$CPP"; then
13502 if test ${ac_cv_prog_CPP+y}
13503 then :
13504 printf %s "(cached) " >&6
13505 else $as_nop
13506 # Double quotes because $CC needs to be expanded
13507 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13509 ac_preproc_ok=false
13510 for ac_c_preproc_warn_flag in '' yes
13512 # Use a header file that comes with gcc, so configuring glibc
13513 # with a fresh cross-compiler works.
13514 # On the NeXT, cc -E runs the code through the compiler's parser,
13515 # not just through cpp. "Syntax error" is here to catch this case.
13516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13517 /* end confdefs.h. */
13518 #include <limits.h>
13519 Syntax error
13520 _ACEOF
13521 if ac_fn_c_try_cpp "$LINENO"
13522 then :
13524 else $as_nop
13525 # Broken: fails on valid input.
13526 continue
13528 rm -f conftest.err conftest.i conftest.$ac_ext
13530 # OK, works on sane cases. Now check whether nonexistent headers
13531 # can be detected and how.
13532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13533 /* end confdefs.h. */
13534 #include <ac_nonexistent.h>
13535 _ACEOF
13536 if ac_fn_c_try_cpp "$LINENO"
13537 then :
13538 # Broken: success on invalid input.
13539 continue
13540 else $as_nop
13541 # Passes both tests.
13542 ac_preproc_ok=:
13543 break
13545 rm -f conftest.err conftest.i conftest.$ac_ext
13547 done
13548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13549 rm -f conftest.i conftest.err conftest.$ac_ext
13550 if $ac_preproc_ok
13551 then :
13552 break
13555 done
13556 ac_cv_prog_CPP=$CPP
13559 CPP=$ac_cv_prog_CPP
13560 else
13561 ac_cv_prog_CPP=$CPP
13563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13564 printf "%s\n" "$CPP" >&6; }
13565 ac_preproc_ok=false
13566 for ac_c_preproc_warn_flag in '' yes
13568 # Use a header file that comes with gcc, so configuring glibc
13569 # with a fresh cross-compiler works.
13570 # On the NeXT, cc -E runs the code through the compiler's parser,
13571 # not just through cpp. "Syntax error" is here to catch this case.
13572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13574 #include <limits.h>
13575 Syntax error
13576 _ACEOF
13577 if ac_fn_c_try_cpp "$LINENO"
13578 then :
13580 else $as_nop
13581 # Broken: fails on valid input.
13582 continue
13584 rm -f conftest.err conftest.i conftest.$ac_ext
13586 # OK, works on sane cases. Now check whether nonexistent headers
13587 # can be detected and how.
13588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13590 #include <ac_nonexistent.h>
13591 _ACEOF
13592 if ac_fn_c_try_cpp "$LINENO"
13593 then :
13594 # Broken: success on invalid input.
13595 continue
13596 else $as_nop
13597 # Passes both tests.
13598 ac_preproc_ok=:
13599 break
13601 rm -f conftest.err conftest.i conftest.$ac_ext
13603 done
13604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13605 rm -f conftest.i conftest.err conftest.$ac_ext
13606 if $ac_preproc_ok
13607 then :
13609 else $as_nop
13610 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13611 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13612 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13613 See \`config.log' for more details" "$LINENO" 5; }
13616 ac_ext=c
13617 ac_cpp='$CPP $CPPFLAGS'
13618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13624 printf %s "checking for X... " >&6; }
13627 # Check whether --with-x was given.
13628 if test ${with_x+y}
13629 then :
13630 withval=$with_x;
13633 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13634 if test "x$with_x" = xno; then
13635 # The user explicitly disabled X.
13636 have_x=disabled
13637 else
13638 case $x_includes,$x_libraries in #(
13639 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13640 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13641 then :
13642 printf %s "(cached) " >&6
13643 else $as_nop
13644 # One or both of the vars are not set, and there is no cached value.
13645 ac_x_includes=no
13646 ac_x_libraries=no
13647 # Do we need to do anything special at all?
13648 ac_save_LIBS=$LIBS
13649 LIBS="-lX11 $LIBS"
13650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13652 #include <X11/Xlib.h>
13654 main (void)
13656 XrmInitialize ()
13658 return 0;
13660 _ACEOF
13661 if ac_fn_c_try_link "$LINENO"
13662 then :
13663 # We can compile and link X programs with no special options.
13664 ac_x_includes=
13665 ac_x_libraries=
13667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13668 conftest$ac_exeext conftest.$ac_ext
13669 LIBS="$ac_save_LIBS"
13670 # If that didn't work, only try xmkmf and file system searches
13671 # for native compilation.
13672 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13673 then :
13674 rm -f -r conftest.dir
13675 if mkdir conftest.dir; then
13676 cd conftest.dir
13677 cat >Imakefile <<'_ACEOF'
13678 incroot:
13679 @echo incroot='${INCROOT}'
13680 usrlibdir:
13681 @echo usrlibdir='${USRLIBDIR}'
13682 libdir:
13683 @echo libdir='${LIBDIR}'
13684 _ACEOF
13685 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13686 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13687 for ac_var in incroot usrlibdir libdir; do
13688 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13689 done
13690 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13691 for ac_extension in a so sl dylib la dll; do
13692 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13693 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13694 ac_im_usrlibdir=$ac_im_libdir; break
13696 done
13697 # Screen out bogus values from the imake configuration. They are
13698 # bogus both because they are the default anyway, and because
13699 # using them would break gcc on systems where it needs fixed includes.
13700 case $ac_im_incroot in
13701 /usr/include) ac_x_includes= ;;
13702 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13703 esac
13704 case $ac_im_usrlibdir in
13705 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13706 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13707 esac
13709 cd ..
13710 rm -f -r conftest.dir
13713 # Standard set of common directories for X headers.
13714 # Check X11 before X11Rn because it is often a symlink to the current release.
13715 ac_x_header_dirs='
13716 /usr/X11/include
13717 /usr/X11R7/include
13718 /usr/X11R6/include
13719 /usr/X11R5/include
13720 /usr/X11R4/include
13722 /usr/include/X11
13723 /usr/include/X11R7
13724 /usr/include/X11R6
13725 /usr/include/X11R5
13726 /usr/include/X11R4
13728 /usr/local/X11/include
13729 /usr/local/X11R7/include
13730 /usr/local/X11R6/include
13731 /usr/local/X11R5/include
13732 /usr/local/X11R4/include
13734 /usr/local/include/X11
13735 /usr/local/include/X11R7
13736 /usr/local/include/X11R6
13737 /usr/local/include/X11R5
13738 /usr/local/include/X11R4
13740 /opt/X11/include
13742 /usr/X386/include
13743 /usr/x386/include
13744 /usr/XFree86/include/X11
13746 /usr/include
13747 /usr/local/include
13748 /usr/unsupported/include
13749 /usr/athena/include
13750 /usr/local/x11r5/include
13751 /usr/lpp/Xamples/include
13753 /usr/openwin/include
13754 /usr/openwin/share/include'
13756 if test "$ac_x_includes" = no; then
13757 # Guess where to find include files, by looking for Xlib.h.
13758 # First, try using that file with no special directory specified.
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13761 #include <X11/Xlib.h>
13762 _ACEOF
13763 if ac_fn_c_try_cpp "$LINENO"
13764 then :
13765 # We can compile using X headers with no special include directory.
13766 ac_x_includes=
13767 else $as_nop
13768 for ac_dir in $ac_x_header_dirs; do
13769 if test -r "$ac_dir/X11/Xlib.h"; then
13770 ac_x_includes=$ac_dir
13771 break
13773 done
13775 rm -f conftest.err conftest.i conftest.$ac_ext
13776 fi # $ac_x_includes = no
13778 if test "$ac_x_libraries" = no; then
13779 # Check for the libraries.
13780 # See if we find them without any special options.
13781 # Don't add to $LIBS permanently.
13782 ac_save_LIBS=$LIBS
13783 LIBS="-lX11 $LIBS"
13784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13785 /* end confdefs.h. */
13786 #include <X11/Xlib.h>
13788 main (void)
13790 XrmInitialize ()
13792 return 0;
13794 _ACEOF
13795 if ac_fn_c_try_link "$LINENO"
13796 then :
13797 LIBS=$ac_save_LIBS
13798 # We can link X programs with no special library path.
13799 ac_x_libraries=
13800 else $as_nop
13801 LIBS=$ac_save_LIBS
13802 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13804 # Don't even attempt the hair of trying to link an X program!
13805 for ac_extension in a so sl dylib la dll; do
13806 if test -r "$ac_dir/libX11.$ac_extension"; then
13807 ac_x_libraries=$ac_dir
13808 break 2
13810 done
13811 done
13813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13814 conftest$ac_exeext conftest.$ac_ext
13815 fi # $ac_x_libraries = no
13818 # Record the results.
13819 case $ac_x_includes,$ac_x_libraries in #(
13820 no,* | *,no | *\'*) :
13821 # Didn't find X, or a directory has "'" in its name.
13822 ac_cv_have_x="have_x=no" ;; #(
13823 *) :
13824 # Record where we found X for the cache.
13825 ac_cv_have_x="have_x=yes\
13826 ac_x_includes='$ac_x_includes'\
13827 ac_x_libraries='$ac_x_libraries'" ;;
13828 esac
13830 ;; #(
13831 *) have_x=yes;;
13832 esac
13833 eval "$ac_cv_have_x"
13834 fi # $with_x != no
13836 if test "$have_x" != yes; then
13837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13838 printf "%s\n" "$have_x" >&6; }
13839 no_x=yes
13840 else
13841 # If each of the values was on the command line, it overrides each guess.
13842 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13843 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13844 # Update the cache value to reflect the command line values.
13845 ac_cv_have_x="have_x=yes\
13846 ac_x_includes='$x_includes'\
13847 ac_x_libraries='$x_libraries'"
13848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13849 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13852 if test "$no_x" = yes; then
13853 # Not all programs may use this symbol, but it does not hurt to define it.
13855 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13857 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13858 else
13859 if test -n "$x_includes"; then
13860 X_CFLAGS="$X_CFLAGS -I$x_includes"
13863 # It would also be nice to do this for all -L options, not just this one.
13864 if test -n "$x_libraries"; then
13865 X_LIBS="$X_LIBS -L$x_libraries"
13866 # For Solaris; some versions of Sun CC require a space after -R and
13867 # others require no space. Words are not sufficient . . . .
13868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13869 printf %s "checking whether -R must be followed by a space... " >&6; }
13870 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13871 ac_xsave_c_werror_flag=$ac_c_werror_flag
13872 ac_c_werror_flag=yes
13873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13874 /* end confdefs.h. */
13877 main (void)
13881 return 0;
13883 _ACEOF
13884 if ac_fn_c_try_link "$LINENO"
13885 then :
13886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13887 printf "%s\n" "no" >&6; }
13888 X_LIBS="$X_LIBS -R$x_libraries"
13889 else $as_nop
13890 LIBS="$ac_xsave_LIBS -R $x_libraries"
13891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13895 main (void)
13899 return 0;
13901 _ACEOF
13902 if ac_fn_c_try_link "$LINENO"
13903 then :
13904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13905 printf "%s\n" "yes" >&6; }
13906 X_LIBS="$X_LIBS -R $x_libraries"
13907 else $as_nop
13908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13909 printf "%s\n" "neither works" >&6; }
13911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13912 conftest$ac_exeext conftest.$ac_ext
13914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13915 conftest$ac_exeext conftest.$ac_ext
13916 ac_c_werror_flag=$ac_xsave_c_werror_flag
13917 LIBS=$ac_xsave_LIBS
13920 # Check for system-dependent libraries X programs must link with.
13921 # Do this before checking for the system-independent R6 libraries
13922 # (-lICE), since we may need -lsocket or whatever for X linking.
13924 if test "$ISC" = yes; then
13925 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13926 else
13927 # Martyn Johnson says this is needed for Ultrix, if the X
13928 # libraries were built with DECnet support. And Karl Berry says
13929 # the Alpha needs dnet_stub (dnet does not exist).
13930 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13932 /* end confdefs.h. */
13934 /* Override any GCC internal prototype to avoid an error.
13935 Use char because int might match the return type of a GCC
13936 builtin and then its argument prototype would still apply. */
13937 char XOpenDisplay ();
13939 main (void)
13941 return XOpenDisplay ();
13943 return 0;
13945 _ACEOF
13946 if ac_fn_c_try_link "$LINENO"
13947 then :
13949 else $as_nop
13950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13951 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13952 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13953 then :
13954 printf %s "(cached) " >&6
13955 else $as_nop
13956 ac_check_lib_save_LIBS=$LIBS
13957 LIBS="-ldnet $LIBS"
13958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13959 /* end confdefs.h. */
13961 /* Override any GCC internal prototype to avoid an error.
13962 Use char because int might match the return type of a GCC
13963 builtin and then its argument prototype would still apply. */
13964 char dnet_ntoa ();
13966 main (void)
13968 return dnet_ntoa ();
13970 return 0;
13972 _ACEOF
13973 if ac_fn_c_try_link "$LINENO"
13974 then :
13975 ac_cv_lib_dnet_dnet_ntoa=yes
13976 else $as_nop
13977 ac_cv_lib_dnet_dnet_ntoa=no
13979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13980 conftest$ac_exeext conftest.$ac_ext
13981 LIBS=$ac_check_lib_save_LIBS
13983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13984 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13985 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13986 then :
13987 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13990 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13992 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13993 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13994 then :
13995 printf %s "(cached) " >&6
13996 else $as_nop
13997 ac_check_lib_save_LIBS=$LIBS
13998 LIBS="-ldnet_stub $LIBS"
13999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14002 /* Override any GCC internal prototype to avoid an error.
14003 Use char because int might match the return type of a GCC
14004 builtin and then its argument prototype would still apply. */
14005 char dnet_ntoa ();
14007 main (void)
14009 return dnet_ntoa ();
14011 return 0;
14013 _ACEOF
14014 if ac_fn_c_try_link "$LINENO"
14015 then :
14016 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14017 else $as_nop
14018 ac_cv_lib_dnet_stub_dnet_ntoa=no
14020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14021 conftest$ac_exeext conftest.$ac_ext
14022 LIBS=$ac_check_lib_save_LIBS
14024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14025 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14026 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14027 then :
14028 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14034 conftest$ac_exeext conftest.$ac_ext
14035 LIBS="$ac_xsave_LIBS"
14037 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14038 # to get the SysV transport functions.
14039 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14040 # needs -lnsl.
14041 # The nsl library prevents programs from opening the X display
14042 # on Irix 5.2, according to T.E. Dickey.
14043 # The functions gethostbyname, getservbyname, and inet_addr are
14044 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14045 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14046 if test "x$ac_cv_func_gethostbyname" = xyes
14047 then :
14051 if test $ac_cv_func_gethostbyname = no; then
14052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14053 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14054 if test ${ac_cv_lib_nsl_gethostbyname+y}
14055 then :
14056 printf %s "(cached) " >&6
14057 else $as_nop
14058 ac_check_lib_save_LIBS=$LIBS
14059 LIBS="-lnsl $LIBS"
14060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14063 /* Override any GCC internal prototype to avoid an error.
14064 Use char because int might match the return type of a GCC
14065 builtin and then its argument prototype would still apply. */
14066 char gethostbyname ();
14068 main (void)
14070 return gethostbyname ();
14072 return 0;
14074 _ACEOF
14075 if ac_fn_c_try_link "$LINENO"
14076 then :
14077 ac_cv_lib_nsl_gethostbyname=yes
14078 else $as_nop
14079 ac_cv_lib_nsl_gethostbyname=no
14081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14082 conftest$ac_exeext conftest.$ac_ext
14083 LIBS=$ac_check_lib_save_LIBS
14085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14086 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14087 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14088 then :
14089 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14092 if test $ac_cv_lib_nsl_gethostbyname = no; then
14093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14094 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14095 if test ${ac_cv_lib_bsd_gethostbyname+y}
14096 then :
14097 printf %s "(cached) " >&6
14098 else $as_nop
14099 ac_check_lib_save_LIBS=$LIBS
14100 LIBS="-lbsd $LIBS"
14101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102 /* end confdefs.h. */
14104 /* Override any GCC internal prototype to avoid an error.
14105 Use char because int might match the return type of a GCC
14106 builtin and then its argument prototype would still apply. */
14107 char gethostbyname ();
14109 main (void)
14111 return gethostbyname ();
14113 return 0;
14115 _ACEOF
14116 if ac_fn_c_try_link "$LINENO"
14117 then :
14118 ac_cv_lib_bsd_gethostbyname=yes
14119 else $as_nop
14120 ac_cv_lib_bsd_gethostbyname=no
14122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14123 conftest$ac_exeext conftest.$ac_ext
14124 LIBS=$ac_check_lib_save_LIBS
14126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14127 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14128 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14129 then :
14130 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14136 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14137 # socket/setsockopt and other routines are undefined under SCO ODT
14138 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14139 # on later versions), says Simon Leinen: it contains gethostby*
14140 # variants that don't use the name server (or something). -lsocket
14141 # must be given before -lnsl if both are needed. We assume that
14142 # if connect needs -lnsl, so does gethostbyname.
14143 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14144 if test "x$ac_cv_func_connect" = xyes
14145 then :
14149 if test $ac_cv_func_connect = no; then
14150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14151 printf %s "checking for connect in -lsocket... " >&6; }
14152 if test ${ac_cv_lib_socket_connect+y}
14153 then :
14154 printf %s "(cached) " >&6
14155 else $as_nop
14156 ac_check_lib_save_LIBS=$LIBS
14157 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14161 /* Override any GCC internal prototype to avoid an error.
14162 Use char because int might match the return type of a GCC
14163 builtin and then its argument prototype would still apply. */
14164 char connect ();
14166 main (void)
14168 return connect ();
14170 return 0;
14172 _ACEOF
14173 if ac_fn_c_try_link "$LINENO"
14174 then :
14175 ac_cv_lib_socket_connect=yes
14176 else $as_nop
14177 ac_cv_lib_socket_connect=no
14179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14180 conftest$ac_exeext conftest.$ac_ext
14181 LIBS=$ac_check_lib_save_LIBS
14183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14184 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14185 if test "x$ac_cv_lib_socket_connect" = xyes
14186 then :
14187 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14192 # Guillermo Gomez says -lposix is necessary on A/UX.
14193 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14194 if test "x$ac_cv_func_remove" = xyes
14195 then :
14199 if test $ac_cv_func_remove = no; then
14200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14201 printf %s "checking for remove in -lposix... " >&6; }
14202 if test ${ac_cv_lib_posix_remove+y}
14203 then :
14204 printf %s "(cached) " >&6
14205 else $as_nop
14206 ac_check_lib_save_LIBS=$LIBS
14207 LIBS="-lposix $LIBS"
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14211 /* Override any GCC internal prototype to avoid an error.
14212 Use char because int might match the return type of a GCC
14213 builtin and then its argument prototype would still apply. */
14214 char remove ();
14216 main (void)
14218 return remove ();
14220 return 0;
14222 _ACEOF
14223 if ac_fn_c_try_link "$LINENO"
14224 then :
14225 ac_cv_lib_posix_remove=yes
14226 else $as_nop
14227 ac_cv_lib_posix_remove=no
14229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14230 conftest$ac_exeext conftest.$ac_ext
14231 LIBS=$ac_check_lib_save_LIBS
14233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14234 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14235 if test "x$ac_cv_lib_posix_remove" = xyes
14236 then :
14237 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14242 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14243 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14244 if test "x$ac_cv_func_shmat" = xyes
14245 then :
14249 if test $ac_cv_func_shmat = no; then
14250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14251 printf %s "checking for shmat in -lipc... " >&6; }
14252 if test ${ac_cv_lib_ipc_shmat+y}
14253 then :
14254 printf %s "(cached) " >&6
14255 else $as_nop
14256 ac_check_lib_save_LIBS=$LIBS
14257 LIBS="-lipc $LIBS"
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14264 char shmat ();
14266 main (void)
14268 return shmat ();
14270 return 0;
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"
14274 then :
14275 ac_cv_lib_ipc_shmat=yes
14276 else $as_nop
14277 ac_cv_lib_ipc_shmat=no
14279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14280 conftest$ac_exeext conftest.$ac_ext
14281 LIBS=$ac_check_lib_save_LIBS
14283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14284 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14285 if test "x$ac_cv_lib_ipc_shmat" = xyes
14286 then :
14287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14293 # Check for libraries that X11R6 Xt/Xaw programs need.
14294 ac_save_LDFLAGS=$LDFLAGS
14295 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14296 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14297 # check for ICE first), but we must link in the order -lSM -lICE or
14298 # we get undefined symbols. So assume we have SM if we have ICE.
14299 # These have to be linked with before -lX11, unlike the other
14300 # libraries we check for below, so use a different variable.
14301 # John Interrante, Karl Berry
14302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14303 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14304 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14305 then :
14306 printf %s "(cached) " >&6
14307 else $as_nop
14308 ac_check_lib_save_LIBS=$LIBS
14309 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14313 /* Override any GCC internal prototype to avoid an error.
14314 Use char because int might match the return type of a GCC
14315 builtin and then its argument prototype would still apply. */
14316 char IceConnectionNumber ();
14318 main (void)
14320 return IceConnectionNumber ();
14322 return 0;
14324 _ACEOF
14325 if ac_fn_c_try_link "$LINENO"
14326 then :
14327 ac_cv_lib_ICE_IceConnectionNumber=yes
14328 else $as_nop
14329 ac_cv_lib_ICE_IceConnectionNumber=no
14331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14332 conftest$ac_exeext conftest.$ac_ext
14333 LIBS=$ac_check_lib_save_LIBS
14335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14336 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14337 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14338 then :
14339 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14342 LDFLAGS=$ac_save_LDFLAGS
14347 if test "$have_x" = "yes"
14348 then
14349 ac_save_CPPFLAGS="$CPPFLAGS"
14350 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14353 printf %s "checking for -lX11... " >&6; }
14354 if test ${ac_cv_lib_soname_X11+y}
14355 then :
14356 printf %s "(cached) " >&6
14357 else $as_nop
14358 ac_check_soname_save_LIBS=$LIBS
14359 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14363 /* Override any GCC internal prototype to avoid an error.
14364 Use char because int might match the return type of a GCC
14365 builtin and then its argument prototype would still apply. */
14366 char XCreateWindow ();
14368 main (void)
14370 return XCreateWindow ();
14372 return 0;
14374 _ACEOF
14375 if ac_fn_c_try_link "$LINENO"
14376 then :
14377 case "$LIBEXT" in
14378 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14379 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'` ;;
14380 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14381 if ${ac_cv_lib_soname_X11:+false} :
14382 then :
14383 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14384 fi ;;
14385 esac
14386 else $as_nop
14387 ac_cv_lib_soname_X11=
14389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14390 conftest$ac_exeext conftest.$ac_ext
14391 LIBS=$ac_check_soname_save_LIBS
14393 if ${ac_cv_lib_soname_X11:+false} :
14394 then :
14395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14396 printf "%s\n" "not found" >&6; }
14398 else $as_nop
14399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14400 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14402 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14407 printf %s "checking for -lXext... " >&6; }
14408 if test ${ac_cv_lib_soname_Xext+y}
14409 then :
14410 printf %s "(cached) " >&6
14411 else $as_nop
14412 ac_check_soname_save_LIBS=$LIBS
14413 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14417 /* Override any GCC internal prototype to avoid an error.
14418 Use char because int might match the return type of a GCC
14419 builtin and then its argument prototype would still apply. */
14420 char XextCreateExtension ();
14422 main (void)
14424 return XextCreateExtension ();
14426 return 0;
14428 _ACEOF
14429 if ac_fn_c_try_link "$LINENO"
14430 then :
14431 case "$LIBEXT" in
14432 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14433 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'` ;;
14434 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14435 if ${ac_cv_lib_soname_Xext:+false} :
14436 then :
14437 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14438 fi ;;
14439 esac
14440 else $as_nop
14441 ac_cv_lib_soname_Xext=
14443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14444 conftest$ac_exeext conftest.$ac_ext
14445 LIBS=$ac_check_soname_save_LIBS
14447 if ${ac_cv_lib_soname_Xext:+false} :
14448 then :
14449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14450 printf "%s\n" "not found" >&6; }
14452 else $as_nop
14453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14454 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14456 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14458 X_LIBS="$X_LIBS -lXext"
14460 X_LIBS="$X_LIBS -lX11"
14462 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14463 # include <X11/Xlib.h>
14464 #endif
14465 #ifdef HAVE_X11_XUTIL_H
14466 # include <X11/Xutil.h>
14467 #endif
14469 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14470 then :
14471 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14474 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14475 # include <X11/Xlib.h>
14476 #endif
14477 #ifdef HAVE_X11_XUTIL_H
14478 # include <X11/Xutil.h>
14479 #endif
14481 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14482 then :
14483 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14486 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14487 # include <X11/Xlib.h>
14488 #endif
14489 #ifdef HAVE_X11_XUTIL_H
14490 # include <X11/Xutil.h>
14491 #endif
14493 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14494 then :
14495 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14498 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14499 # include <X11/Xlib.h>
14500 #endif
14501 #ifdef HAVE_X11_XUTIL_H
14502 # include <X11/Xutil.h>
14503 #endif
14505 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14506 then :
14507 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14510 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14511 # include <X11/Xlib.h>
14512 #endif
14513 #ifdef HAVE_X11_XUTIL_H
14514 # include <X11/Xutil.h>
14515 #endif
14517 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14518 then :
14519 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14522 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14523 # include <X11/Xlib.h>
14524 #endif
14525 #ifdef HAVE_X11_XUTIL_H
14526 # include <X11/Xutil.h>
14527 #endif
14529 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14530 then :
14531 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14534 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14535 # include <X11/Xlib.h>
14536 #endif
14537 #ifdef HAVE_X11_XUTIL_H
14538 # include <X11/Xutil.h>
14539 #endif
14541 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14542 then :
14543 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14546 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14547 # include <X11/Xlib.h>
14548 #endif
14549 #ifdef HAVE_X11_XUTIL_H
14550 # include <X11/Xutil.h>
14551 #endif
14553 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14554 then :
14555 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14558 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14559 # include <X11/Xlib.h>
14560 #endif
14561 #ifdef HAVE_X11_XUTIL_H
14562 # include <X11/Xutil.h>
14563 #endif
14565 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14566 then :
14567 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14570 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14571 # include <X11/Xlib.h>
14572 #endif
14573 #ifdef HAVE_X11_XUTIL_H
14574 # include <X11/Xutil.h>
14575 #endif
14577 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14578 then :
14579 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14582 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14583 # include <X11/Xlib.h>
14584 #endif
14585 #ifdef HAVE_X11_XUTIL_H
14586 # include <X11/Xutil.h>
14587 #endif
14589 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14590 then :
14591 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14594 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14595 # include <X11/Xlib.h>
14596 #endif
14597 #ifdef HAVE_X11_XUTIL_H
14598 # include <X11/Xutil.h>
14599 #endif
14601 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14602 then :
14603 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14606 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14607 # include <X11/Xlib.h>
14608 #endif
14609 #ifdef HAVE_X11_XUTIL_H
14610 # include <X11/Xutil.h>
14611 #endif
14613 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14614 then :
14615 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14618 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14619 # include <X11/Xlib.h>
14620 #endif
14621 #ifdef HAVE_X11_XUTIL_H
14622 # include <X11/Xutil.h>
14623 #endif
14625 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14626 then :
14627 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14630 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14631 # include <X11/Xlib.h>
14632 #endif
14633 #ifdef HAVE_X11_XUTIL_H
14634 # include <X11/Xutil.h>
14635 #endif
14637 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14638 then :
14639 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14644 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14645 then
14646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14647 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14648 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14649 then :
14650 printf %s "(cached) " >&6
14651 else $as_nop
14652 ac_check_lib_save_LIBS=$LIBS
14653 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14657 /* Override any GCC internal prototype to avoid an error.
14658 Use char because int might match the return type of a GCC
14659 builtin and then its argument prototype would still apply. */
14660 char XkbQueryExtension ();
14662 main (void)
14664 return XkbQueryExtension ();
14666 return 0;
14668 _ACEOF
14669 if ac_fn_c_try_link "$LINENO"
14670 then :
14671 ac_cv_lib_X11_XkbQueryExtension=yes
14672 else $as_nop
14673 ac_cv_lib_X11_XkbQueryExtension=no
14675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14676 conftest$ac_exeext conftest.$ac_ext
14677 LIBS=$ac_check_lib_save_LIBS
14679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14680 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14681 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14682 then :
14684 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14690 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14691 then
14692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14693 printf %s "checking for -lXcursor... " >&6; }
14694 if test ${ac_cv_lib_soname_Xcursor+y}
14695 then :
14696 printf %s "(cached) " >&6
14697 else $as_nop
14698 ac_check_soname_save_LIBS=$LIBS
14699 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14703 /* Override any GCC internal prototype to avoid an error.
14704 Use char because int might match the return type of a GCC
14705 builtin and then its argument prototype would still apply. */
14706 char XcursorImageLoadCursor ();
14708 main (void)
14710 return XcursorImageLoadCursor ();
14712 return 0;
14714 _ACEOF
14715 if ac_fn_c_try_link "$LINENO"
14716 then :
14717 case "$LIBEXT" in
14718 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14719 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'` ;;
14720 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14721 if ${ac_cv_lib_soname_Xcursor:+false} :
14722 then :
14723 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14724 fi ;;
14725 esac
14726 else $as_nop
14727 ac_cv_lib_soname_Xcursor=
14729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14730 conftest$ac_exeext conftest.$ac_ext
14731 LIBS=$ac_check_soname_save_LIBS
14733 if ${ac_cv_lib_soname_Xcursor:+false} :
14734 then :
14735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14736 printf "%s\n" "not found" >&6; }
14738 else $as_nop
14739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14740 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14742 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14747 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14748 then :
14749 case "x$with_xcursor" in
14750 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14751 xno) ;;
14752 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14753 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14754 esac
14758 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14759 then
14760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14761 printf %s "checking for -lXi... " >&6; }
14762 if test ${ac_cv_lib_soname_Xi+y}
14763 then :
14764 printf %s "(cached) " >&6
14765 else $as_nop
14766 ac_check_soname_save_LIBS=$LIBS
14767 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14769 /* end confdefs.h. */
14771 /* Override any GCC internal prototype to avoid an error.
14772 Use char because int might match the return type of a GCC
14773 builtin and then its argument prototype would still apply. */
14774 char XOpenDevice ();
14776 main (void)
14778 return XOpenDevice ();
14780 return 0;
14782 _ACEOF
14783 if ac_fn_c_try_link "$LINENO"
14784 then :
14785 case "$LIBEXT" in
14786 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14787 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'` ;;
14788 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14789 if ${ac_cv_lib_soname_Xi:+false} :
14790 then :
14791 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14792 fi ;;
14793 esac
14794 else $as_nop
14795 ac_cv_lib_soname_Xi=
14797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14798 conftest$ac_exeext conftest.$ac_ext
14799 LIBS=$ac_check_soname_save_LIBS
14801 if ${ac_cv_lib_soname_Xi:+false} :
14802 then :
14803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14804 printf "%s\n" "not found" >&6; }
14806 else $as_nop
14807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14808 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14810 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14815 if test "x$ac_cv_lib_soname_Xi" = "x"
14816 then :
14817 case "x$with_xinput" in
14818 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14819 xno) ;;
14820 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14821 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14822 esac
14826 if test "x$ac_cv_lib_soname_Xi" != x
14827 then
14828 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14829 then :
14830 case "x$with_xinput2" in
14831 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14832 xno) ;;
14833 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14834 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14835 esac
14840 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14841 then
14842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14843 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14844 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14845 then :
14846 printf %s "(cached) " >&6
14847 else $as_nop
14848 ac_check_lib_save_LIBS=$LIBS
14849 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14851 /* end confdefs.h. */
14853 /* Override any GCC internal prototype to avoid an error.
14854 Use char because int might match the return type of a GCC
14855 builtin and then its argument prototype would still apply. */
14856 char XShmQueryExtension ();
14858 main (void)
14860 return XShmQueryExtension ();
14862 return 0;
14864 _ACEOF
14865 if ac_fn_c_try_link "$LINENO"
14866 then :
14867 ac_cv_lib_Xext_XShmQueryExtension=yes
14868 else $as_nop
14869 ac_cv_lib_Xext_XShmQueryExtension=no
14871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14872 conftest$ac_exeext conftest.$ac_ext
14873 LIBS=$ac_check_lib_save_LIBS
14875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14876 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14877 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14878 then :
14880 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14885 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14886 then :
14887 case "x$with_xshm" in
14888 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14889 xno) ;;
14890 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14891 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14892 esac
14896 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14897 then
14898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14899 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14900 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14901 then :
14902 printf %s "(cached) " >&6
14903 else $as_nop
14904 ac_check_lib_save_LIBS=$LIBS
14905 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14909 /* Override any GCC internal prototype to avoid an error.
14910 Use char because int might match the return type of a GCC
14911 builtin and then its argument prototype would still apply. */
14912 char XShapeQueryExtension ();
14914 main (void)
14916 return XShapeQueryExtension ();
14918 return 0;
14920 _ACEOF
14921 if ac_fn_c_try_link "$LINENO"
14922 then :
14923 ac_cv_lib_Xext_XShapeQueryExtension=yes
14924 else $as_nop
14925 ac_cv_lib_Xext_XShapeQueryExtension=no
14927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14928 conftest$ac_exeext conftest.$ac_ext
14929 LIBS=$ac_check_lib_save_LIBS
14931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14932 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14933 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14934 then :
14936 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14941 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14942 then :
14943 case "x$with_xshape" in
14944 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14945 xno) ;;
14946 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14947 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14948 esac
14952 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14953 then
14954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14955 printf %s "checking for -lXxf86vm... " >&6; }
14956 if test ${ac_cv_lib_soname_Xxf86vm+y}
14957 then :
14958 printf %s "(cached) " >&6
14959 else $as_nop
14960 ac_check_soname_save_LIBS=$LIBS
14961 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14965 /* Override any GCC internal prototype to avoid an error.
14966 Use char because int might match the return type of a GCC
14967 builtin and then its argument prototype would still apply. */
14968 char XF86VidModeQueryExtension ();
14970 main (void)
14972 return XF86VidModeQueryExtension ();
14974 return 0;
14976 _ACEOF
14977 if ac_fn_c_try_link "$LINENO"
14978 then :
14979 case "$LIBEXT" in
14980 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14981 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'` ;;
14982 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14983 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14984 then :
14985 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14986 fi ;;
14987 esac
14988 else $as_nop
14989 ac_cv_lib_soname_Xxf86vm=
14991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14992 conftest$ac_exeext conftest.$ac_ext
14993 LIBS=$ac_check_soname_save_LIBS
14995 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14996 then :
14997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14998 printf "%s\n" "not found" >&6; }
15000 else $as_nop
15001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15002 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15004 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15009 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15010 then :
15011 case "x$with_xxf86vm" in
15012 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15013 xno) ;;
15014 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15015 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15016 esac
15020 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15021 then
15022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15023 printf %s "checking for -lXrender... " >&6; }
15024 if test ${ac_cv_lib_soname_Xrender+y}
15025 then :
15026 printf %s "(cached) " >&6
15027 else $as_nop
15028 ac_check_soname_save_LIBS=$LIBS
15029 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15033 /* Override any GCC internal prototype to avoid an error.
15034 Use char because int might match the return type of a GCC
15035 builtin and then its argument prototype would still apply. */
15036 char XRenderQueryExtension ();
15038 main (void)
15040 return XRenderQueryExtension ();
15042 return 0;
15044 _ACEOF
15045 if ac_fn_c_try_link "$LINENO"
15046 then :
15047 case "$LIBEXT" in
15048 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15049 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'` ;;
15050 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15051 if ${ac_cv_lib_soname_Xrender:+false} :
15052 then :
15053 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15054 fi ;;
15055 esac
15056 else $as_nop
15057 ac_cv_lib_soname_Xrender=
15059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15060 conftest$ac_exeext conftest.$ac_ext
15061 LIBS=$ac_check_soname_save_LIBS
15063 if ${ac_cv_lib_soname_Xrender:+false} :
15064 then :
15065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15066 printf "%s\n" "not found" >&6; }
15068 else $as_nop
15069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15070 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15072 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15075 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15076 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15077 then :
15078 printf %s "(cached) " >&6
15079 else $as_nop
15080 ac_check_lib_save_LIBS=$LIBS
15081 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15085 /* Override any GCC internal prototype to avoid an error.
15086 Use char because int might match the return type of a GCC
15087 builtin and then its argument prototype would still apply. */
15088 char XRenderSetPictureTransform ();
15090 main (void)
15092 return XRenderSetPictureTransform ();
15094 return 0;
15096 _ACEOF
15097 if ac_fn_c_try_link "$LINENO"
15098 then :
15099 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15100 else $as_nop
15101 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15104 conftest$ac_exeext conftest.$ac_ext
15105 LIBS=$ac_check_lib_save_LIBS
15107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15108 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15109 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15110 then :
15112 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15117 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15118 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15119 then :
15120 printf %s "(cached) " >&6
15121 else $as_nop
15122 ac_check_lib_save_LIBS=$LIBS
15123 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15127 /* Override any GCC internal prototype to avoid an error.
15128 Use char because int might match the return type of a GCC
15129 builtin and then its argument prototype would still apply. */
15130 char XRenderCreateLinearGradient ();
15132 main (void)
15134 return XRenderCreateLinearGradient ();
15136 return 0;
15138 _ACEOF
15139 if ac_fn_c_try_link "$LINENO"
15140 then :
15141 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15142 else $as_nop
15143 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15146 conftest$ac_exeext conftest.$ac_ext
15147 LIBS=$ac_check_lib_save_LIBS
15149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15150 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15151 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15152 then :
15154 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15161 if test "x$ac_cv_lib_soname_Xrender" = "x"
15162 then :
15163 case "x$with_xrender" in
15164 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15165 xno) ;;
15166 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15167 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15168 esac
15172 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15173 then
15174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15175 /* end confdefs.h. */
15176 #include <X11/Xlib.h>
15177 #include <X11/extensions/Xrandr.h>
15179 main (void)
15181 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15183 return 0;
15185 _ACEOF
15186 if ac_fn_c_try_compile "$LINENO"
15187 then :
15188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15189 printf %s "checking for -lXrandr... " >&6; }
15190 if test ${ac_cv_lib_soname_Xrandr+y}
15191 then :
15192 printf %s "(cached) " >&6
15193 else $as_nop
15194 ac_check_soname_save_LIBS=$LIBS
15195 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15199 /* Override any GCC internal prototype to avoid an error.
15200 Use char because int might match the return type of a GCC
15201 builtin and then its argument prototype would still apply. */
15202 char XRRQueryExtension ();
15204 main (void)
15206 return XRRQueryExtension ();
15208 return 0;
15210 _ACEOF
15211 if ac_fn_c_try_link "$LINENO"
15212 then :
15213 case "$LIBEXT" in
15214 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15215 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'` ;;
15216 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15217 if ${ac_cv_lib_soname_Xrandr:+false} :
15218 then :
15219 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15220 fi ;;
15221 esac
15222 else $as_nop
15223 ac_cv_lib_soname_Xrandr=
15225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15226 conftest$ac_exeext conftest.$ac_ext
15227 LIBS=$ac_check_soname_save_LIBS
15229 if ${ac_cv_lib_soname_Xrandr:+false} :
15230 then :
15231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15232 printf "%s\n" "not found" >&6; }
15234 else $as_nop
15235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15236 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15238 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15241 /* end confdefs.h. */
15242 #include <X11/Xlib.h>
15243 #include <X11/extensions/Xrandr.h>
15245 main (void)
15247 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15249 return 0;
15251 _ACEOF
15252 if ac_fn_c_try_compile "$LINENO"
15253 then :
15255 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15257 else $as_nop
15258 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15265 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15266 then :
15267 case "x$with_xrandr" in
15268 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15269 xno) ;;
15270 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15271 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15272 esac
15276 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15277 then
15278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15280 #include <X11/Xlib.h>
15281 #include <X11/extensions/Xfixes.h>
15283 main (void)
15285 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15287 return 0;
15289 _ACEOF
15290 if ac_fn_c_try_compile "$LINENO"
15291 then :
15292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15293 printf %s "checking for -lXfixes... " >&6; }
15294 if test ${ac_cv_lib_soname_Xfixes+y}
15295 then :
15296 printf %s "(cached) " >&6
15297 else $as_nop
15298 ac_check_soname_save_LIBS=$LIBS
15299 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15303 /* Override any GCC internal prototype to avoid an error.
15304 Use char because int might match the return type of a GCC
15305 builtin and then its argument prototype would still apply. */
15306 char XFixesQueryVersion ();
15308 main (void)
15310 return XFixesQueryVersion ();
15312 return 0;
15314 _ACEOF
15315 if ac_fn_c_try_link "$LINENO"
15316 then :
15317 case "$LIBEXT" in
15318 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15319 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'` ;;
15320 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15321 if ${ac_cv_lib_soname_Xfixes:+false} :
15322 then :
15323 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15324 fi ;;
15325 esac
15326 else $as_nop
15327 ac_cv_lib_soname_Xfixes=
15329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15330 conftest$ac_exeext conftest.$ac_ext
15331 LIBS=$ac_check_soname_save_LIBS
15333 if ${ac_cv_lib_soname_Xfixes:+false} :
15334 then :
15335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15336 printf "%s\n" "not found" >&6; }
15338 else $as_nop
15339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15340 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15342 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15347 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15349 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15350 then :
15351 case "x$with_xfixes" in
15352 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15353 xno) ;;
15354 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15355 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15356 esac
15360 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15361 then
15362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15363 /* end confdefs.h. */
15364 #include <X11/Xlib.h>
15365 #include <X11/extensions/Xinerama.h>
15367 main (void)
15369 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15371 return 0;
15373 _ACEOF
15374 if ac_fn_c_try_compile "$LINENO"
15375 then :
15376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15377 printf %s "checking for -lXinerama... " >&6; }
15378 if test ${ac_cv_lib_soname_Xinerama+y}
15379 then :
15380 printf %s "(cached) " >&6
15381 else $as_nop
15382 ac_check_soname_save_LIBS=$LIBS
15383 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15385 /* end confdefs.h. */
15387 /* Override any GCC internal prototype to avoid an error.
15388 Use char because int might match the return type of a GCC
15389 builtin and then its argument prototype would still apply. */
15390 char XineramaQueryScreens ();
15392 main (void)
15394 return XineramaQueryScreens ();
15396 return 0;
15398 _ACEOF
15399 if ac_fn_c_try_link "$LINENO"
15400 then :
15401 case "$LIBEXT" in
15402 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15403 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'` ;;
15404 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15405 if ${ac_cv_lib_soname_Xinerama:+false} :
15406 then :
15407 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15408 fi ;;
15409 esac
15410 else $as_nop
15411 ac_cv_lib_soname_Xinerama=
15413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15414 conftest$ac_exeext conftest.$ac_ext
15415 LIBS=$ac_check_soname_save_LIBS
15417 if ${ac_cv_lib_soname_Xinerama:+false} :
15418 then :
15419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15420 printf "%s\n" "not found" >&6; }
15422 else $as_nop
15423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15424 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15426 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15433 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15434 then :
15435 case "x$with_xinerama" in
15436 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15437 xno) ;;
15438 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15439 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15440 esac
15444 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15445 then
15446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15447 printf %s "checking for -lXcomposite... " >&6; }
15448 if test ${ac_cv_lib_soname_Xcomposite+y}
15449 then :
15450 printf %s "(cached) " >&6
15451 else $as_nop
15452 ac_check_soname_save_LIBS=$LIBS
15453 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15455 /* end confdefs.h. */
15457 /* Override any GCC internal prototype to avoid an error.
15458 Use char because int might match the return type of a GCC
15459 builtin and then its argument prototype would still apply. */
15460 char XCompositeRedirectWindow ();
15462 main (void)
15464 return XCompositeRedirectWindow ();
15466 return 0;
15468 _ACEOF
15469 if ac_fn_c_try_link "$LINENO"
15470 then :
15471 case "$LIBEXT" in
15472 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15473 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'` ;;
15474 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15475 if ${ac_cv_lib_soname_Xcomposite:+false} :
15476 then :
15477 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15478 fi ;;
15479 esac
15480 else $as_nop
15481 ac_cv_lib_soname_Xcomposite=
15483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15484 conftest$ac_exeext conftest.$ac_ext
15485 LIBS=$ac_check_soname_save_LIBS
15487 if ${ac_cv_lib_soname_Xcomposite:+false} :
15488 then :
15489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15490 printf "%s\n" "not found" >&6; }
15492 else $as_nop
15493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15494 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15496 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15501 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15502 then :
15503 case "x$with_xcomposite" in
15504 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15505 xno) ;;
15506 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15507 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15508 esac
15512 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15513 #include <X11/Xlib.h>
15514 #endif
15516 if test "x$ac_cv_member_XICCallback_callback" = xyes
15517 then :
15519 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15523 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15524 #include <X11/Xlib.h>
15525 #endif
15527 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15528 then :
15530 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15537 opengl_msg=""
15538 if test "x$with_opengl" != "xno"
15539 then
15540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15541 printf %s "checking for -lGL... " >&6; }
15542 if test ${ac_cv_lib_soname_GL+y}
15543 then :
15544 printf %s "(cached) " >&6
15545 else $as_nop
15546 ac_check_soname_save_LIBS=$LIBS
15547 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15549 /* end confdefs.h. */
15551 /* Override any GCC internal prototype to avoid an error.
15552 Use char because int might match the return type of a GCC
15553 builtin and then its argument prototype would still apply. */
15554 char glXCreateContext ();
15556 main (void)
15558 return glXCreateContext ();
15560 return 0;
15562 _ACEOF
15563 if ac_fn_c_try_link "$LINENO"
15564 then :
15565 case "$LIBEXT" in
15566 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15567 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'` ;;
15568 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15569 if ${ac_cv_lib_soname_GL:+false} :
15570 then :
15571 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15572 fi ;;
15573 esac
15574 else $as_nop
15575 ac_cv_lib_soname_GL=
15577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15578 conftest$ac_exeext conftest.$ac_ext
15579 LIBS=$ac_check_soname_save_LIBS
15581 if ${ac_cv_lib_soname_GL:+false} :
15582 then :
15583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15584 printf "%s\n" "not found" >&6; }
15585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15586 printf %s "checking for -lGL... " >&6; }
15587 if test ${ac_cv_lib_soname_GL+y}
15588 then :
15589 printf %s "(cached) " >&6
15590 else $as_nop
15591 ac_check_soname_save_LIBS=$LIBS
15592 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"
15593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15594 /* end confdefs.h. */
15596 /* Override any GCC internal prototype to avoid an error.
15597 Use char because int might match the return type of a GCC
15598 builtin and then its argument prototype would still apply. */
15599 char glXCreateContext ();
15601 main (void)
15603 return glXCreateContext ();
15605 return 0;
15607 _ACEOF
15608 if ac_fn_c_try_link "$LINENO"
15609 then :
15610 case "$LIBEXT" in
15611 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15612 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'` ;;
15613 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15614 if ${ac_cv_lib_soname_GL:+false} :
15615 then :
15616 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15617 fi ;;
15618 esac
15619 else $as_nop
15620 ac_cv_lib_soname_GL=
15622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15623 conftest$ac_exeext conftest.$ac_ext
15624 LIBS=$ac_check_soname_save_LIBS
15626 if ${ac_cv_lib_soname_GL:+false} :
15627 then :
15628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15629 printf "%s\n" "not found" >&6; }
15630 if test -f /usr/X11R6/lib/libGL.a
15631 then
15632 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15633 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15634 else
15635 opengl_msg="No OpenGL library found on this system."
15637 else $as_nop
15638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15639 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15641 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15643 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"
15645 else $as_nop
15646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15647 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15649 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15651 OPENGL_LIBS="-lGL"
15653 if test "x$with_osmesa" != "xno"
15654 then
15655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15656 printf %s "checking for -lOSMesa... " >&6; }
15657 if test ${ac_cv_lib_soname_OSMesa+y}
15658 then :
15659 printf %s "(cached) " >&6
15660 else $as_nop
15661 ac_check_soname_save_LIBS=$LIBS
15662 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h. */
15666 /* Override any GCC internal prototype to avoid an error.
15667 Use char because int might match the return type of a GCC
15668 builtin and then its argument prototype would still apply. */
15669 char OSMesaGetProcAddress ();
15671 main (void)
15673 return OSMesaGetProcAddress ();
15675 return 0;
15677 _ACEOF
15678 if ac_fn_c_try_link "$LINENO"
15679 then :
15680 case "$LIBEXT" in
15681 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15682 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'` ;;
15683 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15684 if ${ac_cv_lib_soname_OSMesa:+false} :
15685 then :
15686 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15687 fi ;;
15688 esac
15689 else $as_nop
15690 ac_cv_lib_soname_OSMesa=
15692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15693 conftest$ac_exeext conftest.$ac_ext
15694 LIBS=$ac_check_soname_save_LIBS
15696 if ${ac_cv_lib_soname_OSMesa:+false} :
15697 then :
15698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15699 printf "%s\n" "not found" >&6; }
15701 else $as_nop
15702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15703 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15705 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15709 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15710 then :
15711 case "x$with_osmesa" in
15712 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15713 xno) ;;
15714 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15715 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15716 esac
15721 if test -n "$opengl_msg"
15722 then :
15723 case "x$with_opengl" in
15724 x) as_fn_append wine_warnings "|$opengl_msg
15725 OpenGL and Direct3D won't be supported." ;;
15726 xno) ;;
15727 *) as_fn_error $? "$opengl_msg
15728 OpenGL and Direct3D won't be supported.
15729 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15730 esac
15734 CPPFLAGS="$ac_save_CPPFLAGS"
15735 else
15736 X_CFLAGS=""
15737 X_LIBS=""
15740 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15741 then
15742 if test "x$X_LIBS" = "x"
15743 then :
15744 case "x$with_x" in
15745 xno) ;;
15746 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15747 without X support, which probably isn't what you want. You will need
15748 to install ${notice_platform}development packages of Xlib at the very least.
15749 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15750 esac
15751 enable_winex11_drv=${enable_winex11_drv:-no}
15753 else
15754 if test "x$X_LIBS" = "x"
15755 then :
15756 case "x$with_x" in
15757 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15758 xno) ;;
15759 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15760 This is an error since --with-x was requested." "$LINENO" 5 ;;
15761 esac
15762 enable_winex11_drv=${enable_winex11_drv:-no}
15766 if test "$ac_cv_header_CL_cl_h" = "yes"
15767 then
15768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15769 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15770 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15771 then :
15772 printf %s "(cached) " >&6
15773 else $as_nop
15774 ac_check_lib_save_LIBS=$LIBS
15775 LIBS="-lOpenCL $LIBS"
15776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15777 /* end confdefs.h. */
15779 /* Override any GCC internal prototype to avoid an error.
15780 Use char because int might match the return type of a GCC
15781 builtin and then its argument prototype would still apply. */
15782 char clGetPlatformInfo ();
15784 main (void)
15786 return clGetPlatformInfo ();
15788 return 0;
15790 _ACEOF
15791 if ac_fn_c_try_link "$LINENO"
15792 then :
15793 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15794 else $as_nop
15795 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15798 conftest$ac_exeext conftest.$ac_ext
15799 LIBS=$ac_check_lib_save_LIBS
15801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15802 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15803 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15804 then :
15805 OPENCL_LIBS="-lOpenCL"
15810 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15811 then :
15812 case "x$with_opencl" in
15813 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15814 xno) ;;
15815 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15816 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15817 esac
15818 enable_opencl=${enable_opencl:-no}
15821 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15822 then
15823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15824 printf %s "checking for pcap_create in -lpcap... " >&6; }
15825 if test ${ac_cv_lib_pcap_pcap_create+y}
15826 then :
15827 printf %s "(cached) " >&6
15828 else $as_nop
15829 ac_check_lib_save_LIBS=$LIBS
15830 LIBS="-lpcap $LIBS"
15831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15832 /* end confdefs.h. */
15834 /* Override any GCC internal prototype to avoid an error.
15835 Use char because int might match the return type of a GCC
15836 builtin and then its argument prototype would still apply. */
15837 char pcap_create ();
15839 main (void)
15841 return pcap_create ();
15843 return 0;
15845 _ACEOF
15846 if ac_fn_c_try_link "$LINENO"
15847 then :
15848 ac_cv_lib_pcap_pcap_create=yes
15849 else $as_nop
15850 ac_cv_lib_pcap_pcap_create=no
15852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15853 conftest$ac_exeext conftest.$ac_ext
15854 LIBS=$ac_check_lib_save_LIBS
15856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15857 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15858 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15859 then :
15860 PCAP_LIBS="-lpcap"
15865 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15866 then :
15867 case "x$with_pcap" in
15868 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15869 xno) ;;
15870 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15871 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15872 esac
15873 enable_wpcap=${enable_wpcap:-no}
15876 if test "x$with_inotify" != "xno"
15877 then
15878 if ${INOTIFY_CFLAGS:+false} :
15879 then :
15880 if test ${PKG_CONFIG+y}
15881 then :
15882 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15886 if ${INOTIFY_LIBS:+false} :
15887 then :
15888 if test ${PKG_CONFIG+y}
15889 then :
15890 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15895 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15896 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15897 ac_save_CPPFLAGS=$CPPFLAGS
15898 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15899 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15900 if test "x$ac_cv_header_sys_inotify_h" = xyes
15901 then :
15902 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15907 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15908 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15909 then :
15910 printf %s "(cached) " >&6
15911 else $as_nop
15912 ac_check_lib_save_LIBS=$LIBS
15913 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15915 /* end confdefs.h. */
15917 /* Override any GCC internal prototype to avoid an error.
15918 Use char because int might match the return type of a GCC
15919 builtin and then its argument prototype would still apply. */
15920 char inotify_add_watch ();
15922 main (void)
15924 return inotify_add_watch ();
15926 return 0;
15928 _ACEOF
15929 if ac_fn_c_try_link "$LINENO"
15930 then :
15931 ac_cv_lib_inotify_inotify_add_watch=yes
15932 else $as_nop
15933 ac_cv_lib_inotify_inotify_add_watch=no
15935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15936 conftest$ac_exeext conftest.$ac_ext
15937 LIBS=$ac_check_lib_save_LIBS
15939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15940 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15941 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15942 then :
15944 else $as_nop
15945 INOTIFY_LIBS=""
15948 CPPFLAGS=$ac_save_CPPFLAGS
15951 if test "$ac_cv_header_sys_inotify_h" != "yes"
15952 then :
15953 case "x$with_inotify" in
15954 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15955 xno) ;;
15956 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15957 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15958 esac
15962 if test "x$with_dbus" != "xno"
15963 then
15964 if ${DBUS_CFLAGS:+false} :
15965 then :
15966 if test ${PKG_CONFIG+y}
15967 then :
15968 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15972 if ${DBUS_LIBS:+false} :
15973 then :
15974 if test ${PKG_CONFIG+y}
15975 then :
15976 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15983 ac_save_CPPFLAGS=$CPPFLAGS
15984 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15985 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15986 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15987 then :
15988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15989 printf %s "checking for -ldbus-1... " >&6; }
15990 if test ${ac_cv_lib_soname_dbus_1+y}
15991 then :
15992 printf %s "(cached) " >&6
15993 else $as_nop
15994 ac_check_soname_save_LIBS=$LIBS
15995 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15997 /* end confdefs.h. */
15999 /* Override any GCC internal prototype to avoid an error.
16000 Use char because int might match the return type of a GCC
16001 builtin and then its argument prototype would still apply. */
16002 char dbus_connection_close ();
16004 main (void)
16006 return dbus_connection_close ();
16008 return 0;
16010 _ACEOF
16011 if ac_fn_c_try_link "$LINENO"
16012 then :
16013 case "$LIBEXT" in
16014 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16015 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'` ;;
16016 *) 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'`
16017 if ${ac_cv_lib_soname_dbus_1:+false} :
16018 then :
16019 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16020 fi ;;
16021 esac
16022 else $as_nop
16023 ac_cv_lib_soname_dbus_1=
16025 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16026 conftest$ac_exeext conftest.$ac_ext
16027 LIBS=$ac_check_soname_save_LIBS
16029 if ${ac_cv_lib_soname_dbus_1:+false} :
16030 then :
16031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16032 printf "%s\n" "not found" >&6; }
16033 DBUS_CFLAGS=""
16034 else $as_nop
16035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16036 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16038 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16042 else $as_nop
16043 DBUS_CFLAGS=""
16046 CPPFLAGS=$ac_save_CPPFLAGS
16049 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16050 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16051 then :
16052 case "x$with_dbus" in
16053 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16054 xno) ;;
16055 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16056 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16057 esac
16061 if test "x$with_gnutls" != "xno"
16062 then
16063 if ${GNUTLS_CFLAGS:+false} :
16064 then :
16065 if test ${PKG_CONFIG+y}
16066 then :
16067 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16071 if ${GNUTLS_LIBS:+false} :
16072 then :
16073 if test ${PKG_CONFIG+y}
16074 then :
16075 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16079 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16082 ac_save_CPPFLAGS=$CPPFLAGS
16083 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16084 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16085 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16086 then :
16087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16088 /* end confdefs.h. */
16089 #include <gnutls/gnutls.h>
16090 #include <gnutls/crypto.h>
16092 main (void)
16094 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16096 return 0;
16098 _ACEOF
16099 if ac_fn_c_try_compile "$LINENO"
16100 then :
16101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16102 printf %s "checking for -lgnutls... " >&6; }
16103 if test ${ac_cv_lib_soname_gnutls+y}
16104 then :
16105 printf %s "(cached) " >&6
16106 else $as_nop
16107 ac_check_soname_save_LIBS=$LIBS
16108 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16110 /* end confdefs.h. */
16112 /* Override any GCC internal prototype to avoid an error.
16113 Use char because int might match the return type of a GCC
16114 builtin and then its argument prototype would still apply. */
16115 char gnutls_global_init ();
16117 main (void)
16119 return gnutls_global_init ();
16121 return 0;
16123 _ACEOF
16124 if ac_fn_c_try_link "$LINENO"
16125 then :
16126 case "$LIBEXT" in
16127 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16128 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'` ;;
16129 *) 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'`
16130 if ${ac_cv_lib_soname_gnutls:+false} :
16131 then :
16132 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'`
16133 fi ;;
16134 esac
16135 else $as_nop
16136 ac_cv_lib_soname_gnutls=
16138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16139 conftest$ac_exeext conftest.$ac_ext
16140 LIBS=$ac_check_soname_save_LIBS
16142 if ${ac_cv_lib_soname_gnutls:+false} :
16143 then :
16144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16145 printf "%s\n" "not found" >&6; }
16146 GNUTLS_CFLAGS=""
16147 else $as_nop
16148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16149 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16151 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16155 ac_wine_check_funcs_save_LIBS="$LIBS"
16156 LIBS="$LIBS $GNUTLS_LIBS"
16158 for ac_func in gnutls_cipher_init
16159 do :
16160 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16161 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16162 then :
16163 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16165 else $as_nop
16166 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16169 done
16170 LIBS="$ac_wine_check_funcs_save_LIBS"
16172 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16173 else $as_nop
16174 GNUTLS_CFLAGS=""
16177 CPPFLAGS=$ac_save_CPPFLAGS
16180 if test "x$ac_cv_lib_soname_gnutls" = "x"
16181 then :
16182 case "x$with_gnutls" in
16183 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16184 xno) ;;
16185 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16186 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16187 esac
16191 if test "x$with_sane" != "xno"
16192 then
16193 if ${SANE_CFLAGS:+false} :
16194 then :
16195 if test ${PKG_CONFIG+y}
16196 then :
16197 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16200 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16201 if ${SANE_LIBS:+false} :
16202 then :
16203 if test ${PKG_CONFIG+y}
16204 then :
16205 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16208 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16212 ac_save_CPPFLAGS=$CPPFLAGS
16213 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16214 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16215 if test "x$ac_cv_header_sane_sane_h" = xyes
16216 then :
16217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16218 printf %s "checking for sane_init in -lsane... " >&6; }
16219 if test ${ac_cv_lib_sane_sane_init+y}
16220 then :
16221 printf %s "(cached) " >&6
16222 else $as_nop
16223 ac_check_lib_save_LIBS=$LIBS
16224 LIBS="-lsane $SANE_LIBS $LIBS"
16225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16226 /* end confdefs.h. */
16228 /* Override any GCC internal prototype to avoid an error.
16229 Use char because int might match the return type of a GCC
16230 builtin and then its argument prototype would still apply. */
16231 char sane_init ();
16233 main (void)
16235 return sane_init ();
16237 return 0;
16239 _ACEOF
16240 if ac_fn_c_try_link "$LINENO"
16241 then :
16242 ac_cv_lib_sane_sane_init=yes
16243 else $as_nop
16244 ac_cv_lib_sane_sane_init=no
16246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16247 conftest$ac_exeext conftest.$ac_ext
16248 LIBS=$ac_check_lib_save_LIBS
16250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16251 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16252 if test "x$ac_cv_lib_sane_sane_init" = xyes
16253 then :
16259 CPPFLAGS=$ac_save_CPPFLAGS
16262 if test "$ac_cv_lib_sane_sane_init" != "yes"
16263 then :
16264 case "x$with_sane" in
16265 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16266 xno) ;;
16267 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16268 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16269 esac
16270 enable_sane_ds=${enable_sane_ds:-no}
16273 if test "x$with_usb" != "xno"
16274 then
16275 if ${USB_CFLAGS:+false} :
16276 then :
16277 if test ${PKG_CONFIG+y}
16278 then :
16279 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16283 if ${USB_LIBS:+false} :
16284 then :
16285 if test ${PKG_CONFIG+y}
16286 then :
16287 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16291 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16294 ac_save_CPPFLAGS=$CPPFLAGS
16295 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16296 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16297 if test "x$ac_cv_header_libusb_h" = xyes
16298 then :
16299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16300 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16301 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16302 then :
16303 printf %s "(cached) " >&6
16304 else $as_nop
16305 ac_check_lib_save_LIBS=$LIBS
16306 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16308 /* end confdefs.h. */
16310 /* Override any GCC internal prototype to avoid an error.
16311 Use char because int might match the return type of a GCC
16312 builtin and then its argument prototype would still apply. */
16313 char libusb_interrupt_event_handler ();
16315 main (void)
16317 return libusb_interrupt_event_handler ();
16319 return 0;
16321 _ACEOF
16322 if ac_fn_c_try_link "$LINENO"
16323 then :
16324 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16325 else $as_nop
16326 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16329 conftest$ac_exeext conftest.$ac_ext
16330 LIBS=$ac_check_lib_save_LIBS
16332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16333 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16334 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16335 then :
16337 else $as_nop
16338 USB_LIBS=""
16341 else $as_nop
16342 USB_LIBS=""
16345 CPPFLAGS=$ac_save_CPPFLAGS
16348 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16349 then :
16350 case "x$with_usb" in
16351 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16352 xno) ;;
16353 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16354 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16355 esac
16356 enable_wineusb_sys=${enable_wineusb_sys:-no}
16359 if test "x$with_v4l2" != "xno"
16360 then
16361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16362 printf %s "checking for -lv4l2... " >&6; }
16363 if test ${ac_cv_lib_soname_v4l2+y}
16364 then :
16365 printf %s "(cached) " >&6
16366 else $as_nop
16367 ac_check_soname_save_LIBS=$LIBS
16368 LIBS="-lv4l2 $LIBS"
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16372 /* Override any GCC internal prototype to avoid an error.
16373 Use char because int might match the return type of a GCC
16374 builtin and then its argument prototype would still apply. */
16375 char v4l2_open ();
16377 main (void)
16379 return v4l2_open ();
16381 return 0;
16383 _ACEOF
16384 if ac_fn_c_try_link "$LINENO"
16385 then :
16386 case "$LIBEXT" in
16387 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16388 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'` ;;
16389 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16390 if ${ac_cv_lib_soname_v4l2:+false} :
16391 then :
16392 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16393 fi ;;
16394 esac
16395 else $as_nop
16396 ac_cv_lib_soname_v4l2=
16398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16399 conftest$ac_exeext conftest.$ac_ext
16400 LIBS=$ac_check_soname_save_LIBS
16402 if ${ac_cv_lib_soname_v4l2:+false} :
16403 then :
16404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16405 printf "%s\n" "not found" >&6; }
16407 else $as_nop
16408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16409 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16411 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16416 if test "x$ac_cv_lib_soname_v4l2" = "x"
16417 then :
16418 case "x$with_v4l2" in
16419 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16420 xno) ;;
16421 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16422 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16423 esac
16427 if test "x$with_gphoto" != "xno"
16428 then
16429 if ${GPHOTO2_CFLAGS:+false} :
16430 then :
16431 if test ${PKG_CONFIG+y}
16432 then :
16433 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16436 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16437 if ${GPHOTO2_LIBS:+false} :
16438 then :
16439 if test ${PKG_CONFIG+y}
16440 then :
16441 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16444 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16445 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16448 ac_save_CPPFLAGS=$CPPFLAGS
16449 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16450 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16451 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16452 then :
16453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16454 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16455 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16456 then :
16457 printf %s "(cached) " >&6
16458 else $as_nop
16459 ac_check_lib_save_LIBS=$LIBS
16460 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h. */
16464 /* Override any GCC internal prototype to avoid an error.
16465 Use char because int might match the return type of a GCC
16466 builtin and then its argument prototype would still apply. */
16467 char gp_camera_new ();
16469 main (void)
16471 return gp_camera_new ();
16473 return 0;
16475 _ACEOF
16476 if ac_fn_c_try_link "$LINENO"
16477 then :
16478 ac_cv_lib_gphoto2_gp_camera_new=yes
16479 else $as_nop
16480 ac_cv_lib_gphoto2_gp_camera_new=no
16482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16483 conftest$ac_exeext conftest.$ac_ext
16484 LIBS=$ac_check_lib_save_LIBS
16486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16487 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16488 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16489 then :
16495 CPPFLAGS=$ac_save_CPPFLAGS
16497 if ${GPHOTO2_PORT_CFLAGS:+false} :
16498 then :
16499 if test ${PKG_CONFIG+y}
16500 then :
16501 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16504 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16505 if ${GPHOTO2_PORT_LIBS:+false} :
16506 then :
16507 if test ${PKG_CONFIG+y}
16508 then :
16509 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16512 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16513 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16514 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16516 ac_save_CPPFLAGS=$CPPFLAGS
16517 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16518 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16519 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16520 then :
16521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16522 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16523 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16524 then :
16525 printf %s "(cached) " >&6
16526 else $as_nop
16527 ac_check_lib_save_LIBS=$LIBS
16528 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16532 /* Override any GCC internal prototype to avoid an error.
16533 Use char because int might match the return type of a GCC
16534 builtin and then its argument prototype would still apply. */
16535 char gp_port_info_list_new ();
16537 main (void)
16539 return gp_port_info_list_new ();
16541 return 0;
16543 _ACEOF
16544 if ac_fn_c_try_link "$LINENO"
16545 then :
16546 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16547 else $as_nop
16548 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16551 conftest$ac_exeext conftest.$ac_ext
16552 LIBS=$ac_check_lib_save_LIBS
16554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16555 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16556 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16557 then :
16559 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16561 else $as_nop
16562 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16565 else $as_nop
16566 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16569 CPPFLAGS=$ac_save_CPPFLAGS
16572 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16573 then :
16574 case "x$with_gphoto" in
16575 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16576 xno) ;;
16577 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16578 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16579 esac
16580 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16582 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16583 then :
16584 case "x$with_gphoto" in
16585 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16586 xno) ;;
16587 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16588 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16589 esac
16594 if test "$ac_cv_header_resolv_h" = "yes"
16595 then
16596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16597 printf %s "checking for resolver library... " >&6; }
16598 if test ${ac_cv_have_resolv+y}
16599 then :
16600 printf %s "(cached) " >&6
16601 else $as_nop
16602 ac_save_LIBS="$LIBS"
16603 for lib in '' -lresolv
16605 LIBS="$lib $ac_save_LIBS"
16606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16608 #ifdef HAVE_NETINET_IN_H
16609 #include <netinet/in.h>
16610 #endif
16611 #include <resolv.h>
16613 main (void)
16615 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16617 return 0;
16619 _ACEOF
16620 if ac_fn_c_try_link "$LINENO"
16621 then :
16622 ac_cv_have_resolv=${lib:-"none required"}
16623 else $as_nop
16624 ac_cv_have_resolv="not found"
16626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16627 conftest$ac_exeext conftest.$ac_ext
16628 test "x$ac_cv_have_resolv" = "xnot found" || break
16629 done
16630 LIBS="$ac_save_LIBS"
16632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16633 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16635 case "$ac_cv_have_resolv" in
16636 "not found") ;;
16637 "none required")
16639 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16642 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16644 RESOLV_LIBS=$ac_cv_have_resolv
16646 esac
16648 if test "x$ac_cv_have_resolv" != "xnot found"
16649 then
16650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16651 printf %s "checking for res_getservers... " >&6; }
16652 if test ${ac_cv_have_res_getservers+y}
16653 then :
16654 printf %s "(cached) " >&6
16655 else $as_nop
16656 ac_save_LIBS="$LIBS"
16657 LIBS="$RESOLV_LIBS $LIBS"
16658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16660 #include <resolv.h>
16662 main (void)
16664 res_getservers(NULL, NULL, 0);
16666 return 0;
16668 _ACEOF
16669 if ac_fn_c_try_link "$LINENO"
16670 then :
16671 ac_cv_have_res_getservers=yes
16672 else $as_nop
16673 ac_cv_have_res_getservers=no
16675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16676 conftest$ac_exeext conftest.$ac_ext
16677 LIBS="$ac_save_LIBS"
16679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16680 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16681 if test "$ac_cv_have_res_getservers" = "yes"
16682 then
16684 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16690 if test "x$with_freetype" != "xno"
16691 then
16692 if ${FREETYPE_CFLAGS:+false} :
16693 then :
16694 if test ${PKG_CONFIG+y}
16695 then :
16696 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16699 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16700 if ${FREETYPE_LIBS:+false} :
16701 then :
16702 if test ${PKG_CONFIG+y}
16703 then :
16704 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16707 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16708 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16710 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16711 ac_save_CPPFLAGS=$CPPFLAGS
16712 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16713 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16714 if test "x$ac_cv_header_ft2build_h" = xyes
16715 then :
16716 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16720 if test "$ac_cv_header_ft2build_h" = "yes"
16721 then
16722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16723 printf %s "checking for -lfreetype... " >&6; }
16724 if test ${ac_cv_lib_soname_freetype+y}
16725 then :
16726 printf %s "(cached) " >&6
16727 else $as_nop
16728 ac_check_soname_save_LIBS=$LIBS
16729 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16733 /* Override any GCC internal prototype to avoid an error.
16734 Use char because int might match the return type of a GCC
16735 builtin and then its argument prototype would still apply. */
16736 char FT_Init_FreeType ();
16738 main (void)
16740 return FT_Init_FreeType ();
16742 return 0;
16744 _ACEOF
16745 if ac_fn_c_try_link "$LINENO"
16746 then :
16747 case "$LIBEXT" in
16748 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16749 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'` ;;
16750 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16751 if ${ac_cv_lib_soname_freetype:+false} :
16752 then :
16753 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16754 fi ;;
16755 esac
16756 else $as_nop
16757 ac_cv_lib_soname_freetype=
16759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16760 conftest$ac_exeext conftest.$ac_ext
16761 LIBS=$ac_check_soname_save_LIBS
16763 if ${ac_cv_lib_soname_freetype:+false} :
16764 then :
16765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16766 printf "%s\n" "not found" >&6; }
16767 FREETYPE_LIBS=""
16768 else $as_nop
16769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16770 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16772 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16775 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16777 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16778 #include FT_MODULE_H
16780 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16781 then :
16783 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16789 else
16790 FREETYPE_CFLAGS=""
16791 FREETYPE_LIBS=""
16793 CPPFLAGS=$ac_save_CPPFLAGS
16796 if test "x$ac_cv_lib_soname_freetype" = x
16797 then :
16798 case "x$with_freetype" in
16799 xno) ;;
16800 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16801 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16802 esac
16803 enable_fonts=${enable_fonts:-no}
16806 ac_wine_check_funcs_save_LIBS="$LIBS"
16807 LIBS="$LIBS $PTHREAD_LIBS"
16808 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16809 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16810 then :
16811 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16815 LIBS="$ac_wine_check_funcs_save_LIBS"
16817 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16818 then
16819 if test "$ac_cv_header_gettext_po_h" = "yes"
16820 then
16821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16822 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16823 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16824 then :
16825 printf %s "(cached) " >&6
16826 else $as_nop
16827 ac_check_lib_save_LIBS=$LIBS
16828 LIBS="-lgettextpo $LIBS"
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16832 /* Override any GCC internal prototype to avoid an error.
16833 Use char because int might match the return type of a GCC
16834 builtin and then its argument prototype would still apply. */
16835 char po_message_msgctxt ();
16837 main (void)
16839 return po_message_msgctxt ();
16841 return 0;
16843 _ACEOF
16844 if ac_fn_c_try_link "$LINENO"
16845 then :
16846 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16847 else $as_nop
16848 ac_cv_lib_gettextpo_po_message_msgctxt=no
16850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16851 conftest$ac_exeext conftest.$ac_ext
16852 LIBS=$ac_check_lib_save_LIBS
16854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16855 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16856 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16857 then :
16859 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16861 GETTEXTPO_LIBS="-lgettextpo"
16866 if test "x$GETTEXTPO_LIBS" = "x"
16867 then :
16868 case "x$with_gettextpo" in
16869 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16870 xno) ;;
16871 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16872 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16873 esac
16876 if test "$srcdir" != .
16877 then :
16878 case "x$with_gettextpo" in
16879 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16880 xno) ;;
16881 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16882 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16883 esac
16888 if test "x$with_pulse" != "xno";
16889 then
16890 if ${PULSE_CFLAGS:+false} :
16891 then :
16892 if test ${PKG_CONFIG+y}
16893 then :
16894 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16898 if ${PULSE_LIBS:+false} :
16899 then :
16900 if test ${PKG_CONFIG+y}
16901 then :
16902 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16907 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16909 ac_save_CPPFLAGS=$CPPFLAGS
16910 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16911 for ac_header in pulse/pulseaudio.h
16912 do :
16913 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16914 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16915 then :
16916 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16918 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16919 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16920 then :
16921 printf %s "(cached) " >&6
16922 else $as_nop
16923 ac_check_lib_save_LIBS=$LIBS
16924 LIBS="-lpulse $PULSE_LIBS $LIBS"
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16928 /* Override any GCC internal prototype to avoid an error.
16929 Use char because int might match the return type of a GCC
16930 builtin and then its argument prototype would still apply. */
16931 char pa_stream_is_corked ();
16933 main (void)
16935 return pa_stream_is_corked ();
16937 return 0;
16939 _ACEOF
16940 if ac_fn_c_try_link "$LINENO"
16941 then :
16942 ac_cv_lib_pulse_pa_stream_is_corked=yes
16943 else $as_nop
16944 ac_cv_lib_pulse_pa_stream_is_corked=no
16946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16947 conftest$ac_exeext conftest.$ac_ext
16948 LIBS=$ac_check_lib_save_LIBS
16950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16951 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16952 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16953 then :
16955 else $as_nop
16956 PULSE_LIBS=""
16959 else $as_nop
16960 PULSE_LIBS=""
16963 done
16964 CPPFLAGS=$ac_save_CPPFLAGS
16967 if test -z "$PULSE_LIBS"
16968 then :
16969 case "x$with_pulse" in
16970 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16971 xno) ;;
16972 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16973 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16974 esac
16975 enable_winepulse_drv=${enable_winepulse_drv:-no}
16978 if test "x$with_gstreamer" != "xno"
16979 then
16980 if ${GSTREAMER_CFLAGS:+false} :
16981 then :
16982 if test ${PKG_CONFIG+y}
16983 then :
16984 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16988 if ${GSTREAMER_LIBS:+false} :
16989 then :
16990 if test ${PKG_CONFIG+y}
16991 then :
16992 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16999 ac_save_CPPFLAGS=$CPPFLAGS
17000 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17001 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17002 if test "x$ac_cv_header_gst_gst_h" = xyes
17003 then :
17004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17005 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h. */
17008 #include <gst/gst.h>
17010 main (void)
17012 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17014 return 0;
17016 _ACEOF
17017 if ac_fn_c_try_compile "$LINENO"
17018 then :
17019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17020 printf "%s\n" "yes" >&6; }
17021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17022 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17023 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17024 then :
17025 printf %s "(cached) " >&6
17026 else $as_nop
17027 ac_check_lib_save_LIBS=$LIBS
17028 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17030 /* end confdefs.h. */
17032 /* Override any GCC internal prototype to avoid an error.
17033 Use char because int might match the return type of a GCC
17034 builtin and then its argument prototype would still apply. */
17035 char gst_pad_new ();
17037 main (void)
17039 return gst_pad_new ();
17041 return 0;
17043 _ACEOF
17044 if ac_fn_c_try_link "$LINENO"
17045 then :
17046 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17047 else $as_nop
17048 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17050 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17051 conftest$ac_exeext conftest.$ac_ext
17052 LIBS=$ac_check_lib_save_LIBS
17054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17055 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17056 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17057 then :
17061 else $as_nop
17062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17063 printf "%s\n" "no" >&6; }
17064 ac_glib2_broken=yes
17065 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17067 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17070 CPPFLAGS=$ac_save_CPPFLAGS
17073 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17074 then :
17075 case "x$with_gstreamer" in
17076 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17077 xno) ;;
17078 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17079 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17080 esac
17081 enable_winegstreamer=${enable_winegstreamer:-no}
17084 ALSA_LIBS=""
17086 if test "x$with_alsa" != "xno"
17087 then
17088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17089 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17090 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17091 then :
17092 printf %s "(cached) " >&6
17093 else $as_nop
17094 ac_check_lib_save_LIBS=$LIBS
17095 LIBS="-lasound $LIBS"
17096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17099 /* Override any GCC internal prototype to avoid an error.
17100 Use char because int might match the return type of a GCC
17101 builtin and then its argument prototype would still apply. */
17102 char snd_pcm_hw_params_get_access_mask ();
17104 main (void)
17106 return snd_pcm_hw_params_get_access_mask ();
17108 return 0;
17110 _ACEOF
17111 if ac_fn_c_try_link "$LINENO"
17112 then :
17113 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17114 else $as_nop
17115 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17118 conftest$ac_exeext conftest.$ac_ext
17119 LIBS=$ac_check_lib_save_LIBS
17121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17122 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17123 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17124 then :
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #include <alsa/asoundlib.h>
17129 main (void)
17131 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17133 return 0;
17135 _ACEOF
17136 if ac_fn_c_try_compile "$LINENO"
17137 then :
17138 ALSA_LIBS="-lasound"
17140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17144 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17146 if test "x$with_oss" != xno
17147 then
17148 ac_save_CPPFLAGS="$CPPFLAGS"
17149 if test -f /etc/oss.conf
17150 then
17151 . /etc/oss.conf
17153 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17154 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17155 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17156 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17157 then :
17158 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17160 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17161 then :
17163 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17165 OSS4_CFLAGS="$ac_oss_incl"
17167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17168 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17169 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17170 then :
17171 printf %s "(cached) " >&6
17172 else $as_nop
17173 ac_check_lib_save_LIBS=$LIBS
17174 LIBS="-lossaudio $LIBS"
17175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17176 /* end confdefs.h. */
17178 /* Override any GCC internal prototype to avoid an error.
17179 Use char because int might match the return type of a GCC
17180 builtin and then its argument prototype would still apply. */
17181 char _oss_ioctl ();
17183 main (void)
17185 return _oss_ioctl ();
17187 return 0;
17189 _ACEOF
17190 if ac_fn_c_try_link "$LINENO"
17191 then :
17192 ac_cv_lib_ossaudio__oss_ioctl=yes
17193 else $as_nop
17194 ac_cv_lib_ossaudio__oss_ioctl=no
17196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17197 conftest$ac_exeext conftest.$ac_ext
17198 LIBS=$ac_check_lib_save_LIBS
17200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17201 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17202 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17203 then :
17204 OSS4_LIBS="-lossaudio"
17212 CPPFLAGS="$ac_save_CPPFLAGS"
17214 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17215 then :
17216 case "x$with_oss" in
17217 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17218 xno) ;;
17219 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17220 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17221 esac
17222 enable_wineoss_drv=${enable_wineoss_drv:-no}
17225 if test "x$with_udev" != "xno"
17226 then
17227 if ${UDEV_CFLAGS:+false} :
17228 then :
17229 if test ${PKG_CONFIG+y}
17230 then :
17231 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17235 if ${UDEV_LIBS:+false} :
17236 then :
17237 if test ${PKG_CONFIG+y}
17238 then :
17239 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17243 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17246 ac_save_CPPFLAGS=$CPPFLAGS
17247 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17248 for ac_header in libudev.h
17249 do :
17250 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17251 if test "x$ac_cv_header_libudev_h" = xyes
17252 then :
17253 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17255 printf %s "checking for udev_new in -ludev... " >&6; }
17256 if test ${ac_cv_lib_udev_udev_new+y}
17257 then :
17258 printf %s "(cached) " >&6
17259 else $as_nop
17260 ac_check_lib_save_LIBS=$LIBS
17261 LIBS="-ludev $UDEV_LIBS $LIBS"
17262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17263 /* end confdefs.h. */
17265 /* Override any GCC internal prototype to avoid an error.
17266 Use char because int might match the return type of a GCC
17267 builtin and then its argument prototype would still apply. */
17268 char udev_new ();
17270 main (void)
17272 return udev_new ();
17274 return 0;
17276 _ACEOF
17277 if ac_fn_c_try_link "$LINENO"
17278 then :
17279 ac_cv_lib_udev_udev_new=yes
17280 else $as_nop
17281 ac_cv_lib_udev_udev_new=no
17283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17284 conftest$ac_exeext conftest.$ac_ext
17285 LIBS=$ac_check_lib_save_LIBS
17287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17288 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17289 if test "x$ac_cv_lib_udev_udev_new" = xyes
17290 then :
17292 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17294 else $as_nop
17295 UDEV_LIBS=""
17298 else $as_nop
17299 UDEV_LIBS=""
17302 done
17303 CPPFLAGS=$ac_save_CPPFLAGS
17306 if test "x$UDEV_LIBS" = "x"
17307 then :
17308 case "x$with_udev" in
17309 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17310 xno) ;;
17311 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17312 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17313 esac
17317 if test "x$with_unwind" != xno
17318 then
17319 if ${UNWIND_CFLAGS:+false} :
17320 then :
17321 if test ${PKG_CONFIG+y}
17322 then :
17323 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17327 if ${UNWIND_LIBS:+false} :
17328 then :
17329 if test ${PKG_CONFIG+y}
17330 then :
17331 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17335 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17338 ac_save_CPPFLAGS=$CPPFLAGS
17339 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17341 printf %s "checking for unw_step... " >&6; }
17342 if test ${wine_cv_have_unw_step+y}
17343 then :
17344 printf %s "(cached) " >&6
17345 else $as_nop
17346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17347 /* end confdefs.h. */
17348 #define UNW_LOCAL_ONLY
17349 #include <libunwind.h>
17351 main (void)
17353 unw_cursor_t cursor; unw_step( &cursor );
17355 return 0;
17357 _ACEOF
17358 if ac_fn_c_try_link "$LINENO"
17359 then :
17360 wine_cv_have_unw_step="yes"
17361 else $as_nop
17362 wine_cv_have_unw_step="no"
17364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17365 conftest$ac_exeext conftest.$ac_ext
17367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17368 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17369 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17370 then
17371 save_libs=$LIBS
17372 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17373 LIBS="$UNWIND_LIBS $LIBS"
17374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17375 printf %s "checking for unw_step in libunwind... " >&6; }
17376 if test ${wine_cv_have_libunwind_unw_step+y}
17377 then :
17378 printf %s "(cached) " >&6
17379 else $as_nop
17380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17382 #define UNW_LOCAL_ONLY
17383 #include <libunwind.h>
17385 main (void)
17387 unw_cursor_t cursor; unw_step( &cursor );
17389 return 0;
17391 _ACEOF
17392 if ac_fn_c_try_link "$LINENO"
17393 then :
17394 wine_cv_have_libunwind_unw_step="yes"
17395 else $as_nop
17396 wine_cv_have_libunwind_unw_step="no"
17398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17399 conftest$ac_exeext conftest.$ac_ext
17401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17402 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17403 LIBS=$save_libs
17405 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17406 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17407 then
17409 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17412 CPPFLAGS=$ac_save_CPPFLAGS
17415 case $host in
17416 aarch64*|*-darwin*)
17417 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17418 then :
17419 case "x$with_unwind" in
17420 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17421 xno) ;;
17422 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17423 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17424 esac
17426 fi ;;
17427 esac
17429 if test "x$with_sdl" != "xno"
17430 then
17431 if ${SDL2_CFLAGS:+false} :
17432 then :
17433 if test ${PKG_CONFIG+y}
17434 then :
17435 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17439 if ${SDL2_LIBS:+false} :
17440 then :
17441 if test ${PKG_CONFIG+y}
17442 then :
17443 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17447 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17450 ac_save_CPPFLAGS=$CPPFLAGS
17451 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17452 for ac_header in SDL.h
17453 do :
17454 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17455 if test "x$ac_cv_header_SDL_h" = xyes
17456 then :
17457 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17459 printf %s "checking for -lSDL2... " >&6; }
17460 if test ${ac_cv_lib_soname_SDL2+y}
17461 then :
17462 printf %s "(cached) " >&6
17463 else $as_nop
17464 ac_check_soname_save_LIBS=$LIBS
17465 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17467 /* end confdefs.h. */
17469 /* Override any GCC internal prototype to avoid an error.
17470 Use char because int might match the return type of a GCC
17471 builtin and then its argument prototype would still apply. */
17472 char SDL_Init ();
17474 main (void)
17476 return SDL_Init ();
17478 return 0;
17480 _ACEOF
17481 if ac_fn_c_try_link "$LINENO"
17482 then :
17483 case "$LIBEXT" in
17484 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17485 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'` ;;
17486 *) 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'`
17487 if ${ac_cv_lib_soname_SDL2:+false} :
17488 then :
17489 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17490 fi ;;
17491 esac
17492 else $as_nop
17493 ac_cv_lib_soname_SDL2=
17495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17496 conftest$ac_exeext conftest.$ac_ext
17497 LIBS=$ac_check_soname_save_LIBS
17499 if ${ac_cv_lib_soname_SDL2:+false} :
17500 then :
17501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17502 printf "%s\n" "not found" >&6; }
17504 else $as_nop
17505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17506 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17508 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17514 done
17515 CPPFLAGS=$ac_save_CPPFLAGS
17518 if test "x$ac_cv_lib_soname_SDL2" = "x"
17519 then :
17520 case "x$with_sdl" in
17521 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17522 xno) ;;
17523 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17524 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17525 esac
17529 if test "x$with_capi" != "xno"
17530 then
17531 if ${CAPI20_CFLAGS:+false} :
17532 then :
17533 if test ${PKG_CONFIG+y}
17534 then :
17535 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17539 if ${CAPI20_LIBS:+false} :
17540 then :
17541 if test ${PKG_CONFIG+y}
17542 then :
17543 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17550 ac_save_CPPFLAGS=$CPPFLAGS
17551 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17552 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17554 if test "x$ac_cv_header_capi20_h" = xyes
17555 then :
17556 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17559 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17561 if test "x$ac_cv_header_linux_capi_h" = xyes
17562 then :
17563 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17567 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17568 then
17569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17570 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17571 if test ${ac_cv_lib_capi20_capi20_register+y}
17572 then :
17573 printf %s "(cached) " >&6
17574 else $as_nop
17575 ac_check_lib_save_LIBS=$LIBS
17576 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h. */
17580 /* Override any GCC internal prototype to avoid an error.
17581 Use char because int might match the return type of a GCC
17582 builtin and then its argument prototype would still apply. */
17583 char capi20_register ();
17585 main (void)
17587 return capi20_register ();
17589 return 0;
17591 _ACEOF
17592 if ac_fn_c_try_link "$LINENO"
17593 then :
17594 ac_cv_lib_capi20_capi20_register=yes
17595 else $as_nop
17596 ac_cv_lib_capi20_capi20_register=no
17598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17599 conftest$ac_exeext conftest.$ac_ext
17600 LIBS=$ac_check_lib_save_LIBS
17602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17603 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17604 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17605 then :
17607 else $as_nop
17608 CAPI20_LIBS=""
17612 CPPFLAGS=$ac_save_CPPFLAGS
17615 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
17616 then :
17617 case "x$with_capi" in
17618 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17619 xno) ;;
17620 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17621 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17622 esac
17623 enable_capi2032=${enable_capi2032:-no}
17626 if test "x$with_cups" != "xno"
17627 then
17628 if ${CUPS_CFLAGS:+false} :
17629 then :
17630 if test ${PKG_CONFIG+y}
17631 then :
17632 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17635 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17636 if ${CUPS_LIBS:+false} :
17637 then :
17638 if test ${PKG_CONFIG+y}
17639 then :
17640 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17643 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17644 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17647 ac_save_CPPFLAGS=$CPPFLAGS
17648 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17649 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17650 if test "x$ac_cv_header_cups_cups_h" = xyes
17651 then :
17652 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17655 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17656 if test "x$ac_cv_header_cups_ppd_h" = xyes
17657 then :
17658 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17662 if test "$ac_cv_header_cups_cups_h" = "yes"
17663 then
17664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17665 printf %s "checking for -lcups... " >&6; }
17666 if test ${ac_cv_lib_soname_cups+y}
17667 then :
17668 printf %s "(cached) " >&6
17669 else $as_nop
17670 ac_check_soname_save_LIBS=$LIBS
17671 LIBS="-lcups $CUPS_LIBS $LIBS"
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17675 /* Override any GCC internal prototype to avoid an error.
17676 Use char because int might match the return type of a GCC
17677 builtin and then its argument prototype would still apply. */
17678 char cupsGetDefault ();
17680 main (void)
17682 return cupsGetDefault ();
17684 return 0;
17686 _ACEOF
17687 if ac_fn_c_try_link "$LINENO"
17688 then :
17689 case "$LIBEXT" in
17690 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17691 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'` ;;
17692 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17693 if ${ac_cv_lib_soname_cups:+false} :
17694 then :
17695 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17696 fi ;;
17697 esac
17698 else $as_nop
17699 ac_cv_lib_soname_cups=
17701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17702 conftest$ac_exeext conftest.$ac_ext
17703 LIBS=$ac_check_soname_save_LIBS
17705 if ${ac_cv_lib_soname_cups:+false} :
17706 then :
17707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17708 printf "%s\n" "not found" >&6; }
17709 CUPS_LIBS=""
17710 else $as_nop
17711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17712 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17714 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17718 else
17719 CUPS_CFLAGS=""
17720 CUPS_LIBS=""
17722 CPPFLAGS=$ac_save_CPPFLAGS
17725 if test "x$ac_cv_lib_soname_cups" = "x"
17726 then :
17727 case "x$with_cups" in
17728 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17729 xno) ;;
17730 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17731 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17732 esac
17736 if test "x$with_fontconfig" != "xno"
17737 then
17738 if ${FONTCONFIG_CFLAGS:+false} :
17739 then :
17740 if test ${PKG_CONFIG+y}
17741 then :
17742 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17745 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17746 if ${FONTCONFIG_LIBS:+false} :
17747 then :
17748 if test ${PKG_CONFIG+y}
17749 then :
17750 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17753 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17757 ac_save_CPPFLAGS=$CPPFLAGS
17758 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17759 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17760 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17761 then :
17762 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17766 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17767 then
17768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17769 printf %s "checking for -lfontconfig... " >&6; }
17770 if test ${ac_cv_lib_soname_fontconfig+y}
17771 then :
17772 printf %s "(cached) " >&6
17773 else $as_nop
17774 ac_check_soname_save_LIBS=$LIBS
17775 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17777 /* end confdefs.h. */
17779 /* Override any GCC internal prototype to avoid an error.
17780 Use char because int might match the return type of a GCC
17781 builtin and then its argument prototype would still apply. */
17782 char FcInit ();
17784 main (void)
17786 return FcInit ();
17788 return 0;
17790 _ACEOF
17791 if ac_fn_c_try_link "$LINENO"
17792 then :
17793 case "$LIBEXT" in
17794 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17795 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'` ;;
17796 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17797 if ${ac_cv_lib_soname_fontconfig:+false} :
17798 then :
17799 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17800 fi ;;
17801 esac
17802 else $as_nop
17803 ac_cv_lib_soname_fontconfig=
17805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17806 conftest$ac_exeext conftest.$ac_ext
17807 LIBS=$ac_check_soname_save_LIBS
17809 if ${ac_cv_lib_soname_fontconfig:+false} :
17810 then :
17811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17812 printf "%s\n" "not found" >&6; }
17813 FONTCONFIG_CFLAGS=""
17814 else $as_nop
17815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17816 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17818 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17822 else
17823 FONTCONFIG_CFLAGS=""
17825 CPPFLAGS=$ac_save_CPPFLAGS
17828 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17829 then :
17830 case "x$with_fontconfig" in
17831 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17832 xno) ;;
17833 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17834 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17835 esac
17839 if test "x$with_krb5" != "xno"
17840 then
17841 if ${KRB5_CFLAGS:+false} :
17842 then :
17843 if test ${PKG_CONFIG+y}
17844 then :
17845 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17848 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17849 if ${KRB5_LIBS:+false} :
17850 then :
17851 if test ${PKG_CONFIG+y}
17852 then :
17853 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17856 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17860 ac_save_CPPFLAGS=$CPPFLAGS
17861 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17862 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17863 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17864 then :
17865 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17869 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17870 then
17871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17872 printf %s "checking for -lkrb5... " >&6; }
17873 if test ${ac_cv_lib_soname_krb5+y}
17874 then :
17875 printf %s "(cached) " >&6
17876 else $as_nop
17877 ac_check_soname_save_LIBS=$LIBS
17878 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17880 /* end confdefs.h. */
17882 /* Override any GCC internal prototype to avoid an error.
17883 Use char because int might match the return type of a GCC
17884 builtin and then its argument prototype would still apply. */
17885 char krb5_is_config_principal ();
17887 main (void)
17889 return krb5_is_config_principal ();
17891 return 0;
17893 _ACEOF
17894 if ac_fn_c_try_link "$LINENO"
17895 then :
17896 case "$LIBEXT" in
17897 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17898 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'` ;;
17899 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17900 if ${ac_cv_lib_soname_krb5:+false} :
17901 then :
17902 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17903 fi ;;
17904 esac
17905 else $as_nop
17906 ac_cv_lib_soname_krb5=
17908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17909 conftest$ac_exeext conftest.$ac_ext
17910 LIBS=$ac_check_soname_save_LIBS
17912 if ${ac_cv_lib_soname_krb5:+false} :
17913 then :
17914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17915 printf "%s\n" "not found" >&6; }
17916 KRB5_CFLAGS=""
17917 else $as_nop
17918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17919 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17921 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17925 else
17926 KRB5_CFLAGS=""
17928 CPPFLAGS=$ac_save_CPPFLAGS
17931 if test "x$ac_cv_lib_soname_krb5" = "x"
17932 then :
17933 case "x$with_krb5" in
17934 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17935 xno) ;;
17936 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17937 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17938 esac
17941 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17943 if test "x$with_gssapi" != "xno"
17944 then
17945 if ${GSSAPI_CFLAGS:+false} :
17946 then :
17947 if test ${PKG_CONFIG+y}
17948 then :
17949 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17952 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17953 if ${GSSAPI_LIBS:+false} :
17954 then :
17955 if test ${PKG_CONFIG+y}
17956 then :
17957 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17960 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17964 ac_save_CPPFLAGS=$CPPFLAGS
17965 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17966 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17967 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17968 then :
17969 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17972 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17973 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17974 then :
17975 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17979 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17980 then
17981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17982 printf %s "checking for -lgssapi_krb5... " >&6; }
17983 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17984 then :
17985 printf %s "(cached) " >&6
17986 else $as_nop
17987 ac_check_soname_save_LIBS=$LIBS
17988 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17992 /* Override any GCC internal prototype to avoid an error.
17993 Use char because int might match the return type of a GCC
17994 builtin and then its argument prototype would still apply. */
17995 char gss_init_sec_context ();
17997 main (void)
17999 return gss_init_sec_context ();
18001 return 0;
18003 _ACEOF
18004 if ac_fn_c_try_link "$LINENO"
18005 then :
18006 case "$LIBEXT" in
18007 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18008 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'` ;;
18009 *) 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'`
18010 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18011 then :
18012 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18013 fi ;;
18014 esac
18015 else $as_nop
18016 ac_cv_lib_soname_gssapi_krb5=
18018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18019 conftest$ac_exeext conftest.$ac_ext
18020 LIBS=$ac_check_soname_save_LIBS
18022 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18023 then :
18024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18025 printf "%s\n" "not found" >&6; }
18026 GSSAPI_CFLAGS=""
18027 else $as_nop
18028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18029 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18031 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18035 else
18036 GSSAPI_CFLAGS=""
18038 CPPFLAGS=$ac_save_CPPFLAGS
18041 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18042 then :
18043 case "x$with_gssapi" in
18044 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18045 xno) ;;
18046 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18047 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18048 esac
18052 if test "$ac_cv_header_AL_al_h" = "yes"
18053 then
18054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18055 printf %s "checking for -lopenal... " >&6; }
18056 if test ${ac_cv_lib_soname_openal+y}
18057 then :
18058 printf %s "(cached) " >&6
18059 else $as_nop
18060 ac_check_soname_save_LIBS=$LIBS
18061 LIBS="-lopenal $LIBS"
18062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18063 /* end confdefs.h. */
18065 /* Override any GCC internal prototype to avoid an error.
18066 Use char because int might match the return type of a GCC
18067 builtin and then its argument prototype would still apply. */
18068 char alGetSource3i ();
18070 main (void)
18072 return alGetSource3i ();
18074 return 0;
18076 _ACEOF
18077 if ac_fn_c_try_link "$LINENO"
18078 then :
18079 case "$LIBEXT" in
18080 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18081 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'` ;;
18082 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18083 if ${ac_cv_lib_soname_openal:+false} :
18084 then :
18085 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18086 fi ;;
18087 esac
18088 else $as_nop
18089 ac_cv_lib_soname_openal=
18091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18092 conftest$ac_exeext conftest.$ac_ext
18093 LIBS=$ac_check_soname_save_LIBS
18095 if ${ac_cv_lib_soname_openal:+false} :
18096 then :
18097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18098 printf "%s\n" "not found" >&6; }
18100 else $as_nop
18101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18102 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18104 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18106 OPENAL_LIBS="-lopenal"
18108 ac_cv_lib_openal=yes
18110 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18114 if test "x$ac_cv_lib_openal" != xyes
18115 then :
18116 case "x$with_openal" in
18117 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18118 xno) ;;
18119 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18120 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18121 esac
18122 enable_openal32=${enable_openal32:-no}
18125 if test "$ac_cv_header_libprocstat_h" = "yes"
18126 then
18127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18128 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18129 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18130 then :
18131 printf %s "(cached) " >&6
18132 else $as_nop
18133 ac_check_lib_save_LIBS=$LIBS
18134 LIBS="-lprocstat $LIBS"
18135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18136 /* end confdefs.h. */
18138 /* Override any GCC internal prototype to avoid an error.
18139 Use char because int might match the return type of a GCC
18140 builtin and then its argument prototype would still apply. */
18141 char procstat_open_sysctl ();
18143 main (void)
18145 return procstat_open_sysctl ();
18147 return 0;
18149 _ACEOF
18150 if ac_fn_c_try_link "$LINENO"
18151 then :
18152 ac_cv_lib_procstat_procstat_open_sysctl=yes
18153 else $as_nop
18154 ac_cv_lib_procstat_procstat_open_sysctl=no
18156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18157 conftest$ac_exeext conftest.$ac_ext
18158 LIBS=$ac_check_lib_save_LIBS
18160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18161 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18162 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18163 then :
18165 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18167 PROCSTAT_LIBS="-lprocstat"
18173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18174 printf %s "checking for -lodbc... " >&6; }
18175 if test ${ac_cv_lib_soname_odbc+y}
18176 then :
18177 printf %s "(cached) " >&6
18178 else $as_nop
18179 ac_check_soname_save_LIBS=$LIBS
18180 LIBS="-lodbc $LIBS"
18181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18182 /* end confdefs.h. */
18184 /* Override any GCC internal prototype to avoid an error.
18185 Use char because int might match the return type of a GCC
18186 builtin and then its argument prototype would still apply. */
18187 char SQLConnect ();
18189 main (void)
18191 return SQLConnect ();
18193 return 0;
18195 _ACEOF
18196 if ac_fn_c_try_link "$LINENO"
18197 then :
18198 case "$LIBEXT" in
18199 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18200 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'` ;;
18201 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18202 if ${ac_cv_lib_soname_odbc:+false} :
18203 then :
18204 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18205 fi ;;
18206 esac
18207 else $as_nop
18208 ac_cv_lib_soname_odbc=
18210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18211 conftest$ac_exeext conftest.$ac_ext
18212 LIBS=$ac_check_soname_save_LIBS
18214 if ${ac_cv_lib_soname_odbc:+false} :
18215 then :
18216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18217 printf "%s\n" "not found" >&6; }
18218 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18220 else $as_nop
18221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18222 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18224 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18229 if test "x$with_netapi" != "xno"
18230 then
18231 if ${NETAPI_CFLAGS:+false} :
18232 then :
18233 if test ${PKG_CONFIG+y}
18234 then :
18235 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18239 if ${NETAPI_LIBS:+false} :
18240 then :
18241 if test ${PKG_CONFIG+y}
18242 then :
18243 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18250 ac_save_CPPFLAGS=$CPPFLAGS
18251 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18253 printf %s "checking for -lnetapi... " >&6; }
18254 if test ${ac_cv_lib_soname_netapi+y}
18255 then :
18256 printf %s "(cached) " >&6
18257 else $as_nop
18258 ac_check_soname_save_LIBS=$LIBS
18259 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18261 /* end confdefs.h. */
18263 /* Override any GCC internal prototype to avoid an error.
18264 Use char because int might match the return type of a GCC
18265 builtin and then its argument prototype would still apply. */
18266 char libnetapi_init ();
18268 main (void)
18270 return libnetapi_init ();
18272 return 0;
18274 _ACEOF
18275 if ac_fn_c_try_link "$LINENO"
18276 then :
18277 case "$LIBEXT" in
18278 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18279 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'` ;;
18280 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18281 if ${ac_cv_lib_soname_netapi:+false} :
18282 then :
18283 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18284 fi ;;
18285 esac
18286 else $as_nop
18287 ac_cv_lib_soname_netapi=
18289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18290 conftest$ac_exeext conftest.$ac_ext
18291 LIBS=$ac_check_soname_save_LIBS
18293 if ${ac_cv_lib_soname_netapi:+false} :
18294 then :
18295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18296 printf "%s\n" "not found" >&6; }
18297 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18299 else $as_nop
18300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18301 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18303 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18307 CPPFLAGS=$ac_save_CPPFLAGS
18310 if test "x$ac_cv_lib_soname_netapi" = "x"
18311 then :
18312 case "x$with_netapi" in
18313 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18314 xno) ;;
18315 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18316 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18317 esac
18318 enable_netapi=${enable_netapi:-no}
18322 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18323 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18324 then
18325 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18328 if test "x$with_vulkan" != "xno"
18329 then
18330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18331 printf %s "checking for -lvulkan... " >&6; }
18332 if test ${ac_cv_lib_soname_vulkan+y}
18333 then :
18334 printf %s "(cached) " >&6
18335 else $as_nop
18336 ac_check_soname_save_LIBS=$LIBS
18337 LIBS="-lvulkan $LIBS"
18338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18339 /* end confdefs.h. */
18341 /* Override any GCC internal prototype to avoid an error.
18342 Use char because int might match the return type of a GCC
18343 builtin and then its argument prototype would still apply. */
18344 char vkGetInstanceProcAddr ();
18346 main (void)
18348 return vkGetInstanceProcAddr ();
18350 return 0;
18352 _ACEOF
18353 if ac_fn_c_try_link "$LINENO"
18354 then :
18355 case "$LIBEXT" in
18356 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18357 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'` ;;
18358 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18359 if ${ac_cv_lib_soname_vulkan:+false} :
18360 then :
18361 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18362 fi ;;
18363 esac
18364 else $as_nop
18365 ac_cv_lib_soname_vulkan=
18367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18368 conftest$ac_exeext conftest.$ac_ext
18369 LIBS=$ac_check_soname_save_LIBS
18371 if ${ac_cv_lib_soname_vulkan:+false} :
18372 then :
18373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18374 printf "%s\n" "not found" >&6; }
18376 else $as_nop
18377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18378 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18380 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18384 if test "x$ac_cv_lib_soname_vulkan" = "x"
18385 then
18386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18387 printf %s "checking for -lMoltenVK... " >&6; }
18388 if test ${ac_cv_lib_soname_MoltenVK+y}
18389 then :
18390 printf %s "(cached) " >&6
18391 else $as_nop
18392 ac_check_soname_save_LIBS=$LIBS
18393 LIBS="-lMoltenVK $LIBS"
18394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18395 /* end confdefs.h. */
18397 /* Override any GCC internal prototype to avoid an error.
18398 Use char because int might match the return type of a GCC
18399 builtin and then its argument prototype would still apply. */
18400 char vkGetInstanceProcAddr ();
18402 main (void)
18404 return vkGetInstanceProcAddr ();
18406 return 0;
18408 _ACEOF
18409 if ac_fn_c_try_link "$LINENO"
18410 then :
18411 case "$LIBEXT" in
18412 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18413 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'` ;;
18414 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18415 if ${ac_cv_lib_soname_MoltenVK:+false} :
18416 then :
18417 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18418 fi ;;
18419 esac
18420 else $as_nop
18421 ac_cv_lib_soname_MoltenVK=
18423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18424 conftest$ac_exeext conftest.$ac_ext
18425 LIBS=$ac_check_soname_save_LIBS
18427 if ${ac_cv_lib_soname_MoltenVK:+false} :
18428 then :
18429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18430 printf "%s\n" "not found" >&6; }
18432 else $as_nop
18433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18434 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18436 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18442 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18443 then :
18444 case "x$with_vulkan" in
18445 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18446 xno) ;;
18447 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18448 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18449 esac
18453 if test "x$with_vkd3d" != "xno"
18454 then
18455 if ${VKD3D_CFLAGS:+false} :
18456 then :
18457 if test ${PKG_CONFIG+y}
18458 then :
18459 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
18463 if ${VKD3D_LIBS:+false} :
18464 then :
18465 if test ${PKG_CONFIG+y}
18466 then :
18467 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
18472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
18473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
18474 ac_save_CPPFLAGS=$CPPFLAGS
18475 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
18476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
18477 printf %s "checking for -lvkd3d... " >&6; }
18478 if test ${ac_cv_lib_soname_vkd3d+y}
18479 then :
18480 printf %s "(cached) " >&6
18481 else $as_nop
18482 ac_check_soname_save_LIBS=$LIBS
18483 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
18484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18485 /* end confdefs.h. */
18487 /* Override any GCC internal prototype to avoid an error.
18488 Use char because int might match the return type of a GCC
18489 builtin and then its argument prototype would still apply. */
18490 char vkd3d_serialize_versioned_root_signature ();
18492 main (void)
18494 return vkd3d_serialize_versioned_root_signature ();
18496 return 0;
18498 _ACEOF
18499 if ac_fn_c_try_link "$LINENO"
18500 then :
18501 case "$LIBEXT" in
18502 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18503 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'` ;;
18504 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18505 if ${ac_cv_lib_soname_vkd3d:+false} :
18506 then :
18507 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18508 fi ;;
18509 esac
18510 else $as_nop
18511 ac_cv_lib_soname_vkd3d=
18513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18514 conftest$ac_exeext conftest.$ac_ext
18515 LIBS=$ac_check_soname_save_LIBS
18517 if ${ac_cv_lib_soname_vkd3d:+false} :
18518 then :
18519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18520 printf "%s\n" "not found" >&6; }
18522 else $as_nop
18523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
18524 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
18526 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
18530 CPPFLAGS=$ac_save_CPPFLAGS
18532 if ${VKD3D_SHADER_CFLAGS:+false} :
18533 then :
18534 if test ${PKG_CONFIG+y}
18535 then :
18536 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
18540 if ${VKD3D_SHADER_LIBS:+false} :
18541 then :
18542 if test ${PKG_CONFIG+y}
18543 then :
18544 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
18549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
18550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
18551 ac_save_CPPFLAGS=$CPPFLAGS
18552 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
18553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
18554 printf %s "checking for -lvkd3d-shader... " >&6; }
18555 if test ${ac_cv_lib_soname_vkd3d_shader+y}
18556 then :
18557 printf %s "(cached) " >&6
18558 else $as_nop
18559 ac_check_soname_save_LIBS=$LIBS
18560 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18564 /* Override any GCC internal prototype to avoid an error.
18565 Use char because int might match the return type of a GCC
18566 builtin and then its argument prototype would still apply. */
18567 char vkd3d_shader_compile ();
18569 main (void)
18571 return vkd3d_shader_compile ();
18573 return 0;
18575 _ACEOF
18576 if ac_fn_c_try_link "$LINENO"
18577 then :
18578 case "$LIBEXT" in
18579 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18580 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'` ;;
18581 *) 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'`
18582 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18583 then :
18584 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18585 fi ;;
18586 esac
18587 else $as_nop
18588 ac_cv_lib_soname_vkd3d_shader=
18590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18591 conftest$ac_exeext conftest.$ac_ext
18592 LIBS=$ac_check_soname_save_LIBS
18594 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18595 then :
18596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18597 printf "%s\n" "not found" >&6; }
18599 else $as_nop
18600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
18601 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
18603 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
18607 CPPFLAGS=$ac_save_CPPFLAGS
18610 if test "x$ac_cv_lib_soname_vkd3d" = "x"
18611 then :
18612 case "x$with_vkd3d" in
18613 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
18614 xno) ;;
18615 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
18616 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
18617 esac
18620 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
18623 if test "x${GCC}" = "xyes"
18624 then
18625 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18627 saved_CFLAGS=$CFLAGS
18628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18629 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18630 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18631 then :
18632 printf %s "(cached) " >&6
18633 else $as_nop
18634 ac_wine_try_cflags_saved=$CFLAGS
18635 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18637 /* end confdefs.h. */
18638 int main(int argc, char **argv) { return 0; }
18639 _ACEOF
18640 if ac_fn_c_try_link "$LINENO"
18641 then :
18642 ac_cv_cflags__Werror_unknown_warning_option=yes
18643 else $as_nop
18644 ac_cv_cflags__Werror_unknown_warning_option=no
18646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18647 conftest$ac_exeext conftest.$ac_ext
18648 CFLAGS=$ac_wine_try_cflags_saved
18650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18651 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18652 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18653 then :
18654 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18657 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18658 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18659 then :
18660 printf %s "(cached) " >&6
18661 else $as_nop
18662 ac_wine_try_cflags_saved=$CFLAGS
18663 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18666 int main(int argc, char **argv) { return 0; }
18667 _ACEOF
18668 if ac_fn_c_try_link "$LINENO"
18669 then :
18670 ac_cv_cflags__Werror_unused_command_line_argument=yes
18671 else $as_nop
18672 ac_cv_cflags__Werror_unused_command_line_argument=no
18674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18675 conftest$ac_exeext conftest.$ac_ext
18676 CFLAGS=$ac_wine_try_cflags_saved
18678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18679 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18680 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18681 then :
18682 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18685 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18686 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18687 then :
18688 printf %s "(cached) " >&6
18689 else $as_nop
18690 ac_wine_try_cflags_saved=$CFLAGS
18691 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18693 /* end confdefs.h. */
18694 int main(int argc, char **argv) { return 0; }
18695 _ACEOF
18696 if ac_fn_c_try_link "$LINENO"
18697 then :
18698 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18699 else $as_nop
18700 ac_cv_cflags__Werror_ignored_optimization_argument=no
18702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18703 conftest$ac_exeext conftest.$ac_ext
18704 CFLAGS=$ac_wine_try_cflags_saved
18706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18707 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18708 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18709 then :
18710 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18713 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18714 if test ${ac_cv_cflags__fcf_protection_none+y}
18715 then :
18716 printf %s "(cached) " >&6
18717 else $as_nop
18718 ac_wine_try_cflags_saved=$CFLAGS
18719 CFLAGS="$CFLAGS -fcf-protection=none"
18720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18721 /* end confdefs.h. */
18722 int main(int argc, char **argv) { return 0; }
18723 _ACEOF
18724 if ac_fn_c_try_link "$LINENO"
18725 then :
18726 ac_cv_cflags__fcf_protection_none=yes
18727 else $as_nop
18728 ac_cv_cflags__fcf_protection_none=no
18730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18731 conftest$ac_exeext conftest.$ac_ext
18732 CFLAGS=$ac_wine_try_cflags_saved
18734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18735 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18736 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18737 then :
18738 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18741 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18742 if test ${ac_cv_cflags__fno_stack_protector+y}
18743 then :
18744 printf %s "(cached) " >&6
18745 else $as_nop
18746 ac_wine_try_cflags_saved=$CFLAGS
18747 CFLAGS="$CFLAGS -fno-stack-protector"
18748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18749 /* end confdefs.h. */
18750 int main(int argc, char **argv) { return 0; }
18751 _ACEOF
18752 if ac_fn_c_try_link "$LINENO"
18753 then :
18754 ac_cv_cflags__fno_stack_protector=yes
18755 else $as_nop
18756 ac_cv_cflags__fno_stack_protector=no
18758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18759 conftest$ac_exeext conftest.$ac_ext
18760 CFLAGS=$ac_wine_try_cflags_saved
18762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18763 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18764 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18765 then :
18766 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18769 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18770 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18771 then :
18772 printf %s "(cached) " >&6
18773 else $as_nop
18774 ac_wine_try_cflags_saved=$CFLAGS
18775 CFLAGS="$CFLAGS -fno-strict-aliasing"
18776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18777 /* end confdefs.h. */
18778 int main(int argc, char **argv) { return 0; }
18779 _ACEOF
18780 if ac_fn_c_try_link "$LINENO"
18781 then :
18782 ac_cv_cflags__fno_strict_aliasing=yes
18783 else $as_nop
18784 ac_cv_cflags__fno_strict_aliasing=no
18786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18787 conftest$ac_exeext conftest.$ac_ext
18788 CFLAGS=$ac_wine_try_cflags_saved
18790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18791 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18792 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18793 then :
18794 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18797 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18798 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18799 then :
18800 printf %s "(cached) " >&6
18801 else $as_nop
18802 ac_wine_try_cflags_saved=$CFLAGS
18803 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18805 /* end confdefs.h. */
18806 int main(int argc, char **argv) { return 0; }
18807 _ACEOF
18808 if ac_fn_c_try_link "$LINENO"
18809 then :
18810 ac_cv_cflags__Wdeclaration_after_statement=yes
18811 else $as_nop
18812 ac_cv_cflags__Wdeclaration_after_statement=no
18814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18815 conftest$ac_exeext conftest.$ac_ext
18816 CFLAGS=$ac_wine_try_cflags_saved
18818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18819 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18820 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18821 then :
18822 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18825 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18826 if test ${ac_cv_cflags__Wempty_body+y}
18827 then :
18828 printf %s "(cached) " >&6
18829 else $as_nop
18830 ac_wine_try_cflags_saved=$CFLAGS
18831 CFLAGS="$CFLAGS -Wempty-body"
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18834 int main(int argc, char **argv) { return 0; }
18835 _ACEOF
18836 if ac_fn_c_try_link "$LINENO"
18837 then :
18838 ac_cv_cflags__Wempty_body=yes
18839 else $as_nop
18840 ac_cv_cflags__Wempty_body=no
18842 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18843 conftest$ac_exeext conftest.$ac_ext
18844 CFLAGS=$ac_wine_try_cflags_saved
18846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18847 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18848 if test "x$ac_cv_cflags__Wempty_body" = xyes
18849 then :
18850 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18853 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18854 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18855 then :
18856 printf %s "(cached) " >&6
18857 else $as_nop
18858 ac_wine_try_cflags_saved=$CFLAGS
18859 CFLAGS="$CFLAGS -Wignored-qualifiers"
18860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h. */
18862 int main(int argc, char **argv) { return 0; }
18863 _ACEOF
18864 if ac_fn_c_try_link "$LINENO"
18865 then :
18866 ac_cv_cflags__Wignored_qualifiers=yes
18867 else $as_nop
18868 ac_cv_cflags__Wignored_qualifiers=no
18870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18871 conftest$ac_exeext conftest.$ac_ext
18872 CFLAGS=$ac_wine_try_cflags_saved
18874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18875 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18876 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18877 then :
18878 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18881 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18882 if test ${ac_cv_cflags__Winit_self+y}
18883 then :
18884 printf %s "(cached) " >&6
18885 else $as_nop
18886 ac_wine_try_cflags_saved=$CFLAGS
18887 CFLAGS="$CFLAGS -Winit-self"
18888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18889 /* end confdefs.h. */
18890 int main(int argc, char **argv) { return 0; }
18891 _ACEOF
18892 if ac_fn_c_try_link "$LINENO"
18893 then :
18894 ac_cv_cflags__Winit_self=yes
18895 else $as_nop
18896 ac_cv_cflags__Winit_self=no
18898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18899 conftest$ac_exeext conftest.$ac_ext
18900 CFLAGS=$ac_wine_try_cflags_saved
18902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18903 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18904 if test "x$ac_cv_cflags__Winit_self" = xyes
18905 then :
18906 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18909 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18910 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18911 then :
18912 printf %s "(cached) " >&6
18913 else $as_nop
18914 ac_wine_try_cflags_saved=$CFLAGS
18915 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18917 /* end confdefs.h. */
18918 int main(int argc, char **argv) { return 0; }
18919 _ACEOF
18920 if ac_fn_c_try_link "$LINENO"
18921 then :
18922 ac_cv_cflags__Wpacked_not_aligned=yes
18923 else $as_nop
18924 ac_cv_cflags__Wpacked_not_aligned=no
18926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18927 conftest$ac_exeext conftest.$ac_ext
18928 CFLAGS=$ac_wine_try_cflags_saved
18930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18931 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18932 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18933 then :
18934 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18937 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18938 if test ${ac_cv_cflags__Wpragma_pack+y}
18939 then :
18940 printf %s "(cached) " >&6
18941 else $as_nop
18942 ac_wine_try_cflags_saved=$CFLAGS
18943 CFLAGS="$CFLAGS -Wpragma-pack"
18944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18946 int main(int argc, char **argv) { return 0; }
18947 _ACEOF
18948 if ac_fn_c_try_link "$LINENO"
18949 then :
18950 ac_cv_cflags__Wpragma_pack=yes
18951 else $as_nop
18952 ac_cv_cflags__Wpragma_pack=no
18954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18955 conftest$ac_exeext conftest.$ac_ext
18956 CFLAGS=$ac_wine_try_cflags_saved
18958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18959 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18960 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18961 then :
18962 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18965 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18966 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18967 then :
18968 printf %s "(cached) " >&6
18969 else $as_nop
18970 ac_wine_try_cflags_saved=$CFLAGS
18971 CFLAGS="$CFLAGS -Wshift-overflow=2"
18972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18973 /* end confdefs.h. */
18974 int main(int argc, char **argv) { return 0; }
18975 _ACEOF
18976 if ac_fn_c_try_link "$LINENO"
18977 then :
18978 ac_cv_cflags__Wshift_overflow_2=yes
18979 else $as_nop
18980 ac_cv_cflags__Wshift_overflow_2=no
18982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18983 conftest$ac_exeext conftest.$ac_ext
18984 CFLAGS=$ac_wine_try_cflags_saved
18986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18987 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18988 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18989 then :
18990 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18993 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18994 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18995 then :
18996 printf %s "(cached) " >&6
18997 else $as_nop
18998 ac_wine_try_cflags_saved=$CFLAGS
18999 CFLAGS="$CFLAGS -Wstrict-prototypes"
19000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19001 /* end confdefs.h. */
19002 int main(int argc, char **argv) { return 0; }
19003 _ACEOF
19004 if ac_fn_c_try_link "$LINENO"
19005 then :
19006 ac_cv_cflags__Wstrict_prototypes=yes
19007 else $as_nop
19008 ac_cv_cflags__Wstrict_prototypes=no
19010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19011 conftest$ac_exeext conftest.$ac_ext
19012 CFLAGS=$ac_wine_try_cflags_saved
19014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19015 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19016 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19017 then :
19018 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19021 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19022 if test ${ac_cv_cflags__Wtype_limits+y}
19023 then :
19024 printf %s "(cached) " >&6
19025 else $as_nop
19026 ac_wine_try_cflags_saved=$CFLAGS
19027 CFLAGS="$CFLAGS -Wtype-limits"
19028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19029 /* end confdefs.h. */
19030 int main(int argc, char **argv) { return 0; }
19031 _ACEOF
19032 if ac_fn_c_try_link "$LINENO"
19033 then :
19034 ac_cv_cflags__Wtype_limits=yes
19035 else $as_nop
19036 ac_cv_cflags__Wtype_limits=no
19038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19039 conftest$ac_exeext conftest.$ac_ext
19040 CFLAGS=$ac_wine_try_cflags_saved
19042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19043 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19044 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19045 then :
19046 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19049 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19050 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19051 then :
19052 printf %s "(cached) " >&6
19053 else $as_nop
19054 ac_wine_try_cflags_saved=$CFLAGS
19055 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19058 int main(int argc, char **argv) { return 0; }
19059 _ACEOF
19060 if ac_fn_c_try_link "$LINENO"
19061 then :
19062 ac_cv_cflags__Wunused_but_set_parameter=yes
19063 else $as_nop
19064 ac_cv_cflags__Wunused_but_set_parameter=no
19066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19067 conftest$ac_exeext conftest.$ac_ext
19068 CFLAGS=$ac_wine_try_cflags_saved
19070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19071 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19072 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19073 then :
19074 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19077 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19078 if test ${ac_cv_cflags__Wvla+y}
19079 then :
19080 printf %s "(cached) " >&6
19081 else $as_nop
19082 ac_wine_try_cflags_saved=$CFLAGS
19083 CFLAGS="$CFLAGS -Wvla"
19084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19085 /* end confdefs.h. */
19086 int main(int argc, char **argv) { return 0; }
19087 _ACEOF
19088 if ac_fn_c_try_link "$LINENO"
19089 then :
19090 ac_cv_cflags__Wvla=yes
19091 else $as_nop
19092 ac_cv_cflags__Wvla=no
19094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19095 conftest$ac_exeext conftest.$ac_ext
19096 CFLAGS=$ac_wine_try_cflags_saved
19098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19099 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19100 if test "x$ac_cv_cflags__Wvla" = xyes
19101 then :
19102 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19105 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19106 if test ${ac_cv_cflags__Wwrite_strings+y}
19107 then :
19108 printf %s "(cached) " >&6
19109 else $as_nop
19110 ac_wine_try_cflags_saved=$CFLAGS
19111 CFLAGS="$CFLAGS -Wwrite-strings"
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19114 int main(int argc, char **argv) { return 0; }
19115 _ACEOF
19116 if ac_fn_c_try_link "$LINENO"
19117 then :
19118 ac_cv_cflags__Wwrite_strings=yes
19119 else $as_nop
19120 ac_cv_cflags__Wwrite_strings=no
19122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19123 conftest$ac_exeext conftest.$ac_ext
19124 CFLAGS=$ac_wine_try_cflags_saved
19126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19127 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19128 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19129 then :
19130 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19133 if test -z "$CROSSTARGET"
19134 then
19135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
19136 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
19137 if test ${ac_cv_cflags__fexcess_precision_standard+y}
19138 then :
19139 printf %s "(cached) " >&6
19140 else $as_nop
19141 ac_wine_try_cflags_saved=$CFLAGS
19142 CFLAGS="$CFLAGS -fexcess-precision=standard"
19143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19144 /* end confdefs.h. */
19145 int main(int argc, char **argv) { return 0; }
19146 _ACEOF
19147 if ac_fn_c_try_link "$LINENO"
19148 then :
19149 ac_cv_cflags__fexcess_precision_standard=yes
19150 else $as_nop
19151 ac_cv_cflags__fexcess_precision_standard=no
19153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19154 conftest$ac_exeext conftest.$ac_ext
19155 CFLAGS=$ac_wine_try_cflags_saved
19157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
19158 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
19159 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
19160 then :
19161 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
19166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19167 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19168 if test ${ac_cv_cflags__Wpointer_arith+y}
19169 then :
19170 printf %s "(cached) " >&6
19171 else $as_nop
19172 ac_wine_try_cflags_saved=$CFLAGS
19173 CFLAGS="$CFLAGS -Wpointer-arith"
19174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19175 /* end confdefs.h. */
19176 int main(int argc, char **argv) { return 0; }
19177 _ACEOF
19178 if ac_fn_c_try_link "$LINENO"
19179 then :
19180 ac_cv_cflags__Wpointer_arith=yes
19181 else $as_nop
19182 ac_cv_cflags__Wpointer_arith=no
19184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19185 conftest$ac_exeext conftest.$ac_ext
19186 CFLAGS=$ac_wine_try_cflags_saved
19188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19189 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19190 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19191 then :
19192 saved_string_h_CFLAGS=$CFLAGS
19193 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19195 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19196 if test ${ac_cv_c_string_h_warnings+y}
19197 then :
19198 printf %s "(cached) " >&6
19199 else $as_nop
19200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19201 /* end confdefs.h. */
19202 #include <string.h>
19204 main (void)
19208 return 0;
19210 _ACEOF
19211 if ac_fn_c_try_compile "$LINENO"
19212 then :
19213 ac_cv_c_string_h_warnings=no
19214 else $as_nop
19215 ac_cv_c_string_h_warnings=yes
19217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19220 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19221 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19222 CFLAGS=$saved_string_h_CFLAGS
19225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19226 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19227 if test ${ac_cv_cflags__Wlogical_op+y}
19228 then :
19229 printf %s "(cached) " >&6
19230 else $as_nop
19231 ac_wine_try_cflags_saved=$CFLAGS
19232 CFLAGS="$CFLAGS -Wlogical-op"
19233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19234 /* end confdefs.h. */
19235 int main(int argc, char **argv) { return 0; }
19236 _ACEOF
19237 if ac_fn_c_try_link "$LINENO"
19238 then :
19239 ac_cv_cflags__Wlogical_op=yes
19240 else $as_nop
19241 ac_cv_cflags__Wlogical_op=no
19243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19244 conftest$ac_exeext conftest.$ac_ext
19245 CFLAGS=$ac_wine_try_cflags_saved
19247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19248 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19249 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19250 then :
19251 saved_string_h_CFLAGS=$CFLAGS
19252 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19254 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19255 if test ${ac_cv_c_logicalop_noisy+y}
19256 then :
19257 printf %s "(cached) " >&6
19258 else $as_nop
19259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19260 /* end confdefs.h. */
19261 #include <string.h>
19262 char*f(const char *h,char n) {return strchr(h,n);}
19264 main (void)
19268 return 0;
19270 _ACEOF
19271 if ac_fn_c_try_compile "$LINENO"
19272 then :
19273 ac_cv_c_logicalop_noisy=no
19274 else $as_nop
19275 ac_cv_c_logicalop_noisy=yes
19277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19280 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19281 CFLAGS=$saved_string_h_CFLAGS
19282 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19286 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19287 if test ${wine_cv_64bit_compare_swap+y}
19288 then :
19289 printf %s "(cached) " >&6
19290 else $as_nop
19291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19292 /* end confdefs.h. */
19293 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19294 #error no
19295 #endif
19297 main (void)
19301 return 0;
19303 _ACEOF
19304 if ac_fn_c_try_compile "$LINENO"
19305 then :
19306 wine_cv_64bit_compare_swap="none needed"
19307 else $as_nop
19308 case $host_cpu in
19309 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19310 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19311 *) wine_cv_64bit_compare_swap="unknown" ;;
19312 esac
19313 if test "x$wine_cv_64bit_compare_swap" != xunknown
19314 then
19315 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19317 /* end confdefs.h. */
19318 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19319 #error no
19320 #endif
19322 main (void)
19326 return 0;
19328 _ACEOF
19329 if ac_fn_c_try_compile "$LINENO"
19330 then :
19332 else $as_nop
19333 wine_cv_64bit_compare_swap="unknown"
19335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19336 CFLAGS=$saved_CFLAGS
19339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19342 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19343 case "$wine_cv_64bit_compare_swap" in
19344 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19345 "none needed") ;;
19346 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19347 esac
19349 ac_debug_format_seen=""
19350 for ac_flag in $CFLAGS; do
19351 case $ac_flag in
19352 -gdwarf*) ac_debug_format_seen=yes ;;
19353 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19354 esac
19355 done
19356 if test "x$ac_debug_format_seen" = xdefault
19357 then
19358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19359 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19360 if test ${ac_cv_cflags__gdwarf_4+y}
19361 then :
19362 printf %s "(cached) " >&6
19363 else $as_nop
19364 ac_wine_try_cflags_saved=$CFLAGS
19365 CFLAGS="$CFLAGS -gdwarf-4"
19366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19367 /* end confdefs.h. */
19368 int main(int argc, char **argv) { return 0; }
19369 _ACEOF
19370 if ac_fn_c_try_link "$LINENO"
19371 then :
19372 ac_cv_cflags__gdwarf_4=yes
19373 else $as_nop
19374 ac_cv_cflags__gdwarf_4=no
19376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19377 conftest$ac_exeext conftest.$ac_ext
19378 CFLAGS=$ac_wine_try_cflags_saved
19380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19381 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19382 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19383 then :
19384 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19388 MSVCRTFLAGS=""
19390 case $host_os in
19391 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19392 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19393 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19394 then :
19395 printf %s "(cached) " >&6
19396 else $as_nop
19397 ac_wine_try_cflags_saved=$CFLAGS
19398 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19401 int main(int argc, char **argv) { return 0; }
19402 _ACEOF
19403 if ac_fn_c_try_link "$LINENO"
19404 then :
19405 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19406 else $as_nop
19407 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19410 conftest$ac_exeext conftest.$ac_ext
19411 CFLAGS=$ac_wine_try_cflags_saved
19413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19414 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19415 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19416 then :
19417 DELAYLOADFLAG="-Wl,-delayload,"
19419 fi ;;
19420 *) MSVCRTFLAGS="-D_WIN32"
19421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19422 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19423 if test ${ac_cv_cflags__fno_builtin+y}
19424 then :
19425 printf %s "(cached) " >&6
19426 else $as_nop
19427 ac_wine_try_cflags_saved=$CFLAGS
19428 CFLAGS="$CFLAGS -fno-builtin"
19429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19431 int main(int argc, char **argv) { return 0; }
19432 _ACEOF
19433 if ac_fn_c_try_link "$LINENO"
19434 then :
19435 ac_cv_cflags__fno_builtin=yes
19436 else $as_nop
19437 ac_cv_cflags__fno_builtin=no
19439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19440 conftest$ac_exeext conftest.$ac_ext
19441 CFLAGS=$ac_wine_try_cflags_saved
19443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19444 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19445 if test "x$ac_cv_cflags__fno_builtin" = xyes
19446 then :
19447 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19450 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19451 if test ${ac_cv_cflags__fshort_wchar+y}
19452 then :
19453 printf %s "(cached) " >&6
19454 else $as_nop
19455 ac_wine_try_cflags_saved=$CFLAGS
19456 CFLAGS="$CFLAGS -fshort-wchar"
19457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19458 /* end confdefs.h. */
19459 int main(int argc, char **argv) { return 0; }
19460 _ACEOF
19461 if ac_fn_c_try_link "$LINENO"
19462 then :
19463 ac_cv_cflags__fshort_wchar=yes
19464 else $as_nop
19465 ac_cv_cflags__fshort_wchar=no
19467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19468 conftest$ac_exeext conftest.$ac_ext
19469 CFLAGS=$ac_wine_try_cflags_saved
19471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19472 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19473 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19474 then :
19475 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19478 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19479 if test ${ac_cv_cflags__Wno_format+y}
19480 then :
19481 printf %s "(cached) " >&6
19482 else $as_nop
19483 ac_wine_try_cflags_saved=$CFLAGS
19484 CFLAGS="$CFLAGS -Wno-format"
19485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19486 /* end confdefs.h. */
19487 int main(int argc, char **argv) { return 0; }
19488 _ACEOF
19489 if ac_fn_c_try_link "$LINENO"
19490 then :
19491 ac_cv_cflags__Wno_format=yes
19492 else $as_nop
19493 ac_cv_cflags__Wno_format=no
19495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19496 conftest$ac_exeext conftest.$ac_ext
19497 CFLAGS=$ac_wine_try_cflags_saved
19499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19500 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19501 if test "x$ac_cv_cflags__Wno_format" = xyes
19502 then :
19503 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19504 fi ;;
19505 esac
19507 case $host_cpu in
19508 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19509 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19510 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19511 then :
19512 printf %s "(cached) " >&6
19513 else $as_nop
19514 ac_wine_try_cflags_saved=$CFLAGS
19515 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19517 /* end confdefs.h. */
19518 int main(int argc, char **argv) { return 0; }
19519 _ACEOF
19520 if ac_fn_c_try_link "$LINENO"
19521 then :
19522 ac_cv_cflags__fno_omit_frame_pointer=yes
19523 else $as_nop
19524 ac_cv_cflags__fno_omit_frame_pointer=no
19526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19527 conftest$ac_exeext conftest.$ac_ext
19528 CFLAGS=$ac_wine_try_cflags_saved
19530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19531 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19532 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19533 then :
19534 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19535 fi ;;
19536 *x86_64*)
19537 case $host_os in
19538 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19539 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19540 if test ${ac_cv_cflags__Wno_format+y}
19541 then :
19542 printf %s "(cached) " >&6
19543 else $as_nop
19544 ac_wine_try_cflags_saved=$CFLAGS
19545 CFLAGS="$CFLAGS -Wno-format"
19546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19547 /* end confdefs.h. */
19548 int main(int argc, char **argv) { return 0; }
19549 _ACEOF
19550 if ac_fn_c_try_link "$LINENO"
19551 then :
19552 ac_cv_cflags__Wno_format=yes
19553 else $as_nop
19554 ac_cv_cflags__Wno_format=no
19556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19557 conftest$ac_exeext conftest.$ac_ext
19558 CFLAGS=$ac_wine_try_cflags_saved
19560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19561 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19562 if test "x$ac_cv_cflags__Wno_format" = xyes
19563 then :
19564 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19565 fi ;;
19566 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
19567 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
19568 if test ${ac_cv_cflags__mabi_ms+y}
19569 then :
19570 printf %s "(cached) " >&6
19571 else $as_nop
19572 ac_wine_try_cflags_saved=$CFLAGS
19573 CFLAGS="$CFLAGS -mabi=ms"
19574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19576 int main(int argc, char **argv) { return 0; }
19577 _ACEOF
19578 if ac_fn_c_try_link "$LINENO"
19579 then :
19580 ac_cv_cflags__mabi_ms=yes
19581 else $as_nop
19582 ac_cv_cflags__mabi_ms=no
19584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19585 conftest$ac_exeext conftest.$ac_ext
19586 CFLAGS=$ac_wine_try_cflags_saved
19588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
19589 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
19590 if test "x$ac_cv_cflags__mabi_ms" = xyes
19591 then :
19592 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
19593 fi ;;
19594 esac ;;
19595 esac
19597 CFLAGS=$saved_CFLAGS
19599 if test "x$enable_werror" = "xyes"
19600 then
19601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19602 printf %s "checking whether the compiler supports -Werror... " >&6; }
19603 if test ${ac_cv_cflags__Werror+y}
19604 then :
19605 printf %s "(cached) " >&6
19606 else $as_nop
19607 ac_wine_try_cflags_saved=$CFLAGS
19608 CFLAGS="$CFLAGS -Werror"
19609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19610 /* end confdefs.h. */
19611 int main(int argc, char **argv) { return 0; }
19612 _ACEOF
19613 if ac_fn_c_try_link "$LINENO"
19614 then :
19615 ac_cv_cflags__Werror=yes
19616 else $as_nop
19617 ac_cv_cflags__Werror=no
19619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19620 conftest$ac_exeext conftest.$ac_ext
19621 CFLAGS=$ac_wine_try_cflags_saved
19623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19624 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19625 if test "x$ac_cv_cflags__Werror" = xyes
19626 then :
19627 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19630 if test "x$enable_build_id" = "xyes"
19631 then
19632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19633 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19634 if test ${ac_cv_cflags__Wl___build_id+y}
19635 then :
19636 printf %s "(cached) " >&6
19637 else $as_nop
19638 ac_wine_try_cflags_saved=$CFLAGS
19639 CFLAGS="$CFLAGS -Wl,--build-id"
19640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19641 /* end confdefs.h. */
19642 int main(int argc, char **argv) { return 0; }
19643 _ACEOF
19644 if ac_fn_c_try_link "$LINENO"
19645 then :
19646 ac_cv_cflags__Wl___build_id=yes
19647 else $as_nop
19648 ac_cv_cflags__Wl___build_id=no
19650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19651 conftest$ac_exeext conftest.$ac_ext
19652 CFLAGS=$ac_wine_try_cflags_saved
19654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19655 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19656 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19657 then :
19658 CFLAGS="$CFLAGS -Wl,--build-id"
19659 LDFLAGS="$LDFLAGS -Wl,--build-id"
19665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19666 printf %s "checking for the need to disable Fortify... " >&6; }
19667 if test ${ac_cv_c_fortify_enabled+y}
19668 then :
19669 printf %s "(cached) " >&6
19670 else $as_nop
19671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19672 /* end confdefs.h. */
19673 #include <string.h>
19675 main (void)
19677 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19678 #error Fortify enabled
19679 #endif
19681 return 0;
19683 _ACEOF
19684 if ac_fn_c_try_compile "$LINENO"
19685 then :
19686 ac_cv_c_fortify_enabled=no
19687 else $as_nop
19688 ac_cv_c_fortify_enabled=yes
19690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19693 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19694 if test "$ac_cv_c_fortify_enabled" = yes
19695 then
19696 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19701 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19702 if test ${ac_cv_c_cfi_support+y}
19703 then :
19704 printf %s "(cached) " >&6
19705 else $as_nop
19706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19707 /* end confdefs.h. */
19708 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19710 main (void)
19714 return 0;
19716 _ACEOF
19717 if ac_fn_c_try_compile "$LINENO"
19718 then :
19719 ac_cv_c_cfi_support="yes"
19720 else $as_nop
19721 ac_cv_c_cfi_support="no"
19723 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19726 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19727 if test "$ac_cv_c_cfi_support" = "yes"
19728 then
19729 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19730 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19731 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19732 else
19733 if test "x$enable_win64" = "xyes"
19734 then
19735 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19740 case $host_os in
19741 linux*)
19742 case $host_cpu in
19743 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19744 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19745 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19747 esac
19749 esac
19752 ac_save_CFLAGS="$CFLAGS"
19753 CFLAGS="$CFLAGS $BUILTINFLAG"
19754 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19755 if test "x$ac_cv_func_epoll_create" = xyes
19756 then :
19757 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19760 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19761 if test "x$ac_cv_func_fstatfs" = xyes
19762 then :
19763 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19766 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19767 if test "x$ac_cv_func_futimens" = xyes
19768 then :
19769 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19772 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19773 if test "x$ac_cv_func_futimes" = xyes
19774 then :
19775 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19778 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19779 if test "x$ac_cv_func_futimesat" = xyes
19780 then :
19781 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19784 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19785 if test "x$ac_cv_func_getattrlist" = xyes
19786 then :
19787 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19790 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19791 if test "x$ac_cv_func_getauxval" = xyes
19792 then :
19793 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19796 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19797 if test "x$ac_cv_func_getifaddrs" = xyes
19798 then :
19799 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19802 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19803 if test "x$ac_cv_func_getrandom" = xyes
19804 then :
19805 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19808 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19809 if test "x$ac_cv_func_kqueue" = xyes
19810 then :
19811 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19814 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19815 if test "x$ac_cv_func_mach_continuous_time" = xyes
19816 then :
19817 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19820 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19821 if test "x$ac_cv_func_pipe2" = xyes
19822 then :
19823 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19826 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19827 if test "x$ac_cv_func_port_create" = xyes
19828 then :
19829 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19832 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19833 if test "x$ac_cv_func_posix_fadvise" = xyes
19834 then :
19835 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19838 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19839 if test "x$ac_cv_func_posix_fallocate" = xyes
19840 then :
19841 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19844 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19845 if test "x$ac_cv_func_prctl" = xyes
19846 then :
19847 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19850 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19851 if test "x$ac_cv_func_proc_pidinfo" = xyes
19852 then :
19853 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19856 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19857 if test "x$ac_cv_func_sched_yield" = xyes
19858 then :
19859 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19862 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19863 if test "x$ac_cv_func_setproctitle" = xyes
19864 then :
19865 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19868 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19869 if test "x$ac_cv_func_setprogname" = xyes
19870 then :
19871 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19874 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19875 if test "x$ac_cv_func_sigprocmask" = xyes
19876 then :
19877 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19880 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19881 if test "x$ac_cv_func_sysinfo" = xyes
19882 then :
19883 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19886 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19887 if test "x$ac_cv_func_tcdrain" = xyes
19888 then :
19889 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19892 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19893 if test "x$ac_cv_func_thr_kill2" = xyes
19894 then :
19895 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19899 CFLAGS="$ac_save_CFLAGS"
19901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19902 printf %s "checking for library containing dlopen... " >&6; }
19903 if test ${ac_cv_search_dlopen+y}
19904 then :
19905 printf %s "(cached) " >&6
19906 else $as_nop
19907 ac_func_search_save_LIBS=$LIBS
19908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19909 /* end confdefs.h. */
19911 /* Override any GCC internal prototype to avoid an error.
19912 Use char because int might match the return type of a GCC
19913 builtin and then its argument prototype would still apply. */
19914 char dlopen ();
19916 main (void)
19918 return dlopen ();
19920 return 0;
19922 _ACEOF
19923 for ac_lib in '' dl
19925 if test -z "$ac_lib"; then
19926 ac_res="none required"
19927 else
19928 ac_res=-l$ac_lib
19929 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19931 if ac_fn_c_try_link "$LINENO"
19932 then :
19933 ac_cv_search_dlopen=$ac_res
19935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19936 conftest$ac_exeext
19937 if test ${ac_cv_search_dlopen+y}
19938 then :
19939 break
19941 done
19942 if test ${ac_cv_search_dlopen+y}
19943 then :
19945 else $as_nop
19946 ac_cv_search_dlopen=no
19948 rm conftest.$ac_ext
19949 LIBS=$ac_func_search_save_LIBS
19951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19952 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19953 ac_res=$ac_cv_search_dlopen
19954 if test "$ac_res" != no
19955 then :
19956 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19960 ac_wine_check_funcs_save_LIBS="$LIBS"
19961 LIBS="$LIBS $DL_LIBS"
19962 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19963 if test "x$ac_cv_func_dlinfo" = xyes
19964 then :
19965 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19969 LIBS="$ac_wine_check_funcs_save_LIBS"
19971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19972 printf %s "checking for library containing gethostbyname... " >&6; }
19973 if test ${ac_cv_search_gethostbyname+y}
19974 then :
19975 printf %s "(cached) " >&6
19976 else $as_nop
19977 ac_func_search_save_LIBS=$LIBS
19978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19979 /* end confdefs.h. */
19981 /* Override any GCC internal prototype to avoid an error.
19982 Use char because int might match the return type of a GCC
19983 builtin and then its argument prototype would still apply. */
19984 char gethostbyname ();
19986 main (void)
19988 return gethostbyname ();
19990 return 0;
19992 _ACEOF
19993 for ac_lib in '' nsl
19995 if test -z "$ac_lib"; then
19996 ac_res="none required"
19997 else
19998 ac_res=-l$ac_lib
19999 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20001 if ac_fn_c_try_link "$LINENO"
20002 then :
20003 ac_cv_search_gethostbyname=$ac_res
20005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20006 conftest$ac_exeext
20007 if test ${ac_cv_search_gethostbyname+y}
20008 then :
20009 break
20011 done
20012 if test ${ac_cv_search_gethostbyname+y}
20013 then :
20015 else $as_nop
20016 ac_cv_search_gethostbyname=no
20018 rm conftest.$ac_ext
20019 LIBS=$ac_func_search_save_LIBS
20021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20022 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20023 ac_res=$ac_cv_search_gethostbyname
20024 if test "$ac_res" != no
20025 then :
20026 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20032 printf %s "checking for library containing connect... " >&6; }
20033 if test ${ac_cv_search_connect+y}
20034 then :
20035 printf %s "(cached) " >&6
20036 else $as_nop
20037 ac_func_search_save_LIBS=$LIBS
20038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20039 /* end confdefs.h. */
20041 /* Override any GCC internal prototype to avoid an error.
20042 Use char because int might match the return type of a GCC
20043 builtin and then its argument prototype would still apply. */
20044 char connect ();
20046 main (void)
20048 return connect ();
20050 return 0;
20052 _ACEOF
20053 for ac_lib in '' socket
20055 if test -z "$ac_lib"; then
20056 ac_res="none required"
20057 else
20058 ac_res=-l$ac_lib
20059 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20061 if ac_fn_c_try_link "$LINENO"
20062 then :
20063 ac_cv_search_connect=$ac_res
20065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20066 conftest$ac_exeext
20067 if test ${ac_cv_search_connect+y}
20068 then :
20069 break
20071 done
20072 if test ${ac_cv_search_connect+y}
20073 then :
20075 else $as_nop
20076 ac_cv_search_connect=no
20078 rm conftest.$ac_ext
20079 LIBS=$ac_func_search_save_LIBS
20081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20082 printf "%s\n" "$ac_cv_search_connect" >&6; }
20083 ac_res=$ac_cv_search_connect
20084 if test "$ac_res" != no
20085 then :
20086 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20092 printf %s "checking for library containing inet_aton... " >&6; }
20093 if test ${ac_cv_search_inet_aton+y}
20094 then :
20095 printf %s "(cached) " >&6
20096 else $as_nop
20097 ac_func_search_save_LIBS=$LIBS
20098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20099 /* end confdefs.h. */
20101 /* Override any GCC internal prototype to avoid an error.
20102 Use char because int might match the return type of a GCC
20103 builtin and then its argument prototype would still apply. */
20104 char inet_aton ();
20106 main (void)
20108 return inet_aton ();
20110 return 0;
20112 _ACEOF
20113 for ac_lib in '' resolv
20115 if test -z "$ac_lib"; then
20116 ac_res="none required"
20117 else
20118 ac_res=-l$ac_lib
20119 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20121 if ac_fn_c_try_link "$LINENO"
20122 then :
20123 ac_cv_search_inet_aton=$ac_res
20125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20126 conftest$ac_exeext
20127 if test ${ac_cv_search_inet_aton+y}
20128 then :
20129 break
20131 done
20132 if test ${ac_cv_search_inet_aton+y}
20133 then :
20135 else $as_nop
20136 ac_cv_search_inet_aton=no
20138 rm conftest.$ac_ext
20139 LIBS=$ac_func_search_save_LIBS
20141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20142 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20143 ac_res=$ac_cv_search_inet_aton
20144 if test "$ac_res" != no
20145 then :
20146 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20151 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20152 if test "x$ac_cv_func_getaddrinfo" = xyes
20153 then :
20154 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20159 case $host_os in
20160 darwin*|macosx*) ;;
20161 *) ac_save_LIBS=$LIBS
20162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20163 printf %s "checking for library containing clock_gettime... " >&6; }
20164 if test ${ac_cv_search_clock_gettime+y}
20165 then :
20166 printf %s "(cached) " >&6
20167 else $as_nop
20168 ac_func_search_save_LIBS=$LIBS
20169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20170 /* end confdefs.h. */
20172 /* Override any GCC internal prototype to avoid an error.
20173 Use char because int might match the return type of a GCC
20174 builtin and then its argument prototype would still apply. */
20175 char clock_gettime ();
20177 main (void)
20179 return clock_gettime ();
20181 return 0;
20183 _ACEOF
20184 for ac_lib in '' rt
20186 if test -z "$ac_lib"; then
20187 ac_res="none required"
20188 else
20189 ac_res=-l$ac_lib
20190 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20192 if ac_fn_c_try_link "$LINENO"
20193 then :
20194 ac_cv_search_clock_gettime=$ac_res
20196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20197 conftest$ac_exeext
20198 if test ${ac_cv_search_clock_gettime+y}
20199 then :
20200 break
20202 done
20203 if test ${ac_cv_search_clock_gettime+y}
20204 then :
20206 else $as_nop
20207 ac_cv_search_clock_gettime=no
20209 rm conftest.$ac_ext
20210 LIBS=$ac_func_search_save_LIBS
20212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20213 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20214 ac_res=$ac_cv_search_clock_gettime
20215 if test "$ac_res" != no
20216 then :
20217 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20219 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20221 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20225 LIBS=$ac_save_LIBS
20227 esac
20229 if test "x$with_ldap" != "xno"
20230 then
20231 if ${LDAP_CFLAGS:+false} :
20232 then :
20233 if test ${PKG_CONFIG+y}
20234 then :
20235 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20239 if ${LDAP_LIBS:+false} :
20240 then :
20241 if test ${PKG_CONFIG+y}
20242 then :
20243 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20247 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20250 ac_save_CPPFLAGS=$CPPFLAGS
20251 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20252 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20253 if test "x$ac_cv_header_ldap_h" = xyes
20254 then :
20255 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20258 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20259 if test "x$ac_cv_header_lber_h" = xyes
20260 then :
20261 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20265 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20266 then
20267 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20269 if test "x$ac_cv_type_LDAPSortKey" = xyes
20270 then :
20271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20272 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20273 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20274 then :
20275 printf %s "(cached) " >&6
20276 else $as_nop
20277 ac_check_lib_save_LIBS=$LIBS
20278 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20280 /* end confdefs.h. */
20282 /* Override any GCC internal prototype to avoid an error.
20283 Use char because int might match the return type of a GCC
20284 builtin and then its argument prototype would still apply. */
20285 char ldap_initialize ();
20287 main (void)
20289 return ldap_initialize ();
20291 return 0;
20293 _ACEOF
20294 if ac_fn_c_try_link "$LINENO"
20295 then :
20296 ac_cv_lib_ldap_ldap_initialize=yes
20297 else $as_nop
20298 ac_cv_lib_ldap_ldap_initialize=no
20300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20301 conftest$ac_exeext conftest.$ac_ext
20302 LIBS=$ac_check_lib_save_LIBS
20304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20305 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20306 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20307 then :
20308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20309 printf %s "checking for ber_init in -llber... " >&6; }
20310 if test ${ac_cv_lib_lber_ber_init+y}
20311 then :
20312 printf %s "(cached) " >&6
20313 else $as_nop
20314 ac_check_lib_save_LIBS=$LIBS
20315 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20317 /* end confdefs.h. */
20319 /* Override any GCC internal prototype to avoid an error.
20320 Use char because int might match the return type of a GCC
20321 builtin and then its argument prototype would still apply. */
20322 char ber_init ();
20324 main (void)
20326 return ber_init ();
20328 return 0;
20330 _ACEOF
20331 if ac_fn_c_try_link "$LINENO"
20332 then :
20333 ac_cv_lib_lber_ber_init=yes
20334 else $as_nop
20335 ac_cv_lib_lber_ber_init=no
20337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20338 conftest$ac_exeext conftest.$ac_ext
20339 LIBS=$ac_check_lib_save_LIBS
20341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20342 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20343 if test "x$ac_cv_lib_lber_ber_init" = xyes
20344 then :
20346 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20348 else $as_nop
20349 LDAP_LIBS=""
20352 else $as_nop
20353 LDAP_LIBS=""
20356 else $as_nop
20357 LDAP_LIBS=""
20360 else
20361 LDAP_LIBS=""
20363 CPPFLAGS=$ac_save_CPPFLAGS
20366 if test "x$LDAP_LIBS" = "x"
20367 then :
20368 case "x$with_ldap" in
20369 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20370 xno) ;;
20371 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20372 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20373 esac
20377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20378 printf %s "checking for sched_setaffinity... " >&6; }
20379 if test ${wine_cv_have_sched_setaffinity+y}
20380 then :
20381 printf %s "(cached) " >&6
20382 else $as_nop
20383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20384 /* end confdefs.h. */
20385 #include <sched.h>
20387 main (void)
20389 sched_setaffinity(0, 0, 0);
20391 return 0;
20393 _ACEOF
20394 if ac_fn_c_try_link "$LINENO"
20395 then :
20396 wine_cv_have_sched_setaffinity=yes
20397 else $as_nop
20398 wine_cv_have_sched_setaffinity=no
20400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20401 conftest$ac_exeext conftest.$ac_ext
20403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20404 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20405 if test "$wine_cv_have_sched_setaffinity" = "yes"
20406 then
20408 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20414 printf %s "checking for inline... " >&6; }
20415 if test ${ac_cv_c_inline+y}
20416 then :
20417 printf %s "(cached) " >&6
20418 else $as_nop
20419 ac_cv_c_inline=no
20420 for ac_kw in inline __inline__ __inline; do
20421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20422 /* end confdefs.h. */
20423 #ifndef __cplusplus
20424 typedef int foo_t;
20425 static $ac_kw foo_t static_foo (void) {return 0; }
20426 $ac_kw foo_t foo (void) {return 0; }
20427 #endif
20429 _ACEOF
20430 if ac_fn_c_try_compile "$LINENO"
20431 then :
20432 ac_cv_c_inline=$ac_kw
20434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20435 test "$ac_cv_c_inline" != no && break
20436 done
20439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20440 printf "%s\n" "$ac_cv_c_inline" >&6; }
20442 case $ac_cv_c_inline in
20443 inline | yes) ;;
20445 case $ac_cv_c_inline in
20446 no) ac_val=;;
20447 *) ac_val=$ac_cv_c_inline;;
20448 esac
20449 cat >>confdefs.h <<_ACEOF
20450 #ifndef __cplusplus
20451 #define inline $ac_val
20452 #endif
20453 _ACEOF
20455 esac
20457 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20458 #include <signal.h>
20460 if test "x$ac_cv_type_sigset_t" = xyes
20461 then :
20463 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20468 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20470 if test "x$ac_cv_type_request_sense" = xyes
20471 then :
20473 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20479 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20480 #include <sys/socket.h>
20481 #ifdef HAVE_SYS_SOCKETVAR_H
20482 #include <sys/socketvar.h>
20483 #endif
20484 #ifdef HAVE_NET_ROUTE_H
20485 #include <net/route.h>
20486 #endif
20487 #ifdef HAVE_NETINET_IN_H
20488 #include <netinet/in.h>
20489 #endif
20490 #ifdef HAVE_NETINET_IN_SYSTM_H
20491 #include <netinet/in_systm.h>
20492 #endif
20493 #ifdef HAVE_NETINET_IP_H
20494 #include <netinet/ip.h>
20495 #endif
20496 #ifdef HAVE_NETINET_IN_PCB_H
20497 #include <netinet/in_pcb.h>
20498 #endif
20500 if test "x$ac_cv_type_struct_xinpgen" = xyes
20501 then :
20503 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20510 printf %s "checking for sigaddset... " >&6; }
20511 if test ${wine_cv_have_sigaddset+y}
20512 then :
20513 printf %s "(cached) " >&6
20514 else $as_nop
20515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20516 /* end confdefs.h. */
20517 #include <signal.h>
20519 main (void)
20521 sigset_t set; sigaddset(&set,SIGTERM);
20523 return 0;
20525 _ACEOF
20526 if ac_fn_c_try_link "$LINENO"
20527 then :
20528 wine_cv_have_sigaddset=yes
20529 else $as_nop
20530 wine_cv_have_sigaddset=no
20532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20533 conftest$ac_exeext conftest.$ac_ext
20535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20536 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20537 if test "$wine_cv_have_sigaddset" = "yes"
20538 then
20540 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20546 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20547 if test ${wine_cv_linux_gethostbyname_r_6+y}
20548 then :
20549 printf %s "(cached) " >&6
20550 else $as_nop
20551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20552 /* end confdefs.h. */
20553 #include <netdb.h>
20555 main (void)
20558 char *name=0;
20559 struct hostent he;
20560 struct hostent *result;
20561 char *buf=0;
20562 int bufsize=0;
20563 int errnr;
20564 char *addr=0;
20565 int addrlen=0;
20566 int addrtype=0;
20567 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20568 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20571 return 0;
20573 _ACEOF
20574 if ac_fn_c_try_link "$LINENO"
20575 then :
20576 wine_cv_linux_gethostbyname_r_6=yes
20577 else $as_nop
20578 wine_cv_linux_gethostbyname_r_6=no
20581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20582 conftest$ac_exeext conftest.$ac_ext
20585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20586 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20587 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20588 then
20590 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20594 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20595 #include <sys/socket.h>
20596 #ifdef HAVE_SYS_UN_H
20597 # include <sys/un.h>
20598 #endif
20600 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20601 then :
20603 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20607 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20608 #include <sys/socket.h>
20609 #ifdef HAVE_SYS_UN_H
20610 # include <sys/un.h>
20611 #endif
20613 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20614 then :
20616 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20622 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20623 #ifdef HAVE_SCSI_SG_H
20624 #include <scsi/sg.h>
20625 #endif
20627 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20628 then :
20630 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20634 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>
20635 #ifdef HAVE_SCSI_SG_H
20636 #include <scsi/sg.h>
20637 #endif
20639 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20640 then :
20642 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20648 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20650 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20651 then :
20653 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20659 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20660 #ifdef HAVE_SYS_MTIO_H
20661 #include <sys/mtio.h>
20662 #endif
20664 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20665 then :
20667 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20671 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20672 #ifdef HAVE_SYS_MTIO_H
20673 #include <sys/mtio.h>
20674 #endif
20676 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20677 then :
20679 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20683 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20684 #ifdef HAVE_SYS_MTIO_H
20685 #include <sys/mtio.h>
20686 #endif
20688 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20689 then :
20691 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20697 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20698 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20699 then :
20701 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20705 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20706 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20707 then :
20709 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20713 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20714 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20715 then :
20717 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20721 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20722 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20723 then :
20725 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20729 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20730 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20731 then :
20733 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20737 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20738 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20739 then :
20741 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20745 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20746 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20747 then :
20749 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20753 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20754 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20755 then :
20757 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20761 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20762 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20763 then :
20765 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20769 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20770 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20771 then :
20773 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20777 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20778 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20779 then :
20781 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20787 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>
20788 #ifdef HAVE_NETINET_IN_H
20789 #include <netinet/in.h>
20790 #endif
20792 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20793 then :
20795 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20801 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
20802 #include <resolv.h>
20803 #endif
20805 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20806 then :
20808 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20814 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20815 #include <netinet/in.h>
20816 #endif
20818 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20819 then :
20821 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20827 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20828 #ifdef HAVE_SYS_SOCKETVAR_H
20829 #include <sys/socketvar.h>
20830 #endif
20831 #ifdef HAVE_NETINET_IN_H
20832 #include <netinet/in.h>
20833 #endif
20834 #ifdef HAVE_NETINET_IP_VAR_H
20835 #include <netinet/ip_var.h>
20836 #endif
20838 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20839 then :
20841 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20847 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
20848 #include <netinet/ip_var.h>
20849 #endif
20851 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20852 then :
20854 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20860 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20861 #ifdef HAVE_SYS_SOCKETVAR_H
20862 #include <sys/socketvar.h>
20863 #endif
20864 #ifdef HAVE_NETINET_IN_H
20865 #include <netinet/in.h>
20866 #endif
20867 #ifdef HAVE_NETINET_TCP_H
20868 #include <netinet/tcp.h>
20869 #endif
20870 #ifdef HAVE_NETINET_TCP_VAR_H
20871 #include <netinet/tcp_var.h>
20872 #endif
20874 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20875 then :
20877 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20883 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
20884 #include <netinet/tcp_var.h>
20885 #endif
20887 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20888 then :
20890 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20896 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20897 #ifdef HAVE_NETINET_IN_H
20898 #include <netinet/in.h>
20899 #endif
20900 #ifdef HAVE_NETINET_IP_VAR_H
20901 #include <netinet/ip_var.h>
20902 #endif
20903 #ifdef HAVE_NETINET_UDP_H
20904 #include <netinet/udp.h>
20905 #endif
20906 #ifdef HAVE_NETINET_UDP_VAR_H
20907 #include <netinet/udp_var.h>
20908 #endif
20910 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20911 then :
20913 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20919 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20920 #ifdef HAVE_NET_IF_H
20921 # include <net/if.h>
20922 #endif
20924 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20925 then :
20927 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20933 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20934 # include <sys/sysinfo.h>
20935 #endif
20937 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20938 then :
20940 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20944 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20945 # include <sys/sysinfo.h>
20946 #endif
20948 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20949 then :
20951 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20957 ac_save_LIBS="$LIBS"
20958 LIBS="$LIBS -lm"
20959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20960 printf %s "checking for isfinite... " >&6; }
20961 if test ${ac_cv_have_isfinite+y}
20962 then :
20963 printf %s "(cached) " >&6
20964 else $as_nop
20965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20967 #include <math.h>
20969 main (void)
20971 float f = 0.0; return isfinite(f)
20973 return 0;
20975 _ACEOF
20976 if ac_fn_c_try_link "$LINENO"
20977 then :
20978 ac_cv_have_isfinite="yes"
20979 else $as_nop
20980 ac_cv_have_isfinite="no"
20982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20983 conftest$ac_exeext conftest.$ac_ext
20985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
20986 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
20987 if test "$ac_cv_have_isfinite" = "yes"
20988 then
20990 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
20994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
20995 printf %s "checking for isinf... " >&6; }
20996 if test ${ac_cv_have_isinf+y}
20997 then :
20998 printf %s "(cached) " >&6
20999 else $as_nop
21000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21001 /* end confdefs.h. */
21002 #include <math.h>
21004 main (void)
21006 float f = 0.0; return isinf(f)
21008 return 0;
21010 _ACEOF
21011 if ac_fn_c_try_link "$LINENO"
21012 then :
21013 ac_cv_have_isinf="yes"
21014 else $as_nop
21015 ac_cv_have_isinf="no"
21017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21018 conftest$ac_exeext conftest.$ac_ext
21020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
21021 printf "%s\n" "$ac_cv_have_isinf" >&6; }
21022 if test "$ac_cv_have_isinf" = "yes"
21023 then
21025 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
21029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
21030 printf %s "checking for isnan... " >&6; }
21031 if test ${ac_cv_have_isnan+y}
21032 then :
21033 printf %s "(cached) " >&6
21034 else $as_nop
21035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21036 /* end confdefs.h. */
21037 #include <math.h>
21039 main (void)
21041 float f = 0.0; return isnan(f)
21043 return 0;
21045 _ACEOF
21046 if ac_fn_c_try_link "$LINENO"
21047 then :
21048 ac_cv_have_isnan="yes"
21049 else $as_nop
21050 ac_cv_have_isnan="no"
21052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21053 conftest$ac_exeext conftest.$ac_ext
21055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
21056 printf "%s\n" "$ac_cv_have_isnan" >&6; }
21057 if test "$ac_cv_have_isnan" = "yes"
21058 then
21060 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
21064 LIBS="$ac_save_LIBS"
21066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21067 printf %s "checking for __builtin_popcount... " >&6; }
21068 if test ${ac_cv_have___builtin_popcount+y}
21069 then :
21070 printf %s "(cached) " >&6
21071 else $as_nop
21072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21073 /* end confdefs.h. */
21076 main (void)
21078 return __builtin_popcount(1)
21080 return 0;
21082 _ACEOF
21083 if ac_fn_c_try_link "$LINENO"
21084 then :
21085 ac_cv_have___builtin_popcount="yes"
21086 else $as_nop
21087 ac_cv_have___builtin_popcount="no"
21089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21090 conftest$ac_exeext conftest.$ac_ext
21092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21093 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21094 if test "$ac_cv_have___builtin_popcount" = "yes"
21095 then
21097 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21102 printf %s "checking for __clear_cache... " >&6; }
21103 if test ${ac_cv_have___clear_cache+y}
21104 then :
21105 printf %s "(cached) " >&6
21106 else $as_nop
21107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21108 /* end confdefs.h. */
21111 main (void)
21113 __clear_cache((void*)0, (void*)0); return 0;
21115 return 0;
21117 _ACEOF
21118 if ac_fn_c_try_link "$LINENO"
21119 then :
21120 ac_cv_have___clear_cache="yes"
21121 else $as_nop
21122 ac_cv_have___clear_cache="no"
21124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21125 conftest$ac_exeext conftest.$ac_ext
21127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21128 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21129 if test "$ac_cv_have___clear_cache" = "yes"
21130 then
21132 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21137 case $host_cpu in
21138 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21139 printf %s "checking whether we need to define __i386__... " >&6; }
21140 if test ${ac_cv_cpp_def___i386__+y}
21141 then :
21142 printf %s "(cached) " >&6
21143 else $as_nop
21144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21145 /* end confdefs.h. */
21146 #ifndef __i386__
21148 #endif
21149 _ACEOF
21150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21151 $EGREP "yes" >/dev/null 2>&1
21152 then :
21153 ac_cv_cpp_def___i386__=yes
21154 else $as_nop
21155 ac_cv_cpp_def___i386__=no
21157 rm -rf conftest*
21160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21161 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21162 if test "x$ac_cv_cpp_def___i386__" = xyes
21163 then :
21164 CFLAGS="$CFLAGS -D__i386__"
21165 LINTFLAGS="$LINTFLAGS -D__i386__"
21166 fi ;;
21167 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21168 printf %s "checking whether we need to define __x86_64__... " >&6; }
21169 if test ${ac_cv_cpp_def___x86_64__+y}
21170 then :
21171 printf %s "(cached) " >&6
21172 else $as_nop
21173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21174 /* end confdefs.h. */
21175 #ifndef __x86_64__
21177 #endif
21178 _ACEOF
21179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21180 $EGREP "yes" >/dev/null 2>&1
21181 then :
21182 ac_cv_cpp_def___x86_64__=yes
21183 else $as_nop
21184 ac_cv_cpp_def___x86_64__=no
21186 rm -rf conftest*
21189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21190 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21191 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21192 then :
21193 CFLAGS="$CFLAGS -D__x86_64__"
21194 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21195 fi ;;
21196 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21197 printf %s "checking whether we need to define __sparc64__... " >&6; }
21198 if test ${ac_cv_cpp_def___sparc64__+y}
21199 then :
21200 printf %s "(cached) " >&6
21201 else $as_nop
21202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21203 /* end confdefs.h. */
21204 #ifndef __sparc64__
21206 #endif
21207 _ACEOF
21208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21209 $EGREP "yes" >/dev/null 2>&1
21210 then :
21211 ac_cv_cpp_def___sparc64__=yes
21212 else $as_nop
21213 ac_cv_cpp_def___sparc64__=no
21215 rm -rf conftest*
21218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21219 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21220 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21221 then :
21222 CFLAGS="$CFLAGS -D__sparc64__"
21223 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21224 fi ;;
21225 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21226 printf %s "checking whether we need to define __sparc__... " >&6; }
21227 if test ${ac_cv_cpp_def___sparc__+y}
21228 then :
21229 printf %s "(cached) " >&6
21230 else $as_nop
21231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21232 /* end confdefs.h. */
21233 #ifndef __sparc__
21235 #endif
21236 _ACEOF
21237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21238 $EGREP "yes" >/dev/null 2>&1
21239 then :
21240 ac_cv_cpp_def___sparc__=yes
21241 else $as_nop
21242 ac_cv_cpp_def___sparc__=no
21244 rm -rf conftest*
21247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21248 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21249 if test "x$ac_cv_cpp_def___sparc__" = xyes
21250 then :
21251 CFLAGS="$CFLAGS -D__sparc__"
21252 LINTFLAGS="$LINTFLAGS -D__sparc__"
21253 fi ;;
21254 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21255 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21256 if test ${ac_cv_cpp_def___powerpc64__+y}
21257 then :
21258 printf %s "(cached) " >&6
21259 else $as_nop
21260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21261 /* end confdefs.h. */
21262 #ifndef __powerpc64__
21264 #endif
21265 _ACEOF
21266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21267 $EGREP "yes" >/dev/null 2>&1
21268 then :
21269 ac_cv_cpp_def___powerpc64__=yes
21270 else $as_nop
21271 ac_cv_cpp_def___powerpc64__=no
21273 rm -rf conftest*
21276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21277 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21278 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21279 then :
21280 CFLAGS="$CFLAGS -D__powerpc64__"
21281 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21282 fi ;;
21283 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21284 printf %s "checking whether we need to define __powerpc__... " >&6; }
21285 if test ${ac_cv_cpp_def___powerpc__+y}
21286 then :
21287 printf %s "(cached) " >&6
21288 else $as_nop
21289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21290 /* end confdefs.h. */
21291 #ifndef __powerpc__
21293 #endif
21294 _ACEOF
21295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21296 $EGREP "yes" >/dev/null 2>&1
21297 then :
21298 ac_cv_cpp_def___powerpc__=yes
21299 else $as_nop
21300 ac_cv_cpp_def___powerpc__=no
21302 rm -rf conftest*
21305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21306 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21307 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21308 then :
21309 CFLAGS="$CFLAGS -D__powerpc__"
21310 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21311 fi ;;
21312 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21313 printf %s "checking whether we need to define __aarch64__... " >&6; }
21314 if test ${ac_cv_cpp_def___aarch64__+y}
21315 then :
21316 printf %s "(cached) " >&6
21317 else $as_nop
21318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21319 /* end confdefs.h. */
21320 #ifndef __aarch64__
21322 #endif
21323 _ACEOF
21324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21325 $EGREP "yes" >/dev/null 2>&1
21326 then :
21327 ac_cv_cpp_def___aarch64__=yes
21328 else $as_nop
21329 ac_cv_cpp_def___aarch64__=no
21331 rm -rf conftest*
21334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21335 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21336 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21337 then :
21338 CFLAGS="$CFLAGS -D__aarch64__"
21339 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21340 fi ;;
21341 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21342 printf %s "checking whether we need to define __arm__... " >&6; }
21343 if test ${ac_cv_cpp_def___arm__+y}
21344 then :
21345 printf %s "(cached) " >&6
21346 else $as_nop
21347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21348 /* end confdefs.h. */
21349 #ifndef __arm__
21351 #endif
21352 _ACEOF
21353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21354 $EGREP "yes" >/dev/null 2>&1
21355 then :
21356 ac_cv_cpp_def___arm__=yes
21357 else $as_nop
21358 ac_cv_cpp_def___arm__=no
21360 rm -rf conftest*
21363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21364 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21365 if test "x$ac_cv_cpp_def___arm__" = xyes
21366 then :
21367 CFLAGS="$CFLAGS -D__arm__"
21368 LINTFLAGS="$LINTFLAGS -D__arm__"
21369 fi ;;
21370 esac
21372 case $host_vendor in
21373 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21374 printf %s "checking whether we need to define __sun__... " >&6; }
21375 if test ${ac_cv_cpp_def___sun__+y}
21376 then :
21377 printf %s "(cached) " >&6
21378 else $as_nop
21379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21380 /* end confdefs.h. */
21381 #ifndef __sun__
21383 #endif
21384 _ACEOF
21385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21386 $EGREP "yes" >/dev/null 2>&1
21387 then :
21388 ac_cv_cpp_def___sun__=yes
21389 else $as_nop
21390 ac_cv_cpp_def___sun__=no
21392 rm -rf conftest*
21395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21396 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21397 if test "x$ac_cv_cpp_def___sun__" = xyes
21398 then :
21399 CFLAGS="$CFLAGS -D__sun__"
21400 LINTFLAGS="$LINTFLAGS -D__sun__"
21401 fi ;;
21402 esac
21408 ac_config_commands="$ac_config_commands include/stamp-h"
21410 printf %s "creating Makefile rules..." >&6
21412 makedep_flags=""
21413 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21415 wine_srcdir=
21416 test "$srcdir" = . || wine_srcdir="$srcdir/"
21418 ac_config_links="$ac_config_links wine:tools/winewrapper"
21419 wine_fn_config_symlink wine
21420 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21421 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21422 wine_fn_config_symlink wine64
21425 wine_fn_config_makefile dlls/acledit enable_acledit
21426 wine_fn_config_makefile dlls/aclui enable_aclui
21427 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21428 wine_fn_config_makefile dlls/activeds enable_activeds
21429 wine_fn_config_makefile dlls/activeds/tests enable_tests
21430 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21431 wine_fn_config_makefile dlls/adsldp enable_adsldp
21432 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21433 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21434 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21435 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21436 wine_fn_config_makefile dlls/advpack enable_advpack
21437 wine_fn_config_makefile dlls/advpack/tests enable_tests
21438 wine_fn_config_makefile dlls/amsi enable_amsi
21439 wine_fn_config_makefile dlls/amstream enable_amstream
21440 wine_fn_config_makefile dlls/amstream/tests enable_tests
21441 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
21442 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-0 enable_api_ms_win_appmodel_runtime_l1_1_0
21443 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
21444 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
21445 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
21446 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
21447 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
21448 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
21449 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
21450 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
21451 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
21452 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
21453 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
21454 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
21455 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
21456 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
21457 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
21458 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
21459 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
21460 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
21461 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
21462 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
21463 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
21464 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
21465 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
21466 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
21467 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
21468 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
21469 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
21470 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
21471 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
21472 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
21473 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
21474 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
21475 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
21476 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
21477 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
21478 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
21479 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
21480 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
21481 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
21482 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
21483 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
21484 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
21485 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
21486 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
21487 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
21488 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
21489 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
21490 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
21491 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
21492 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
21493 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
21494 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
21495 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
21496 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
21497 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
21498 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
21499 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
21500 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
21501 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
21502 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
21503 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
21504 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
21505 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
21506 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
21507 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
21508 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
21509 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
21510 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
21511 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
21512 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
21513 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
21514 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
21515 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
21516 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
21517 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
21518 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
21519 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
21520 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
21521 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
21522 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
21523 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
21524 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
21525 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
21526 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
21527 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
21528 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
21529 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
21530 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
21531 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
21532 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
21533 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
21534 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
21535 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
21536 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
21537 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
21538 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
21539 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
21540 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
21541 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
21542 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
21543 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
21544 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
21545 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
21546 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
21547 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
21548 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
21549 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
21550 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
21551 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
21552 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
21553 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
21554 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
21555 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
21556 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
21557 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
21558 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
21559 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
21560 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
21561 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
21562 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
21563 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
21564 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
21565 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
21566 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
21567 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
21568 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
21569 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
21570 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
21571 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
21572 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
21573 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
21574 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
21575 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
21576 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
21577 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
21578 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
21579 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
21580 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
21581 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-1 enable_api_ms_win_core_windowserrorreporting_l1_1_1
21582 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
21583 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
21584 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
21585 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
21586 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
21587 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
21588 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
21589 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
21590 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
21591 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
21592 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
21593 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
21594 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
21595 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
21596 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
21597 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
21598 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
21599 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
21600 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
21601 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
21602 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
21603 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
21604 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
21605 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
21606 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
21607 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
21608 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
21609 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
21610 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
21611 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
21612 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
21613 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
21614 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
21615 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
21616 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
21617 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
21618 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
21619 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
21620 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
21621 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
21622 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
21623 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
21624 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
21625 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
21626 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
21627 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
21628 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
21629 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
21630 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
21631 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
21632 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
21633 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
21634 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
21635 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
21636 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
21637 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
21638 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
21639 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
21640 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
21641 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
21642 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
21643 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
21644 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
21645 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
21646 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
21647 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
21648 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
21649 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
21650 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
21651 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
21652 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
21653 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
21654 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
21655 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
21656 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-ansi-l2-1-0 enable_api_ms_win_security_lsalookup_ansi_l2_1_0
21657 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
21658 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
21659 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
21660 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
21661 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
21662 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
21663 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
21664 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
21665 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
21666 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
21667 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
21668 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
21669 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
21670 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
21671 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
21672 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
21673 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
21674 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
21675 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
21676 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
21677 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
21678 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
21679 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
21680 wine_fn_config_makefile dlls/apphelp enable_apphelp
21681 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21682 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21683 wine_fn_config_makefile dlls/atl enable_atl
21684 wine_fn_config_makefile dlls/atl/tests enable_tests
21685 wine_fn_config_makefile dlls/atl100 enable_atl100
21686 wine_fn_config_makefile dlls/atl100/tests enable_tests
21687 wine_fn_config_makefile dlls/atl110 enable_atl110
21688 wine_fn_config_makefile dlls/atl80 enable_atl80
21689 wine_fn_config_makefile dlls/atl80/tests enable_tests
21690 wine_fn_config_makefile dlls/atl90 enable_atl90
21691 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21692 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21693 wine_fn_config_makefile dlls/atmlib enable_atmlib
21694 wine_fn_config_makefile dlls/authz enable_authz
21695 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21696 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21697 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21698 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21699 wine_fn_config_makefile dlls/avrt enable_avrt
21700 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21701 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21702 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21703 wine_fn_config_makefile dlls/browseui enable_browseui
21704 wine_fn_config_makefile dlls/browseui/tests enable_tests
21705 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21706 wine_fn_config_makefile dlls/cabinet enable_cabinet
21707 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21708 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21709 wine_fn_config_makefile dlls/cards enable_cards
21710 wine_fn_config_makefile dlls/cdosys enable_cdosys
21711 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21712 wine_fn_config_makefile dlls/clusapi enable_clusapi
21713 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21714 wine_fn_config_makefile dlls/combase enable_combase
21715 wine_fn_config_makefile dlls/combase/tests enable_tests
21716 wine_fn_config_makefile dlls/comcat enable_comcat
21717 wine_fn_config_makefile dlls/comcat/tests enable_tests
21718 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21719 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21720 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21721 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21722 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21723 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21724 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21725 wine_fn_config_makefile dlls/compstui enable_compstui
21726 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21727 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21728 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21729 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21730 wine_fn_config_makefile dlls/connect enable_connect
21731 wine_fn_config_makefile dlls/credui enable_credui
21732 wine_fn_config_makefile dlls/credui/tests enable_tests
21733 wine_fn_config_makefile dlls/crtdll enable_crtdll
21734 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21735 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21736 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21737 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21738 wine_fn_config_makefile dlls/cryptext enable_cryptext
21739 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21740 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21741 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21742 wine_fn_config_makefile dlls/cryptui enable_cryptui
21743 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21744 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21745 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21746 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21747 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21748 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21749 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21750 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21751 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21752 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21753 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21754 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21755 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21756 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21757 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21758 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21759 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21760 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21761 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21762 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21763 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21764 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21765 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21766 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21767 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21768 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21769 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21770 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21771 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21772 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21773 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21774 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21775 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21776 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21777 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21778 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21779 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21780 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21781 wine_fn_config_makefile dlls/d3dim enable_d3dim
21782 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21783 wine_fn_config_makefile dlls/d3drm enable_d3drm
21784 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21785 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21786 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21787 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21788 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21789 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21790 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21791 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21792 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21793 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21794 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21795 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21796 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21797 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21798 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21799 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21800 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21801 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21802 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21803 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21804 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21805 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21806 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21807 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21808 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21809 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21810 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21811 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21812 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21813 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21814 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21815 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21816 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21817 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21818 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21819 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21820 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21821 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21822 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21823 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21824 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21825 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21826 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21827 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21828 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21829 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21830 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21831 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21832 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21833 wine_fn_config_makefile dlls/davclnt enable_davclnt
21834 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21835 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21836 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21837 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21838 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21839 wine_fn_config_makefile dlls/dcomp enable_dcomp
21840 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21841 wine_fn_config_makefile dlls/ddraw enable_ddraw
21842 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21843 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21844 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21845 wine_fn_config_makefile dlls/devenum enable_devenum
21846 wine_fn_config_makefile dlls/devenum/tests enable_tests
21847 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21848 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21849 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21850 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21851 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21852 wine_fn_config_makefile dlls/difxapi enable_difxapi
21853 wine_fn_config_makefile dlls/dinput enable_dinput
21854 wine_fn_config_makefile dlls/dinput/tests enable_tests
21855 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21856 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21857 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21858 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21859 wine_fn_config_makefile dlls/dispex enable_dispex
21860 wine_fn_config_makefile dlls/dispex/tests enable_tests
21861 wine_fn_config_makefile dlls/display.drv16 enable_win16
21862 wine_fn_config_makefile dlls/dmband enable_dmband
21863 wine_fn_config_makefile dlls/dmband/tests enable_tests
21864 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21865 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21866 wine_fn_config_makefile dlls/dmime enable_dmime
21867 wine_fn_config_makefile dlls/dmime/tests enable_tests
21868 wine_fn_config_makefile dlls/dmloader enable_dmloader
21869 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21870 wine_fn_config_makefile dlls/dmscript enable_dmscript
21871 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21872 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21873 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21874 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21875 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21876 wine_fn_config_makefile dlls/dmusic enable_dmusic
21877 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21878 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21879 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21880 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21881 wine_fn_config_makefile dlls/dplay enable_dplay
21882 wine_fn_config_makefile dlls/dplayx enable_dplayx
21883 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21884 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21885 wine_fn_config_makefile dlls/dpnet enable_dpnet
21886 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21887 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21888 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21889 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21890 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21891 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21892 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21893 wine_fn_config_makefile dlls/drmclien enable_drmclien
21894 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21895 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21896 wine_fn_config_makefile dlls/dsound enable_dsound
21897 wine_fn_config_makefile dlls/dsound/tests enable_tests
21898 wine_fn_config_makefile dlls/dsquery enable_dsquery
21899 wine_fn_config_makefile dlls/dssenh enable_dssenh
21900 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21901 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21902 wine_fn_config_makefile dlls/dswave enable_dswave
21903 wine_fn_config_makefile dlls/dswave/tests enable_tests
21904 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21905 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21906 wine_fn_config_makefile dlls/dwrite enable_dwrite
21907 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21908 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21909 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21910 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21911 wine_fn_config_makefile dlls/dxgi enable_dxgi
21912 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21913 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21914 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21915 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21916 wine_fn_config_makefile dlls/esent enable_esent
21917 wine_fn_config_makefile dlls/evr enable_evr
21918 wine_fn_config_makefile dlls/evr/tests enable_tests
21919 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21920 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21921 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
21922 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
21923 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
21924 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
21925 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
21926 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
21927 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
21928 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
21929 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
21930 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
21931 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
21932 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
21933 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
21934 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
21935 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
21936 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
21937 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
21938 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
21939 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
21940 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
21941 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
21942 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
21943 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
21944 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
21945 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
21946 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
21947 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
21948 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
21949 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
21950 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
21951 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
21952 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
21953 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
21954 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
21955 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
21956 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
21957 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
21958 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
21959 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
21960 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
21961 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
21962 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
21963 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
21964 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
21965 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
21966 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
21967 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
21968 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
21969 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
21970 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
21971 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
21972 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
21973 wine_fn_config_makefile dlls/faultrep enable_faultrep
21974 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21975 wine_fn_config_makefile dlls/feclient enable_feclient
21976 wine_fn_config_makefile dlls/fltlib enable_fltlib
21977 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21978 wine_fn_config_makefile dlls/fntcache enable_fntcache
21979 wine_fn_config_makefile dlls/fontsub enable_fontsub
21980 wine_fn_config_makefile dlls/fusion enable_fusion
21981 wine_fn_config_makefile dlls/fusion/tests enable_tests
21982 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21983 wine_fn_config_makefile dlls/gameux enable_gameux
21984 wine_fn_config_makefile dlls/gameux/tests enable_tests
21985 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21986 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21987 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21988 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21989 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21990 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21991 wine_fn_config_makefile dlls/glu32 enable_glu32
21992 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21993 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21994 wine_fn_config_makefile dlls/hal enable_hal
21995 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21996 wine_fn_config_makefile dlls/hid enable_hid
21997 wine_fn_config_makefile dlls/hid/tests enable_tests
21998 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21999 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
22000 wine_fn_config_makefile dlls/hlink enable_hlink
22001 wine_fn_config_makefile dlls/hlink/tests enable_tests
22002 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
22003 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
22004 wine_fn_config_makefile dlls/http.sys enable_http_sys
22005 wine_fn_config_makefile dlls/httpapi enable_httpapi
22006 wine_fn_config_makefile dlls/httpapi/tests enable_tests
22007 wine_fn_config_makefile dlls/iccvid enable_iccvid
22008 wine_fn_config_makefile dlls/icmp enable_icmp
22009 wine_fn_config_makefile dlls/ieframe enable_ieframe
22010 wine_fn_config_makefile dlls/ieframe/tests enable_tests
22011 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
22012 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
22013 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
22014 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
22015 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
22016 wine_fn_config_makefile dlls/imm.dll16 enable_win16
22017 wine_fn_config_makefile dlls/imm32 enable_imm32
22018 wine_fn_config_makefile dlls/imm32/tests enable_tests
22019 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
22020 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
22021 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
22022 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
22023 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
22024 wine_fn_config_makefile dlls/infosoft enable_infosoft
22025 wine_fn_config_makefile dlls/infosoft/tests enable_tests
22026 wine_fn_config_makefile dlls/initpki enable_initpki
22027 wine_fn_config_makefile dlls/inkobj enable_inkobj
22028 wine_fn_config_makefile dlls/inseng enable_inseng
22029 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
22030 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
22031 wine_fn_config_makefile dlls/iprop enable_iprop
22032 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
22033 wine_fn_config_makefile dlls/itircl enable_itircl
22034 wine_fn_config_makefile dlls/itss enable_itss
22035 wine_fn_config_makefile dlls/itss/tests enable_tests
22036 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
22037 wine_fn_config_makefile dlls/jscript enable_jscript
22038 wine_fn_config_makefile dlls/jscript/tests enable_tests
22039 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
22040 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
22041 wine_fn_config_makefile dlls/kerberos enable_kerberos
22042 wine_fn_config_makefile dlls/kernel32 enable_kernel32
22043 wine_fn_config_makefile dlls/kernel32/tests enable_tests
22044 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
22045 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
22046 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
22047 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
22048 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
22049 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
22050 wine_fn_config_makefile dlls/ksuser enable_ksuser
22051 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
22052 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
22053 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
22054 wine_fn_config_makefile dlls/loadperf enable_loadperf
22055 wine_fn_config_makefile dlls/localspl enable_localspl
22056 wine_fn_config_makefile dlls/localspl/tests enable_tests
22057 wine_fn_config_makefile dlls/localui enable_localui
22058 wine_fn_config_makefile dlls/localui/tests enable_tests
22059 wine_fn_config_makefile dlls/lz32 enable_lz32
22060 wine_fn_config_makefile dlls/lz32/tests enable_tests
22061 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
22062 wine_fn_config_makefile dlls/mapi32 enable_mapi32
22063 wine_fn_config_makefile dlls/mapi32/tests enable_tests
22064 wine_fn_config_makefile dlls/mapistub enable_mapistub
22065 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
22066 wine_fn_config_makefile dlls/mcicda enable_mcicda
22067 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
22068 wine_fn_config_makefile dlls/mciseq enable_mciseq
22069 wine_fn_config_makefile dlls/mciwave enable_mciwave
22070 wine_fn_config_makefile dlls/mf enable_mf
22071 wine_fn_config_makefile dlls/mf/tests enable_tests
22072 wine_fn_config_makefile dlls/mf3216 enable_mf3216
22073 wine_fn_config_makefile dlls/mferror enable_mferror
22074 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
22075 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
22076 wine_fn_config_makefile dlls/mfplat enable_mfplat
22077 wine_fn_config_makefile dlls/mfplat/tests enable_tests
22078 wine_fn_config_makefile dlls/mfplay enable_mfplay
22079 wine_fn_config_makefile dlls/mfplay/tests enable_tests
22080 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
22081 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
22082 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22083 wine_fn_config_makefile dlls/midimap enable_midimap
22084 wine_fn_config_makefile dlls/mlang enable_mlang
22085 wine_fn_config_makefile dlls/mlang/tests enable_tests
22086 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22087 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22088 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22089 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22090 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22091 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22092 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22093 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22094 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22095 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22096 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22097 wine_fn_config_makefile dlls/mpr enable_mpr
22098 wine_fn_config_makefile dlls/mpr/tests enable_tests
22099 wine_fn_config_makefile dlls/mprapi enable_mprapi
22100 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22101 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22102 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22103 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22104 wine_fn_config_makefile dlls/msado15 enable_msado15
22105 wine_fn_config_makefile dlls/msado15/tests enable_tests
22106 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22107 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22108 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22109 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22110 wine_fn_config_makefile dlls/mscms enable_mscms
22111 wine_fn_config_makefile dlls/mscms/tests enable_tests
22112 wine_fn_config_makefile dlls/mscoree enable_mscoree
22113 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22114 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22115 wine_fn_config_makefile dlls/msctf enable_msctf
22116 wine_fn_config_makefile dlls/msctf/tests enable_tests
22117 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22118 wine_fn_config_makefile dlls/msctfp enable_msctfp
22119 wine_fn_config_makefile dlls/msdaps enable_msdaps
22120 wine_fn_config_makefile dlls/msdasql enable_msdasql
22121 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22122 wine_fn_config_makefile dlls/msdelta enable_msdelta
22123 wine_fn_config_makefile dlls/msdmo enable_msdmo
22124 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22125 wine_fn_config_makefile dlls/msdrm enable_msdrm
22126 wine_fn_config_makefile dlls/msftedit enable_msftedit
22127 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22128 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22129 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22130 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22131 wine_fn_config_makefile dlls/mshtml enable_mshtml
22132 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22133 wine_fn_config_makefile dlls/msi enable_msi
22134 wine_fn_config_makefile dlls/msi/tests enable_tests
22135 wine_fn_config_makefile dlls/msident enable_msident
22136 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22137 wine_fn_config_makefile dlls/msimsg enable_msimsg
22138 wine_fn_config_makefile dlls/msimtf enable_msimtf
22139 wine_fn_config_makefile dlls/msisip enable_msisip
22140 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22141 wine_fn_config_makefile dlls/msls31 enable_msls31
22142 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22143 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22144 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22145 wine_fn_config_makefile dlls/msports enable_msports
22146 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22147 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22148 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22149 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22150 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22151 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22152 wine_fn_config_makefile dlls/mstask enable_mstask
22153 wine_fn_config_makefile dlls/mstask/tests enable_tests
22154 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22155 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22156 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22157 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22158 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22159 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22160 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22161 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22162 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22163 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22164 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22165 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22166 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22167 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22168 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22169 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22170 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22171 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22172 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22173 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22174 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22175 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22176 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22177 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22178 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22179 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22180 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22181 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22182 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22183 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22184 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22185 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22186 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22187 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22188 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22189 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22190 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22191 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22192 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22193 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22194 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22195 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22196 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22197 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22198 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22199 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22200 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22201 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22202 wine_fn_config_makefile dlls/mswsock enable_mswsock
22203 wine_fn_config_makefile dlls/msxml enable_msxml
22204 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22205 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22206 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22207 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22208 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22209 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22210 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22211 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22212 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22213 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22214 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22215 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22216 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22217 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22218 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22219 wine_fn_config_makefile dlls/netprofm enable_netprofm
22220 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22221 wine_fn_config_makefile dlls/netutils enable_netutils
22222 wine_fn_config_makefile dlls/newdev enable_newdev
22223 wine_fn_config_makefile dlls/ninput enable_ninput
22224 wine_fn_config_makefile dlls/ninput/tests enable_tests
22225 wine_fn_config_makefile dlls/normaliz enable_normaliz
22226 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22227 wine_fn_config_makefile dlls/npptools enable_npptools
22228 wine_fn_config_makefile dlls/nsi enable_nsi
22229 wine_fn_config_makefile dlls/nsi/tests enable_tests
22230 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22231 wine_fn_config_makefile dlls/ntdll enable_ntdll
22232 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22233 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22234 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22235 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22236 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22237 wine_fn_config_makefile dlls/ntprint enable_ntprint
22238 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22239 wine_fn_config_makefile dlls/objsel enable_objsel
22240 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22241 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22242 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22243 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22244 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22245 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22246 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22247 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22248 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22249 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22250 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22251 wine_fn_config_makefile dlls/ole32 enable_ole32
22252 wine_fn_config_makefile dlls/ole32/tests enable_tests
22253 wine_fn_config_makefile dlls/oleacc enable_oleacc
22254 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22255 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22256 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22257 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22258 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22259 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22260 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22261 wine_fn_config_makefile dlls/oledlg enable_oledlg
22262 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22263 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22264 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22265 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22266 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22267 wine_fn_config_makefile dlls/opcservices enable_opcservices
22268 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22269 wine_fn_config_makefile dlls/openal32 enable_openal32
22270 wine_fn_config_makefile dlls/opencl enable_opencl
22271 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22272 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22273 wine_fn_config_makefile dlls/packager enable_packager
22274 wine_fn_config_makefile dlls/packager/tests enable_tests
22275 wine_fn_config_makefile dlls/pdh enable_pdh
22276 wine_fn_config_makefile dlls/pdh/tests enable_tests
22277 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22278 wine_fn_config_makefile dlls/pidgen enable_pidgen
22279 wine_fn_config_makefile dlls/powrprof enable_powrprof
22280 wine_fn_config_makefile dlls/printui enable_printui
22281 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22282 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22283 wine_fn_config_makefile dlls/propsys enable_propsys
22284 wine_fn_config_makefile dlls/propsys/tests enable_tests
22285 wine_fn_config_makefile dlls/psapi enable_psapi
22286 wine_fn_config_makefile dlls/psapi/tests enable_tests
22287 wine_fn_config_makefile dlls/pstorec enable_pstorec
22288 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22289 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22290 wine_fn_config_makefile dlls/qasf enable_qasf
22291 wine_fn_config_makefile dlls/qasf/tests enable_tests
22292 wine_fn_config_makefile dlls/qcap enable_qcap
22293 wine_fn_config_makefile dlls/qcap/tests enable_tests
22294 wine_fn_config_makefile dlls/qdvd enable_qdvd
22295 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22296 wine_fn_config_makefile dlls/qedit enable_qedit
22297 wine_fn_config_makefile dlls/qedit/tests enable_tests
22298 wine_fn_config_makefile dlls/qmgr enable_qmgr
22299 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22300 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22301 wine_fn_config_makefile dlls/quartz enable_quartz
22302 wine_fn_config_makefile dlls/quartz/tests enable_tests
22303 wine_fn_config_makefile dlls/query enable_query
22304 wine_fn_config_makefile dlls/qwave enable_qwave
22305 wine_fn_config_makefile dlls/qwave/tests enable_tests
22306 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22307 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22308 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22309 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22310 wine_fn_config_makefile dlls/regapi enable_regapi
22311 wine_fn_config_makefile dlls/resutils enable_resutils
22312 wine_fn_config_makefile dlls/riched20 enable_riched20
22313 wine_fn_config_makefile dlls/riched20/tests enable_tests
22314 wine_fn_config_makefile dlls/riched32 enable_riched32
22315 wine_fn_config_makefile dlls/riched32/tests enable_tests
22316 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22317 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22318 wine_fn_config_makefile dlls/rsabase enable_rsabase
22319 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22320 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22321 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22322 wine_fn_config_makefile dlls/rtutils enable_rtutils
22323 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22324 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22325 wine_fn_config_makefile dlls/samlib enable_samlib
22326 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22327 wine_fn_config_makefile dlls/sapi enable_sapi
22328 wine_fn_config_makefile dlls/sapi/tests enable_tests
22329 wine_fn_config_makefile dlls/sas enable_sas
22330 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22331 wine_fn_config_makefile dlls/sccbase enable_sccbase
22332 wine_fn_config_makefile dlls/schannel enable_schannel
22333 wine_fn_config_makefile dlls/schannel/tests enable_tests
22334 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22335 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22336 wine_fn_config_makefile dlls/scrobj enable_scrobj
22337 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22338 wine_fn_config_makefile dlls/scrrun enable_scrrun
22339 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22340 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22341 wine_fn_config_makefile dlls/sechost enable_sechost
22342 wine_fn_config_makefile dlls/secur32 enable_secur32
22343 wine_fn_config_makefile dlls/secur32/tests enable_tests
22344 wine_fn_config_makefile dlls/security enable_security
22345 wine_fn_config_makefile dlls/sensapi enable_sensapi
22346 wine_fn_config_makefile dlls/serialui enable_serialui
22347 wine_fn_config_makefile dlls/serialui/tests enable_tests
22348 wine_fn_config_makefile dlls/setupapi enable_setupapi
22349 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22350 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22351 wine_fn_config_makefile dlls/sfc enable_sfc
22352 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22353 wine_fn_config_makefile dlls/shcore enable_shcore
22354 wine_fn_config_makefile dlls/shcore/tests enable_tests
22355 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22356 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22357 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22358 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22359 wine_fn_config_makefile dlls/shell32 enable_shell32
22360 wine_fn_config_makefile dlls/shell32/tests enable_tests
22361 wine_fn_config_makefile dlls/shfolder enable_shfolder
22362 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22363 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22364 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22365 wine_fn_config_makefile dlls/slc enable_slc
22366 wine_fn_config_makefile dlls/slc/tests enable_tests
22367 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22368 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22369 wine_fn_config_makefile dlls/softpub enable_softpub
22370 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22371 wine_fn_config_makefile dlls/spoolss enable_spoolss
22372 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22373 wine_fn_config_makefile dlls/sppc enable_sppc
22374 wine_fn_config_makefile dlls/srclient enable_srclient
22375 wine_fn_config_makefile dlls/srvcli enable_srvcli
22376 wine_fn_config_makefile dlls/sspicli enable_sspicli
22377 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22378 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22379 wine_fn_config_makefile dlls/sti enable_sti
22380 wine_fn_config_makefile dlls/sti/tests enable_tests
22381 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22382 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22383 wine_fn_config_makefile dlls/strmdll enable_strmdll
22384 wine_fn_config_makefile dlls/svrapi enable_svrapi
22385 wine_fn_config_makefile dlls/sxs enable_sxs
22386 wine_fn_config_makefile dlls/sxs/tests enable_tests
22387 wine_fn_config_makefile dlls/system.drv16 enable_win16
22388 wine_fn_config_makefile dlls/t2embed enable_t2embed
22389 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22390 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22391 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22392 wine_fn_config_makefile dlls/taskschd enable_taskschd
22393 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22394 wine_fn_config_makefile dlls/tbs enable_tbs
22395 wine_fn_config_makefile dlls/tdh enable_tdh
22396 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22397 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22398 wine_fn_config_makefile dlls/traffic enable_traffic
22399 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22400 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22401 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22402 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22403 wine_fn_config_makefile dlls/tzres enable_tzres
22404 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22405 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22406 wine_fn_config_makefile dlls/uianimation enable_uianimation
22407 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22408 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22409 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22410 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22411 wine_fn_config_makefile dlls/unicows enable_unicows
22412 wine_fn_config_makefile dlls/updspapi enable_updspapi
22413 wine_fn_config_makefile dlls/url enable_url
22414 wine_fn_config_makefile dlls/urlmon enable_urlmon
22415 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22416 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22417 wine_fn_config_makefile dlls/user.exe16 enable_win16
22418 wine_fn_config_makefile dlls/user32 enable_user32
22419 wine_fn_config_makefile dlls/user32/tests enable_tests
22420 wine_fn_config_makefile dlls/userenv enable_userenv
22421 wine_fn_config_makefile dlls/userenv/tests enable_tests
22422 wine_fn_config_makefile dlls/usp10 enable_usp10
22423 wine_fn_config_makefile dlls/usp10/tests enable_tests
22424 wine_fn_config_makefile dlls/utildll enable_utildll
22425 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22426 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22427 wine_fn_config_makefile dlls/vbscript enable_vbscript
22428 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22429 wine_fn_config_makefile dlls/vcomp enable_vcomp
22430 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22431 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22432 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22433 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22434 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22435 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22436 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22437 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22438 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22439 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22440 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22441 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22442 wine_fn_config_makefile dlls/version enable_version
22443 wine_fn_config_makefile dlls/version/tests enable_tests
22444 wine_fn_config_makefile dlls/vga enable_vga
22445 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22446 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22447 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22448 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22449 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22450 wine_fn_config_makefile dlls/vssapi enable_vssapi
22451 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22452 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22453 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22454 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22455 wine_fn_config_makefile dlls/w32skrnl enable_win16
22456 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22457 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22458 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22459 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22460 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22461 wine_fn_config_makefile dlls/wdscore enable_wdscore
22462 wine_fn_config_makefile dlls/webservices enable_webservices
22463 wine_fn_config_makefile dlls/webservices/tests enable_tests
22464 wine_fn_config_makefile dlls/websocket enable_websocket
22465 wine_fn_config_makefile dlls/wer enable_wer
22466 wine_fn_config_makefile dlls/wer/tests enable_tests
22467 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22468 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22469 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22470 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22471 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22472 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22473 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22474 wine_fn_config_makefile dlls/win32u enable_win32u
22475 wine_fn_config_makefile dlls/win32u/tests enable_tests
22476 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22477 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22478 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22479 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22480 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22481 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22482 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22483 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22484 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22485 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22486 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22487 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22488 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22489 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22490 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22491 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22492 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22493 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22494 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22495 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22496 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22497 wine_fn_config_makefile dlls/wined3d enable_wined3d
22498 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22499 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22500 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22501 wine_fn_config_makefile dlls/winemapi enable_winemapi
22502 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22503 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22504 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22505 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22506 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22507 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22508 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22509 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22510 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22511 wine_fn_config_makefile dlls/wing32 enable_wing32
22512 wine_fn_config_makefile dlls/winhttp enable_winhttp
22513 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22514 wine_fn_config_makefile dlls/wininet enable_wininet
22515 wine_fn_config_makefile dlls/wininet/tests enable_tests
22516 wine_fn_config_makefile dlls/winmm enable_winmm
22517 wine_fn_config_makefile dlls/winmm/tests enable_tests
22518 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22519 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22520 wine_fn_config_makefile dlls/winscard enable_winscard
22521 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22522 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22523 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22524 wine_fn_config_makefile dlls/winsta enable_winsta
22525 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22526 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22527 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22528 wine_fn_config_makefile dlls/wintrust enable_wintrust
22529 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22530 wine_fn_config_makefile dlls/winusb enable_winusb
22531 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22532 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22533 wine_fn_config_makefile dlls/wlanui enable_wlanui
22534 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22535 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22536 wine_fn_config_makefile dlls/wmadmod enable_wmadmod
22537 wine_fn_config_makefile dlls/wmadmod/tests enable_tests
22538 wine_fn_config_makefile dlls/wmasf enable_wmasf
22539 wine_fn_config_makefile dlls/wmi enable_wmi
22540 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22541 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22542 wine_fn_config_makefile dlls/wmp enable_wmp
22543 wine_fn_config_makefile dlls/wmp/tests enable_tests
22544 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22545 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22546 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22547 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22548 wine_fn_config_makefile dlls/wow32 enable_win16
22549 wine_fn_config_makefile dlls/wow64 enable_wow64
22550 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22551 wine_fn_config_makefile dlls/wow64win enable_wow64win
22552 wine_fn_config_makefile dlls/wpc enable_wpc
22553 wine_fn_config_makefile dlls/wpc/tests enable_tests
22554 wine_fn_config_makefile dlls/wpcap enable_wpcap
22555 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22556 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22557 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22558 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22559 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22560 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22561 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22562 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22563 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22564 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22565 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22566 wine_fn_config_makefile dlls/wuapi enable_wuapi
22567 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22568 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22569 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22570 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22571 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22572 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22573 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22574 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22575 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22576 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22577 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22578 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22579 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22580 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22581 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22582 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22583 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22584 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22585 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22586 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22587 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22588 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22589 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22590 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22591 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22592 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22593 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22594 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22595 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22596 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22597 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22598 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22599 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22600 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22601 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22602 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22603 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22604 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22605 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22606 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22607 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22608 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22609 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22610 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22611 wine_fn_config_makefile dlls/xmllite enable_xmllite
22612 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22613 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22614 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22615 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22616 wine_fn_config_makefile fonts enable_fonts
22617 wine_fn_config_makefile include enable_include
22618 wine_fn_config_makefile libs/adsiid enable_adsiid
22619 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22620 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22621 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22622 wine_fn_config_makefile libs/dxguid enable_dxguid
22623 wine_fn_config_makefile libs/faudio enable_faudio
22624 wine_fn_config_makefile libs/gsm enable_gsm
22625 wine_fn_config_makefile libs/jpeg enable_jpeg
22626 wine_fn_config_makefile libs/jxr enable_jxr
22627 wine_fn_config_makefile libs/lcms2 enable_lcms2
22628 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22629 wine_fn_config_makefile libs/mpg123 enable_mpg123
22630 wine_fn_config_makefile libs/png enable_png
22631 wine_fn_config_makefile libs/strmbase enable_strmbase
22632 wine_fn_config_makefile libs/strmiids enable_strmiids
22633 wine_fn_config_makefile libs/tiff enable_tiff
22634 wine_fn_config_makefile libs/uuid enable_uuid
22635 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22636 wine_fn_config_makefile libs/wine enable_wine
22637 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22638 wine_fn_config_makefile libs/xml2 enable_xml2
22639 wine_fn_config_makefile libs/xslt enable_xslt
22640 wine_fn_config_makefile libs/zlib enable_zlib
22641 wine_fn_config_makefile loader enable_loader
22642 wine_fn_config_makefile nls enable_nls
22643 wine_fn_config_makefile po enable_po
22644 wine_fn_config_makefile programs/arp enable_arp
22645 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22646 wine_fn_config_makefile programs/attrib enable_attrib
22647 wine_fn_config_makefile programs/cabarc enable_cabarc
22648 wine_fn_config_makefile programs/cacls enable_cacls
22649 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22650 wine_fn_config_makefile programs/clock enable_clock
22651 wine_fn_config_makefile programs/cmd enable_cmd
22652 wine_fn_config_makefile programs/cmd/tests enable_tests
22653 wine_fn_config_makefile programs/conhost enable_conhost
22654 wine_fn_config_makefile programs/conhost/tests enable_tests
22655 wine_fn_config_makefile programs/control enable_control
22656 wine_fn_config_makefile programs/cscript enable_cscript
22657 wine_fn_config_makefile programs/dism enable_dism
22658 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22659 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22660 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22661 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22662 wine_fn_config_makefile programs/eject enable_eject
22663 wine_fn_config_makefile programs/expand enable_expand
22664 wine_fn_config_makefile programs/explorer enable_explorer
22665 wine_fn_config_makefile programs/extrac32 enable_extrac32
22666 wine_fn_config_makefile programs/fc enable_fc
22667 wine_fn_config_makefile programs/find enable_find
22668 wine_fn_config_makefile programs/find/tests enable_tests
22669 wine_fn_config_makefile programs/findstr enable_findstr
22670 wine_fn_config_makefile programs/fsutil enable_fsutil
22671 wine_fn_config_makefile programs/fsutil/tests enable_tests
22672 wine_fn_config_makefile programs/hh enable_hh
22673 wine_fn_config_makefile programs/hostname enable_hostname
22674 wine_fn_config_makefile programs/icacls enable_icacls
22675 wine_fn_config_makefile programs/icinfo enable_icinfo
22676 wine_fn_config_makefile programs/iexplore enable_iexplore
22677 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22678 wine_fn_config_makefile programs/lodctr enable_lodctr
22679 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22680 wine_fn_config_makefile programs/mshta enable_mshta
22681 wine_fn_config_makefile programs/msidb enable_msidb
22682 wine_fn_config_makefile programs/msiexec enable_msiexec
22683 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22684 wine_fn_config_makefile programs/net enable_net
22685 wine_fn_config_makefile programs/netsh enable_netsh
22686 wine_fn_config_makefile programs/netstat enable_netstat
22687 wine_fn_config_makefile programs/ngen enable_ngen
22688 wine_fn_config_makefile programs/notepad enable_notepad
22689 wine_fn_config_makefile programs/oleview enable_oleview
22690 wine_fn_config_makefile programs/ping enable_ping
22691 wine_fn_config_makefile programs/plugplay enable_plugplay
22692 wine_fn_config_makefile programs/powershell enable_powershell
22693 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22694 wine_fn_config_makefile programs/progman enable_progman
22695 wine_fn_config_makefile programs/reg enable_reg
22696 wine_fn_config_makefile programs/reg/tests enable_tests
22697 wine_fn_config_makefile programs/regasm enable_regasm
22698 wine_fn_config_makefile programs/regedit enable_regedit
22699 wine_fn_config_makefile programs/regedit/tests enable_tests
22700 wine_fn_config_makefile programs/regini enable_regini
22701 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22702 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22703 wine_fn_config_makefile programs/robocopy enable_robocopy
22704 wine_fn_config_makefile programs/rpcss enable_rpcss
22705 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22706 wine_fn_config_makefile programs/rundll32 enable_rundll32
22707 wine_fn_config_makefile programs/sc enable_sc
22708 wine_fn_config_makefile programs/schtasks enable_schtasks
22709 wine_fn_config_makefile programs/schtasks/tests enable_tests
22710 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22711 wine_fn_config_makefile programs/secedit enable_secedit
22712 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22713 wine_fn_config_makefile programs/services enable_services
22714 wine_fn_config_makefile programs/services/tests enable_tests
22715 wine_fn_config_makefile programs/shutdown enable_shutdown
22716 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22717 wine_fn_config_makefile programs/start enable_start
22718 wine_fn_config_makefile programs/subst enable_subst
22719 wine_fn_config_makefile programs/svchost enable_svchost
22720 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22721 wine_fn_config_makefile programs/taskkill enable_taskkill
22722 wine_fn_config_makefile programs/tasklist enable_tasklist
22723 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22724 wine_fn_config_makefile programs/termsv enable_termsv
22725 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22726 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22727 wine_fn_config_makefile programs/view enable_view
22728 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22729 wine_fn_config_makefile programs/where enable_where
22730 wine_fn_config_makefile programs/whoami enable_whoami
22731 wine_fn_config_makefile programs/wineboot enable_wineboot
22732 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22733 wine_fn_config_makefile programs/winecfg enable_winecfg
22734 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22735 wine_fn_config_makefile programs/winedbg enable_winedbg
22736 wine_fn_config_makefile programs/winedevice enable_winedevice
22737 wine_fn_config_makefile programs/winefile enable_winefile
22738 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22739 wine_fn_config_makefile programs/winemine enable_winemine
22740 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22741 wine_fn_config_makefile programs/winepath enable_winepath
22742 wine_fn_config_makefile programs/winetest enable_winetest
22743 wine_fn_config_makefile programs/winevdm enable_win16
22744 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22745 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22746 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22747 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22748 wine_fn_config_makefile programs/winver enable_winver
22749 wine_fn_config_makefile programs/wmic enable_wmic
22750 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22751 wine_fn_config_makefile programs/wordpad enable_wordpad
22752 wine_fn_config_makefile programs/write enable_write
22753 wine_fn_config_makefile programs/wscript enable_wscript
22754 wine_fn_config_makefile programs/wscript/tests enable_tests
22755 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22756 wine_fn_config_makefile programs/wusa enable_wusa
22757 wine_fn_config_makefile programs/xcopy enable_xcopy
22758 wine_fn_config_makefile programs/xcopy/tests enable_tests
22759 wine_fn_config_makefile server enable_server
22760 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22761 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22762 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22763 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22764 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22765 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22766 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22767 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22768 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22771 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22772 wine_fn_append_file CONFIGURE_TARGETS "tags"
22773 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22774 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22775 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22776 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22777 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22778 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22780 if test "x$enable_tools" != xno
22781 then
22782 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22783 ac_config_commands="$ac_config_commands tools/makedep"
22787 ac_config_commands="$ac_config_commands Makefile"
22791 SHELL=/bin/sh
22794 wine_fn_append_rule "all: wine
22795 @echo \"Wine build complete.\"
22796 .INIT: Makefile
22797 .MAKEFILEDEPS:
22798 all: Makefile
22799 Makefile: config.status \$(MAKEDEP)
22800 @./config.status Makefile
22801 depend: \$(MAKEDEP)
22802 \$(MAKEDEP)$makedep_flags"
22805 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22806 @./config.status --recheck
22807 include/config.h: include/stamp-h
22808 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22809 @./config.status include/config.h include/stamp-h"
22811 if test "x$enable_maintainer_mode" = xyes
22812 then
22813 wine_fn_append_rule "configure: configure.ac aclocal.m4
22814 autoconf --warnings=all
22815 include/config.h.in: include/stamp-h.in
22816 include/stamp-h.in: configure.ac aclocal.m4
22817 autoheader --warnings=all
22818 @echo timestamp > \$@"
22821 if test "x$enable_tools" != xno
22822 then
22823 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22824 @./config.status tools/makedep
22825 Makefile: tools/makedep$ac_exeext"
22826 else
22827 wine_fn_append_rule "\$(MAKEDEP):
22828 @echo \"You need to run make in $toolsdir first\" && false"
22832 if test -n "$with_wine64"
22833 then
22834 case "$with_wine64" in
22835 /*) reldir="" ;;
22836 *) reldir="../" ;;
22837 esac
22838 rm -f fonts server 2>/dev/null
22839 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22840 loader/wine64 loader/wine64-preloader:
22841 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22842 $with_wine64/loader/wine:
22843 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22844 $with_wine64/loader/wine-preloader:
22845 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22846 clean::
22847 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22848 else
22849 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22850 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22851 fonts \
22852 loader/wine.inf \
22853 nls \
22854 programs/msidb/msidb \
22855 programs/msiexec/msiexec \
22856 programs/notepad/notepad \
22857 programs/regedit/regedit \
22858 programs/regsvr32/regsvr32 \
22859 programs/wineboot/wineboot \
22860 programs/winecfg/winecfg \
22861 programs/wineconsole/wineconsole \
22862 programs/winedbg/winedbg \
22863 programs/winefile/winefile \
22864 programs/winemine/winemine \
22865 programs/winepath/winepath \
22866 server/wineserver"
22868 case $host_os in
22869 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22870 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22871 esac
22875 wine_fn_append_rule "distclean:: clean
22876 rm -rf autom4te.cache
22877 maintainer-clean::
22878 rm -f configure include/config.h.in"
22881 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22882 @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)
22883 programs/winetest/build.rc: dummy
22884 @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)
22885 programs/winetest/build.nfo:
22886 @-\$(CC) -v 2>\$@
22887 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
22888 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22889 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22892 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22894 wine_fn_append_rule "TAGS etags:
22895 rm -f TAGS
22896 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22897 tags ctags:
22898 rm -f tags
22899 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22900 dummy:
22901 .PHONY: depend dummy install-manpages"
22903 printf "%s\n" " done" >&6
22904 cat >confcache <<\_ACEOF
22905 # This file is a shell script that caches the results of configure
22906 # tests run on this system so they can be shared between configure
22907 # scripts and configure runs, see configure's option --config-cache.
22908 # It is not useful on other systems. If it contains results you don't
22909 # want to keep, you may remove or edit it.
22911 # config.status only pays attention to the cache file if you give it
22912 # the --recheck option to rerun configure.
22914 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22915 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22916 # following values.
22918 _ACEOF
22920 # The following way of writing the cache mishandles newlines in values,
22921 # but we know of no workaround that is simple, portable, and efficient.
22922 # So, we kill variables containing newlines.
22923 # Ultrix sh set writes to stderr and can't be redirected directly,
22924 # and sets the high bit in the cache file unless we assign to the vars.
22926 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22927 eval ac_val=\$$ac_var
22928 case $ac_val in #(
22929 *${as_nl}*)
22930 case $ac_var in #(
22931 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22932 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22933 esac
22934 case $ac_var in #(
22935 _ | IFS | as_nl) ;; #(
22936 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22937 *) { eval $ac_var=; unset $ac_var;} ;;
22938 esac ;;
22939 esac
22940 done
22942 (set) 2>&1 |
22943 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22944 *${as_nl}ac_space=\ *)
22945 # `set' does not quote correctly, so add quotes: double-quote
22946 # substitution turns \\\\ into \\, and sed turns \\ into \.
22947 sed -n \
22948 "s/'/'\\\\''/g;
22949 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22950 ;; #(
22952 # `set' quotes correctly as required by POSIX, so do not add quotes.
22953 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22955 esac |
22956 sort
22958 sed '
22959 /^ac_cv_env_/b end
22960 t clear
22961 :clear
22962 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22963 t end
22964 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22965 :end' >>confcache
22966 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22967 if test -w "$cache_file"; then
22968 if test "x$cache_file" != "x/dev/null"; then
22969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22970 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22971 if test ! -f "$cache_file" || test -h "$cache_file"; then
22972 cat confcache >"$cache_file"
22973 else
22974 case $cache_file in #(
22975 */* | ?:*)
22976 mv -f confcache "$cache_file"$$ &&
22977 mv -f "$cache_file"$$ "$cache_file" ;; #(
22979 mv -f confcache "$cache_file" ;;
22980 esac
22983 else
22984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22985 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22988 rm -f confcache
22990 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22991 # Let make expand exec_prefix.
22992 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22994 DEFS=-DHAVE_CONFIG_H
22996 ac_libobjs=
22997 ac_ltlibobjs=
22999 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23000 # 1. Remove the extension, and $U if already installed.
23001 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23002 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23003 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23004 # will be set to the directory where LIBOBJS objects are built.
23005 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23006 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23007 done
23008 LIBOBJS=$ac_libobjs
23010 LTLIBOBJS=$ac_ltlibobjs
23014 : "${CONFIG_STATUS=./config.status}"
23015 ac_write_fail=0
23016 ac_clean_files_save=$ac_clean_files
23017 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23019 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23020 as_write_fail=0
23021 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23022 #! $SHELL
23023 # Generated by $as_me.
23024 # Run this file to recreate the current configuration.
23025 # Compiler output produced by configure, useful for debugging
23026 # configure, is in config.log if it exists.
23028 debug=false
23029 ac_cs_recheck=false
23030 ac_cs_silent=false
23032 SHELL=\${CONFIG_SHELL-$SHELL}
23033 export SHELL
23034 _ASEOF
23035 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23036 ## -------------------- ##
23037 ## M4sh Initialization. ##
23038 ## -------------------- ##
23040 # Be more Bourne compatible
23041 DUALCASE=1; export DUALCASE # for MKS sh
23042 as_nop=:
23043 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23044 then :
23045 emulate sh
23046 NULLCMD=:
23047 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23048 # is contrary to our usage. Disable this feature.
23049 alias -g '${1+"$@"}'='"$@"'
23050 setopt NO_GLOB_SUBST
23051 else $as_nop
23052 case `(set -o) 2>/dev/null` in #(
23053 *posix*) :
23054 set -o posix ;; #(
23055 *) :
23057 esac
23062 # Reset variables that may have inherited troublesome values from
23063 # the environment.
23065 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23066 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23067 # side effect of setting IFS to empty, thus disabling word splitting.)
23068 # Quoting is to prevent editors from complaining about space-tab.
23069 as_nl='
23071 export as_nl
23072 IFS=" "" $as_nl"
23074 PS1='$ '
23075 PS2='> '
23076 PS4='+ '
23078 # Ensure predictable behavior from utilities with locale-dependent output.
23079 LC_ALL=C
23080 export LC_ALL
23081 LANGUAGE=C
23082 export LANGUAGE
23084 # We cannot yet rely on "unset" to work, but we need these variables
23085 # to be unset--not just set to an empty or harmless value--now, to
23086 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23087 # also avoids known problems related to "unset" and subshell syntax
23088 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23089 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23090 do eval test \${$as_var+y} \
23091 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23092 done
23094 # Ensure that fds 0, 1, and 2 are open.
23095 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23096 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23097 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23099 # The user is always right.
23100 if ${PATH_SEPARATOR+false} :; then
23101 PATH_SEPARATOR=:
23102 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23103 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23104 PATH_SEPARATOR=';'
23109 # Find who we are. Look in the path if we contain no directory separator.
23110 as_myself=
23111 case $0 in #((
23112 *[\\/]* ) as_myself=$0 ;;
23113 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23114 for as_dir in $PATH
23116 IFS=$as_save_IFS
23117 case $as_dir in #(((
23118 '') as_dir=./ ;;
23119 */) ;;
23120 *) as_dir=$as_dir/ ;;
23121 esac
23122 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23123 done
23124 IFS=$as_save_IFS
23127 esac
23128 # We did not find ourselves, most probably we were run as `sh COMMAND'
23129 # in which case we are not to be found in the path.
23130 if test "x$as_myself" = x; then
23131 as_myself=$0
23133 if test ! -f "$as_myself"; then
23134 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23135 exit 1
23140 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23141 # ----------------------------------------
23142 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23143 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23144 # script with STATUS, using 1 if that was 0.
23145 as_fn_error ()
23147 as_status=$1; test $as_status -eq 0 && as_status=1
23148 if test "$4"; then
23149 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23150 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23152 printf "%s\n" "$as_me: error: $2" >&2
23153 as_fn_exit $as_status
23154 } # as_fn_error
23158 # as_fn_set_status STATUS
23159 # -----------------------
23160 # Set $? to STATUS, without forking.
23161 as_fn_set_status ()
23163 return $1
23164 } # as_fn_set_status
23166 # as_fn_exit STATUS
23167 # -----------------
23168 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23169 as_fn_exit ()
23171 set +e
23172 as_fn_set_status $1
23173 exit $1
23174 } # as_fn_exit
23176 # as_fn_unset VAR
23177 # ---------------
23178 # Portably unset VAR.
23179 as_fn_unset ()
23181 { eval $1=; unset $1;}
23183 as_unset=as_fn_unset
23185 # as_fn_append VAR VALUE
23186 # ----------------------
23187 # Append the text in VALUE to the end of the definition contained in VAR. Take
23188 # advantage of any shell optimizations that allow amortized linear growth over
23189 # repeated appends, instead of the typical quadratic growth present in naive
23190 # implementations.
23191 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23192 then :
23193 eval 'as_fn_append ()
23195 eval $1+=\$2
23197 else $as_nop
23198 as_fn_append ()
23200 eval $1=\$$1\$2
23202 fi # as_fn_append
23204 # as_fn_arith ARG...
23205 # ------------------
23206 # Perform arithmetic evaluation on the ARGs, and store the result in the
23207 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23208 # must be portable across $(()) and expr.
23209 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23210 then :
23211 eval 'as_fn_arith ()
23213 as_val=$(( $* ))
23215 else $as_nop
23216 as_fn_arith ()
23218 as_val=`expr "$@" || test $? -eq 1`
23220 fi # as_fn_arith
23223 if expr a : '\(a\)' >/dev/null 2>&1 &&
23224 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23225 as_expr=expr
23226 else
23227 as_expr=false
23230 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23231 as_basename=basename
23232 else
23233 as_basename=false
23236 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23237 as_dirname=dirname
23238 else
23239 as_dirname=false
23242 as_me=`$as_basename -- "$0" ||
23243 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23244 X"$0" : 'X\(//\)$' \| \
23245 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23246 printf "%s\n" X/"$0" |
23247 sed '/^.*\/\([^/][^/]*\)\/*$/{
23248 s//\1/
23251 /^X\/\(\/\/\)$/{
23252 s//\1/
23255 /^X\/\(\/\).*/{
23256 s//\1/
23259 s/.*/./; q'`
23261 # Avoid depending upon Character Ranges.
23262 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23263 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23264 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23265 as_cr_digits='0123456789'
23266 as_cr_alnum=$as_cr_Letters$as_cr_digits
23269 # Determine whether it's possible to make 'echo' print without a newline.
23270 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23271 # for compatibility with existing Makefiles.
23272 ECHO_C= ECHO_N= ECHO_T=
23273 case `echo -n x` in #(((((
23274 -n*)
23275 case `echo 'xy\c'` in
23276 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23277 xy) ECHO_C='\c';;
23278 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23279 ECHO_T=' ';;
23280 esac;;
23282 ECHO_N='-n';;
23283 esac
23285 # For backward compatibility with old third-party macros, we provide
23286 # the shell variables $as_echo and $as_echo_n. New code should use
23287 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23288 as_echo='printf %s\n'
23289 as_echo_n='printf %s'
23291 rm -f conf$$ conf$$.exe conf$$.file
23292 if test -d conf$$.dir; then
23293 rm -f conf$$.dir/conf$$.file
23294 else
23295 rm -f conf$$.dir
23296 mkdir conf$$.dir 2>/dev/null
23298 if (echo >conf$$.file) 2>/dev/null; then
23299 if ln -s conf$$.file conf$$ 2>/dev/null; then
23300 as_ln_s='ln -s'
23301 # ... but there are two gotchas:
23302 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23303 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23304 # In both cases, we have to default to `cp -pR'.
23305 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23306 as_ln_s='cp -pR'
23307 elif ln conf$$.file conf$$ 2>/dev/null; then
23308 as_ln_s=ln
23309 else
23310 as_ln_s='cp -pR'
23312 else
23313 as_ln_s='cp -pR'
23315 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23316 rmdir conf$$.dir 2>/dev/null
23319 # as_fn_mkdir_p
23320 # -------------
23321 # Create "$as_dir" as a directory, including parents if necessary.
23322 as_fn_mkdir_p ()
23325 case $as_dir in #(
23326 -*) as_dir=./$as_dir;;
23327 esac
23328 test -d "$as_dir" || eval $as_mkdir_p || {
23329 as_dirs=
23330 while :; do
23331 case $as_dir in #(
23332 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23333 *) as_qdir=$as_dir;;
23334 esac
23335 as_dirs="'$as_qdir' $as_dirs"
23336 as_dir=`$as_dirname -- "$as_dir" ||
23337 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23338 X"$as_dir" : 'X\(//\)[^/]' \| \
23339 X"$as_dir" : 'X\(//\)$' \| \
23340 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23341 printf "%s\n" X"$as_dir" |
23342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23343 s//\1/
23346 /^X\(\/\/\)[^/].*/{
23347 s//\1/
23350 /^X\(\/\/\)$/{
23351 s//\1/
23354 /^X\(\/\).*/{
23355 s//\1/
23358 s/.*/./; q'`
23359 test -d "$as_dir" && break
23360 done
23361 test -z "$as_dirs" || eval "mkdir $as_dirs"
23362 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23365 } # as_fn_mkdir_p
23366 if mkdir -p . 2>/dev/null; then
23367 as_mkdir_p='mkdir -p "$as_dir"'
23368 else
23369 test -d ./-p && rmdir ./-p
23370 as_mkdir_p=false
23374 # as_fn_executable_p FILE
23375 # -----------------------
23376 # Test if FILE is an executable regular file.
23377 as_fn_executable_p ()
23379 test -f "$1" && test -x "$1"
23380 } # as_fn_executable_p
23381 as_test_x='test -x'
23382 as_executable_p=as_fn_executable_p
23384 # Sed expression to map a string onto a valid CPP name.
23385 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23387 # Sed expression to map a string onto a valid variable name.
23388 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23391 exec 6>&1
23392 ## ----------------------------------- ##
23393 ## Main body of $CONFIG_STATUS script. ##
23394 ## ----------------------------------- ##
23395 _ASEOF
23396 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23399 # Save the log message, to keep $0 and so on meaningful, and to
23400 # report actual input values of CONFIG_FILES etc. instead of their
23401 # values after options handling.
23402 ac_log="
23403 This file was extended by Wine $as_me 7.1, which was
23404 generated by GNU Autoconf 2.71. Invocation command line was
23406 CONFIG_FILES = $CONFIG_FILES
23407 CONFIG_HEADERS = $CONFIG_HEADERS
23408 CONFIG_LINKS = $CONFIG_LINKS
23409 CONFIG_COMMANDS = $CONFIG_COMMANDS
23410 $ $0 $@
23412 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23415 _ACEOF
23418 case $ac_config_headers in *"
23419 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23420 esac
23423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23424 # Files that config.status was made for.
23425 config_headers="$ac_config_headers"
23426 config_links="$ac_config_links"
23427 config_commands="$ac_config_commands"
23429 _ACEOF
23431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23432 ac_cs_usage="\
23433 \`$as_me' instantiates files and other configuration actions
23434 from templates according to the current configuration. Unless the files
23435 and actions are specified as TAGs, all are instantiated by default.
23437 Usage: $0 [OPTION]... [TAG]...
23439 -h, --help print this help, then exit
23440 -V, --version print version number and configuration settings, then exit
23441 --config print configuration, then exit
23442 -q, --quiet, --silent
23443 do not print progress messages
23444 -d, --debug don't remove temporary files
23445 --recheck update $as_me by reconfiguring in the same conditions
23446 --header=FILE[:TEMPLATE]
23447 instantiate the configuration header FILE
23449 Configuration headers:
23450 $config_headers
23452 Configuration links:
23453 $config_links
23455 Configuration commands:
23456 $config_commands
23458 Report bugs to <wine-devel@winehq.org>.
23459 Wine home page: <https://www.winehq.org>."
23461 _ACEOF
23462 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23463 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23465 ac_cs_config='$ac_cs_config_escaped'
23466 ac_cs_version="\\
23467 Wine config.status 7.1
23468 configured by $0, generated by GNU Autoconf 2.71,
23469 with options \\"\$ac_cs_config\\"
23471 Copyright (C) 2021 Free Software Foundation, Inc.
23472 This config.status script is free software; the Free Software Foundation
23473 gives unlimited permission to copy, distribute and modify it."
23475 ac_pwd='$ac_pwd'
23476 srcdir='$srcdir'
23477 test -n "\$AWK" || AWK=awk
23478 _ACEOF
23480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23481 # The default lists apply if the user does not specify any file.
23482 ac_need_defaults=:
23483 while test $# != 0
23485 case $1 in
23486 --*=?*)
23487 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23488 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23489 ac_shift=:
23491 --*=)
23492 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23493 ac_optarg=
23494 ac_shift=:
23497 ac_option=$1
23498 ac_optarg=$2
23499 ac_shift=shift
23501 esac
23503 case $ac_option in
23504 # Handling of the options.
23505 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23506 ac_cs_recheck=: ;;
23507 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23508 printf "%s\n" "$ac_cs_version"; exit ;;
23509 --config | --confi | --conf | --con | --co | --c )
23510 printf "%s\n" "$ac_cs_config"; exit ;;
23511 --debug | --debu | --deb | --de | --d | -d )
23512 debug=: ;;
23513 --header | --heade | --head | --hea )
23514 $ac_shift
23515 case $ac_optarg in
23516 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23517 esac
23518 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23519 ac_need_defaults=false;;
23520 --he | --h)
23521 # Conflict between --help and --header
23522 as_fn_error $? "ambiguous option: \`$1'
23523 Try \`$0 --help' for more information.";;
23524 --help | --hel | -h )
23525 printf "%s\n" "$ac_cs_usage"; exit ;;
23526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23527 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23528 ac_cs_silent=: ;;
23530 # This is an error.
23531 -*) as_fn_error $? "unrecognized option: \`$1'
23532 Try \`$0 --help' for more information." ;;
23534 *) as_fn_append ac_config_targets " $1"
23535 ac_need_defaults=false ;;
23537 esac
23538 shift
23539 done
23541 ac_configure_extra_args=
23543 if $ac_cs_silent; then
23544 exec 6>/dev/null
23545 ac_configure_extra_args="$ac_configure_extra_args --silent"
23548 _ACEOF
23549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23550 if \$ac_cs_recheck; then
23551 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23552 shift
23553 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23554 CONFIG_SHELL='$SHELL'
23555 export CONFIG_SHELL
23556 exec "\$@"
23559 _ACEOF
23560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23561 exec 5>>config.log
23563 echo
23564 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23565 ## Running $as_me. ##
23566 _ASBOX
23567 printf "%s\n" "$ac_log"
23568 } >&5
23570 _ACEOF
23571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23573 # INIT-COMMANDS
23575 wine_fn_output_makedep ()
23577 as_dir=tools; as_fn_mkdir_p
23578 $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
23580 wine_fn_output_makefile ()
23582 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23583 # This Makefile understands the following targets:
23585 # all (default): build wine
23586 # clean: remove all intermediate files
23587 # distclean: also remove all files created by configure
23588 # test: run tests
23589 # testclean: clean test results to force running all tests again
23590 # install-lib: install libraries needed to run applications
23591 # install-dev: install development environment
23592 # install: install everything
23593 # uninstall: uninstall everything
23594 # ctags: create a tags file for vim and others.
23595 # etags: create a TAGS file for Emacs.
23597 SHELL = $SHELL
23598 PATH_SEPARATOR = $PATH_SEPARATOR
23599 PACKAGE_NAME = $PACKAGE_NAME
23600 PACKAGE_TARNAME = $PACKAGE_TARNAME
23601 PACKAGE_VERSION = $PACKAGE_VERSION
23602 PACKAGE_STRING = $PACKAGE_STRING
23603 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23604 PACKAGE_URL = $PACKAGE_URL
23605 exec_prefix = $exec_prefix
23606 prefix = $prefix
23607 program_transform_name = $program_transform_name
23608 bindir = $bindir
23609 sbindir = $sbindir
23610 libexecdir = $libexecdir
23611 datarootdir = $datarootdir
23612 datadir = $datadir
23613 sysconfdir = $sysconfdir
23614 sharedstatedir = $sharedstatedir
23615 localstatedir = $localstatedir
23616 runstatedir = $runstatedir
23617 includedir = $includedir
23618 oldincludedir = $oldincludedir
23619 docdir = $docdir
23620 infodir = $infodir
23621 htmldir = $htmldir
23622 dvidir = $dvidir
23623 pdfdir = $pdfdir
23624 psdir = $psdir
23625 libdir = $libdir
23626 localedir = $localedir
23627 mandir = $mandir
23628 DEFS = $DEFS
23629 ECHO_C = $ECHO_C
23630 ECHO_N = $ECHO_N
23631 ECHO_T = $ECHO_T
23632 LIBS = $LIBS
23633 build_alias = $build_alias
23634 host_alias = $host_alias
23635 target_alias = $target_alias
23636 system_dllpath = $system_dllpath
23637 build = $build
23638 build_cpu = $build_cpu
23639 build_vendor = $build_vendor
23640 build_os = $build_os
23641 host = $host
23642 host_cpu = $host_cpu
23643 host_vendor = $host_vendor
23644 host_os = $host_os
23645 dlldir = $dlldir
23646 fontdir = $fontdir
23647 nlsdir = $nlsdir
23648 srcdir = $srcdir
23649 SET_MAKE = $SET_MAKE
23650 CC = $CC
23651 CFLAGS = $CFLAGS
23652 LDFLAGS = $LDFLAGS
23653 CPPFLAGS = $CPPFLAGS
23654 ac_ct_CC = $ac_ct_CC
23655 EXEEXT = $EXEEXT
23656 OBJEXT = $OBJEXT
23657 CXX = $CXX
23658 CXXFLAGS = $CXXFLAGS
23659 ac_ct_CXX = $ac_ct_CXX
23660 CPPBIN = $CPPBIN
23661 LD = $LD
23662 TARGETFLAGS = $TARGETFLAGS
23663 toolsext = $toolsext
23664 toolsdir = $toolsdir
23665 MAKEDEP = $MAKEDEP
23666 RUNTESTFLAGS = $RUNTESTFLAGS
23667 SED_CMD = $SED_CMD
23668 FLEX = $FLEX
23669 BISON = $BISON
23670 AR = $AR
23671 ac_ct_AR = $ac_ct_AR
23672 STRIP = $STRIP
23673 RANLIB = $RANLIB
23674 LN_S = $LN_S
23675 GREP = $GREP
23676 EGREP = $EGREP
23677 LDCONFIG = $LDCONFIG
23678 MSGFMT = $MSGFMT
23679 PKG_CONFIG = $PKG_CONFIG
23680 FONTFORGE = $FONTFORGE
23681 RSVG = $RSVG
23682 CONVERT = $CONVERT
23683 ICOTOOL = $ICOTOOL
23684 I386_LIBS = $I386_LIBS
23685 OPENGL_LIBS = $OPENGL_LIBS
23686 DLLFLAGS = $DLLFLAGS
23687 LDDLLFLAGS = $LDDLLFLAGS
23688 LDEXECFLAGS = $LDEXECFLAGS
23689 EXTRACFLAGS = $EXTRACFLAGS
23690 UNIXDLLFLAGS = $UNIXDLLFLAGS
23691 UNIXLDFLAGS = $UNIXLDFLAGS
23692 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23693 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23694 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23695 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23696 LDD = $LDD
23697 OTOOL = $OTOOL
23698 READELF = $READELF
23699 SUBDIRS = $SUBDIRS
23700 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23701 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23702 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23703 DLLTOOL = $DLLTOOL
23704 OBJC = $OBJC
23705 OBJCFLAGS = $OBJCFLAGS
23706 ac_ct_OBJC = $ac_ct_OBJC
23707 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23708 IOKIT_LIBS = $IOKIT_LIBS
23709 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23710 CORESERVICES_LIBS = $CORESERVICES_LIBS
23711 APPKIT_LIBS = $APPKIT_LIBS
23712 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23713 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23714 SECURITY_LIBS = $SECURITY_LIBS
23715 COREAUDIO_LIBS = $COREAUDIO_LIBS
23716 OPENAL_LIBS = $OPENAL_LIBS
23717 OPENCL_LIBS = $OPENCL_LIBS
23718 CARBON_LIBS = $CARBON_LIBS
23719 METAL_LIBS = $METAL_LIBS
23720 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23721 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23722 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23723 PRELINK = $PRELINK
23724 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23725 CROSSTARGET = $CROSSTARGET
23726 CROSSCC = $CROSSCC
23727 CROSSCFLAGS = $CROSSCFLAGS
23728 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23729 CROSSLDFLAGS = $CROSSLDFLAGS
23730 DELAYLOADFLAG = $DELAYLOADFLAG
23731 CROSSDEBUG = $CROSSDEBUG
23732 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23733 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23734 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23735 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23736 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23737 GSM_PE_LIBS = $GSM_PE_LIBS
23738 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23739 JPEG_PE_LIBS = $JPEG_PE_LIBS
23740 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23741 JXR_PE_LIBS = $JXR_PE_LIBS
23742 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23743 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23744 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23745 MPG123_PE_LIBS = $MPG123_PE_LIBS
23746 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23747 PNG_PE_LIBS = $PNG_PE_LIBS
23748 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23749 TIFF_PE_LIBS = $TIFF_PE_LIBS
23750 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23751 XML2_PE_LIBS = $XML2_PE_LIBS
23752 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23753 XSLT_PE_LIBS = $XSLT_PE_LIBS
23754 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23755 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23756 PTHREAD_LIBS = $PTHREAD_LIBS
23757 XMKMF = $XMKMF
23758 CPP = $CPP
23759 X_CFLAGS = $X_CFLAGS
23760 X_PRE_LIBS = $X_PRE_LIBS
23761 X_LIBS = $X_LIBS
23762 X_EXTRA_LIBS = $X_EXTRA_LIBS
23763 PCAP_LIBS = $PCAP_LIBS
23764 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23765 INOTIFY_LIBS = $INOTIFY_LIBS
23766 DBUS_CFLAGS = $DBUS_CFLAGS
23767 DBUS_LIBS = $DBUS_LIBS
23768 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23769 GNUTLS_LIBS = $GNUTLS_LIBS
23770 SANE_CFLAGS = $SANE_CFLAGS
23771 SANE_LIBS = $SANE_LIBS
23772 USB_CFLAGS = $USB_CFLAGS
23773 USB_LIBS = $USB_LIBS
23774 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23775 GPHOTO2_LIBS = $GPHOTO2_LIBS
23776 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23777 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23778 RESOLV_LIBS = $RESOLV_LIBS
23779 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23780 FREETYPE_LIBS = $FREETYPE_LIBS
23781 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23782 PULSE_CFLAGS = $PULSE_CFLAGS
23783 PULSE_LIBS = $PULSE_LIBS
23784 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23785 GSTREAMER_LIBS = $GSTREAMER_LIBS
23786 ALSA_LIBS = $ALSA_LIBS
23787 OSS4_CFLAGS = $OSS4_CFLAGS
23788 OSS4_LIBS = $OSS4_LIBS
23789 UDEV_CFLAGS = $UDEV_CFLAGS
23790 UDEV_LIBS = $UDEV_LIBS
23791 UNWIND_CFLAGS = $UNWIND_CFLAGS
23792 UNWIND_LIBS = $UNWIND_LIBS
23793 SDL2_CFLAGS = $SDL2_CFLAGS
23794 SDL2_LIBS = $SDL2_LIBS
23795 CAPI20_CFLAGS = $CAPI20_CFLAGS
23796 CAPI20_LIBS = $CAPI20_LIBS
23797 CUPS_CFLAGS = $CUPS_CFLAGS
23798 CUPS_LIBS = $CUPS_LIBS
23799 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23800 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23801 KRB5_CFLAGS = $KRB5_CFLAGS
23802 KRB5_LIBS = $KRB5_LIBS
23803 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23804 GSSAPI_LIBS = $GSSAPI_LIBS
23805 PROCSTAT_LIBS = $PROCSTAT_LIBS
23806 NETAPI_CFLAGS = $NETAPI_CFLAGS
23807 NETAPI_LIBS = $NETAPI_LIBS
23808 VKD3D_CFLAGS = $VKD3D_CFLAGS
23809 VKD3D_LIBS = $VKD3D_LIBS
23810 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23811 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23812 MSVCRTFLAGS = $MSVCRTFLAGS
23813 RT_LIBS = $RT_LIBS
23814 LDAP_CFLAGS = $LDAP_CFLAGS
23815 LDAP_LIBS = $LDAP_LIBS
23816 TAGSFLAGS = $TAGSFLAGS
23817 LIBOBJS = $LIBOBJS
23818 LTLIBOBJS = $LTLIBOBJS
23819 $SET_MAKE
23820 $wine_rules
23821 _WINE_EOF
23822 as_fn_error $? "could not create Makefile" "$LINENO" 5
23825 _ACEOF
23827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23829 # Handling of arguments.
23830 for ac_config_target in $ac_config_targets
23832 case $ac_config_target in
23833 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23834 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23835 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23836 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23837 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23838 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23840 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23841 esac
23842 done
23845 # If the user did not use the arguments to specify the items to instantiate,
23846 # then the envvar interface is used. Set only those that are not.
23847 # We use the long form for the default assignment because of an extremely
23848 # bizarre bug on SunOS 4.1.3.
23849 if $ac_need_defaults; then
23850 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23851 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23852 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23855 # Have a temporary directory for convenience. Make it in the build tree
23856 # simply because there is no reason against having it here, and in addition,
23857 # creating and moving files from /tmp can sometimes cause problems.
23858 # Hook for its removal unless debugging.
23859 # Note that there is a small window in which the directory will not be cleaned:
23860 # after its creation but before its name has been assigned to `$tmp'.
23861 $debug ||
23863 tmp= ac_tmp=
23864 trap 'exit_status=$?
23865 : "${ac_tmp:=$tmp}"
23866 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23868 trap 'as_fn_exit 1' 1 2 13 15
23870 # Create a (secure) tmp directory for tmp files.
23873 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23874 test -d "$tmp"
23875 } ||
23877 tmp=./conf$$-$RANDOM
23878 (umask 077 && mkdir "$tmp")
23879 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23880 ac_tmp=$tmp
23882 # Set up the scripts for CONFIG_HEADERS section.
23883 # No need to generate them if there are no CONFIG_HEADERS.
23884 # This happens for instance with `./config.status Makefile'.
23885 if test -n "$CONFIG_HEADERS"; then
23886 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23887 BEGIN {
23888 _ACEOF
23890 # Transform confdefs.h into an awk script `defines.awk', embedded as
23891 # here-document in config.status, that substitutes the proper values into
23892 # config.h.in to produce config.h.
23894 # Create a delimiter string that does not exist in confdefs.h, to ease
23895 # handling of long lines.
23896 ac_delim='%!_!# '
23897 for ac_last_try in false false :; do
23898 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23899 if test -z "$ac_tt"; then
23900 break
23901 elif $ac_last_try; then
23902 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23903 else
23904 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23906 done
23908 # For the awk script, D is an array of macro values keyed by name,
23909 # likewise P contains macro parameters if any. Preserve backslash
23910 # newline sequences.
23912 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23913 sed -n '
23914 s/.\{148\}/&'"$ac_delim"'/g
23915 t rset
23916 :rset
23917 s/^[ ]*#[ ]*define[ ][ ]*/ /
23918 t def
23920 :def
23921 s/\\$//
23922 t bsnl
23923 s/["\\]/\\&/g
23924 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23925 D["\1"]=" \3"/p
23926 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23928 :bsnl
23929 s/["\\]/\\&/g
23930 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23931 D["\1"]=" \3\\\\\\n"\\/p
23932 t cont
23933 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23934 t cont
23936 :cont
23938 s/.\{148\}/&'"$ac_delim"'/g
23939 t clear
23940 :clear
23941 s/\\$//
23942 t bsnlc
23943 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23945 :bsnlc
23946 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23947 b cont
23948 ' <confdefs.h | sed '
23949 s/'"$ac_delim"'/"\\\
23950 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23953 for (key in D) D_is_set[key] = 1
23954 FS = "\a"
23956 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23957 line = \$ 0
23958 split(line, arg, " ")
23959 if (arg[1] == "#") {
23960 defundef = arg[2]
23961 mac1 = arg[3]
23962 } else {
23963 defundef = substr(arg[1], 2)
23964 mac1 = arg[2]
23966 split(mac1, mac2, "(") #)
23967 macro = mac2[1]
23968 prefix = substr(line, 1, index(line, defundef) - 1)
23969 if (D_is_set[macro]) {
23970 # Preserve the white space surrounding the "#".
23971 print prefix "define", macro P[macro] D[macro]
23972 next
23973 } else {
23974 # Replace #undef with comments. This is necessary, for example,
23975 # in the case of _POSIX_SOURCE, which is predefined and required
23976 # on some systems where configure will not decide to define it.
23977 if (defundef == "undef") {
23978 print "/*", prefix defundef, macro, "*/"
23979 next
23983 { print }
23984 _ACAWK
23985 _ACEOF
23986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23987 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23988 fi # test -n "$CONFIG_HEADERS"
23991 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23992 shift
23993 for ac_tag
23995 case $ac_tag in
23996 :[FHLC]) ac_mode=$ac_tag; continue;;
23997 esac
23998 case $ac_mode$ac_tag in
23999 :[FHL]*:*);;
24000 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24001 :[FH]-) ac_tag=-:-;;
24002 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24003 esac
24004 ac_save_IFS=$IFS
24005 IFS=:
24006 set x $ac_tag
24007 IFS=$ac_save_IFS
24008 shift
24009 ac_file=$1
24010 shift
24012 case $ac_mode in
24013 :L) ac_source=$1;;
24014 :[FH])
24015 ac_file_inputs=
24016 for ac_f
24018 case $ac_f in
24019 -) ac_f="$ac_tmp/stdin";;
24020 *) # Look for the file first in the build tree, then in the source tree
24021 # (if the path is not absolute). The absolute path cannot be DOS-style,
24022 # because $ac_f cannot contain `:'.
24023 test -f "$ac_f" ||
24024 case $ac_f in
24025 [\\/$]*) false;;
24026 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24027 esac ||
24028 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24029 esac
24030 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24031 as_fn_append ac_file_inputs " '$ac_f'"
24032 done
24034 # Let's still pretend it is `configure' which instantiates (i.e., don't
24035 # use $as_me), people would be surprised to read:
24036 # /* config.h. Generated by config.status. */
24037 configure_input='Generated from '`
24038 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24039 `' by configure.'
24040 if test x"$ac_file" != x-; then
24041 configure_input="$ac_file. $configure_input"
24042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24043 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24045 # Neutralize special characters interpreted by sed in replacement strings.
24046 case $configure_input in #(
24047 *\&* | *\|* | *\\* )
24048 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24049 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24050 *) ac_sed_conf_input=$configure_input;;
24051 esac
24053 case $ac_tag in
24054 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24055 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24056 esac
24058 esac
24060 ac_dir=`$as_dirname -- "$ac_file" ||
24061 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24062 X"$ac_file" : 'X\(//\)[^/]' \| \
24063 X"$ac_file" : 'X\(//\)$' \| \
24064 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24065 printf "%s\n" X"$ac_file" |
24066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24067 s//\1/
24070 /^X\(\/\/\)[^/].*/{
24071 s//\1/
24074 /^X\(\/\/\)$/{
24075 s//\1/
24078 /^X\(\/\).*/{
24079 s//\1/
24082 s/.*/./; q'`
24083 as_dir="$ac_dir"; as_fn_mkdir_p
24084 ac_builddir=.
24086 case "$ac_dir" in
24087 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24089 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24090 # A ".." for each directory in $ac_dir_suffix.
24091 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24092 case $ac_top_builddir_sub in
24093 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24094 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24095 esac ;;
24096 esac
24097 ac_abs_top_builddir=$ac_pwd
24098 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24099 # for backward compatibility:
24100 ac_top_builddir=$ac_top_build_prefix
24102 case $srcdir in
24103 .) # We are building in place.
24104 ac_srcdir=.
24105 ac_top_srcdir=$ac_top_builddir_sub
24106 ac_abs_top_srcdir=$ac_pwd ;;
24107 [\\/]* | ?:[\\/]* ) # Absolute name.
24108 ac_srcdir=$srcdir$ac_dir_suffix;
24109 ac_top_srcdir=$srcdir
24110 ac_abs_top_srcdir=$srcdir ;;
24111 *) # Relative name.
24112 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24113 ac_top_srcdir=$ac_top_build_prefix$srcdir
24114 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24115 esac
24116 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24119 case $ac_mode in
24123 # CONFIG_HEADER
24125 if test x"$ac_file" != x-; then
24127 printf "%s\n" "/* $configure_input */" >&1 \
24128 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24129 } >"$ac_tmp/config.h" \
24130 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24131 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24133 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24134 else
24135 rm -f "$ac_file"
24136 mv "$ac_tmp/config.h" "$ac_file" \
24137 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24139 else
24140 printf "%s\n" "/* $configure_input */" >&1 \
24141 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24142 || as_fn_error $? "could not create -" "$LINENO" 5
24147 # CONFIG_LINK
24150 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24152 else
24153 # Prefer the file from the source tree if names are identical.
24154 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24155 ac_source=$srcdir/$ac_source
24158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24159 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24161 if test ! -r "$ac_source"; then
24162 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24164 rm -f "$ac_file"
24166 # Try a relative symlink, then a hard link, then a copy.
24167 case $ac_source in
24168 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24169 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24170 esac
24171 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24172 ln "$ac_source" "$ac_file" 2>/dev/null ||
24173 cp -p "$ac_source" "$ac_file" ||
24174 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24177 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24178 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24180 esac
24183 case $ac_file$ac_mode in
24184 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24185 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24186 "Makefile":C) wine_fn_output_makefile Makefile ;;
24188 esac
24189 done # for ac_tag
24192 as_fn_exit 0
24193 _ACEOF
24194 ac_clean_files=$ac_clean_files_save
24196 test $ac_write_fail = 0 ||
24197 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24200 # configure is writing to config.log, and then calls config.status.
24201 # config.status does its own redirection, appending to config.log.
24202 # Unfortunately, on DOS this fails, as config.log is still kept open
24203 # by configure, so config.status won't be able to write to it; its
24204 # output is simply discarded. So we exec the FD to /dev/null,
24205 # effectively closing config.log, so it can be properly (re)opened and
24206 # appended to by config.status. When coming back to configure, we
24207 # need to make the FD available again.
24208 if test "$no_create" != yes; then
24209 ac_cs_success=:
24210 ac_config_status_args=
24211 test "$silent" = yes &&
24212 ac_config_status_args="$ac_config_status_args --quiet"
24213 exec 5>/dev/null
24214 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24215 exec 5>>config.log
24216 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24217 # would make configure fail if this is the last instruction.
24218 $ac_cs_success || as_fn_exit 1
24220 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24222 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24226 if test "$no_create" = "yes"
24227 then
24228 exit 0
24231 ac_save_IFS="$IFS"
24232 if test "x$wine_notices" != x; then
24233 echo >&6
24234 IFS="|"
24235 for msg in $wine_notices; do
24236 IFS="$ac_save_IFS"
24237 if ${msg:+false} :
24238 then :
24240 else $as_nop
24241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24242 printf "%s\n" "$as_me: $msg" >&6;}
24244 done
24246 IFS="|"
24247 for msg in $wine_warnings; do
24248 IFS="$ac_save_IFS"
24249 if ${msg:+false} :
24250 then :
24252 else $as_nop
24253 echo >&2
24254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24255 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24257 done
24258 IFS="$ac_save_IFS"
24260 printf "%s\n" "
24261 $as_me: Finished. Do '${ac_make}' to compile Wine.
24262 " >&6