ole32: Remove DECLSPEC_HIDDEN usage.
[wine.git] / configure
blob3bad491fee13aa302a9381e99b855584d64a485b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.11.
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='8.11'
615 PACKAGE_STRING='Wine 8.11'
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 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 DLLEXT
770 WINEPRELOADER_LDFLAGS
771 WINELOADER_LDFLAGS
772 TOP_INSTALL_DEV
773 TOP_INSTALL_LIB
774 UNIXLDFLAGS
775 UNIXDLLFLAGS
776 EXTRACFLAGS
777 LDEXECFLAGS
778 LDDLLFLAGS
779 DLLFLAGS
780 OPENGL_LIBS
781 I386_LIBS
782 ICOTOOL
783 CONVERT
784 RSVG
785 FONTFORGE
786 PKG_CONFIG
787 MSGFMT
788 LDCONFIG
789 EGREP
790 GREP
791 LN_S
792 RANLIB
793 STRIP
794 ac_ct_AR
796 BISON
797 FLEX
798 SED_CMD
799 RUNTESTFLAGS
800 MAKEDEP
801 toolsdir
802 x86_64_DISABLED_SUBDIRS
803 x86_64_DELAYLOADFLAG
804 x86_64_TARGET
805 x86_64_DEBUG
806 x86_64_LDFLAGS
807 x86_64_EXTRACFLAGS
808 x86_64_CFLAGS
809 x86_64_CC
810 i386_DISABLED_SUBDIRS
811 i386_DELAYLOADFLAG
812 i386_TARGET
813 i386_DEBUG
814 i386_LDFLAGS
815 i386_EXTRACFLAGS
816 i386_CFLAGS
817 i386_CC
818 arm_DISABLED_SUBDIRS
819 arm_DELAYLOADFLAG
820 arm_TARGET
821 arm_DEBUG
822 arm_LDFLAGS
823 arm_EXTRACFLAGS
824 arm_CFLAGS
825 arm_CC
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
828 aarch64_TARGET
829 aarch64_DEBUG
830 aarch64_LDFLAGS
831 aarch64_EXTRACFLAGS
832 aarch64_CFLAGS
833 aarch64_CC
834 HOST_ARCH
835 toolsext
836 TARGETFLAGS
838 CPPBIN
839 ac_ct_CXX
840 CXXFLAGS
842 OBJEXT
843 EXEEXT
844 ac_ct_CC
845 CPPFLAGS
846 LDFLAGS
847 CFLAGS
849 SET_MAKE
850 srcdir
851 nlsdir
852 fontdir
853 dlldir
854 host_os
855 host_vendor
856 host_cpu
857 host
858 build_os
859 build_vendor
860 build_cpu
861 build
862 system_dllpath
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
900 PATH_SEPARATOR
901 SHELL'
902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_archs
906 enable_win16
907 enable_win64
908 enable_tests
909 enable_build_id
910 enable_maintainer_mode
911 enable_silent_rules
912 enable_werror
913 with_alsa
914 with_capi
915 with_coreaudio
916 with_cups
917 with_dbus
918 with_float_abi
919 with_fontconfig
920 with_freetype
921 with_gettext
922 with_gettextpo
923 with_gphoto
924 with_gnutls
925 with_gssapi
926 with_gstreamer
927 with_inotify
928 with_krb5
929 with_mingw
930 with_netapi
931 with_opencl
932 with_opengl
933 with_osmesa
934 with_oss
935 with_pcap
936 with_pcsclite
937 with_pthread
938 with_pulse
939 with_sane
940 with_sdl
941 with_udev
942 with_unwind
943 with_usb
944 with_v4l2
945 with_vulkan
946 with_wayland
947 with_xcomposite
948 with_xcursor
949 with_xfixes
950 with_xinerama
951 with_xinput
952 with_xinput2
953 with_xrandr
954 with_xrender
955 with_xshape
956 with_xshm
957 with_xxf86vm
958 with_system_dllpath
959 with_wine_tools
960 with_wine64
961 enable_largefile
962 with_x
963 enable_acledit
964 enable_aclui
965 enable_activeds_tlb
966 enable_activeds
967 enable_actxprxy
968 enable_adsldp
969 enable_adsldpc
970 enable_advapi32
971 enable_advpack
972 enable_amsi
973 enable_amstream
974 enable_apisetschema
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_atl
978 enable_atl100
979 enable_atl110
980 enable_atl80
981 enable_atl90
982 enable_atlthunk
983 enable_atmlib
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bluetoothapis
990 enable_browseui
991 enable_bthprops_cpl
992 enable_cabinet
993 enable_capi2032
994 enable_cards
995 enable_cdosys
996 enable_cfgmgr32
997 enable_clusapi
998 enable_cng_sys
999 enable_combase
1000 enable_comcat
1001 enable_comctl32
1002 enable_comdlg32
1003 enable_compstui
1004 enable_comsvcs
1005 enable_concrt140
1006 enable_connect
1007 enable_credui
1008 enable_crtdll
1009 enable_crypt32
1010 enable_cryptdlg
1011 enable_cryptdll
1012 enable_cryptext
1013 enable_cryptnet
1014 enable_cryptowinrt
1015 enable_cryptsp
1016 enable_cryptui
1017 enable_ctapi32
1018 enable_ctl3d32
1019 enable_d2d1
1020 enable_d3d10
1021 enable_d3d10_1
1022 enable_d3d10core
1023 enable_d3d11
1024 enable_d3d12
1025 enable_d3d12core
1026 enable_d3d8
1027 enable_d3d8thk
1028 enable_d3d9
1029 enable_d3dcompiler_33
1030 enable_d3dcompiler_34
1031 enable_d3dcompiler_35
1032 enable_d3dcompiler_36
1033 enable_d3dcompiler_37
1034 enable_d3dcompiler_38
1035 enable_d3dcompiler_39
1036 enable_d3dcompiler_40
1037 enable_d3dcompiler_41
1038 enable_d3dcompiler_42
1039 enable_d3dcompiler_43
1040 enable_d3dcompiler_46
1041 enable_d3dcompiler_47
1042 enable_d3dim
1043 enable_d3dim700
1044 enable_d3drm
1045 enable_d3dx10_33
1046 enable_d3dx10_34
1047 enable_d3dx10_35
1048 enable_d3dx10_36
1049 enable_d3dx10_37
1050 enable_d3dx10_38
1051 enable_d3dx10_39
1052 enable_d3dx10_40
1053 enable_d3dx10_41
1054 enable_d3dx10_42
1055 enable_d3dx10_43
1056 enable_d3dx11_42
1057 enable_d3dx11_43
1058 enable_d3dx9_24
1059 enable_d3dx9_25
1060 enable_d3dx9_26
1061 enable_d3dx9_27
1062 enable_d3dx9_28
1063 enable_d3dx9_29
1064 enable_d3dx9_30
1065 enable_d3dx9_31
1066 enable_d3dx9_32
1067 enable_d3dx9_33
1068 enable_d3dx9_34
1069 enable_d3dx9_35
1070 enable_d3dx9_36
1071 enable_d3dx9_37
1072 enable_d3dx9_38
1073 enable_d3dx9_39
1074 enable_d3dx9_40
1075 enable_d3dx9_41
1076 enable_d3dx9_42
1077 enable_d3dx9_43
1078 enable_d3dxof
1079 enable_davclnt
1080 enable_dbgeng
1081 enable_dbghelp
1082 enable_dciman32
1083 enable_dcomp
1084 enable_ddraw
1085 enable_ddrawex
1086 enable_devenum
1087 enable_dhcpcsvc
1088 enable_dhcpcsvc6
1089 enable_dhtmled_ocx
1090 enable_diasymreader
1091 enable_difxapi
1092 enable_dinput
1093 enable_dinput8
1094 enable_directmanipulation
1095 enable_dispex
1096 enable_dmband
1097 enable_dmcompos
1098 enable_dmime
1099 enable_dmloader
1100 enable_dmscript
1101 enable_dmstyle
1102 enable_dmsynth
1103 enable_dmusic
1104 enable_dmusic32
1105 enable_dnsapi
1106 enable_dplay
1107 enable_dplayx
1108 enable_dpnaddr
1109 enable_dpnet
1110 enable_dpnhpast
1111 enable_dpnhupnp
1112 enable_dpnlobby
1113 enable_dpvoice
1114 enable_dpwsockx
1115 enable_drmclien
1116 enable_dsdmo
1117 enable_dsound
1118 enable_dsquery
1119 enable_dssenh
1120 enable_dsuiext
1121 enable_dswave
1122 enable_dwmapi
1123 enable_dwrite
1124 enable_dx8vb
1125 enable_dxdiagn
1126 enable_dxgi
1127 enable_dxtrans
1128 enable_dxva2
1129 enable_esent
1130 enable_evr
1131 enable_explorerframe
1132 enable_faultrep
1133 enable_feclient
1134 enable_fltlib
1135 enable_fltmgr_sys
1136 enable_fntcache
1137 enable_fontsub
1138 enable_fusion
1139 enable_fwpuclnt
1140 enable_gameux
1141 enable_gamingtcui
1142 enable_gdi32
1143 enable_gdiplus
1144 enable_glu32
1145 enable_gphoto2_ds
1146 enable_gpkcsp
1147 enable_graphicscapture
1148 enable_hal
1149 enable_hhctrl_ocx
1150 enable_hid
1151 enable_hidclass_sys
1152 enable_hidparse_sys
1153 enable_hlink
1154 enable_hnetcfg
1155 enable_hrtfapo
1156 enable_http_sys
1157 enable_httpapi
1158 enable_ia2comproxy
1159 enable_iccvid
1160 enable_icmp
1161 enable_ieframe
1162 enable_ieproxy
1163 enable_imaadp32_acm
1164 enable_imagehlp
1165 enable_imm32
1166 enable_inetcomm
1167 enable_inetcpl_cpl
1168 enable_inetmib1
1169 enable_infosoft
1170 enable_initpki
1171 enable_inkobj
1172 enable_inseng
1173 enable_iphlpapi
1174 enable_iprop
1175 enable_ir50_32
1176 enable_irprops_cpl
1177 enable_itircl
1178 enable_itss
1179 enable_joy_cpl
1180 enable_jscript
1181 enable_jsproxy
1182 enable_kerberos
1183 enable_kernel32
1184 enable_kernelbase
1185 enable_ksecdd_sys
1186 enable_ksproxy_ax
1187 enable_ksuser
1188 enable_ktmw32
1189 enable_l3codeca_acm
1190 enable_light_msstyles
1191 enable_loadperf
1192 enable_localspl
1193 enable_localui
1194 enable_lz32
1195 enable_mapi32
1196 enable_mapistub
1197 enable_mciavi32
1198 enable_mcicda
1199 enable_mciqtz32
1200 enable_mciseq
1201 enable_mciwave
1202 enable_mf
1203 enable_mf3216
1204 enable_mferror
1205 enable_mfmediaengine
1206 enable_mfplat
1207 enable_mfplay
1208 enable_mfreadwrite
1209 enable_mfsrcsnk
1210 enable_mgmtapi
1211 enable_midimap
1212 enable_mlang
1213 enable_mmcndmgr
1214 enable_mmdevapi
1215 enable_mountmgr_sys
1216 enable_mp3dmod
1217 enable_mpr
1218 enable_mprapi
1219 enable_msacm32_drv
1220 enable_msacm32
1221 enable_msado15
1222 enable_msadp32_acm
1223 enable_msasn1
1224 enable_msauddecmft
1225 enable_mscat32
1226 enable_mscms
1227 enable_mscoree
1228 enable_mscorwks
1229 enable_msctf
1230 enable_msctfmonitor
1231 enable_msctfp
1232 enable_msdaps
1233 enable_msdasql
1234 enable_msdelta
1235 enable_msdmo
1236 enable_msdrm
1237 enable_msftedit
1238 enable_msg711_acm
1239 enable_msgsm32_acm
1240 enable_mshtml_tlb
1241 enable_mshtml
1242 enable_msi
1243 enable_msident
1244 enable_msimg32
1245 enable_msimsg
1246 enable_msimtf
1247 enable_msisip
1248 enable_msisys_ocx
1249 enable_msls31
1250 enable_msmpeg2vdec
1251 enable_msnet32
1252 enable_mspatcha
1253 enable_msports
1254 enable_msrle32
1255 enable_msscript_ocx
1256 enable_mssign32
1257 enable_mssip32
1258 enable_mstask
1259 enable_msv1_0
1260 enable_msvcirt
1261 enable_msvcm80
1262 enable_msvcm90
1263 enable_msvcp100
1264 enable_msvcp110
1265 enable_msvcp120
1266 enable_msvcp120_app
1267 enable_msvcp140
1268 enable_msvcp140_1
1269 enable_msvcp140_2
1270 enable_msvcp140_atomic_wait
1271 enable_msvcp60
1272 enable_msvcp70
1273 enable_msvcp71
1274 enable_msvcp80
1275 enable_msvcp90
1276 enable_msvcp_win
1277 enable_msvcr100
1278 enable_msvcr110
1279 enable_msvcr120
1280 enable_msvcr120_app
1281 enable_msvcr70
1282 enable_msvcr71
1283 enable_msvcr80
1284 enable_msvcr90
1285 enable_msvcrt
1286 enable_msvcrt20
1287 enable_msvcrt40
1288 enable_msvcrtd
1289 enable_msvfw32
1290 enable_msvidc32
1291 enable_mswsock
1292 enable_msxml
1293 enable_msxml2
1294 enable_msxml3
1295 enable_msxml4
1296 enable_msxml6
1297 enable_mtxdm
1298 enable_ncrypt
1299 enable_nddeapi
1300 enable_ndis_sys
1301 enable_netapi32
1302 enable_netcfgx
1303 enable_netio_sys
1304 enable_netprofm
1305 enable_netutils
1306 enable_newdev
1307 enable_ninput
1308 enable_normaliz
1309 enable_npmshtml
1310 enable_npptools
1311 enable_nsi
1312 enable_nsiproxy_sys
1313 enable_ntdll
1314 enable_ntdsapi
1315 enable_ntoskrnl_exe
1316 enable_ntprint
1317 enable_objsel
1318 enable_odbc32
1319 enable_odbcbcp
1320 enable_odbccp32
1321 enable_odbccu32
1322 enable_ole32
1323 enable_oleacc
1324 enable_oleaut32
1325 enable_olecli32
1326 enable_oledb32
1327 enable_oledlg
1328 enable_olepro32
1329 enable_olesvr32
1330 enable_olethk32
1331 enable_opcservices
1332 enable_opencl
1333 enable_opengl32
1334 enable_packager
1335 enable_pdh
1336 enable_photometadatahandler
1337 enable_pidgen
1338 enable_powrprof
1339 enable_printui
1340 enable_prntvpt
1341 enable_propsys
1342 enable_psapi
1343 enable_pstorec
1344 enable_pwrshplugin
1345 enable_qasf
1346 enable_qcap
1347 enable_qdvd
1348 enable_qedit
1349 enable_qmgr
1350 enable_qmgrprxy
1351 enable_quartz
1352 enable_query
1353 enable_qwave
1354 enable_rasapi32
1355 enable_rasdlg
1356 enable_regapi
1357 enable_resutils
1358 enable_riched20
1359 enable_riched32
1360 enable_rpcrt4
1361 enable_rsabase
1362 enable_rsaenh
1363 enable_rstrtmgr
1364 enable_rtutils
1365 enable_rtworkq
1366 enable_samlib
1367 enable_sane_ds
1368 enable_sapi
1369 enable_sas
1370 enable_scarddlg
1371 enable_scardsvr
1372 enable_sccbase
1373 enable_schannel
1374 enable_schedsvc
1375 enable_scrobj
1376 enable_scrrun
1377 enable_scsiport_sys
1378 enable_sechost
1379 enable_secur32
1380 enable_security
1381 enable_sensapi
1382 enable_serialui
1383 enable_setupapi
1384 enable_sfc
1385 enable_sfc_os
1386 enable_shcore
1387 enable_shdoclc
1388 enable_shdocvw
1389 enable_shell32
1390 enable_shfolder
1391 enable_shlwapi
1392 enable_slbcsp
1393 enable_slc
1394 enable_snmpapi
1395 enable_softpub
1396 enable_spoolss
1397 enable_sppc
1398 enable_srclient
1399 enable_srvcli
1400 enable_sspicli
1401 enable_stdole2_tlb
1402 enable_stdole32_tlb
1403 enable_sti
1404 enable_strmdll
1405 enable_svrapi
1406 enable_sxs
1407 enable_t2embed
1408 enable_tapi32
1409 enable_taskschd
1410 enable_tbs
1411 enable_tdh
1412 enable_tdi_sys
1413 enable_threadpoolwinrt
1414 enable_traffic
1415 enable_twain_32
1416 enable_twinapi_appcore
1417 enable_tzres
1418 enable_ucrtbase
1419 enable_uianimation
1420 enable_uiautomationcore
1421 enable_uiribbon
1422 enable_unicows
1423 enable_updspapi
1424 enable_url
1425 enable_urlmon
1426 enable_usbd_sys
1427 enable_user32
1428 enable_userenv
1429 enable_usp10
1430 enable_utildll
1431 enable_uxtheme
1432 enable_vbscript
1433 enable_vcomp
1434 enable_vcomp100
1435 enable_vcomp110
1436 enable_vcomp120
1437 enable_vcomp140
1438 enable_vcomp90
1439 enable_vcruntime140
1440 enable_vcruntime140_1
1441 enable_vdmdbg
1442 enable_version
1443 enable_vga
1444 enable_virtdisk
1445 enable_vssapi
1446 enable_vulkan_1
1447 enable_wbemdisp
1448 enable_wbemprox
1449 enable_wdscore
1450 enable_webservices
1451 enable_websocket
1452 enable_wer
1453 enable_wevtapi
1454 enable_wevtsvc
1455 enable_wiaservc
1456 enable_wimgapi
1457 enable_win32u
1458 enable_windows_devices_bluetooth
1459 enable_windows_devices_enumeration
1460 enable_windows_gaming_input
1461 enable_windows_gaming_ui_gamebar
1462 enable_windows_globalization
1463 enable_windows_media_devices
1464 enable_windows_media_speech
1465 enable_windows_media
1466 enable_windows_networking
1467 enable_windows_perception_stub
1468 enable_windows_system_profile_systemmanufacturers
1469 enable_windows_ui
1470 enable_windowscodecs
1471 enable_windowscodecsext
1472 enable_winealsa_drv
1473 enable_wineandroid_drv
1474 enable_winebus_sys
1475 enable_winecoreaudio_drv
1476 enable_winecrt0
1477 enable_wined3d
1478 enable_winegstreamer
1479 enable_winehid_sys
1480 enable_winemac_drv
1481 enable_winemapi
1482 enable_wineoss_drv
1483 enable_wineps_drv
1484 enable_winepulse_drv
1485 enable_wineusb_sys
1486 enable_winevulkan
1487 enable_winewayland_drv
1488 enable_winex11_drv
1489 enable_winexinput_sys
1490 enable_wing32
1491 enable_winhttp
1492 enable_wininet
1493 enable_winmm
1494 enable_winnls32
1495 enable_winprint
1496 enable_winscard
1497 enable_winspool_drv
1498 enable_winsta
1499 enable_wintab32
1500 enable_wintrust
1501 enable_wintypes
1502 enable_winusb
1503 enable_wlanapi
1504 enable_wlanui
1505 enable_wldap32
1506 enable_wmasf
1507 enable_wmi
1508 enable_wmiutils
1509 enable_wmp
1510 enable_wmphoto
1511 enable_wmvcore
1512 enable_wnaspi32
1513 enable_wofutil
1514 enable_wow64
1515 enable_wow64cpu
1516 enable_wow64win
1517 enable_wpc
1518 enable_wpcap
1519 enable_ws2_32
1520 enable_wsdapi
1521 enable_wshom_ocx
1522 enable_wsnmp32
1523 enable_wsock32
1524 enable_wtsapi32
1525 enable_wuapi
1526 enable_wuaueng
1527 enable_x3daudio1_0
1528 enable_x3daudio1_1
1529 enable_x3daudio1_2
1530 enable_x3daudio1_3
1531 enable_x3daudio1_4
1532 enable_x3daudio1_5
1533 enable_x3daudio1_6
1534 enable_x3daudio1_7
1535 enable_xactengine2_0
1536 enable_xactengine2_4
1537 enable_xactengine2_7
1538 enable_xactengine2_9
1539 enable_xactengine3_0
1540 enable_xactengine3_1
1541 enable_xactengine3_2
1542 enable_xactengine3_3
1543 enable_xactengine3_4
1544 enable_xactengine3_5
1545 enable_xactengine3_6
1546 enable_xactengine3_7
1547 enable_xapofx1_1
1548 enable_xapofx1_2
1549 enable_xapofx1_3
1550 enable_xapofx1_4
1551 enable_xapofx1_5
1552 enable_xaudio2_0
1553 enable_xaudio2_1
1554 enable_xaudio2_2
1555 enable_xaudio2_3
1556 enable_xaudio2_4
1557 enable_xaudio2_5
1558 enable_xaudio2_6
1559 enable_xaudio2_7
1560 enable_xaudio2_8
1561 enable_xaudio2_9
1562 enable_xinput1_1
1563 enable_xinput1_2
1564 enable_xinput1_3
1565 enable_xinput1_4
1566 enable_xinput9_1_0
1567 enable_xinputuap
1568 enable_xmllite
1569 enable_xolehlp
1570 enable_xpsprint
1571 enable_xpssvcs
1572 enable_fonts
1573 enable_include
1574 enable_adsiid
1575 enable_dmoguids
1576 enable_dxerr8
1577 enable_dxerr9
1578 enable_dxguid
1579 enable_faudio
1580 enable_gsm
1581 enable_jpeg
1582 enable_jxr
1583 enable_lcms2
1584 enable_ldap
1585 enable_mfuuid
1586 enable_mpg123
1587 enable_musl
1588 enable_png
1589 enable_strmbase
1590 enable_strmiids
1591 enable_tiff
1592 enable_uuid
1593 enable_vkd3d
1594 enable_wbemuuid
1595 enable_wmcodecdspuuid
1596 enable_xml2
1597 enable_xslt
1598 enable_zlib
1599 enable_zydis
1600 enable_loader
1601 enable_nls
1602 enable_po
1603 enable_arp
1604 enable_aspnet_regiis
1605 enable_attrib
1606 enable_cabarc
1607 enable_cacls
1608 enable_certutil
1609 enable_chcp_com
1610 enable_clock
1611 enable_cmd
1612 enable_conhost
1613 enable_control
1614 enable_cscript
1615 enable_dism
1616 enable_dllhost
1617 enable_dplaysvr
1618 enable_dpnsvr
1619 enable_dpvsetup
1620 enable_dxdiag
1621 enable_eject
1622 enable_expand
1623 enable_explorer
1624 enable_extrac32
1625 enable_fc
1626 enable_find
1627 enable_findstr
1628 enable_fsutil
1629 enable_hh
1630 enable_hostname
1631 enable_icacls
1632 enable_icinfo
1633 enable_iexplore
1634 enable_ipconfig
1635 enable_lodctr
1636 enable_mofcomp
1637 enable_mshta
1638 enable_msidb
1639 enable_msiexec
1640 enable_msinfo32
1641 enable_net
1642 enable_netsh
1643 enable_netstat
1644 enable_ngen
1645 enable_notepad
1646 enable_oleview
1647 enable_ping
1648 enable_plugplay
1649 enable_pnputil
1650 enable_powershell
1651 enable_presentationfontcache
1652 enable_progman
1653 enable_reg
1654 enable_regasm
1655 enable_regedit
1656 enable_regini
1657 enable_regsvcs
1658 enable_regsvr32
1659 enable_robocopy
1660 enable_rpcss
1661 enable_rundll32
1662 enable_sc
1663 enable_schtasks
1664 enable_sdbinst
1665 enable_secedit
1666 enable_servicemodelreg
1667 enable_services
1668 enable_setx
1669 enable_shutdown
1670 enable_spoolsv
1671 enable_start
1672 enable_subst
1673 enable_svchost
1674 enable_systeminfo
1675 enable_taskkill
1676 enable_tasklist
1677 enable_taskmgr
1678 enable_termsv
1679 enable_uninstaller
1680 enable_unlodctr
1681 enable_view
1682 enable_wevtutil
1683 enable_where
1684 enable_whoami
1685 enable_wineboot
1686 enable_winebrowser
1687 enable_winecfg
1688 enable_wineconsole
1689 enable_winedbg
1690 enable_winedevice
1691 enable_winefile
1692 enable_winemenubuilder
1693 enable_winemine
1694 enable_winemsibuilder
1695 enable_winepath
1696 enable_winetest
1697 enable_winhlp32
1698 enable_winmgmt
1699 enable_winver
1700 enable_wmic
1701 enable_wmplayer
1702 enable_wordpad
1703 enable_write
1704 enable_wscript
1705 enable_wuauserv
1706 enable_wusa
1707 enable_xcopy
1708 enable_server
1709 enable_tools
1710 enable_sfnt2fon
1711 enable_widl
1712 enable_winebuild
1713 enable_winedump
1714 enable_winegcc
1715 enable_winemaker
1716 enable_wmc
1717 enable_wrc
1719 ac_precious_vars='build_alias
1720 host_alias
1721 target_alias
1723 CFLAGS
1724 LDFLAGS
1725 LIBS
1726 CPPFLAGS
1728 CXXFLAGS
1730 OBJC
1731 OBJCFLAGS
1732 FAUDIO_PE_CFLAGS
1733 FAUDIO_PE_LIBS
1734 GSM_PE_CFLAGS
1735 GSM_PE_LIBS
1736 JPEG_PE_CFLAGS
1737 JPEG_PE_LIBS
1738 JXR_PE_CFLAGS
1739 JXR_PE_LIBS
1740 LCMS2_PE_CFLAGS
1741 LCMS2_PE_LIBS
1742 LDAP_PE_CFLAGS
1743 LDAP_PE_LIBS
1744 MPG123_PE_CFLAGS
1745 MPG123_PE_LIBS
1746 MUSL_PE_CFLAGS
1747 MUSL_PE_LIBS
1748 PNG_PE_CFLAGS
1749 PNG_PE_LIBS
1750 TIFF_PE_CFLAGS
1751 TIFF_PE_LIBS
1752 VKD3D_PE_CFLAGS
1753 VKD3D_PE_LIBS
1754 XML2_PE_CFLAGS
1755 XML2_PE_LIBS
1756 XSLT_PE_CFLAGS
1757 XSLT_PE_LIBS
1758 ZLIB_PE_CFLAGS
1759 ZLIB_PE_LIBS
1760 ZYDIS_PE_CFLAGS
1761 ZYDIS_PE_LIBS
1762 XMKMF
1764 WAYLAND_CLIENT_CFLAGS
1765 WAYLAND_CLIENT_LIBS
1766 INOTIFY_CFLAGS
1767 INOTIFY_LIBS
1768 DBUS_CFLAGS
1769 DBUS_LIBS
1770 GNUTLS_CFLAGS
1771 GNUTLS_LIBS
1772 SANE_CFLAGS
1773 SANE_LIBS
1774 USB_CFLAGS
1775 USB_LIBS
1776 GPHOTO2_CFLAGS
1777 GPHOTO2_LIBS
1778 GPHOTO2_PORT_CFLAGS
1779 GPHOTO2_PORT_LIBS
1780 FREETYPE_CFLAGS
1781 FREETYPE_LIBS
1782 PULSE_CFLAGS
1783 PULSE_LIBS
1784 GSTREAMER_CFLAGS
1785 GSTREAMER_LIBS
1786 UDEV_CFLAGS
1787 UDEV_LIBS
1788 UNWIND_CFLAGS
1789 UNWIND_LIBS
1790 SDL2_CFLAGS
1791 SDL2_LIBS
1792 CAPI20_CFLAGS
1793 CAPI20_LIBS
1794 CUPS_CFLAGS
1795 CUPS_LIBS
1796 FONTCONFIG_CFLAGS
1797 FONTCONFIG_LIBS
1798 KRB5_CFLAGS
1799 KRB5_LIBS
1800 GSSAPI_CFLAGS
1801 GSSAPI_LIBS
1802 NETAPI_CFLAGS
1803 NETAPI_LIBS'
1806 # Initialize some variables set by options.
1807 ac_init_help=
1808 ac_init_version=false
1809 ac_unrecognized_opts=
1810 ac_unrecognized_sep=
1811 # The variables have the same names as the options, with
1812 # dashes changed to underlines.
1813 cache_file=/dev/null
1814 exec_prefix=NONE
1815 no_create=
1816 no_recursion=
1817 prefix=NONE
1818 program_prefix=NONE
1819 program_suffix=NONE
1820 program_transform_name=s,x,x,
1821 silent=
1822 site=
1823 srcdir=
1824 verbose=
1825 x_includes=NONE
1826 x_libraries=NONE
1828 # Installation directory options.
1829 # These are left unexpanded so users can "make install exec_prefix=/foo"
1830 # and all the variables that are supposed to be based on exec_prefix
1831 # by default will actually change.
1832 # Use braces instead of parens because sh, perl, etc. also accept them.
1833 # (The list follows the same order as the GNU Coding Standards.)
1834 bindir='${exec_prefix}/bin'
1835 sbindir='${exec_prefix}/sbin'
1836 libexecdir='${exec_prefix}/libexec'
1837 datarootdir='${prefix}/share'
1838 datadir='${datarootdir}'
1839 sysconfdir='${prefix}/etc'
1840 sharedstatedir='${prefix}/com'
1841 localstatedir='${prefix}/var'
1842 runstatedir='${localstatedir}/run'
1843 includedir='${prefix}/include'
1844 oldincludedir='/usr/include'
1845 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1846 infodir='${datarootdir}/info'
1847 htmldir='${docdir}'
1848 dvidir='${docdir}'
1849 pdfdir='${docdir}'
1850 psdir='${docdir}'
1851 libdir='${exec_prefix}/lib'
1852 localedir='${datarootdir}/locale'
1853 mandir='${datarootdir}/man'
1855 ac_prev=
1856 ac_dashdash=
1857 for ac_option
1859 # If the previous option needs an argument, assign it.
1860 if test -n "$ac_prev"; then
1861 eval $ac_prev=\$ac_option
1862 ac_prev=
1863 continue
1866 case $ac_option in
1867 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1868 *=) ac_optarg= ;;
1869 *) ac_optarg=yes ;;
1870 esac
1872 case $ac_dashdash$ac_option in
1874 ac_dashdash=yes ;;
1876 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1877 ac_prev=bindir ;;
1878 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1879 bindir=$ac_optarg ;;
1881 -build | --build | --buil | --bui | --bu)
1882 ac_prev=build_alias ;;
1883 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1884 build_alias=$ac_optarg ;;
1886 -cache-file | --cache-file | --cache-fil | --cache-fi \
1887 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1888 ac_prev=cache_file ;;
1889 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1890 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1891 cache_file=$ac_optarg ;;
1893 --config-cache | -C)
1894 cache_file=config.cache ;;
1896 -datadir | --datadir | --datadi | --datad)
1897 ac_prev=datadir ;;
1898 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1899 datadir=$ac_optarg ;;
1901 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1902 | --dataroo | --dataro | --datar)
1903 ac_prev=datarootdir ;;
1904 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1905 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1906 datarootdir=$ac_optarg ;;
1908 -disable-* | --disable-*)
1909 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1910 # Reject names that are not valid shell variable names.
1911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1912 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1913 ac_useropt_orig=$ac_useropt
1914 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1915 case $ac_user_opts in
1917 "enable_$ac_useropt"
1918 "*) ;;
1919 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1920 ac_unrecognized_sep=', ';;
1921 esac
1922 eval enable_$ac_useropt=no ;;
1924 -docdir | --docdir | --docdi | --doc | --do)
1925 ac_prev=docdir ;;
1926 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1927 docdir=$ac_optarg ;;
1929 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1930 ac_prev=dvidir ;;
1931 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1932 dvidir=$ac_optarg ;;
1934 -enable-* | --enable-*)
1935 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1936 # Reject names that are not valid shell variable names.
1937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1938 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1939 ac_useropt_orig=$ac_useropt
1940 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1941 case $ac_user_opts in
1943 "enable_$ac_useropt"
1944 "*) ;;
1945 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1946 ac_unrecognized_sep=', ';;
1947 esac
1948 eval enable_$ac_useropt=\$ac_optarg ;;
1950 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1951 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1952 | --exec | --exe | --ex)
1953 ac_prev=exec_prefix ;;
1954 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1955 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1956 | --exec=* | --exe=* | --ex=*)
1957 exec_prefix=$ac_optarg ;;
1959 -gas | --gas | --ga | --g)
1960 # Obsolete; use --with-gas.
1961 with_gas=yes ;;
1963 -help | --help | --hel | --he | -h)
1964 ac_init_help=long ;;
1965 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1966 ac_init_help=recursive ;;
1967 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1968 ac_init_help=short ;;
1970 -host | --host | --hos | --ho)
1971 ac_prev=host_alias ;;
1972 -host=* | --host=* | --hos=* | --ho=*)
1973 host_alias=$ac_optarg ;;
1975 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1976 ac_prev=htmldir ;;
1977 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1978 | --ht=*)
1979 htmldir=$ac_optarg ;;
1981 -includedir | --includedir | --includedi | --included | --include \
1982 | --includ | --inclu | --incl | --inc)
1983 ac_prev=includedir ;;
1984 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1985 | --includ=* | --inclu=* | --incl=* | --inc=*)
1986 includedir=$ac_optarg ;;
1988 -infodir | --infodir | --infodi | --infod | --info | --inf)
1989 ac_prev=infodir ;;
1990 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1991 infodir=$ac_optarg ;;
1993 -libdir | --libdir | --libdi | --libd)
1994 ac_prev=libdir ;;
1995 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1996 libdir=$ac_optarg ;;
1998 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1999 | --libexe | --libex | --libe)
2000 ac_prev=libexecdir ;;
2001 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2002 | --libexe=* | --libex=* | --libe=*)
2003 libexecdir=$ac_optarg ;;
2005 -localedir | --localedir | --localedi | --localed | --locale)
2006 ac_prev=localedir ;;
2007 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2008 localedir=$ac_optarg ;;
2010 -localstatedir | --localstatedir | --localstatedi | --localstated \
2011 | --localstate | --localstat | --localsta | --localst | --locals)
2012 ac_prev=localstatedir ;;
2013 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2014 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2015 localstatedir=$ac_optarg ;;
2017 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2018 ac_prev=mandir ;;
2019 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2020 mandir=$ac_optarg ;;
2022 -nfp | --nfp | --nf)
2023 # Obsolete; use --without-fp.
2024 with_fp=no ;;
2026 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2027 | --no-cr | --no-c | -n)
2028 no_create=yes ;;
2030 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2031 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2032 no_recursion=yes ;;
2034 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2035 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2036 | --oldin | --oldi | --old | --ol | --o)
2037 ac_prev=oldincludedir ;;
2038 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2039 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2040 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2041 oldincludedir=$ac_optarg ;;
2043 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2044 ac_prev=prefix ;;
2045 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2046 prefix=$ac_optarg ;;
2048 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2049 | --program-pre | --program-pr | --program-p)
2050 ac_prev=program_prefix ;;
2051 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2052 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2053 program_prefix=$ac_optarg ;;
2055 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2056 | --program-suf | --program-su | --program-s)
2057 ac_prev=program_suffix ;;
2058 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2059 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2060 program_suffix=$ac_optarg ;;
2062 -program-transform-name | --program-transform-name \
2063 | --program-transform-nam | --program-transform-na \
2064 | --program-transform-n | --program-transform- \
2065 | --program-transform | --program-transfor \
2066 | --program-transfo | --program-transf \
2067 | --program-trans | --program-tran \
2068 | --progr-tra | --program-tr | --program-t)
2069 ac_prev=program_transform_name ;;
2070 -program-transform-name=* | --program-transform-name=* \
2071 | --program-transform-nam=* | --program-transform-na=* \
2072 | --program-transform-n=* | --program-transform-=* \
2073 | --program-transform=* | --program-transfor=* \
2074 | --program-transfo=* | --program-transf=* \
2075 | --program-trans=* | --program-tran=* \
2076 | --progr-tra=* | --program-tr=* | --program-t=*)
2077 program_transform_name=$ac_optarg ;;
2079 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2080 ac_prev=pdfdir ;;
2081 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2082 pdfdir=$ac_optarg ;;
2084 -psdir | --psdir | --psdi | --psd | --ps)
2085 ac_prev=psdir ;;
2086 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2087 psdir=$ac_optarg ;;
2089 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2090 | -silent | --silent | --silen | --sile | --sil)
2091 silent=yes ;;
2093 -runstatedir | --runstatedir | --runstatedi | --runstated \
2094 | --runstate | --runstat | --runsta | --runst | --runs \
2095 | --run | --ru | --r)
2096 ac_prev=runstatedir ;;
2097 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2098 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2099 | --run=* | --ru=* | --r=*)
2100 runstatedir=$ac_optarg ;;
2102 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2103 ac_prev=sbindir ;;
2104 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2105 | --sbi=* | --sb=*)
2106 sbindir=$ac_optarg ;;
2108 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2109 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2110 | --sharedst | --shareds | --shared | --share | --shar \
2111 | --sha | --sh)
2112 ac_prev=sharedstatedir ;;
2113 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2114 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2115 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2116 | --sha=* | --sh=*)
2117 sharedstatedir=$ac_optarg ;;
2119 -site | --site | --sit)
2120 ac_prev=site ;;
2121 -site=* | --site=* | --sit=*)
2122 site=$ac_optarg ;;
2124 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2125 ac_prev=srcdir ;;
2126 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2127 srcdir=$ac_optarg ;;
2129 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2130 | --syscon | --sysco | --sysc | --sys | --sy)
2131 ac_prev=sysconfdir ;;
2132 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2133 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2134 sysconfdir=$ac_optarg ;;
2136 -target | --target | --targe | --targ | --tar | --ta | --t)
2137 ac_prev=target_alias ;;
2138 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2139 target_alias=$ac_optarg ;;
2141 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2142 verbose=yes ;;
2144 -version | --version | --versio | --versi | --vers | -V)
2145 ac_init_version=: ;;
2147 -with-* | --with-*)
2148 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2149 # Reject names that are not valid shell variable names.
2150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2151 as_fn_error $? "invalid package name: \`$ac_useropt'"
2152 ac_useropt_orig=$ac_useropt
2153 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2154 case $ac_user_opts in
2156 "with_$ac_useropt"
2157 "*) ;;
2158 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2159 ac_unrecognized_sep=', ';;
2160 esac
2161 eval with_$ac_useropt=\$ac_optarg ;;
2163 -without-* | --without-*)
2164 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2165 # Reject names that are not valid shell variable names.
2166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2167 as_fn_error $? "invalid package name: \`$ac_useropt'"
2168 ac_useropt_orig=$ac_useropt
2169 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2170 case $ac_user_opts in
2172 "with_$ac_useropt"
2173 "*) ;;
2174 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2175 ac_unrecognized_sep=', ';;
2176 esac
2177 eval with_$ac_useropt=no ;;
2179 --x)
2180 # Obsolete; use --with-x.
2181 with_x=yes ;;
2183 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2184 | --x-incl | --x-inc | --x-in | --x-i)
2185 ac_prev=x_includes ;;
2186 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2187 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2188 x_includes=$ac_optarg ;;
2190 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2191 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2192 ac_prev=x_libraries ;;
2193 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2194 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2195 x_libraries=$ac_optarg ;;
2197 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2198 Try \`$0 --help' for more information"
2201 *=*)
2202 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2203 # Reject names that are not valid shell variable names.
2204 case $ac_envvar in #(
2205 '' | [0-9]* | *[!_$as_cr_alnum]* )
2206 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2207 esac
2208 eval $ac_envvar=\$ac_optarg
2209 export $ac_envvar ;;
2212 # FIXME: should be removed in autoconf 3.0.
2213 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2214 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2215 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2216 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2219 esac
2220 done
2222 if test -n "$ac_prev"; then
2223 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2224 as_fn_error $? "missing argument to $ac_option"
2227 if test -n "$ac_unrecognized_opts"; then
2228 case $enable_option_checking in
2229 no) ;;
2230 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2231 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2232 esac
2235 # Check all directory arguments for consistency.
2236 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2237 datadir sysconfdir sharedstatedir localstatedir includedir \
2238 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2239 libdir localedir mandir runstatedir
2241 eval ac_val=\$$ac_var
2242 # Remove trailing slashes.
2243 case $ac_val in
2244 */ )
2245 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2246 eval $ac_var=\$ac_val;;
2247 esac
2248 # Be sure to have absolute directory names.
2249 case $ac_val in
2250 [\\/$]* | ?:[\\/]* ) continue;;
2251 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2252 esac
2253 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2254 done
2256 # There might be people who depend on the old broken behavior: `$host'
2257 # used to hold the argument of --host etc.
2258 # FIXME: To remove some day.
2259 build=$build_alias
2260 host=$host_alias
2261 target=$target_alias
2263 # FIXME: To remove some day.
2264 if test "x$host_alias" != x; then
2265 if test "x$build_alias" = x; then
2266 cross_compiling=maybe
2267 elif test "x$build_alias" != "x$host_alias"; then
2268 cross_compiling=yes
2272 ac_tool_prefix=
2273 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2275 test "$silent" = yes && exec 6>/dev/null
2278 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2279 ac_ls_di=`ls -di .` &&
2280 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2281 as_fn_error $? "working directory cannot be determined"
2282 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2283 as_fn_error $? "pwd does not report name of working directory"
2286 # Find the source files, if location was not specified.
2287 if test -z "$srcdir"; then
2288 ac_srcdir_defaulted=yes
2289 # Try the directory containing this script, then the parent directory.
2290 ac_confdir=`$as_dirname -- "$as_myself" ||
2291 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2292 X"$as_myself" : 'X\(//\)[^/]' \| \
2293 X"$as_myself" : 'X\(//\)$' \| \
2294 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2295 printf "%s\n" X"$as_myself" |
2296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2297 s//\1/
2300 /^X\(\/\/\)[^/].*/{
2301 s//\1/
2304 /^X\(\/\/\)$/{
2305 s//\1/
2308 /^X\(\/\).*/{
2309 s//\1/
2312 s/.*/./; q'`
2313 srcdir=$ac_confdir
2314 if test ! -r "$srcdir/$ac_unique_file"; then
2315 srcdir=..
2317 else
2318 ac_srcdir_defaulted=no
2320 if test ! -r "$srcdir/$ac_unique_file"; then
2321 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2322 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2324 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2325 ac_abs_confdir=`(
2326 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2327 pwd)`
2328 # When building in place, set srcdir=.
2329 if test "$ac_abs_confdir" = "$ac_pwd"; then
2330 srcdir=.
2332 # Remove unnecessary trailing slashes from srcdir.
2333 # Double slashes in file names in object file debugging info
2334 # mess up M-x gdb in Emacs.
2335 case $srcdir in
2336 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2337 esac
2338 for ac_var in $ac_precious_vars; do
2339 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2340 eval ac_env_${ac_var}_value=\$${ac_var}
2341 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2342 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2343 done
2346 # Report the --help message.
2348 if test "$ac_init_help" = "long"; then
2349 # Omit some internal or obsolete options to make the list less imposing.
2350 # This message is too long to be a string in the A/UX 3.1 sh.
2351 cat <<_ACEOF
2352 \`configure' configures Wine 8.11 to adapt to many kinds of systems.
2354 Usage: $0 [OPTION]... [VAR=VALUE]...
2356 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2357 VAR=VALUE. See below for descriptions of some of the useful variables.
2359 Defaults for the options are specified in brackets.
2361 Configuration:
2362 -h, --help display this help and exit
2363 --help=short display options specific to this package
2364 --help=recursive display the short help of all the included packages
2365 -V, --version display version information and exit
2366 -q, --quiet, --silent do not print \`checking ...' messages
2367 --cache-file=FILE cache test results in FILE [disabled]
2368 -C, --config-cache alias for \`--cache-file=config.cache'
2369 -n, --no-create do not create output files
2370 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2372 Installation directories:
2373 --prefix=PREFIX install architecture-independent files in PREFIX
2374 [$ac_default_prefix]
2375 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2376 [PREFIX]
2378 By default, \`make install' will install all the files in
2379 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2380 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2381 for instance \`--prefix=\$HOME'.
2383 For better control, use the options below.
2385 Fine tuning of the installation directories:
2386 --bindir=DIR user executables [EPREFIX/bin]
2387 --sbindir=DIR system admin executables [EPREFIX/sbin]
2388 --libexecdir=DIR program executables [EPREFIX/libexec]
2389 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2390 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2391 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2392 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2393 --libdir=DIR object code libraries [EPREFIX/lib]
2394 --includedir=DIR C header files [PREFIX/include]
2395 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2396 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2397 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2398 --infodir=DIR info documentation [DATAROOTDIR/info]
2399 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2400 --mandir=DIR man documentation [DATAROOTDIR/man]
2401 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2402 --htmldir=DIR html documentation [DOCDIR]
2403 --dvidir=DIR dvi documentation [DOCDIR]
2404 --pdfdir=DIR pdf documentation [DOCDIR]
2405 --psdir=DIR ps documentation [DOCDIR]
2406 _ACEOF
2408 cat <<\_ACEOF
2410 X features:
2411 --x-includes=DIR X include files are in DIR
2412 --x-libraries=DIR X library files are in DIR
2414 System types:
2415 --build=BUILD configure for building on BUILD [guessed]
2416 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2417 _ACEOF
2420 if test -n "$ac_init_help"; then
2421 case $ac_init_help in
2422 short | recursive ) echo "Configuration of Wine 8.11:";;
2423 esac
2424 cat <<\_ACEOF
2426 Optional Features:
2427 --disable-option-checking ignore unrecognized --enable/--with options
2428 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2429 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2430 --enable-archs={i386,x86_64,arm,aarch64}
2431 enable multiple architectures for PE compilation
2432 --disable-win16 do not include Win16 support
2433 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2434 binaries)
2435 --disable-tests do not build the regression tests
2436 --enable-build-id include .buildid section in output objects
2437 --enable-maintainer-mode
2438 enable maintainer-specific build rules
2439 --enable-silent-rules use silent build rules (override: "make V=1")
2440 --enable-werror treat compilation warnings as errors
2441 --disable-largefile omit support for large files
2443 Optional Packages:
2444 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2445 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2446 --without-alsa do not use the Alsa sound support
2447 --without-capi do not use CAPI (ISDN support)
2448 --without-coreaudio do not use the CoreAudio sound support
2449 --without-cups do not use CUPS
2450 --without-dbus do not use DBus (dynamic device support)
2451 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2452 --without-fontconfig do not use fontconfig
2453 --without-freetype do not use the FreeType library
2454 --without-gettext do not use gettext
2455 --with-gettextpo use the GetTextPO library to rebuild po files
2456 --without-gphoto do not use gphoto (Digital Camera support)
2457 --without-gnutls do not use GnuTLS (schannel support)
2458 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2459 --without-gstreamer do not use GStreamer (codecs support)
2460 --without-inotify do not use inotify (filesystem change notifications)
2461 --without-krb5 do not use krb5 (Kerberos)
2462 --without-mingw do not use the MinGW cross-compiler
2463 --without-netapi do not use the Samba NetAPI library
2464 --without-opencl do not use OpenCL
2465 --without-opengl do not use OpenGL
2466 --without-osmesa do not use the OSMesa library
2467 --without-oss do not use the OSS sound support
2468 --without-pcap do not use the Packet Capture library
2469 --without-pcsclite do not use PCSC lite
2470 --without-pthread do not use the pthread library
2471 --without-pulse do not use PulseAudio sound support
2472 --without-sane do not use SANE (scanner support)
2473 --without-sdl do not use SDL
2474 --without-udev do not use udev (plug and play support)
2475 --without-unwind do not use the libunwind library (exception
2476 handling)
2477 --without-usb do not use the libusb library
2478 --without-v4l2 do not use v4l2 (video capture)
2479 --without-vulkan do not use Vulkan
2480 --without-wayland do not build the Wayland driver
2481 --without-xcomposite do not use the Xcomposite extension
2482 --without-xcursor do not use the Xcursor extension
2483 --without-xfixes do not use Xfixes for clipboard change notifications
2484 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2485 --without-xinput do not use the Xinput extension
2486 --without-xinput2 do not use the Xinput 2 extension
2487 --without-xrandr do not use Xrandr (multi-monitor support)
2488 --without-xrender do not use the Xrender extension
2489 --without-xshape do not use the Xshape extension
2490 --without-xshm do not use XShm (shared memory extension)
2491 --without-xxf86vm do not use XFree video mode extension
2492 --with-system-dllpath=PATH
2493 load external PE dependencies from colon-separated
2494 path PATH
2495 --with-wine-tools=DIR use Wine tools from directory DIR
2496 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2497 --with-x use the X Window System
2499 Some influential environment variables:
2500 CC C compiler command
2501 CFLAGS C compiler flags
2502 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2503 nonstandard directory <lib dir>
2504 LIBS libraries to pass to the linker, e.g. -l<library>
2505 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2506 you have headers in a nonstandard directory <include dir>
2507 CXX C++ compiler command
2508 CXXFLAGS C++ compiler flags
2509 OBJC Objective C compiler command
2510 OBJCFLAGS Objective C compiler flags
2511 FAUDIO_PE_CFLAGS
2512 C compiler flags for the PE faudio, overriding the bundled
2513 version
2514 FAUDIO_PE_LIBS
2515 Linker flags for the PE faudio, overriding the bundled version
2516 GSM_PE_CFLAGS
2517 C compiler flags for the PE gsm, overriding the bundled version
2518 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2519 JPEG_PE_CFLAGS
2520 C compiler flags for the PE jpeg, overriding the bundled version
2521 JPEG_PE_LIBS
2522 Linker flags for the PE jpeg, overriding the bundled version
2523 JXR_PE_CFLAGS
2524 C compiler flags for the PE jxr, overriding the bundled version
2525 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2526 LCMS2_PE_CFLAGS
2527 C compiler flags for the PE lcms2, overriding the bundled
2528 version
2529 LCMS2_PE_LIBS
2530 Linker flags for the PE lcms2, overriding the bundled version
2531 LDAP_PE_CFLAGS
2532 C compiler flags for the PE ldap, overriding the bundled version
2533 LDAP_PE_LIBS
2534 Linker flags for the PE ldap, overriding the bundled version
2535 MPG123_PE_CFLAGS
2536 C compiler flags for the PE mpg123, overriding the bundled
2537 version
2538 MPG123_PE_LIBS
2539 Linker flags for the PE mpg123, overriding the bundled version
2540 MUSL_PE_CFLAGS
2541 C compiler flags for the PE musl, overriding the bundled version
2542 MUSL_PE_LIBS
2543 Linker flags for the PE musl, overriding the bundled version
2544 PNG_PE_CFLAGS
2545 C compiler flags for the PE png, overriding the bundled version
2546 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2547 TIFF_PE_CFLAGS
2548 C compiler flags for the PE tiff, overriding the bundled version
2549 TIFF_PE_LIBS
2550 Linker flags for the PE tiff, overriding the bundled version
2551 VKD3D_PE_CFLAGS
2552 C compiler flags for the PE vkd3d, overriding the bundled
2553 version
2554 VKD3D_PE_LIBS
2555 Linker flags for the PE vkd3d, overriding the bundled version
2556 XML2_PE_CFLAGS
2557 C compiler flags for the PE xml2, overriding the bundled version
2558 XML2_PE_LIBS
2559 Linker flags for the PE xml2, overriding the bundled version
2560 XSLT_PE_CFLAGS
2561 C compiler flags for the PE xslt, overriding the bundled version
2562 XSLT_PE_LIBS
2563 Linker flags for the PE xslt, overriding the bundled version
2564 ZLIB_PE_CFLAGS
2565 C compiler flags for the PE zlib, overriding the bundled version
2566 ZLIB_PE_LIBS
2567 Linker flags for the PE zlib, overriding the bundled version
2568 ZYDIS_PE_CFLAGS
2569 C compiler flags for the PE zydis, overriding the bundled
2570 version
2571 ZYDIS_PE_LIBS
2572 Linker flags for the PE zydis, overriding the bundled version
2573 XMKMF Path to xmkmf, Makefile generator for X Window System
2574 CPP C preprocessor
2575 WAYLAND_CLIENT_CFLAGS
2576 C compiler flags for wayland-client, overriding pkg-config
2577 WAYLAND_CLIENT_LIBS
2578 Linker flags for wayland-client, overriding pkg-config
2579 INOTIFY_CFLAGS
2580 C compiler flags for libinotify, overriding pkg-config
2581 INOTIFY_LIBS
2582 Linker flags for libinotify, overriding pkg-config
2583 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2584 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2585 GNUTLS_CFLAGS
2586 C compiler flags for gnutls, overriding pkg-config
2587 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2588 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2589 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2590 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2591 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2592 GPHOTO2_CFLAGS
2593 C compiler flags for libgphoto2, overriding pkg-config
2594 GPHOTO2_LIBS
2595 Linker flags for libgphoto2, overriding pkg-config
2596 GPHOTO2_PORT_CFLAGS
2597 C compiler flags for libgphoto2_port, overriding pkg-config
2598 GPHOTO2_PORT_LIBS
2599 Linker flags for libgphoto2_port, overriding pkg-config
2600 FREETYPE_CFLAGS
2601 C compiler flags for freetype2, overriding pkg-config
2602 FREETYPE_LIBS
2603 Linker flags for freetype2, overriding pkg-config
2604 PULSE_CFLAGS
2605 C compiler flags for libpulse, overriding pkg-config
2606 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2607 GSTREAMER_CFLAGS
2608 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2609 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2610 GSTREAMER_LIBS
2611 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2612 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2613 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2614 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2615 UNWIND_CFLAGS
2616 C compiler flags for libunwind, overriding pkg-config
2617 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2618 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2619 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2620 CAPI20_CFLAGS
2621 C compiler flags for capi20, overriding pkg-config
2622 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2623 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2624 CUPS_LIBS Linker flags for cups, overriding pkg-config
2625 FONTCONFIG_CFLAGS
2626 C compiler flags for fontconfig, overriding pkg-config
2627 FONTCONFIG_LIBS
2628 Linker flags for fontconfig, overriding pkg-config
2629 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2630 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2631 GSSAPI_CFLAGS
2632 C compiler flags for krb5-gssapi, overriding pkg-config
2633 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2634 NETAPI_CFLAGS
2635 C compiler flags for netapi, overriding pkg-config
2636 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2638 Use these variables to override the choices made by `configure' or to help
2639 it to find libraries and programs with nonstandard names/locations.
2641 Report bugs to <wine-devel@winehq.org>.
2642 Wine home page: <https://www.winehq.org>.
2643 _ACEOF
2644 ac_status=$?
2647 if test "$ac_init_help" = "recursive"; then
2648 # If there are subdirs, report their specific --help.
2649 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2650 test -d "$ac_dir" ||
2651 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2652 continue
2653 ac_builddir=.
2655 case "$ac_dir" in
2656 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2658 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2659 # A ".." for each directory in $ac_dir_suffix.
2660 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2661 case $ac_top_builddir_sub in
2662 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2663 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2664 esac ;;
2665 esac
2666 ac_abs_top_builddir=$ac_pwd
2667 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2668 # for backward compatibility:
2669 ac_top_builddir=$ac_top_build_prefix
2671 case $srcdir in
2672 .) # We are building in place.
2673 ac_srcdir=.
2674 ac_top_srcdir=$ac_top_builddir_sub
2675 ac_abs_top_srcdir=$ac_pwd ;;
2676 [\\/]* | ?:[\\/]* ) # Absolute name.
2677 ac_srcdir=$srcdir$ac_dir_suffix;
2678 ac_top_srcdir=$srcdir
2679 ac_abs_top_srcdir=$srcdir ;;
2680 *) # Relative name.
2681 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2682 ac_top_srcdir=$ac_top_build_prefix$srcdir
2683 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2684 esac
2685 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2687 cd "$ac_dir" || { ac_status=$?; continue; }
2688 # Check for configure.gnu first; this name is used for a wrapper for
2689 # Metaconfig's "Configure" on case-insensitive file systems.
2690 if test -f "$ac_srcdir/configure.gnu"; then
2691 echo &&
2692 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2693 elif test -f "$ac_srcdir/configure"; then
2694 echo &&
2695 $SHELL "$ac_srcdir/configure" --help=recursive
2696 else
2697 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2698 fi || ac_status=$?
2699 cd "$ac_pwd" || { ac_status=$?; break; }
2700 done
2703 test -n "$ac_init_help" && exit $ac_status
2704 if $ac_init_version; then
2705 cat <<\_ACEOF
2706 Wine configure 8.11
2707 generated by GNU Autoconf 2.71
2709 Copyright (C) 2021 Free Software Foundation, Inc.
2710 This configure script is free software; the Free Software Foundation
2711 gives unlimited permission to copy, distribute and modify it.
2712 _ACEOF
2713 exit
2716 ## ------------------------ ##
2717 ## Autoconf initialization. ##
2718 ## ------------------------ ##
2720 # ac_fn_c_try_compile LINENO
2721 # --------------------------
2722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2723 ac_fn_c_try_compile ()
2725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2726 rm -f conftest.$ac_objext conftest.beam
2727 if { { ac_try="$ac_compile"
2728 case "(($ac_try" in
2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2731 esac
2732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2733 printf "%s\n" "$ac_try_echo"; } >&5
2734 (eval "$ac_compile") 2>conftest.err
2735 ac_status=$?
2736 if test -s conftest.err; then
2737 grep -v '^ *+' conftest.err >conftest.er1
2738 cat conftest.er1 >&5
2739 mv -f conftest.er1 conftest.err
2741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2742 test $ac_status = 0; } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext
2746 then :
2747 ac_retval=0
2748 else $as_nop
2749 printf "%s\n" "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 ac_retval=1
2754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2755 as_fn_set_status $ac_retval
2757 } # ac_fn_c_try_compile
2759 # ac_fn_cxx_try_compile LINENO
2760 # ----------------------------
2761 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2762 ac_fn_cxx_try_compile ()
2764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2765 rm -f conftest.$ac_objext conftest.beam
2766 if { { ac_try="$ac_compile"
2767 case "(($ac_try" in
2768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2770 esac
2771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2772 printf "%s\n" "$ac_try_echo"; } >&5
2773 (eval "$ac_compile") 2>conftest.err
2774 ac_status=$?
2775 if test -s conftest.err; then
2776 grep -v '^ *+' conftest.err >conftest.er1
2777 cat conftest.er1 >&5
2778 mv -f conftest.er1 conftest.err
2780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2781 test $ac_status = 0; } && {
2782 test -z "$ac_cxx_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest.$ac_objext
2785 then :
2786 ac_retval=0
2787 else $as_nop
2788 printf "%s\n" "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.$ac_ext >&5
2791 ac_retval=1
2793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2794 as_fn_set_status $ac_retval
2796 } # ac_fn_cxx_try_compile
2798 # ac_fn_c_try_link LINENO
2799 # -----------------------
2800 # Try to link conftest.$ac_ext, and return whether this succeeded.
2801 ac_fn_c_try_link ()
2803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2804 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2805 if { { ac_try="$ac_link"
2806 case "(($ac_try" in
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2809 esac
2810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2811 printf "%s\n" "$ac_try_echo"; } >&5
2812 (eval "$ac_link") 2>conftest.err
2813 ac_status=$?
2814 if test -s conftest.err; then
2815 grep -v '^ *+' conftest.err >conftest.er1
2816 cat conftest.er1 >&5
2817 mv -f conftest.er1 conftest.err
2819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2820 test $ac_status = 0; } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest$ac_exeext && {
2824 test "$cross_compiling" = yes ||
2825 test -x conftest$ac_exeext
2827 then :
2828 ac_retval=0
2829 else $as_nop
2830 printf "%s\n" "$as_me: failed program was:" >&5
2831 sed 's/^/| /' conftest.$ac_ext >&5
2833 ac_retval=1
2835 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2836 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2837 # interfere with the next link command; also delete a directory that is
2838 # left behind by Apple's compiler. We do this before executing the actions.
2839 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2841 as_fn_set_status $ac_retval
2843 } # ac_fn_c_try_link
2845 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2846 # -------------------------------------------------------
2847 # Tests whether HEADER exists and can be compiled using the include files in
2848 # INCLUDES, setting the cache variable VAR accordingly.
2849 ac_fn_c_check_header_compile ()
2851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2853 printf %s "checking for $2... " >&6; }
2854 if eval test \${$3+y}
2855 then :
2856 printf %s "(cached) " >&6
2857 else $as_nop
2858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2859 /* end confdefs.h. */
2861 #include <$2>
2862 _ACEOF
2863 if ac_fn_c_try_compile "$LINENO"
2864 then :
2865 eval "$3=yes"
2866 else $as_nop
2867 eval "$3=no"
2869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2871 eval ac_res=\$$3
2872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2873 printf "%s\n" "$ac_res" >&6; }
2874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2876 } # ac_fn_c_check_header_compile
2878 # ac_fn_objc_try_compile LINENO
2879 # -----------------------------
2880 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2881 ac_fn_objc_try_compile ()
2883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2884 rm -f conftest.$ac_objext conftest.beam
2885 if { { ac_try="$ac_compile"
2886 case "(($ac_try" in
2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2889 esac
2890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2891 printf "%s\n" "$ac_try_echo"; } >&5
2892 (eval "$ac_compile") 2>conftest.err
2893 ac_status=$?
2894 if test -s conftest.err; then
2895 grep -v '^ *+' conftest.err >conftest.er1
2896 cat conftest.er1 >&5
2897 mv -f conftest.er1 conftest.err
2899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2900 test $ac_status = 0; } && {
2901 test -z "$ac_objc_werror_flag" ||
2902 test ! -s conftest.err
2903 } && test -s conftest.$ac_objext
2904 then :
2905 ac_retval=0
2906 else $as_nop
2907 printf "%s\n" "$as_me: failed program was:" >&5
2908 sed 's/^/| /' conftest.$ac_ext >&5
2910 ac_retval=1
2912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2913 as_fn_set_status $ac_retval
2915 } # ac_fn_objc_try_compile
2917 # ac_fn_c_check_func LINENO FUNC VAR
2918 # ----------------------------------
2919 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2920 ac_fn_c_check_func ()
2922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2924 printf %s "checking for $2... " >&6; }
2925 if eval test \${$3+y}
2926 then :
2927 printf %s "(cached) " >&6
2928 else $as_nop
2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2931 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2933 #define $2 innocuous_$2
2935 /* System header to define __stub macros and hopefully few prototypes,
2936 which can conflict with char $2 (); below. */
2938 #include <limits.h>
2939 #undef $2
2941 /* Override any GCC internal prototype to avoid an error.
2942 Use char because int might match the return type of a GCC
2943 builtin and then its argument prototype would still apply. */
2944 #ifdef __cplusplus
2945 extern "C"
2946 #endif
2947 char $2 ();
2948 /* The GNU C library defines this for functions which it implements
2949 to always fail with ENOSYS. Some functions are actually named
2950 something starting with __ and the normal name is an alias. */
2951 #if defined __stub_$2 || defined __stub___$2
2952 choke me
2953 #endif
2956 main (void)
2958 return $2 ();
2960 return 0;
2962 _ACEOF
2963 if ac_fn_c_try_link "$LINENO"
2964 then :
2965 eval "$3=yes"
2966 else $as_nop
2967 eval "$3=no"
2969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2970 conftest$ac_exeext conftest.$ac_ext
2972 eval ac_res=\$$3
2973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2974 printf "%s\n" "$ac_res" >&6; }
2975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2977 } # ac_fn_c_check_func
2979 # ac_fn_c_try_cpp LINENO
2980 # ----------------------
2981 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2982 ac_fn_c_try_cpp ()
2984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2985 if { { ac_try="$ac_cpp conftest.$ac_ext"
2986 case "(($ac_try" in
2987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2989 esac
2990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2991 printf "%s\n" "$ac_try_echo"; } >&5
2992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2993 ac_status=$?
2994 if test -s conftest.err; then
2995 grep -v '^ *+' conftest.err >conftest.er1
2996 cat conftest.er1 >&5
2997 mv -f conftest.er1 conftest.err
2999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3000 test $ac_status = 0; } > conftest.i && {
3001 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3002 test ! -s conftest.err
3004 then :
3005 ac_retval=0
3006 else $as_nop
3007 printf "%s\n" "$as_me: failed program was:" >&5
3008 sed 's/^/| /' conftest.$ac_ext >&5
3010 ac_retval=1
3012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3013 as_fn_set_status $ac_retval
3015 } # ac_fn_c_try_cpp
3017 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3018 # ----------------------------------------------------
3019 # Tries to find if the field MEMBER exists in type AGGR, after including
3020 # INCLUDES, setting cache variable VAR accordingly.
3021 ac_fn_c_check_member ()
3023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3025 printf %s "checking for $2.$3... " >&6; }
3026 if eval test \${$4+y}
3027 then :
3028 printf %s "(cached) " >&6
3029 else $as_nop
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3034 main (void)
3036 static $2 ac_aggr;
3037 if (ac_aggr.$3)
3038 return 0;
3040 return 0;
3042 _ACEOF
3043 if ac_fn_c_try_compile "$LINENO"
3044 then :
3045 eval "$4=yes"
3046 else $as_nop
3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048 /* end confdefs.h. */
3051 main (void)
3053 static $2 ac_aggr;
3054 if (sizeof ac_aggr.$3)
3055 return 0;
3057 return 0;
3059 _ACEOF
3060 if ac_fn_c_try_compile "$LINENO"
3061 then :
3062 eval "$4=yes"
3063 else $as_nop
3064 eval "$4=no"
3066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3070 eval ac_res=\$$4
3071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3072 printf "%s\n" "$ac_res" >&6; }
3073 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3075 } # ac_fn_c_check_member
3077 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3078 # -------------------------------------------
3079 # Tests whether TYPE exists after having included INCLUDES, setting cache
3080 # variable VAR accordingly.
3081 ac_fn_c_check_type ()
3083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3085 printf %s "checking for $2... " >&6; }
3086 if eval test \${$3+y}
3087 then :
3088 printf %s "(cached) " >&6
3089 else $as_nop
3090 eval "$3=no"
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3095 main (void)
3097 if (sizeof ($2))
3098 return 0;
3100 return 0;
3102 _ACEOF
3103 if ac_fn_c_try_compile "$LINENO"
3104 then :
3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h. */
3109 main (void)
3111 if (sizeof (($2)))
3112 return 0;
3114 return 0;
3116 _ACEOF
3117 if ac_fn_c_try_compile "$LINENO"
3118 then :
3120 else $as_nop
3121 eval "$3=yes"
3123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3127 eval ac_res=\$$3
3128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3129 printf "%s\n" "$ac_res" >&6; }
3130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3132 } # ac_fn_c_check_type
3133 ac_configure_args_raw=
3134 for ac_arg
3136 case $ac_arg in
3137 *\'*)
3138 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3139 esac
3140 as_fn_append ac_configure_args_raw " '$ac_arg'"
3141 done
3143 case $ac_configure_args_raw in
3144 *$as_nl*)
3145 ac_safe_unquote= ;;
3147 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3148 ac_unsafe_a="$ac_unsafe_z#~"
3149 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3150 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3151 esac
3153 cat >config.log <<_ACEOF
3154 This file contains any messages produced by compilers while
3155 running configure, to aid debugging if configure makes a mistake.
3157 It was created by Wine $as_me 8.11, which was
3158 generated by GNU Autoconf 2.71. Invocation command line was
3160 $ $0$ac_configure_args_raw
3162 _ACEOF
3163 exec 5>>config.log
3165 cat <<_ASUNAME
3166 ## --------- ##
3167 ## Platform. ##
3168 ## --------- ##
3170 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3171 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3172 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3173 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3174 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3176 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3177 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3179 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3180 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3181 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3182 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3183 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3184 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3185 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3187 _ASUNAME
3189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190 for as_dir in $PATH
3192 IFS=$as_save_IFS
3193 case $as_dir in #(((
3194 '') as_dir=./ ;;
3195 */) ;;
3196 *) as_dir=$as_dir/ ;;
3197 esac
3198 printf "%s\n" "PATH: $as_dir"
3199 done
3200 IFS=$as_save_IFS
3202 } >&5
3204 cat >&5 <<_ACEOF
3207 ## ----------- ##
3208 ## Core tests. ##
3209 ## ----------- ##
3211 _ACEOF
3214 # Keep a trace of the command line.
3215 # Strip out --no-create and --no-recursion so they do not pile up.
3216 # Strip out --silent because we don't want to record it for future runs.
3217 # Also quote any args containing shell meta-characters.
3218 # Make two passes to allow for proper duplicate-argument suppression.
3219 ac_configure_args=
3220 ac_configure_args0=
3221 ac_configure_args1=
3222 ac_must_keep_next=false
3223 for ac_pass in 1 2
3225 for ac_arg
3227 case $ac_arg in
3228 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3229 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3230 | -silent | --silent | --silen | --sile | --sil)
3231 continue ;;
3232 *\'*)
3233 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3234 esac
3235 case $ac_pass in
3236 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3238 as_fn_append ac_configure_args1 " '$ac_arg'"
3239 if test $ac_must_keep_next = true; then
3240 ac_must_keep_next=false # Got value, back to normal.
3241 else
3242 case $ac_arg in
3243 *=* | --config-cache | -C | -disable-* | --disable-* \
3244 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3245 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3246 | -with-* | --with-* | -without-* | --without-* | --x)
3247 case "$ac_configure_args0 " in
3248 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3249 esac
3251 -* ) ac_must_keep_next=true ;;
3252 esac
3254 as_fn_append ac_configure_args " '$ac_arg'"
3256 esac
3257 done
3258 done
3259 { ac_configure_args0=; unset ac_configure_args0;}
3260 { ac_configure_args1=; unset ac_configure_args1;}
3262 # When interrupted or exit'd, cleanup temporary files, and complete
3263 # config.log. We remove comments because anyway the quotes in there
3264 # would cause problems or look ugly.
3265 # WARNING: Use '\'' to represent an apostrophe within the trap.
3266 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3267 trap 'exit_status=$?
3268 # Sanitize IFS.
3269 IFS=" "" $as_nl"
3270 # Save into config.log some information that might help in debugging.
3272 echo
3274 printf "%s\n" "## ---------------- ##
3275 ## Cache variables. ##
3276 ## ---------------- ##"
3277 echo
3278 # The following way of writing the cache mishandles newlines in values,
3280 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3281 eval ac_val=\$$ac_var
3282 case $ac_val in #(
3283 *${as_nl}*)
3284 case $ac_var in #(
3285 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3286 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3287 esac
3288 case $ac_var in #(
3289 _ | IFS | as_nl) ;; #(
3290 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3291 *) { eval $ac_var=; unset $ac_var;} ;;
3292 esac ;;
3293 esac
3294 done
3295 (set) 2>&1 |
3296 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3297 *${as_nl}ac_space=\ *)
3298 sed -n \
3299 "s/'\''/'\''\\\\'\'''\''/g;
3300 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3301 ;; #(
3303 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3305 esac |
3306 sort
3308 echo
3310 printf "%s\n" "## ----------------- ##
3311 ## Output variables. ##
3312 ## ----------------- ##"
3313 echo
3314 for ac_var in $ac_subst_vars
3316 eval ac_val=\$$ac_var
3317 case $ac_val in
3318 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3319 esac
3320 printf "%s\n" "$ac_var='\''$ac_val'\''"
3321 done | sort
3322 echo
3324 if test -n "$ac_subst_files"; then
3325 printf "%s\n" "## ------------------- ##
3326 ## File substitutions. ##
3327 ## ------------------- ##"
3328 echo
3329 for ac_var in $ac_subst_files
3331 eval ac_val=\$$ac_var
3332 case $ac_val in
3333 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3334 esac
3335 printf "%s\n" "$ac_var='\''$ac_val'\''"
3336 done | sort
3337 echo
3340 if test -s confdefs.h; then
3341 printf "%s\n" "## ----------- ##
3342 ## confdefs.h. ##
3343 ## ----------- ##"
3344 echo
3345 cat confdefs.h
3346 echo
3348 test "$ac_signal" != 0 &&
3349 printf "%s\n" "$as_me: caught signal $ac_signal"
3350 printf "%s\n" "$as_me: exit $exit_status"
3351 } >&5
3352 rm -f core *.core core.conftest.* &&
3353 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3354 exit $exit_status
3356 for ac_signal in 1 2 13 15; do
3357 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3358 done
3359 ac_signal=0
3361 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3362 rm -f -r conftest* confdefs.h
3364 printf "%s\n" "/* confdefs.h */" > confdefs.h
3366 # Predefined preprocessor variables.
3368 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3370 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3372 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3374 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3376 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3378 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3381 # Let the site file select an alternate cache file if it wants to.
3382 # Prefer an explicitly selected file to automatically selected ones.
3383 if test -n "$CONFIG_SITE"; then
3384 ac_site_files="$CONFIG_SITE"
3385 elif test "x$prefix" != xNONE; then
3386 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3387 else
3388 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3391 for ac_site_file in $ac_site_files
3393 case $ac_site_file in #(
3394 */*) :
3395 ;; #(
3396 *) :
3397 ac_site_file=./$ac_site_file ;;
3398 esac
3399 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3401 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3402 sed 's/^/| /' "$ac_site_file" >&5
3403 . "$ac_site_file" \
3404 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3405 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3406 as_fn_error $? "failed to load site script $ac_site_file
3407 See \`config.log' for more details" "$LINENO" 5; }
3409 done
3411 if test -r "$cache_file"; then
3412 # Some versions of bash will fail to source /dev/null (special files
3413 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3414 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3416 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3417 case $cache_file in
3418 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3419 *) . "./$cache_file";;
3420 esac
3422 else
3423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3424 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3425 >$cache_file
3428 # Test code for whether the C compiler supports C89 (global declarations)
3429 ac_c_conftest_c89_globals='
3430 /* Does the compiler advertise C89 conformance?
3431 Do not test the value of __STDC__, because some compilers set it to 0
3432 while being otherwise adequately conformant. */
3433 #if !defined __STDC__
3434 # error "Compiler does not advertise C89 conformance"
3435 #endif
3437 #include <stddef.h>
3438 #include <stdarg.h>
3439 struct stat;
3440 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3441 struct buf { int x; };
3442 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3443 static char *e (p, i)
3444 char **p;
3445 int i;
3447 return p[i];
3449 static char *f (char * (*g) (char **, int), char **p, ...)
3451 char *s;
3452 va_list v;
3453 va_start (v,p);
3454 s = g (p, va_arg (v,int));
3455 va_end (v);
3456 return s;
3459 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3460 function prototypes and stuff, but not \xHH hex character constants.
3461 These do not provoke an error unfortunately, instead are silently treated
3462 as an "x". The following induces an error, until -std is added to get
3463 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3464 array size at least. It is necessary to write \x00 == 0 to get something
3465 that is true only with -std. */
3466 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3468 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3469 inside strings and character constants. */
3470 #define FOO(x) '\''x'\''
3471 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3473 int test (int i, double x);
3474 struct s1 {int (*f) (int a);};
3475 struct s2 {int (*f) (double a);};
3476 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3477 int, int);'
3479 # Test code for whether the C compiler supports C89 (body of main).
3480 ac_c_conftest_c89_main='
3481 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3484 # Test code for whether the C compiler supports C99 (global declarations)
3485 ac_c_conftest_c99_globals='
3486 // Does the compiler advertise C99 conformance?
3487 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3488 # error "Compiler does not advertise C99 conformance"
3489 #endif
3491 #include <stdbool.h>
3492 extern int puts (const char *);
3493 extern int printf (const char *, ...);
3494 extern int dprintf (int, const char *, ...);
3495 extern void *malloc (size_t);
3497 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3498 // dprintf is used instead of fprintf to avoid needing to declare
3499 // FILE and stderr.
3500 #define debug(...) dprintf (2, __VA_ARGS__)
3501 #define showlist(...) puts (#__VA_ARGS__)
3502 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3503 static void
3504 test_varargs_macros (void)
3506 int x = 1234;
3507 int y = 5678;
3508 debug ("Flag");
3509 debug ("X = %d\n", x);
3510 showlist (The first, second, and third items.);
3511 report (x>y, "x is %d but y is %d", x, y);
3514 // Check long long types.
3515 #define BIG64 18446744073709551615ull
3516 #define BIG32 4294967295ul
3517 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3518 #if !BIG_OK
3519 #error "your preprocessor is broken"
3520 #endif
3521 #if BIG_OK
3522 #else
3523 #error "your preprocessor is broken"
3524 #endif
3525 static long long int bignum = -9223372036854775807LL;
3526 static unsigned long long int ubignum = BIG64;
3528 struct incomplete_array
3530 int datasize;
3531 double data[];
3534 struct named_init {
3535 int number;
3536 const wchar_t *name;
3537 double average;
3540 typedef const char *ccp;
3542 static inline int
3543 test_restrict (ccp restrict text)
3545 // See if C++-style comments work.
3546 // Iterate through items via the restricted pointer.
3547 // Also check for declarations in for loops.
3548 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3549 continue;
3550 return 0;
3553 // Check varargs and va_copy.
3554 static bool
3555 test_varargs (const char *format, ...)
3557 va_list args;
3558 va_start (args, format);
3559 va_list args_copy;
3560 va_copy (args_copy, args);
3562 const char *str = "";
3563 int number = 0;
3564 float fnumber = 0;
3566 while (*format)
3568 switch (*format++)
3570 case '\''s'\'': // string
3571 str = va_arg (args_copy, const char *);
3572 break;
3573 case '\''d'\'': // int
3574 number = va_arg (args_copy, int);
3575 break;
3576 case '\''f'\'': // float
3577 fnumber = va_arg (args_copy, double);
3578 break;
3579 default:
3580 break;
3583 va_end (args_copy);
3584 va_end (args);
3586 return *str && number && fnumber;
3590 # Test code for whether the C compiler supports C99 (body of main).
3591 ac_c_conftest_c99_main='
3592 // Check bool.
3593 _Bool success = false;
3594 success |= (argc != 0);
3596 // Check restrict.
3597 if (test_restrict ("String literal") == 0)
3598 success = true;
3599 char *restrict newvar = "Another string";
3601 // Check varargs.
3602 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3603 test_varargs_macros ();
3605 // Check flexible array members.
3606 struct incomplete_array *ia =
3607 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3608 ia->datasize = 10;
3609 for (int i = 0; i < ia->datasize; ++i)
3610 ia->data[i] = i * 1.234;
3612 // Check named initializers.
3613 struct named_init ni = {
3614 .number = 34,
3615 .name = L"Test wide string",
3616 .average = 543.34343,
3619 ni.number = 58;
3621 int dynamic_array[ni.number];
3622 dynamic_array[0] = argv[0][0];
3623 dynamic_array[ni.number - 1] = 543;
3625 // work around unused variable warnings
3626 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3627 || dynamic_array[ni.number - 1] != 543);
3630 # Test code for whether the C compiler supports C11 (global declarations)
3631 ac_c_conftest_c11_globals='
3632 // Does the compiler advertise C11 conformance?
3633 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3634 # error "Compiler does not advertise C11 conformance"
3635 #endif
3637 // Check _Alignas.
3638 char _Alignas (double) aligned_as_double;
3639 char _Alignas (0) no_special_alignment;
3640 extern char aligned_as_int;
3641 char _Alignas (0) _Alignas (int) aligned_as_int;
3643 // Check _Alignof.
3644 enum
3646 int_alignment = _Alignof (int),
3647 int_array_alignment = _Alignof (int[100]),
3648 char_alignment = _Alignof (char)
3650 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3652 // Check _Noreturn.
3653 int _Noreturn does_not_return (void) { for (;;) continue; }
3655 // Check _Static_assert.
3656 struct test_static_assert
3658 int x;
3659 _Static_assert (sizeof (int) <= sizeof (long int),
3660 "_Static_assert does not work in struct");
3661 long int y;
3664 // Check UTF-8 literals.
3665 #define u8 syntax error!
3666 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3668 // Check duplicate typedefs.
3669 typedef long *long_ptr;
3670 typedef long int *long_ptr;
3671 typedef long_ptr long_ptr;
3673 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3674 struct anonymous
3676 union {
3677 struct { int i; int j; };
3678 struct { int k; long int l; } w;
3680 int m;
3681 } v1;
3684 # Test code for whether the C compiler supports C11 (body of main).
3685 ac_c_conftest_c11_main='
3686 _Static_assert ((offsetof (struct anonymous, i)
3687 == offsetof (struct anonymous, w.k)),
3688 "Anonymous union alignment botch");
3689 v1.i = 2;
3690 v1.w.k = 5;
3691 ok |= v1.i != 5;
3694 # Test code for whether the C compiler supports C11 (complete).
3695 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3696 ${ac_c_conftest_c99_globals}
3697 ${ac_c_conftest_c11_globals}
3700 main (int argc, char **argv)
3702 int ok = 0;
3703 ${ac_c_conftest_c89_main}
3704 ${ac_c_conftest_c99_main}
3705 ${ac_c_conftest_c11_main}
3706 return ok;
3710 # Test code for whether the C compiler supports C99 (complete).
3711 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3712 ${ac_c_conftest_c99_globals}
3715 main (int argc, char **argv)
3717 int ok = 0;
3718 ${ac_c_conftest_c89_main}
3719 ${ac_c_conftest_c99_main}
3720 return ok;
3724 # Test code for whether the C compiler supports C89 (complete).
3725 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3728 main (int argc, char **argv)
3730 int ok = 0;
3731 ${ac_c_conftest_c89_main}
3732 return ok;
3736 # Test code for whether the C++ compiler supports C++98 (global declarations)
3737 ac_cxx_conftest_cxx98_globals='
3738 // Does the compiler advertise C++98 conformance?
3739 #if !defined __cplusplus || __cplusplus < 199711L
3740 # error "Compiler does not advertise C++98 conformance"
3741 #endif
3743 // These inclusions are to reject old compilers that
3744 // lack the unsuffixed header files.
3745 #include <cstdlib>
3746 #include <exception>
3748 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3749 extern void assert (int);
3750 namespace std {
3751 extern int strcmp (const char *, const char *);
3754 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3755 using std::exception;
3756 using std::strcmp;
3758 namespace {
3760 void test_exception_syntax()
3762 try {
3763 throw "test";
3764 } catch (const char *s) {
3765 // Extra parentheses suppress a warning when building autoconf itself,
3766 // due to lint rules shared with more typical C programs.
3767 assert (!(strcmp) (s, "test"));
3771 template <typename T> struct test_template
3773 T const val;
3774 explicit test_template(T t) : val(t) {}
3775 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3778 } // anonymous namespace
3781 # Test code for whether the C++ compiler supports C++98 (body of main)
3782 ac_cxx_conftest_cxx98_main='
3783 assert (argc);
3784 assert (! argv[0]);
3786 test_exception_syntax ();
3787 test_template<double> tt (2.0);
3788 assert (tt.add (4) == 6.0);
3789 assert (true && !false);
3793 # Test code for whether the C++ compiler supports C++11 (global declarations)
3794 ac_cxx_conftest_cxx11_globals='
3795 // Does the compiler advertise C++ 2011 conformance?
3796 #if !defined __cplusplus || __cplusplus < 201103L
3797 # error "Compiler does not advertise C++11 conformance"
3798 #endif
3800 namespace cxx11test
3802 constexpr int get_val() { return 20; }
3804 struct testinit
3806 int i;
3807 double d;
3810 class delegate
3812 public:
3813 delegate(int n) : n(n) {}
3814 delegate(): delegate(2354) {}
3816 virtual int getval() { return this->n; };
3817 protected:
3818 int n;
3821 class overridden : public delegate
3823 public:
3824 overridden(int n): delegate(n) {}
3825 virtual int getval() override final { return this->n * 2; }
3828 class nocopy
3830 public:
3831 nocopy(int i): i(i) {}
3832 nocopy() = default;
3833 nocopy(const nocopy&) = delete;
3834 nocopy & operator=(const nocopy&) = delete;
3835 private:
3836 int i;
3839 // for testing lambda expressions
3840 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3842 return f(v);
3845 // for testing variadic templates and trailing return types
3846 template <typename V> auto sum(V first) -> V
3848 return first;
3850 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3852 return first + sum(rest...);
3857 # Test code for whether the C++ compiler supports C++11 (body of main)
3858 ac_cxx_conftest_cxx11_main='
3860 // Test auto and decltype
3861 auto a1 = 6538;
3862 auto a2 = 48573953.4;
3863 auto a3 = "String literal";
3865 int total = 0;
3866 for (auto i = a3; *i; ++i) { total += *i; }
3868 decltype(a2) a4 = 34895.034;
3871 // Test constexpr
3872 short sa[cxx11test::get_val()] = { 0 };
3875 // Test initializer lists
3876 cxx11test::testinit il = { 4323, 435234.23544 };
3879 // Test range-based for
3880 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3881 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3882 for (auto &x : array) { x += 23; }
3885 // Test lambda expressions
3886 using cxx11test::eval;
3887 assert (eval ([](int x) { return x*2; }, 21) == 42);
3888 double d = 2.0;
3889 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3890 assert (d == 5.0);
3891 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3892 assert (d == 5.0);
3895 // Test use of variadic templates
3896 using cxx11test::sum;
3897 auto a = sum(1);
3898 auto b = sum(1, 2);
3899 auto c = sum(1.0, 2.0, 3.0);
3902 // Test constructor delegation
3903 cxx11test::delegate d1;
3904 cxx11test::delegate d2();
3905 cxx11test::delegate d3(45);
3908 // Test override and final
3909 cxx11test::overridden o1(55464);
3912 // Test nullptr
3913 char *c = nullptr;
3916 // Test template brackets
3917 test_template<::test_template<int>> v(test_template<int>(12));
3920 // Unicode literals
3921 char const *utf8 = u8"UTF-8 string \u2500";
3922 char16_t const *utf16 = u"UTF-8 string \u2500";
3923 char32_t const *utf32 = U"UTF-32 string \u2500";
3927 # Test code for whether the C compiler supports C++11 (complete).
3928 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3929 ${ac_cxx_conftest_cxx11_globals}
3932 main (int argc, char **argv)
3934 int ok = 0;
3935 ${ac_cxx_conftest_cxx98_main}
3936 ${ac_cxx_conftest_cxx11_main}
3937 return ok;
3941 # Test code for whether the C compiler supports C++98 (complete).
3942 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3944 main (int argc, char **argv)
3946 int ok = 0;
3947 ${ac_cxx_conftest_cxx98_main}
3948 return ok;
3952 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3953 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3954 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3955 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3956 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3957 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3958 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3959 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3960 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3962 # Auxiliary files required by this configure script.
3963 ac_aux_files="config.guess config.sub"
3965 # Locations in which to look for auxiliary files.
3966 ac_aux_dir_candidates="${srcdir}/tools"
3968 # Search for a directory containing all of the required auxiliary files,
3969 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3970 # If we don't find one directory that contains all the files we need,
3971 # we report the set of missing files from the *first* directory in
3972 # $ac_aux_dir_candidates and give up.
3973 ac_missing_aux_files=""
3974 ac_first_candidate=:
3975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977 as_found=false
3978 for as_dir in $ac_aux_dir_candidates
3980 IFS=$as_save_IFS
3981 case $as_dir in #(((
3982 '') as_dir=./ ;;
3983 */) ;;
3984 *) as_dir=$as_dir/ ;;
3985 esac
3986 as_found=:
3988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3989 ac_aux_dir_found=yes
3990 ac_install_sh=
3991 for ac_aux in $ac_aux_files
3993 # As a special case, if "install-sh" is required, that requirement
3994 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3995 # and $ac_install_sh is set appropriately for whichever one is found.
3996 if test x"$ac_aux" = x"install-sh"
3997 then
3998 if test -f "${as_dir}install-sh"; then
3999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4000 ac_install_sh="${as_dir}install-sh -c"
4001 elif test -f "${as_dir}install.sh"; then
4002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4003 ac_install_sh="${as_dir}install.sh -c"
4004 elif test -f "${as_dir}shtool"; then
4005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4006 ac_install_sh="${as_dir}shtool install -c"
4007 else
4008 ac_aux_dir_found=no
4009 if $ac_first_candidate; then
4010 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4011 else
4012 break
4015 else
4016 if test -f "${as_dir}${ac_aux}"; then
4017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4018 else
4019 ac_aux_dir_found=no
4020 if $ac_first_candidate; then
4021 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4022 else
4023 break
4027 done
4028 if test "$ac_aux_dir_found" = yes; then
4029 ac_aux_dir="$as_dir"
4030 break
4032 ac_first_candidate=false
4034 as_found=false
4035 done
4036 IFS=$as_save_IFS
4037 if $as_found
4038 then :
4040 else $as_nop
4041 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4045 # These three variables are undocumented and unsupported,
4046 # and are intended to be withdrawn in a future Autoconf release.
4047 # They can cause serious problems if a builder's source tree is in a directory
4048 # whose full name contains unusual characters.
4049 if test -f "${ac_aux_dir}config.guess"; then
4050 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4052 if test -f "${ac_aux_dir}config.sub"; then
4053 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4055 if test -f "$ac_aux_dir/configure"; then
4056 ac_configure="$SHELL ${ac_aux_dir}configure"
4059 # Check that the precious variables saved in the cache have kept the same
4060 # value.
4061 ac_cache_corrupted=false
4062 for ac_var in $ac_precious_vars; do
4063 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4064 eval ac_new_set=\$ac_env_${ac_var}_set
4065 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4066 eval ac_new_val=\$ac_env_${ac_var}_value
4067 case $ac_old_set,$ac_new_set in
4068 set,)
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4070 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4071 ac_cache_corrupted=: ;;
4072 ,set)
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4074 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4075 ac_cache_corrupted=: ;;
4076 ,);;
4078 if test "x$ac_old_val" != "x$ac_new_val"; then
4079 # differences in whitespace do not lead to failure.
4080 ac_old_val_w=`echo x $ac_old_val`
4081 ac_new_val_w=`echo x $ac_new_val`
4082 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4084 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4085 ac_cache_corrupted=:
4086 else
4087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4088 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4089 eval $ac_var=\$ac_old_val
4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4092 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4094 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4095 fi;;
4096 esac
4097 # Pass precious variables to config.status.
4098 if test "$ac_new_set" = set; then
4099 case $ac_new_val in
4100 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4101 *) ac_arg=$ac_var=$ac_new_val ;;
4102 esac
4103 case " $ac_configure_args " in
4104 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4105 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4106 esac
4108 done
4109 if $ac_cache_corrupted; then
4110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4113 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4114 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4115 and start over" "$LINENO" 5
4117 ## -------------------- ##
4118 ## Main body of script. ##
4119 ## -------------------- ##
4121 ac_ext=c
4122 ac_cpp='$CPP $CPPFLAGS'
4123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4129 ac_config_headers="$ac_config_headers include/config.h"
4133 libwine_version="1.0"
4136 # Check whether --enable-archs was given.
4137 if test ${enable_archs+y}
4138 then :
4139 enableval=$enable_archs;
4142 # Check whether --enable-win16 was given.
4143 if test ${enable_win16+y}
4144 then :
4145 enableval=$enable_win16;
4148 # Check whether --enable-win64 was given.
4149 if test ${enable_win64+y}
4150 then :
4151 enableval=$enable_win64;
4154 # Check whether --enable-tests was given.
4155 if test ${enable_tests+y}
4156 then :
4157 enableval=$enable_tests;
4160 # Check whether --enable-build-id was given.
4161 if test ${enable_build_id+y}
4162 then :
4163 enableval=$enable_build_id;
4166 # Check whether --enable-maintainer-mode was given.
4167 if test ${enable_maintainer_mode+y}
4168 then :
4169 enableval=$enable_maintainer_mode;
4172 # Check whether --enable-silent-rules was given.
4173 if test ${enable_silent_rules+y}
4174 then :
4175 enableval=$enable_silent_rules;
4178 # Check whether --enable-werror was given.
4179 if test ${enable_werror+y}
4180 then :
4181 enableval=$enable_werror;
4186 # Check whether --with-alsa was given.
4187 if test ${with_alsa+y}
4188 then :
4189 withval=$with_alsa;
4193 # Check whether --with-capi was given.
4194 if test ${with_capi+y}
4195 then :
4196 withval=$with_capi;
4200 # Check whether --with-coreaudio was given.
4201 if test ${with_coreaudio+y}
4202 then :
4203 withval=$with_coreaudio;
4207 # Check whether --with-cups was given.
4208 if test ${with_cups+y}
4209 then :
4210 withval=$with_cups;
4214 # Check whether --with-dbus was given.
4215 if test ${with_dbus+y}
4216 then :
4217 withval=$with_dbus;
4221 # Check whether --with-float-abi was given.
4222 if test ${with_float_abi+y}
4223 then :
4224 withval=$with_float_abi;
4228 # Check whether --with-fontconfig was given.
4229 if test ${with_fontconfig+y}
4230 then :
4231 withval=$with_fontconfig;
4235 # Check whether --with-freetype was given.
4236 if test ${with_freetype+y}
4237 then :
4238 withval=$with_freetype;
4242 # Check whether --with-gettext was given.
4243 if test ${with_gettext+y}
4244 then :
4245 withval=$with_gettext;
4249 # Check whether --with-gettextpo was given.
4250 if test ${with_gettextpo+y}
4251 then :
4252 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4256 # Check whether --with-gphoto was given.
4257 if test ${with_gphoto+y}
4258 then :
4259 withval=$with_gphoto;
4263 # Check whether --with-gnutls was given.
4264 if test ${with_gnutls+y}
4265 then :
4266 withval=$with_gnutls;
4270 # Check whether --with-gssapi was given.
4271 if test ${with_gssapi+y}
4272 then :
4273 withval=$with_gssapi;
4277 # Check whether --with-gstreamer was given.
4278 if test ${with_gstreamer+y}
4279 then :
4280 withval=$with_gstreamer;
4284 # Check whether --with-inotify was given.
4285 if test ${with_inotify+y}
4286 then :
4287 withval=$with_inotify;
4291 # Check whether --with-krb5 was given.
4292 if test ${with_krb5+y}
4293 then :
4294 withval=$with_krb5;
4298 # Check whether --with-mingw was given.
4299 if test ${with_mingw+y}
4300 then :
4301 withval=$with_mingw;
4305 # Check whether --with-netapi was given.
4306 if test ${with_netapi+y}
4307 then :
4308 withval=$with_netapi;
4312 # Check whether --with-opencl was given.
4313 if test ${with_opencl+y}
4314 then :
4315 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4319 # Check whether --with-opengl was given.
4320 if test ${with_opengl+y}
4321 then :
4322 withval=$with_opengl;
4326 # Check whether --with-osmesa was given.
4327 if test ${with_osmesa+y}
4328 then :
4329 withval=$with_osmesa;
4333 # Check whether --with-oss was given.
4334 if test ${with_oss+y}
4335 then :
4336 withval=$with_oss;
4340 # Check whether --with-pcap was given.
4341 if test ${with_pcap+y}
4342 then :
4343 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4347 # Check whether --with-pcsclite was given.
4348 if test ${with_pcsclite+y}
4349 then :
4350 withval=$with_pcsclite;
4354 # Check whether --with-pthread was given.
4355 if test ${with_pthread+y}
4356 then :
4357 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4361 # Check whether --with-pulse was given.
4362 if test ${with_pulse+y}
4363 then :
4364 withval=$with_pulse;
4368 # Check whether --with-sane was given.
4369 if test ${with_sane+y}
4370 then :
4371 withval=$with_sane;
4375 # Check whether --with-sdl was given.
4376 if test ${with_sdl+y}
4377 then :
4378 withval=$with_sdl;
4382 # Check whether --with-udev was given.
4383 if test ${with_udev+y}
4384 then :
4385 withval=$with_udev;
4389 # Check whether --with-unwind was given.
4390 if test ${with_unwind+y}
4391 then :
4392 withval=$with_unwind;
4396 # Check whether --with-usb was given.
4397 if test ${with_usb+y}
4398 then :
4399 withval=$with_usb;
4403 # Check whether --with-v4l2 was given.
4404 if test ${with_v4l2+y}
4405 then :
4406 withval=$with_v4l2;
4410 # Check whether --with-vulkan was given.
4411 if test ${with_vulkan+y}
4412 then :
4413 withval=$with_vulkan;
4417 # Check whether --with-wayland was given.
4418 if test ${with_wayland+y}
4419 then :
4420 withval=$with_wayland;
4424 # Check whether --with-xcomposite was given.
4425 if test ${with_xcomposite+y}
4426 then :
4427 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4431 # Check whether --with-xcursor was given.
4432 if test ${with_xcursor+y}
4433 then :
4434 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4438 # Check whether --with-xfixes was given.
4439 if test ${with_xfixes+y}
4440 then :
4441 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4445 # Check whether --with-xinerama was given.
4446 if test ${with_xinerama+y}
4447 then :
4448 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4452 # Check whether --with-xinput was given.
4453 if test ${with_xinput+y}
4454 then :
4455 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4459 # Check whether --with-xinput2 was given.
4460 if test ${with_xinput2+y}
4461 then :
4462 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4466 # Check whether --with-xrandr was given.
4467 if test ${with_xrandr+y}
4468 then :
4469 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4473 # Check whether --with-xrender was given.
4474 if test ${with_xrender+y}
4475 then :
4476 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4480 # Check whether --with-xshape was given.
4481 if test ${with_xshape+y}
4482 then :
4483 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4487 # Check whether --with-xshm was given.
4488 if test ${with_xshm+y}
4489 then :
4490 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4494 # Check whether --with-xxf86vm was given.
4495 if test ${with_xxf86vm+y}
4496 then :
4497 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
4502 # Check whether --with-system-dllpath was given.
4503 if test ${with_system_dllpath+y}
4504 then :
4505 withval=$with_system_dllpath; system_dllpath=$withval
4510 # Check whether --with-wine-tools was given.
4511 if test ${with_wine_tools+y}
4512 then :
4513 withval=$with_wine_tools;
4517 # Check whether --with-wine64 was given.
4518 if test ${with_wine64+y}
4519 then :
4520 withval=$with_wine64;
4527 # Make sure we can run config.sub.
4528 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4529 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4532 printf %s "checking build system type... " >&6; }
4533 if test ${ac_cv_build+y}
4534 then :
4535 printf %s "(cached) " >&6
4536 else $as_nop
4537 ac_build_alias=$build_alias
4538 test "x$ac_build_alias" = x &&
4539 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4540 test "x$ac_build_alias" = x &&
4541 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4542 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4543 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4547 printf "%s\n" "$ac_cv_build" >&6; }
4548 case $ac_cv_build in
4549 *-*-*) ;;
4550 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4551 esac
4552 build=$ac_cv_build
4553 ac_save_IFS=$IFS; IFS='-'
4554 set x $ac_cv_build
4555 shift
4556 build_cpu=$1
4557 build_vendor=$2
4558 shift; shift
4559 # Remember, the first character of IFS is used to create $*,
4560 # except with old shells:
4561 build_os=$*
4562 IFS=$ac_save_IFS
4563 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4567 printf %s "checking host system type... " >&6; }
4568 if test ${ac_cv_host+y}
4569 then :
4570 printf %s "(cached) " >&6
4571 else $as_nop
4572 if test "x$host_alias" = x; then
4573 ac_cv_host=$ac_cv_build
4574 else
4575 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4576 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4581 printf "%s\n" "$ac_cv_host" >&6; }
4582 case $ac_cv_host in
4583 *-*-*) ;;
4584 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4585 esac
4586 host=$ac_cv_host
4587 ac_save_IFS=$IFS; IFS='-'
4588 set x $ac_cv_host
4589 shift
4590 host_cpu=$1
4591 host_vendor=$2
4592 shift; shift
4593 # Remember, the first character of IFS is used to create $*,
4594 # except with old shells:
4595 host_os=$*
4596 IFS=$ac_save_IFS
4597 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4601 dlldir=\${libdir}/wine
4603 fontdir=\${datadir}/wine/fonts
4605 nlsdir=\${datadir}/wine/nls
4610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4611 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4612 set x ${MAKE-make}
4613 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4614 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4615 then :
4616 printf %s "(cached) " >&6
4617 else $as_nop
4618 cat >conftest.make <<\_ACEOF
4619 SHELL = /bin/sh
4620 all:
4621 @echo '@@@%%%=$(MAKE)=@@@%%%'
4622 _ACEOF
4623 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4624 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4625 *@@@%%%=?*=@@@%%%*)
4626 eval ac_cv_prog_make_${ac_make}_set=yes;;
4628 eval ac_cv_prog_make_${ac_make}_set=no;;
4629 esac
4630 rm -f conftest.make
4632 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4634 printf "%s\n" "yes" >&6; }
4635 SET_MAKE=
4636 else
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 printf "%s\n" "no" >&6; }
4639 SET_MAKE="MAKE=${MAKE-make}"
4651 ac_ext=c
4652 ac_cpp='$CPP $CPPFLAGS'
4653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4656 if test -n "$ac_tool_prefix"; then
4657 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4658 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 printf %s "checking for $ac_word... " >&6; }
4661 if test ${ac_cv_prog_CC+y}
4662 then :
4663 printf %s "(cached) " >&6
4664 else $as_nop
4665 if test -n "$CC"; then
4666 ac_cv_prog_CC="$CC" # Let the user override the test.
4667 else
4668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 for as_dir in $PATH
4671 IFS=$as_save_IFS
4672 case $as_dir in #(((
4673 '') as_dir=./ ;;
4674 */) ;;
4675 *) as_dir=$as_dir/ ;;
4676 esac
4677 for ac_exec_ext in '' $ac_executable_extensions; do
4678 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4679 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4681 break 2
4683 done
4684 done
4685 IFS=$as_save_IFS
4689 CC=$ac_cv_prog_CC
4690 if test -n "$CC"; then
4691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4692 printf "%s\n" "$CC" >&6; }
4693 else
4694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 printf "%s\n" "no" >&6; }
4700 if test -z "$ac_cv_prog_CC"; then
4701 ac_ct_CC=$CC
4702 # Extract the first word of "gcc", so it can be a program name with args.
4703 set dummy gcc; ac_word=$2
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705 printf %s "checking for $ac_word... " >&6; }
4706 if test ${ac_cv_prog_ac_ct_CC+y}
4707 then :
4708 printf %s "(cached) " >&6
4709 else $as_nop
4710 if test -n "$ac_ct_CC"; then
4711 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4712 else
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in $PATH
4716 IFS=$as_save_IFS
4717 case $as_dir in #(((
4718 '') as_dir=./ ;;
4719 */) ;;
4720 *) as_dir=$as_dir/ ;;
4721 esac
4722 for ac_exec_ext in '' $ac_executable_extensions; do
4723 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4724 ac_cv_prog_ac_ct_CC="gcc"
4725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4726 break 2
4728 done
4729 done
4730 IFS=$as_save_IFS
4734 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4735 if test -n "$ac_ct_CC"; then
4736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4737 printf "%s\n" "$ac_ct_CC" >&6; }
4738 else
4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 printf "%s\n" "no" >&6; }
4743 if test "x$ac_ct_CC" = x; then
4744 CC=""
4745 else
4746 case $cross_compiling:$ac_tool_warned in
4747 yes:)
4748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4749 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4750 ac_tool_warned=yes ;;
4751 esac
4752 CC=$ac_ct_CC
4754 else
4755 CC="$ac_cv_prog_CC"
4758 if test -z "$CC"; then
4759 if test -n "$ac_tool_prefix"; then
4760 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4761 set dummy ${ac_tool_prefix}cc; ac_word=$2
4762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4763 printf %s "checking for $ac_word... " >&6; }
4764 if test ${ac_cv_prog_CC+y}
4765 then :
4766 printf %s "(cached) " >&6
4767 else $as_nop
4768 if test -n "$CC"; then
4769 ac_cv_prog_CC="$CC" # Let the user override the test.
4770 else
4771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772 for as_dir in $PATH
4774 IFS=$as_save_IFS
4775 case $as_dir in #(((
4776 '') as_dir=./ ;;
4777 */) ;;
4778 *) as_dir=$as_dir/ ;;
4779 esac
4780 for ac_exec_ext in '' $ac_executable_extensions; do
4781 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4782 ac_cv_prog_CC="${ac_tool_prefix}cc"
4783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4784 break 2
4786 done
4787 done
4788 IFS=$as_save_IFS
4792 CC=$ac_cv_prog_CC
4793 if test -n "$CC"; then
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4795 printf "%s\n" "$CC" >&6; }
4796 else
4797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798 printf "%s\n" "no" >&6; }
4804 if test -z "$CC"; then
4805 # Extract the first word of "cc", so it can be a program name with args.
4806 set dummy cc; ac_word=$2
4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4808 printf %s "checking for $ac_word... " >&6; }
4809 if test ${ac_cv_prog_CC+y}
4810 then :
4811 printf %s "(cached) " >&6
4812 else $as_nop
4813 if test -n "$CC"; then
4814 ac_cv_prog_CC="$CC" # Let the user override the test.
4815 else
4816 ac_prog_rejected=no
4817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4818 for as_dir in $PATH
4820 IFS=$as_save_IFS
4821 case $as_dir in #(((
4822 '') as_dir=./ ;;
4823 */) ;;
4824 *) as_dir=$as_dir/ ;;
4825 esac
4826 for ac_exec_ext in '' $ac_executable_extensions; do
4827 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4828 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4829 ac_prog_rejected=yes
4830 continue
4832 ac_cv_prog_CC="cc"
4833 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4834 break 2
4836 done
4837 done
4838 IFS=$as_save_IFS
4840 if test $ac_prog_rejected = yes; then
4841 # We found a bogon in the path, so make sure we never use it.
4842 set dummy $ac_cv_prog_CC
4843 shift
4844 if test $# != 0; then
4845 # We chose a different compiler from the bogus one.
4846 # However, it has the same basename, so the bogon will be chosen
4847 # first if we set CC to just the basename; use the full file name.
4848 shift
4849 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4854 CC=$ac_cv_prog_CC
4855 if test -n "$CC"; then
4856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4857 printf "%s\n" "$CC" >&6; }
4858 else
4859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4860 printf "%s\n" "no" >&6; }
4865 if test -z "$CC"; then
4866 if test -n "$ac_tool_prefix"; then
4867 for ac_prog in cl.exe
4869 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4870 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 printf %s "checking for $ac_word... " >&6; }
4873 if test ${ac_cv_prog_CC+y}
4874 then :
4875 printf %s "(cached) " >&6
4876 else $as_nop
4877 if test -n "$CC"; then
4878 ac_cv_prog_CC="$CC" # Let the user override the test.
4879 else
4880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4881 for as_dir in $PATH
4883 IFS=$as_save_IFS
4884 case $as_dir in #(((
4885 '') as_dir=./ ;;
4886 */) ;;
4887 *) as_dir=$as_dir/ ;;
4888 esac
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4893 break 2
4895 done
4896 done
4897 IFS=$as_save_IFS
4901 CC=$ac_cv_prog_CC
4902 if test -n "$CC"; then
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4904 printf "%s\n" "$CC" >&6; }
4905 else
4906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 printf "%s\n" "no" >&6; }
4911 test -n "$CC" && break
4912 done
4914 if test -z "$CC"; then
4915 ac_ct_CC=$CC
4916 for ac_prog in cl.exe
4918 # Extract the first word of "$ac_prog", so it can be a program name with args.
4919 set dummy $ac_prog; ac_word=$2
4920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921 printf %s "checking for $ac_word... " >&6; }
4922 if test ${ac_cv_prog_ac_ct_CC+y}
4923 then :
4924 printf %s "(cached) " >&6
4925 else $as_nop
4926 if test -n "$ac_ct_CC"; then
4927 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4928 else
4929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 for as_dir in $PATH
4932 IFS=$as_save_IFS
4933 case $as_dir in #(((
4934 '') as_dir=./ ;;
4935 */) ;;
4936 *) as_dir=$as_dir/ ;;
4937 esac
4938 for ac_exec_ext in '' $ac_executable_extensions; do
4939 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_ac_ct_CC="$ac_prog"
4941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4942 break 2
4944 done
4945 done
4946 IFS=$as_save_IFS
4950 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4951 if test -n "$ac_ct_CC"; then
4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4953 printf "%s\n" "$ac_ct_CC" >&6; }
4954 else
4955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 printf "%s\n" "no" >&6; }
4960 test -n "$ac_ct_CC" && break
4961 done
4963 if test "x$ac_ct_CC" = x; then
4964 CC=""
4965 else
4966 case $cross_compiling:$ac_tool_warned in
4967 yes:)
4968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4969 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4970 ac_tool_warned=yes ;;
4971 esac
4972 CC=$ac_ct_CC
4977 if test -z "$CC"; then
4978 if test -n "$ac_tool_prefix"; then
4979 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4980 set dummy ${ac_tool_prefix}clang; ac_word=$2
4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4982 printf %s "checking for $ac_word... " >&6; }
4983 if test ${ac_cv_prog_CC+y}
4984 then :
4985 printf %s "(cached) " >&6
4986 else $as_nop
4987 if test -n "$CC"; then
4988 ac_cv_prog_CC="$CC" # Let the user override the test.
4989 else
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991 for as_dir in $PATH
4993 IFS=$as_save_IFS
4994 case $as_dir in #(((
4995 '') as_dir=./ ;;
4996 */) ;;
4997 *) as_dir=$as_dir/ ;;
4998 esac
4999 for ac_exec_ext in '' $ac_executable_extensions; do
5000 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_CC="${ac_tool_prefix}clang"
5002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5003 break 2
5005 done
5006 done
5007 IFS=$as_save_IFS
5011 CC=$ac_cv_prog_CC
5012 if test -n "$CC"; then
5013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5014 printf "%s\n" "$CC" >&6; }
5015 else
5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 printf "%s\n" "no" >&6; }
5022 if test -z "$ac_cv_prog_CC"; then
5023 ac_ct_CC=$CC
5024 # Extract the first word of "clang", so it can be a program name with args.
5025 set dummy clang; ac_word=$2
5026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 printf %s "checking for $ac_word... " >&6; }
5028 if test ${ac_cv_prog_ac_ct_CC+y}
5029 then :
5030 printf %s "(cached) " >&6
5031 else $as_nop
5032 if test -n "$ac_ct_CC"; then
5033 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5034 else
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 for as_dir in $PATH
5038 IFS=$as_save_IFS
5039 case $as_dir in #(((
5040 '') as_dir=./ ;;
5041 */) ;;
5042 *) as_dir=$as_dir/ ;;
5043 esac
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_ac_ct_CC="clang"
5047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5048 break 2
5050 done
5051 done
5052 IFS=$as_save_IFS
5056 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5057 if test -n "$ac_ct_CC"; then
5058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5059 printf "%s\n" "$ac_ct_CC" >&6; }
5060 else
5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 printf "%s\n" "no" >&6; }
5065 if test "x$ac_ct_CC" = x; then
5066 CC=""
5067 else
5068 case $cross_compiling:$ac_tool_warned in
5069 yes:)
5070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5071 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5072 ac_tool_warned=yes ;;
5073 esac
5074 CC=$ac_ct_CC
5076 else
5077 CC="$ac_cv_prog_CC"
5083 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5084 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5085 as_fn_error $? "no acceptable C compiler found in \$PATH
5086 See \`config.log' for more details" "$LINENO" 5; }
5088 # Provide some information about the compiler.
5089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5090 set X $ac_compile
5091 ac_compiler=$2
5092 for ac_option in --version -v -V -qversion -version; do
5093 { { ac_try="$ac_compiler $ac_option >&5"
5094 case "(($ac_try" in
5095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5097 esac
5098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5099 printf "%s\n" "$ac_try_echo"; } >&5
5100 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5101 ac_status=$?
5102 if test -s conftest.err; then
5103 sed '10a\
5104 ... rest of stderr output deleted ...
5105 10q' conftest.err >conftest.er1
5106 cat conftest.er1 >&5
5108 rm -f conftest.er1 conftest.err
5109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5110 test $ac_status = 0; }
5111 done
5113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5114 /* end confdefs.h. */
5117 main (void)
5121 return 0;
5123 _ACEOF
5124 ac_clean_files_save=$ac_clean_files
5125 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5126 # Try to create an executable without -o first, disregard a.out.
5127 # It will help us diagnose broken compilers, and finding out an intuition
5128 # of exeext.
5129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5130 printf %s "checking whether the C compiler works... " >&6; }
5131 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5133 # The possible output files:
5134 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5136 ac_rmfiles=
5137 for ac_file in $ac_files
5139 case $ac_file in
5140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5141 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5142 esac
5143 done
5144 rm -f $ac_rmfiles
5146 if { { ac_try="$ac_link_default"
5147 case "(($ac_try" in
5148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5149 *) ac_try_echo=$ac_try;;
5150 esac
5151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5152 printf "%s\n" "$ac_try_echo"; } >&5
5153 (eval "$ac_link_default") 2>&5
5154 ac_status=$?
5155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5156 test $ac_status = 0; }
5157 then :
5158 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5159 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5160 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5161 # so that the user can short-circuit this test for compilers unknown to
5162 # Autoconf.
5163 for ac_file in $ac_files ''
5165 test -f "$ac_file" || continue
5166 case $ac_file in
5167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5169 [ab].out )
5170 # We found the default executable, but exeext='' is most
5171 # certainly right.
5172 break;;
5173 *.* )
5174 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5175 then :; else
5176 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5178 # We set ac_cv_exeext here because the later test for it is not
5179 # safe: cross compilers may not add the suffix if given an `-o'
5180 # argument, so we may need to know it at that point already.
5181 # Even if this section looks crufty: it has the advantage of
5182 # actually working.
5183 break;;
5185 break;;
5186 esac
5187 done
5188 test "$ac_cv_exeext" = no && ac_cv_exeext=
5190 else $as_nop
5191 ac_file=''
5193 if test -z "$ac_file"
5194 then :
5195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 printf "%s\n" "no" >&6; }
5197 printf "%s\n" "$as_me: failed program was:" >&5
5198 sed 's/^/| /' conftest.$ac_ext >&5
5200 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5201 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5202 as_fn_error 77 "C compiler cannot create executables
5203 See \`config.log' for more details" "$LINENO" 5; }
5204 else $as_nop
5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5206 printf "%s\n" "yes" >&6; }
5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5209 printf %s "checking for C compiler default output file name... " >&6; }
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5211 printf "%s\n" "$ac_file" >&6; }
5212 ac_exeext=$ac_cv_exeext
5214 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5215 ac_clean_files=$ac_clean_files_save
5216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5217 printf %s "checking for suffix of executables... " >&6; }
5218 if { { ac_try="$ac_link"
5219 case "(($ac_try" in
5220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5221 *) ac_try_echo=$ac_try;;
5222 esac
5223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5224 printf "%s\n" "$ac_try_echo"; } >&5
5225 (eval "$ac_link") 2>&5
5226 ac_status=$?
5227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5228 test $ac_status = 0; }
5229 then :
5230 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5231 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5232 # work properly (i.e., refer to `conftest.exe'), while it won't with
5233 # `rm'.
5234 for ac_file in conftest.exe conftest conftest.*; do
5235 test -f "$ac_file" || continue
5236 case $ac_file in
5237 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5238 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5239 break;;
5240 * ) break;;
5241 esac
5242 done
5243 else $as_nop
5244 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5245 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5246 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5247 See \`config.log' for more details" "$LINENO" 5; }
5249 rm -f conftest conftest$ac_cv_exeext
5250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5251 printf "%s\n" "$ac_cv_exeext" >&6; }
5253 rm -f conftest.$ac_ext
5254 EXEEXT=$ac_cv_exeext
5255 ac_exeext=$EXEEXT
5256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h. */
5258 #include <stdio.h>
5260 main (void)
5262 FILE *f = fopen ("conftest.out", "w");
5263 return ferror (f) || fclose (f) != 0;
5266 return 0;
5268 _ACEOF
5269 ac_clean_files="$ac_clean_files conftest.out"
5270 # Check that the compiler produces executables we can run. If not, either
5271 # the compiler is broken, or we cross compile.
5272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5273 printf %s "checking whether we are cross compiling... " >&6; }
5274 if test "$cross_compiling" != yes; then
5275 { { ac_try="$ac_link"
5276 case "(($ac_try" in
5277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5279 esac
5280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5281 printf "%s\n" "$ac_try_echo"; } >&5
5282 (eval "$ac_link") 2>&5
5283 ac_status=$?
5284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5285 test $ac_status = 0; }
5286 if { ac_try='./conftest$ac_cv_exeext'
5287 { { case "(($ac_try" in
5288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5289 *) ac_try_echo=$ac_try;;
5290 esac
5291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5292 printf "%s\n" "$ac_try_echo"; } >&5
5293 (eval "$ac_try") 2>&5
5294 ac_status=$?
5295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5296 test $ac_status = 0; }; }; then
5297 cross_compiling=no
5298 else
5299 if test "$cross_compiling" = maybe; then
5300 cross_compiling=yes
5301 else
5302 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5303 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5304 as_fn_error 77 "cannot run C compiled programs.
5305 If you meant to cross compile, use \`--host'.
5306 See \`config.log' for more details" "$LINENO" 5; }
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5311 printf "%s\n" "$cross_compiling" >&6; }
5313 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5314 ac_clean_files=$ac_clean_files_save
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5316 printf %s "checking for suffix of object files... " >&6; }
5317 if test ${ac_cv_objext+y}
5318 then :
5319 printf %s "(cached) " >&6
5320 else $as_nop
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5325 main (void)
5329 return 0;
5331 _ACEOF
5332 rm -f conftest.o conftest.obj
5333 if { { ac_try="$ac_compile"
5334 case "(($ac_try" in
5335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5336 *) ac_try_echo=$ac_try;;
5337 esac
5338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5339 printf "%s\n" "$ac_try_echo"; } >&5
5340 (eval "$ac_compile") 2>&5
5341 ac_status=$?
5342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5343 test $ac_status = 0; }
5344 then :
5345 for ac_file in conftest.o conftest.obj conftest.*; do
5346 test -f "$ac_file" || continue;
5347 case $ac_file in
5348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5349 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5350 break;;
5351 esac
5352 done
5353 else $as_nop
5354 printf "%s\n" "$as_me: failed program was:" >&5
5355 sed 's/^/| /' conftest.$ac_ext >&5
5357 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5358 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5359 as_fn_error $? "cannot compute suffix of object files: cannot compile
5360 See \`config.log' for more details" "$LINENO" 5; }
5362 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5365 printf "%s\n" "$ac_cv_objext" >&6; }
5366 OBJEXT=$ac_cv_objext
5367 ac_objext=$OBJEXT
5368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5369 printf %s "checking whether the compiler supports GNU C... " >&6; }
5370 if test ${ac_cv_c_compiler_gnu+y}
5371 then :
5372 printf %s "(cached) " >&6
5373 else $as_nop
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5378 main (void)
5380 #ifndef __GNUC__
5381 choke me
5382 #endif
5385 return 0;
5387 _ACEOF
5388 if ac_fn_c_try_compile "$LINENO"
5389 then :
5390 ac_compiler_gnu=yes
5391 else $as_nop
5392 ac_compiler_gnu=no
5394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5395 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5399 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5402 if test $ac_compiler_gnu = yes; then
5403 GCC=yes
5404 else
5405 GCC=
5407 ac_test_CFLAGS=${CFLAGS+y}
5408 ac_save_CFLAGS=$CFLAGS
5409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5410 printf %s "checking whether $CC accepts -g... " >&6; }
5411 if test ${ac_cv_prog_cc_g+y}
5412 then :
5413 printf %s "(cached) " >&6
5414 else $as_nop
5415 ac_save_c_werror_flag=$ac_c_werror_flag
5416 ac_c_werror_flag=yes
5417 ac_cv_prog_cc_g=no
5418 CFLAGS="-g"
5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5420 /* end confdefs.h. */
5423 main (void)
5427 return 0;
5429 _ACEOF
5430 if ac_fn_c_try_compile "$LINENO"
5431 then :
5432 ac_cv_prog_cc_g=yes
5433 else $as_nop
5434 CFLAGS=""
5435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5436 /* end confdefs.h. */
5439 main (void)
5443 return 0;
5445 _ACEOF
5446 if ac_fn_c_try_compile "$LINENO"
5447 then :
5449 else $as_nop
5450 ac_c_werror_flag=$ac_save_c_werror_flag
5451 CFLAGS="-g"
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5456 main (void)
5460 return 0;
5462 _ACEOF
5463 if ac_fn_c_try_compile "$LINENO"
5464 then :
5465 ac_cv_prog_cc_g=yes
5467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5472 ac_c_werror_flag=$ac_save_c_werror_flag
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5475 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5476 if test $ac_test_CFLAGS; then
5477 CFLAGS=$ac_save_CFLAGS
5478 elif test $ac_cv_prog_cc_g = yes; then
5479 if test "$GCC" = yes; then
5480 CFLAGS="-g -O2"
5481 else
5482 CFLAGS="-g"
5484 else
5485 if test "$GCC" = yes; then
5486 CFLAGS="-O2"
5487 else
5488 CFLAGS=
5491 ac_prog_cc_stdc=no
5492 if test x$ac_prog_cc_stdc = xno
5493 then :
5494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5495 printf %s "checking for $CC option to enable C11 features... " >&6; }
5496 if test ${ac_cv_prog_cc_c11+y}
5497 then :
5498 printf %s "(cached) " >&6
5499 else $as_nop
5500 ac_cv_prog_cc_c11=no
5501 ac_save_CC=$CC
5502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5503 /* end confdefs.h. */
5504 $ac_c_conftest_c11_program
5505 _ACEOF
5506 for ac_arg in '' -std=gnu11
5508 CC="$ac_save_CC $ac_arg"
5509 if ac_fn_c_try_compile "$LINENO"
5510 then :
5511 ac_cv_prog_cc_c11=$ac_arg
5513 rm -f core conftest.err conftest.$ac_objext conftest.beam
5514 test "x$ac_cv_prog_cc_c11" != "xno" && break
5515 done
5516 rm -f conftest.$ac_ext
5517 CC=$ac_save_CC
5520 if test "x$ac_cv_prog_cc_c11" = xno
5521 then :
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5523 printf "%s\n" "unsupported" >&6; }
5524 else $as_nop
5525 if test "x$ac_cv_prog_cc_c11" = x
5526 then :
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5528 printf "%s\n" "none needed" >&6; }
5529 else $as_nop
5530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5531 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5532 CC="$CC $ac_cv_prog_cc_c11"
5534 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5535 ac_prog_cc_stdc=c11
5538 if test x$ac_prog_cc_stdc = xno
5539 then :
5540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5541 printf %s "checking for $CC option to enable C99 features... " >&6; }
5542 if test ${ac_cv_prog_cc_c99+y}
5543 then :
5544 printf %s "(cached) " >&6
5545 else $as_nop
5546 ac_cv_prog_cc_c99=no
5547 ac_save_CC=$CC
5548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5549 /* end confdefs.h. */
5550 $ac_c_conftest_c99_program
5551 _ACEOF
5552 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5554 CC="$ac_save_CC $ac_arg"
5555 if ac_fn_c_try_compile "$LINENO"
5556 then :
5557 ac_cv_prog_cc_c99=$ac_arg
5559 rm -f core conftest.err conftest.$ac_objext conftest.beam
5560 test "x$ac_cv_prog_cc_c99" != "xno" && break
5561 done
5562 rm -f conftest.$ac_ext
5563 CC=$ac_save_CC
5566 if test "x$ac_cv_prog_cc_c99" = xno
5567 then :
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5569 printf "%s\n" "unsupported" >&6; }
5570 else $as_nop
5571 if test "x$ac_cv_prog_cc_c99" = x
5572 then :
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5574 printf "%s\n" "none needed" >&6; }
5575 else $as_nop
5576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5577 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5578 CC="$CC $ac_cv_prog_cc_c99"
5580 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5581 ac_prog_cc_stdc=c99
5584 if test x$ac_prog_cc_stdc = xno
5585 then :
5586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5587 printf %s "checking for $CC option to enable C89 features... " >&6; }
5588 if test ${ac_cv_prog_cc_c89+y}
5589 then :
5590 printf %s "(cached) " >&6
5591 else $as_nop
5592 ac_cv_prog_cc_c89=no
5593 ac_save_CC=$CC
5594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5595 /* end confdefs.h. */
5596 $ac_c_conftest_c89_program
5597 _ACEOF
5598 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5600 CC="$ac_save_CC $ac_arg"
5601 if ac_fn_c_try_compile "$LINENO"
5602 then :
5603 ac_cv_prog_cc_c89=$ac_arg
5605 rm -f core conftest.err conftest.$ac_objext conftest.beam
5606 test "x$ac_cv_prog_cc_c89" != "xno" && break
5607 done
5608 rm -f conftest.$ac_ext
5609 CC=$ac_save_CC
5612 if test "x$ac_cv_prog_cc_c89" = xno
5613 then :
5614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5615 printf "%s\n" "unsupported" >&6; }
5616 else $as_nop
5617 if test "x$ac_cv_prog_cc_c89" = x
5618 then :
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5620 printf "%s\n" "none needed" >&6; }
5621 else $as_nop
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5623 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5624 CC="$CC $ac_cv_prog_cc_c89"
5626 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5627 ac_prog_cc_stdc=c89
5631 ac_ext=c
5632 ac_cpp='$CPP $CPPFLAGS'
5633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5643 ac_ext=cpp
5644 ac_cpp='$CXXCPP $CPPFLAGS'
5645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5648 if test -z "$CXX"; then
5649 if test -n "$CCC"; then
5650 CXX=$CCC
5651 else
5652 if test -n "$ac_tool_prefix"; then
5653 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5658 printf %s "checking for $ac_word... " >&6; }
5659 if test ${ac_cv_prog_CXX+y}
5660 then :
5661 printf %s "(cached) " >&6
5662 else $as_nop
5663 if test -n "$CXX"; then
5664 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5665 else
5666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667 for as_dir in $PATH
5669 IFS=$as_save_IFS
5670 case $as_dir in #(((
5671 '') as_dir=./ ;;
5672 */) ;;
5673 *) as_dir=$as_dir/ ;;
5674 esac
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5677 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5679 break 2
5681 done
5682 done
5683 IFS=$as_save_IFS
5687 CXX=$ac_cv_prog_CXX
5688 if test -n "$CXX"; then
5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5690 printf "%s\n" "$CXX" >&6; }
5691 else
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 printf "%s\n" "no" >&6; }
5697 test -n "$CXX" && break
5698 done
5700 if test -z "$CXX"; then
5701 ac_ct_CXX=$CXX
5702 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5704 # Extract the first word of "$ac_prog", so it can be a program name with args.
5705 set dummy $ac_prog; ac_word=$2
5706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 printf %s "checking for $ac_word... " >&6; }
5708 if test ${ac_cv_prog_ac_ct_CXX+y}
5709 then :
5710 printf %s "(cached) " >&6
5711 else $as_nop
5712 if test -n "$ac_ct_CXX"; then
5713 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5718 IFS=$as_save_IFS
5719 case $as_dir in #(((
5720 '') as_dir=./ ;;
5721 */) ;;
5722 *) as_dir=$as_dir/ ;;
5723 esac
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_ac_ct_CXX="$ac_prog"
5727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5728 break 2
5730 done
5731 done
5732 IFS=$as_save_IFS
5736 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5737 if test -n "$ac_ct_CXX"; then
5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5739 printf "%s\n" "$ac_ct_CXX" >&6; }
5740 else
5741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 printf "%s\n" "no" >&6; }
5746 test -n "$ac_ct_CXX" && break
5747 done
5749 if test "x$ac_ct_CXX" = x; then
5750 CXX="g++"
5751 else
5752 case $cross_compiling:$ac_tool_warned in
5753 yes:)
5754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5755 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5756 ac_tool_warned=yes ;;
5757 esac
5758 CXX=$ac_ct_CXX
5764 # Provide some information about the compiler.
5765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5766 set X $ac_compile
5767 ac_compiler=$2
5768 for ac_option in --version -v -V -qversion; do
5769 { { ac_try="$ac_compiler $ac_option >&5"
5770 case "(($ac_try" in
5771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5772 *) ac_try_echo=$ac_try;;
5773 esac
5774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5775 printf "%s\n" "$ac_try_echo"; } >&5
5776 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5777 ac_status=$?
5778 if test -s conftest.err; then
5779 sed '10a\
5780 ... rest of stderr output deleted ...
5781 10q' conftest.err >conftest.er1
5782 cat conftest.er1 >&5
5784 rm -f conftest.er1 conftest.err
5785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5786 test $ac_status = 0; }
5787 done
5789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5790 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5791 if test ${ac_cv_cxx_compiler_gnu+y}
5792 then :
5793 printf %s "(cached) " >&6
5794 else $as_nop
5795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h. */
5799 main (void)
5801 #ifndef __GNUC__
5802 choke me
5803 #endif
5806 return 0;
5808 _ACEOF
5809 if ac_fn_cxx_try_compile "$LINENO"
5810 then :
5811 ac_compiler_gnu=yes
5812 else $as_nop
5813 ac_compiler_gnu=no
5815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5816 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5820 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5823 if test $ac_compiler_gnu = yes; then
5824 GXX=yes
5825 else
5826 GXX=
5828 ac_test_CXXFLAGS=${CXXFLAGS+y}
5829 ac_save_CXXFLAGS=$CXXFLAGS
5830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5831 printf %s "checking whether $CXX accepts -g... " >&6; }
5832 if test ${ac_cv_prog_cxx_g+y}
5833 then :
5834 printf %s "(cached) " >&6
5835 else $as_nop
5836 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5837 ac_cxx_werror_flag=yes
5838 ac_cv_prog_cxx_g=no
5839 CXXFLAGS="-g"
5840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5841 /* end confdefs.h. */
5844 main (void)
5848 return 0;
5850 _ACEOF
5851 if ac_fn_cxx_try_compile "$LINENO"
5852 then :
5853 ac_cv_prog_cxx_g=yes
5854 else $as_nop
5855 CXXFLAGS=""
5856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5857 /* end confdefs.h. */
5860 main (void)
5864 return 0;
5866 _ACEOF
5867 if ac_fn_cxx_try_compile "$LINENO"
5868 then :
5870 else $as_nop
5871 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5872 CXXFLAGS="-g"
5873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5874 /* end confdefs.h. */
5877 main (void)
5881 return 0;
5883 _ACEOF
5884 if ac_fn_cxx_try_compile "$LINENO"
5885 then :
5886 ac_cv_prog_cxx_g=yes
5888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5893 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5896 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5897 if test $ac_test_CXXFLAGS; then
5898 CXXFLAGS=$ac_save_CXXFLAGS
5899 elif test $ac_cv_prog_cxx_g = yes; then
5900 if test "$GXX" = yes; then
5901 CXXFLAGS="-g -O2"
5902 else
5903 CXXFLAGS="-g"
5905 else
5906 if test "$GXX" = yes; then
5907 CXXFLAGS="-O2"
5908 else
5909 CXXFLAGS=
5912 ac_prog_cxx_stdcxx=no
5913 if test x$ac_prog_cxx_stdcxx = xno
5914 then :
5915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5916 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5917 if test ${ac_cv_prog_cxx_cxx11+y}
5918 then :
5919 printf %s "(cached) " >&6
5920 else $as_nop
5921 ac_cv_prog_cxx_cxx11=no
5922 ac_save_CXX=$CXX
5923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5924 /* end confdefs.h. */
5925 $ac_cxx_conftest_cxx11_program
5926 _ACEOF
5927 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5929 CXX="$ac_save_CXX $ac_arg"
5930 if ac_fn_cxx_try_compile "$LINENO"
5931 then :
5932 ac_cv_prog_cxx_cxx11=$ac_arg
5934 rm -f core conftest.err conftest.$ac_objext conftest.beam
5935 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5936 done
5937 rm -f conftest.$ac_ext
5938 CXX=$ac_save_CXX
5941 if test "x$ac_cv_prog_cxx_cxx11" = xno
5942 then :
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5944 printf "%s\n" "unsupported" >&6; }
5945 else $as_nop
5946 if test "x$ac_cv_prog_cxx_cxx11" = x
5947 then :
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5949 printf "%s\n" "none needed" >&6; }
5950 else $as_nop
5951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5952 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5953 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5955 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5956 ac_prog_cxx_stdcxx=cxx11
5959 if test x$ac_prog_cxx_stdcxx = xno
5960 then :
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5962 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5963 if test ${ac_cv_prog_cxx_cxx98+y}
5964 then :
5965 printf %s "(cached) " >&6
5966 else $as_nop
5967 ac_cv_prog_cxx_cxx98=no
5968 ac_save_CXX=$CXX
5969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5970 /* end confdefs.h. */
5971 $ac_cxx_conftest_cxx98_program
5972 _ACEOF
5973 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5975 CXX="$ac_save_CXX $ac_arg"
5976 if ac_fn_cxx_try_compile "$LINENO"
5977 then :
5978 ac_cv_prog_cxx_cxx98=$ac_arg
5980 rm -f core conftest.err conftest.$ac_objext conftest.beam
5981 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5982 done
5983 rm -f conftest.$ac_ext
5984 CXX=$ac_save_CXX
5987 if test "x$ac_cv_prog_cxx_cxx98" = xno
5988 then :
5989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5990 printf "%s\n" "unsupported" >&6; }
5991 else $as_nop
5992 if test "x$ac_cv_prog_cxx_cxx98" = x
5993 then :
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5995 printf "%s\n" "none needed" >&6; }
5996 else $as_nop
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5998 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5999 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6001 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6002 ac_prog_cxx_stdcxx=cxx98
6006 ac_ext=c
6007 ac_cpp='$CPP $CPPFLAGS'
6008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6012 if test -n "$ac_tool_prefix"; then
6013 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6014 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 printf %s "checking for $ac_word... " >&6; }
6017 if test ${ac_cv_prog_CPPBIN+y}
6018 then :
6019 printf %s "(cached) " >&6
6020 else $as_nop
6021 if test -n "$CPPBIN"; then
6022 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6023 else
6024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 for as_dir in $PATH
6027 IFS=$as_save_IFS
6028 case $as_dir in #(((
6029 '') as_dir=./ ;;
6030 */) ;;
6031 *) as_dir=$as_dir/ ;;
6032 esac
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6045 CPPBIN=$ac_cv_prog_CPPBIN
6046 if test -n "$CPPBIN"; then
6047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6048 printf "%s\n" "$CPPBIN" >&6; }
6049 else
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 printf "%s\n" "no" >&6; }
6056 if test -z "$ac_cv_prog_CPPBIN"; then
6057 ac_ct_CPPBIN=$CPPBIN
6058 # Extract the first word of "cpp", so it can be a program name with args.
6059 set dummy cpp; ac_word=$2
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 printf %s "checking for $ac_word... " >&6; }
6062 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6063 then :
6064 printf %s "(cached) " >&6
6065 else $as_nop
6066 if test -n "$ac_ct_CPPBIN"; then
6067 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6072 IFS=$as_save_IFS
6073 case $as_dir in #(((
6074 '') as_dir=./ ;;
6075 */) ;;
6076 *) as_dir=$as_dir/ ;;
6077 esac
6078 for ac_exec_ext in '' $ac_executable_extensions; do
6079 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6080 ac_cv_prog_ac_ct_CPPBIN="cpp"
6081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6082 break 2
6084 done
6085 done
6086 IFS=$as_save_IFS
6090 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6091 if test -n "$ac_ct_CPPBIN"; then
6092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6093 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6094 else
6095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 printf "%s\n" "no" >&6; }
6099 if test "x$ac_ct_CPPBIN" = x; then
6100 CPPBIN="cpp"
6101 else
6102 case $cross_compiling:$ac_tool_warned in
6103 yes:)
6104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6105 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6106 ac_tool_warned=yes ;;
6107 esac
6108 CPPBIN=$ac_ct_CPPBIN
6110 else
6111 CPPBIN="$ac_cv_prog_CPPBIN"
6115 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6117 if test -n "$ac_tool_prefix"; then
6118 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6119 set dummy ${ac_tool_prefix}ld; ac_word=$2
6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121 printf %s "checking for $ac_word... " >&6; }
6122 if test ${ac_cv_prog_LD+y}
6123 then :
6124 printf %s "(cached) " >&6
6125 else $as_nop
6126 if test -n "$LD"; then
6127 ac_cv_prog_LD="$LD" # Let the user override the test.
6128 else
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 for as_dir in $PATH
6132 IFS=$as_save_IFS
6133 case $as_dir in #(((
6134 '') as_dir=./ ;;
6135 */) ;;
6136 *) as_dir=$as_dir/ ;;
6137 esac
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_LD="${ac_tool_prefix}ld"
6141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6142 break 2
6144 done
6145 done
6146 IFS=$as_save_IFS
6150 LD=$ac_cv_prog_LD
6151 if test -n "$LD"; then
6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6153 printf "%s\n" "$LD" >&6; }
6154 else
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 printf "%s\n" "no" >&6; }
6161 if test -z "$ac_cv_prog_LD"; then
6162 ac_ct_LD=$LD
6163 # Extract the first word of "ld", so it can be a program name with args.
6164 set dummy ld; ac_word=$2
6165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 printf %s "checking for $ac_word... " >&6; }
6167 if test ${ac_cv_prog_ac_ct_LD+y}
6168 then :
6169 printf %s "(cached) " >&6
6170 else $as_nop
6171 if test -n "$ac_ct_LD"; then
6172 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6173 else
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 for as_dir in $PATH
6177 IFS=$as_save_IFS
6178 case $as_dir in #(((
6179 '') as_dir=./ ;;
6180 */) ;;
6181 *) as_dir=$as_dir/ ;;
6182 esac
6183 for ac_exec_ext in '' $ac_executable_extensions; do
6184 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6185 ac_cv_prog_ac_ct_LD="ld"
6186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6187 break 2
6189 done
6190 done
6191 IFS=$as_save_IFS
6195 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6196 if test -n "$ac_ct_LD"; then
6197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6198 printf "%s\n" "$ac_ct_LD" >&6; }
6199 else
6200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201 printf "%s\n" "no" >&6; }
6204 if test "x$ac_ct_LD" = x; then
6205 LD=""
6206 else
6207 case $cross_compiling:$ac_tool_warned in
6208 yes:)
6209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6210 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6211 ac_tool_warned=yes ;;
6212 esac
6213 LD=$ac_ct_LD
6215 else
6216 LD="$ac_cv_prog_LD"
6220 case $host in
6221 *-darwin*)
6222 with_fontconfig=${with_fontconfig:-no}
6224 *-mingw32*|*-cygwin*)
6225 enable_win16=${enable_win16:-no}
6226 with_mingw=${with_mingw:-no}
6228 esac
6231 case $host in
6232 x86_64*|amd64*)
6233 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6234 then
6235 CC="$CC -m32"
6236 CXX="$CXX -m32"
6238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6239 printf %s "checking whether $CC works... " >&6; }
6240 if test ${wine_cv_cc_m32+y}
6241 then :
6242 printf %s "(cached) " >&6
6243 else $as_nop
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6248 main (void)
6252 return 0;
6254 _ACEOF
6255 if ac_fn_c_try_link "$LINENO"
6256 then :
6257 wine_cv_cc_m32=yes
6258 else $as_nop
6259 wine_cv_cc_m32=no
6261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6262 conftest$ac_exeext conftest.$ac_ext
6264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6265 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6266 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
6267 host_cpu="i386"
6268 notice_platform="32-bit "
6269 TARGETFLAGS="$TARGETFLAGS -m32"
6270 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6271 export PKG_CONFIG_LIBDIR
6272 with_unwind=${with_unwind:-no}
6273 else
6274 if test "x${GCC}" = "xyes"
6275 then
6276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6277 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6278 if test ${wine_cv_builtin_ms_va_list+y}
6279 then :
6280 printf %s "(cached) " >&6
6281 else $as_nop
6282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6284 #include <stdarg.h>
6286 main (void)
6288 void func(__builtin_ms_va_list *args);
6290 return 0;
6292 _ACEOF
6293 if ac_fn_c_try_compile "$LINENO"
6294 then :
6295 wine_cv_builtin_ms_va_list=yes
6296 else $as_nop
6297 wine_cv_builtin_ms_va_list=no
6299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6302 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6303 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
6305 CC="$CC -m64"
6306 CXX="$CXX -m64"
6307 host_cpu="x86_64"
6308 notice_platform="64-bit "
6309 TARGETFLAGS="$TARGETFLAGS -m64"
6312 arm*)
6313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6314 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6315 if test ${wine_cv_thumb2+y}
6316 then :
6317 printf %s "(cached) " >&6
6318 else $as_nop
6319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6320 /* end confdefs.h. */
6323 main (void)
6325 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6327 return 0;
6329 _ACEOF
6330 if ac_fn_c_try_link "$LINENO"
6331 then :
6332 wine_cv_thumb2=yes
6333 else $as_nop
6334 wine_cv_thumb2=no
6336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6337 conftest$ac_exeext conftest.$ac_ext
6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6340 printf "%s\n" "$wine_cv_thumb2" >&6; }
6341 if test x"$wine_cv_thumb2" = xyes
6342 then
6343 CFLAGS="$CFLAGS -mthumb"
6344 TARGETFLAGS="$TARGETFLAGS -mthumb"
6345 else
6346 CFLAGS="$CFLAGS -marm"
6347 TARGETFLAGS="$TARGETFLAGS -marm"
6349 case $with_float_abi in
6350 soft|softfp|hard)
6351 float_abi=$with_float_abi ;;
6353 case $host_os in
6354 *eabihf)
6355 float_abi=hard ;;
6357 float_abi=softfp
6358 saved_CFLAGS=$CFLAGS
6359 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6361 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6362 if test ${wine_cv_float_abi+y}
6363 then :
6364 printf %s "(cached) " >&6
6365 else $as_nop
6366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h. */
6370 main (void)
6372 asm("vmrs r2,fpscr");
6374 return 0;
6376 _ACEOF
6377 if ac_fn_c_try_link "$LINENO"
6378 then :
6379 wine_cv_float_abi=yes
6380 else $as_nop
6381 wine_cv_float_abi=no
6383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6384 conftest$ac_exeext conftest.$ac_ext
6386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6387 printf "%s\n" "$wine_cv_float_abi" >&6; }
6388 if test $wine_cv_float_abi = no
6389 then
6390 float_abi=soft
6391 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6393 CFLAGS=$saved_CFLAGS
6394 esac
6396 esac
6397 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6398 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6400 i[3456789]86*)
6401 with_unwind=${with_unwind:-no}
6403 esac
6405 enable_win16=${enable_win16:-i386}
6406 enable_win64=${enable_win64:-no}
6407 enable_wow64=${enable_wow64:-aarch64,x86_64}
6408 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6409 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6411 enable_winetest=${enable_winetest:-$enable_tests}
6413 if test "x$enable_win64" = "xyes"
6414 then
6415 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6416 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6419 case $build_os in
6420 cygwin*|mingw32*) toolsext=".exe"
6422 *) toolsext=""
6424 esac
6426 HOST_ARCH=unknown
6427 case "$host_cpu" in
6428 aarch64*) HOST_ARCH=aarch64 ;;
6429 arm*) HOST_ARCH=arm ;;
6430 i[3456789]86*) HOST_ARCH=i386 ;;
6431 x86_64) HOST_ARCH=x86_64 ;;
6432 esac
6435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6436 printf %s "checking for the directory containing the Wine tools... " >&6; }
6437 if test ${wine_cv_toolsdir+y}
6438 then :
6439 printf %s "(cached) " >&6
6440 else $as_nop
6441 wine_cv_toolsdir="$with_wine_tools"
6442 if test -z "$with_wine_tools"; then
6443 if test "$cross_compiling" = "yes"; then
6444 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6445 elif test -n "$with_wine64"; then
6446 wine_cv_toolsdir="$with_wine64"
6450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6451 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6452 if test -z "$wine_cv_toolsdir"; then
6453 wine_makedep=tools/makedep$toolsext
6454 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6455 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6456 enable_tools=${enable_tools:-no}
6457 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6458 else
6459 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6461 toolsdir=$wine_cv_toolsdir
6463 MAKEDEP=$wine_makedep
6465 RUNTESTFLAGS="-q -P wine"
6467 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'"
6470 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6471 then
6472 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6475 for ac_prog in flex
6477 # Extract the first word of "$ac_prog", so it can be a program name with args.
6478 set dummy $ac_prog; ac_word=$2
6479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6480 printf %s "checking for $ac_word... " >&6; }
6481 if test ${ac_cv_prog_FLEX+y}
6482 then :
6483 printf %s "(cached) " >&6
6484 else $as_nop
6485 if test -n "$FLEX"; then
6486 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6487 else
6488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6489 for as_dir in $PATH
6491 IFS=$as_save_IFS
6492 case $as_dir in #(((
6493 '') as_dir=./ ;;
6494 */) ;;
6495 *) as_dir=$as_dir/ ;;
6496 esac
6497 for ac_exec_ext in '' $ac_executable_extensions; do
6498 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6499 ac_cv_prog_FLEX="$ac_prog"
6500 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6501 break 2
6503 done
6504 done
6505 IFS=$as_save_IFS
6509 FLEX=$ac_cv_prog_FLEX
6510 if test -n "$FLEX"; then
6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6512 printf "%s\n" "$FLEX" >&6; }
6513 else
6514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6515 printf "%s\n" "no" >&6; }
6519 test -n "$FLEX" && break
6520 done
6521 test -n "$FLEX" || FLEX="none"
6523 if test "$FLEX" = "none"
6524 then
6525 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6528 printf %s "checking whether flex is recent enough... " >&6; }
6529 if test ${wine_cv_recent_flex+y}
6530 then :
6531 printf %s "(cached) " >&6
6532 else $as_nop
6533 cat >conftest.l <<EOF
6534 %top{
6535 #include "prediluvian.h"
6539 if $FLEX -t conftest.l >/dev/null 2>&5
6540 then
6541 wine_cv_recent_flex=yes
6542 else
6543 wine_cv_recent_flex=no
6546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6547 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6548 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
6550 for ac_prog in bison
6552 # Extract the first word of "$ac_prog", so it can be a program name with args.
6553 set dummy $ac_prog; ac_word=$2
6554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6555 printf %s "checking for $ac_word... " >&6; }
6556 if test ${ac_cv_prog_BISON+y}
6557 then :
6558 printf %s "(cached) " >&6
6559 else $as_nop
6560 if test -n "$BISON"; then
6561 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6566 IFS=$as_save_IFS
6567 case $as_dir in #(((
6568 '') as_dir=./ ;;
6569 */) ;;
6570 *) as_dir=$as_dir/ ;;
6571 esac
6572 for ac_exec_ext in '' $ac_executable_extensions; do
6573 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6574 ac_cv_prog_BISON="$ac_prog"
6575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6576 break 2
6578 done
6579 done
6580 IFS=$as_save_IFS
6584 BISON=$ac_cv_prog_BISON
6585 if test -n "$BISON"; then
6586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6587 printf "%s\n" "$BISON" >&6; }
6588 else
6589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6590 printf "%s\n" "no" >&6; }
6594 test -n "$BISON" && break
6595 done
6596 test -n "$BISON" || BISON="none"
6598 if test "$BISON" = "none"
6599 then
6600 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6603 printf %s "checking whether bison is recent enough... " >&6; }
6604 if test ${wine_cv_recent_bison+y}
6605 then :
6606 printf %s "(cached) " >&6
6607 else $as_nop
6608 cat >conftest.y <<EOF
6609 %define parse.error verbose
6611 empty: ;
6613 if $BISON conftest.y >/dev/null 2>&5
6614 then
6615 wine_cv_recent_bison=yes
6616 else
6617 wine_cv_recent_bison=no
6620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6621 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6622 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
6624 if test -n "$ac_tool_prefix"; then
6625 for ac_prog in ar gar
6627 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6628 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 printf %s "checking for $ac_word... " >&6; }
6631 if test ${ac_cv_prog_AR+y}
6632 then :
6633 printf %s "(cached) " >&6
6634 else $as_nop
6635 if test -n "$AR"; then
6636 ac_cv_prog_AR="$AR" # Let the user override the test.
6637 else
6638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639 for as_dir in $PATH
6641 IFS=$as_save_IFS
6642 case $as_dir in #(((
6643 '') as_dir=./ ;;
6644 */) ;;
6645 *) as_dir=$as_dir/ ;;
6646 esac
6647 for ac_exec_ext in '' $ac_executable_extensions; do
6648 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6649 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6651 break 2
6653 done
6654 done
6655 IFS=$as_save_IFS
6659 AR=$ac_cv_prog_AR
6660 if test -n "$AR"; then
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6662 printf "%s\n" "$AR" >&6; }
6663 else
6664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665 printf "%s\n" "no" >&6; }
6669 test -n "$AR" && break
6670 done
6672 if test -z "$AR"; then
6673 ac_ct_AR=$AR
6674 for ac_prog in ar gar
6676 # Extract the first word of "$ac_prog", so it can be a program name with args.
6677 set dummy $ac_prog; ac_word=$2
6678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 printf %s "checking for $ac_word... " >&6; }
6680 if test ${ac_cv_prog_ac_ct_AR+y}
6681 then :
6682 printf %s "(cached) " >&6
6683 else $as_nop
6684 if test -n "$ac_ct_AR"; then
6685 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6686 else
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688 for as_dir in $PATH
6690 IFS=$as_save_IFS
6691 case $as_dir in #(((
6692 '') as_dir=./ ;;
6693 */) ;;
6694 *) as_dir=$as_dir/ ;;
6695 esac
6696 for ac_exec_ext in '' $ac_executable_extensions; do
6697 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6698 ac_cv_prog_ac_ct_AR="$ac_prog"
6699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6700 break 2
6702 done
6703 done
6704 IFS=$as_save_IFS
6708 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6709 if test -n "$ac_ct_AR"; then
6710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6711 printf "%s\n" "$ac_ct_AR" >&6; }
6712 else
6713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714 printf "%s\n" "no" >&6; }
6718 test -n "$ac_ct_AR" && break
6719 done
6721 if test "x$ac_ct_AR" = x; then
6722 AR="ar"
6723 else
6724 case $cross_compiling:$ac_tool_warned in
6725 yes:)
6726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6727 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6728 ac_tool_warned=yes ;;
6729 esac
6730 AR=$ac_ct_AR
6734 if test -n "$ac_tool_prefix"; then
6735 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6736 set dummy ${ac_tool_prefix}strip; ac_word=$2
6737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6738 printf %s "checking for $ac_word... " >&6; }
6739 if test ${ac_cv_prog_STRIP+y}
6740 then :
6741 printf %s "(cached) " >&6
6742 else $as_nop
6743 if test -n "$STRIP"; then
6744 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6745 else
6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747 for as_dir in $PATH
6749 IFS=$as_save_IFS
6750 case $as_dir in #(((
6751 '') as_dir=./ ;;
6752 */) ;;
6753 *) as_dir=$as_dir/ ;;
6754 esac
6755 for ac_exec_ext in '' $ac_executable_extensions; do
6756 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6757 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6758 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6759 break 2
6761 done
6762 done
6763 IFS=$as_save_IFS
6767 STRIP=$ac_cv_prog_STRIP
6768 if test -n "$STRIP"; then
6769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6770 printf "%s\n" "$STRIP" >&6; }
6771 else
6772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6773 printf "%s\n" "no" >&6; }
6778 if test -z "$ac_cv_prog_STRIP"; then
6779 ac_ct_STRIP=$STRIP
6780 # Extract the first word of "strip", so it can be a program name with args.
6781 set dummy strip; ac_word=$2
6782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6783 printf %s "checking for $ac_word... " >&6; }
6784 if test ${ac_cv_prog_ac_ct_STRIP+y}
6785 then :
6786 printf %s "(cached) " >&6
6787 else $as_nop
6788 if test -n "$ac_ct_STRIP"; then
6789 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6790 else
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792 for as_dir in $PATH
6794 IFS=$as_save_IFS
6795 case $as_dir in #(((
6796 '') as_dir=./ ;;
6797 */) ;;
6798 *) as_dir=$as_dir/ ;;
6799 esac
6800 for ac_exec_ext in '' $ac_executable_extensions; do
6801 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6802 ac_cv_prog_ac_ct_STRIP="strip"
6803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6804 break 2
6806 done
6807 done
6808 IFS=$as_save_IFS
6812 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6813 if test -n "$ac_ct_STRIP"; then
6814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6815 printf "%s\n" "$ac_ct_STRIP" >&6; }
6816 else
6817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6818 printf "%s\n" "no" >&6; }
6821 if test "x$ac_ct_STRIP" = x; then
6822 STRIP="strip"
6823 else
6824 case $cross_compiling:$ac_tool_warned in
6825 yes:)
6826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6827 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6828 ac_tool_warned=yes ;;
6829 esac
6830 STRIP=$ac_ct_STRIP
6832 else
6833 STRIP="$ac_cv_prog_STRIP"
6836 if test -n "$ac_tool_prefix"; then
6837 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6838 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6840 printf %s "checking for $ac_word... " >&6; }
6841 if test ${ac_cv_prog_RANLIB+y}
6842 then :
6843 printf %s "(cached) " >&6
6844 else $as_nop
6845 if test -n "$RANLIB"; then
6846 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6847 else
6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6849 for as_dir in $PATH
6851 IFS=$as_save_IFS
6852 case $as_dir in #(((
6853 '') as_dir=./ ;;
6854 */) ;;
6855 *) as_dir=$as_dir/ ;;
6856 esac
6857 for ac_exec_ext in '' $ac_executable_extensions; do
6858 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6859 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6860 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6861 break 2
6863 done
6864 done
6865 IFS=$as_save_IFS
6869 RANLIB=$ac_cv_prog_RANLIB
6870 if test -n "$RANLIB"; then
6871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6872 printf "%s\n" "$RANLIB" >&6; }
6873 else
6874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875 printf "%s\n" "no" >&6; }
6880 if test -z "$ac_cv_prog_RANLIB"; then
6881 ac_ct_RANLIB=$RANLIB
6882 # Extract the first word of "ranlib", so it can be a program name with args.
6883 set dummy ranlib; ac_word=$2
6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6885 printf %s "checking for $ac_word... " >&6; }
6886 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6887 then :
6888 printf %s "(cached) " >&6
6889 else $as_nop
6890 if test -n "$ac_ct_RANLIB"; then
6891 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6892 else
6893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6894 for as_dir in $PATH
6896 IFS=$as_save_IFS
6897 case $as_dir in #(((
6898 '') as_dir=./ ;;
6899 */) ;;
6900 *) as_dir=$as_dir/ ;;
6901 esac
6902 for ac_exec_ext in '' $ac_executable_extensions; do
6903 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6904 ac_cv_prog_ac_ct_RANLIB="ranlib"
6905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6906 break 2
6908 done
6909 done
6910 IFS=$as_save_IFS
6914 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6915 if test -n "$ac_ct_RANLIB"; then
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6917 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6918 else
6919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920 printf "%s\n" "no" >&6; }
6923 if test "x$ac_ct_RANLIB" = x; then
6924 RANLIB=":"
6925 else
6926 case $cross_compiling:$ac_tool_warned in
6927 yes:)
6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6929 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6930 ac_tool_warned=yes ;;
6931 esac
6932 RANLIB=$ac_ct_RANLIB
6934 else
6935 RANLIB="$ac_cv_prog_RANLIB"
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6939 printf %s "checking whether ln -s works... " >&6; }
6940 LN_S=$as_ln_s
6941 if test "$LN_S" = "ln -s"; then
6942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6943 printf "%s\n" "yes" >&6; }
6944 else
6945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6946 printf "%s\n" "no, using $LN_S" >&6; }
6949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6950 printf %s "checking for grep that handles long lines and -e... " >&6; }
6951 if test ${ac_cv_path_GREP+y}
6952 then :
6953 printf %s "(cached) " >&6
6954 else $as_nop
6955 if test -z "$GREP"; then
6956 ac_path_GREP_found=false
6957 # Loop through the user's path and test for each of PROGNAME-LIST
6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6959 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6961 IFS=$as_save_IFS
6962 case $as_dir in #(((
6963 '') as_dir=./ ;;
6964 */) ;;
6965 *) as_dir=$as_dir/ ;;
6966 esac
6967 for ac_prog in grep ggrep
6969 for ac_exec_ext in '' $ac_executable_extensions; do
6970 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6971 as_fn_executable_p "$ac_path_GREP" || continue
6972 # Check for GNU ac_path_GREP and select it if it is found.
6973 # Check for GNU $ac_path_GREP
6974 case `"$ac_path_GREP" --version 2>&1` in
6975 *GNU*)
6976 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6978 ac_count=0
6979 printf %s 0123456789 >"conftest.in"
6980 while :
6982 cat "conftest.in" "conftest.in" >"conftest.tmp"
6983 mv "conftest.tmp" "conftest.in"
6984 cp "conftest.in" "conftest.nl"
6985 printf "%s\n" 'GREP' >> "conftest.nl"
6986 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6987 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6988 as_fn_arith $ac_count + 1 && ac_count=$as_val
6989 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6990 # Best one so far, save it but keep looking for a better one
6991 ac_cv_path_GREP="$ac_path_GREP"
6992 ac_path_GREP_max=$ac_count
6994 # 10*(2^10) chars as input seems more than enough
6995 test $ac_count -gt 10 && break
6996 done
6997 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6998 esac
7000 $ac_path_GREP_found && break 3
7001 done
7002 done
7003 done
7004 IFS=$as_save_IFS
7005 if test -z "$ac_cv_path_GREP"; then
7006 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7008 else
7009 ac_cv_path_GREP=$GREP
7013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7014 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7015 GREP="$ac_cv_path_GREP"
7018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7019 printf %s "checking for egrep... " >&6; }
7020 if test ${ac_cv_path_EGREP+y}
7021 then :
7022 printf %s "(cached) " >&6
7023 else $as_nop
7024 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7025 then ac_cv_path_EGREP="$GREP -E"
7026 else
7027 if test -z "$EGREP"; then
7028 ac_path_EGREP_found=false
7029 # Loop through the user's path and test for each of PROGNAME-LIST
7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7031 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7033 IFS=$as_save_IFS
7034 case $as_dir in #(((
7035 '') as_dir=./ ;;
7036 */) ;;
7037 *) as_dir=$as_dir/ ;;
7038 esac
7039 for ac_prog in egrep
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7043 as_fn_executable_p "$ac_path_EGREP" || continue
7044 # Check for GNU ac_path_EGREP and select it if it is found.
7045 # Check for GNU $ac_path_EGREP
7046 case `"$ac_path_EGREP" --version 2>&1` in
7047 *GNU*)
7048 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7050 ac_count=0
7051 printf %s 0123456789 >"conftest.in"
7052 while :
7054 cat "conftest.in" "conftest.in" >"conftest.tmp"
7055 mv "conftest.tmp" "conftest.in"
7056 cp "conftest.in" "conftest.nl"
7057 printf "%s\n" 'EGREP' >> "conftest.nl"
7058 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7059 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7060 as_fn_arith $ac_count + 1 && ac_count=$as_val
7061 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7062 # Best one so far, save it but keep looking for a better one
7063 ac_cv_path_EGREP="$ac_path_EGREP"
7064 ac_path_EGREP_max=$ac_count
7066 # 10*(2^10) chars as input seems more than enough
7067 test $ac_count -gt 10 && break
7068 done
7069 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7070 esac
7072 $ac_path_EGREP_found && break 3
7073 done
7074 done
7075 done
7076 IFS=$as_save_IFS
7077 if test -z "$ac_cv_path_EGREP"; then
7078 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7080 else
7081 ac_cv_path_EGREP=$EGREP
7086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7087 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7088 EGREP="$ac_cv_path_EGREP"
7091 # Extract the first word of "ldconfig", so it can be a program name with args.
7092 set dummy ldconfig; ac_word=$2
7093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 printf %s "checking for $ac_word... " >&6; }
7095 if test ${ac_cv_path_LDCONFIG+y}
7096 then :
7097 printf %s "(cached) " >&6
7098 else $as_nop
7099 case $LDCONFIG in
7100 [\\/]* | ?:[\\/]*)
7101 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7105 for as_dir in /sbin /usr/sbin $PATH
7107 IFS=$as_save_IFS
7108 case $as_dir in #(((
7109 '') as_dir=./ ;;
7110 */) ;;
7111 *) as_dir=$as_dir/ ;;
7112 esac
7113 for ac_exec_ext in '' $ac_executable_extensions; do
7114 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7115 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7117 break 2
7119 done
7120 done
7121 IFS=$as_save_IFS
7123 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7125 esac
7127 LDCONFIG=$ac_cv_path_LDCONFIG
7128 if test -n "$LDCONFIG"; then
7129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7130 printf "%s\n" "$LDCONFIG" >&6; }
7131 else
7132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133 printf "%s\n" "no" >&6; }
7137 for ac_prog in msgfmt
7139 # Extract the first word of "$ac_prog", so it can be a program name with args.
7140 set dummy $ac_prog; ac_word=$2
7141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7142 printf %s "checking for $ac_word... " >&6; }
7143 if test ${ac_cv_prog_MSGFMT+y}
7144 then :
7145 printf %s "(cached) " >&6
7146 else $as_nop
7147 if test -n "$MSGFMT"; then
7148 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7149 else
7150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 for as_dir in $PATH
7153 IFS=$as_save_IFS
7154 case $as_dir in #(((
7155 '') as_dir=./ ;;
7156 */) ;;
7157 *) as_dir=$as_dir/ ;;
7158 esac
7159 for ac_exec_ext in '' $ac_executable_extensions; do
7160 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7161 ac_cv_prog_MSGFMT="$ac_prog"
7162 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7163 break 2
7165 done
7166 done
7167 IFS=$as_save_IFS
7171 MSGFMT=$ac_cv_prog_MSGFMT
7172 if test -n "$MSGFMT"; then
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7174 printf "%s\n" "$MSGFMT" >&6; }
7175 else
7176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 printf "%s\n" "no" >&6; }
7181 test -n "$MSGFMT" && break
7182 done
7183 test -n "$MSGFMT" || MSGFMT="false"
7185 if test ${ac_tool_prefix+y}
7186 then :
7187 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7188 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 printf %s "checking for $ac_word... " >&6; }
7191 if test ${ac_cv_prog_PKG_CONFIG+y}
7192 then :
7193 printf %s "(cached) " >&6
7194 else $as_nop
7195 if test -n "$PKG_CONFIG"; then
7196 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7197 else
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 for as_dir in $PATH
7201 IFS=$as_save_IFS
7202 case $as_dir in #(((
7203 '') as_dir=./ ;;
7204 */) ;;
7205 *) as_dir=$as_dir/ ;;
7206 esac
7207 for ac_exec_ext in '' $ac_executable_extensions; do
7208 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7209 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7211 break 2
7213 done
7214 done
7215 IFS=$as_save_IFS
7219 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7220 if test -n "$PKG_CONFIG"; then
7221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7222 printf "%s\n" "$PKG_CONFIG" >&6; }
7223 else
7224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 printf "%s\n" "no" >&6; }
7230 if ${ac_cv_prog_PKG_CONFIG:+false} :
7231 then :
7232 if test "x$cross_compiling" = xyes
7233 then :
7235 else $as_nop
7236 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7237 # Extract the first word of "pkg-config", so it can be a program name with args.
7238 set dummy pkg-config; ac_word=$2
7239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7240 printf %s "checking for $ac_word... " >&6; }
7241 if test ${ac_cv_prog_PKG_CONFIG+y}
7242 then :
7243 printf %s "(cached) " >&6
7244 else $as_nop
7245 if test -n "$PKG_CONFIG"; then
7246 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7247 else
7248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7249 for as_dir in $PATH
7251 IFS=$as_save_IFS
7252 case $as_dir in #(((
7253 '') as_dir=./ ;;
7254 */) ;;
7255 *) as_dir=$as_dir/ ;;
7256 esac
7257 for ac_exec_ext in '' $ac_executable_extensions; do
7258 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7259 ac_cv_prog_PKG_CONFIG="pkg-config"
7260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7261 break 2
7263 done
7264 done
7265 IFS=$as_save_IFS
7269 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7270 if test -n "$PKG_CONFIG"; then
7271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7272 printf "%s\n" "$PKG_CONFIG" >&6; }
7273 else
7274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7275 printf "%s\n" "no" >&6; }
7280 else $as_nop
7281 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7284 if test "x$enable_maintainer_mode" != "xyes"
7285 then
7286 FONTFORGE=""
7287 RSVG=""
7288 CONVERT=""
7289 ICOTOOL=""
7290 else
7291 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7292 for ac_prog in fontforge
7294 # Extract the first word of "$ac_prog", so it can be a program name with args.
7295 set dummy $ac_prog; ac_word=$2
7296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7297 printf %s "checking for $ac_word... " >&6; }
7298 if test ${ac_cv_prog_FONTFORGE+y}
7299 then :
7300 printf %s "(cached) " >&6
7301 else $as_nop
7302 if test -n "$FONTFORGE"; then
7303 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7308 IFS=$as_save_IFS
7309 case $as_dir in #(((
7310 '') as_dir=./ ;;
7311 */) ;;
7312 *) as_dir=$as_dir/ ;;
7313 esac
7314 for ac_exec_ext in '' $ac_executable_extensions; do
7315 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7316 ac_cv_prog_FONTFORGE="$ac_prog"
7317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7318 break 2
7320 done
7321 done
7322 IFS=$as_save_IFS
7326 FONTFORGE=$ac_cv_prog_FONTFORGE
7327 if test -n "$FONTFORGE"; then
7328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7329 printf "%s\n" "$FONTFORGE" >&6; }
7330 else
7331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7332 printf "%s\n" "no" >&6; }
7336 test -n "$FONTFORGE" && break
7337 done
7338 test -n "$FONTFORGE" || FONTFORGE="false"
7340 for ac_prog in rsvg-convert rsvg
7342 # Extract the first word of "$ac_prog", so it can be a program name with args.
7343 set dummy $ac_prog; ac_word=$2
7344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7345 printf %s "checking for $ac_word... " >&6; }
7346 if test ${ac_cv_prog_RSVG+y}
7347 then :
7348 printf %s "(cached) " >&6
7349 else $as_nop
7350 if test -n "$RSVG"; then
7351 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7352 else
7353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 for as_dir in $PATH
7356 IFS=$as_save_IFS
7357 case $as_dir in #(((
7358 '') as_dir=./ ;;
7359 */) ;;
7360 *) as_dir=$as_dir/ ;;
7361 esac
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7364 ac_cv_prog_RSVG="$ac_prog"
7365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7366 break 2
7368 done
7369 done
7370 IFS=$as_save_IFS
7374 RSVG=$ac_cv_prog_RSVG
7375 if test -n "$RSVG"; then
7376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7377 printf "%s\n" "$RSVG" >&6; }
7378 else
7379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 printf "%s\n" "no" >&6; }
7384 test -n "$RSVG" && break
7385 done
7386 test -n "$RSVG" || RSVG="false"
7388 for ac_prog in convert
7390 # Extract the first word of "$ac_prog", so it can be a program name with args.
7391 set dummy $ac_prog; ac_word=$2
7392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393 printf %s "checking for $ac_word... " >&6; }
7394 if test ${ac_cv_prog_CONVERT+y}
7395 then :
7396 printf %s "(cached) " >&6
7397 else $as_nop
7398 if test -n "$CONVERT"; then
7399 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7400 else
7401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7402 for as_dir in $PATH
7404 IFS=$as_save_IFS
7405 case $as_dir in #(((
7406 '') as_dir=./ ;;
7407 */) ;;
7408 *) as_dir=$as_dir/ ;;
7409 esac
7410 for ac_exec_ext in '' $ac_executable_extensions; do
7411 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7412 ac_cv_prog_CONVERT="$ac_prog"
7413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7414 break 2
7416 done
7417 done
7418 IFS=$as_save_IFS
7422 CONVERT=$ac_cv_prog_CONVERT
7423 if test -n "$CONVERT"; then
7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7425 printf "%s\n" "$CONVERT" >&6; }
7426 else
7427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7428 printf "%s\n" "no" >&6; }
7432 test -n "$CONVERT" && break
7433 done
7434 test -n "$CONVERT" || CONVERT="false"
7436 for ac_prog in icotool
7438 # Extract the first word of "$ac_prog", so it can be a program name with args.
7439 set dummy $ac_prog; ac_word=$2
7440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7441 printf %s "checking for $ac_word... " >&6; }
7442 if test ${ac_cv_prog_ICOTOOL+y}
7443 then :
7444 printf %s "(cached) " >&6
7445 else $as_nop
7446 if test -n "$ICOTOOL"; then
7447 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7452 IFS=$as_save_IFS
7453 case $as_dir in #(((
7454 '') as_dir=./ ;;
7455 */) ;;
7456 *) as_dir=$as_dir/ ;;
7457 esac
7458 for ac_exec_ext in '' $ac_executable_extensions; do
7459 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7460 ac_cv_prog_ICOTOOL="$ac_prog"
7461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7462 break 2
7464 done
7465 done
7466 IFS=$as_save_IFS
7470 ICOTOOL=$ac_cv_prog_ICOTOOL
7471 if test -n "$ICOTOOL"; then
7472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7473 printf "%s\n" "$ICOTOOL" >&6; }
7474 else
7475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7476 printf "%s\n" "no" >&6; }
7480 test -n "$ICOTOOL" && break
7481 done
7482 test -n "$ICOTOOL" || ICOTOOL="false"
7484 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7485 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7487 if test "$CONVERT" = false
7488 then
7489 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7490 else
7491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7492 printf %s "checking for recent enough imagemagick... " >&6; }
7493 convert_version=`convert --version | head -n1`
7494 if test "x$convert_version" != "x"
7495 then
7496 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7497 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7498 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7499 then
7500 CONVERT=false
7503 if test "$CONVERT" = false
7504 then
7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7506 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7507 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7508 else
7509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7510 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7514 if test "$ICOTOOL" = false
7515 then
7516 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7517 else
7518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7519 printf %s "checking for recent enough icotool... " >&6; }
7520 icotool_version=`icotool --version | head -n1`
7521 if test "x$icotool_version" != "x"
7522 then
7523 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7524 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7525 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7526 then
7527 ICOTOOL=false
7528 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7531 if test "$ICOTOOL" = false
7532 then
7533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7534 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7535 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7536 else
7537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7538 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7542 with_gettext=yes
7543 with_gettextpo=yes
7545 enable_werror=yes
7548 test "x$with_gettext" != xno || MSGFMT=false
7549 if test "$MSGFMT" != "false"
7550 then
7551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7552 printf %s "checking whether msgfmt supports contexts... " >&6; }
7553 if test ${wine_cv_msgfmt_contexts+y}
7554 then :
7555 printf %s "(cached) " >&6
7556 else $as_nop
7557 cat >conftest.po <<EOF
7558 # comment
7559 msgctxt "ctxt"
7560 msgid "id"
7561 msgstr "str"
7563 if $MSGFMT -o /dev/null conftest.po 2>&5
7564 then
7565 wine_cv_msgfmt_contexts=yes
7566 else
7567 wine_cv_msgfmt_contexts=no
7570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7571 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7572 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7574 if test "$MSGFMT" = false
7575 then :
7576 case "x$with_gettext" in
7577 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7578 xno) ;;
7579 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7580 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7581 esac
7582 enable_po=${enable_po:-no}
7586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7587 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7588 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7589 then :
7590 printf %s "(cached) " >&6
7591 else $as_nop
7592 ac_check_lib_save_LIBS=$LIBS
7593 LIBS="-li386 $LIBS"
7594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h. */
7597 /* Override any GCC internal prototype to avoid an error.
7598 Use char because int might match the return type of a GCC
7599 builtin and then its argument prototype would still apply. */
7600 char i386_set_ldt ();
7602 main (void)
7604 return i386_set_ldt ();
7606 return 0;
7608 _ACEOF
7609 if ac_fn_c_try_link "$LINENO"
7610 then :
7611 ac_cv_lib_i386_i386_set_ldt=yes
7612 else $as_nop
7613 ac_cv_lib_i386_i386_set_ldt=no
7615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7616 conftest$ac_exeext conftest.$ac_ext
7617 LIBS=$ac_check_lib_save_LIBS
7619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7620 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7621 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7622 then :
7623 I386_LIBS="-li386"
7628 OPENGL_LIBS=""
7632 # Check whether --enable-largefile was given.
7633 if test ${enable_largefile+y}
7634 then :
7635 enableval=$enable_largefile;
7638 if test "$enable_largefile" != no; then
7640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7641 printf %s "checking for special C compiler options needed for large files... " >&6; }
7642 if test ${ac_cv_sys_largefile_CC+y}
7643 then :
7644 printf %s "(cached) " >&6
7645 else $as_nop
7646 ac_cv_sys_largefile_CC=no
7647 if test "$GCC" != yes; then
7648 ac_save_CC=$CC
7649 while :; do
7650 # IRIX 6.2 and later do not support large files by default,
7651 # so use the C compiler's -n32 option if that helps.
7652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7653 /* end confdefs.h. */
7654 #include <sys/types.h>
7655 /* Check that off_t can represent 2**63 - 1 correctly.
7656 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7657 since some C++ compilers masquerading as C compilers
7658 incorrectly reject 9223372036854775807. */
7659 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7660 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7661 && LARGE_OFF_T % 2147483647 == 1)
7662 ? 1 : -1];
7664 main (void)
7668 return 0;
7670 _ACEOF
7671 if ac_fn_c_try_compile "$LINENO"
7672 then :
7673 break
7675 rm -f core conftest.err conftest.$ac_objext conftest.beam
7676 CC="$CC -n32"
7677 if ac_fn_c_try_compile "$LINENO"
7678 then :
7679 ac_cv_sys_largefile_CC=' -n32'; break
7681 rm -f core conftest.err conftest.$ac_objext conftest.beam
7682 break
7683 done
7684 CC=$ac_save_CC
7685 rm -f conftest.$ac_ext
7688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7689 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7690 if test "$ac_cv_sys_largefile_CC" != no; then
7691 CC=$CC$ac_cv_sys_largefile_CC
7694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7695 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7696 if test ${ac_cv_sys_file_offset_bits+y}
7697 then :
7698 printf %s "(cached) " >&6
7699 else $as_nop
7700 while :; do
7701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7702 /* end confdefs.h. */
7703 #include <sys/types.h>
7704 /* Check that off_t can represent 2**63 - 1 correctly.
7705 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7706 since some C++ compilers masquerading as C compilers
7707 incorrectly reject 9223372036854775807. */
7708 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7709 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7710 && LARGE_OFF_T % 2147483647 == 1)
7711 ? 1 : -1];
7713 main (void)
7717 return 0;
7719 _ACEOF
7720 if ac_fn_c_try_compile "$LINENO"
7721 then :
7722 ac_cv_sys_file_offset_bits=no; break
7724 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7726 /* end confdefs.h. */
7727 #define _FILE_OFFSET_BITS 64
7728 #include <sys/types.h>
7729 /* Check that off_t can represent 2**63 - 1 correctly.
7730 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7731 since some C++ compilers masquerading as C compilers
7732 incorrectly reject 9223372036854775807. */
7733 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7734 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7735 && LARGE_OFF_T % 2147483647 == 1)
7736 ? 1 : -1];
7738 main (void)
7742 return 0;
7744 _ACEOF
7745 if ac_fn_c_try_compile "$LINENO"
7746 then :
7747 ac_cv_sys_file_offset_bits=64; break
7749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7750 ac_cv_sys_file_offset_bits=unknown
7751 break
7752 done
7754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7755 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7756 case $ac_cv_sys_file_offset_bits in #(
7757 no | unknown) ;;
7759 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7761 esac
7762 rm -rf conftest*
7763 if test $ac_cv_sys_file_offset_bits = unknown; then
7764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7765 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7766 if test ${ac_cv_sys_large_files+y}
7767 then :
7768 printf %s "(cached) " >&6
7769 else $as_nop
7770 while :; do
7771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7772 /* end confdefs.h. */
7773 #include <sys/types.h>
7774 /* Check that off_t can represent 2**63 - 1 correctly.
7775 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7776 since some C++ compilers masquerading as C compilers
7777 incorrectly reject 9223372036854775807. */
7778 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7779 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7780 && LARGE_OFF_T % 2147483647 == 1)
7781 ? 1 : -1];
7783 main (void)
7787 return 0;
7789 _ACEOF
7790 if ac_fn_c_try_compile "$LINENO"
7791 then :
7792 ac_cv_sys_large_files=no; break
7794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7796 /* end confdefs.h. */
7797 #define _LARGE_FILES 1
7798 #include <sys/types.h>
7799 /* Check that off_t can represent 2**63 - 1 correctly.
7800 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7801 since some C++ compilers masquerading as C compilers
7802 incorrectly reject 9223372036854775807. */
7803 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7804 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7805 && LARGE_OFF_T % 2147483647 == 1)
7806 ? 1 : -1];
7808 main (void)
7812 return 0;
7814 _ACEOF
7815 if ac_fn_c_try_compile "$LINENO"
7816 then :
7817 ac_cv_sys_large_files=1; break
7819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7820 ac_cv_sys_large_files=unknown
7821 break
7822 done
7824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7825 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7826 case $ac_cv_sys_large_files in #(
7827 no | unknown) ;;
7829 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7831 esac
7832 rm -rf conftest*
7837 ac_header= ac_cache=
7838 for ac_item in $ac_header_c_list
7840 if test $ac_cache; then
7841 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7842 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7843 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7845 ac_header= ac_cache=
7846 elif test $ac_header; then
7847 ac_cache=$ac_item
7848 else
7849 ac_header=$ac_item
7851 done
7860 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7861 then :
7863 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7866 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7867 if test "x$ac_cv_header_CL_cl_h" = xyes
7868 then :
7869 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7872 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7873 if test "x$ac_cv_header_EGL_egl_h" = xyes
7874 then :
7875 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7878 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7879 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7880 then :
7881 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7884 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7885 if test "x$ac_cv_header_arpa_inet_h" = xyes
7886 then :
7887 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7890 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7891 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7892 then :
7893 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7896 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7897 if test "x$ac_cv_header_asm_types_h" = xyes
7898 then :
7899 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7902 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7903 if test "x$ac_cv_header_asm_user_h" = xyes
7904 then :
7905 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7908 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_elf_h" = xyes
7910 then :
7911 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7914 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7915 if test "x$ac_cv_header_float_h" = xyes
7916 then :
7917 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7920 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7921 if test "x$ac_cv_header_gettext_po_h" = xyes
7922 then :
7923 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7926 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7927 if test "x$ac_cv_header_libproc_h" = xyes
7928 then :
7929 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7932 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7933 if test "x$ac_cv_header_link_h" = xyes
7934 then :
7935 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7938 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7940 then :
7941 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7944 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7945 if test "x$ac_cv_header_linux_filter_h" = xyes
7946 then :
7947 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7950 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7952 then :
7953 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7956 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7957 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7958 then :
7959 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7962 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7963 if test "x$ac_cv_header_linux_input_h" = xyes
7964 then :
7965 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7968 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7970 then :
7971 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7974 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7975 if test "x$ac_cv_header_linux_major_h" = xyes
7976 then :
7977 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7980 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7981 if test "x$ac_cv_header_linux_param_h" = xyes
7982 then :
7983 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7986 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_linux_serial_h" = xyes
7988 then :
7989 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7992 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7993 if test "x$ac_cv_header_linux_types_h" = xyes
7994 then :
7995 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7998 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8000 then :
8001 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8004 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_lwp_h" = xyes
8006 then :
8007 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8010 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8011 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8012 then :
8013 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8016 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8017 if test "x$ac_cv_header_mach_mach_h" = xyes
8018 then :
8019 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8022 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8023 if test "x$ac_cv_header_machine_cpu_h" = xyes
8024 then :
8025 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8028 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8029 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8030 then :
8031 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8034 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_mntent_h" = xyes
8036 then :
8037 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8040 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8041 if test "x$ac_cv_header_netdb_h" = xyes
8042 then :
8043 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8046 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8047 if test "x$ac_cv_header_netinet_in_h" = xyes
8048 then :
8049 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8052 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8053 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8054 then :
8055 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8058 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8059 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8060 then :
8061 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8064 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8066 then :
8067 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8070 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8072 then :
8073 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8076 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8077 if test "x$ac_cv_header_port_h" = xyes
8078 then :
8079 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8082 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8083 if test "x$ac_cv_header_pthread_h" = xyes
8084 then :
8085 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8088 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8089 if test "x$ac_cv_header_pwd_h" = xyes
8090 then :
8091 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8094 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_sched_h" = xyes
8096 then :
8097 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8100 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8102 then :
8103 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8106 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8107 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8108 then :
8109 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8112 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_scsi_sg_h" = xyes
8114 then :
8115 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8118 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8119 if test "x$ac_cv_header_stdint_h" = xyes
8120 then :
8121 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8124 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_sys_attr_h" = xyes
8126 then :
8127 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8130 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_sys_auxv_h" = xyes
8132 then :
8133 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8136 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8137 if test "x$ac_cv_header_sys_cdio_h" = xyes
8138 then :
8139 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8142 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_sys_epoll_h" = xyes
8144 then :
8145 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_sys_event_h" = xyes
8150 then :
8151 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_sys_extattr_h" = xyes
8156 then :
8157 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_sys_filio_h" = xyes
8162 then :
8163 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_sys_ipc_h" = xyes
8168 then :
8169 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_sys_link_h" = xyes
8174 then :
8175 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_modem_h" = xyes
8180 then :
8181 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_sys_mtio_h" = xyes
8186 then :
8187 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_sys_param_h" = xyes
8192 then :
8193 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_sys_prctl_h" = xyes
8198 then :
8199 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8204 then :
8205 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_sys_queue_h" = xyes
8210 then :
8211 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_sys_random_h" = xyes
8216 then :
8217 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_sys_resource_h" = xyes
8222 then :
8223 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8228 then :
8229 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_sys_shm_h" = xyes
8234 then :
8235 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_sys_signal_h" = xyes
8240 then :
8241 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8246 then :
8247 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_sys_sockio_h" = xyes
8252 then :
8253 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8258 then :
8259 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_sys_strtio_h" = xyes
8264 then :
8265 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_sys_syscall_h" = xyes
8270 then :
8271 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8276 then :
8277 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_sys_times_h" = xyes
8282 then :
8283 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8286 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8287 if test "x$ac_cv_header_sys_uio_h" = xyes
8288 then :
8289 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8292 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_sys_user_h" = xyes
8294 then :
8295 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8298 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_sys_utsname_h" = xyes
8300 then :
8301 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8304 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8305 if test "x$ac_cv_header_sys_vnode_h" = xyes
8306 then :
8307 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_sys_xattr_h" = xyes
8312 then :
8313 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8316 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_syscall_h" = xyes
8318 then :
8319 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8322 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_utime_h" = xyes
8324 then :
8325 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8328 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8329 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8330 then :
8331 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8334 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8335 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8336 then :
8337 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8341 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8342 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8343 then :
8345 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8349 if test $ac_cv_header_sys_mkdev_h = no; then
8350 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8351 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8352 then :
8354 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8360 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8361 if test ${ac_cv_header_stat_broken+y}
8362 then :
8363 printf %s "(cached) " >&6
8364 else $as_nop
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8367 #include <sys/types.h>
8368 #include <sys/stat.h>
8370 #if defined S_ISBLK && defined S_IFDIR
8371 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8372 #endif
8374 #if defined S_ISBLK && defined S_IFCHR
8375 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8376 #endif
8378 #if defined S_ISLNK && defined S_IFREG
8379 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8380 #endif
8382 #if defined S_ISSOCK && defined S_IFREG
8383 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8384 #endif
8386 _ACEOF
8387 if ac_fn_c_try_compile "$LINENO"
8388 then :
8389 ac_cv_header_stat_broken=no
8390 else $as_nop
8391 ac_cv_header_stat_broken=yes
8393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8396 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8397 if test $ac_cv_header_stat_broken = yes; then
8399 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8405 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8406 #ifdef HAVE_SYS_PARAM_H
8407 # include <sys/param.h>
8408 #endif
8410 if test "x$ac_cv_header_sys_conf_h" = xyes
8411 then :
8412 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8415 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8416 #ifdef HAVE_SYS_PARAM_H
8417 # include <sys/param.h>
8418 #endif
8420 if test "x$ac_cv_header_sys_mount_h" = xyes
8421 then :
8422 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8425 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8426 #ifdef HAVE_SYS_PARAM_H
8427 # include <sys/param.h>
8428 #endif
8430 if test "x$ac_cv_header_sys_statfs_h" = xyes
8431 then :
8432 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8435 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8436 #ifdef HAVE_SYS_PARAM_H
8437 # include <sys/param.h>
8438 #endif
8440 if test "x$ac_cv_header_sys_user_h" = xyes
8441 then :
8442 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8445 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8446 #ifdef HAVE_SYS_PARAM_H
8447 # include <sys/param.h>
8448 #endif
8450 if test "x$ac_cv_header_sys_vfs_h" = xyes
8451 then :
8452 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8457 saved_sysctl_h_CFLAGS=$CFLAGS
8458 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8459 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8460 #ifdef HAVE_SYS_PARAM_H
8461 # include <sys/param.h>
8462 #endif
8464 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8465 then :
8466 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8470 CFLAGS=$saved_sysctl_h_CFLAGS
8472 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8473 #include <sys/socket.h>
8474 #ifdef HAVE_SYS_SOCKETVAR_H
8475 # include <sys/socketvar.h>
8476 #endif
8477 #ifdef HAVE_NET_ROUTE_H
8478 # include <net/route.h>
8479 #endif
8480 #ifdef HAVE_NETINET_IN_H
8481 # include <netinet/in.h>
8482 #endif
8483 #ifdef HAVE_NETINET_IN_SYSTM_H
8484 # include <netinet/in_systm.h>
8485 #endif
8486 #ifdef HAVE_NET_IF_H
8487 # include <net/if.h>
8488 #endif
8489 #ifdef HAVE_NETINET_IP_H
8490 # include <netinet/ip.h>
8491 #endif
8493 if test "x$ac_cv_header_netinet_ip_h" = xyes
8494 then :
8495 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8498 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8499 #include <sys/socket.h>
8500 #ifdef HAVE_SYS_SOCKETVAR_H
8501 # include <sys/socketvar.h>
8502 #endif
8503 #ifdef HAVE_NET_ROUTE_H
8504 # include <net/route.h>
8505 #endif
8506 #ifdef HAVE_NETINET_IN_H
8507 # include <netinet/in.h>
8508 #endif
8509 #ifdef HAVE_NETINET_IN_SYSTM_H
8510 # include <netinet/in_systm.h>
8511 #endif
8512 #ifdef HAVE_NET_IF_H
8513 # include <net/if.h>
8514 #endif
8515 #ifdef HAVE_NETINET_IP_H
8516 # include <netinet/ip.h>
8517 #endif
8519 if test "x$ac_cv_header_net_if_h" = xyes
8520 then :
8521 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8524 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8525 #include <sys/socket.h>
8526 #ifdef HAVE_SYS_SOCKETVAR_H
8527 # include <sys/socketvar.h>
8528 #endif
8529 #ifdef HAVE_NET_ROUTE_H
8530 # include <net/route.h>
8531 #endif
8532 #ifdef HAVE_NETINET_IN_H
8533 # include <netinet/in.h>
8534 #endif
8535 #ifdef HAVE_NETINET_IN_SYSTM_H
8536 # include <netinet/in_systm.h>
8537 #endif
8538 #ifdef HAVE_NET_IF_H
8539 # include <net/if.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IP_H
8542 # include <netinet/ip.h>
8543 #endif
8545 if test "x$ac_cv_header_net_if_arp_h" = xyes
8546 then :
8547 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8550 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8551 #include <sys/socket.h>
8552 #ifdef HAVE_SYS_SOCKETVAR_H
8553 # include <sys/socketvar.h>
8554 #endif
8555 #ifdef HAVE_NET_ROUTE_H
8556 # include <net/route.h>
8557 #endif
8558 #ifdef HAVE_NETINET_IN_H
8559 # include <netinet/in.h>
8560 #endif
8561 #ifdef HAVE_NETINET_IN_SYSTM_H
8562 # include <netinet/in_systm.h>
8563 #endif
8564 #ifdef HAVE_NET_IF_H
8565 # include <net/if.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IP_H
8568 # include <netinet/ip.h>
8569 #endif
8571 if test "x$ac_cv_header_net_if_dl_h" = xyes
8572 then :
8573 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8576 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8577 #include <sys/socket.h>
8578 #ifdef HAVE_SYS_SOCKETVAR_H
8579 # include <sys/socketvar.h>
8580 #endif
8581 #ifdef HAVE_NET_ROUTE_H
8582 # include <net/route.h>
8583 #endif
8584 #ifdef HAVE_NETINET_IN_H
8585 # include <netinet/in.h>
8586 #endif
8587 #ifdef HAVE_NETINET_IN_SYSTM_H
8588 # include <netinet/in_systm.h>
8589 #endif
8590 #ifdef HAVE_NET_IF_H
8591 # include <net/if.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IP_H
8594 # include <netinet/ip.h>
8595 #endif
8597 if test "x$ac_cv_header_net_if_types_h" = xyes
8598 then :
8599 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8602 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8603 #include <sys/socket.h>
8604 #ifdef HAVE_SYS_SOCKETVAR_H
8605 # include <sys/socketvar.h>
8606 #endif
8607 #ifdef HAVE_NET_ROUTE_H
8608 # include <net/route.h>
8609 #endif
8610 #ifdef HAVE_NETINET_IN_H
8611 # include <netinet/in.h>
8612 #endif
8613 #ifdef HAVE_NETINET_IN_SYSTM_H
8614 # include <netinet/in_systm.h>
8615 #endif
8616 #ifdef HAVE_NET_IF_H
8617 # include <net/if.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IP_H
8620 # include <netinet/ip.h>
8621 #endif
8623 if test "x$ac_cv_header_net_route_h" = xyes
8624 then :
8625 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8628 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8629 #include <sys/socket.h>
8630 #ifdef HAVE_SYS_SOCKETVAR_H
8631 # include <sys/socketvar.h>
8632 #endif
8633 #ifdef HAVE_NET_ROUTE_H
8634 # include <net/route.h>
8635 #endif
8636 #ifdef HAVE_NETINET_IN_H
8637 # include <netinet/in.h>
8638 #endif
8639 #ifdef HAVE_NETINET_IN_SYSTM_H
8640 # include <netinet/in_systm.h>
8641 #endif
8642 #ifdef HAVE_NET_IF_H
8643 # include <net/if.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IP_H
8646 # include <netinet/ip.h>
8647 #endif
8649 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8650 then :
8651 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8654 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8655 #include <sys/socket.h>
8656 #ifdef HAVE_SYS_SOCKETVAR_H
8657 # include <sys/socketvar.h>
8658 #endif
8659 #ifdef HAVE_NET_ROUTE_H
8660 # include <net/route.h>
8661 #endif
8662 #ifdef HAVE_NETINET_IN_H
8663 # include <netinet/in.h>
8664 #endif
8665 #ifdef HAVE_NETINET_IN_SYSTM_H
8666 # include <netinet/in_systm.h>
8667 #endif
8668 #ifdef HAVE_NET_IF_H
8669 # include <net/if.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IP_H
8672 # include <netinet/ip.h>
8673 #endif
8675 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8676 then :
8677 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8680 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8681 #include <sys/socket.h>
8682 #ifdef HAVE_SYS_SOCKETVAR_H
8683 # include <sys/socketvar.h>
8684 #endif
8685 #ifdef HAVE_NET_ROUTE_H
8686 # include <net/route.h>
8687 #endif
8688 #ifdef HAVE_NETINET_IN_H
8689 # include <netinet/in.h>
8690 #endif
8691 #ifdef HAVE_NETINET_IN_SYSTM_H
8692 # include <netinet/in_systm.h>
8693 #endif
8694 #ifdef HAVE_NET_IF_H
8695 # include <net/if.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IP_H
8698 # include <netinet/ip.h>
8699 #endif
8701 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8702 then :
8703 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8706 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8707 #include <sys/socket.h>
8708 #ifdef HAVE_SYS_SOCKETVAR_H
8709 # include <sys/socketvar.h>
8710 #endif
8711 #ifdef HAVE_NET_ROUTE_H
8712 # include <net/route.h>
8713 #endif
8714 #ifdef HAVE_NETINET_IN_H
8715 # include <netinet/in.h>
8716 #endif
8717 #ifdef HAVE_NETINET_IN_SYSTM_H
8718 # include <netinet/in_systm.h>
8719 #endif
8720 #ifdef HAVE_NET_IF_H
8721 # include <net/if.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IP_H
8724 # include <netinet/ip.h>
8725 #endif
8727 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8728 then :
8729 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8732 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8733 #include <sys/socket.h>
8734 #ifdef HAVE_SYS_SOCKETVAR_H
8735 # include <sys/socketvar.h>
8736 #endif
8737 #ifdef HAVE_NET_ROUTE_H
8738 # include <net/route.h>
8739 #endif
8740 #ifdef HAVE_NETINET_IN_H
8741 # include <netinet/in.h>
8742 #endif
8743 #ifdef HAVE_NETINET_IN_SYSTM_H
8744 # include <netinet/in_systm.h>
8745 #endif
8746 #ifdef HAVE_NET_IF_H
8747 # include <net/if.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IP_H
8750 # include <netinet/ip.h>
8751 #endif
8753 if test "x$ac_cv_header_netinet_udp_h" = xyes
8754 then :
8755 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8758 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8759 #include <sys/socket.h>
8760 #ifdef HAVE_SYS_SOCKETVAR_H
8761 # include <sys/socketvar.h>
8762 #endif
8763 #ifdef HAVE_NET_ROUTE_H
8764 # include <net/route.h>
8765 #endif
8766 #ifdef HAVE_NETINET_IN_H
8767 # include <netinet/in.h>
8768 #endif
8769 #ifdef HAVE_NETINET_IN_SYSTM_H
8770 # include <netinet/in_systm.h>
8771 #endif
8772 #ifdef HAVE_NET_IF_H
8773 # include <net/if.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IP_H
8776 # include <netinet/ip.h>
8777 #endif
8779 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8780 then :
8781 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8784 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8785 #include <sys/socket.h>
8786 #ifdef HAVE_SYS_SOCKETVAR_H
8787 # include <sys/socketvar.h>
8788 #endif
8789 #ifdef HAVE_NET_ROUTE_H
8790 # include <net/route.h>
8791 #endif
8792 #ifdef HAVE_NETINET_IN_H
8793 # include <netinet/in.h>
8794 #endif
8795 #ifdef HAVE_NETINET_IN_SYSTM_H
8796 # include <netinet/in_systm.h>
8797 #endif
8798 #ifdef HAVE_NET_IF_H
8799 # include <net/if.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IP_H
8802 # include <netinet/ip.h>
8803 #endif
8805 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8806 then :
8807 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8810 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8811 #include <sys/socket.h>
8812 #ifdef HAVE_SYS_SOCKETVAR_H
8813 # include <sys/socketvar.h>
8814 #endif
8815 #ifdef HAVE_NET_ROUTE_H
8816 # include <net/route.h>
8817 #endif
8818 #ifdef HAVE_NETINET_IN_H
8819 # include <netinet/in.h>
8820 #endif
8821 #ifdef HAVE_NETINET_IN_SYSTM_H
8822 # include <netinet/in_systm.h>
8823 #endif
8824 #ifdef HAVE_NET_IF_H
8825 # include <net/if.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IP_H
8828 # include <netinet/ip.h>
8829 #endif
8831 if test "x$ac_cv_header_sys_un_h" = xyes
8832 then :
8833 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8838 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8839 #include <sys/socket.h>
8840 #ifdef HAVE_SYS_SOCKETVAR_H
8841 # include <sys/socketvar.h>
8842 #endif
8843 #ifdef HAVE_NETINET_IN_H
8844 # include <netinet/in.h>
8845 #endif
8846 #ifdef HAVE_NETINET_IN_SYSTM_H
8847 # include <netinet/in_systm.h>
8848 #endif
8849 #ifdef HAVE_NETINET_IP_H
8850 # include <netinet/ip.h>
8851 #endif
8852 #ifdef HAVE_NETINET_IP_VAR_H
8853 # include <netinet/ip_var.h>
8854 #endif
8855 #ifdef HAVE_NETINET_IP_ICMP_H
8856 # include <netinet/ip_icmp.h>
8857 #endif
8858 #ifdef HAVE_NETINET_UDP_H
8859 # include <netinet/udp.h>
8860 #endif
8861 #ifdef HAVE_NETINET_TCP_H
8862 # include <netinet/tcp.h>
8863 #endif
8865 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8866 then :
8867 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8870 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8871 #include <sys/socket.h>
8872 #ifdef HAVE_SYS_SOCKETVAR_H
8873 # include <sys/socketvar.h>
8874 #endif
8875 #ifdef HAVE_NETINET_IN_H
8876 # include <netinet/in.h>
8877 #endif
8878 #ifdef HAVE_NETINET_IN_SYSTM_H
8879 # include <netinet/in_systm.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IP_H
8882 # include <netinet/ip.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IP_VAR_H
8885 # include <netinet/ip_var.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IP_ICMP_H
8888 # include <netinet/ip_icmp.h>
8889 #endif
8890 #ifdef HAVE_NETINET_UDP_H
8891 # include <netinet/udp.h>
8892 #endif
8893 #ifdef HAVE_NETINET_TCP_H
8894 # include <netinet/tcp.h>
8895 #endif
8897 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8898 then :
8899 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8902 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8903 #include <sys/socket.h>
8904 #ifdef HAVE_SYS_SOCKETVAR_H
8905 # include <sys/socketvar.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IN_H
8908 # include <netinet/in.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IN_SYSTM_H
8911 # include <netinet/in_systm.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IP_H
8914 # include <netinet/ip.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IP_VAR_H
8917 # include <netinet/ip_var.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IP_ICMP_H
8920 # include <netinet/ip_icmp.h>
8921 #endif
8922 #ifdef HAVE_NETINET_UDP_H
8923 # include <netinet/udp.h>
8924 #endif
8925 #ifdef HAVE_NETINET_TCP_H
8926 # include <netinet/tcp.h>
8927 #endif
8929 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8930 then :
8931 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8934 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8935 #include <sys/socket.h>
8936 #ifdef HAVE_SYS_SOCKETVAR_H
8937 # include <sys/socketvar.h>
8938 #endif
8939 #ifdef HAVE_NETINET_IN_H
8940 # include <netinet/in.h>
8941 #endif
8942 #ifdef HAVE_NETINET_IN_SYSTM_H
8943 # include <netinet/in_systm.h>
8944 #endif
8945 #ifdef HAVE_NETINET_IP_H
8946 # include <netinet/ip.h>
8947 #endif
8948 #ifdef HAVE_NETINET_IP_VAR_H
8949 # include <netinet/ip_var.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IP_ICMP_H
8952 # include <netinet/ip_icmp.h>
8953 #endif
8954 #ifdef HAVE_NETINET_UDP_H
8955 # include <netinet/udp.h>
8956 #endif
8957 #ifdef HAVE_NETINET_TCP_H
8958 # include <netinet/tcp.h>
8959 #endif
8961 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8962 then :
8963 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8968 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8969 #include <sys/socket.h>
8970 #ifdef HAVE_ASM_TYPES_H
8971 # include <asm/types.h>
8972 #endif
8973 #ifdef HAVE_LINUX_TYPES_H
8974 # include <linux/types.h>
8975 #endif
8977 if test "x$ac_cv_header_linux_ipx_h" = xyes
8978 then :
8979 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8982 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8983 #include <sys/socket.h>
8984 #ifdef HAVE_ASM_TYPES_H
8985 # include <asm/types.h>
8986 #endif
8987 #ifdef HAVE_LINUX_TYPES_H
8988 # include <linux/types.h>
8989 #endif
8991 if test "x$ac_cv_header_linux_irda_h" = xyes
8992 then :
8993 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8996 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8997 #include <sys/socket.h>
8998 #ifdef HAVE_ASM_TYPES_H
8999 # include <asm/types.h>
9000 #endif
9001 #ifdef HAVE_LINUX_TYPES_H
9002 # include <linux/types.h>
9003 #endif
9005 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9006 then :
9007 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9012 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9013 #include <sys/socket.h>
9014 #ifdef HAVE_NETINET_IN_H
9015 # include <netinet/in.h>
9016 #endif
9017 #ifdef HAVE_ARPA_NAMESER_H
9018 # include <arpa/nameser.h>
9019 #endif
9021 if test "x$ac_cv_header_resolv_h" = xyes
9022 then :
9023 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9028 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9030 if test "x$ac_cv_header_ifaddrs_h" = xyes
9031 then :
9032 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9037 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9039 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9040 then :
9041 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9046 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9047 #ifdef HAVE_SYS_UCONTEXT_H
9048 #include <sys/ucontext.h>
9049 #endif
9051 if test "x$ac_cv_header_sys_thr_h" = xyes
9052 then :
9053 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9058 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9059 #include <pthread.h>
9060 #endif
9062 if test "x$ac_cv_header_pthread_np_h" = xyes
9063 then :
9064 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9069 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9070 #include <sys/types.h>
9071 #ifdef HAVE_ASM_TYPES_H
9072 #include <asm/types.h>
9073 #endif
9075 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9076 then :
9077 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9082 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9083 #include <sys/param.h>
9084 #endif
9085 #include <sys/socket.h>
9086 #ifdef HAVE_SYS_QUEUE_H
9087 #include <sys/queue.h>
9088 #endif
9090 if test "x$ac_cv_header_libprocstat_h" = xyes
9091 then :
9092 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9097 if test "x$ac_cv_header_sys_xattr_h" = xyes
9098 then
9099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9100 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9101 if test ${wine_cv_xattr_extra_args+y}
9102 then :
9103 printf %s "(cached) " >&6
9104 else $as_nop
9105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9106 /* end confdefs.h. */
9107 #include <sys/xattr.h>
9109 main (void)
9111 getxattr("", "", "", 0, 0, 0);
9113 return 0;
9115 _ACEOF
9116 if ac_fn_c_try_compile "$LINENO"
9117 then :
9118 wine_cv_xattr_extra_args=yes
9119 else $as_nop
9120 wine_cv_xattr_extra_args=no
9122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9125 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9126 test $wine_cv_xattr_extra_args != yes ||
9127 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9132 DLLFLAGS=""
9134 LDDLLFLAGS=""
9136 LDEXECFLAGS=""
9138 EXTRACFLAGS=""
9140 UNIXDLLFLAGS="-fPIC"
9142 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9144 TOP_INSTALL_LIB=""
9146 TOP_INSTALL_DEV=""
9148 WINELOADER_LDFLAGS=""
9150 WINEPRELOADER_LDFLAGS=""
9152 DLLEXT=".so"
9154 LIBEXT="so"
9155 # Extract the first word of "ldd", so it can be a program name with args.
9156 set dummy ldd; ac_word=$2
9157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9158 printf %s "checking for $ac_word... " >&6; }
9159 if test ${ac_cv_path_LDD+y}
9160 then :
9161 printf %s "(cached) " >&6
9162 else $as_nop
9163 case $LDD in
9164 [\\/]* | ?:[\\/]*)
9165 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9169 as_dummy="/sbin:/usr/sbin:$PATH"
9170 for as_dir in $as_dummy
9172 IFS=$as_save_IFS
9173 case $as_dir in #(((
9174 '') as_dir=./ ;;
9175 */) ;;
9176 *) as_dir=$as_dir/ ;;
9177 esac
9178 for ac_exec_ext in '' $ac_executable_extensions; do
9179 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9180 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9182 break 2
9184 done
9185 done
9186 IFS=$as_save_IFS
9188 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9190 esac
9192 LDD=$ac_cv_path_LDD
9193 if test -n "$LDD"; then
9194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9195 printf "%s\n" "$LDD" >&6; }
9196 else
9197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9198 printf "%s\n" "no" >&6; }
9202 if test -n "$ac_tool_prefix"; then
9203 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9204 set dummy ${ac_tool_prefix}otool; ac_word=$2
9205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9206 printf %s "checking for $ac_word... " >&6; }
9207 if test ${ac_cv_prog_OTOOL+y}
9208 then :
9209 printf %s "(cached) " >&6
9210 else $as_nop
9211 if test -n "$OTOOL"; then
9212 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9213 else
9214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9215 for as_dir in $PATH
9217 IFS=$as_save_IFS
9218 case $as_dir in #(((
9219 '') as_dir=./ ;;
9220 */) ;;
9221 *) as_dir=$as_dir/ ;;
9222 esac
9223 for ac_exec_ext in '' $ac_executable_extensions; do
9224 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9225 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9227 break 2
9229 done
9230 done
9231 IFS=$as_save_IFS
9235 OTOOL=$ac_cv_prog_OTOOL
9236 if test -n "$OTOOL"; then
9237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9238 printf "%s\n" "$OTOOL" >&6; }
9239 else
9240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9241 printf "%s\n" "no" >&6; }
9246 if test -z "$ac_cv_prog_OTOOL"; then
9247 ac_ct_OTOOL=$OTOOL
9248 # Extract the first word of "otool", so it can be a program name with args.
9249 set dummy otool; ac_word=$2
9250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9251 printf %s "checking for $ac_word... " >&6; }
9252 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9253 then :
9254 printf %s "(cached) " >&6
9255 else $as_nop
9256 if test -n "$ac_ct_OTOOL"; then
9257 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9258 else
9259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9260 for as_dir in $PATH
9262 IFS=$as_save_IFS
9263 case $as_dir in #(((
9264 '') as_dir=./ ;;
9265 */) ;;
9266 *) as_dir=$as_dir/ ;;
9267 esac
9268 for ac_exec_ext in '' $ac_executable_extensions; do
9269 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9270 ac_cv_prog_ac_ct_OTOOL="otool"
9271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9272 break 2
9274 done
9275 done
9276 IFS=$as_save_IFS
9280 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9281 if test -n "$ac_ct_OTOOL"; then
9282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9283 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9284 else
9285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9286 printf "%s\n" "no" >&6; }
9289 if test "x$ac_ct_OTOOL" = x; then
9290 OTOOL="otool"
9291 else
9292 case $cross_compiling:$ac_tool_warned in
9293 yes:)
9294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9295 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9296 ac_tool_warned=yes ;;
9297 esac
9298 OTOOL=$ac_ct_OTOOL
9300 else
9301 OTOOL="$ac_cv_prog_OTOOL"
9304 if test -n "$ac_tool_prefix"; then
9305 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9306 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9308 printf %s "checking for $ac_word... " >&6; }
9309 if test ${ac_cv_prog_READELF+y}
9310 then :
9311 printf %s "(cached) " >&6
9312 else $as_nop
9313 if test -n "$READELF"; then
9314 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9315 else
9316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9317 for as_dir in $PATH
9319 IFS=$as_save_IFS
9320 case $as_dir in #(((
9321 '') as_dir=./ ;;
9322 */) ;;
9323 *) as_dir=$as_dir/ ;;
9324 esac
9325 for ac_exec_ext in '' $ac_executable_extensions; do
9326 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9327 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9329 break 2
9331 done
9332 done
9333 IFS=$as_save_IFS
9337 READELF=$ac_cv_prog_READELF
9338 if test -n "$READELF"; then
9339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9340 printf "%s\n" "$READELF" >&6; }
9341 else
9342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9343 printf "%s\n" "no" >&6; }
9348 if test -z "$ac_cv_prog_READELF"; then
9349 ac_ct_READELF=$READELF
9350 # Extract the first word of "readelf", so it can be a program name with args.
9351 set dummy readelf; ac_word=$2
9352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9353 printf %s "checking for $ac_word... " >&6; }
9354 if test ${ac_cv_prog_ac_ct_READELF+y}
9355 then :
9356 printf %s "(cached) " >&6
9357 else $as_nop
9358 if test -n "$ac_ct_READELF"; then
9359 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9360 else
9361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9362 for as_dir in $PATH
9364 IFS=$as_save_IFS
9365 case $as_dir in #(((
9366 '') as_dir=./ ;;
9367 */) ;;
9368 *) as_dir=$as_dir/ ;;
9369 esac
9370 for ac_exec_ext in '' $ac_executable_extensions; do
9371 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9372 ac_cv_prog_ac_ct_READELF="readelf"
9373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9374 break 2
9376 done
9377 done
9378 IFS=$as_save_IFS
9382 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9383 if test -n "$ac_ct_READELF"; then
9384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9385 printf "%s\n" "$ac_ct_READELF" >&6; }
9386 else
9387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9388 printf "%s\n" "no" >&6; }
9391 if test "x$ac_ct_READELF" = x; then
9392 READELF="true"
9393 else
9394 case $cross_compiling:$ac_tool_warned in
9395 yes:)
9396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9397 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9398 ac_tool_warned=yes ;;
9399 esac
9400 READELF=$ac_ct_READELF
9402 else
9403 READELF="$ac_cv_prog_READELF"
9406 wine_rules="all:"
9407 SUBDIRS=""
9409 DISABLED_SUBDIRS=""
9411 CONFIGURE_TARGETS=""
9414 wine_fn_config_makefile ()
9416 as_fn_append SUBDIRS " \\$as_nl $1"
9417 eval enable=\$$2
9418 case "$enable" in
9419 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9420 *aarch64*|*arm*|*i386*|*x86_64*)
9421 if test -n "$PE_ARCHS"
9422 then
9423 for i in $PE_ARCHS
9425 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9426 done
9427 else
9428 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9429 fi;;
9430 esac
9433 wine_fn_config_symlink ()
9435 ac_links=$@
9436 as_fn_append wine_rules "
9437 $ac_links:
9438 @./config.status \$@"
9439 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9442 case $host_os in
9443 cygwin*|mingw32*)
9444 LIBEXT="dll"
9445 DLLEXT=""
9446 EXTRACFLAGS="-D__WINE_PE_BUILD"
9447 case $host_cpu in
9448 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9449 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9450 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9451 then :
9452 printf %s "(cached) " >&6
9453 else $as_nop
9454 ac_wine_try_cflags_saved=$CFLAGS
9455 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9458 int main(int argc, char **argv) { return 0; }
9459 _ACEOF
9460 if ac_fn_c_try_link "$LINENO"
9461 then :
9462 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9463 else $as_nop
9464 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9467 conftest$ac_exeext conftest.$ac_ext
9468 CFLAGS=$ac_wine_try_cflags_saved
9470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9471 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9472 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9473 then :
9474 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9475 fi ;;
9476 esac
9477 enable_loader=${enable_loader:-no}
9478 enable_server=${enable_server:-no}
9479 with_x=${with_x:-no}
9480 with_pthread=${with_pthread:-no}
9483 darwin*|macosx*)
9484 LIBEXT="dylib"
9485 DLLFLAGS="$DLLFLAGS -fPIC"
9486 LDDLLFLAGS="-fPIC"
9487 enable_winemac_drv=${enable_winemac_drv:-yes}
9488 CARBON_LIBS="-framework Carbon"
9490 COREFOUNDATION_LIBS="-framework CoreFoundation"
9492 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9494 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9496 METAL_LIBS="-framework Metal"
9498 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9500 CORESERVICES_LIBS="-framework CoreServices"
9502 APPKIT_LIBS="-framework AppKit"
9504 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9506 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9509 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9511 wine_can_build_preloader=yes
9512 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"
9513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9514 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9515 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9516 then :
9517 printf %s "(cached) " >&6
9518 else $as_nop
9519 ac_wine_try_cflags_saved=$CFLAGS
9520 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9523 int main(int argc, char **argv) { return 0; }
9524 _ACEOF
9525 if ac_fn_c_try_link "$LINENO"
9526 then :
9527 ac_cv_cflags__Wl__no_new_main__e__main=yes
9528 else $as_nop
9529 ac_cv_cflags__Wl__no_new_main__e__main=no
9531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9532 conftest$ac_exeext conftest.$ac_ext
9533 CFLAGS=$ac_wine_try_cflags_saved
9535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9536 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9537 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9538 then :
9539 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9540 { 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
9541 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9542 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9543 then :
9544 printf %s "(cached) " >&6
9545 else $as_nop
9546 ac_wine_try_cflags_saved=$CFLAGS
9547 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9550 int main(int argc, char **argv) { return 0; }
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"
9553 then :
9554 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9555 else $as_nop
9556 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9559 conftest$ac_exeext conftest.$ac_ext
9560 CFLAGS=$ac_wine_try_cflags_saved
9562 { 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
9563 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9564 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9565 then :
9566 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9567 else $as_nop
9568 wine_can_build_preloader=no
9570 else $as_nop
9571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9572 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9573 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9574 then :
9575 printf %s "(cached) " >&6
9576 else $as_nop
9577 ac_wine_try_cflags_saved=$CFLAGS
9578 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9580 /* end confdefs.h. */
9581 int main(int argc, char **argv) { return 0; }
9582 _ACEOF
9583 if ac_fn_c_try_link "$LINENO"
9584 then :
9585 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9586 else $as_nop
9587 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9590 conftest$ac_exeext conftest.$ac_ext
9591 CFLAGS=$ac_wine_try_cflags_saved
9593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9594 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9595 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9596 then :
9597 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9598 else $as_nop
9599 wine_can_build_preloader=no
9602 if test "$wine_can_build_preloader" = "yes"
9603 then
9604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9605 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9606 if test ${ac_cv_cflags__Wl__no_pie+y}
9607 then :
9608 printf %s "(cached) " >&6
9609 else $as_nop
9610 ac_wine_try_cflags_saved=$CFLAGS
9611 CFLAGS="$CFLAGS -Wl,-no_pie"
9612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9613 /* end confdefs.h. */
9614 int main(int argc, char **argv) { return 0; }
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"
9617 then :
9618 ac_cv_cflags__Wl__no_pie=yes
9619 else $as_nop
9620 ac_cv_cflags__Wl__no_pie=no
9622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9623 conftest$ac_exeext conftest.$ac_ext
9624 CFLAGS=$ac_wine_try_cflags_saved
9626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9627 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9628 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9629 then :
9630 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9632 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9633 else
9634 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9637 if test "x$with_coreaudio" != "xno";
9638 then
9639 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9641 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9643 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9644 then
9645 OPENCL_LIBS="-framework OpenCL"
9647 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9651 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9652 ac_ext=m
9653 ac_cpp='$OBJCPP $CPPFLAGS'
9654 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9655 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9656 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9658 ac_ext=m
9659 ac_cpp='$OBJCPP $CPPFLAGS'
9660 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9661 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9662 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9663 if test -n "$ac_tool_prefix"; then
9664 for ac_prog in gcc objcc objc cc CC clang
9666 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9667 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9669 printf %s "checking for $ac_word... " >&6; }
9670 if test ${ac_cv_prog_OBJC+y}
9671 then :
9672 printf %s "(cached) " >&6
9673 else $as_nop
9674 if test -n "$OBJC"; then
9675 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9676 else
9677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9678 for as_dir in $PATH
9680 IFS=$as_save_IFS
9681 case $as_dir in #(((
9682 '') as_dir=./ ;;
9683 */) ;;
9684 *) as_dir=$as_dir/ ;;
9685 esac
9686 for ac_exec_ext in '' $ac_executable_extensions; do
9687 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9688 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9690 break 2
9692 done
9693 done
9694 IFS=$as_save_IFS
9698 OBJC=$ac_cv_prog_OBJC
9699 if test -n "$OBJC"; then
9700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9701 printf "%s\n" "$OBJC" >&6; }
9702 else
9703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9704 printf "%s\n" "no" >&6; }
9708 test -n "$OBJC" && break
9709 done
9711 if test -z "$OBJC"; then
9712 ac_ct_OBJC=$OBJC
9713 for ac_prog in gcc objcc objc cc CC clang
9715 # Extract the first word of "$ac_prog", so it can be a program name with args.
9716 set dummy $ac_prog; ac_word=$2
9717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9718 printf %s "checking for $ac_word... " >&6; }
9719 if test ${ac_cv_prog_ac_ct_OBJC+y}
9720 then :
9721 printf %s "(cached) " >&6
9722 else $as_nop
9723 if test -n "$ac_ct_OBJC"; then
9724 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9725 else
9726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9727 for as_dir in $PATH
9729 IFS=$as_save_IFS
9730 case $as_dir in #(((
9731 '') as_dir=./ ;;
9732 */) ;;
9733 *) as_dir=$as_dir/ ;;
9734 esac
9735 for ac_exec_ext in '' $ac_executable_extensions; do
9736 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9737 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9739 break 2
9741 done
9742 done
9743 IFS=$as_save_IFS
9747 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9748 if test -n "$ac_ct_OBJC"; then
9749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9750 printf "%s\n" "$ac_ct_OBJC" >&6; }
9751 else
9752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9753 printf "%s\n" "no" >&6; }
9757 test -n "$ac_ct_OBJC" && break
9758 done
9760 if test "x$ac_ct_OBJC" = x; then
9761 OBJC="gcc"
9762 else
9763 case $cross_compiling:$ac_tool_warned in
9764 yes:)
9765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9766 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9767 ac_tool_warned=yes ;;
9768 esac
9769 OBJC=$ac_ct_OBJC
9773 # Provide some information about the compiler.
9774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9775 set X $ac_compile
9776 ac_compiler=$2
9777 for ac_option in --version -v -V -qversion; do
9778 { { ac_try="$ac_compiler $ac_option >&5"
9779 case "(($ac_try" in
9780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9781 *) ac_try_echo=$ac_try;;
9782 esac
9783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9784 printf "%s\n" "$ac_try_echo"; } >&5
9785 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9786 ac_status=$?
9787 if test -s conftest.err; then
9788 sed '10a\
9789 ... rest of stderr output deleted ...
9790 10q' conftest.err >conftest.er1
9791 cat conftest.er1 >&5
9793 rm -f conftest.er1 conftest.err
9794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9795 test $ac_status = 0; }
9796 done
9798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9799 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9800 if test ${ac_cv_objc_compiler_gnu+y}
9801 then :
9802 printf %s "(cached) " >&6
9803 else $as_nop
9804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9805 /* end confdefs.h. */
9808 main (void)
9810 #ifndef __GNUC__
9811 choke me
9812 #endif
9815 return 0;
9817 _ACEOF
9818 if ac_fn_objc_try_compile "$LINENO"
9819 then :
9820 ac_compiler_gnu=yes
9821 else $as_nop
9822 ac_compiler_gnu=no
9824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9825 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9829 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9830 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9832 if test $ac_compiler_gnu = yes; then
9833 GOBJC=yes
9834 else
9835 GOBJC=
9837 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9838 ac_save_OBJCFLAGS=$OBJCFLAGS
9839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9840 printf %s "checking whether $OBJC accepts -g... " >&6; }
9841 if test ${ac_cv_prog_objc_g+y}
9842 then :
9843 printf %s "(cached) " >&6
9844 else $as_nop
9845 ac_save_objc_werror_flag=$ac_objc_werror_flag
9846 ac_objc_werror_flag=yes
9847 ac_cv_prog_objc_g=no
9848 OBJCFLAGS="-g"
9849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9850 /* end confdefs.h. */
9853 main (void)
9857 return 0;
9859 _ACEOF
9860 if ac_fn_objc_try_compile "$LINENO"
9861 then :
9862 ac_cv_prog_objc_g=yes
9863 else $as_nop
9864 OBJCFLAGS=""
9865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9869 main (void)
9873 return 0;
9875 _ACEOF
9876 if ac_fn_objc_try_compile "$LINENO"
9877 then :
9879 else $as_nop
9880 ac_objc_werror_flag=$ac_save_objc_werror_flag
9881 OBJCFLAGS="-g"
9882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9886 main (void)
9890 return 0;
9892 _ACEOF
9893 if ac_fn_objc_try_compile "$LINENO"
9894 then :
9895 ac_cv_prog_objc_g=yes
9897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9902 ac_objc_werror_flag=$ac_save_objc_werror_flag
9904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9905 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9906 if test $ac_test_OBJCFLAGS; then
9907 OBJCFLAGS=$ac_save_OBJCFLAGS
9908 elif test $ac_cv_prog_objc_g = yes; then
9909 if test "$GOBJC" = yes; then
9910 OBJCFLAGS="-g -O2"
9911 else
9912 OBJCFLAGS="-g"
9914 else
9915 if test "$GOBJC" = yes; then
9916 OBJCFLAGS="-O2"
9917 else
9918 OBJCFLAGS=
9921 ac_ext=m
9922 ac_cpp='$OBJCPP $CPPFLAGS'
9923 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9924 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9925 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9930 #include <Metal/Metal.h>
9932 main (void)
9934 id<MTLDevice> device; device.registryID;
9936 return 0;
9938 _ACEOF
9939 if ac_fn_objc_try_compile "$LINENO"
9940 then :
9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9942 printf "%s\n" "yes" >&6; }
9944 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9946 else $as_nop
9947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9948 printf "%s\n" "no" >&6; }
9950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9951 ac_ext=c
9952 ac_cpp='$CPP $CPPFLAGS'
9953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9958 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9959 WINELOADER_DEPENDS="wine_info.plist"
9963 linux-android*)
9965 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9967 DLLFLAGS="$DLLFLAGS -fPIC"
9968 LDDLLFLAGS="-fPIC"
9969 LDEXECFLAGS="-Wl,-pie"
9970 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9972 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9973 if test ${ac_cv_cflags__Wl__z_defs+y}
9974 then :
9975 printf %s "(cached) " >&6
9976 else $as_nop
9977 ac_wine_try_cflags_saved=$CFLAGS
9978 CFLAGS="$CFLAGS -Wl,-z,defs"
9979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9981 int main(int argc, char **argv) { return 0; }
9982 _ACEOF
9983 if ac_fn_c_try_link "$LINENO"
9984 then :
9985 ac_cv_cflags__Wl__z_defs=yes
9986 else $as_nop
9987 ac_cv_cflags__Wl__z_defs=no
9989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9990 conftest$ac_exeext conftest.$ac_ext
9991 CFLAGS=$ac_wine_try_cflags_saved
9993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9994 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9995 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9996 then :
9997 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10000 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10001 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10002 then :
10003 printf %s "(cached) " >&6
10004 else $as_nop
10005 ac_wine_try_cflags_saved=$CFLAGS
10006 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10009 int main(int argc, char **argv) { return 0; }
10010 _ACEOF
10011 if ac_fn_c_try_link "$LINENO"
10012 then :
10013 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10014 else $as_nop
10015 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10018 conftest$ac_exeext conftest.$ac_ext
10019 CFLAGS=$ac_wine_try_cflags_saved
10021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10022 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10023 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10024 then :
10025 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10027 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10030 printf %s "checking for -lEGL... " >&6; }
10031 if test ${ac_cv_lib_soname_EGL+y}
10032 then :
10033 printf %s "(cached) " >&6
10034 else $as_nop
10035 ac_check_soname_save_LIBS=$LIBS
10036 LIBS="-lEGL $LIBS"
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10040 /* Override any GCC internal prototype to avoid an error.
10041 Use char because int might match the return type of a GCC
10042 builtin and then its argument prototype would still apply. */
10043 char eglGetProcAddress ();
10045 main (void)
10047 return eglGetProcAddress ();
10049 return 0;
10051 _ACEOF
10052 if ac_fn_c_try_link "$LINENO"
10053 then :
10054 case "$LIBEXT" in
10055 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10056 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'` ;;
10057 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10058 if ${ac_cv_lib_soname_EGL:+false} :
10059 then :
10060 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10061 fi ;;
10062 esac
10063 else $as_nop
10064 ac_cv_lib_soname_EGL=
10066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10067 conftest$ac_exeext conftest.$ac_ext
10068 LIBS=$ac_check_soname_save_LIBS
10070 if ${ac_cv_lib_soname_EGL:+false} :
10071 then :
10072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10073 printf "%s\n" "not found" >&6; }
10075 else $as_nop
10076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10077 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10079 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10084 printf %s "checking for -lGLESv2... " >&6; }
10085 if test ${ac_cv_lib_soname_GLESv2+y}
10086 then :
10087 printf %s "(cached) " >&6
10088 else $as_nop
10089 ac_check_soname_save_LIBS=$LIBS
10090 LIBS="-lGLESv2 $LIBS"
10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10094 /* Override any GCC internal prototype to avoid an error.
10095 Use char because int might match the return type of a GCC
10096 builtin and then its argument prototype would still apply. */
10097 char glFlush ();
10099 main (void)
10101 return glFlush ();
10103 return 0;
10105 _ACEOF
10106 if ac_fn_c_try_link "$LINENO"
10107 then :
10108 case "$LIBEXT" in
10109 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10110 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'` ;;
10111 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10112 if ${ac_cv_lib_soname_GLESv2:+false} :
10113 then :
10114 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10115 fi ;;
10116 esac
10117 else $as_nop
10118 ac_cv_lib_soname_GLESv2=
10120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10121 conftest$ac_exeext conftest.$ac_ext
10122 LIBS=$ac_check_soname_save_LIBS
10124 if ${ac_cv_lib_soname_GLESv2:+false} :
10125 then :
10126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10127 printf "%s\n" "not found" >&6; }
10129 else $as_nop
10130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10131 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10133 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10138 if test "x$exec_prefix" = xNONE
10139 then
10140 case $host_cpu in
10141 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10142 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10143 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10144 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10145 esac
10151 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10153 test "$ac_cv_sys_file_offset_bits" = 64 &&
10154 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10156 case $host_cpu in
10157 *i[3456789]86*)
10158 DLLFLAGS="$DLLFLAGS -fno-PIC"
10159 LDDLLFLAGS="-fno-PIC"
10160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10161 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10162 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10163 then :
10164 printf %s "(cached) " >&6
10165 else $as_nop
10166 ac_wine_try_cflags_saved=$CFLAGS
10167 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10170 int main(int argc, char **argv) { return 0; }
10171 _ACEOF
10172 if ac_fn_c_try_link "$LINENO"
10173 then :
10174 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10175 else $as_nop
10176 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10179 conftest$ac_exeext conftest.$ac_ext
10180 CFLAGS=$ac_wine_try_cflags_saved
10182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10183 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10184 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10185 then :
10186 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10190 DLLFLAGS="$DLLFLAGS -fPIC"
10191 LDDLLFLAGS="-fPIC" ;;
10192 esac
10194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10195 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10196 if test ${ac_cv_cflags__Wl__z_defs+y}
10197 then :
10198 printf %s "(cached) " >&6
10199 else $as_nop
10200 ac_wine_try_cflags_saved=$CFLAGS
10201 CFLAGS="$CFLAGS -Wl,-z,defs"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10204 int main(int argc, char **argv) { return 0; }
10205 _ACEOF
10206 if ac_fn_c_try_link "$LINENO"
10207 then :
10208 ac_cv_cflags__Wl__z_defs=yes
10209 else $as_nop
10210 ac_cv_cflags__Wl__z_defs=no
10212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10213 conftest$ac_exeext conftest.$ac_ext
10214 CFLAGS=$ac_wine_try_cflags_saved
10216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10217 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10218 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10219 then :
10220 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10223 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10224 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10225 then :
10226 printf %s "(cached) " >&6
10227 else $as_nop
10228 ac_wine_try_cflags_saved=$CFLAGS
10229 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10231 /* end confdefs.h. */
10232 int main(int argc, char **argv) { return 0; }
10233 _ACEOF
10234 if ac_fn_c_try_link "$LINENO"
10235 then :
10236 ac_cv_cflags__Wl___export_dynamic=yes
10237 else $as_nop
10238 ac_cv_cflags__Wl___export_dynamic=no
10240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10241 conftest$ac_exeext conftest.$ac_ext
10242 CFLAGS=$ac_wine_try_cflags_saved
10244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10245 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10246 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10247 then :
10248 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10250 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10252 case $host_os in
10253 linux*)
10254 as_fn_append WINELOADER_LDFLAGS " -pie"
10255 case $HOST_ARCH in
10256 i386|arm)
10257 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10260 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10261 if test ${ac_cv_cflags__static_pie+y}
10262 then :
10263 printf %s "(cached) " >&6
10264 else $as_nop
10265 ac_wine_try_cflags_saved=$CFLAGS
10266 CFLAGS="$CFLAGS -static-pie"
10267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268 /* end confdefs.h. */
10269 int main(int argc, char **argv) { return 0; }
10270 _ACEOF
10271 if ac_fn_c_try_link "$LINENO"
10272 then :
10273 ac_cv_cflags__static_pie=yes
10274 else $as_nop
10275 ac_cv_cflags__static_pie=no
10277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10278 conftest$ac_exeext conftest.$ac_ext
10279 CFLAGS=$ac_wine_try_cflags_saved
10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10282 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10283 if test "x$ac_cv_cflags__static_pie" = xyes
10284 then :
10285 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10286 else $as_nop
10287 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10290 esac
10293 case $HOST_ARCH in
10294 i386|arm)
10295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10296 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10297 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10298 then :
10299 printf %s "(cached) " >&6
10300 else $as_nop
10301 ac_wine_try_cflags_saved=$CFLAGS
10302 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10305 int main(int argc, char **argv) { return 0; }
10306 _ACEOF
10307 if ac_fn_c_try_link "$LINENO"
10308 then :
10309 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10310 else $as_nop
10311 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10314 conftest$ac_exeext conftest.$ac_ext
10315 CFLAGS=$ac_wine_try_cflags_saved
10317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10318 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10319 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10320 then :
10321 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10322 else $as_nop
10323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10324 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10325 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10326 then :
10327 printf %s "(cached) " >&6
10328 else $as_nop
10329 ac_wine_try_cflags_saved=$CFLAGS
10330 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10332 /* end confdefs.h. */
10333 int main(int argc, char **argv) { return 0; }
10334 _ACEOF
10335 if ac_fn_c_try_link "$LINENO"
10336 then :
10337 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10338 else $as_nop
10339 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10342 conftest$ac_exeext conftest.$ac_ext
10343 CFLAGS=$ac_wine_try_cflags_saved
10345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10346 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10347 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10348 then :
10349 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10354 as_fn_append WINELOADER_LDFLAGS " -pie"
10356 esac
10358 esac
10360 esac
10362 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10363 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10364 enable_winemac_drv=${enable_winemac_drv:-no}
10366 PE_ARCHS=""
10368 cross_archs=
10369 if test ${enable_archs+y}
10370 then :
10371 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10372 ac_save_IFS=$IFS
10373 IFS=' ,'
10374 set x $enable_archs
10375 IFS=$ac_save_IFS
10376 shift
10377 for arch
10379 case $arch in
10380 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10381 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10382 esac
10383 done
10384 else $as_nop
10385 if test "x$with_mingw" != xno
10386 then
10387 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10388 case "x$with_mingw" in
10389 x|xyes) ;;
10390 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10391 esac
10395 for wine_arch in $cross_archs
10397 if eval \${${wine_arch}_CC:+false} :
10398 then :
10399 case $wine_arch in
10400 aarch64)
10401 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10403 # Extract the first word of "$ac_prog", so it can be a program name with args.
10404 set dummy $ac_prog; ac_word=$2
10405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10406 printf %s "checking for $ac_word... " >&6; }
10407 if test ${ac_cv_prog_aarch64_CC+y}
10408 then :
10409 printf %s "(cached) " >&6
10410 else $as_nop
10411 if test -n "$aarch64_CC"; then
10412 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10413 else
10414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10415 for as_dir in $PATH
10417 IFS=$as_save_IFS
10418 case $as_dir in #(((
10419 '') as_dir=./ ;;
10420 */) ;;
10421 *) as_dir=$as_dir/ ;;
10422 esac
10423 for ac_exec_ext in '' $ac_executable_extensions; do
10424 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10425 ac_cv_prog_aarch64_CC="$ac_prog"
10426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10427 break 2
10429 done
10430 done
10431 IFS=$as_save_IFS
10435 aarch64_CC=$ac_cv_prog_aarch64_CC
10436 if test -n "$aarch64_CC"; then
10437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10438 printf "%s\n" "$aarch64_CC" >&6; }
10439 else
10440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10441 printf "%s\n" "no" >&6; }
10445 test -n "$aarch64_CC" && break
10446 done
10447 test -n "$aarch64_CC" || aarch64_CC="false"
10450 arm)
10451 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10453 # Extract the first word of "$ac_prog", so it can be a program name with args.
10454 set dummy $ac_prog; ac_word=$2
10455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10456 printf %s "checking for $ac_word... " >&6; }
10457 if test ${ac_cv_prog_arm_CC+y}
10458 then :
10459 printf %s "(cached) " >&6
10460 else $as_nop
10461 if test -n "$arm_CC"; then
10462 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10463 else
10464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10465 for as_dir in $PATH
10467 IFS=$as_save_IFS
10468 case $as_dir in #(((
10469 '') as_dir=./ ;;
10470 */) ;;
10471 *) as_dir=$as_dir/ ;;
10472 esac
10473 for ac_exec_ext in '' $ac_executable_extensions; do
10474 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10475 ac_cv_prog_arm_CC="$ac_prog"
10476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10477 break 2
10479 done
10480 done
10481 IFS=$as_save_IFS
10485 arm_CC=$ac_cv_prog_arm_CC
10486 if test -n "$arm_CC"; then
10487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10488 printf "%s\n" "$arm_CC" >&6; }
10489 else
10490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10491 printf "%s\n" "no" >&6; }
10495 test -n "$arm_CC" && break
10496 done
10497 test -n "$arm_CC" || arm_CC="false"
10500 i386)
10501 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang "
10502 for ac_prog in $ac_prefix_list clang
10504 # Extract the first word of "$ac_prog", so it can be a program name with args.
10505 set dummy $ac_prog; ac_word=$2
10506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10507 printf %s "checking for $ac_word... " >&6; }
10508 if test ${ac_cv_prog_i386_CC+y}
10509 then :
10510 printf %s "(cached) " >&6
10511 else $as_nop
10512 if test -n "$i386_CC"; then
10513 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10514 else
10515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10516 for as_dir in $PATH
10518 IFS=$as_save_IFS
10519 case $as_dir in #(((
10520 '') as_dir=./ ;;
10521 */) ;;
10522 *) as_dir=$as_dir/ ;;
10523 esac
10524 for ac_exec_ext in '' $ac_executable_extensions; do
10525 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10526 ac_cv_prog_i386_CC="$ac_prog"
10527 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10528 break 2
10530 done
10531 done
10532 IFS=$as_save_IFS
10536 i386_CC=$ac_cv_prog_i386_CC
10537 if test -n "$i386_CC"; then
10538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10539 printf "%s\n" "$i386_CC" >&6; }
10540 else
10541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10542 printf "%s\n" "no" >&6; }
10546 test -n "$i386_CC" && break
10547 done
10548 test -n "$i386_CC" || i386_CC="false"
10551 x86_64)
10552 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10553 for ac_prog in $ac_prefix_list clang
10555 # Extract the first word of "$ac_prog", so it can be a program name with args.
10556 set dummy $ac_prog; ac_word=$2
10557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10558 printf %s "checking for $ac_word... " >&6; }
10559 if test ${ac_cv_prog_x86_64_CC+y}
10560 then :
10561 printf %s "(cached) " >&6
10562 else $as_nop
10563 if test -n "$x86_64_CC"; then
10564 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10565 else
10566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10567 for as_dir in $PATH
10569 IFS=$as_save_IFS
10570 case $as_dir in #(((
10571 '') as_dir=./ ;;
10572 */) ;;
10573 *) as_dir=$as_dir/ ;;
10574 esac
10575 for ac_exec_ext in '' $ac_executable_extensions; do
10576 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10577 ac_cv_prog_x86_64_CC="$ac_prog"
10578 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10579 break 2
10581 done
10582 done
10583 IFS=$as_save_IFS
10587 x86_64_CC=$ac_cv_prog_x86_64_CC
10588 if test -n "$x86_64_CC"; then
10589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10590 printf "%s\n" "$x86_64_CC" >&6; }
10591 else
10592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10593 printf "%s\n" "no" >&6; }
10597 test -n "$x86_64_CC" && break
10598 done
10599 test -n "$x86_64_CC" || x86_64_CC="false"
10602 esac
10605 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10606 then :
10607 continue
10610 saved_CC=$CC
10611 saved_CFLAGS=$CFLAGS
10612 saved_LDFLAGS=$LDFLAGS
10614 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10615 LDFLAGS=$CROSSLDFLAGS
10616 eval CC=\$${wine_arch}_CC
10617 eval ${wine_arch}_CFLAGS=\$CFLAGS
10618 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10619 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10621 target=""
10622 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10625 printf %s "checking whether $CC works... " >&6; }
10626 if eval test \${$as_wine_cv_crosscc+y}
10627 then :
10628 printf %s "(cached) " >&6
10629 else $as_nop
10630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10631 /* end confdefs.h. */
10634 main (void)
10638 return 0;
10640 _ACEOF
10641 if ac_fn_c_try_compile "$LINENO"
10642 then :
10643 eval "$as_wine_cv_crosscc=yes"
10644 else $as_nop
10645 eval "$as_wine_cv_crosscc=no"
10647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10649 eval ac_res=\$$as_wine_cv_crosscc
10650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10651 printf "%s\n" "$ac_res" >&6; }
10652 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10653 then :
10654 set x $CC
10655 shift
10656 while test $# -ge 1
10658 case "$1" in
10659 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10660 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10661 esac
10662 shift
10663 done
10665 llvm_target=$target
10666 if test -z "$llvm_target"
10667 then
10668 case $wine_arch in
10669 i386) llvm_target=i686-windows ;;
10670 arm) llvm_target=armv7-windows ;;
10671 *) llvm_target=$wine_arch-windows ;;
10672 esac
10674 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10675 case $llvm_target in
10676 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10677 esac
10678 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10680 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10681 if eval test \${$as_ac_var+y}
10682 then :
10683 printf %s "(cached) " >&6
10684 else $as_nop
10685 ac_wine_try_cflags_saved=$CFLAGS
10686 ac_wine_try_cflags_saved_exeext=$ac_exeext
10687 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10688 ac_exeext=".exe"
10689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690 /* end confdefs.h. */
10691 int __cdecl mainCRTStartup(void) { return 0; }
10692 _ACEOF
10693 if ac_fn_c_try_link "$LINENO"
10694 then :
10695 eval "$as_ac_var=yes"
10696 else $as_nop
10697 eval "$as_ac_var=no"
10699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10700 conftest$ac_exeext conftest.$ac_ext
10701 CFLAGS=$ac_wine_try_cflags_saved
10702 ac_exeext=$ac_wine_try_cflags_saved_exeext
10704 eval ac_res=\$$as_ac_var
10705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10706 printf "%s\n" "$ac_res" >&6; }
10707 if eval test \"x\$"$as_ac_var"\" = x"yes"
10708 then :
10709 target=$llvm_target
10710 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10711 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10712 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10713 fi }
10714 eval "${wine_arch}_TARGET=\$target"
10718 if test -z "$target"
10719 then
10720 CC=$saved_CC
10721 CFLAGS=$saved_CFLAGS
10722 LDFLAGS=$saved_LDFLAGS
10723 continue
10725 as_fn_append PE_ARCHS " $wine_arch"
10727 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10730 printf %s "checking for $CC option to enable C99 features... " >&6; }
10731 if eval test \${$as_wine_cv_crosscc_c99+y}
10732 then :
10733 printf %s "(cached) " >&6
10734 else $as_nop
10735 eval "$as_wine_cv_crosscc_c99=no"
10736 for arg in '' '-std=gnu99'
10738 test -z "$arg" || CC="$CC $arg"
10739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10740 /* end confdefs.h. */
10741 $ac_c_conftest_c99_program
10742 _ACEOF
10743 if ac_fn_c_try_compile "$LINENO"
10744 then :
10745 eval "$as_wine_cv_crosscc_c99=\$arg"
10746 else $as_nop
10747 eval "$as_wine_cv_crosscc_c99=no"
10749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10750 eval CC=\$${wine_arch}_CC
10751 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10752 then :
10754 else $as_nop
10755 break
10757 done
10760 eval res=\$$as_wine_cv_crosscc_c99
10761 case "x$res" in
10762 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10763 printf "%s\n" "none needed" >&6; } ;;
10764 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10765 printf "%s\n" "unsupported" >&6; } ;;
10766 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10767 printf "%s\n" "$res" >&6; }
10768 as_fn_append ${wine_arch}_CC " $res" ;;
10769 esac
10772 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10774 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10775 if eval test \${$as_ac_var+y}
10776 then :
10777 printf %s "(cached) " >&6
10778 else $as_nop
10779 ac_wine_try_cflags_saved=$CFLAGS
10780 ac_wine_try_cflags_saved_exeext=$ac_exeext
10781 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10782 ac_exeext=".exe"
10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10785 int __cdecl mainCRTStartup(void) { return 0; }
10786 _ACEOF
10787 if ac_fn_c_try_link "$LINENO"
10788 then :
10789 eval "$as_ac_var=yes"
10790 else $as_nop
10791 eval "$as_ac_var=no"
10793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10794 conftest$ac_exeext conftest.$ac_ext
10795 CFLAGS=$ac_wine_try_cflags_saved
10796 ac_exeext=$ac_wine_try_cflags_saved_exeext
10798 eval ac_res=\$$as_ac_var
10799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10800 printf "%s\n" "$ac_res" >&6; }
10801 if eval test \"x\$"$as_ac_var"\" = x"yes"
10802 then :
10803 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10804 fi }
10805 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10807 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10808 if eval test \${$as_ac_var+y}
10809 then :
10810 printf %s "(cached) " >&6
10811 else $as_nop
10812 ac_wine_try_cflags_saved=$CFLAGS
10813 ac_wine_try_cflags_saved_exeext=$ac_exeext
10814 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10815 ac_exeext=".exe"
10816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10817 /* end confdefs.h. */
10818 int __cdecl mainCRTStartup(void) { return 0; }
10819 _ACEOF
10820 if ac_fn_c_try_link "$LINENO"
10821 then :
10822 eval "$as_ac_var=yes"
10823 else $as_nop
10824 eval "$as_ac_var=no"
10826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10827 conftest$ac_exeext conftest.$ac_ext
10828 CFLAGS=$ac_wine_try_cflags_saved
10829 ac_exeext=$ac_wine_try_cflags_saved_exeext
10831 eval ac_res=\$$as_ac_var
10832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10833 printf "%s\n" "$ac_res" >&6; }
10834 if eval test \"x\$"$as_ac_var"\" = x"yes"
10835 then :
10836 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10837 fi }
10838 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10840 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10841 if eval test \${$as_ac_var+y}
10842 then :
10843 printf %s "(cached) " >&6
10844 else $as_nop
10845 ac_wine_try_cflags_saved=$CFLAGS
10846 ac_wine_try_cflags_saved_exeext=$ac_exeext
10847 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10848 ac_exeext=".exe"
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10851 int __cdecl mainCRTStartup(void) { return 0; }
10852 _ACEOF
10853 if ac_fn_c_try_link "$LINENO"
10854 then :
10855 eval "$as_ac_var=yes"
10856 else $as_nop
10857 eval "$as_ac_var=no"
10859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10860 conftest$ac_exeext conftest.$ac_ext
10861 CFLAGS=$ac_wine_try_cflags_saved
10862 ac_exeext=$ac_wine_try_cflags_saved_exeext
10864 eval ac_res=\$$as_ac_var
10865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10866 printf "%s\n" "$ac_res" >&6; }
10867 if eval test \"x\$"$as_ac_var"\" = x"yes"
10868 then :
10869 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10870 fi }
10871 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10873 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10874 if eval test \${$as_ac_var+y}
10875 then :
10876 printf %s "(cached) " >&6
10877 else $as_nop
10878 ac_wine_try_cflags_saved=$CFLAGS
10879 ac_wine_try_cflags_saved_exeext=$ac_exeext
10880 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10881 ac_exeext=".exe"
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10884 int __cdecl mainCRTStartup(void) { return 0; }
10885 _ACEOF
10886 if ac_fn_c_try_link "$LINENO"
10887 then :
10888 eval "$as_ac_var=yes"
10889 else $as_nop
10890 eval "$as_ac_var=no"
10892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10893 conftest$ac_exeext conftest.$ac_ext
10894 CFLAGS=$ac_wine_try_cflags_saved
10895 ac_exeext=$ac_wine_try_cflags_saved_exeext
10897 eval ac_res=\$$as_ac_var
10898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10899 printf "%s\n" "$ac_res" >&6; }
10900 if eval test \"x\$"$as_ac_var"\" = x"yes"
10901 then :
10902 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10903 fi }
10904 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10906 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10907 if eval test \${$as_ac_var+y}
10908 then :
10909 printf %s "(cached) " >&6
10910 else $as_nop
10911 ac_wine_try_cflags_saved=$CFLAGS
10912 ac_wine_try_cflags_saved_exeext=$ac_exeext
10913 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10914 ac_exeext=".exe"
10915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10917 int __cdecl mainCRTStartup(void) { return 0; }
10918 _ACEOF
10919 if ac_fn_c_try_link "$LINENO"
10920 then :
10921 eval "$as_ac_var=yes"
10922 else $as_nop
10923 eval "$as_ac_var=no"
10925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10926 conftest$ac_exeext conftest.$ac_ext
10927 CFLAGS=$ac_wine_try_cflags_saved
10928 ac_exeext=$ac_wine_try_cflags_saved_exeext
10930 eval ac_res=\$$as_ac_var
10931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10932 printf "%s\n" "$ac_res" >&6; }
10933 if eval test \"x\$"$as_ac_var"\" = x"yes"
10934 then :
10935 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10936 fi }
10937 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10939 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10940 if eval test \${$as_ac_var+y}
10941 then :
10942 printf %s "(cached) " >&6
10943 else $as_nop
10944 ac_wine_try_cflags_saved=$CFLAGS
10945 ac_wine_try_cflags_saved_exeext=$ac_exeext
10946 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10947 ac_exeext=".exe"
10948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10950 int __cdecl mainCRTStartup(void) { return 0; }
10951 _ACEOF
10952 if ac_fn_c_try_link "$LINENO"
10953 then :
10954 eval "$as_ac_var=yes"
10955 else $as_nop
10956 eval "$as_ac_var=no"
10958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10959 conftest$ac_exeext conftest.$ac_ext
10960 CFLAGS=$ac_wine_try_cflags_saved
10961 ac_exeext=$ac_wine_try_cflags_saved_exeext
10963 eval ac_res=\$$as_ac_var
10964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10965 printf "%s\n" "$ac_res" >&6; }
10966 if eval test \"x\$"$as_ac_var"\" = x"yes"
10967 then :
10968 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10969 fi }
10970 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10972 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10973 if eval test \${$as_ac_var+y}
10974 then :
10975 printf %s "(cached) " >&6
10976 else $as_nop
10977 ac_wine_try_cflags_saved=$CFLAGS
10978 ac_wine_try_cflags_saved_exeext=$ac_exeext
10979 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10980 ac_exeext=".exe"
10981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10983 int __cdecl mainCRTStartup(void) { return 0; }
10984 _ACEOF
10985 if ac_fn_c_try_link "$LINENO"
10986 then :
10987 eval "$as_ac_var=yes"
10988 else $as_nop
10989 eval "$as_ac_var=no"
10991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10992 conftest$ac_exeext conftest.$ac_ext
10993 CFLAGS=$ac_wine_try_cflags_saved
10994 ac_exeext=$ac_wine_try_cflags_saved_exeext
10996 eval ac_res=\$$as_ac_var
10997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10998 printf "%s\n" "$ac_res" >&6; }
10999 if eval test \"x\$"$as_ac_var"\" = x"yes"
11000 then :
11001 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11002 fi }
11003 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11005 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11006 if eval test \${$as_ac_var+y}
11007 then :
11008 printf %s "(cached) " >&6
11009 else $as_nop
11010 ac_wine_try_cflags_saved=$CFLAGS
11011 ac_wine_try_cflags_saved_exeext=$ac_exeext
11012 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11013 ac_exeext=".exe"
11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11015 /* end confdefs.h. */
11016 int __cdecl mainCRTStartup(void) { return 0; }
11017 _ACEOF
11018 if ac_fn_c_try_link "$LINENO"
11019 then :
11020 eval "$as_ac_var=yes"
11021 else $as_nop
11022 eval "$as_ac_var=no"
11024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11025 conftest$ac_exeext conftest.$ac_ext
11026 CFLAGS=$ac_wine_try_cflags_saved
11027 ac_exeext=$ac_wine_try_cflags_saved_exeext
11029 eval ac_res=\$$as_ac_var
11030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11031 printf "%s\n" "$ac_res" >&6; }
11032 if eval test \"x\$"$as_ac_var"\" = x"yes"
11033 then :
11034 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11035 fi }
11036 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11038 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11039 if eval test \${$as_ac_var+y}
11040 then :
11041 printf %s "(cached) " >&6
11042 else $as_nop
11043 ac_wine_try_cflags_saved=$CFLAGS
11044 ac_wine_try_cflags_saved_exeext=$ac_exeext
11045 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11046 ac_exeext=".exe"
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11049 int __cdecl mainCRTStartup(void) { return 0; }
11050 _ACEOF
11051 if ac_fn_c_try_link "$LINENO"
11052 then :
11053 eval "$as_ac_var=yes"
11054 else $as_nop
11055 eval "$as_ac_var=no"
11057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11058 conftest$ac_exeext conftest.$ac_ext
11059 CFLAGS=$ac_wine_try_cflags_saved
11060 ac_exeext=$ac_wine_try_cflags_saved_exeext
11062 eval ac_res=\$$as_ac_var
11063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11064 printf "%s\n" "$ac_res" >&6; }
11065 if eval test \"x\$"$as_ac_var"\" = x"yes"
11066 then :
11067 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11068 fi }
11069 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11071 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11072 if eval test \${$as_ac_var+y}
11073 then :
11074 printf %s "(cached) " >&6
11075 else $as_nop
11076 ac_wine_try_cflags_saved=$CFLAGS
11077 ac_wine_try_cflags_saved_exeext=$ac_exeext
11078 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11079 ac_exeext=".exe"
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11082 int __cdecl mainCRTStartup(void) { return 0; }
11083 _ACEOF
11084 if ac_fn_c_try_link "$LINENO"
11085 then :
11086 eval "$as_ac_var=yes"
11087 else $as_nop
11088 eval "$as_ac_var=no"
11090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11091 conftest$ac_exeext conftest.$ac_ext
11092 CFLAGS=$ac_wine_try_cflags_saved
11093 ac_exeext=$ac_wine_try_cflags_saved_exeext
11095 eval ac_res=\$$as_ac_var
11096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11097 printf "%s\n" "$ac_res" >&6; }
11098 if eval test \"x\$"$as_ac_var"\" = x"yes"
11099 then :
11100 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11101 fi }
11102 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11104 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11105 if eval test \${$as_ac_var+y}
11106 then :
11107 printf %s "(cached) " >&6
11108 else $as_nop
11109 ac_wine_try_cflags_saved=$CFLAGS
11110 ac_wine_try_cflags_saved_exeext=$ac_exeext
11111 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11112 ac_exeext=".exe"
11113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11115 int __cdecl mainCRTStartup(void) { return 0; }
11116 _ACEOF
11117 if ac_fn_c_try_link "$LINENO"
11118 then :
11119 eval "$as_ac_var=yes"
11120 else $as_nop
11121 eval "$as_ac_var=no"
11123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11124 conftest$ac_exeext conftest.$ac_ext
11125 CFLAGS=$ac_wine_try_cflags_saved
11126 ac_exeext=$ac_wine_try_cflags_saved_exeext
11128 eval ac_res=\$$as_ac_var
11129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11130 printf "%s\n" "$ac_res" >&6; }
11131 if eval test \"x\$"$as_ac_var"\" = x"yes"
11132 then :
11133 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11134 fi }
11135 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11137 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11138 if eval test \${$as_ac_var+y}
11139 then :
11140 printf %s "(cached) " >&6
11141 else $as_nop
11142 ac_wine_try_cflags_saved=$CFLAGS
11143 ac_wine_try_cflags_saved_exeext=$ac_exeext
11144 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11145 ac_exeext=".exe"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11148 int __cdecl mainCRTStartup(void) { return 0; }
11149 _ACEOF
11150 if ac_fn_c_try_link "$LINENO"
11151 then :
11152 eval "$as_ac_var=yes"
11153 else $as_nop
11154 eval "$as_ac_var=no"
11156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11157 conftest$ac_exeext conftest.$ac_ext
11158 CFLAGS=$ac_wine_try_cflags_saved
11159 ac_exeext=$ac_wine_try_cflags_saved_exeext
11161 eval ac_res=\$$as_ac_var
11162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11163 printf "%s\n" "$ac_res" >&6; }
11164 if eval test \"x\$"$as_ac_var"\" = x"yes"
11165 then :
11166 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11167 fi }
11168 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11170 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11171 if eval test \${$as_ac_var+y}
11172 then :
11173 printf %s "(cached) " >&6
11174 else $as_nop
11175 ac_wine_try_cflags_saved=$CFLAGS
11176 ac_wine_try_cflags_saved_exeext=$ac_exeext
11177 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11178 ac_exeext=".exe"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h. */
11181 int __cdecl mainCRTStartup(void) { return 0; }
11182 _ACEOF
11183 if ac_fn_c_try_link "$LINENO"
11184 then :
11185 eval "$as_ac_var=yes"
11186 else $as_nop
11187 eval "$as_ac_var=no"
11189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11190 conftest$ac_exeext conftest.$ac_ext
11191 CFLAGS=$ac_wine_try_cflags_saved
11192 ac_exeext=$ac_wine_try_cflags_saved_exeext
11194 eval ac_res=\$$as_ac_var
11195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11196 printf "%s\n" "$ac_res" >&6; }
11197 if eval test \"x\$"$as_ac_var"\" = x"yes"
11198 then :
11199 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11200 fi }
11201 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11203 printf %s "checking whether $CC supports -Wvla... " >&6; }
11204 if eval test \${$as_ac_var+y}
11205 then :
11206 printf %s "(cached) " >&6
11207 else $as_nop
11208 ac_wine_try_cflags_saved=$CFLAGS
11209 ac_wine_try_cflags_saved_exeext=$ac_exeext
11210 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11211 ac_exeext=".exe"
11212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h. */
11214 int __cdecl mainCRTStartup(void) { return 0; }
11215 _ACEOF
11216 if ac_fn_c_try_link "$LINENO"
11217 then :
11218 eval "$as_ac_var=yes"
11219 else $as_nop
11220 eval "$as_ac_var=no"
11222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11223 conftest$ac_exeext conftest.$ac_ext
11224 CFLAGS=$ac_wine_try_cflags_saved
11225 ac_exeext=$ac_wine_try_cflags_saved_exeext
11227 eval ac_res=\$$as_ac_var
11228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11229 printf "%s\n" "$ac_res" >&6; }
11230 if eval test \"x\$"$as_ac_var"\" = x"yes"
11231 then :
11232 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11233 fi }
11234 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11236 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11237 if eval test \${$as_ac_var+y}
11238 then :
11239 printf %s "(cached) " >&6
11240 else $as_nop
11241 ac_wine_try_cflags_saved=$CFLAGS
11242 ac_wine_try_cflags_saved_exeext=$ac_exeext
11243 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11244 ac_exeext=".exe"
11245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11247 int __cdecl mainCRTStartup(void) { return 0; }
11248 _ACEOF
11249 if ac_fn_c_try_link "$LINENO"
11250 then :
11251 eval "$as_ac_var=yes"
11252 else $as_nop
11253 eval "$as_ac_var=no"
11255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11256 conftest$ac_exeext conftest.$ac_ext
11257 CFLAGS=$ac_wine_try_cflags_saved
11258 ac_exeext=$ac_wine_try_cflags_saved_exeext
11260 eval ac_res=\$$as_ac_var
11261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11262 printf "%s\n" "$ac_res" >&6; }
11263 if eval test \"x\$"$as_ac_var"\" = x"yes"
11264 then :
11265 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11266 fi }
11267 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11269 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11270 if eval test \${$as_ac_var+y}
11271 then :
11272 printf %s "(cached) " >&6
11273 else $as_nop
11274 ac_wine_try_cflags_saved=$CFLAGS
11275 ac_wine_try_cflags_saved_exeext=$ac_exeext
11276 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11277 ac_exeext=".exe"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11280 int __cdecl mainCRTStartup(void) { return 0; }
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"
11283 then :
11284 eval "$as_ac_var=yes"
11285 else $as_nop
11286 eval "$as_ac_var=no"
11288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11289 conftest$ac_exeext conftest.$ac_ext
11290 CFLAGS=$ac_wine_try_cflags_saved
11291 ac_exeext=$ac_wine_try_cflags_saved_exeext
11293 eval ac_res=\$$as_ac_var
11294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11295 printf "%s\n" "$ac_res" >&6; }
11296 if eval test \"x\$"$as_ac_var"\" = x"yes"
11297 then :
11298 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11299 fi }
11300 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11302 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11303 if eval test \${$as_ac_var+y}
11304 then :
11305 printf %s "(cached) " >&6
11306 else $as_nop
11307 ac_wine_try_cflags_saved=$CFLAGS
11308 ac_wine_try_cflags_saved_exeext=$ac_exeext
11309 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11310 ac_exeext=".exe"
11311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11312 /* end confdefs.h. */
11313 int __cdecl mainCRTStartup(void) { return 0; }
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"
11316 then :
11317 eval "$as_ac_var=yes"
11318 else $as_nop
11319 eval "$as_ac_var=no"
11321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11322 conftest$ac_exeext conftest.$ac_ext
11323 CFLAGS=$ac_wine_try_cflags_saved
11324 ac_exeext=$ac_wine_try_cflags_saved_exeext
11326 eval ac_res=\$$as_ac_var
11327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11328 printf "%s\n" "$ac_res" >&6; }
11329 if eval test \"x\$"$as_ac_var"\" = x"yes"
11330 then :
11331 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11332 fi }
11333 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11335 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11336 if eval test \${$as_ac_var+y}
11337 then :
11338 printf %s "(cached) " >&6
11339 else $as_nop
11340 ac_wine_try_cflags_saved=$CFLAGS
11341 ac_wine_try_cflags_saved_exeext=$ac_exeext
11342 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11343 ac_exeext=".exe"
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11346 int __cdecl mainCRTStartup(void) { return 0; }
11347 _ACEOF
11348 if ac_fn_c_try_link "$LINENO"
11349 then :
11350 eval "$as_ac_var=yes"
11351 else $as_nop
11352 eval "$as_ac_var=no"
11354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11355 conftest$ac_exeext conftest.$ac_ext
11356 CFLAGS=$ac_wine_try_cflags_saved
11357 ac_exeext=$ac_wine_try_cflags_saved_exeext
11359 eval ac_res=\$$as_ac_var
11360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11361 printf "%s\n" "$ac_res" >&6; }
11362 if eval test \"x\$"$as_ac_var"\" = x"yes"
11363 then :
11364 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11365 fi }
11367 case $wine_arch in
11368 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11370 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11371 if eval test \${$as_ac_var+y}
11372 then :
11373 printf %s "(cached) " >&6
11374 else $as_nop
11375 ac_wine_try_cflags_saved=$CFLAGS
11376 ac_wine_try_cflags_saved_exeext=$ac_exeext
11377 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11378 ac_exeext=".exe"
11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11381 int __cdecl mainCRTStartup(void) { return 0; }
11382 _ACEOF
11383 if ac_fn_c_try_link "$LINENO"
11384 then :
11385 eval "$as_ac_var=yes"
11386 else $as_nop
11387 eval "$as_ac_var=no"
11389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11390 conftest$ac_exeext conftest.$ac_ext
11391 CFLAGS=$ac_wine_try_cflags_saved
11392 ac_exeext=$ac_wine_try_cflags_saved_exeext
11394 eval ac_res=\$$as_ac_var
11395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11396 printf "%s\n" "$ac_res" >&6; }
11397 if eval test \"x\$"$as_ac_var"\" = x"yes"
11398 then :
11399 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11400 fi }
11401 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11403 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11404 if eval test \${$as_ac_var+y}
11405 then :
11406 printf %s "(cached) " >&6
11407 else $as_nop
11408 ac_wine_try_cflags_saved=$CFLAGS
11409 ac_wine_try_cflags_saved_exeext=$ac_exeext
11410 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11411 ac_exeext=".exe"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11414 int __cdecl mainCRTStartup(void) { return 0; }
11415 _ACEOF
11416 if ac_fn_c_try_link "$LINENO"
11417 then :
11418 eval "$as_ac_var=yes"
11419 else $as_nop
11420 eval "$as_ac_var=no"
11422 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11423 conftest$ac_exeext conftest.$ac_ext
11424 CFLAGS=$ac_wine_try_cflags_saved
11425 ac_exeext=$ac_wine_try_cflags_saved_exeext
11427 eval ac_res=\$$as_ac_var
11428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11429 printf "%s\n" "$ac_res" >&6; }
11430 if eval test \"x\$"$as_ac_var"\" = x"yes"
11431 then :
11432 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11433 fi } ;;
11434 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11436 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11437 if eval test \${$as_ac_var+y}
11438 then :
11439 printf %s "(cached) " >&6
11440 else $as_nop
11441 ac_wine_try_cflags_saved=$CFLAGS
11442 ac_wine_try_cflags_saved_exeext=$ac_exeext
11443 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11444 ac_exeext=".exe"
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11447 int __cdecl mainCRTStartup(void) { return 0; }
11448 _ACEOF
11449 if ac_fn_c_try_link "$LINENO"
11450 then :
11451 eval "$as_ac_var=yes"
11452 else $as_nop
11453 eval "$as_ac_var=no"
11455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11456 conftest$ac_exeext conftest.$ac_ext
11457 CFLAGS=$ac_wine_try_cflags_saved
11458 ac_exeext=$ac_wine_try_cflags_saved_exeext
11460 eval ac_res=\$$as_ac_var
11461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11462 printf "%s\n" "$ac_res" >&6; }
11463 if eval test \"x\$"$as_ac_var"\" = x"yes"
11464 then :
11465 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11466 fi }
11467 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11469 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11470 if eval test \${$as_ac_var+y}
11471 then :
11472 printf %s "(cached) " >&6
11473 else $as_nop
11474 ac_wine_try_cflags_saved=$CFLAGS
11475 ac_wine_try_cflags_saved_exeext=$ac_exeext
11476 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11477 ac_exeext=".exe"
11478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11480 int __cdecl mainCRTStartup(void) { return 0; }
11481 _ACEOF
11482 if ac_fn_c_try_link "$LINENO"
11483 then :
11484 eval "$as_ac_var=yes"
11485 else $as_nop
11486 eval "$as_ac_var=no"
11488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11489 conftest$ac_exeext conftest.$ac_ext
11490 CFLAGS=$ac_wine_try_cflags_saved
11491 ac_exeext=$ac_wine_try_cflags_saved_exeext
11493 eval ac_res=\$$as_ac_var
11494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11495 printf "%s\n" "$ac_res" >&6; }
11496 if eval test \"x\$"$as_ac_var"\" = x"yes"
11497 then :
11498 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11499 fi }
11500 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11502 printf %s "checking whether $CC supports -mcx16... " >&6; }
11503 if eval test \${$as_ac_var+y}
11504 then :
11505 printf %s "(cached) " >&6
11506 else $as_nop
11507 ac_wine_try_cflags_saved=$CFLAGS
11508 ac_wine_try_cflags_saved_exeext=$ac_exeext
11509 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11510 ac_exeext=".exe"
11511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11512 /* end confdefs.h. */
11513 int __cdecl mainCRTStartup(void) { return 0; }
11514 _ACEOF
11515 if ac_fn_c_try_link "$LINENO"
11516 then :
11517 eval "$as_ac_var=yes"
11518 else $as_nop
11519 eval "$as_ac_var=no"
11521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11522 conftest$ac_exeext conftest.$ac_ext
11523 CFLAGS=$ac_wine_try_cflags_saved
11524 ac_exeext=$ac_wine_try_cflags_saved_exeext
11526 eval ac_res=\$$as_ac_var
11527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11528 printf "%s\n" "$ac_res" >&6; }
11529 if eval test \"x\$"$as_ac_var"\" = x"yes"
11530 then :
11531 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11532 fi }
11533 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11535 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11536 if eval test \${$as_ac_var+y}
11537 then :
11538 printf %s "(cached) " >&6
11539 else $as_nop
11540 ac_wine_try_cflags_saved=$CFLAGS
11541 ac_wine_try_cflags_saved_exeext=$ac_exeext
11542 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11543 ac_exeext=".exe"
11544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11546 int __cdecl mainCRTStartup(void) { return 0; }
11547 _ACEOF
11548 if ac_fn_c_try_link "$LINENO"
11549 then :
11550 eval "$as_ac_var=yes"
11551 else $as_nop
11552 eval "$as_ac_var=no"
11554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11555 conftest$ac_exeext conftest.$ac_ext
11556 CFLAGS=$ac_wine_try_cflags_saved
11557 ac_exeext=$ac_wine_try_cflags_saved_exeext
11559 eval ac_res=\$$as_ac_var
11560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11561 printf "%s\n" "$ac_res" >&6; }
11562 if eval test \"x\$"$as_ac_var"\" = x"yes"
11563 then :
11564 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11565 fi } ;;
11566 esac
11568 wine_crossdebug=$CROSSDEBUG
11569 if test -z "$wine_crossdebug"
11570 then
11571 for ac_flag in $CFLAGS; do
11572 case $ac_flag in
11573 -gdwarf*) wine_crossdebug=dwarf ;;
11574 -gcodeview) wine_crossdebug=pdb ;;
11575 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11576 esac
11577 done
11580 ac_debug_format_seen=""
11581 for ac_flag in $CFLAGS; do
11582 case $ac_flag in
11583 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11584 esac
11585 done
11586 if test "x$ac_debug_format_seen" = x
11587 then
11588 case $wine_crossdebug in
11589 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11591 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11592 if eval test \${$as_ac_var+y}
11593 then :
11594 printf %s "(cached) " >&6
11595 else $as_nop
11596 ac_wine_try_cflags_saved=$CFLAGS
11597 ac_wine_try_cflags_saved_exeext=$ac_exeext
11598 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11599 ac_exeext=".exe"
11600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11602 int __cdecl mainCRTStartup(void) { return 0; }
11603 _ACEOF
11604 if ac_fn_c_try_link "$LINENO"
11605 then :
11606 eval "$as_ac_var=yes"
11607 else $as_nop
11608 eval "$as_ac_var=no"
11610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11611 conftest$ac_exeext conftest.$ac_ext
11612 CFLAGS=$ac_wine_try_cflags_saved
11613 ac_exeext=$ac_wine_try_cflags_saved_exeext
11615 eval ac_res=\$$as_ac_var
11616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11617 printf "%s\n" "$ac_res" >&6; }
11618 if eval test \"x\$"$as_ac_var"\" = x"yes"
11619 then :
11620 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11621 fi } ;;
11622 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11624 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11625 if eval test \${$as_ac_var+y}
11626 then :
11627 printf %s "(cached) " >&6
11628 else $as_nop
11629 ac_wine_try_cflags_saved=$CFLAGS
11630 ac_wine_try_cflags_saved_exeext=$ac_exeext
11631 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11632 ac_exeext=".exe"
11633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11634 /* end confdefs.h. */
11635 int __cdecl mainCRTStartup(void) { return 0; }
11636 _ACEOF
11637 if ac_fn_c_try_link "$LINENO"
11638 then :
11639 eval "$as_ac_var=yes"
11640 else $as_nop
11641 eval "$as_ac_var=no"
11643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11644 conftest$ac_exeext conftest.$ac_ext
11645 CFLAGS=$ac_wine_try_cflags_saved
11646 ac_exeext=$ac_wine_try_cflags_saved_exeext
11648 eval ac_res=\$$as_ac_var
11649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11650 printf "%s\n" "$ac_res" >&6; }
11651 if eval test \"x\$"$as_ac_var"\" = x"yes"
11652 then :
11653 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11654 fi } ;;
11655 esac
11657 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11659 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11661 printf %s "checking whether $CC supports -Werror... " >&6; }
11662 if eval test \${$as_ac_var+y}
11663 then :
11664 printf %s "(cached) " >&6
11665 else $as_nop
11666 ac_wine_try_cflags_saved=$CFLAGS
11667 ac_wine_try_cflags_saved_exeext=$ac_exeext
11668 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11669 ac_exeext=".exe"
11670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11672 int __cdecl mainCRTStartup(void) { return 0; }
11673 _ACEOF
11674 if ac_fn_c_try_link "$LINENO"
11675 then :
11676 eval "$as_ac_var=yes"
11677 else $as_nop
11678 eval "$as_ac_var=no"
11680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11681 conftest$ac_exeext conftest.$ac_ext
11682 CFLAGS=$ac_wine_try_cflags_saved
11683 ac_exeext=$ac_wine_try_cflags_saved_exeext
11685 eval ac_res=\$$as_ac_var
11686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11687 printf "%s\n" "$ac_res" >&6; }
11688 if eval test \"x\$"$as_ac_var"\" = x"yes"
11689 then :
11690 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11691 fi }
11692 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11694 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11695 if eval test \${$as_ac_var+y}
11696 then :
11697 printf %s "(cached) " >&6
11698 else $as_nop
11699 ac_wine_try_cflags_saved=$CFLAGS
11700 ac_wine_try_cflags_saved_exeext=$ac_exeext
11701 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11702 ac_exeext=".exe"
11703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11704 /* end confdefs.h. */
11705 int __cdecl mainCRTStartup(void) { return 0; }
11706 _ACEOF
11707 if ac_fn_c_try_link "$LINENO"
11708 then :
11709 eval "$as_ac_var=yes"
11710 else $as_nop
11711 eval "$as_ac_var=no"
11713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11714 conftest$ac_exeext conftest.$ac_ext
11715 CFLAGS=$ac_wine_try_cflags_saved
11716 ac_exeext=$ac_wine_try_cflags_saved_exeext
11718 eval ac_res=\$$as_ac_var
11719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11720 printf "%s\n" "$ac_res" >&6; }
11721 if eval test \"x\$"$as_ac_var"\" = x"yes"
11722 then :
11723 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11724 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11725 fi }
11727 CC=$saved_CC
11728 CFLAGS=$saved_CFLAGS
11729 LDFLAGS=$saved_LDFLAGS
11730 done
11732 if test $HOST_ARCH = aarch64
11733 then
11734 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11735 DLLEXT=""
11736 else
11737 if test "x$PE_ARCHS" = "x"
11738 then :
11739 case "x$with_mingw" in
11740 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11741 xno) ;;
11742 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11743 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11744 esac
11750 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11751 then
11752 case "$host_cpu" in
11753 i[3456789]86*)
11754 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11756 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11757 esac
11758 for ac_prog in $ac_prefix_list
11760 # Extract the first word of "$ac_prog", so it can be a program name with args.
11761 set dummy $ac_prog; ac_word=$2
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11763 printf %s "checking for $ac_word... " >&6; }
11764 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11765 then :
11766 printf %s "(cached) " >&6
11767 else $as_nop
11768 if test -n "$MINGW_PKG_CONFIG"; then
11769 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11770 else
11771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11772 for as_dir in $PATH
11774 IFS=$as_save_IFS
11775 case $as_dir in #(((
11776 '') as_dir=./ ;;
11777 */) ;;
11778 *) as_dir=$as_dir/ ;;
11779 esac
11780 for ac_exec_ext in '' $ac_executable_extensions; do
11781 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11782 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11784 break 2
11786 done
11787 done
11788 IFS=$as_save_IFS
11792 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11793 if test -n "$MINGW_PKG_CONFIG"; then
11794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11795 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11796 else
11797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11798 printf "%s\n" "no" >&6; }
11802 test -n "$MINGW_PKG_CONFIG" && break
11803 done
11804 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11806 if ${FAUDIO_PE_CFLAGS:+false} :
11807 then :
11808 if test ${MINGW_PKG_CONFIG+y}
11809 then :
11810 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11813 if ${FAUDIO_PE_LIBS:+false} :
11814 then :
11815 if test ${MINGW_PKG_CONFIG+y}
11816 then :
11817 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11820 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11821 ac_save_CPPFLAGS=$CPPFLAGS
11822 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11824 printf %s "checking for MinGW FAudio.h... " >&6; }
11825 if test ${ac_cv_mingw_header_FAudio_h+y}
11826 then :
11827 printf %s "(cached) " >&6
11828 else $as_nop
11829 ac_wine_check_headers_saved_cc=$CC
11830 ac_wine_check_headers_saved_exeext=$ac_exeext
11831 eval CC=\$${wine_arch}_CC
11832 ac_exeext=".exe"
11833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11836 #include <FAudio.h>
11838 main (void)
11842 return 0;
11844 _ACEOF
11845 if ac_fn_c_try_compile "$LINENO"
11846 then :
11847 ac_cv_mingw_header_FAudio_h=yes
11848 else $as_nop
11849 ac_cv_mingw_header_FAudio_h=no
11851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11852 CC=$ac_wine_check_headers_saved_cc
11853 ac_exeext=$ac_wine_check_headers_saved_exeext
11855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11856 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11857 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11858 then :
11859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11860 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11861 if test ${ac_cv_mingw_lib_FAudio+y}
11862 then :
11863 printf %s "(cached) " >&6
11864 else $as_nop
11865 ac_wine_check_headers_saved_cc=$CC
11866 ac_wine_check_headers_saved_exeext=$ac_exeext
11867 ac_wine_check_headers_saved_libs=$LIBS
11868 eval CC=\$${wine_arch}_CC
11869 ac_exeext=".exe"
11870 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11874 /* Override any GCC internal prototype to avoid an error.
11875 Use char because int might match the return type of a GCC
11876 builtin and then its argument prototype would still apply. */
11877 char FAudio_CommitOperationSet ();
11879 main (void)
11881 return FAudio_CommitOperationSet ();
11883 return 0;
11885 _ACEOF
11886 if ac_fn_c_try_link "$LINENO"
11887 then :
11888 ac_cv_mingw_lib_FAudio=yes
11889 else $as_nop
11890 ac_cv_mingw_lib_FAudio=no
11892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11893 conftest$ac_exeext conftest.$ac_ext
11894 CC=$ac_wine_check_headers_saved_cc
11895 ac_exeext=$ac_wine_check_headers_saved_exeext
11896 LIBS=$ac_wine_check_headers_saved_libs
11898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11899 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11900 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11901 then :
11903 else $as_nop
11904 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11906 else $as_nop
11907 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11909 CPPFLAGS=$ac_save_CPPFLAGS
11911 if test "x$FAUDIO_PE_LIBS" = "x"
11912 then
11913 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11916 if ${JPEG_PE_CFLAGS:+false} :
11917 then :
11918 if test ${MINGW_PKG_CONFIG+y}
11919 then :
11920 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11923 if ${JPEG_PE_LIBS:+false} :
11924 then :
11925 if test ${MINGW_PKG_CONFIG+y}
11926 then :
11927 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11931 ac_save_CPPFLAGS=$CPPFLAGS
11932 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11934 printf %s "checking for MinGW jpeglib.h... " >&6; }
11935 if test ${ac_cv_mingw_header_jpeglib_h+y}
11936 then :
11937 printf %s "(cached) " >&6
11938 else $as_nop
11939 ac_wine_check_headers_saved_cc=$CC
11940 ac_wine_check_headers_saved_exeext=$ac_exeext
11941 eval CC=\$${wine_arch}_CC
11942 ac_exeext=".exe"
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11945 #include <stddef.h>
11946 #include <stdio.h>
11947 #include <jpeglib.h>
11949 main (void)
11953 return 0;
11955 _ACEOF
11956 if ac_fn_c_try_compile "$LINENO"
11957 then :
11958 ac_cv_mingw_header_jpeglib_h=yes
11959 else $as_nop
11960 ac_cv_mingw_header_jpeglib_h=no
11962 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11963 CC=$ac_wine_check_headers_saved_cc
11964 ac_exeext=$ac_wine_check_headers_saved_exeext
11966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11967 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11968 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11969 then :
11970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11971 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11972 if test ${ac_cv_mingw_lib_jpeg+y}
11973 then :
11974 printf %s "(cached) " >&6
11975 else $as_nop
11976 ac_wine_check_headers_saved_cc=$CC
11977 ac_wine_check_headers_saved_exeext=$ac_exeext
11978 ac_wine_check_headers_saved_libs=$LIBS
11979 eval CC=\$${wine_arch}_CC
11980 ac_exeext=".exe"
11981 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11985 /* Override any GCC internal prototype to avoid an error.
11986 Use char because int might match the return type of a GCC
11987 builtin and then its argument prototype would still apply. */
11988 char jpeg_start_decompress ();
11990 main (void)
11992 return jpeg_start_decompress ();
11994 return 0;
11996 _ACEOF
11997 if ac_fn_c_try_link "$LINENO"
11998 then :
11999 ac_cv_mingw_lib_jpeg=yes
12000 else $as_nop
12001 ac_cv_mingw_lib_jpeg=no
12003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12004 conftest$ac_exeext conftest.$ac_ext
12005 CC=$ac_wine_check_headers_saved_cc
12006 ac_exeext=$ac_wine_check_headers_saved_exeext
12007 LIBS=$ac_wine_check_headers_saved_libs
12009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12010 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12011 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12012 then :
12014 else $as_nop
12015 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12017 else $as_nop
12018 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12020 CPPFLAGS=$ac_save_CPPFLAGS
12022 if test "x$JPEG_PE_LIBS" = "x"
12023 then
12024 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12027 if ${LCMS2_PE_CFLAGS:+false} :
12028 then :
12029 if test ${MINGW_PKG_CONFIG+y}
12030 then :
12031 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12034 if ${LCMS2_PE_LIBS:+false} :
12035 then :
12036 if test ${MINGW_PKG_CONFIG+y}
12037 then :
12038 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12041 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12042 ac_save_CPPFLAGS=$CPPFLAGS
12043 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12045 printf %s "checking for MinGW lcms2.h... " >&6; }
12046 if test ${ac_cv_mingw_header_lcms2_h+y}
12047 then :
12048 printf %s "(cached) " >&6
12049 else $as_nop
12050 ac_wine_check_headers_saved_cc=$CC
12051 ac_wine_check_headers_saved_exeext=$ac_exeext
12052 eval CC=\$${wine_arch}_CC
12053 ac_exeext=".exe"
12054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12057 #include <lcms2.h>
12059 main (void)
12063 return 0;
12065 _ACEOF
12066 if ac_fn_c_try_compile "$LINENO"
12067 then :
12068 ac_cv_mingw_header_lcms2_h=yes
12069 else $as_nop
12070 ac_cv_mingw_header_lcms2_h=no
12072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12073 CC=$ac_wine_check_headers_saved_cc
12074 ac_exeext=$ac_wine_check_headers_saved_exeext
12076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12077 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12078 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12079 then :
12080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12081 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12082 if test ${ac_cv_mingw_lib_lcms2+y}
12083 then :
12084 printf %s "(cached) " >&6
12085 else $as_nop
12086 ac_wine_check_headers_saved_cc=$CC
12087 ac_wine_check_headers_saved_exeext=$ac_exeext
12088 ac_wine_check_headers_saved_libs=$LIBS
12089 eval CC=\$${wine_arch}_CC
12090 ac_exeext=".exe"
12091 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12095 /* Override any GCC internal prototype to avoid an error.
12096 Use char because int might match the return type of a GCC
12097 builtin and then its argument prototype would still apply. */
12098 char cmsOpenProfileFromFile ();
12100 main (void)
12102 return cmsOpenProfileFromFile ();
12104 return 0;
12106 _ACEOF
12107 if ac_fn_c_try_link "$LINENO"
12108 then :
12109 ac_cv_mingw_lib_lcms2=yes
12110 else $as_nop
12111 ac_cv_mingw_lib_lcms2=no
12113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12114 conftest$ac_exeext conftest.$ac_ext
12115 CC=$ac_wine_check_headers_saved_cc
12116 ac_exeext=$ac_wine_check_headers_saved_exeext
12117 LIBS=$ac_wine_check_headers_saved_libs
12119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12120 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12121 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12122 then :
12124 else $as_nop
12125 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12127 else $as_nop
12128 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12130 CPPFLAGS=$ac_save_CPPFLAGS
12132 if test "x$LCMS2_PE_LIBS" = "x"
12133 then
12134 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12137 if ${MPG123_PE_CFLAGS:+false} :
12138 then :
12139 if test ${MINGW_PKG_CONFIG+y}
12140 then :
12141 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12144 if ${MPG123_PE_LIBS:+false} :
12145 then :
12146 if test ${MINGW_PKG_CONFIG+y}
12147 then :
12148 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12151 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12152 ac_save_CPPFLAGS=$CPPFLAGS
12153 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12155 printf %s "checking for MinGW mpg123.h... " >&6; }
12156 if test ${ac_cv_mingw_header_mpg123_h+y}
12157 then :
12158 printf %s "(cached) " >&6
12159 else $as_nop
12160 ac_wine_check_headers_saved_cc=$CC
12161 ac_wine_check_headers_saved_exeext=$ac_exeext
12162 eval CC=\$${wine_arch}_CC
12163 ac_exeext=".exe"
12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 #include <mpg123.h>
12169 main (void)
12173 return 0;
12175 _ACEOF
12176 if ac_fn_c_try_compile "$LINENO"
12177 then :
12178 ac_cv_mingw_header_mpg123_h=yes
12179 else $as_nop
12180 ac_cv_mingw_header_mpg123_h=no
12182 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12183 CC=$ac_wine_check_headers_saved_cc
12184 ac_exeext=$ac_wine_check_headers_saved_exeext
12186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12187 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12188 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12189 then :
12190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12191 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12192 if test ${ac_cv_mingw_lib_mpg123+y}
12193 then :
12194 printf %s "(cached) " >&6
12195 else $as_nop
12196 ac_wine_check_headers_saved_cc=$CC
12197 ac_wine_check_headers_saved_exeext=$ac_exeext
12198 ac_wine_check_headers_saved_libs=$LIBS
12199 eval CC=\$${wine_arch}_CC
12200 ac_exeext=".exe"
12201 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12205 /* Override any GCC internal prototype to avoid an error.
12206 Use char because int might match the return type of a GCC
12207 builtin and then its argument prototype would still apply. */
12208 char mpg123_feed ();
12210 main (void)
12212 return mpg123_feed ();
12214 return 0;
12216 _ACEOF
12217 if ac_fn_c_try_link "$LINENO"
12218 then :
12219 ac_cv_mingw_lib_mpg123=yes
12220 else $as_nop
12221 ac_cv_mingw_lib_mpg123=no
12223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12224 conftest$ac_exeext conftest.$ac_ext
12225 CC=$ac_wine_check_headers_saved_cc
12226 ac_exeext=$ac_wine_check_headers_saved_exeext
12227 LIBS=$ac_wine_check_headers_saved_libs
12229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12230 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12231 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12232 then :
12234 else $as_nop
12235 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12237 else $as_nop
12238 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12240 CPPFLAGS=$ac_save_CPPFLAGS
12242 if test "x$MPG123_PE_LIBS" = "x"
12243 then
12244 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12247 if ${PNG_PE_CFLAGS:+false} :
12248 then :
12249 if test ${MINGW_PKG_CONFIG+y}
12250 then :
12251 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12254 if ${PNG_PE_LIBS:+false} :
12255 then :
12256 if test ${MINGW_PKG_CONFIG+y}
12257 then :
12258 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12262 ac_save_CPPFLAGS=$CPPFLAGS
12263 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12265 printf %s "checking for MinGW png.h... " >&6; }
12266 if test ${ac_cv_mingw_header_png_h+y}
12267 then :
12268 printf %s "(cached) " >&6
12269 else $as_nop
12270 ac_wine_check_headers_saved_cc=$CC
12271 ac_wine_check_headers_saved_exeext=$ac_exeext
12272 eval CC=\$${wine_arch}_CC
12273 ac_exeext=".exe"
12274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h. */
12277 #include <png.h>
12279 main (void)
12283 return 0;
12285 _ACEOF
12286 if ac_fn_c_try_compile "$LINENO"
12287 then :
12288 ac_cv_mingw_header_png_h=yes
12289 else $as_nop
12290 ac_cv_mingw_header_png_h=no
12292 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12293 CC=$ac_wine_check_headers_saved_cc
12294 ac_exeext=$ac_wine_check_headers_saved_exeext
12296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12297 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12298 if test "x$ac_cv_mingw_header_png_h" = xyes
12299 then :
12300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12301 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12302 if test ${ac_cv_mingw_lib_png+y}
12303 then :
12304 printf %s "(cached) " >&6
12305 else $as_nop
12306 ac_wine_check_headers_saved_cc=$CC
12307 ac_wine_check_headers_saved_exeext=$ac_exeext
12308 ac_wine_check_headers_saved_libs=$LIBS
12309 eval CC=\$${wine_arch}_CC
12310 ac_exeext=".exe"
12311 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12315 /* Override any GCC internal prototype to avoid an error.
12316 Use char because int might match the return type of a GCC
12317 builtin and then its argument prototype would still apply. */
12318 char png_create_read_struct ();
12320 main (void)
12322 return png_create_read_struct ();
12324 return 0;
12326 _ACEOF
12327 if ac_fn_c_try_link "$LINENO"
12328 then :
12329 ac_cv_mingw_lib_png=yes
12330 else $as_nop
12331 ac_cv_mingw_lib_png=no
12333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12334 conftest$ac_exeext conftest.$ac_ext
12335 CC=$ac_wine_check_headers_saved_cc
12336 ac_exeext=$ac_wine_check_headers_saved_exeext
12337 LIBS=$ac_wine_check_headers_saved_libs
12339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12340 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12341 if test "x$ac_cv_mingw_lib_png" = xyes
12342 then :
12344 else $as_nop
12345 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12347 else $as_nop
12348 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12350 CPPFLAGS=$ac_save_CPPFLAGS
12352 if test "x$PNG_PE_LIBS" = "x"
12353 then
12354 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12357 if ${TIFF_PE_CFLAGS:+false} :
12358 then :
12359 if test ${MINGW_PKG_CONFIG+y}
12360 then :
12361 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12364 if ${TIFF_PE_LIBS:+false} :
12365 then :
12366 if test ${MINGW_PKG_CONFIG+y}
12367 then :
12368 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12372 ac_save_CPPFLAGS=$CPPFLAGS
12373 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12375 printf %s "checking for MinGW tiffio.h... " >&6; }
12376 if test ${ac_cv_mingw_header_tiffio_h+y}
12377 then :
12378 printf %s "(cached) " >&6
12379 else $as_nop
12380 ac_wine_check_headers_saved_cc=$CC
12381 ac_wine_check_headers_saved_exeext=$ac_exeext
12382 eval CC=\$${wine_arch}_CC
12383 ac_exeext=".exe"
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12387 #include <tiffio.h>
12389 main (void)
12393 return 0;
12395 _ACEOF
12396 if ac_fn_c_try_compile "$LINENO"
12397 then :
12398 ac_cv_mingw_header_tiffio_h=yes
12399 else $as_nop
12400 ac_cv_mingw_header_tiffio_h=no
12402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12403 CC=$ac_wine_check_headers_saved_cc
12404 ac_exeext=$ac_wine_check_headers_saved_exeext
12406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12407 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12408 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12409 then :
12410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12411 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12412 if test ${ac_cv_mingw_lib_tiff+y}
12413 then :
12414 printf %s "(cached) " >&6
12415 else $as_nop
12416 ac_wine_check_headers_saved_cc=$CC
12417 ac_wine_check_headers_saved_exeext=$ac_exeext
12418 ac_wine_check_headers_saved_libs=$LIBS
12419 eval CC=\$${wine_arch}_CC
12420 ac_exeext=".exe"
12421 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12425 /* Override any GCC internal prototype to avoid an error.
12426 Use char because int might match the return type of a GCC
12427 builtin and then its argument prototype would still apply. */
12428 char TIFFClientOpen ();
12430 main (void)
12432 return TIFFClientOpen ();
12434 return 0;
12436 _ACEOF
12437 if ac_fn_c_try_link "$LINENO"
12438 then :
12439 ac_cv_mingw_lib_tiff=yes
12440 else $as_nop
12441 ac_cv_mingw_lib_tiff=no
12443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12444 conftest$ac_exeext conftest.$ac_ext
12445 CC=$ac_wine_check_headers_saved_cc
12446 ac_exeext=$ac_wine_check_headers_saved_exeext
12447 LIBS=$ac_wine_check_headers_saved_libs
12449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12450 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12451 if test "x$ac_cv_mingw_lib_tiff" = xyes
12452 then :
12454 else $as_nop
12455 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12457 else $as_nop
12458 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12460 CPPFLAGS=$ac_save_CPPFLAGS
12462 if test "x$TIFF_PE_LIBS" = "x"
12463 then
12464 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12467 if ${XML2_PE_CFLAGS:+false} :
12468 then :
12469 if test ${MINGW_PKG_CONFIG+y}
12470 then :
12471 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12474 if ${XML2_PE_LIBS:+false} :
12475 then :
12476 if test ${MINGW_PKG_CONFIG+y}
12477 then :
12478 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12481 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12482 ac_save_CPPFLAGS=$CPPFLAGS
12483 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12485 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12486 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12487 then :
12488 printf %s "(cached) " >&6
12489 else $as_nop
12490 ac_wine_check_headers_saved_cc=$CC
12491 ac_wine_check_headers_saved_exeext=$ac_exeext
12492 eval CC=\$${wine_arch}_CC
12493 ac_exeext=".exe"
12494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12497 #include <libxml/parser.h>
12499 main (void)
12503 return 0;
12505 _ACEOF
12506 if ac_fn_c_try_compile "$LINENO"
12507 then :
12508 ac_cv_mingw_header_libxml_parser_h=yes
12509 else $as_nop
12510 ac_cv_mingw_header_libxml_parser_h=no
12512 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12513 CC=$ac_wine_check_headers_saved_cc
12514 ac_exeext=$ac_wine_check_headers_saved_exeext
12516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12517 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12518 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12519 then :
12522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12523 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12524 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12525 then :
12526 printf %s "(cached) " >&6
12527 else $as_nop
12528 ac_wine_check_headers_saved_cc=$CC
12529 ac_wine_check_headers_saved_exeext=$ac_exeext
12530 eval CC=\$${wine_arch}_CC
12531 ac_exeext=".exe"
12532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12535 #include <libxml/xmlsave.h>
12537 main (void)
12541 return 0;
12543 _ACEOF
12544 if ac_fn_c_try_compile "$LINENO"
12545 then :
12546 ac_cv_mingw_header_libxml_xmlsave_h=yes
12547 else $as_nop
12548 ac_cv_mingw_header_libxml_xmlsave_h=no
12550 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12551 CC=$ac_wine_check_headers_saved_cc
12552 ac_exeext=$ac_wine_check_headers_saved_exeext
12554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12555 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12556 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12557 then :
12560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12561 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12562 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12563 then :
12564 printf %s "(cached) " >&6
12565 else $as_nop
12566 ac_wine_check_headers_saved_cc=$CC
12567 ac_wine_check_headers_saved_exeext=$ac_exeext
12568 eval CC=\$${wine_arch}_CC
12569 ac_exeext=".exe"
12570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12573 #include <libxml/SAX2.h>
12575 main (void)
12579 return 0;
12581 _ACEOF
12582 if ac_fn_c_try_compile "$LINENO"
12583 then :
12584 ac_cv_mingw_header_libxml_SAX2_h=yes
12585 else $as_nop
12586 ac_cv_mingw_header_libxml_SAX2_h=no
12588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12589 CC=$ac_wine_check_headers_saved_cc
12590 ac_exeext=$ac_wine_check_headers_saved_exeext
12592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12593 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12594 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12595 then :
12598 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"
12599 then
12600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12601 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12602 if test ${ac_cv_mingw_lib_xml2+y}
12603 then :
12604 printf %s "(cached) " >&6
12605 else $as_nop
12606 ac_wine_check_headers_saved_cc=$CC
12607 ac_wine_check_headers_saved_exeext=$ac_exeext
12608 ac_wine_check_headers_saved_libs=$LIBS
12609 eval CC=\$${wine_arch}_CC
12610 ac_exeext=".exe"
12611 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12613 /* end confdefs.h. */
12615 /* Override any GCC internal prototype to avoid an error.
12616 Use char because int might match the return type of a GCC
12617 builtin and then its argument prototype would still apply. */
12618 char xmlFirstElementChild ();
12620 main (void)
12622 return xmlFirstElementChild ();
12624 return 0;
12626 _ACEOF
12627 if ac_fn_c_try_link "$LINENO"
12628 then :
12629 ac_cv_mingw_lib_xml2=yes
12630 else $as_nop
12631 ac_cv_mingw_lib_xml2=no
12633 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12634 conftest$ac_exeext conftest.$ac_ext
12635 CC=$ac_wine_check_headers_saved_cc
12636 ac_exeext=$ac_wine_check_headers_saved_exeext
12637 LIBS=$ac_wine_check_headers_saved_libs
12639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12640 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12641 if test "x$ac_cv_mingw_lib_xml2" = xyes
12642 then :
12644 else $as_nop
12645 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12647 else
12648 XML2_PE_CFLAGS=""
12649 XML2_PE_LIBS=""
12651 CPPFLAGS=$ac_save_CPPFLAGS
12653 if test "x$XML2_PE_LIBS" = "x"
12654 then
12655 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12658 if ${XSLT_PE_CFLAGS:+false} :
12659 then :
12660 if test ${MINGW_PKG_CONFIG+y}
12661 then :
12662 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12665 if ${XSLT_PE_LIBS:+false} :
12666 then :
12667 if test ${MINGW_PKG_CONFIG+y}
12668 then :
12669 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12672 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12673 ac_save_CPPFLAGS=$CPPFLAGS
12674 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12676 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12677 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12678 then :
12679 printf %s "(cached) " >&6
12680 else $as_nop
12681 ac_wine_check_headers_saved_cc=$CC
12682 ac_wine_check_headers_saved_exeext=$ac_exeext
12683 eval CC=\$${wine_arch}_CC
12684 ac_exeext=".exe"
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 #include <libxslt/pattern.h>
12690 main (void)
12694 return 0;
12696 _ACEOF
12697 if ac_fn_c_try_compile "$LINENO"
12698 then :
12699 ac_cv_mingw_header_libxslt_pattern_h=yes
12700 else $as_nop
12701 ac_cv_mingw_header_libxslt_pattern_h=no
12703 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12704 CC=$ac_wine_check_headers_saved_cc
12705 ac_exeext=$ac_wine_check_headers_saved_exeext
12707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12708 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12709 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12710 then :
12713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12714 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12715 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12716 then :
12717 printf %s "(cached) " >&6
12718 else $as_nop
12719 ac_wine_check_headers_saved_cc=$CC
12720 ac_wine_check_headers_saved_exeext=$ac_exeext
12721 eval CC=\$${wine_arch}_CC
12722 ac_exeext=".exe"
12723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12724 /* end confdefs.h. */
12726 #include <libxslt/transform.h>
12728 main (void)
12732 return 0;
12734 _ACEOF
12735 if ac_fn_c_try_compile "$LINENO"
12736 then :
12737 ac_cv_mingw_header_libxslt_transform_h=yes
12738 else $as_nop
12739 ac_cv_mingw_header_libxslt_transform_h=no
12741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12742 CC=$ac_wine_check_headers_saved_cc
12743 ac_exeext=$ac_wine_check_headers_saved_exeext
12745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12746 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12747 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12748 then :
12751 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12752 then
12753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12754 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12755 if test ${ac_cv_mingw_lib_xslt+y}
12756 then :
12757 printf %s "(cached) " >&6
12758 else $as_nop
12759 ac_wine_check_headers_saved_cc=$CC
12760 ac_wine_check_headers_saved_exeext=$ac_exeext
12761 ac_wine_check_headers_saved_libs=$LIBS
12762 eval CC=\$${wine_arch}_CC
12763 ac_exeext=".exe"
12764 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12768 /* Override any GCC internal prototype to avoid an error.
12769 Use char because int might match the return type of a GCC
12770 builtin and then its argument prototype would still apply. */
12771 char xsltCompilePattern ();
12773 main (void)
12775 return xsltCompilePattern ();
12777 return 0;
12779 _ACEOF
12780 if ac_fn_c_try_link "$LINENO"
12781 then :
12782 ac_cv_mingw_lib_xslt=yes
12783 else $as_nop
12784 ac_cv_mingw_lib_xslt=no
12786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12787 conftest$ac_exeext conftest.$ac_ext
12788 CC=$ac_wine_check_headers_saved_cc
12789 ac_exeext=$ac_wine_check_headers_saved_exeext
12790 LIBS=$ac_wine_check_headers_saved_libs
12792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12793 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12794 if test "x$ac_cv_mingw_lib_xslt" = xyes
12795 then :
12797 else $as_nop
12798 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12800 else
12801 XSLT_PE_CFLAGS=""
12802 XSLT_PE_LIBS=""
12804 CPPFLAGS=$ac_save_CPPFLAGS
12806 if test "x$XSLT_PE_LIBS" = "x"
12807 then
12808 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12811 if ${VKD3D_PE_CFLAGS:+false} :
12812 then :
12813 if test ${MINGW_PKG_CONFIG+y}
12814 then :
12815 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12818 if ${VKD3D_PE_LIBS:+false} :
12819 then :
12820 if test ${MINGW_PKG_CONFIG+y}
12821 then :
12822 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12825 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12826 ac_save_CPPFLAGS=$CPPFLAGS
12827 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12829 printf %s "checking for MinGW vkd3d.h... " >&6; }
12830 if test ${ac_cv_mingw_header_vkd3d_h+y}
12831 then :
12832 printf %s "(cached) " >&6
12833 else $as_nop
12834 ac_wine_check_headers_saved_cc=$CC
12835 ac_wine_check_headers_saved_exeext=$ac_exeext
12836 eval CC=\$${wine_arch}_CC
12837 ac_exeext=".exe"
12838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12841 #include <vkd3d.h>
12843 main (void)
12847 return 0;
12849 _ACEOF
12850 if ac_fn_c_try_compile "$LINENO"
12851 then :
12852 ac_cv_mingw_header_vkd3d_h=yes
12853 else $as_nop
12854 ac_cv_mingw_header_vkd3d_h=no
12856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12857 CC=$ac_wine_check_headers_saved_cc
12858 ac_exeext=$ac_wine_check_headers_saved_exeext
12860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12861 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12862 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12863 then :
12866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12867 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12868 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12869 then :
12870 printf %s "(cached) " >&6
12871 else $as_nop
12872 ac_wine_check_headers_saved_cc=$CC
12873 ac_wine_check_headers_saved_exeext=$ac_exeext
12874 eval CC=\$${wine_arch}_CC
12875 ac_exeext=".exe"
12876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12877 /* end confdefs.h. */
12879 #include <vkd3d_shader.h>
12881 main (void)
12885 return 0;
12887 _ACEOF
12888 if ac_fn_c_try_compile "$LINENO"
12889 then :
12890 ac_cv_mingw_header_vkd3d_shader_h=yes
12891 else $as_nop
12892 ac_cv_mingw_header_vkd3d_shader_h=no
12894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12895 CC=$ac_wine_check_headers_saved_cc
12896 ac_exeext=$ac_wine_check_headers_saved_exeext
12898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12899 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12900 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12901 then :
12904 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12905 then
12906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12907 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12908 if test ${ac_cv_mingw_lib_vkd3d+y}
12909 then :
12910 printf %s "(cached) " >&6
12911 else $as_nop
12912 ac_wine_check_headers_saved_cc=$CC
12913 ac_wine_check_headers_saved_exeext=$ac_exeext
12914 ac_wine_check_headers_saved_libs=$LIBS
12915 eval CC=\$${wine_arch}_CC
12916 ac_exeext=".exe"
12917 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12919 /* end confdefs.h. */
12921 /* Override any GCC internal prototype to avoid an error.
12922 Use char because int might match the return type of a GCC
12923 builtin and then its argument prototype would still apply. */
12924 char vkd3d_set_log_callback ();
12926 main (void)
12928 return vkd3d_set_log_callback ();
12930 return 0;
12932 _ACEOF
12933 if ac_fn_c_try_link "$LINENO"
12934 then :
12935 ac_cv_mingw_lib_vkd3d=yes
12936 else $as_nop
12937 ac_cv_mingw_lib_vkd3d=no
12939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12940 conftest$ac_exeext conftest.$ac_ext
12941 CC=$ac_wine_check_headers_saved_cc
12942 ac_exeext=$ac_wine_check_headers_saved_exeext
12943 LIBS=$ac_wine_check_headers_saved_libs
12945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12946 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12947 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12948 then :
12950 else $as_nop
12953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12954 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12955 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12956 then :
12957 printf %s "(cached) " >&6
12958 else $as_nop
12959 ac_wine_check_headers_saved_cc=$CC
12960 ac_wine_check_headers_saved_exeext=$ac_exeext
12961 ac_wine_check_headers_saved_libs=$LIBS
12962 eval CC=\$${wine_arch}_CC
12963 ac_exeext=".exe"
12964 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12966 /* end confdefs.h. */
12968 /* Override any GCC internal prototype to avoid an error.
12969 Use char because int might match the return type of a GCC
12970 builtin and then its argument prototype would still apply. */
12971 char vkd3d_shader_serialize_dxbc ();
12973 main (void)
12975 return vkd3d_shader_serialize_dxbc ();
12977 return 0;
12979 _ACEOF
12980 if ac_fn_c_try_link "$LINENO"
12981 then :
12982 ac_cv_mingw_lib_vkd3d_shader=yes
12983 else $as_nop
12984 ac_cv_mingw_lib_vkd3d_shader=no
12986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12987 conftest$ac_exeext conftest.$ac_ext
12988 CC=$ac_wine_check_headers_saved_cc
12989 ac_exeext=$ac_wine_check_headers_saved_exeext
12990 LIBS=$ac_wine_check_headers_saved_libs
12992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12993 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12994 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12995 then :
12997 else $as_nop
13000 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13001 then
13002 VKD3D_PE_CFLAGS=""
13003 VKD3D_PE_LIBS=""
13005 else
13006 VKD3D_PE_CFLAGS=""
13007 VKD3D_PE_LIBS=""
13009 CPPFLAGS=$ac_save_CPPFLAGS
13011 if test "x$VKD3D_PE_LIBS" = "x"
13012 then
13013 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13016 if ${ZLIB_PE_CFLAGS:+false} :
13017 then :
13018 if test ${MINGW_PKG_CONFIG+y}
13019 then :
13020 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13023 if ${ZLIB_PE_LIBS:+false} :
13024 then :
13025 if test ${MINGW_PKG_CONFIG+y}
13026 then :
13027 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13030 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13031 ac_save_CPPFLAGS=$CPPFLAGS
13032 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13034 printf %s "checking for MinGW zlib.h... " >&6; }
13035 if test ${ac_cv_mingw_header_zlib_h+y}
13036 then :
13037 printf %s "(cached) " >&6
13038 else $as_nop
13039 ac_wine_check_headers_saved_cc=$CC
13040 ac_wine_check_headers_saved_exeext=$ac_exeext
13041 eval CC=\$${wine_arch}_CC
13042 ac_exeext=".exe"
13043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13044 /* end confdefs.h. */
13046 #include <zlib.h>
13048 main (void)
13052 return 0;
13054 _ACEOF
13055 if ac_fn_c_try_compile "$LINENO"
13056 then :
13057 ac_cv_mingw_header_zlib_h=yes
13058 else $as_nop
13059 ac_cv_mingw_header_zlib_h=no
13061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13062 CC=$ac_wine_check_headers_saved_cc
13063 ac_exeext=$ac_wine_check_headers_saved_exeext
13065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13066 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13067 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13068 then :
13069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13070 printf %s "checking for inflate in MinGW -lz... " >&6; }
13071 if test ${ac_cv_mingw_lib_z+y}
13072 then :
13073 printf %s "(cached) " >&6
13074 else $as_nop
13075 ac_wine_check_headers_saved_cc=$CC
13076 ac_wine_check_headers_saved_exeext=$ac_exeext
13077 ac_wine_check_headers_saved_libs=$LIBS
13078 eval CC=\$${wine_arch}_CC
13079 ac_exeext=".exe"
13080 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13084 /* Override any GCC internal prototype to avoid an error.
13085 Use char because int might match the return type of a GCC
13086 builtin and then its argument prototype would still apply. */
13087 char inflate ();
13089 main (void)
13091 return inflate ();
13093 return 0;
13095 _ACEOF
13096 if ac_fn_c_try_link "$LINENO"
13097 then :
13098 ac_cv_mingw_lib_z=yes
13099 else $as_nop
13100 ac_cv_mingw_lib_z=no
13102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13103 conftest$ac_exeext conftest.$ac_ext
13104 CC=$ac_wine_check_headers_saved_cc
13105 ac_exeext=$ac_wine_check_headers_saved_exeext
13106 LIBS=$ac_wine_check_headers_saved_libs
13108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13109 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13110 if test "x$ac_cv_mingw_lib_z" = xyes
13111 then :
13113 else $as_nop
13114 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13116 else $as_nop
13117 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13119 CPPFLAGS=$ac_save_CPPFLAGS
13121 if test "x$ZLIB_PE_LIBS" = "x"
13122 then
13123 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13127 if ${FAUDIO_PE_LIBS:+false} :
13128 then :
13129 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13130 if ${FAUDIO_PE_CFLAGS:+false} :
13131 then :
13132 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13133 else $as_nop
13134 enable_faudio=no
13136 else $as_nop
13137 enable_faudio=no
13139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13142 if ${GSM_PE_LIBS:+false} :
13143 then :
13144 GSM_PE_LIBS=gsm
13145 if ${GSM_PE_CFLAGS:+false} :
13146 then :
13147 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13148 else $as_nop
13149 enable_gsm=no
13151 else $as_nop
13152 enable_gsm=no
13154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13157 if ${JPEG_PE_LIBS:+false} :
13158 then :
13159 JPEG_PE_LIBS=jpeg
13160 if ${JPEG_PE_CFLAGS:+false} :
13161 then :
13162 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13163 else $as_nop
13164 enable_jpeg=no
13166 else $as_nop
13167 enable_jpeg=no
13169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13172 if ${JXR_PE_LIBS:+false} :
13173 then :
13174 JXR_PE_LIBS=jxr
13175 if ${JXR_PE_CFLAGS:+false} :
13176 then :
13177 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13178 else $as_nop
13179 enable_jxr=no
13181 else $as_nop
13182 enable_jxr=no
13184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13187 if ${LCMS2_PE_LIBS:+false} :
13188 then :
13189 LCMS2_PE_LIBS=lcms2
13190 if ${LCMS2_PE_CFLAGS:+false} :
13191 then :
13192 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13193 else $as_nop
13194 enable_lcms2=no
13196 else $as_nop
13197 enable_lcms2=no
13199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13202 if ${LDAP_PE_LIBS:+false} :
13203 then :
13204 LDAP_PE_LIBS=ldap
13205 if ${LDAP_PE_CFLAGS:+false} :
13206 then :
13207 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13208 else $as_nop
13209 enable_ldap=no
13211 else $as_nop
13212 enable_ldap=no
13214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13217 if ${MPG123_PE_LIBS:+false} :
13218 then :
13219 MPG123_PE_LIBS=mpg123
13220 if ${MPG123_PE_CFLAGS:+false} :
13221 then :
13222 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13223 else $as_nop
13224 enable_mpg123=no
13226 else $as_nop
13227 enable_mpg123=no
13229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13232 if ${MUSL_PE_LIBS:+false} :
13233 then :
13234 MUSL_PE_LIBS=musl
13235 if ${MUSL_PE_CFLAGS:+false} :
13236 then :
13237 MUSL_PE_CFLAGS=
13238 else $as_nop
13239 enable_musl=no
13241 else $as_nop
13242 enable_musl=no
13244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13247 if ${PNG_PE_LIBS:+false} :
13248 then :
13249 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13250 if ${PNG_PE_CFLAGS:+false} :
13251 then :
13252 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13253 else $as_nop
13254 enable_png=no
13256 else $as_nop
13257 enable_png=no
13259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13262 if ${TIFF_PE_LIBS:+false} :
13263 then :
13264 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13265 if ${TIFF_PE_CFLAGS:+false} :
13266 then :
13267 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13268 else $as_nop
13269 enable_tiff=no
13271 else $as_nop
13272 enable_tiff=no
13274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13277 if ${VKD3D_PE_LIBS:+false} :
13278 then :
13279 VKD3D_PE_LIBS=vkd3d
13280 if ${VKD3D_PE_CFLAGS:+false} :
13281 then :
13282 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13283 else $as_nop
13284 enable_vkd3d=no
13286 else $as_nop
13287 enable_vkd3d=no
13289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13292 if ${XML2_PE_LIBS:+false} :
13293 then :
13294 XML2_PE_LIBS=xml2
13295 if ${XML2_PE_CFLAGS:+false} :
13296 then :
13297 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13298 else $as_nop
13299 enable_xml2=no
13301 else $as_nop
13302 enable_xml2=no
13304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13307 if ${XSLT_PE_LIBS:+false} :
13308 then :
13309 XSLT_PE_LIBS=xslt
13310 if ${XSLT_PE_CFLAGS:+false} :
13311 then :
13312 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13313 else $as_nop
13314 enable_xslt=no
13316 else $as_nop
13317 enable_xslt=no
13319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13322 if ${ZLIB_PE_LIBS:+false} :
13323 then :
13324 ZLIB_PE_LIBS=z
13325 if ${ZLIB_PE_CFLAGS:+false} :
13326 then :
13327 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13328 else $as_nop
13329 enable_zlib=no
13331 else $as_nop
13332 enable_zlib=no
13334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13337 if ${ZYDIS_PE_LIBS:+false} :
13338 then :
13339 ZYDIS_PE_LIBS=zydis
13340 if ${ZYDIS_PE_CFLAGS:+false} :
13341 then :
13342 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13343 else $as_nop
13344 enable_zydis=no
13346 else $as_nop
13347 enable_zydis=no
13349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13354 if test "$ac_cv_header_pthread_h" = "yes"
13355 then
13356 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13357 if test "x$ac_cv_func_pthread_create" = xyes
13358 then :
13360 else $as_nop
13361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13362 printf %s "checking for pthread_create in -lpthread... " >&6; }
13363 if test ${ac_cv_lib_pthread_pthread_create+y}
13364 then :
13365 printf %s "(cached) " >&6
13366 else $as_nop
13367 ac_check_lib_save_LIBS=$LIBS
13368 LIBS="-lpthread $LIBS"
13369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13370 /* end confdefs.h. */
13372 /* Override any GCC internal prototype to avoid an error.
13373 Use char because int might match the return type of a GCC
13374 builtin and then its argument prototype would still apply. */
13375 char pthread_create ();
13377 main (void)
13379 return pthread_create ();
13381 return 0;
13383 _ACEOF
13384 if ac_fn_c_try_link "$LINENO"
13385 then :
13386 ac_cv_lib_pthread_pthread_create=yes
13387 else $as_nop
13388 ac_cv_lib_pthread_pthread_create=no
13390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13391 conftest$ac_exeext conftest.$ac_ext
13392 LIBS=$ac_check_lib_save_LIBS
13394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13395 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13396 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13397 then :
13398 PTHREAD_LIBS="-lpthread"
13405 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13406 then :
13407 case "x$with_pthread" in
13408 xno) ;;
13409 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13410 Wine cannot support threads without libpthread.
13411 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13412 esac
13417 ac_ext=c
13418 ac_cpp='$CPP $CPPFLAGS'
13419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13423 printf %s "checking how to run the C preprocessor... " >&6; }
13424 # On Suns, sometimes $CPP names a directory.
13425 if test -n "$CPP" && test -d "$CPP"; then
13426 CPP=
13428 if test -z "$CPP"; then
13429 if test ${ac_cv_prog_CPP+y}
13430 then :
13431 printf %s "(cached) " >&6
13432 else $as_nop
13433 # Double quotes because $CC needs to be expanded
13434 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13436 ac_preproc_ok=false
13437 for ac_c_preproc_warn_flag in '' yes
13439 # Use a header file that comes with gcc, so configuring glibc
13440 # with a fresh cross-compiler works.
13441 # On the NeXT, cc -E runs the code through the compiler's parser,
13442 # not just through cpp. "Syntax error" is here to catch this case.
13443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13444 /* end confdefs.h. */
13445 #include <limits.h>
13446 Syntax error
13447 _ACEOF
13448 if ac_fn_c_try_cpp "$LINENO"
13449 then :
13451 else $as_nop
13452 # Broken: fails on valid input.
13453 continue
13455 rm -f conftest.err conftest.i conftest.$ac_ext
13457 # OK, works on sane cases. Now check whether nonexistent headers
13458 # can be detected and how.
13459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13460 /* end confdefs.h. */
13461 #include <ac_nonexistent.h>
13462 _ACEOF
13463 if ac_fn_c_try_cpp "$LINENO"
13464 then :
13465 # Broken: success on invalid input.
13466 continue
13467 else $as_nop
13468 # Passes both tests.
13469 ac_preproc_ok=:
13470 break
13472 rm -f conftest.err conftest.i conftest.$ac_ext
13474 done
13475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13476 rm -f conftest.i conftest.err conftest.$ac_ext
13477 if $ac_preproc_ok
13478 then :
13479 break
13482 done
13483 ac_cv_prog_CPP=$CPP
13486 CPP=$ac_cv_prog_CPP
13487 else
13488 ac_cv_prog_CPP=$CPP
13490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13491 printf "%s\n" "$CPP" >&6; }
13492 ac_preproc_ok=false
13493 for ac_c_preproc_warn_flag in '' yes
13495 # Use a header file that comes with gcc, so configuring glibc
13496 # with a fresh cross-compiler works.
13497 # On the NeXT, cc -E runs the code through the compiler's parser,
13498 # not just through cpp. "Syntax error" is here to catch this case.
13499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13500 /* end confdefs.h. */
13501 #include <limits.h>
13502 Syntax error
13503 _ACEOF
13504 if ac_fn_c_try_cpp "$LINENO"
13505 then :
13507 else $as_nop
13508 # Broken: fails on valid input.
13509 continue
13511 rm -f conftest.err conftest.i conftest.$ac_ext
13513 # OK, works on sane cases. Now check whether nonexistent headers
13514 # can be detected and how.
13515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13516 /* end confdefs.h. */
13517 #include <ac_nonexistent.h>
13518 _ACEOF
13519 if ac_fn_c_try_cpp "$LINENO"
13520 then :
13521 # Broken: success on invalid input.
13522 continue
13523 else $as_nop
13524 # Passes both tests.
13525 ac_preproc_ok=:
13526 break
13528 rm -f conftest.err conftest.i conftest.$ac_ext
13530 done
13531 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13532 rm -f conftest.i conftest.err conftest.$ac_ext
13533 if $ac_preproc_ok
13534 then :
13536 else $as_nop
13537 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13538 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13539 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13540 See \`config.log' for more details" "$LINENO" 5; }
13543 ac_ext=c
13544 ac_cpp='$CPP $CPPFLAGS'
13545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13551 printf %s "checking for X... " >&6; }
13554 # Check whether --with-x was given.
13555 if test ${with_x+y}
13556 then :
13557 withval=$with_x;
13560 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13561 if test "x$with_x" = xno; then
13562 # The user explicitly disabled X.
13563 have_x=disabled
13564 else
13565 case $x_includes,$x_libraries in #(
13566 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13567 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13568 then :
13569 printf %s "(cached) " >&6
13570 else $as_nop
13571 # One or both of the vars are not set, and there is no cached value.
13572 ac_x_includes=no
13573 ac_x_libraries=no
13574 # Do we need to do anything special at all?
13575 ac_save_LIBS=$LIBS
13576 LIBS="-lX11 $LIBS"
13577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13578 /* end confdefs.h. */
13579 #include <X11/Xlib.h>
13581 main (void)
13583 XrmInitialize ()
13585 return 0;
13587 _ACEOF
13588 if ac_fn_c_try_link "$LINENO"
13589 then :
13590 # We can compile and link X programs with no special options.
13591 ac_x_includes=
13592 ac_x_libraries=
13594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13595 conftest$ac_exeext conftest.$ac_ext
13596 LIBS="$ac_save_LIBS"
13597 # If that didn't work, only try xmkmf and file system searches
13598 # for native compilation.
13599 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13600 then :
13601 rm -f -r conftest.dir
13602 if mkdir conftest.dir; then
13603 cd conftest.dir
13604 cat >Imakefile <<'_ACEOF'
13605 incroot:
13606 @echo incroot='${INCROOT}'
13607 usrlibdir:
13608 @echo usrlibdir='${USRLIBDIR}'
13609 libdir:
13610 @echo libdir='${LIBDIR}'
13611 _ACEOF
13612 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13613 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13614 for ac_var in incroot usrlibdir libdir; do
13615 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13616 done
13617 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13618 for ac_extension in a so sl dylib la dll; do
13619 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13620 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13621 ac_im_usrlibdir=$ac_im_libdir; break
13623 done
13624 # Screen out bogus values from the imake configuration. They are
13625 # bogus both because they are the default anyway, and because
13626 # using them would break gcc on systems where it needs fixed includes.
13627 case $ac_im_incroot in
13628 /usr/include) ac_x_includes= ;;
13629 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13630 esac
13631 case $ac_im_usrlibdir in
13632 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13633 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13634 esac
13636 cd ..
13637 rm -f -r conftest.dir
13640 # Standard set of common directories for X headers.
13641 # Check X11 before X11Rn because it is often a symlink to the current release.
13642 ac_x_header_dirs='
13643 /usr/X11/include
13644 /usr/X11R7/include
13645 /usr/X11R6/include
13646 /usr/X11R5/include
13647 /usr/X11R4/include
13649 /usr/include/X11
13650 /usr/include/X11R7
13651 /usr/include/X11R6
13652 /usr/include/X11R5
13653 /usr/include/X11R4
13655 /usr/local/X11/include
13656 /usr/local/X11R7/include
13657 /usr/local/X11R6/include
13658 /usr/local/X11R5/include
13659 /usr/local/X11R4/include
13661 /usr/local/include/X11
13662 /usr/local/include/X11R7
13663 /usr/local/include/X11R6
13664 /usr/local/include/X11R5
13665 /usr/local/include/X11R4
13667 /opt/X11/include
13669 /usr/X386/include
13670 /usr/x386/include
13671 /usr/XFree86/include/X11
13673 /usr/include
13674 /usr/local/include
13675 /usr/unsupported/include
13676 /usr/athena/include
13677 /usr/local/x11r5/include
13678 /usr/lpp/Xamples/include
13680 /usr/openwin/include
13681 /usr/openwin/share/include'
13683 if test "$ac_x_includes" = no; then
13684 # Guess where to find include files, by looking for Xlib.h.
13685 # First, try using that file with no special directory specified.
13686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13687 /* end confdefs.h. */
13688 #include <X11/Xlib.h>
13689 _ACEOF
13690 if ac_fn_c_try_cpp "$LINENO"
13691 then :
13692 # We can compile using X headers with no special include directory.
13693 ac_x_includes=
13694 else $as_nop
13695 for ac_dir in $ac_x_header_dirs; do
13696 if test -r "$ac_dir/X11/Xlib.h"; then
13697 ac_x_includes=$ac_dir
13698 break
13700 done
13702 rm -f conftest.err conftest.i conftest.$ac_ext
13703 fi # $ac_x_includes = no
13705 if test "$ac_x_libraries" = no; then
13706 # Check for the libraries.
13707 # See if we find them without any special options.
13708 # Don't add to $LIBS permanently.
13709 ac_save_LIBS=$LIBS
13710 LIBS="-lX11 $LIBS"
13711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13712 /* end confdefs.h. */
13713 #include <X11/Xlib.h>
13715 main (void)
13717 XrmInitialize ()
13719 return 0;
13721 _ACEOF
13722 if ac_fn_c_try_link "$LINENO"
13723 then :
13724 LIBS=$ac_save_LIBS
13725 # We can link X programs with no special library path.
13726 ac_x_libraries=
13727 else $as_nop
13728 LIBS=$ac_save_LIBS
13729 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13731 # Don't even attempt the hair of trying to link an X program!
13732 for ac_extension in a so sl dylib la dll; do
13733 if test -r "$ac_dir/libX11.$ac_extension"; then
13734 ac_x_libraries=$ac_dir
13735 break 2
13737 done
13738 done
13740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13741 conftest$ac_exeext conftest.$ac_ext
13742 fi # $ac_x_libraries = no
13745 # Record the results.
13746 case $ac_x_includes,$ac_x_libraries in #(
13747 no,* | *,no | *\'*) :
13748 # Didn't find X, or a directory has "'" in its name.
13749 ac_cv_have_x="have_x=no" ;; #(
13750 *) :
13751 # Record where we found X for the cache.
13752 ac_cv_have_x="have_x=yes\
13753 ac_x_includes='$ac_x_includes'\
13754 ac_x_libraries='$ac_x_libraries'" ;;
13755 esac
13757 ;; #(
13758 *) have_x=yes;;
13759 esac
13760 eval "$ac_cv_have_x"
13761 fi # $with_x != no
13763 if test "$have_x" != yes; then
13764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13765 printf "%s\n" "$have_x" >&6; }
13766 no_x=yes
13767 else
13768 # If each of the values was on the command line, it overrides each guess.
13769 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13770 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13771 # Update the cache value to reflect the command line values.
13772 ac_cv_have_x="have_x=yes\
13773 ac_x_includes='$x_includes'\
13774 ac_x_libraries='$x_libraries'"
13775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13776 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13779 if test "$no_x" = yes; then
13780 # Not all programs may use this symbol, but it does not hurt to define it.
13782 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13784 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13785 else
13786 if test -n "$x_includes"; then
13787 X_CFLAGS="$X_CFLAGS -I$x_includes"
13790 # It would also be nice to do this for all -L options, not just this one.
13791 if test -n "$x_libraries"; then
13792 X_LIBS="$X_LIBS -L$x_libraries"
13793 # For Solaris; some versions of Sun CC require a space after -R and
13794 # others require no space. Words are not sufficient . . . .
13795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13796 printf %s "checking whether -R must be followed by a space... " >&6; }
13797 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13798 ac_xsave_c_werror_flag=$ac_c_werror_flag
13799 ac_c_werror_flag=yes
13800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13801 /* end confdefs.h. */
13804 main (void)
13808 return 0;
13810 _ACEOF
13811 if ac_fn_c_try_link "$LINENO"
13812 then :
13813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13814 printf "%s\n" "no" >&6; }
13815 X_LIBS="$X_LIBS -R$x_libraries"
13816 else $as_nop
13817 LIBS="$ac_xsave_LIBS -R $x_libraries"
13818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13819 /* end confdefs.h. */
13822 main (void)
13826 return 0;
13828 _ACEOF
13829 if ac_fn_c_try_link "$LINENO"
13830 then :
13831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13832 printf "%s\n" "yes" >&6; }
13833 X_LIBS="$X_LIBS -R $x_libraries"
13834 else $as_nop
13835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13836 printf "%s\n" "neither works" >&6; }
13838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13839 conftest$ac_exeext conftest.$ac_ext
13841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13842 conftest$ac_exeext conftest.$ac_ext
13843 ac_c_werror_flag=$ac_xsave_c_werror_flag
13844 LIBS=$ac_xsave_LIBS
13847 # Check for system-dependent libraries X programs must link with.
13848 # Do this before checking for the system-independent R6 libraries
13849 # (-lICE), since we may need -lsocket or whatever for X linking.
13851 if test "$ISC" = yes; then
13852 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13853 else
13854 # Martyn Johnson says this is needed for Ultrix, if the X
13855 # libraries were built with DECnet support. And Karl Berry says
13856 # the Alpha needs dnet_stub (dnet does not exist).
13857 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13859 /* end confdefs.h. */
13861 /* Override any GCC internal prototype to avoid an error.
13862 Use char because int might match the return type of a GCC
13863 builtin and then its argument prototype would still apply. */
13864 char XOpenDisplay ();
13866 main (void)
13868 return XOpenDisplay ();
13870 return 0;
13872 _ACEOF
13873 if ac_fn_c_try_link "$LINENO"
13874 then :
13876 else $as_nop
13877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13878 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13879 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13880 then :
13881 printf %s "(cached) " >&6
13882 else $as_nop
13883 ac_check_lib_save_LIBS=$LIBS
13884 LIBS="-ldnet $LIBS"
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13888 /* Override any GCC internal prototype to avoid an error.
13889 Use char because int might match the return type of a GCC
13890 builtin and then its argument prototype would still apply. */
13891 char dnet_ntoa ();
13893 main (void)
13895 return dnet_ntoa ();
13897 return 0;
13899 _ACEOF
13900 if ac_fn_c_try_link "$LINENO"
13901 then :
13902 ac_cv_lib_dnet_dnet_ntoa=yes
13903 else $as_nop
13904 ac_cv_lib_dnet_dnet_ntoa=no
13906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13907 conftest$ac_exeext conftest.$ac_ext
13908 LIBS=$ac_check_lib_save_LIBS
13910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13911 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13912 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13913 then :
13914 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13917 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13919 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13920 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13921 then :
13922 printf %s "(cached) " >&6
13923 else $as_nop
13924 ac_check_lib_save_LIBS=$LIBS
13925 LIBS="-ldnet_stub $LIBS"
13926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h. */
13929 /* Override any GCC internal prototype to avoid an error.
13930 Use char because int might match the return type of a GCC
13931 builtin and then its argument prototype would still apply. */
13932 char dnet_ntoa ();
13934 main (void)
13936 return dnet_ntoa ();
13938 return 0;
13940 _ACEOF
13941 if ac_fn_c_try_link "$LINENO"
13942 then :
13943 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13944 else $as_nop
13945 ac_cv_lib_dnet_stub_dnet_ntoa=no
13947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13948 conftest$ac_exeext conftest.$ac_ext
13949 LIBS=$ac_check_lib_save_LIBS
13951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13952 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13953 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13954 then :
13955 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13961 conftest$ac_exeext conftest.$ac_ext
13962 LIBS="$ac_xsave_LIBS"
13964 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13965 # to get the SysV transport functions.
13966 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13967 # needs -lnsl.
13968 # The nsl library prevents programs from opening the X display
13969 # on Irix 5.2, according to T.E. Dickey.
13970 # The functions gethostbyname, getservbyname, and inet_addr are
13971 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13972 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13973 if test "x$ac_cv_func_gethostbyname" = xyes
13974 then :
13978 if test $ac_cv_func_gethostbyname = no; then
13979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13980 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13981 if test ${ac_cv_lib_nsl_gethostbyname+y}
13982 then :
13983 printf %s "(cached) " >&6
13984 else $as_nop
13985 ac_check_lib_save_LIBS=$LIBS
13986 LIBS="-lnsl $LIBS"
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13990 /* Override any GCC internal prototype to avoid an error.
13991 Use char because int might match the return type of a GCC
13992 builtin and then its argument prototype would still apply. */
13993 char gethostbyname ();
13995 main (void)
13997 return gethostbyname ();
13999 return 0;
14001 _ACEOF
14002 if ac_fn_c_try_link "$LINENO"
14003 then :
14004 ac_cv_lib_nsl_gethostbyname=yes
14005 else $as_nop
14006 ac_cv_lib_nsl_gethostbyname=no
14008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14009 conftest$ac_exeext conftest.$ac_ext
14010 LIBS=$ac_check_lib_save_LIBS
14012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14013 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14014 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14015 then :
14016 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14019 if test $ac_cv_lib_nsl_gethostbyname = no; then
14020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14021 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14022 if test ${ac_cv_lib_bsd_gethostbyname+y}
14023 then :
14024 printf %s "(cached) " >&6
14025 else $as_nop
14026 ac_check_lib_save_LIBS=$LIBS
14027 LIBS="-lbsd $LIBS"
14028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14029 /* end confdefs.h. */
14031 /* Override any GCC internal prototype to avoid an error.
14032 Use char because int might match the return type of a GCC
14033 builtin and then its argument prototype would still apply. */
14034 char gethostbyname ();
14036 main (void)
14038 return gethostbyname ();
14040 return 0;
14042 _ACEOF
14043 if ac_fn_c_try_link "$LINENO"
14044 then :
14045 ac_cv_lib_bsd_gethostbyname=yes
14046 else $as_nop
14047 ac_cv_lib_bsd_gethostbyname=no
14049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14050 conftest$ac_exeext conftest.$ac_ext
14051 LIBS=$ac_check_lib_save_LIBS
14053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14054 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14055 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14056 then :
14057 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14063 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14064 # socket/setsockopt and other routines are undefined under SCO ODT
14065 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14066 # on later versions), says Simon Leinen: it contains gethostby*
14067 # variants that don't use the name server (or something). -lsocket
14068 # must be given before -lnsl if both are needed. We assume that
14069 # if connect needs -lnsl, so does gethostbyname.
14070 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14071 if test "x$ac_cv_func_connect" = xyes
14072 then :
14076 if test $ac_cv_func_connect = no; then
14077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14078 printf %s "checking for connect in -lsocket... " >&6; }
14079 if test ${ac_cv_lib_socket_connect+y}
14080 then :
14081 printf %s "(cached) " >&6
14082 else $as_nop
14083 ac_check_lib_save_LIBS=$LIBS
14084 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14088 /* Override any GCC internal prototype to avoid an error.
14089 Use char because int might match the return type of a GCC
14090 builtin and then its argument prototype would still apply. */
14091 char connect ();
14093 main (void)
14095 return connect ();
14097 return 0;
14099 _ACEOF
14100 if ac_fn_c_try_link "$LINENO"
14101 then :
14102 ac_cv_lib_socket_connect=yes
14103 else $as_nop
14104 ac_cv_lib_socket_connect=no
14106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14107 conftest$ac_exeext conftest.$ac_ext
14108 LIBS=$ac_check_lib_save_LIBS
14110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14111 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14112 if test "x$ac_cv_lib_socket_connect" = xyes
14113 then :
14114 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14119 # Guillermo Gomez says -lposix is necessary on A/UX.
14120 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14121 if test "x$ac_cv_func_remove" = xyes
14122 then :
14126 if test $ac_cv_func_remove = no; then
14127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14128 printf %s "checking for remove in -lposix... " >&6; }
14129 if test ${ac_cv_lib_posix_remove+y}
14130 then :
14131 printf %s "(cached) " >&6
14132 else $as_nop
14133 ac_check_lib_save_LIBS=$LIBS
14134 LIBS="-lposix $LIBS"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14138 /* Override any GCC internal prototype to avoid an error.
14139 Use char because int might match the return type of a GCC
14140 builtin and then its argument prototype would still apply. */
14141 char remove ();
14143 main (void)
14145 return remove ();
14147 return 0;
14149 _ACEOF
14150 if ac_fn_c_try_link "$LINENO"
14151 then :
14152 ac_cv_lib_posix_remove=yes
14153 else $as_nop
14154 ac_cv_lib_posix_remove=no
14156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14157 conftest$ac_exeext conftest.$ac_ext
14158 LIBS=$ac_check_lib_save_LIBS
14160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14161 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14162 if test "x$ac_cv_lib_posix_remove" = xyes
14163 then :
14164 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14169 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14170 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14171 if test "x$ac_cv_func_shmat" = xyes
14172 then :
14176 if test $ac_cv_func_shmat = no; then
14177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14178 printf %s "checking for shmat in -lipc... " >&6; }
14179 if test ${ac_cv_lib_ipc_shmat+y}
14180 then :
14181 printf %s "(cached) " >&6
14182 else $as_nop
14183 ac_check_lib_save_LIBS=$LIBS
14184 LIBS="-lipc $LIBS"
14185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14188 /* Override any GCC internal prototype to avoid an error.
14189 Use char because int might match the return type of a GCC
14190 builtin and then its argument prototype would still apply. */
14191 char shmat ();
14193 main (void)
14195 return shmat ();
14197 return 0;
14199 _ACEOF
14200 if ac_fn_c_try_link "$LINENO"
14201 then :
14202 ac_cv_lib_ipc_shmat=yes
14203 else $as_nop
14204 ac_cv_lib_ipc_shmat=no
14206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14207 conftest$ac_exeext conftest.$ac_ext
14208 LIBS=$ac_check_lib_save_LIBS
14210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14211 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14212 if test "x$ac_cv_lib_ipc_shmat" = xyes
14213 then :
14214 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14220 # Check for libraries that X11R6 Xt/Xaw programs need.
14221 ac_save_LDFLAGS=$LDFLAGS
14222 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14223 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14224 # check for ICE first), but we must link in the order -lSM -lICE or
14225 # we get undefined symbols. So assume we have SM if we have ICE.
14226 # These have to be linked with before -lX11, unlike the other
14227 # libraries we check for below, so use a different variable.
14228 # John Interrante, Karl Berry
14229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14230 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14231 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14232 then :
14233 printf %s "(cached) " >&6
14234 else $as_nop
14235 ac_check_lib_save_LIBS=$LIBS
14236 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14238 /* end confdefs.h. */
14240 /* Override any GCC internal prototype to avoid an error.
14241 Use char because int might match the return type of a GCC
14242 builtin and then its argument prototype would still apply. */
14243 char IceConnectionNumber ();
14245 main (void)
14247 return IceConnectionNumber ();
14249 return 0;
14251 _ACEOF
14252 if ac_fn_c_try_link "$LINENO"
14253 then :
14254 ac_cv_lib_ICE_IceConnectionNumber=yes
14255 else $as_nop
14256 ac_cv_lib_ICE_IceConnectionNumber=no
14258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14259 conftest$ac_exeext conftest.$ac_ext
14260 LIBS=$ac_check_lib_save_LIBS
14262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14263 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14264 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14265 then :
14266 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14269 LDFLAGS=$ac_save_LDFLAGS
14274 if test "$have_x" = "yes"
14275 then
14276 ac_save_CPPFLAGS="$CPPFLAGS"
14277 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14280 printf %s "checking for -lX11... " >&6; }
14281 if test ${ac_cv_lib_soname_X11+y}
14282 then :
14283 printf %s "(cached) " >&6
14284 else $as_nop
14285 ac_check_soname_save_LIBS=$LIBS
14286 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14288 /* end confdefs.h. */
14290 /* Override any GCC internal prototype to avoid an error.
14291 Use char because int might match the return type of a GCC
14292 builtin and then its argument prototype would still apply. */
14293 char XCreateWindow ();
14295 main (void)
14297 return XCreateWindow ();
14299 return 0;
14301 _ACEOF
14302 if ac_fn_c_try_link "$LINENO"
14303 then :
14304 case "$LIBEXT" in
14305 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14306 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'` ;;
14307 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14308 if ${ac_cv_lib_soname_X11:+false} :
14309 then :
14310 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14311 fi ;;
14312 esac
14313 else $as_nop
14314 ac_cv_lib_soname_X11=
14316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14317 conftest$ac_exeext conftest.$ac_ext
14318 LIBS=$ac_check_soname_save_LIBS
14320 if ${ac_cv_lib_soname_X11:+false} :
14321 then :
14322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14323 printf "%s\n" "not found" >&6; }
14325 else $as_nop
14326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14327 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14329 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14334 printf %s "checking for -lXext... " >&6; }
14335 if test ${ac_cv_lib_soname_Xext+y}
14336 then :
14337 printf %s "(cached) " >&6
14338 else $as_nop
14339 ac_check_soname_save_LIBS=$LIBS
14340 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14344 /* Override any GCC internal prototype to avoid an error.
14345 Use char because int might match the return type of a GCC
14346 builtin and then its argument prototype would still apply. */
14347 char XextCreateExtension ();
14349 main (void)
14351 return XextCreateExtension ();
14353 return 0;
14355 _ACEOF
14356 if ac_fn_c_try_link "$LINENO"
14357 then :
14358 case "$LIBEXT" in
14359 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14360 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'` ;;
14361 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14362 if ${ac_cv_lib_soname_Xext:+false} :
14363 then :
14364 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14365 fi ;;
14366 esac
14367 else $as_nop
14368 ac_cv_lib_soname_Xext=
14370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14371 conftest$ac_exeext conftest.$ac_ext
14372 LIBS=$ac_check_soname_save_LIBS
14374 if ${ac_cv_lib_soname_Xext:+false} :
14375 then :
14376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14377 printf "%s\n" "not found" >&6; }
14379 else $as_nop
14380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14381 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14383 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14385 X_LIBS="$X_LIBS -lXext"
14387 X_LIBS="$X_LIBS -lX11"
14389 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14390 # include <X11/Xlib.h>
14391 #endif
14392 #ifdef HAVE_X11_XUTIL_H
14393 # include <X11/Xutil.h>
14394 #endif
14396 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14397 then :
14398 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14401 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14402 # include <X11/Xlib.h>
14403 #endif
14404 #ifdef HAVE_X11_XUTIL_H
14405 # include <X11/Xutil.h>
14406 #endif
14408 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14409 then :
14410 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14413 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14414 # include <X11/Xlib.h>
14415 #endif
14416 #ifdef HAVE_X11_XUTIL_H
14417 # include <X11/Xutil.h>
14418 #endif
14420 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14421 then :
14422 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14425 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14426 # include <X11/Xlib.h>
14427 #endif
14428 #ifdef HAVE_X11_XUTIL_H
14429 # include <X11/Xutil.h>
14430 #endif
14432 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14433 then :
14434 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14437 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14438 # include <X11/Xlib.h>
14439 #endif
14440 #ifdef HAVE_X11_XUTIL_H
14441 # include <X11/Xutil.h>
14442 #endif
14444 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14445 then :
14446 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14449 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14450 # include <X11/Xlib.h>
14451 #endif
14452 #ifdef HAVE_X11_XUTIL_H
14453 # include <X11/Xutil.h>
14454 #endif
14456 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14457 then :
14458 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14461 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14462 # include <X11/Xlib.h>
14463 #endif
14464 #ifdef HAVE_X11_XUTIL_H
14465 # include <X11/Xutil.h>
14466 #endif
14468 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14469 then :
14470 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14473 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14474 # include <X11/Xlib.h>
14475 #endif
14476 #ifdef HAVE_X11_XUTIL_H
14477 # include <X11/Xutil.h>
14478 #endif
14480 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14481 then :
14482 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14485 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14486 # include <X11/Xlib.h>
14487 #endif
14488 #ifdef HAVE_X11_XUTIL_H
14489 # include <X11/Xutil.h>
14490 #endif
14492 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14493 then :
14494 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14497 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14498 # include <X11/Xlib.h>
14499 #endif
14500 #ifdef HAVE_X11_XUTIL_H
14501 # include <X11/Xutil.h>
14502 #endif
14504 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14505 then :
14506 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14509 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14510 # include <X11/Xlib.h>
14511 #endif
14512 #ifdef HAVE_X11_XUTIL_H
14513 # include <X11/Xutil.h>
14514 #endif
14516 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14517 then :
14518 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14521 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14522 # include <X11/Xlib.h>
14523 #endif
14524 #ifdef HAVE_X11_XUTIL_H
14525 # include <X11/Xutil.h>
14526 #endif
14528 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14529 then :
14530 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14533 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14534 # include <X11/Xlib.h>
14535 #endif
14536 #ifdef HAVE_X11_XUTIL_H
14537 # include <X11/Xutil.h>
14538 #endif
14540 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14541 then :
14542 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14545 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14546 # include <X11/Xlib.h>
14547 #endif
14548 #ifdef HAVE_X11_XUTIL_H
14549 # include <X11/Xutil.h>
14550 #endif
14552 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14553 then :
14554 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14557 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14558 # include <X11/Xlib.h>
14559 #endif
14560 #ifdef HAVE_X11_XUTIL_H
14561 # include <X11/Xutil.h>
14562 #endif
14564 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14565 then :
14566 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14571 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14572 then
14573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14574 printf %s "checking for -lXcursor... " >&6; }
14575 if test ${ac_cv_lib_soname_Xcursor+y}
14576 then :
14577 printf %s "(cached) " >&6
14578 else $as_nop
14579 ac_check_soname_save_LIBS=$LIBS
14580 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14584 /* Override any GCC internal prototype to avoid an error.
14585 Use char because int might match the return type of a GCC
14586 builtin and then its argument prototype would still apply. */
14587 char XcursorImageLoadCursor ();
14589 main (void)
14591 return XcursorImageLoadCursor ();
14593 return 0;
14595 _ACEOF
14596 if ac_fn_c_try_link "$LINENO"
14597 then :
14598 case "$LIBEXT" in
14599 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14600 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'` ;;
14601 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14602 if ${ac_cv_lib_soname_Xcursor:+false} :
14603 then :
14604 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14605 fi ;;
14606 esac
14607 else $as_nop
14608 ac_cv_lib_soname_Xcursor=
14610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14611 conftest$ac_exeext conftest.$ac_ext
14612 LIBS=$ac_check_soname_save_LIBS
14614 if ${ac_cv_lib_soname_Xcursor:+false} :
14615 then :
14616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14617 printf "%s\n" "not found" >&6; }
14619 else $as_nop
14620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14621 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14623 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14628 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14629 then :
14630 case "x$with_xcursor" in
14631 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14632 xno) ;;
14633 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14634 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14635 esac
14639 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14640 then
14641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14642 printf %s "checking for -lXi... " >&6; }
14643 if test ${ac_cv_lib_soname_Xi+y}
14644 then :
14645 printf %s "(cached) " >&6
14646 else $as_nop
14647 ac_check_soname_save_LIBS=$LIBS
14648 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 /* end confdefs.h. */
14652 /* Override any GCC internal prototype to avoid an error.
14653 Use char because int might match the return type of a GCC
14654 builtin and then its argument prototype would still apply. */
14655 char XOpenDevice ();
14657 main (void)
14659 return XOpenDevice ();
14661 return 0;
14663 _ACEOF
14664 if ac_fn_c_try_link "$LINENO"
14665 then :
14666 case "$LIBEXT" in
14667 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14668 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'` ;;
14669 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14670 if ${ac_cv_lib_soname_Xi:+false} :
14671 then :
14672 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14673 fi ;;
14674 esac
14675 else $as_nop
14676 ac_cv_lib_soname_Xi=
14678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14679 conftest$ac_exeext conftest.$ac_ext
14680 LIBS=$ac_check_soname_save_LIBS
14682 if ${ac_cv_lib_soname_Xi:+false} :
14683 then :
14684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14685 printf "%s\n" "not found" >&6; }
14687 else $as_nop
14688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14689 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14691 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14696 if test "x$ac_cv_lib_soname_Xi" = "x"
14697 then :
14698 case "x$with_xinput" in
14699 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14700 xno) ;;
14701 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14702 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14703 esac
14707 if test "x$ac_cv_lib_soname_Xi" != x
14708 then
14709 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14710 then :
14711 case "x$with_xinput2" in
14712 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14713 xno) ;;
14714 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14715 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14716 esac
14721 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14722 then
14723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14724 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14725 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14726 then :
14727 printf %s "(cached) " >&6
14728 else $as_nop
14729 ac_check_lib_save_LIBS=$LIBS
14730 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14732 /* end confdefs.h. */
14734 /* Override any GCC internal prototype to avoid an error.
14735 Use char because int might match the return type of a GCC
14736 builtin and then its argument prototype would still apply. */
14737 char XShmQueryExtension ();
14739 main (void)
14741 return XShmQueryExtension ();
14743 return 0;
14745 _ACEOF
14746 if ac_fn_c_try_link "$LINENO"
14747 then :
14748 ac_cv_lib_Xext_XShmQueryExtension=yes
14749 else $as_nop
14750 ac_cv_lib_Xext_XShmQueryExtension=no
14752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14753 conftest$ac_exeext conftest.$ac_ext
14754 LIBS=$ac_check_lib_save_LIBS
14756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14757 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14758 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14759 then :
14761 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14766 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14767 then :
14768 case "x$with_xshm" in
14769 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14770 xno) ;;
14771 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14772 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14773 esac
14777 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14778 then
14779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14780 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14781 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14782 then :
14783 printf %s "(cached) " >&6
14784 else $as_nop
14785 ac_check_lib_save_LIBS=$LIBS
14786 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14790 /* Override any GCC internal prototype to avoid an error.
14791 Use char because int might match the return type of a GCC
14792 builtin and then its argument prototype would still apply. */
14793 char XShapeQueryExtension ();
14795 main (void)
14797 return XShapeQueryExtension ();
14799 return 0;
14801 _ACEOF
14802 if ac_fn_c_try_link "$LINENO"
14803 then :
14804 ac_cv_lib_Xext_XShapeQueryExtension=yes
14805 else $as_nop
14806 ac_cv_lib_Xext_XShapeQueryExtension=no
14808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14809 conftest$ac_exeext conftest.$ac_ext
14810 LIBS=$ac_check_lib_save_LIBS
14812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14813 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14814 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14815 then :
14817 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14822 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14823 then :
14824 case "x$with_xshape" in
14825 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14826 xno) ;;
14827 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14828 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14829 esac
14833 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14834 then
14835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14836 printf %s "checking for -lXxf86vm... " >&6; }
14837 if test ${ac_cv_lib_soname_Xxf86vm+y}
14838 then :
14839 printf %s "(cached) " >&6
14840 else $as_nop
14841 ac_check_soname_save_LIBS=$LIBS
14842 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14846 /* Override any GCC internal prototype to avoid an error.
14847 Use char because int might match the return type of a GCC
14848 builtin and then its argument prototype would still apply. */
14849 char XF86VidModeQueryExtension ();
14851 main (void)
14853 return XF86VidModeQueryExtension ();
14855 return 0;
14857 _ACEOF
14858 if ac_fn_c_try_link "$LINENO"
14859 then :
14860 case "$LIBEXT" in
14861 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14862 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'` ;;
14863 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14864 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14865 then :
14866 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14867 fi ;;
14868 esac
14869 else $as_nop
14870 ac_cv_lib_soname_Xxf86vm=
14872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14873 conftest$ac_exeext conftest.$ac_ext
14874 LIBS=$ac_check_soname_save_LIBS
14876 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14877 then :
14878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14879 printf "%s\n" "not found" >&6; }
14881 else $as_nop
14882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14883 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14885 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14890 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14891 then :
14892 case "x$with_xxf86vm" in
14893 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14894 xno) ;;
14895 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14896 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14897 esac
14901 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14902 then
14903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14904 printf %s "checking for -lXrender... " >&6; }
14905 if test ${ac_cv_lib_soname_Xrender+y}
14906 then :
14907 printf %s "(cached) " >&6
14908 else $as_nop
14909 ac_check_soname_save_LIBS=$LIBS
14910 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14914 /* Override any GCC internal prototype to avoid an error.
14915 Use char because int might match the return type of a GCC
14916 builtin and then its argument prototype would still apply. */
14917 char XRenderQueryExtension ();
14919 main (void)
14921 return XRenderQueryExtension ();
14923 return 0;
14925 _ACEOF
14926 if ac_fn_c_try_link "$LINENO"
14927 then :
14928 case "$LIBEXT" in
14929 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14930 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'` ;;
14931 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14932 if ${ac_cv_lib_soname_Xrender:+false} :
14933 then :
14934 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14935 fi ;;
14936 esac
14937 else $as_nop
14938 ac_cv_lib_soname_Xrender=
14940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14941 conftest$ac_exeext conftest.$ac_ext
14942 LIBS=$ac_check_soname_save_LIBS
14944 if ${ac_cv_lib_soname_Xrender:+false} :
14945 then :
14946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14947 printf "%s\n" "not found" >&6; }
14949 else $as_nop
14950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14951 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14953 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14956 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14957 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14958 then :
14959 printf %s "(cached) " >&6
14960 else $as_nop
14961 ac_check_lib_save_LIBS=$LIBS
14962 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14966 /* Override any GCC internal prototype to avoid an error.
14967 Use char because int might match the return type of a GCC
14968 builtin and then its argument prototype would still apply. */
14969 char XRenderSetPictureTransform ();
14971 main (void)
14973 return XRenderSetPictureTransform ();
14975 return 0;
14977 _ACEOF
14978 if ac_fn_c_try_link "$LINENO"
14979 then :
14980 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14981 else $as_nop
14982 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14985 conftest$ac_exeext conftest.$ac_ext
14986 LIBS=$ac_check_lib_save_LIBS
14988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14989 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14990 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14991 then :
14993 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14998 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14999 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15000 then :
15001 printf %s "(cached) " >&6
15002 else $as_nop
15003 ac_check_lib_save_LIBS=$LIBS
15004 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15008 /* Override any GCC internal prototype to avoid an error.
15009 Use char because int might match the return type of a GCC
15010 builtin and then its argument prototype would still apply. */
15011 char XRenderCreateLinearGradient ();
15013 main (void)
15015 return XRenderCreateLinearGradient ();
15017 return 0;
15019 _ACEOF
15020 if ac_fn_c_try_link "$LINENO"
15021 then :
15022 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15023 else $as_nop
15024 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15027 conftest$ac_exeext conftest.$ac_ext
15028 LIBS=$ac_check_lib_save_LIBS
15030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15031 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15032 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15033 then :
15035 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15042 if test "x$ac_cv_lib_soname_Xrender" = "x"
15043 then :
15044 case "x$with_xrender" in
15045 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15046 xno) ;;
15047 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15048 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15049 esac
15053 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15054 then
15055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15057 #include <X11/Xlib.h>
15058 #include <X11/extensions/Xrandr.h>
15060 main (void)
15062 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15064 return 0;
15066 _ACEOF
15067 if ac_fn_c_try_compile "$LINENO"
15068 then :
15069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15070 printf %s "checking for -lXrandr... " >&6; }
15071 if test ${ac_cv_lib_soname_Xrandr+y}
15072 then :
15073 printf %s "(cached) " >&6
15074 else $as_nop
15075 ac_check_soname_save_LIBS=$LIBS
15076 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15078 /* end confdefs.h. */
15080 /* Override any GCC internal prototype to avoid an error.
15081 Use char because int might match the return type of a GCC
15082 builtin and then its argument prototype would still apply. */
15083 char XRRQueryExtension ();
15085 main (void)
15087 return XRRQueryExtension ();
15089 return 0;
15091 _ACEOF
15092 if ac_fn_c_try_link "$LINENO"
15093 then :
15094 case "$LIBEXT" in
15095 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15096 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'` ;;
15097 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15098 if ${ac_cv_lib_soname_Xrandr:+false} :
15099 then :
15100 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15101 fi ;;
15102 esac
15103 else $as_nop
15104 ac_cv_lib_soname_Xrandr=
15106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15107 conftest$ac_exeext conftest.$ac_ext
15108 LIBS=$ac_check_soname_save_LIBS
15110 if ${ac_cv_lib_soname_Xrandr:+false} :
15111 then :
15112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15113 printf "%s\n" "not found" >&6; }
15115 else $as_nop
15116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15117 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15119 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15123 #include <X11/Xlib.h>
15124 #include <X11/extensions/Xrandr.h>
15126 main (void)
15128 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15130 return 0;
15132 _ACEOF
15133 if ac_fn_c_try_compile "$LINENO"
15134 then :
15136 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15138 else $as_nop
15139 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15146 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15147 then :
15148 case "x$with_xrandr" in
15149 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15150 xno) ;;
15151 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15152 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15153 esac
15157 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15158 then
15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15161 #include <X11/Xlib.h>
15162 #include <X11/extensions/Xfixes.h>
15164 main (void)
15166 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_compile "$LINENO"
15172 then :
15173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15174 printf %s "checking for -lXfixes... " >&6; }
15175 if test ${ac_cv_lib_soname_Xfixes+y}
15176 then :
15177 printf %s "(cached) " >&6
15178 else $as_nop
15179 ac_check_soname_save_LIBS=$LIBS
15180 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15184 /* Override any GCC internal prototype to avoid an error.
15185 Use char because int might match the return type of a GCC
15186 builtin and then its argument prototype would still apply. */
15187 char XFixesQueryVersion ();
15189 main (void)
15191 return XFixesQueryVersion ();
15193 return 0;
15195 _ACEOF
15196 if ac_fn_c_try_link "$LINENO"
15197 then :
15198 case "$LIBEXT" in
15199 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15200 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'` ;;
15201 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15202 if ${ac_cv_lib_soname_Xfixes:+false} :
15203 then :
15204 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15205 fi ;;
15206 esac
15207 else $as_nop
15208 ac_cv_lib_soname_Xfixes=
15210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15211 conftest$ac_exeext conftest.$ac_ext
15212 LIBS=$ac_check_soname_save_LIBS
15214 if ${ac_cv_lib_soname_Xfixes:+false} :
15215 then :
15216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15217 printf "%s\n" "not found" >&6; }
15219 else $as_nop
15220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15221 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15223 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15228 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15230 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15231 then :
15232 case "x$with_xfixes" in
15233 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15234 xno) ;;
15235 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15236 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15237 esac
15241 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15242 then
15243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15245 #include <X11/Xlib.h>
15246 #include <X11/extensions/Xinerama.h>
15248 main (void)
15250 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15252 return 0;
15254 _ACEOF
15255 if ac_fn_c_try_compile "$LINENO"
15256 then :
15257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15258 printf %s "checking for -lXinerama... " >&6; }
15259 if test ${ac_cv_lib_soname_Xinerama+y}
15260 then :
15261 printf %s "(cached) " >&6
15262 else $as_nop
15263 ac_check_soname_save_LIBS=$LIBS
15264 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15268 /* Override any GCC internal prototype to avoid an error.
15269 Use char because int might match the return type of a GCC
15270 builtin and then its argument prototype would still apply. */
15271 char XineramaQueryScreens ();
15273 main (void)
15275 return XineramaQueryScreens ();
15277 return 0;
15279 _ACEOF
15280 if ac_fn_c_try_link "$LINENO"
15281 then :
15282 case "$LIBEXT" in
15283 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15284 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'` ;;
15285 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15286 if ${ac_cv_lib_soname_Xinerama:+false} :
15287 then :
15288 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15289 fi ;;
15290 esac
15291 else $as_nop
15292 ac_cv_lib_soname_Xinerama=
15294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15295 conftest$ac_exeext conftest.$ac_ext
15296 LIBS=$ac_check_soname_save_LIBS
15298 if ${ac_cv_lib_soname_Xinerama:+false} :
15299 then :
15300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15301 printf "%s\n" "not found" >&6; }
15303 else $as_nop
15304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15305 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15307 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15312 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15314 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15315 then :
15316 case "x$with_xinerama" in
15317 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15318 xno) ;;
15319 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15320 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15321 esac
15325 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15326 then
15327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15328 printf %s "checking for -lXcomposite... " >&6; }
15329 if test ${ac_cv_lib_soname_Xcomposite+y}
15330 then :
15331 printf %s "(cached) " >&6
15332 else $as_nop
15333 ac_check_soname_save_LIBS=$LIBS
15334 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15338 /* Override any GCC internal prototype to avoid an error.
15339 Use char because int might match the return type of a GCC
15340 builtin and then its argument prototype would still apply. */
15341 char XCompositeRedirectWindow ();
15343 main (void)
15345 return XCompositeRedirectWindow ();
15347 return 0;
15349 _ACEOF
15350 if ac_fn_c_try_link "$LINENO"
15351 then :
15352 case "$LIBEXT" in
15353 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15354 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'` ;;
15355 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15356 if ${ac_cv_lib_soname_Xcomposite:+false} :
15357 then :
15358 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15359 fi ;;
15360 esac
15361 else $as_nop
15362 ac_cv_lib_soname_Xcomposite=
15364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15365 conftest$ac_exeext conftest.$ac_ext
15366 LIBS=$ac_check_soname_save_LIBS
15368 if ${ac_cv_lib_soname_Xcomposite:+false} :
15369 then :
15370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15371 printf "%s\n" "not found" >&6; }
15373 else $as_nop
15374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15375 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15377 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15382 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15383 then :
15384 case "x$with_xcomposite" in
15385 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15386 xno) ;;
15387 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15388 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15389 esac
15393 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15394 #include <X11/Xlib.h>
15395 #endif
15397 if test "x$ac_cv_member_XICCallback_callback" = xyes
15398 then :
15400 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15404 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15405 #include <X11/Xlib.h>
15406 #endif
15408 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15409 then :
15411 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15418 opengl_msg=""
15419 if test "x$with_opengl" != "xno"
15420 then
15421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15422 printf %s "checking for -lGL... " >&6; }
15423 if test ${ac_cv_lib_soname_GL+y}
15424 then :
15425 printf %s "(cached) " >&6
15426 else $as_nop
15427 ac_check_soname_save_LIBS=$LIBS
15428 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15430 /* end confdefs.h. */
15432 /* Override any GCC internal prototype to avoid an error.
15433 Use char because int might match the return type of a GCC
15434 builtin and then its argument prototype would still apply. */
15435 char glXCreateContext ();
15437 main (void)
15439 return glXCreateContext ();
15441 return 0;
15443 _ACEOF
15444 if ac_fn_c_try_link "$LINENO"
15445 then :
15446 case "$LIBEXT" in
15447 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15448 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'` ;;
15449 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15450 if ${ac_cv_lib_soname_GL:+false} :
15451 then :
15452 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15453 fi ;;
15454 esac
15455 else $as_nop
15456 ac_cv_lib_soname_GL=
15458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15459 conftest$ac_exeext conftest.$ac_ext
15460 LIBS=$ac_check_soname_save_LIBS
15462 if ${ac_cv_lib_soname_GL:+false} :
15463 then :
15464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15465 printf "%s\n" "not found" >&6; }
15466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15467 printf %s "checking for -lGL... " >&6; }
15468 if test ${ac_cv_lib_soname_GL+y}
15469 then :
15470 printf %s "(cached) " >&6
15471 else $as_nop
15472 ac_check_soname_save_LIBS=$LIBS
15473 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"
15474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15475 /* end confdefs.h. */
15477 /* Override any GCC internal prototype to avoid an error.
15478 Use char because int might match the return type of a GCC
15479 builtin and then its argument prototype would still apply. */
15480 char glXCreateContext ();
15482 main (void)
15484 return glXCreateContext ();
15486 return 0;
15488 _ACEOF
15489 if ac_fn_c_try_link "$LINENO"
15490 then :
15491 case "$LIBEXT" in
15492 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15493 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'` ;;
15494 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15495 if ${ac_cv_lib_soname_GL:+false} :
15496 then :
15497 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15498 fi ;;
15499 esac
15500 else $as_nop
15501 ac_cv_lib_soname_GL=
15503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15504 conftest$ac_exeext conftest.$ac_ext
15505 LIBS=$ac_check_soname_save_LIBS
15507 if ${ac_cv_lib_soname_GL:+false} :
15508 then :
15509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15510 printf "%s\n" "not found" >&6; }
15511 if test -f /usr/X11R6/lib/libGL.a
15512 then
15513 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15514 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15515 else
15516 opengl_msg="No OpenGL library found on this system."
15518 else $as_nop
15519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15520 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15522 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15524 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"
15526 else $as_nop
15527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15528 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15530 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15532 OPENGL_LIBS="-lGL"
15534 if test "x$with_osmesa" != "xno"
15535 then
15536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15537 printf %s "checking for -lOSMesa... " >&6; }
15538 if test ${ac_cv_lib_soname_OSMesa+y}
15539 then :
15540 printf %s "(cached) " >&6
15541 else $as_nop
15542 ac_check_soname_save_LIBS=$LIBS
15543 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15547 /* Override any GCC internal prototype to avoid an error.
15548 Use char because int might match the return type of a GCC
15549 builtin and then its argument prototype would still apply. */
15550 char OSMesaGetProcAddress ();
15552 main (void)
15554 return OSMesaGetProcAddress ();
15556 return 0;
15558 _ACEOF
15559 if ac_fn_c_try_link "$LINENO"
15560 then :
15561 case "$LIBEXT" in
15562 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15563 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'` ;;
15564 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15565 if ${ac_cv_lib_soname_OSMesa:+false} :
15566 then :
15567 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15568 fi ;;
15569 esac
15570 else $as_nop
15571 ac_cv_lib_soname_OSMesa=
15573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15574 conftest$ac_exeext conftest.$ac_ext
15575 LIBS=$ac_check_soname_save_LIBS
15577 if ${ac_cv_lib_soname_OSMesa:+false} :
15578 then :
15579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15580 printf "%s\n" "not found" >&6; }
15582 else $as_nop
15583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15584 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15586 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15590 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15591 then :
15592 case "x$with_osmesa" in
15593 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15594 xno) ;;
15595 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15596 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15597 esac
15602 if test -n "$opengl_msg"
15603 then :
15604 case "x$with_opengl" in
15605 x) as_fn_append wine_warnings "|$opengl_msg
15606 OpenGL and Direct3D won't be supported." ;;
15607 xno) ;;
15608 *) as_fn_error $? "$opengl_msg
15609 OpenGL and Direct3D won't be supported.
15610 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15611 esac
15615 CPPFLAGS="$ac_save_CPPFLAGS"
15616 else
15617 X_CFLAGS=""
15618 X_LIBS=""
15621 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15622 then
15623 if test "x$X_LIBS" = "x"
15624 then :
15625 case "x$with_x" in
15626 xno) ;;
15627 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15628 without X support, which probably isn't what you want. You will need
15629 to install ${notice_platform}development packages of Xlib at the very least.
15630 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15631 esac
15632 enable_winex11_drv=${enable_winex11_drv:-no}
15634 else
15635 if test "x$X_LIBS" = "x"
15636 then :
15637 case "x$with_x" in
15638 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15639 xno) ;;
15640 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15641 This is an error since --with-x was requested." "$LINENO" 5 ;;
15642 esac
15643 enable_winex11_drv=${enable_winex11_drv:-no}
15647 if test "x$with_wayland" != "xno"
15648 then
15649 rm -f conftest.err
15650 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15651 then :
15652 if test ${PKG_CONFIG+y}
15653 then :
15654 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15658 if ${WAYLAND_CLIENT_LIBS:+false} :
15659 then :
15660 if test ${PKG_CONFIG+y}
15661 then :
15662 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15669 if test -s conftest.err; then
15670 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15671 cat conftest.err >&5
15673 rm -f conftest.err
15674 ac_save_CPPFLAGS=$CPPFLAGS
15675 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15676 for ac_header in wayland-client.h
15677 do :
15678 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15679 if test "x$ac_cv_header_wayland_client_h" = xyes
15680 then :
15681 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15683 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15684 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15685 then :
15686 printf %s "(cached) " >&6
15687 else $as_nop
15688 ac_check_lib_save_LIBS=$LIBS
15689 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15693 /* Override any GCC internal prototype to avoid an error.
15694 Use char because int might match the return type of a GCC
15695 builtin and then its argument prototype would still apply. */
15696 char wl_display_connect ();
15698 main (void)
15700 return wl_display_connect ();
15702 return 0;
15704 _ACEOF
15705 if ac_fn_c_try_link "$LINENO"
15706 then :
15707 ac_cv_lib_wayland_client_wl_display_connect=yes
15708 else $as_nop
15709 ac_cv_lib_wayland_client_wl_display_connect=no
15711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15712 conftest$ac_exeext conftest.$ac_ext
15713 LIBS=$ac_check_lib_save_LIBS
15715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15716 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15717 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15718 then :
15719 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15720 set dummy wayland-scanner; ac_word=$2
15721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15722 printf %s "checking for $ac_word... " >&6; }
15723 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15724 then :
15725 printf %s "(cached) " >&6
15726 else $as_nop
15727 case $WAYLAND_SCANNER in
15728 [\\/]* | ?:[\\/]*)
15729 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15733 for as_dir in $PATH
15735 IFS=$as_save_IFS
15736 case $as_dir in #(((
15737 '') as_dir=./ ;;
15738 */) ;;
15739 *) as_dir=$as_dir/ ;;
15740 esac
15741 for ac_exec_ext in '' $ac_executable_extensions; do
15742 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15743 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15745 break 2
15747 done
15748 done
15749 IFS=$as_save_IFS
15751 test -z "$ac_cv_path_WAYLAND_SCANNER" && ac_cv_path_WAYLAND_SCANNER="`test -n "$PKG_CONFIG" && $PKG_CONFIG --variable=wayland_scanner wayland-scanner 2>/dev/null`"
15753 esac
15755 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15756 if test -n "$WAYLAND_SCANNER"; then
15757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15758 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15759 else
15760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15761 printf "%s\n" "no" >&6; }
15765 else $as_nop
15766 WAYLAND_CLIENT_LIBS=""
15771 done
15772 CPPFLAGS=$ac_save_CPPFLAGS
15775 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15776 then :
15777 case "x$with_wayland" in
15778 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15779 xno) ;;
15780 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15781 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15782 esac
15783 enable_winewayland_drv=${enable_winewayland_drv:-no}
15786 if test "$ac_cv_header_CL_cl_h" = "yes"
15787 then
15788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15789 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15790 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15791 then :
15792 printf %s "(cached) " >&6
15793 else $as_nop
15794 ac_check_lib_save_LIBS=$LIBS
15795 LIBS="-lOpenCL $LIBS"
15796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15797 /* end confdefs.h. */
15799 /* Override any GCC internal prototype to avoid an error.
15800 Use char because int might match the return type of a GCC
15801 builtin and then its argument prototype would still apply. */
15802 char clGetPlatformInfo ();
15804 main (void)
15806 return clGetPlatformInfo ();
15808 return 0;
15810 _ACEOF
15811 if ac_fn_c_try_link "$LINENO"
15812 then :
15813 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15814 else $as_nop
15815 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15818 conftest$ac_exeext conftest.$ac_ext
15819 LIBS=$ac_check_lib_save_LIBS
15821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15822 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15823 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15824 then :
15825 OPENCL_LIBS="-lOpenCL"
15830 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15831 then :
15832 case "x$with_opencl" in
15833 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15834 xno) ;;
15835 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15836 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15837 esac
15838 enable_opencl=${enable_opencl:-no}
15841 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15842 then
15843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15844 printf %s "checking for pcap_init in -lpcap... " >&6; }
15845 if test ${ac_cv_lib_pcap_pcap_init+y}
15846 then :
15847 printf %s "(cached) " >&6
15848 else $as_nop
15849 ac_check_lib_save_LIBS=$LIBS
15850 LIBS="-lpcap $LIBS"
15851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15852 /* end confdefs.h. */
15854 /* Override any GCC internal prototype to avoid an error.
15855 Use char because int might match the return type of a GCC
15856 builtin and then its argument prototype would still apply. */
15857 char pcap_init ();
15859 main (void)
15861 return pcap_init ();
15863 return 0;
15865 _ACEOF
15866 if ac_fn_c_try_link "$LINENO"
15867 then :
15868 ac_cv_lib_pcap_pcap_init=yes
15869 else $as_nop
15870 ac_cv_lib_pcap_pcap_init=no
15872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15873 conftest$ac_exeext conftest.$ac_ext
15874 LIBS=$ac_check_lib_save_LIBS
15876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15877 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15878 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15879 then :
15880 PCAP_LIBS="-lpcap"
15885 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15886 then :
15887 case "x$with_pcap" in
15888 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15889 xno) ;;
15890 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15891 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15892 esac
15893 enable_wpcap=${enable_wpcap:-no}
15896 if test "x$with_pcsclite" != "xno"
15897 then
15898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15899 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15900 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15901 then :
15902 printf %s "(cached) " >&6
15903 else $as_nop
15904 ac_check_lib_save_LIBS=$LIBS
15905 LIBS="-lpcsclite $LIBS"
15906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15907 /* end confdefs.h. */
15909 /* Override any GCC internal prototype to avoid an error.
15910 Use char because int might match the return type of a GCC
15911 builtin and then its argument prototype would still apply. */
15912 char SCardEstablishContext ();
15914 main (void)
15916 return SCardEstablishContext ();
15918 return 0;
15920 _ACEOF
15921 if ac_fn_c_try_link "$LINENO"
15922 then :
15923 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15924 else $as_nop
15925 ac_cv_lib_pcsclite_SCardEstablishContext=no
15927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15928 conftest$ac_exeext conftest.$ac_ext
15929 LIBS=$ac_check_lib_save_LIBS
15931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15932 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15933 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15934 then :
15935 PCSCLITE_LIBS="-lpcsclite"
15940 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15941 then :
15942 case "x$with_pcsclite" in
15943 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15944 xno) ;;
15945 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15946 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15947 esac
15948 enable_winscard=${enable_winscard:-no}
15951 if test "x$with_inotify" != "xno"
15952 then
15953 rm -f conftest.err
15954 if ${INOTIFY_CFLAGS:+false} :
15955 then :
15956 if test ${PKG_CONFIG+y}
15957 then :
15958 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15962 if ${INOTIFY_LIBS:+false} :
15963 then :
15964 if test ${PKG_CONFIG+y}
15965 then :
15966 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15973 if test -s conftest.err; then
15974 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15975 cat conftest.err >&5
15977 rm -f conftest.err
15978 ac_save_CPPFLAGS=$CPPFLAGS
15979 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15980 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15981 if test "x$ac_cv_header_sys_inotify_h" = xyes
15982 then :
15983 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15988 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15989 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15990 then :
15991 printf %s "(cached) " >&6
15992 else $as_nop
15993 ac_check_lib_save_LIBS=$LIBS
15994 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15996 /* end confdefs.h. */
15998 /* Override any GCC internal prototype to avoid an error.
15999 Use char because int might match the return type of a GCC
16000 builtin and then its argument prototype would still apply. */
16001 char inotify_add_watch ();
16003 main (void)
16005 return inotify_add_watch ();
16007 return 0;
16009 _ACEOF
16010 if ac_fn_c_try_link "$LINENO"
16011 then :
16012 ac_cv_lib_inotify_inotify_add_watch=yes
16013 else $as_nop
16014 ac_cv_lib_inotify_inotify_add_watch=no
16016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16017 conftest$ac_exeext conftest.$ac_ext
16018 LIBS=$ac_check_lib_save_LIBS
16020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16021 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16022 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16023 then :
16025 else $as_nop
16026 INOTIFY_LIBS=""
16029 CPPFLAGS=$ac_save_CPPFLAGS
16032 if test "$ac_cv_header_sys_inotify_h" != "yes"
16033 then :
16034 case "x$with_inotify" in
16035 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16036 xno) ;;
16037 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16038 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16039 esac
16043 if test "x$with_dbus" != "xno"
16044 then
16045 rm -f conftest.err
16046 if ${DBUS_CFLAGS:+false} :
16047 then :
16048 if test ${PKG_CONFIG+y}
16049 then :
16050 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16054 if ${DBUS_LIBS:+false} :
16055 then :
16056 if test ${PKG_CONFIG+y}
16057 then :
16058 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16065 if test -s conftest.err; then
16066 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16067 cat conftest.err >&5
16069 rm -f conftest.err
16070 ac_save_CPPFLAGS=$CPPFLAGS
16071 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16072 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16073 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16074 then :
16075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16076 printf %s "checking for -ldbus-1... " >&6; }
16077 if test ${ac_cv_lib_soname_dbus_1+y}
16078 then :
16079 printf %s "(cached) " >&6
16080 else $as_nop
16081 ac_check_soname_save_LIBS=$LIBS
16082 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16084 /* end confdefs.h. */
16086 /* Override any GCC internal prototype to avoid an error.
16087 Use char because int might match the return type of a GCC
16088 builtin and then its argument prototype would still apply. */
16089 char dbus_connection_close ();
16091 main (void)
16093 return dbus_connection_close ();
16095 return 0;
16097 _ACEOF
16098 if ac_fn_c_try_link "$LINENO"
16099 then :
16100 case "$LIBEXT" in
16101 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16102 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'` ;;
16103 *) 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'`
16104 if ${ac_cv_lib_soname_dbus_1:+false} :
16105 then :
16106 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16107 fi ;;
16108 esac
16109 else $as_nop
16110 ac_cv_lib_soname_dbus_1=
16112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16113 conftest$ac_exeext conftest.$ac_ext
16114 LIBS=$ac_check_soname_save_LIBS
16116 if ${ac_cv_lib_soname_dbus_1:+false} :
16117 then :
16118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16119 printf "%s\n" "not found" >&6; }
16120 DBUS_CFLAGS=""
16121 else $as_nop
16122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16123 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16125 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16129 else $as_nop
16130 DBUS_CFLAGS=""
16133 CPPFLAGS=$ac_save_CPPFLAGS
16136 case $host_os in
16137 darwin*|macosx*) ;;
16138 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16139 then :
16140 case "x$with_dbus" in
16141 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16142 xno) ;;
16143 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16144 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16145 esac
16147 fi ;;
16148 esac
16150 if test "x$with_gnutls" != "xno"
16151 then
16152 rm -f conftest.err
16153 if ${GNUTLS_CFLAGS:+false} :
16154 then :
16155 if test ${PKG_CONFIG+y}
16156 then :
16157 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16161 if ${GNUTLS_LIBS:+false} :
16162 then :
16163 if test ${PKG_CONFIG+y}
16164 then :
16165 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16169 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16172 if test -s conftest.err; then
16173 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16174 cat conftest.err >&5
16176 rm -f conftest.err
16177 ac_save_CPPFLAGS=$CPPFLAGS
16178 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16179 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16180 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16181 then :
16182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16183 /* end confdefs.h. */
16184 #include <gnutls/gnutls.h>
16185 #include <gnutls/crypto.h>
16187 main (void)
16189 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16191 return 0;
16193 _ACEOF
16194 if ac_fn_c_try_compile "$LINENO"
16195 then :
16196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16197 printf %s "checking for -lgnutls... " >&6; }
16198 if test ${ac_cv_lib_soname_gnutls+y}
16199 then :
16200 printf %s "(cached) " >&6
16201 else $as_nop
16202 ac_check_soname_save_LIBS=$LIBS
16203 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16205 /* end confdefs.h. */
16207 /* Override any GCC internal prototype to avoid an error.
16208 Use char because int might match the return type of a GCC
16209 builtin and then its argument prototype would still apply. */
16210 char gnutls_global_init ();
16212 main (void)
16214 return gnutls_global_init ();
16216 return 0;
16218 _ACEOF
16219 if ac_fn_c_try_link "$LINENO"
16220 then :
16221 case "$LIBEXT" in
16222 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16223 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'` ;;
16224 *) 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'`
16225 if ${ac_cv_lib_soname_gnutls:+false} :
16226 then :
16227 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'`
16228 fi ;;
16229 esac
16230 else $as_nop
16231 ac_cv_lib_soname_gnutls=
16233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16234 conftest$ac_exeext conftest.$ac_ext
16235 LIBS=$ac_check_soname_save_LIBS
16237 if ${ac_cv_lib_soname_gnutls:+false} :
16238 then :
16239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16240 printf "%s\n" "not found" >&6; }
16241 GNUTLS_CFLAGS=""
16242 else $as_nop
16243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16244 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16246 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16250 ac_wine_check_funcs_save_LIBS="$LIBS"
16251 LIBS="$LIBS $GNUTLS_LIBS"
16253 for ac_func in gnutls_cipher_init
16254 do :
16255 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16256 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16257 then :
16258 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16260 else $as_nop
16261 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16264 done
16265 LIBS="$ac_wine_check_funcs_save_LIBS"
16267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16268 else $as_nop
16269 GNUTLS_CFLAGS=""
16272 CPPFLAGS=$ac_save_CPPFLAGS
16275 if test "x$ac_cv_lib_soname_gnutls" = "x"
16276 then :
16277 case "x$with_gnutls" in
16278 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16279 xno) ;;
16280 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16281 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16282 esac
16286 if test "x$with_sane" != "xno"
16287 then
16288 rm -f conftest.err
16289 if ${SANE_CFLAGS:+false} :
16290 then :
16291 if test ${PKG_CONFIG+y}
16292 then :
16293 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16296 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16297 if ${SANE_LIBS:+false} :
16298 then :
16299 if test ${PKG_CONFIG+y}
16300 then :
16301 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16304 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16308 if test -s conftest.err; then
16309 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16310 cat conftest.err >&5
16312 rm -f conftest.err
16313 ac_save_CPPFLAGS=$CPPFLAGS
16314 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16315 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16316 if test "x$ac_cv_header_sane_sane_h" = xyes
16317 then :
16318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16319 printf %s "checking for sane_init in -lsane... " >&6; }
16320 if test ${ac_cv_lib_sane_sane_init+y}
16321 then :
16322 printf %s "(cached) " >&6
16323 else $as_nop
16324 ac_check_lib_save_LIBS=$LIBS
16325 LIBS="-lsane $SANE_LIBS $LIBS"
16326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16327 /* end confdefs.h. */
16329 /* Override any GCC internal prototype to avoid an error.
16330 Use char because int might match the return type of a GCC
16331 builtin and then its argument prototype would still apply. */
16332 char sane_init ();
16334 main (void)
16336 return sane_init ();
16338 return 0;
16340 _ACEOF
16341 if ac_fn_c_try_link "$LINENO"
16342 then :
16343 ac_cv_lib_sane_sane_init=yes
16344 else $as_nop
16345 ac_cv_lib_sane_sane_init=no
16347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16348 conftest$ac_exeext conftest.$ac_ext
16349 LIBS=$ac_check_lib_save_LIBS
16351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16352 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16353 if test "x$ac_cv_lib_sane_sane_init" = xyes
16354 then :
16360 CPPFLAGS=$ac_save_CPPFLAGS
16363 if test "$ac_cv_lib_sane_sane_init" != "yes"
16364 then :
16365 case "x$with_sane" in
16366 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16367 xno) ;;
16368 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16369 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16370 esac
16371 enable_sane_ds=${enable_sane_ds:-no}
16374 if test "x$with_usb" != "xno"
16375 then
16376 rm -f conftest.err
16377 if ${USB_CFLAGS:+false} :
16378 then :
16379 if test ${PKG_CONFIG+y}
16380 then :
16381 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16385 if ${USB_LIBS:+false} :
16386 then :
16387 if test ${PKG_CONFIG+y}
16388 then :
16389 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16393 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16396 if test -s conftest.err; then
16397 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16398 cat conftest.err >&5
16400 rm -f conftest.err
16401 ac_save_CPPFLAGS=$CPPFLAGS
16402 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16403 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16404 if test "x$ac_cv_header_libusb_h" = xyes
16405 then :
16406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16407 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16408 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16409 then :
16410 printf %s "(cached) " >&6
16411 else $as_nop
16412 ac_check_lib_save_LIBS=$LIBS
16413 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16417 /* Override any GCC internal prototype to avoid an error.
16418 Use char because int might match the return type of a GCC
16419 builtin and then its argument prototype would still apply. */
16420 char libusb_interrupt_event_handler ();
16422 main (void)
16424 return libusb_interrupt_event_handler ();
16426 return 0;
16428 _ACEOF
16429 if ac_fn_c_try_link "$LINENO"
16430 then :
16431 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16432 else $as_nop
16433 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16436 conftest$ac_exeext conftest.$ac_ext
16437 LIBS=$ac_check_lib_save_LIBS
16439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16440 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16441 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16442 then :
16444 else $as_nop
16445 USB_LIBS=""
16448 else $as_nop
16449 USB_LIBS=""
16452 CPPFLAGS=$ac_save_CPPFLAGS
16455 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16456 then :
16457 case "x$with_usb" in
16458 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16459 xno) ;;
16460 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16461 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16462 esac
16463 enable_wineusb_sys=${enable_wineusb_sys:-no}
16466 if test "x$with_v4l2" != "xno"
16467 then
16468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16469 printf %s "checking for -lv4l2... " >&6; }
16470 if test ${ac_cv_lib_soname_v4l2+y}
16471 then :
16472 printf %s "(cached) " >&6
16473 else $as_nop
16474 ac_check_soname_save_LIBS=$LIBS
16475 LIBS="-lv4l2 $LIBS"
16476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16477 /* end confdefs.h. */
16479 /* Override any GCC internal prototype to avoid an error.
16480 Use char because int might match the return type of a GCC
16481 builtin and then its argument prototype would still apply. */
16482 char v4l2_open ();
16484 main (void)
16486 return v4l2_open ();
16488 return 0;
16490 _ACEOF
16491 if ac_fn_c_try_link "$LINENO"
16492 then :
16493 case "$LIBEXT" in
16494 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16495 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'` ;;
16496 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16497 if ${ac_cv_lib_soname_v4l2:+false} :
16498 then :
16499 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16500 fi ;;
16501 esac
16502 else $as_nop
16503 ac_cv_lib_soname_v4l2=
16505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16506 conftest$ac_exeext conftest.$ac_ext
16507 LIBS=$ac_check_soname_save_LIBS
16509 if ${ac_cv_lib_soname_v4l2:+false} :
16510 then :
16511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16512 printf "%s\n" "not found" >&6; }
16514 else $as_nop
16515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16516 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16518 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16523 if test "x$ac_cv_lib_soname_v4l2" = "x"
16524 then :
16525 case "x$with_v4l2" in
16526 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16527 xno) ;;
16528 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16529 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16530 esac
16534 if test "x$with_gphoto" != "xno"
16535 then
16536 rm -f conftest.err
16537 if ${GPHOTO2_CFLAGS:+false} :
16538 then :
16539 if test ${PKG_CONFIG+y}
16540 then :
16541 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16544 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16545 if ${GPHOTO2_LIBS:+false} :
16546 then :
16547 if test ${PKG_CONFIG+y}
16548 then :
16549 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16552 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16553 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16556 if test -s conftest.err; then
16557 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16558 cat conftest.err >&5
16560 rm -f conftest.err
16561 ac_save_CPPFLAGS=$CPPFLAGS
16562 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16563 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16564 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16565 then :
16566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16567 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16568 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16569 then :
16570 printf %s "(cached) " >&6
16571 else $as_nop
16572 ac_check_lib_save_LIBS=$LIBS
16573 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16575 /* end confdefs.h. */
16577 /* Override any GCC internal prototype to avoid an error.
16578 Use char because int might match the return type of a GCC
16579 builtin and then its argument prototype would still apply. */
16580 char gp_camera_new ();
16582 main (void)
16584 return gp_camera_new ();
16586 return 0;
16588 _ACEOF
16589 if ac_fn_c_try_link "$LINENO"
16590 then :
16591 ac_cv_lib_gphoto2_gp_camera_new=yes
16592 else $as_nop
16593 ac_cv_lib_gphoto2_gp_camera_new=no
16595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16596 conftest$ac_exeext conftest.$ac_ext
16597 LIBS=$ac_check_lib_save_LIBS
16599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16600 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16601 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16602 then :
16608 CPPFLAGS=$ac_save_CPPFLAGS
16610 rm -f conftest.err
16611 if ${GPHOTO2_PORT_CFLAGS:+false} :
16612 then :
16613 if test ${PKG_CONFIG+y}
16614 then :
16615 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16618 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16619 if ${GPHOTO2_PORT_LIBS:+false} :
16620 then :
16621 if test ${PKG_CONFIG+y}
16622 then :
16623 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16626 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16627 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16630 if test -s conftest.err; then
16631 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16632 cat conftest.err >&5
16634 rm -f conftest.err
16635 ac_save_CPPFLAGS=$CPPFLAGS
16636 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16637 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16638 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16639 then :
16640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16641 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16642 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16643 then :
16644 printf %s "(cached) " >&6
16645 else $as_nop
16646 ac_check_lib_save_LIBS=$LIBS
16647 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h. */
16651 /* Override any GCC internal prototype to avoid an error.
16652 Use char because int might match the return type of a GCC
16653 builtin and then its argument prototype would still apply. */
16654 char gp_port_info_list_new ();
16656 main (void)
16658 return gp_port_info_list_new ();
16660 return 0;
16662 _ACEOF
16663 if ac_fn_c_try_link "$LINENO"
16664 then :
16665 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16666 else $as_nop
16667 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16670 conftest$ac_exeext conftest.$ac_ext
16671 LIBS=$ac_check_lib_save_LIBS
16673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16674 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16675 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16676 then :
16678 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16680 else $as_nop
16681 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16684 else $as_nop
16685 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16688 CPPFLAGS=$ac_save_CPPFLAGS
16691 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16692 then :
16693 case "x$with_gphoto" in
16694 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16695 xno) ;;
16696 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16697 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16698 esac
16699 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16701 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16702 then :
16703 case "x$with_gphoto" in
16704 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16705 xno) ;;
16706 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16707 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16708 esac
16713 if test "$ac_cv_header_resolv_h" = "yes"
16714 then
16715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16716 printf %s "checking for resolver library... " >&6; }
16717 if test ${ac_cv_have_resolv+y}
16718 then :
16719 printf %s "(cached) " >&6
16720 else $as_nop
16721 ac_save_LIBS="$LIBS"
16722 for lib in '' -lresolv
16724 LIBS="$lib $ac_save_LIBS"
16725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16726 /* end confdefs.h. */
16727 #ifdef HAVE_NETINET_IN_H
16728 #include <netinet/in.h>
16729 #endif
16730 #include <resolv.h>
16732 main (void)
16734 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16736 return 0;
16738 _ACEOF
16739 if ac_fn_c_try_link "$LINENO"
16740 then :
16741 ac_cv_have_resolv=${lib:-"none required"}
16742 else $as_nop
16743 ac_cv_have_resolv="not found"
16745 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16746 conftest$ac_exeext conftest.$ac_ext
16747 test "x$ac_cv_have_resolv" = "xnot found" || break
16748 done
16749 LIBS="$ac_save_LIBS"
16751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16752 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16754 case "$ac_cv_have_resolv" in
16755 "not found") ;;
16756 "none required")
16758 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16761 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16763 RESOLV_LIBS=$ac_cv_have_resolv
16765 esac
16767 if test "x$ac_cv_have_resolv" != "xnot found"
16768 then
16769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16770 printf %s "checking for res_getservers... " >&6; }
16771 if test ${ac_cv_have_res_getservers+y}
16772 then :
16773 printf %s "(cached) " >&6
16774 else $as_nop
16775 ac_save_LIBS="$LIBS"
16776 LIBS="$RESOLV_LIBS $LIBS"
16777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16778 /* end confdefs.h. */
16779 #include <resolv.h>
16781 main (void)
16783 res_getservers(NULL, NULL, 0);
16785 return 0;
16787 _ACEOF
16788 if ac_fn_c_try_link "$LINENO"
16789 then :
16790 ac_cv_have_res_getservers=yes
16791 else $as_nop
16792 ac_cv_have_res_getservers=no
16794 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16795 conftest$ac_exeext conftest.$ac_ext
16796 LIBS="$ac_save_LIBS"
16798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16799 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16800 if test "$ac_cv_have_res_getservers" = "yes"
16801 then
16803 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16809 if test "x$with_freetype" != "xno"
16810 then
16811 rm -f conftest.err
16812 if ${FREETYPE_CFLAGS:+false} :
16813 then :
16814 if test ${PKG_CONFIG+y}
16815 then :
16816 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16819 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16820 if ${FREETYPE_LIBS:+false} :
16821 then :
16822 if test ${PKG_CONFIG+y}
16823 then :
16824 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16827 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16828 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16831 if test -s conftest.err; then
16832 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16833 cat conftest.err >&5
16835 rm -f conftest.err
16836 ac_save_CPPFLAGS=$CPPFLAGS
16837 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16838 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16839 if test "x$ac_cv_header_ft2build_h" = xyes
16840 then :
16841 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16845 if test "$ac_cv_header_ft2build_h" = "yes"
16846 then
16847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16848 printf %s "checking for -lfreetype... " >&6; }
16849 if test ${ac_cv_lib_soname_freetype+y}
16850 then :
16851 printf %s "(cached) " >&6
16852 else $as_nop
16853 ac_check_soname_save_LIBS=$LIBS
16854 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16856 /* end confdefs.h. */
16858 /* Override any GCC internal prototype to avoid an error.
16859 Use char because int might match the return type of a GCC
16860 builtin and then its argument prototype would still apply. */
16861 char FT_Init_FreeType ();
16863 main (void)
16865 return FT_Init_FreeType ();
16867 return 0;
16869 _ACEOF
16870 if ac_fn_c_try_link "$LINENO"
16871 then :
16872 case "$LIBEXT" in
16873 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16874 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'` ;;
16875 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16876 if ${ac_cv_lib_soname_freetype:+false} :
16877 then :
16878 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16879 fi ;;
16880 esac
16881 else $as_nop
16882 ac_cv_lib_soname_freetype=
16884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16885 conftest$ac_exeext conftest.$ac_ext
16886 LIBS=$ac_check_soname_save_LIBS
16888 if ${ac_cv_lib_soname_freetype:+false} :
16889 then :
16890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16891 printf "%s\n" "not found" >&6; }
16892 FREETYPE_LIBS=""
16893 else $as_nop
16894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16895 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16897 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16900 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16902 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16903 #include FT_MODULE_H
16905 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16906 then :
16908 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16914 else
16915 FREETYPE_CFLAGS=""
16916 FREETYPE_LIBS=""
16918 CPPFLAGS=$ac_save_CPPFLAGS
16921 if test "x$ac_cv_lib_soname_freetype" = x
16922 then :
16923 case "x$with_freetype" in
16924 xno) ;;
16925 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16926 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16927 esac
16928 enable_fonts=${enable_fonts:-no}
16931 ac_wine_check_funcs_save_LIBS="$LIBS"
16932 LIBS="$LIBS $PTHREAD_LIBS"
16933 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16934 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16935 then :
16936 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16940 LIBS="$ac_wine_check_funcs_save_LIBS"
16942 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16943 then
16944 if test "$ac_cv_header_gettext_po_h" = "yes"
16945 then
16946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16947 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16948 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16949 then :
16950 printf %s "(cached) " >&6
16951 else $as_nop
16952 ac_check_lib_save_LIBS=$LIBS
16953 LIBS="-lgettextpo $LIBS"
16954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16955 /* end confdefs.h. */
16957 /* Override any GCC internal prototype to avoid an error.
16958 Use char because int might match the return type of a GCC
16959 builtin and then its argument prototype would still apply. */
16960 char po_message_msgctxt ();
16962 main (void)
16964 return po_message_msgctxt ();
16966 return 0;
16968 _ACEOF
16969 if ac_fn_c_try_link "$LINENO"
16970 then :
16971 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16972 else $as_nop
16973 ac_cv_lib_gettextpo_po_message_msgctxt=no
16975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16976 conftest$ac_exeext conftest.$ac_ext
16977 LIBS=$ac_check_lib_save_LIBS
16979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16980 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16981 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16982 then :
16984 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16986 GETTEXTPO_LIBS="-lgettextpo"
16991 if test "x$GETTEXTPO_LIBS" = "x"
16992 then :
16993 case "x$with_gettextpo" in
16994 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16995 xno) ;;
16996 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16997 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16998 esac
17001 if test "$srcdir" != .
17002 then :
17003 case "x$with_gettextpo" in
17004 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17005 xno) ;;
17006 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17007 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17008 esac
17013 if test "x$with_pulse" != "xno";
17014 then
17015 rm -f conftest.err
17016 if ${PULSE_CFLAGS:+false} :
17017 then :
17018 if test ${PKG_CONFIG+y}
17019 then :
17020 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17024 if ${PULSE_LIBS:+false} :
17025 then :
17026 if test ${PKG_CONFIG+y}
17027 then :
17028 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17035 if test -s conftest.err; then
17036 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17037 cat conftest.err >&5
17039 rm -f conftest.err
17040 ac_save_CPPFLAGS=$CPPFLAGS
17041 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17042 for ac_header in pulse/pulseaudio.h
17043 do :
17044 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17045 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17046 then :
17047 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17049 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17050 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17051 then :
17052 printf %s "(cached) " >&6
17053 else $as_nop
17054 ac_check_lib_save_LIBS=$LIBS
17055 LIBS="-lpulse $PULSE_LIBS $LIBS"
17056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h. */
17059 /* Override any GCC internal prototype to avoid an error.
17060 Use char because int might match the return type of a GCC
17061 builtin and then its argument prototype would still apply. */
17062 char pa_stream_is_corked ();
17064 main (void)
17066 return pa_stream_is_corked ();
17068 return 0;
17070 _ACEOF
17071 if ac_fn_c_try_link "$LINENO"
17072 then :
17073 ac_cv_lib_pulse_pa_stream_is_corked=yes
17074 else $as_nop
17075 ac_cv_lib_pulse_pa_stream_is_corked=no
17077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17078 conftest$ac_exeext conftest.$ac_ext
17079 LIBS=$ac_check_lib_save_LIBS
17081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17082 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17083 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17084 then :
17086 else $as_nop
17087 PULSE_LIBS=""
17090 else $as_nop
17091 PULSE_LIBS=""
17094 done
17095 CPPFLAGS=$ac_save_CPPFLAGS
17098 if test -z "$PULSE_LIBS"
17099 then :
17100 case "x$with_pulse" in
17101 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17102 xno) ;;
17103 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17104 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17105 esac
17106 enable_winepulse_drv=${enable_winepulse_drv:-no}
17109 if test "x$with_gstreamer" != "xno"
17110 then
17111 rm -f conftest.err
17112 if ${GSTREAMER_CFLAGS:+false} :
17113 then :
17114 if test ${PKG_CONFIG+y}
17115 then :
17116 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17120 if ${GSTREAMER_LIBS:+false} :
17121 then :
17122 if test ${PKG_CONFIG+y}
17123 then :
17124 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 libs: $GSTREAMER_LIBS" >&5
17131 if test -s conftest.err; then
17132 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17133 cat conftest.err >&5
17135 rm -f conftest.err
17136 ac_save_CPPFLAGS=$CPPFLAGS
17137 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17138 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17139 if test "x$ac_cv_header_gst_gst_h" = xyes
17140 then :
17141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17142 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17145 #include <gst/gst.h>
17147 main (void)
17149 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17151 return 0;
17153 _ACEOF
17154 if ac_fn_c_try_compile "$LINENO"
17155 then :
17156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17157 printf "%s\n" "yes" >&6; }
17158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17159 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17160 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17161 then :
17162 printf %s "(cached) " >&6
17163 else $as_nop
17164 ac_check_lib_save_LIBS=$LIBS
17165 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h. */
17169 /* Override any GCC internal prototype to avoid an error.
17170 Use char because int might match the return type of a GCC
17171 builtin and then its argument prototype would still apply. */
17172 char gst_pad_new ();
17174 main (void)
17176 return gst_pad_new ();
17178 return 0;
17180 _ACEOF
17181 if ac_fn_c_try_link "$LINENO"
17182 then :
17183 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17184 else $as_nop
17185 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17188 conftest$ac_exeext conftest.$ac_ext
17189 LIBS=$ac_check_lib_save_LIBS
17191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17192 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17193 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17194 then :
17198 else $as_nop
17199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17200 printf "%s\n" "no" >&6; }
17201 ac_glib2_broken=yes
17202 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17204 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17207 CPPFLAGS=$ac_save_CPPFLAGS
17210 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17211 then :
17212 case "x$with_gstreamer" in
17213 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17214 xno) ;;
17215 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17216 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17217 esac
17218 enable_winegstreamer=${enable_winegstreamer:-no}
17221 ALSA_LIBS=""
17223 if test "x$with_alsa" != "xno"
17224 then
17225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17226 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17227 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17228 then :
17229 printf %s "(cached) " >&6
17230 else $as_nop
17231 ac_check_lib_save_LIBS=$LIBS
17232 LIBS="-lasound $LIBS"
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17236 /* Override any GCC internal prototype to avoid an error.
17237 Use char because int might match the return type of a GCC
17238 builtin and then its argument prototype would still apply. */
17239 char snd_pcm_hw_params_get_access_mask ();
17241 main (void)
17243 return snd_pcm_hw_params_get_access_mask ();
17245 return 0;
17247 _ACEOF
17248 if ac_fn_c_try_link "$LINENO"
17249 then :
17250 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17251 else $as_nop
17252 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17255 conftest$ac_exeext conftest.$ac_ext
17256 LIBS=$ac_check_lib_save_LIBS
17258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17259 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17260 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17261 then :
17262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17263 /* end confdefs.h. */
17264 #include <alsa/asoundlib.h>
17266 main (void)
17268 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17270 return 0;
17272 _ACEOF
17273 if ac_fn_c_try_compile "$LINENO"
17274 then :
17275 ALSA_LIBS="-lasound"
17277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17281 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17283 if test "x$with_oss" != xno
17284 then
17285 ac_save_CPPFLAGS="$CPPFLAGS"
17286 if test -f /etc/oss.conf
17287 then
17288 . /etc/oss.conf
17290 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17291 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17292 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17293 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17294 then :
17295 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17297 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17298 then :
17300 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17302 OSS4_CFLAGS="$ac_oss_incl"
17304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17305 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17306 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17307 then :
17308 printf %s "(cached) " >&6
17309 else $as_nop
17310 ac_check_lib_save_LIBS=$LIBS
17311 LIBS="-lossaudio $LIBS"
17312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17313 /* end confdefs.h. */
17315 /* Override any GCC internal prototype to avoid an error.
17316 Use char because int might match the return type of a GCC
17317 builtin and then its argument prototype would still apply. */
17318 char _oss_ioctl ();
17320 main (void)
17322 return _oss_ioctl ();
17324 return 0;
17326 _ACEOF
17327 if ac_fn_c_try_link "$LINENO"
17328 then :
17329 ac_cv_lib_ossaudio__oss_ioctl=yes
17330 else $as_nop
17331 ac_cv_lib_ossaudio__oss_ioctl=no
17333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17334 conftest$ac_exeext conftest.$ac_ext
17335 LIBS=$ac_check_lib_save_LIBS
17337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17338 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17339 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17340 then :
17341 OSS4_LIBS="-lossaudio"
17349 CPPFLAGS="$ac_save_CPPFLAGS"
17351 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17352 then :
17353 case "x$with_oss" in
17354 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17355 xno) ;;
17356 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17357 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17358 esac
17359 enable_wineoss_drv=${enable_wineoss_drv:-no}
17362 if test "x$with_udev" != "xno"
17363 then
17364 rm -f conftest.err
17365 if ${UDEV_CFLAGS:+false} :
17366 then :
17367 if test ${PKG_CONFIG+y}
17368 then :
17369 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17373 if ${UDEV_LIBS:+false} :
17374 then :
17375 if test ${PKG_CONFIG+y}
17376 then :
17377 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17381 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17384 if test -s conftest.err; then
17385 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17386 cat conftest.err >&5
17388 rm -f conftest.err
17389 ac_save_CPPFLAGS=$CPPFLAGS
17390 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17391 for ac_header in libudev.h
17392 do :
17393 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17394 if test "x$ac_cv_header_libudev_h" = xyes
17395 then :
17396 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17398 printf %s "checking for udev_new in -ludev... " >&6; }
17399 if test ${ac_cv_lib_udev_udev_new+y}
17400 then :
17401 printf %s "(cached) " >&6
17402 else $as_nop
17403 ac_check_lib_save_LIBS=$LIBS
17404 LIBS="-ludev $UDEV_LIBS $LIBS"
17405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17406 /* end confdefs.h. */
17408 /* Override any GCC internal prototype to avoid an error.
17409 Use char because int might match the return type of a GCC
17410 builtin and then its argument prototype would still apply. */
17411 char udev_new ();
17413 main (void)
17415 return udev_new ();
17417 return 0;
17419 _ACEOF
17420 if ac_fn_c_try_link "$LINENO"
17421 then :
17422 ac_cv_lib_udev_udev_new=yes
17423 else $as_nop
17424 ac_cv_lib_udev_udev_new=no
17426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17427 conftest$ac_exeext conftest.$ac_ext
17428 LIBS=$ac_check_lib_save_LIBS
17430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17431 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17432 if test "x$ac_cv_lib_udev_udev_new" = xyes
17433 then :
17435 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17437 else $as_nop
17438 UDEV_LIBS=""
17441 else $as_nop
17442 UDEV_LIBS=""
17445 done
17446 CPPFLAGS=$ac_save_CPPFLAGS
17449 if test "x$UDEV_LIBS" = "x"
17450 then :
17451 case "x$with_udev" in
17452 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17453 xno) ;;
17454 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17455 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17456 esac
17460 if test "x$with_unwind" != xno
17461 then
17462 rm -f conftest.err
17463 if ${UNWIND_CFLAGS:+false} :
17464 then :
17465 if test ${PKG_CONFIG+y}
17466 then :
17467 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17471 if ${UNWIND_LIBS:+false} :
17472 then :
17473 if test ${PKG_CONFIG+y}
17474 then :
17475 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17479 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17482 if test -s conftest.err; then
17483 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17484 cat conftest.err >&5
17486 rm -f conftest.err
17487 ac_save_CPPFLAGS=$CPPFLAGS
17488 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17490 printf %s "checking for unw_step... " >&6; }
17491 if test ${wine_cv_have_unw_step+y}
17492 then :
17493 printf %s "(cached) " >&6
17494 else $as_nop
17495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17496 /* end confdefs.h. */
17497 #define UNW_LOCAL_ONLY
17498 #include <libunwind.h>
17500 main (void)
17502 unw_cursor_t cursor; unw_step( &cursor );
17504 return 0;
17506 _ACEOF
17507 if ac_fn_c_try_link "$LINENO"
17508 then :
17509 wine_cv_have_unw_step="yes"
17510 else $as_nop
17511 wine_cv_have_unw_step="no"
17513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17514 conftest$ac_exeext conftest.$ac_ext
17516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17517 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17518 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17519 then
17520 save_libs=$LIBS
17521 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17522 LIBS="$UNWIND_LIBS $LIBS"
17523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17524 printf %s "checking for unw_step in libunwind... " >&6; }
17525 if test ${wine_cv_have_libunwind_unw_step+y}
17526 then :
17527 printf %s "(cached) " >&6
17528 else $as_nop
17529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17531 #define UNW_LOCAL_ONLY
17532 #include <libunwind.h>
17534 main (void)
17536 unw_cursor_t cursor; unw_step( &cursor );
17538 return 0;
17540 _ACEOF
17541 if ac_fn_c_try_link "$LINENO"
17542 then :
17543 wine_cv_have_libunwind_unw_step="yes"
17544 else $as_nop
17545 wine_cv_have_libunwind_unw_step="no"
17547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17548 conftest$ac_exeext conftest.$ac_ext
17550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17551 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17552 LIBS=$save_libs
17554 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17555 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17556 then
17558 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17561 CPPFLAGS=$ac_save_CPPFLAGS
17564 case $host in
17565 aarch64*|*-darwin*)
17566 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17567 then :
17568 case "x$with_unwind" in
17569 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17570 xno) ;;
17571 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17572 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17573 esac
17575 fi ;;
17576 esac
17578 if test "x$with_sdl" != "xno"
17579 then
17580 rm -f conftest.err
17581 if ${SDL2_CFLAGS:+false} :
17582 then :
17583 if test ${PKG_CONFIG+y}
17584 then :
17585 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17589 if ${SDL2_LIBS:+false} :
17590 then :
17591 if test ${PKG_CONFIG+y}
17592 then :
17593 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17597 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17600 if test -s conftest.err; then
17601 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17602 cat conftest.err >&5
17604 rm -f conftest.err
17605 ac_save_CPPFLAGS=$CPPFLAGS
17606 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17607 for ac_header in SDL.h
17608 do :
17609 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17610 if test "x$ac_cv_header_SDL_h" = xyes
17611 then :
17612 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17614 printf %s "checking for -lSDL2... " >&6; }
17615 if test ${ac_cv_lib_soname_SDL2+y}
17616 then :
17617 printf %s "(cached) " >&6
17618 else $as_nop
17619 ac_check_soname_save_LIBS=$LIBS
17620 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17622 /* end confdefs.h. */
17624 /* Override any GCC internal prototype to avoid an error.
17625 Use char because int might match the return type of a GCC
17626 builtin and then its argument prototype would still apply. */
17627 char SDL_Init ();
17629 main (void)
17631 return SDL_Init ();
17633 return 0;
17635 _ACEOF
17636 if ac_fn_c_try_link "$LINENO"
17637 then :
17638 case "$LIBEXT" in
17639 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17640 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'` ;;
17641 *) 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'`
17642 if ${ac_cv_lib_soname_SDL2:+false} :
17643 then :
17644 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17645 fi ;;
17646 esac
17647 else $as_nop
17648 ac_cv_lib_soname_SDL2=
17650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17651 conftest$ac_exeext conftest.$ac_ext
17652 LIBS=$ac_check_soname_save_LIBS
17654 if ${ac_cv_lib_soname_SDL2:+false} :
17655 then :
17656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17657 printf "%s\n" "not found" >&6; }
17659 else $as_nop
17660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17661 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17663 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17669 done
17670 CPPFLAGS=$ac_save_CPPFLAGS
17673 if test "x$ac_cv_lib_soname_SDL2" = "x"
17674 then :
17675 case "x$with_sdl" in
17676 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17677 xno) ;;
17678 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17679 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17680 esac
17684 if test "x$with_capi" != "xno"
17685 then
17686 rm -f conftest.err
17687 if ${CAPI20_CFLAGS:+false} :
17688 then :
17689 if test ${PKG_CONFIG+y}
17690 then :
17691 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17695 if ${CAPI20_LIBS:+false} :
17696 then :
17697 if test ${PKG_CONFIG+y}
17698 then :
17699 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17706 if test -s conftest.err; then
17707 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17708 cat conftest.err >&5
17710 rm -f conftest.err
17711 ac_save_CPPFLAGS=$CPPFLAGS
17712 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17713 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17715 if test "x$ac_cv_header_capi20_h" = xyes
17716 then :
17717 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17720 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17722 if test "x$ac_cv_header_linux_capi_h" = xyes
17723 then :
17724 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17728 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17729 then
17730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17731 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17732 if test ${ac_cv_lib_capi20_capi20_register+y}
17733 then :
17734 printf %s "(cached) " >&6
17735 else $as_nop
17736 ac_check_lib_save_LIBS=$LIBS
17737 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17741 /* Override any GCC internal prototype to avoid an error.
17742 Use char because int might match the return type of a GCC
17743 builtin and then its argument prototype would still apply. */
17744 char capi20_register ();
17746 main (void)
17748 return capi20_register ();
17750 return 0;
17752 _ACEOF
17753 if ac_fn_c_try_link "$LINENO"
17754 then :
17755 ac_cv_lib_capi20_capi20_register=yes
17756 else $as_nop
17757 ac_cv_lib_capi20_capi20_register=no
17759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17760 conftest$ac_exeext conftest.$ac_ext
17761 LIBS=$ac_check_lib_save_LIBS
17763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17764 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17765 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17766 then :
17768 else $as_nop
17769 CAPI20_LIBS=""
17773 CPPFLAGS=$ac_save_CPPFLAGS
17776 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17777 then :
17778 case "x$with_capi" in
17779 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17780 xno) ;;
17781 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17782 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17783 esac
17784 enable_capi2032=${enable_capi2032:-no}
17787 if test "x$with_cups" != "xno"
17788 then
17789 rm -f conftest.err
17790 if ${CUPS_CFLAGS:+false} :
17791 then :
17792 if test ${PKG_CONFIG+y}
17793 then :
17794 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17797 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17798 if ${CUPS_LIBS:+false} :
17799 then :
17800 if test ${PKG_CONFIG+y}
17801 then :
17802 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17805 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17806 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17809 if test -s conftest.err; then
17810 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17811 cat conftest.err >&5
17813 rm -f conftest.err
17814 ac_save_CPPFLAGS=$CPPFLAGS
17815 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17816 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17817 if test "x$ac_cv_header_cups_cups_h" = xyes
17818 then :
17819 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17822 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17823 if test "x$ac_cv_header_cups_ppd_h" = xyes
17824 then :
17825 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17829 if test "$ac_cv_header_cups_cups_h" = "yes"
17830 then
17831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17832 printf %s "checking for -lcups... " >&6; }
17833 if test ${ac_cv_lib_soname_cups+y}
17834 then :
17835 printf %s "(cached) " >&6
17836 else $as_nop
17837 ac_check_soname_save_LIBS=$LIBS
17838 LIBS="-lcups $CUPS_LIBS $LIBS"
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17842 /* Override any GCC internal prototype to avoid an error.
17843 Use char because int might match the return type of a GCC
17844 builtin and then its argument prototype would still apply. */
17845 char cupsGetDefault ();
17847 main (void)
17849 return cupsGetDefault ();
17851 return 0;
17853 _ACEOF
17854 if ac_fn_c_try_link "$LINENO"
17855 then :
17856 case "$LIBEXT" in
17857 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17858 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'` ;;
17859 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17860 if ${ac_cv_lib_soname_cups:+false} :
17861 then :
17862 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17863 fi ;;
17864 esac
17865 else $as_nop
17866 ac_cv_lib_soname_cups=
17868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17869 conftest$ac_exeext conftest.$ac_ext
17870 LIBS=$ac_check_soname_save_LIBS
17872 if ${ac_cv_lib_soname_cups:+false} :
17873 then :
17874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17875 printf "%s\n" "not found" >&6; }
17876 CUPS_LIBS=""
17877 else $as_nop
17878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17879 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17881 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17885 else
17886 CUPS_CFLAGS=""
17887 CUPS_LIBS=""
17889 CPPFLAGS=$ac_save_CPPFLAGS
17892 if test "x$ac_cv_lib_soname_cups" = "x"
17893 then :
17894 case "x$with_cups" in
17895 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17896 xno) ;;
17897 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17898 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17899 esac
17903 if test "x$with_fontconfig" != "xno"
17904 then
17905 rm -f conftest.err
17906 if ${FONTCONFIG_CFLAGS:+false} :
17907 then :
17908 if test ${PKG_CONFIG+y}
17909 then :
17910 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17913 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17914 if ${FONTCONFIG_LIBS:+false} :
17915 then :
17916 if test ${PKG_CONFIG+y}
17917 then :
17918 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17921 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17923 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17924 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17925 if test -s conftest.err; then
17926 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17927 cat conftest.err >&5
17929 rm -f conftest.err
17930 ac_save_CPPFLAGS=$CPPFLAGS
17931 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17932 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17933 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17934 then :
17935 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17939 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17940 then
17941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17942 printf %s "checking for -lfontconfig... " >&6; }
17943 if test ${ac_cv_lib_soname_fontconfig+y}
17944 then :
17945 printf %s "(cached) " >&6
17946 else $as_nop
17947 ac_check_soname_save_LIBS=$LIBS
17948 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17950 /* end confdefs.h. */
17952 /* Override any GCC internal prototype to avoid an error.
17953 Use char because int might match the return type of a GCC
17954 builtin and then its argument prototype would still apply. */
17955 char FcInit ();
17957 main (void)
17959 return FcInit ();
17961 return 0;
17963 _ACEOF
17964 if ac_fn_c_try_link "$LINENO"
17965 then :
17966 case "$LIBEXT" in
17967 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17968 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'` ;;
17969 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17970 if ${ac_cv_lib_soname_fontconfig:+false} :
17971 then :
17972 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17973 fi ;;
17974 esac
17975 else $as_nop
17976 ac_cv_lib_soname_fontconfig=
17978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17979 conftest$ac_exeext conftest.$ac_ext
17980 LIBS=$ac_check_soname_save_LIBS
17982 if ${ac_cv_lib_soname_fontconfig:+false} :
17983 then :
17984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17985 printf "%s\n" "not found" >&6; }
17986 FONTCONFIG_CFLAGS=""
17987 else $as_nop
17988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17989 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17991 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17995 else
17996 FONTCONFIG_CFLAGS=""
17998 CPPFLAGS=$ac_save_CPPFLAGS
18001 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18002 then :
18003 case "x$with_fontconfig" in
18004 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18005 xno) ;;
18006 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18007 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18008 esac
18012 if test "x$with_krb5" != "xno"
18013 then
18014 rm -f conftest.err
18015 if ${KRB5_CFLAGS:+false} :
18016 then :
18017 if test ${PKG_CONFIG+y}
18018 then :
18019 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18022 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18023 if ${KRB5_LIBS:+false} :
18024 then :
18025 if test ${PKG_CONFIG+y}
18026 then :
18027 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18030 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18034 if test -s conftest.err; then
18035 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18036 cat conftest.err >&5
18038 rm -f conftest.err
18039 ac_save_CPPFLAGS=$CPPFLAGS
18040 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18041 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18042 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18043 then :
18044 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18048 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18049 then
18050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18051 printf %s "checking for -lkrb5... " >&6; }
18052 if test ${ac_cv_lib_soname_krb5+y}
18053 then :
18054 printf %s "(cached) " >&6
18055 else $as_nop
18056 ac_check_soname_save_LIBS=$LIBS
18057 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18059 /* end confdefs.h. */
18061 /* Override any GCC internal prototype to avoid an error.
18062 Use char because int might match the return type of a GCC
18063 builtin and then its argument prototype would still apply. */
18064 char krb5_is_config_principal ();
18066 main (void)
18068 return krb5_is_config_principal ();
18070 return 0;
18072 _ACEOF
18073 if ac_fn_c_try_link "$LINENO"
18074 then :
18075 case "$LIBEXT" in
18076 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18077 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'` ;;
18078 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18079 if ${ac_cv_lib_soname_krb5:+false} :
18080 then :
18081 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18082 fi ;;
18083 esac
18084 else $as_nop
18085 ac_cv_lib_soname_krb5=
18087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18088 conftest$ac_exeext conftest.$ac_ext
18089 LIBS=$ac_check_soname_save_LIBS
18091 if ${ac_cv_lib_soname_krb5:+false} :
18092 then :
18093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18094 printf "%s\n" "not found" >&6; }
18095 KRB5_CFLAGS=""
18096 else $as_nop
18097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18098 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18100 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18104 else
18105 KRB5_CFLAGS=""
18107 CPPFLAGS=$ac_save_CPPFLAGS
18110 if test "x$ac_cv_lib_soname_krb5" = "x"
18111 then :
18112 case "x$with_krb5" in
18113 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18114 xno) ;;
18115 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18116 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18117 esac
18120 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18122 if test "x$with_gssapi" != "xno"
18123 then
18124 rm -f conftest.err
18125 if ${GSSAPI_CFLAGS:+false} :
18126 then :
18127 if test ${PKG_CONFIG+y}
18128 then :
18129 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18132 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18133 if ${GSSAPI_LIBS:+false} :
18134 then :
18135 if test ${PKG_CONFIG+y}
18136 then :
18137 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18140 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18144 if test -s conftest.err; then
18145 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18146 cat conftest.err >&5
18148 rm -f conftest.err
18149 ac_save_CPPFLAGS=$CPPFLAGS
18150 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18151 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18152 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18153 then :
18154 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18157 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18158 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18159 then :
18160 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18164 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18165 then
18166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18167 printf %s "checking for -lgssapi_krb5... " >&6; }
18168 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18169 then :
18170 printf %s "(cached) " >&6
18171 else $as_nop
18172 ac_check_soname_save_LIBS=$LIBS
18173 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18175 /* end confdefs.h. */
18177 /* Override any GCC internal prototype to avoid an error.
18178 Use char because int might match the return type of a GCC
18179 builtin and then its argument prototype would still apply. */
18180 char gss_init_sec_context ();
18182 main (void)
18184 return gss_init_sec_context ();
18186 return 0;
18188 _ACEOF
18189 if ac_fn_c_try_link "$LINENO"
18190 then :
18191 case "$LIBEXT" in
18192 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18193 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'` ;;
18194 *) 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'`
18195 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18196 then :
18197 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18198 fi ;;
18199 esac
18200 else $as_nop
18201 ac_cv_lib_soname_gssapi_krb5=
18203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18204 conftest$ac_exeext conftest.$ac_ext
18205 LIBS=$ac_check_soname_save_LIBS
18207 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18208 then :
18209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18210 printf "%s\n" "not found" >&6; }
18211 GSSAPI_CFLAGS=""
18212 else $as_nop
18213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18214 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18216 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18220 else
18221 GSSAPI_CFLAGS=""
18223 CPPFLAGS=$ac_save_CPPFLAGS
18226 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18227 then :
18228 case "x$with_gssapi" in
18229 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18230 xno) ;;
18231 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18232 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18233 esac
18237 if test "$ac_cv_header_libprocstat_h" = "yes"
18238 then
18239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18240 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18241 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18242 then :
18243 printf %s "(cached) " >&6
18244 else $as_nop
18245 ac_check_lib_save_LIBS=$LIBS
18246 LIBS="-lprocstat $LIBS"
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18250 /* Override any GCC internal prototype to avoid an error.
18251 Use char because int might match the return type of a GCC
18252 builtin and then its argument prototype would still apply. */
18253 char procstat_open_sysctl ();
18255 main (void)
18257 return procstat_open_sysctl ();
18259 return 0;
18261 _ACEOF
18262 if ac_fn_c_try_link "$LINENO"
18263 then :
18264 ac_cv_lib_procstat_procstat_open_sysctl=yes
18265 else $as_nop
18266 ac_cv_lib_procstat_procstat_open_sysctl=no
18268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18269 conftest$ac_exeext conftest.$ac_ext
18270 LIBS=$ac_check_lib_save_LIBS
18272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18273 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18274 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18275 then :
18277 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18279 PROCSTAT_LIBS="-lprocstat"
18285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18286 printf %s "checking for -lodbc... " >&6; }
18287 if test ${ac_cv_lib_soname_odbc+y}
18288 then :
18289 printf %s "(cached) " >&6
18290 else $as_nop
18291 ac_check_soname_save_LIBS=$LIBS
18292 LIBS="-lodbc $LIBS"
18293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18294 /* end confdefs.h. */
18296 /* Override any GCC internal prototype to avoid an error.
18297 Use char because int might match the return type of a GCC
18298 builtin and then its argument prototype would still apply. */
18299 char SQLConnect ();
18301 main (void)
18303 return SQLConnect ();
18305 return 0;
18307 _ACEOF
18308 if ac_fn_c_try_link "$LINENO"
18309 then :
18310 case "$LIBEXT" in
18311 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18312 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'` ;;
18313 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18314 if ${ac_cv_lib_soname_odbc:+false} :
18315 then :
18316 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18317 fi ;;
18318 esac
18319 else $as_nop
18320 ac_cv_lib_soname_odbc=
18322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18323 conftest$ac_exeext conftest.$ac_ext
18324 LIBS=$ac_check_soname_save_LIBS
18326 if ${ac_cv_lib_soname_odbc:+false} :
18327 then :
18328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18329 printf "%s\n" "not found" >&6; }
18330 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18332 else $as_nop
18333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18334 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18336 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18341 if test "x$with_netapi" != "xno"
18342 then
18343 rm -f conftest.err
18344 if ${NETAPI_CFLAGS:+false} :
18345 then :
18346 if test ${PKG_CONFIG+y}
18347 then :
18348 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18352 if ${NETAPI_LIBS:+false} :
18353 then :
18354 if test ${PKG_CONFIG+y}
18355 then :
18356 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18363 if test -s conftest.err; then
18364 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18365 cat conftest.err >&5
18367 rm -f conftest.err
18368 ac_save_CPPFLAGS=$CPPFLAGS
18369 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18371 printf %s "checking for -lnetapi... " >&6; }
18372 if test ${ac_cv_lib_soname_netapi+y}
18373 then :
18374 printf %s "(cached) " >&6
18375 else $as_nop
18376 ac_check_soname_save_LIBS=$LIBS
18377 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18379 /* end confdefs.h. */
18381 /* Override any GCC internal prototype to avoid an error.
18382 Use char because int might match the return type of a GCC
18383 builtin and then its argument prototype would still apply. */
18384 char libnetapi_init ();
18386 main (void)
18388 return libnetapi_init ();
18390 return 0;
18392 _ACEOF
18393 if ac_fn_c_try_link "$LINENO"
18394 then :
18395 case "$LIBEXT" in
18396 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18397 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'` ;;
18398 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18399 if ${ac_cv_lib_soname_netapi:+false} :
18400 then :
18401 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18402 fi ;;
18403 esac
18404 else $as_nop
18405 ac_cv_lib_soname_netapi=
18407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18408 conftest$ac_exeext conftest.$ac_ext
18409 LIBS=$ac_check_soname_save_LIBS
18411 if ${ac_cv_lib_soname_netapi:+false} :
18412 then :
18413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18414 printf "%s\n" "not found" >&6; }
18415 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18417 else $as_nop
18418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18419 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18421 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18425 CPPFLAGS=$ac_save_CPPFLAGS
18428 if test "x$ac_cv_lib_soname_netapi" = "x"
18429 then :
18430 case "x$with_netapi" in
18431 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18432 xno) ;;
18433 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18434 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18435 esac
18436 enable_netapi=${enable_netapi:-no}
18440 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18441 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18442 then
18443 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18446 if test "x$with_vulkan" != "xno"
18447 then
18448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18449 printf %s "checking for -lvulkan... " >&6; }
18450 if test ${ac_cv_lib_soname_vulkan+y}
18451 then :
18452 printf %s "(cached) " >&6
18453 else $as_nop
18454 ac_check_soname_save_LIBS=$LIBS
18455 LIBS="-lvulkan $LIBS"
18456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18457 /* end confdefs.h. */
18459 /* Override any GCC internal prototype to avoid an error.
18460 Use char because int might match the return type of a GCC
18461 builtin and then its argument prototype would still apply. */
18462 char vkGetInstanceProcAddr ();
18464 main (void)
18466 return vkGetInstanceProcAddr ();
18468 return 0;
18470 _ACEOF
18471 if ac_fn_c_try_link "$LINENO"
18472 then :
18473 case "$LIBEXT" in
18474 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18475 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'` ;;
18476 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18477 if ${ac_cv_lib_soname_vulkan:+false} :
18478 then :
18479 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18480 fi ;;
18481 esac
18482 else $as_nop
18483 ac_cv_lib_soname_vulkan=
18485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18486 conftest$ac_exeext conftest.$ac_ext
18487 LIBS=$ac_check_soname_save_LIBS
18489 if ${ac_cv_lib_soname_vulkan:+false} :
18490 then :
18491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18492 printf "%s\n" "not found" >&6; }
18494 else $as_nop
18495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18496 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18498 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18502 if test "x$ac_cv_lib_soname_vulkan" = "x"
18503 then
18504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18505 printf %s "checking for -lMoltenVK... " >&6; }
18506 if test ${ac_cv_lib_soname_MoltenVK+y}
18507 then :
18508 printf %s "(cached) " >&6
18509 else $as_nop
18510 ac_check_soname_save_LIBS=$LIBS
18511 LIBS="-lMoltenVK $LIBS"
18512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18513 /* end confdefs.h. */
18515 /* Override any GCC internal prototype to avoid an error.
18516 Use char because int might match the return type of a GCC
18517 builtin and then its argument prototype would still apply. */
18518 char vkGetInstanceProcAddr ();
18520 main (void)
18522 return vkGetInstanceProcAddr ();
18524 return 0;
18526 _ACEOF
18527 if ac_fn_c_try_link "$LINENO"
18528 then :
18529 case "$LIBEXT" in
18530 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18531 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'` ;;
18532 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18533 if ${ac_cv_lib_soname_MoltenVK:+false} :
18534 then :
18535 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18536 fi ;;
18537 esac
18538 else $as_nop
18539 ac_cv_lib_soname_MoltenVK=
18541 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18542 conftest$ac_exeext conftest.$ac_ext
18543 LIBS=$ac_check_soname_save_LIBS
18545 if ${ac_cv_lib_soname_MoltenVK:+false} :
18546 then :
18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18548 printf "%s\n" "not found" >&6; }
18550 else $as_nop
18551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18552 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18554 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18560 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18561 then :
18562 case "x$with_vulkan" in
18563 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18564 xno) ;;
18565 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18566 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18567 esac
18572 if test "x${GCC}" = "xyes"
18573 then
18574 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18576 saved_CFLAGS=$CFLAGS
18577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18578 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18579 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18580 then :
18581 printf %s "(cached) " >&6
18582 else $as_nop
18583 ac_wine_try_cflags_saved=$CFLAGS
18584 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18586 /* end confdefs.h. */
18587 int main(int argc, char **argv) { return 0; }
18588 _ACEOF
18589 if ac_fn_c_try_link "$LINENO"
18590 then :
18591 ac_cv_cflags__Werror_unknown_warning_option=yes
18592 else $as_nop
18593 ac_cv_cflags__Werror_unknown_warning_option=no
18595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18596 conftest$ac_exeext conftest.$ac_ext
18597 CFLAGS=$ac_wine_try_cflags_saved
18599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18600 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18601 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18602 then :
18603 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18606 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18607 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18608 then :
18609 printf %s "(cached) " >&6
18610 else $as_nop
18611 ac_wine_try_cflags_saved=$CFLAGS
18612 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18615 int main(int argc, char **argv) { return 0; }
18616 _ACEOF
18617 if ac_fn_c_try_link "$LINENO"
18618 then :
18619 ac_cv_cflags__Werror_unused_command_line_argument=yes
18620 else $as_nop
18621 ac_cv_cflags__Werror_unused_command_line_argument=no
18623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18624 conftest$ac_exeext conftest.$ac_ext
18625 CFLAGS=$ac_wine_try_cflags_saved
18627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18628 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18629 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18630 then :
18631 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18634 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18635 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18636 then :
18637 printf %s "(cached) " >&6
18638 else $as_nop
18639 ac_wine_try_cflags_saved=$CFLAGS
18640 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18642 /* end confdefs.h. */
18643 int main(int argc, char **argv) { return 0; }
18644 _ACEOF
18645 if ac_fn_c_try_link "$LINENO"
18646 then :
18647 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18648 else $as_nop
18649 ac_cv_cflags__Werror_ignored_optimization_argument=no
18651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18652 conftest$ac_exeext conftest.$ac_ext
18653 CFLAGS=$ac_wine_try_cflags_saved
18655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18656 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18657 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18658 then :
18659 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18662 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18663 if test ${ac_cv_cflags__fcf_protection_none+y}
18664 then :
18665 printf %s "(cached) " >&6
18666 else $as_nop
18667 ac_wine_try_cflags_saved=$CFLAGS
18668 CFLAGS="$CFLAGS -fcf-protection=none"
18669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18670 /* end confdefs.h. */
18671 int main(int argc, char **argv) { return 0; }
18672 _ACEOF
18673 if ac_fn_c_try_link "$LINENO"
18674 then :
18675 ac_cv_cflags__fcf_protection_none=yes
18676 else $as_nop
18677 ac_cv_cflags__fcf_protection_none=no
18679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18680 conftest$ac_exeext conftest.$ac_ext
18681 CFLAGS=$ac_wine_try_cflags_saved
18683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18684 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18685 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18686 then :
18687 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18690 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18691 if test ${ac_cv_cflags__fno_stack_protector+y}
18692 then :
18693 printf %s "(cached) " >&6
18694 else $as_nop
18695 ac_wine_try_cflags_saved=$CFLAGS
18696 CFLAGS="$CFLAGS -fno-stack-protector"
18697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18699 int main(int argc, char **argv) { return 0; }
18700 _ACEOF
18701 if ac_fn_c_try_link "$LINENO"
18702 then :
18703 ac_cv_cflags__fno_stack_protector=yes
18704 else $as_nop
18705 ac_cv_cflags__fno_stack_protector=no
18707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18708 conftest$ac_exeext conftest.$ac_ext
18709 CFLAGS=$ac_wine_try_cflags_saved
18711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18712 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18713 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18714 then :
18715 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18718 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18719 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18720 then :
18721 printf %s "(cached) " >&6
18722 else $as_nop
18723 ac_wine_try_cflags_saved=$CFLAGS
18724 CFLAGS="$CFLAGS -fno-strict-aliasing"
18725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18726 /* end confdefs.h. */
18727 int main(int argc, char **argv) { return 0; }
18728 _ACEOF
18729 if ac_fn_c_try_link "$LINENO"
18730 then :
18731 ac_cv_cflags__fno_strict_aliasing=yes
18732 else $as_nop
18733 ac_cv_cflags__fno_strict_aliasing=no
18735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18736 conftest$ac_exeext conftest.$ac_ext
18737 CFLAGS=$ac_wine_try_cflags_saved
18739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18740 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18741 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18742 then :
18743 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18746 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18747 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18748 then :
18749 printf %s "(cached) " >&6
18750 else $as_nop
18751 ac_wine_try_cflags_saved=$CFLAGS
18752 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h. */
18755 int main(int argc, char **argv) { return 0; }
18756 _ACEOF
18757 if ac_fn_c_try_link "$LINENO"
18758 then :
18759 ac_cv_cflags__Wdeclaration_after_statement=yes
18760 else $as_nop
18761 ac_cv_cflags__Wdeclaration_after_statement=no
18763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18764 conftest$ac_exeext conftest.$ac_ext
18765 CFLAGS=$ac_wine_try_cflags_saved
18767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18768 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18769 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18770 then :
18771 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18774 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18775 if test ${ac_cv_cflags__Wempty_body+y}
18776 then :
18777 printf %s "(cached) " >&6
18778 else $as_nop
18779 ac_wine_try_cflags_saved=$CFLAGS
18780 CFLAGS="$CFLAGS -Wempty-body"
18781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18782 /* end confdefs.h. */
18783 int main(int argc, char **argv) { return 0; }
18784 _ACEOF
18785 if ac_fn_c_try_link "$LINENO"
18786 then :
18787 ac_cv_cflags__Wempty_body=yes
18788 else $as_nop
18789 ac_cv_cflags__Wempty_body=no
18791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18792 conftest$ac_exeext conftest.$ac_ext
18793 CFLAGS=$ac_wine_try_cflags_saved
18795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18796 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18797 if test "x$ac_cv_cflags__Wempty_body" = xyes
18798 then :
18799 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18802 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18803 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18804 then :
18805 printf %s "(cached) " >&6
18806 else $as_nop
18807 ac_wine_try_cflags_saved=$CFLAGS
18808 CFLAGS="$CFLAGS -Wignored-qualifiers"
18809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h. */
18811 int main(int argc, char **argv) { return 0; }
18812 _ACEOF
18813 if ac_fn_c_try_link "$LINENO"
18814 then :
18815 ac_cv_cflags__Wignored_qualifiers=yes
18816 else $as_nop
18817 ac_cv_cflags__Wignored_qualifiers=no
18819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18820 conftest$ac_exeext conftest.$ac_ext
18821 CFLAGS=$ac_wine_try_cflags_saved
18823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18824 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18825 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18826 then :
18827 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18830 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18831 if test ${ac_cv_cflags__Winit_self+y}
18832 then :
18833 printf %s "(cached) " >&6
18834 else $as_nop
18835 ac_wine_try_cflags_saved=$CFLAGS
18836 CFLAGS="$CFLAGS -Winit-self"
18837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18838 /* end confdefs.h. */
18839 int main(int argc, char **argv) { return 0; }
18840 _ACEOF
18841 if ac_fn_c_try_link "$LINENO"
18842 then :
18843 ac_cv_cflags__Winit_self=yes
18844 else $as_nop
18845 ac_cv_cflags__Winit_self=no
18847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18848 conftest$ac_exeext conftest.$ac_ext
18849 CFLAGS=$ac_wine_try_cflags_saved
18851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18852 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18853 if test "x$ac_cv_cflags__Winit_self" = xyes
18854 then :
18855 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18858 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18859 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18860 then :
18861 printf %s "(cached) " >&6
18862 else $as_nop
18863 ac_wine_try_cflags_saved=$CFLAGS
18864 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18866 /* end confdefs.h. */
18867 int main(int argc, char **argv) { return 0; }
18868 _ACEOF
18869 if ac_fn_c_try_link "$LINENO"
18870 then :
18871 ac_cv_cflags__Wpacked_not_aligned=yes
18872 else $as_nop
18873 ac_cv_cflags__Wpacked_not_aligned=no
18875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18876 conftest$ac_exeext conftest.$ac_ext
18877 CFLAGS=$ac_wine_try_cflags_saved
18879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18880 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18881 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18882 then :
18883 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18886 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18887 if test ${ac_cv_cflags__Wpragma_pack+y}
18888 then :
18889 printf %s "(cached) " >&6
18890 else $as_nop
18891 ac_wine_try_cflags_saved=$CFLAGS
18892 CFLAGS="$CFLAGS -Wpragma-pack"
18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h. */
18895 int main(int argc, char **argv) { return 0; }
18896 _ACEOF
18897 if ac_fn_c_try_link "$LINENO"
18898 then :
18899 ac_cv_cflags__Wpragma_pack=yes
18900 else $as_nop
18901 ac_cv_cflags__Wpragma_pack=no
18903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18904 conftest$ac_exeext conftest.$ac_ext
18905 CFLAGS=$ac_wine_try_cflags_saved
18907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18908 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18909 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18910 then :
18911 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18914 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18915 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18916 then :
18917 printf %s "(cached) " >&6
18918 else $as_nop
18919 ac_wine_try_cflags_saved=$CFLAGS
18920 CFLAGS="$CFLAGS -Wshift-overflow=2"
18921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18922 /* end confdefs.h. */
18923 int main(int argc, char **argv) { return 0; }
18924 _ACEOF
18925 if ac_fn_c_try_link "$LINENO"
18926 then :
18927 ac_cv_cflags__Wshift_overflow_2=yes
18928 else $as_nop
18929 ac_cv_cflags__Wshift_overflow_2=no
18931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18932 conftest$ac_exeext conftest.$ac_ext
18933 CFLAGS=$ac_wine_try_cflags_saved
18935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18936 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18937 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18938 then :
18939 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18942 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18943 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18944 then :
18945 printf %s "(cached) " >&6
18946 else $as_nop
18947 ac_wine_try_cflags_saved=$CFLAGS
18948 CFLAGS="$CFLAGS -Wstrict-prototypes"
18949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18950 /* end confdefs.h. */
18951 int main(int argc, char **argv) { return 0; }
18952 _ACEOF
18953 if ac_fn_c_try_link "$LINENO"
18954 then :
18955 ac_cv_cflags__Wstrict_prototypes=yes
18956 else $as_nop
18957 ac_cv_cflags__Wstrict_prototypes=no
18959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18960 conftest$ac_exeext conftest.$ac_ext
18961 CFLAGS=$ac_wine_try_cflags_saved
18963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18964 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18965 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18966 then :
18967 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18970 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18971 if test ${ac_cv_cflags__Wtype_limits+y}
18972 then :
18973 printf %s "(cached) " >&6
18974 else $as_nop
18975 ac_wine_try_cflags_saved=$CFLAGS
18976 CFLAGS="$CFLAGS -Wtype-limits"
18977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18978 /* end confdefs.h. */
18979 int main(int argc, char **argv) { return 0; }
18980 _ACEOF
18981 if ac_fn_c_try_link "$LINENO"
18982 then :
18983 ac_cv_cflags__Wtype_limits=yes
18984 else $as_nop
18985 ac_cv_cflags__Wtype_limits=no
18987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18988 conftest$ac_exeext conftest.$ac_ext
18989 CFLAGS=$ac_wine_try_cflags_saved
18991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18992 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18993 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18994 then :
18995 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18998 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18999 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19000 then :
19001 printf %s "(cached) " >&6
19002 else $as_nop
19003 ac_wine_try_cflags_saved=$CFLAGS
19004 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19006 /* end confdefs.h. */
19007 int main(int argc, char **argv) { return 0; }
19008 _ACEOF
19009 if ac_fn_c_try_link "$LINENO"
19010 then :
19011 ac_cv_cflags__Wunused_but_set_parameter=yes
19012 else $as_nop
19013 ac_cv_cflags__Wunused_but_set_parameter=no
19015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19016 conftest$ac_exeext conftest.$ac_ext
19017 CFLAGS=$ac_wine_try_cflags_saved
19019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19020 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19021 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19022 then :
19023 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19026 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19027 if test ${ac_cv_cflags__Wvla+y}
19028 then :
19029 printf %s "(cached) " >&6
19030 else $as_nop
19031 ac_wine_try_cflags_saved=$CFLAGS
19032 CFLAGS="$CFLAGS -Wvla"
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19035 int main(int argc, char **argv) { return 0; }
19036 _ACEOF
19037 if ac_fn_c_try_link "$LINENO"
19038 then :
19039 ac_cv_cflags__Wvla=yes
19040 else $as_nop
19041 ac_cv_cflags__Wvla=no
19043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19044 conftest$ac_exeext conftest.$ac_ext
19045 CFLAGS=$ac_wine_try_cflags_saved
19047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19048 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19049 if test "x$ac_cv_cflags__Wvla" = xyes
19050 then :
19051 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19054 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19055 if test ${ac_cv_cflags__Wwrite_strings+y}
19056 then :
19057 printf %s "(cached) " >&6
19058 else $as_nop
19059 ac_wine_try_cflags_saved=$CFLAGS
19060 CFLAGS="$CFLAGS -Wwrite-strings"
19061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19062 /* end confdefs.h. */
19063 int main(int argc, char **argv) { return 0; }
19064 _ACEOF
19065 if ac_fn_c_try_link "$LINENO"
19066 then :
19067 ac_cv_cflags__Wwrite_strings=yes
19068 else $as_nop
19069 ac_cv_cflags__Wwrite_strings=no
19071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19072 conftest$ac_exeext conftest.$ac_ext
19073 CFLAGS=$ac_wine_try_cflags_saved
19075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19076 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19077 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19078 then :
19079 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19083 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19084 if test ${ac_cv_cflags__Wpointer_arith+y}
19085 then :
19086 printf %s "(cached) " >&6
19087 else $as_nop
19088 ac_wine_try_cflags_saved=$CFLAGS
19089 CFLAGS="$CFLAGS -Wpointer-arith"
19090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19091 /* end confdefs.h. */
19092 int main(int argc, char **argv) { return 0; }
19093 _ACEOF
19094 if ac_fn_c_try_link "$LINENO"
19095 then :
19096 ac_cv_cflags__Wpointer_arith=yes
19097 else $as_nop
19098 ac_cv_cflags__Wpointer_arith=no
19100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19101 conftest$ac_exeext conftest.$ac_ext
19102 CFLAGS=$ac_wine_try_cflags_saved
19104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19105 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19106 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19107 then :
19108 saved_string_h_CFLAGS=$CFLAGS
19109 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19111 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19112 if test ${ac_cv_c_string_h_warnings+y}
19113 then :
19114 printf %s "(cached) " >&6
19115 else $as_nop
19116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19117 /* end confdefs.h. */
19118 #include <string.h>
19120 main (void)
19124 return 0;
19126 _ACEOF
19127 if ac_fn_c_try_compile "$LINENO"
19128 then :
19129 ac_cv_c_string_h_warnings=no
19130 else $as_nop
19131 ac_cv_c_string_h_warnings=yes
19133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19136 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19137 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19138 CFLAGS=$saved_string_h_CFLAGS
19141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19142 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19143 if test ${ac_cv_cflags__Wlogical_op+y}
19144 then :
19145 printf %s "(cached) " >&6
19146 else $as_nop
19147 ac_wine_try_cflags_saved=$CFLAGS
19148 CFLAGS="$CFLAGS -Wlogical-op"
19149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19150 /* end confdefs.h. */
19151 int main(int argc, char **argv) { return 0; }
19152 _ACEOF
19153 if ac_fn_c_try_link "$LINENO"
19154 then :
19155 ac_cv_cflags__Wlogical_op=yes
19156 else $as_nop
19157 ac_cv_cflags__Wlogical_op=no
19159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19160 conftest$ac_exeext conftest.$ac_ext
19161 CFLAGS=$ac_wine_try_cflags_saved
19163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19164 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19165 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19166 then :
19167 saved_string_h_CFLAGS=$CFLAGS
19168 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19170 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19171 if test ${ac_cv_c_logicalop_noisy+y}
19172 then :
19173 printf %s "(cached) " >&6
19174 else $as_nop
19175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h. */
19177 #include <string.h>
19178 char*f(const char *h,char n) {return strchr(h,n);}
19180 main (void)
19184 return 0;
19186 _ACEOF
19187 if ac_fn_c_try_compile "$LINENO"
19188 then :
19189 ac_cv_c_logicalop_noisy=no
19190 else $as_nop
19191 ac_cv_c_logicalop_noisy=yes
19193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19196 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19197 CFLAGS=$saved_string_h_CFLAGS
19198 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19202 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19203 if test ${wine_cv_64bit_compare_swap+y}
19204 then :
19205 printf %s "(cached) " >&6
19206 else $as_nop
19207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19208 /* end confdefs.h. */
19209 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19210 #error no
19211 #endif
19213 main (void)
19217 return 0;
19219 _ACEOF
19220 if ac_fn_c_try_compile "$LINENO"
19221 then :
19222 wine_cv_64bit_compare_swap="none needed"
19223 else $as_nop
19224 case $host_cpu in
19225 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19226 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19227 *) wine_cv_64bit_compare_swap="unknown" ;;
19228 esac
19229 if test "x$wine_cv_64bit_compare_swap" != xunknown
19230 then
19231 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19233 /* end confdefs.h. */
19234 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19235 #error no
19236 #endif
19238 main (void)
19242 return 0;
19244 _ACEOF
19245 if ac_fn_c_try_compile "$LINENO"
19246 then :
19248 else $as_nop
19249 wine_cv_64bit_compare_swap="unknown"
19251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19252 CFLAGS=$saved_CFLAGS
19255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19258 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19259 case "$wine_cv_64bit_compare_swap" in
19260 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19261 "none needed") ;;
19262 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19263 esac
19265 ac_debug_format_seen=""
19266 for ac_flag in $CFLAGS; do
19267 case $ac_flag in
19268 -gdwarf*) ac_debug_format_seen=yes ;;
19269 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19270 esac
19271 done
19272 if test "x$ac_debug_format_seen" = xdefault
19273 then
19274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19275 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19276 if test ${ac_cv_cflags__gdwarf_4+y}
19277 then :
19278 printf %s "(cached) " >&6
19279 else $as_nop
19280 ac_wine_try_cflags_saved=$CFLAGS
19281 CFLAGS="$CFLAGS -gdwarf-4"
19282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19283 /* end confdefs.h. */
19284 int main(int argc, char **argv) { return 0; }
19285 _ACEOF
19286 if ac_fn_c_try_link "$LINENO"
19287 then :
19288 ac_cv_cflags__gdwarf_4=yes
19289 else $as_nop
19290 ac_cv_cflags__gdwarf_4=no
19292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19293 conftest$ac_exeext conftest.$ac_ext
19294 CFLAGS=$ac_wine_try_cflags_saved
19296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19297 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19298 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19299 then :
19300 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19304 MSVCRTFLAGS=""
19306 case $host_os in
19307 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19308 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19309 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19310 then :
19311 printf %s "(cached) " >&6
19312 else $as_nop
19313 ac_wine_try_cflags_saved=$CFLAGS
19314 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19316 /* end confdefs.h. */
19317 int main(int argc, char **argv) { return 0; }
19318 _ACEOF
19319 if ac_fn_c_try_link "$LINENO"
19320 then :
19321 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19322 else $as_nop
19323 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19326 conftest$ac_exeext conftest.$ac_ext
19327 CFLAGS=$ac_wine_try_cflags_saved
19329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19330 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19331 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19332 then :
19333 DELAYLOADFLAG="-Wl,-delayload,"
19335 fi ;;
19336 *) MSVCRTFLAGS="-D_WIN32"
19337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19338 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19339 if test ${ac_cv_cflags__fno_builtin+y}
19340 then :
19341 printf %s "(cached) " >&6
19342 else $as_nop
19343 ac_wine_try_cflags_saved=$CFLAGS
19344 CFLAGS="$CFLAGS -fno-builtin"
19345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19346 /* end confdefs.h. */
19347 int main(int argc, char **argv) { return 0; }
19348 _ACEOF
19349 if ac_fn_c_try_link "$LINENO"
19350 then :
19351 ac_cv_cflags__fno_builtin=yes
19352 else $as_nop
19353 ac_cv_cflags__fno_builtin=no
19355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19356 conftest$ac_exeext conftest.$ac_ext
19357 CFLAGS=$ac_wine_try_cflags_saved
19359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19360 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19361 if test "x$ac_cv_cflags__fno_builtin" = xyes
19362 then :
19363 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19366 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19367 if test ${ac_cv_cflags__fshort_wchar+y}
19368 then :
19369 printf %s "(cached) " >&6
19370 else $as_nop
19371 ac_wine_try_cflags_saved=$CFLAGS
19372 CFLAGS="$CFLAGS -fshort-wchar"
19373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h. */
19375 int main(int argc, char **argv) { return 0; }
19376 _ACEOF
19377 if ac_fn_c_try_link "$LINENO"
19378 then :
19379 ac_cv_cflags__fshort_wchar=yes
19380 else $as_nop
19381 ac_cv_cflags__fshort_wchar=no
19383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19384 conftest$ac_exeext conftest.$ac_ext
19385 CFLAGS=$ac_wine_try_cflags_saved
19387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19388 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19389 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19390 then :
19391 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19394 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19395 if test ${ac_cv_cflags__fvisibility_hidden+y}
19396 then :
19397 printf %s "(cached) " >&6
19398 else $as_nop
19399 ac_wine_try_cflags_saved=$CFLAGS
19400 CFLAGS="$CFLAGS -fvisibility=hidden"
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 int main(int argc, char **argv) { return 0; }
19404 _ACEOF
19405 if ac_fn_c_try_link "$LINENO"
19406 then :
19407 ac_cv_cflags__fvisibility_hidden=yes
19408 else $as_nop
19409 ac_cv_cflags__fvisibility_hidden=no
19411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19412 conftest$ac_exeext conftest.$ac_ext
19413 CFLAGS=$ac_wine_try_cflags_saved
19415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19416 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19417 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19418 then :
19419 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19422 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19423 if test ${ac_cv_cflags__Wno_format+y}
19424 then :
19425 printf %s "(cached) " >&6
19426 else $as_nop
19427 ac_wine_try_cflags_saved=$CFLAGS
19428 CFLAGS="$CFLAGS -Wno-format"
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__Wno_format=yes
19436 else $as_nop
19437 ac_cv_cflags__Wno_format=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__Wno_format" >&5
19444 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19445 if test "x$ac_cv_cflags__Wno_format" = xyes
19446 then :
19447 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19448 fi ;;
19449 esac
19451 case $host_cpu in
19452 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19453 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19454 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19455 then :
19456 printf %s "(cached) " >&6
19457 else $as_nop
19458 ac_wine_try_cflags_saved=$CFLAGS
19459 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19461 /* end confdefs.h. */
19462 int main(int argc, char **argv) { return 0; }
19463 _ACEOF
19464 if ac_fn_c_try_link "$LINENO"
19465 then :
19466 ac_cv_cflags__fno_omit_frame_pointer=yes
19467 else $as_nop
19468 ac_cv_cflags__fno_omit_frame_pointer=no
19470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19471 conftest$ac_exeext conftest.$ac_ext
19472 CFLAGS=$ac_wine_try_cflags_saved
19474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19475 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19476 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19477 then :
19478 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19479 fi ;;
19480 *x86_64*)
19481 case $host_os in
19482 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19483 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19484 if test ${ac_cv_cflags__Wno_format+y}
19485 then :
19486 printf %s "(cached) " >&6
19487 else $as_nop
19488 ac_wine_try_cflags_saved=$CFLAGS
19489 CFLAGS="$CFLAGS -Wno-format"
19490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19491 /* end confdefs.h. */
19492 int main(int argc, char **argv) { return 0; }
19493 _ACEOF
19494 if ac_fn_c_try_link "$LINENO"
19495 then :
19496 ac_cv_cflags__Wno_format=yes
19497 else $as_nop
19498 ac_cv_cflags__Wno_format=no
19500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19501 conftest$ac_exeext conftest.$ac_ext
19502 CFLAGS=$ac_wine_try_cflags_saved
19504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19505 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19506 if test "x$ac_cv_cflags__Wno_format" = xyes
19507 then :
19508 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19509 fi ;;
19510 *) if test -z "$PE_ARCHS"
19511 then
19512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19513 printf %s "checking for working -mabi=ms... " >&6; }
19514 if test ${ac_cv_mabi_ms+y}
19515 then :
19516 printf %s "(cached) " >&6
19517 else $as_nop
19518 CFLAGS="$CFLAGS -mabi=ms"
19519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19520 /* end confdefs.h. */
19521 #include <stdarg.h>
19522 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19524 main (void)
19528 return 0;
19530 _ACEOF
19531 if ac_fn_c_try_compile "$LINENO"
19532 then :
19533 ac_cv_mabi_ms=yes
19534 else $as_nop
19535 ac_cv_mabi_ms=no
19537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19538 CFLAGS=$saved_CFLAGS
19540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19541 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19542 test $ac_cv_mabi_ms = yes || as_fn_error $? "The compiler doesn't support -mabi=ms. Use gcc instead of clang, or install mingw-w64." "$LINENO" 5
19544 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19545 esac ;;
19546 arm*)
19547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19548 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19549 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19550 then :
19551 printf %s "(cached) " >&6
19552 else $as_nop
19553 ac_wine_try_cflags_saved=$CFLAGS
19554 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19556 /* end confdefs.h. */
19557 int main(int argc, char **argv) { return 0; }
19558 _ACEOF
19559 if ac_fn_c_try_link "$LINENO"
19560 then :
19561 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19562 else $as_nop
19563 ac_cv_cflags__Wincompatible_function_pointer_types=no
19565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19566 conftest$ac_exeext conftest.$ac_ext
19567 CFLAGS=$ac_wine_try_cflags_saved
19569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19570 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19571 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19572 then :
19573 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19574 fi ;;
19575 esac
19577 CFLAGS=$saved_CFLAGS
19579 if test "x$enable_werror" = "xyes"
19580 then
19581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19582 printf %s "checking whether the compiler supports -Werror... " >&6; }
19583 if test ${ac_cv_cflags__Werror+y}
19584 then :
19585 printf %s "(cached) " >&6
19586 else $as_nop
19587 ac_wine_try_cflags_saved=$CFLAGS
19588 CFLAGS="$CFLAGS -Werror"
19589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19590 /* end confdefs.h. */
19591 int main(int argc, char **argv) { return 0; }
19592 _ACEOF
19593 if ac_fn_c_try_link "$LINENO"
19594 then :
19595 ac_cv_cflags__Werror=yes
19596 else $as_nop
19597 ac_cv_cflags__Werror=no
19599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19600 conftest$ac_exeext conftest.$ac_ext
19601 CFLAGS=$ac_wine_try_cflags_saved
19603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19604 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19605 if test "x$ac_cv_cflags__Werror" = xyes
19606 then :
19607 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19610 if test "x$enable_build_id" = "xyes"
19611 then
19612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19613 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19614 if test ${ac_cv_cflags__Wl___build_id+y}
19615 then :
19616 printf %s "(cached) " >&6
19617 else $as_nop
19618 ac_wine_try_cflags_saved=$CFLAGS
19619 CFLAGS="$CFLAGS -Wl,--build-id"
19620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19621 /* end confdefs.h. */
19622 int main(int argc, char **argv) { return 0; }
19623 _ACEOF
19624 if ac_fn_c_try_link "$LINENO"
19625 then :
19626 ac_cv_cflags__Wl___build_id=yes
19627 else $as_nop
19628 ac_cv_cflags__Wl___build_id=no
19630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19631 conftest$ac_exeext conftest.$ac_ext
19632 CFLAGS=$ac_wine_try_cflags_saved
19634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19635 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19636 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19637 then :
19638 CFLAGS="$CFLAGS -Wl,--build-id"
19639 LDFLAGS="$LDFLAGS -Wl,--build-id"
19645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19646 printf %s "checking for the need to disable Fortify... " >&6; }
19647 if test ${ac_cv_c_fortify_enabled+y}
19648 then :
19649 printf %s "(cached) " >&6
19650 else $as_nop
19651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h. */
19653 #include <string.h>
19655 main (void)
19657 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19658 #error Fortify enabled
19659 #endif
19661 return 0;
19663 _ACEOF
19664 if ac_fn_c_try_compile "$LINENO"
19665 then :
19666 ac_cv_c_fortify_enabled=no
19667 else $as_nop
19668 ac_cv_c_fortify_enabled=yes
19670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19673 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19674 if test "$ac_cv_c_fortify_enabled" = yes
19675 then
19676 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19681 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19682 if test ${ac_cv_c_cfi_support+y}
19683 then :
19684 printf %s "(cached) " >&6
19685 else $as_nop
19686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19687 /* end confdefs.h. */
19688 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19690 main (void)
19694 return 0;
19696 _ACEOF
19697 if ac_fn_c_try_compile "$LINENO"
19698 then :
19699 ac_cv_c_cfi_support="yes"
19700 else $as_nop
19701 ac_cv_c_cfi_support="no"
19703 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19706 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19707 if test "$ac_cv_c_cfi_support" = "yes"
19708 then
19709 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19710 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19711 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19712 elif test $HOST_ARCH = x86_64
19713 then
19714 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19718 case "$HOST_ARCH,$PE_ARCHS" in
19719 x86_64,*i386*) wine_binary="wine" ;;
19720 x86_64,*) wine_binary="wine64" ;;
19721 *) wine_binary="wine" ;;
19722 esac
19723 WINELOADER_PROGRAMS="$wine_binary"
19726 case $host_os in
19727 linux*)
19728 case $host_cpu in
19729 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19730 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19731 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19733 esac
19735 darwin*|macosx*)
19736 if test "$wine_can_build_preloader" = "yes"
19737 then
19738 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19739 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19742 esac
19745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19746 printf %s "checking for library containing dlopen... " >&6; }
19747 if test ${ac_cv_search_dlopen+y}
19748 then :
19749 printf %s "(cached) " >&6
19750 else $as_nop
19751 ac_func_search_save_LIBS=$LIBS
19752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19753 /* end confdefs.h. */
19755 /* Override any GCC internal prototype to avoid an error.
19756 Use char because int might match the return type of a GCC
19757 builtin and then its argument prototype would still apply. */
19758 char dlopen ();
19760 main (void)
19762 return dlopen ();
19764 return 0;
19766 _ACEOF
19767 for ac_lib in '' dl
19769 if test -z "$ac_lib"; then
19770 ac_res="none required"
19771 else
19772 ac_res=-l$ac_lib
19773 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19775 if ac_fn_c_try_link "$LINENO"
19776 then :
19777 ac_cv_search_dlopen=$ac_res
19779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19780 conftest$ac_exeext
19781 if test ${ac_cv_search_dlopen+y}
19782 then :
19783 break
19785 done
19786 if test ${ac_cv_search_dlopen+y}
19787 then :
19789 else $as_nop
19790 ac_cv_search_dlopen=no
19792 rm conftest.$ac_ext
19793 LIBS=$ac_func_search_save_LIBS
19795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19796 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19797 ac_res=$ac_cv_search_dlopen
19798 if test "$ac_res" != no
19799 then :
19800 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19806 printf %s "checking for library containing gethostbyname... " >&6; }
19807 if test ${ac_cv_search_gethostbyname+y}
19808 then :
19809 printf %s "(cached) " >&6
19810 else $as_nop
19811 ac_func_search_save_LIBS=$LIBS
19812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19813 /* end confdefs.h. */
19815 /* Override any GCC internal prototype to avoid an error.
19816 Use char because int might match the return type of a GCC
19817 builtin and then its argument prototype would still apply. */
19818 char gethostbyname ();
19820 main (void)
19822 return gethostbyname ();
19824 return 0;
19826 _ACEOF
19827 for ac_lib in '' nsl
19829 if test -z "$ac_lib"; then
19830 ac_res="none required"
19831 else
19832 ac_res=-l$ac_lib
19833 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19835 if ac_fn_c_try_link "$LINENO"
19836 then :
19837 ac_cv_search_gethostbyname=$ac_res
19839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19840 conftest$ac_exeext
19841 if test ${ac_cv_search_gethostbyname+y}
19842 then :
19843 break
19845 done
19846 if test ${ac_cv_search_gethostbyname+y}
19847 then :
19849 else $as_nop
19850 ac_cv_search_gethostbyname=no
19852 rm conftest.$ac_ext
19853 LIBS=$ac_func_search_save_LIBS
19855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19856 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19857 ac_res=$ac_cv_search_gethostbyname
19858 if test "$ac_res" != no
19859 then :
19860 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19866 printf %s "checking for library containing connect... " >&6; }
19867 if test ${ac_cv_search_connect+y}
19868 then :
19869 printf %s "(cached) " >&6
19870 else $as_nop
19871 ac_func_search_save_LIBS=$LIBS
19872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h. */
19875 /* Override any GCC internal prototype to avoid an error.
19876 Use char because int might match the return type of a GCC
19877 builtin and then its argument prototype would still apply. */
19878 char connect ();
19880 main (void)
19882 return connect ();
19884 return 0;
19886 _ACEOF
19887 for ac_lib in '' socket
19889 if test -z "$ac_lib"; then
19890 ac_res="none required"
19891 else
19892 ac_res=-l$ac_lib
19893 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19895 if ac_fn_c_try_link "$LINENO"
19896 then :
19897 ac_cv_search_connect=$ac_res
19899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19900 conftest$ac_exeext
19901 if test ${ac_cv_search_connect+y}
19902 then :
19903 break
19905 done
19906 if test ${ac_cv_search_connect+y}
19907 then :
19909 else $as_nop
19910 ac_cv_search_connect=no
19912 rm conftest.$ac_ext
19913 LIBS=$ac_func_search_save_LIBS
19915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19916 printf "%s\n" "$ac_cv_search_connect" >&6; }
19917 ac_res=$ac_cv_search_connect
19918 if test "$ac_res" != no
19919 then :
19920 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19926 printf %s "checking for library containing inet_aton... " >&6; }
19927 if test ${ac_cv_search_inet_aton+y}
19928 then :
19929 printf %s "(cached) " >&6
19930 else $as_nop
19931 ac_func_search_save_LIBS=$LIBS
19932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19933 /* end confdefs.h. */
19935 /* Override any GCC internal prototype to avoid an error.
19936 Use char because int might match the return type of a GCC
19937 builtin and then its argument prototype would still apply. */
19938 char inet_aton ();
19940 main (void)
19942 return inet_aton ();
19944 return 0;
19946 _ACEOF
19947 for ac_lib in '' resolv
19949 if test -z "$ac_lib"; then
19950 ac_res="none required"
19951 else
19952 ac_res=-l$ac_lib
19953 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19955 if ac_fn_c_try_link "$LINENO"
19956 then :
19957 ac_cv_search_inet_aton=$ac_res
19959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19960 conftest$ac_exeext
19961 if test ${ac_cv_search_inet_aton+y}
19962 then :
19963 break
19965 done
19966 if test ${ac_cv_search_inet_aton+y}
19967 then :
19969 else $as_nop
19970 ac_cv_search_inet_aton=no
19972 rm conftest.$ac_ext
19973 LIBS=$ac_func_search_save_LIBS
19975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19976 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19977 ac_res=$ac_cv_search_inet_aton
19978 if test "$ac_res" != no
19979 then :
19980 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19985 ac_save_CFLAGS="$CFLAGS"
19986 CFLAGS="$CFLAGS $BUILTINFLAG"
19987 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19988 if test "x$ac_cv_func_dladdr1" = xyes
19989 then :
19990 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19993 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19994 if test "x$ac_cv_func_dlinfo" = xyes
19995 then :
19996 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19999 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20000 if test "x$ac_cv_func_epoll_create" = xyes
20001 then :
20002 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20005 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20006 if test "x$ac_cv_func_fstatfs" = xyes
20007 then :
20008 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20011 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20012 if test "x$ac_cv_func_futimens" = xyes
20013 then :
20014 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20017 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20018 if test "x$ac_cv_func_futimes" = xyes
20019 then :
20020 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20023 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20024 if test "x$ac_cv_func_futimesat" = xyes
20025 then :
20026 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20029 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20030 if test "x$ac_cv_func_getaddrinfo" = xyes
20031 then :
20032 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20035 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20036 if test "x$ac_cv_func_getattrlist" = xyes
20037 then :
20038 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20041 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20042 if test "x$ac_cv_func_getauxval" = xyes
20043 then :
20044 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20047 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20048 if test "x$ac_cv_func_getifaddrs" = xyes
20049 then :
20050 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20053 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20054 if test "x$ac_cv_func_getrandom" = xyes
20055 then :
20056 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20059 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20060 if test "x$ac_cv_func_kqueue" = xyes
20061 then :
20062 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20065 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20066 if test "x$ac_cv_func_mach_continuous_time" = xyes
20067 then :
20068 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20071 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20072 if test "x$ac_cv_func_pipe2" = xyes
20073 then :
20074 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20077 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20078 if test "x$ac_cv_func_port_create" = xyes
20079 then :
20080 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20083 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20084 if test "x$ac_cv_func_posix_fadvise" = xyes
20085 then :
20086 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20089 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20090 if test "x$ac_cv_func_posix_fallocate" = xyes
20091 then :
20092 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20095 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20096 if test "x$ac_cv_func_prctl" = xyes
20097 then :
20098 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20101 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20102 if test "x$ac_cv_func_proc_pidinfo" = xyes
20103 then :
20104 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20107 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20108 if test "x$ac_cv_func_sched_yield" = xyes
20109 then :
20110 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20113 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20114 if test "x$ac_cv_func_setproctitle" = xyes
20115 then :
20116 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20119 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20120 if test "x$ac_cv_func_setprogname" = xyes
20121 then :
20122 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20125 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20126 if test "x$ac_cv_func_sigprocmask" = xyes
20127 then :
20128 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20131 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20132 if test "x$ac_cv_func_sysinfo" = xyes
20133 then :
20134 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20137 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20138 if test "x$ac_cv_func_tcdrain" = xyes
20139 then :
20140 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20143 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20144 if test "x$ac_cv_func_thr_kill2" = xyes
20145 then :
20146 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20150 CFLAGS="$ac_save_CFLAGS"
20152 case $host_os in
20153 darwin*|macosx*) ;;
20154 *) ac_save_LIBS=$LIBS
20155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20156 printf %s "checking for library containing clock_gettime... " >&6; }
20157 if test ${ac_cv_search_clock_gettime+y}
20158 then :
20159 printf %s "(cached) " >&6
20160 else $as_nop
20161 ac_func_search_save_LIBS=$LIBS
20162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20163 /* end confdefs.h. */
20165 /* Override any GCC internal prototype to avoid an error.
20166 Use char because int might match the return type of a GCC
20167 builtin and then its argument prototype would still apply. */
20168 char clock_gettime ();
20170 main (void)
20172 return clock_gettime ();
20174 return 0;
20176 _ACEOF
20177 for ac_lib in '' rt
20179 if test -z "$ac_lib"; then
20180 ac_res="none required"
20181 else
20182 ac_res=-l$ac_lib
20183 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20185 if ac_fn_c_try_link "$LINENO"
20186 then :
20187 ac_cv_search_clock_gettime=$ac_res
20189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20190 conftest$ac_exeext
20191 if test ${ac_cv_search_clock_gettime+y}
20192 then :
20193 break
20195 done
20196 if test ${ac_cv_search_clock_gettime+y}
20197 then :
20199 else $as_nop
20200 ac_cv_search_clock_gettime=no
20202 rm conftest.$ac_ext
20203 LIBS=$ac_func_search_save_LIBS
20205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20206 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20207 ac_res=$ac_cv_search_clock_gettime
20208 if test "$ac_res" != no
20209 then :
20210 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20212 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20214 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20218 LIBS=$ac_save_LIBS
20220 esac
20222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20223 printf %s "checking for sched_setaffinity... " >&6; }
20224 if test ${wine_cv_have_sched_setaffinity+y}
20225 then :
20226 printf %s "(cached) " >&6
20227 else $as_nop
20228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20229 /* end confdefs.h. */
20230 #include <sched.h>
20232 main (void)
20234 sched_setaffinity(0, 0, 0);
20236 return 0;
20238 _ACEOF
20239 if ac_fn_c_try_link "$LINENO"
20240 then :
20241 wine_cv_have_sched_setaffinity=yes
20242 else $as_nop
20243 wine_cv_have_sched_setaffinity=no
20245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20246 conftest$ac_exeext conftest.$ac_ext
20248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20249 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20250 if test "$wine_cv_have_sched_setaffinity" = "yes"
20251 then
20253 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20259 printf %s "checking for inline... " >&6; }
20260 if test ${ac_cv_c_inline+y}
20261 then :
20262 printf %s "(cached) " >&6
20263 else $as_nop
20264 ac_cv_c_inline=no
20265 for ac_kw in inline __inline__ __inline; do
20266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20267 /* end confdefs.h. */
20268 #ifndef __cplusplus
20269 typedef int foo_t;
20270 static $ac_kw foo_t static_foo (void) {return 0; }
20271 $ac_kw foo_t foo (void) {return 0; }
20272 #endif
20274 _ACEOF
20275 if ac_fn_c_try_compile "$LINENO"
20276 then :
20277 ac_cv_c_inline=$ac_kw
20279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20280 test "$ac_cv_c_inline" != no && break
20281 done
20284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20285 printf "%s\n" "$ac_cv_c_inline" >&6; }
20287 case $ac_cv_c_inline in
20288 inline | yes) ;;
20290 case $ac_cv_c_inline in
20291 no) ac_val=;;
20292 *) ac_val=$ac_cv_c_inline;;
20293 esac
20294 cat >>confdefs.h <<_ACEOF
20295 #ifndef __cplusplus
20296 #define inline $ac_val
20297 #endif
20298 _ACEOF
20300 esac
20302 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20304 if test "x$ac_cv_type_request_sense" = xyes
20305 then :
20307 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20313 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20314 #include <sys/socket.h>
20315 #ifdef HAVE_SYS_SOCKETVAR_H
20316 #include <sys/socketvar.h>
20317 #endif
20318 #ifdef HAVE_NET_ROUTE_H
20319 #include <net/route.h>
20320 #endif
20321 #ifdef HAVE_NETINET_IN_H
20322 #include <netinet/in.h>
20323 #endif
20324 #ifdef HAVE_NETINET_IN_SYSTM_H
20325 #include <netinet/in_systm.h>
20326 #endif
20327 #ifdef HAVE_NETINET_IP_H
20328 #include <netinet/ip.h>
20329 #endif
20330 #ifdef HAVE_NETINET_IN_PCB_H
20331 #include <netinet/in_pcb.h>
20332 #endif
20334 if test "x$ac_cv_type_struct_xinpgen" = xyes
20335 then :
20337 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20344 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20345 if test ${wine_cv_linux_gethostbyname_r_6+y}
20346 then :
20347 printf %s "(cached) " >&6
20348 else $as_nop
20349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20350 /* end confdefs.h. */
20351 #include <netdb.h>
20353 main (void)
20356 char *name=0;
20357 struct hostent he;
20358 struct hostent *result;
20359 char *buf=0;
20360 int bufsize=0;
20361 int errnr;
20362 char *addr=0;
20363 int addrlen=0;
20364 int addrtype=0;
20365 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20366 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20369 return 0;
20371 _ACEOF
20372 if ac_fn_c_try_link "$LINENO"
20373 then :
20374 wine_cv_linux_gethostbyname_r_6=yes
20375 else $as_nop
20376 wine_cv_linux_gethostbyname_r_6=no
20379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20380 conftest$ac_exeext conftest.$ac_ext
20383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20384 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20385 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20386 then
20388 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20392 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20393 #include <sys/socket.h>
20394 #ifdef HAVE_SYS_UN_H
20395 # include <sys/un.h>
20396 #endif
20398 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20399 then :
20401 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20405 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20406 #include <sys/socket.h>
20407 #ifdef HAVE_SYS_UN_H
20408 # include <sys/un.h>
20409 #endif
20411 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20412 then :
20414 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20420 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20421 #ifdef HAVE_SCSI_SG_H
20422 #include <scsi/sg.h>
20423 #endif
20425 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20426 then :
20428 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20432 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>
20433 #ifdef HAVE_SCSI_SG_H
20434 #include <scsi/sg.h>
20435 #endif
20437 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20438 then :
20440 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20446 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20448 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20449 then :
20451 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20457 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20458 #ifdef HAVE_SYS_MTIO_H
20459 #include <sys/mtio.h>
20460 #endif
20462 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20463 then :
20465 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20469 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20470 #ifdef HAVE_SYS_MTIO_H
20471 #include <sys/mtio.h>
20472 #endif
20474 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20475 then :
20477 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20481 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20482 #ifdef HAVE_SYS_MTIO_H
20483 #include <sys/mtio.h>
20484 #endif
20486 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20487 then :
20489 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20495 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20496 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20497 then :
20499 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20503 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20504 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20505 then :
20507 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20511 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20512 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20513 then :
20515 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20519 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20520 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20521 then :
20523 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20527 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20528 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20529 then :
20531 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20535 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20536 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20537 then :
20539 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20543 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20544 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20545 then :
20547 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20551 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20552 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20553 then :
20555 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20559 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20560 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20561 then :
20563 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20567 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20568 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20569 then :
20571 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20575 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20576 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20577 then :
20579 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20585 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>
20586 #ifdef HAVE_NETINET_IN_H
20587 #include <netinet/in.h>
20588 #endif
20590 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20591 then :
20593 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20599 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
20600 #include <resolv.h>
20601 #endif
20603 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20604 then :
20606 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20612 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20613 #include <netinet/in.h>
20614 #endif
20616 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20617 then :
20619 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20625 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20626 #ifdef HAVE_SYS_SOCKETVAR_H
20627 #include <sys/socketvar.h>
20628 #endif
20629 #ifdef HAVE_NETINET_IN_H
20630 #include <netinet/in.h>
20631 #endif
20632 #ifdef HAVE_NETINET_IP_VAR_H
20633 #include <netinet/ip_var.h>
20634 #endif
20636 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20637 then :
20639 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20645 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
20646 #include <netinet/ip_var.h>
20647 #endif
20649 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20650 then :
20652 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20658 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20659 #ifdef HAVE_SYS_SOCKETVAR_H
20660 #include <sys/socketvar.h>
20661 #endif
20662 #ifdef HAVE_NETINET_IN_H
20663 #include <netinet/in.h>
20664 #endif
20665 #ifdef HAVE_NETINET6_IP6_VAR_H
20666 #include <netinet6/ip6_var.h>
20667 #endif
20669 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20670 then :
20672 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20678 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20679 #ifdef HAVE_SYS_SOCKETVAR_H
20680 #include <sys/socketvar.h>
20681 #endif
20682 #ifdef HAVE_NETINET_IN_H
20683 #include <netinet/in.h>
20684 #endif
20685 #ifdef HAVE_NETINET_IP_H
20686 #include <netinet/ip.h>
20687 #endif
20688 #ifdef HAVE_NETINET_IP_ICMP_H
20689 #include <netinet/ip_icmp.h>
20690 #endif
20691 #ifdef HAVE_NETINET_ICMP_VAR_H
20692 #include <netinet/icmp_var.h>
20693 #endif
20695 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20696 then :
20698 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20704 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20705 #ifdef HAVE_SYS_SOCKETVAR_H
20706 #include <sys/socketvar.h>
20707 #endif
20708 #ifdef HAVE_NETINET_IN_H
20709 #include <netinet/in.h>
20710 #endif
20711 #ifdef HAVE_NETINET_ICMP6_H
20712 #include <netinet/icmp6.h>
20713 #endif
20715 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20716 then :
20718 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20724 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20725 #ifdef HAVE_SYS_SOCKETVAR_H
20726 #include <sys/socketvar.h>
20727 #endif
20728 #ifdef HAVE_NETINET_IN_H
20729 #include <netinet/in.h>
20730 #endif
20731 #ifdef HAVE_NETINET_TCP_H
20732 #include <netinet/tcp.h>
20733 #endif
20734 #ifdef HAVE_NETINET_TCP_VAR_H
20735 #include <netinet/tcp_var.h>
20736 #endif
20738 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20739 then :
20741 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20747 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
20748 #include <netinet/tcp_var.h>
20749 #endif
20751 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20752 then :
20754 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20760 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20761 #ifdef HAVE_NETINET_IN_H
20762 #include <netinet/in.h>
20763 #endif
20764 #ifdef HAVE_NETINET_IP_VAR_H
20765 #include <netinet/ip_var.h>
20766 #endif
20767 #ifdef HAVE_NETINET_UDP_H
20768 #include <netinet/udp.h>
20769 #endif
20770 #ifdef HAVE_NETINET_UDP_VAR_H
20771 #include <netinet/udp_var.h>
20772 #endif
20774 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20775 then :
20777 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20783 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20784 #ifdef HAVE_NET_IF_H
20785 # include <net/if.h>
20786 #endif
20788 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20789 then :
20791 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20797 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20798 # include <sys/sysinfo.h>
20799 #endif
20801 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20802 then :
20804 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20808 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20809 # include <sys/sysinfo.h>
20810 #endif
20812 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20813 then :
20815 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20821 LIBS="$ac_save_LIBS"
20823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20824 printf %s "checking for __builtin_popcount... " >&6; }
20825 if test ${ac_cv_have___builtin_popcount+y}
20826 then :
20827 printf %s "(cached) " >&6
20828 else $as_nop
20829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20830 /* end confdefs.h. */
20833 main (void)
20835 return __builtin_popcount(1)
20837 return 0;
20839 _ACEOF
20840 if ac_fn_c_try_link "$LINENO"
20841 then :
20842 ac_cv_have___builtin_popcount="yes"
20843 else $as_nop
20844 ac_cv_have___builtin_popcount="no"
20846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20847 conftest$ac_exeext conftest.$ac_ext
20849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20850 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20851 if test "$ac_cv_have___builtin_popcount" = "yes"
20852 then
20854 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20859 printf %s "checking for __clear_cache... " >&6; }
20860 if test ${ac_cv_have___clear_cache+y}
20861 then :
20862 printf %s "(cached) " >&6
20863 else $as_nop
20864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20865 /* end confdefs.h. */
20868 main (void)
20870 __clear_cache((void*)0, (void*)0); return 0;
20872 return 0;
20874 _ACEOF
20875 if ac_fn_c_try_link "$LINENO"
20876 then :
20877 ac_cv_have___clear_cache="yes"
20878 else $as_nop
20879 ac_cv_have___clear_cache="no"
20881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20882 conftest$ac_exeext conftest.$ac_ext
20884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20885 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20886 if test "$ac_cv_have___clear_cache" = "yes"
20887 then
20889 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20894 case $host_cpu in
20895 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20896 printf %s "checking whether we need to define __i386__... " >&6; }
20897 if test ${ac_cv_cpp_def___i386__+y}
20898 then :
20899 printf %s "(cached) " >&6
20900 else $as_nop
20901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20902 /* end confdefs.h. */
20903 #ifndef __i386__
20905 #endif
20906 _ACEOF
20907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20908 $EGREP "yes" >/dev/null 2>&1
20909 then :
20910 ac_cv_cpp_def___i386__=yes
20911 else $as_nop
20912 ac_cv_cpp_def___i386__=no
20914 rm -rf conftest*
20917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20918 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20919 if test "x$ac_cv_cpp_def___i386__" = xyes
20920 then :
20921 CFLAGS="$CFLAGS -D__i386__"
20922 LINTFLAGS="$LINTFLAGS -D__i386__"
20923 fi ;;
20924 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20925 printf %s "checking whether we need to define __x86_64__... " >&6; }
20926 if test ${ac_cv_cpp_def___x86_64__+y}
20927 then :
20928 printf %s "(cached) " >&6
20929 else $as_nop
20930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20931 /* end confdefs.h. */
20932 #ifndef __x86_64__
20934 #endif
20935 _ACEOF
20936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20937 $EGREP "yes" >/dev/null 2>&1
20938 then :
20939 ac_cv_cpp_def___x86_64__=yes
20940 else $as_nop
20941 ac_cv_cpp_def___x86_64__=no
20943 rm -rf conftest*
20946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20947 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20948 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20949 then :
20950 CFLAGS="$CFLAGS -D__x86_64__"
20951 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20952 fi ;;
20953 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20954 printf %s "checking whether we need to define __sparc64__... " >&6; }
20955 if test ${ac_cv_cpp_def___sparc64__+y}
20956 then :
20957 printf %s "(cached) " >&6
20958 else $as_nop
20959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20960 /* end confdefs.h. */
20961 #ifndef __sparc64__
20963 #endif
20964 _ACEOF
20965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20966 $EGREP "yes" >/dev/null 2>&1
20967 then :
20968 ac_cv_cpp_def___sparc64__=yes
20969 else $as_nop
20970 ac_cv_cpp_def___sparc64__=no
20972 rm -rf conftest*
20975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20976 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20977 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20978 then :
20979 CFLAGS="$CFLAGS -D__sparc64__"
20980 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20981 fi ;;
20982 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20983 printf %s "checking whether we need to define __sparc__... " >&6; }
20984 if test ${ac_cv_cpp_def___sparc__+y}
20985 then :
20986 printf %s "(cached) " >&6
20987 else $as_nop
20988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20989 /* end confdefs.h. */
20990 #ifndef __sparc__
20992 #endif
20993 _ACEOF
20994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20995 $EGREP "yes" >/dev/null 2>&1
20996 then :
20997 ac_cv_cpp_def___sparc__=yes
20998 else $as_nop
20999 ac_cv_cpp_def___sparc__=no
21001 rm -rf conftest*
21004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21005 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21006 if test "x$ac_cv_cpp_def___sparc__" = xyes
21007 then :
21008 CFLAGS="$CFLAGS -D__sparc__"
21009 LINTFLAGS="$LINTFLAGS -D__sparc__"
21010 fi ;;
21011 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21012 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21013 if test ${ac_cv_cpp_def___powerpc64__+y}
21014 then :
21015 printf %s "(cached) " >&6
21016 else $as_nop
21017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21018 /* end confdefs.h. */
21019 #ifndef __powerpc64__
21021 #endif
21022 _ACEOF
21023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21024 $EGREP "yes" >/dev/null 2>&1
21025 then :
21026 ac_cv_cpp_def___powerpc64__=yes
21027 else $as_nop
21028 ac_cv_cpp_def___powerpc64__=no
21030 rm -rf conftest*
21033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21034 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21035 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21036 then :
21037 CFLAGS="$CFLAGS -D__powerpc64__"
21038 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21039 fi ;;
21040 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21041 printf %s "checking whether we need to define __powerpc__... " >&6; }
21042 if test ${ac_cv_cpp_def___powerpc__+y}
21043 then :
21044 printf %s "(cached) " >&6
21045 else $as_nop
21046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21047 /* end confdefs.h. */
21048 #ifndef __powerpc__
21050 #endif
21051 _ACEOF
21052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21053 $EGREP "yes" >/dev/null 2>&1
21054 then :
21055 ac_cv_cpp_def___powerpc__=yes
21056 else $as_nop
21057 ac_cv_cpp_def___powerpc__=no
21059 rm -rf conftest*
21062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21063 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21064 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21065 then :
21066 CFLAGS="$CFLAGS -D__powerpc__"
21067 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21068 fi ;;
21069 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21070 printf %s "checking whether we need to define __aarch64__... " >&6; }
21071 if test ${ac_cv_cpp_def___aarch64__+y}
21072 then :
21073 printf %s "(cached) " >&6
21074 else $as_nop
21075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21076 /* end confdefs.h. */
21077 #ifndef __aarch64__
21079 #endif
21080 _ACEOF
21081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21082 $EGREP "yes" >/dev/null 2>&1
21083 then :
21084 ac_cv_cpp_def___aarch64__=yes
21085 else $as_nop
21086 ac_cv_cpp_def___aarch64__=no
21088 rm -rf conftest*
21091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21092 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21093 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21094 then :
21095 CFLAGS="$CFLAGS -D__aarch64__"
21096 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21097 fi ;;
21098 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21099 printf %s "checking whether we need to define __arm__... " >&6; }
21100 if test ${ac_cv_cpp_def___arm__+y}
21101 then :
21102 printf %s "(cached) " >&6
21103 else $as_nop
21104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21105 /* end confdefs.h. */
21106 #ifndef __arm__
21108 #endif
21109 _ACEOF
21110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21111 $EGREP "yes" >/dev/null 2>&1
21112 then :
21113 ac_cv_cpp_def___arm__=yes
21114 else $as_nop
21115 ac_cv_cpp_def___arm__=no
21117 rm -rf conftest*
21120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21121 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21122 if test "x$ac_cv_cpp_def___arm__" = xyes
21123 then :
21124 CFLAGS="$CFLAGS -D__arm__"
21125 LINTFLAGS="$LINTFLAGS -D__arm__"
21126 fi ;;
21127 esac
21129 case $host_vendor in
21130 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21131 printf %s "checking whether we need to define __sun__... " >&6; }
21132 if test ${ac_cv_cpp_def___sun__+y}
21133 then :
21134 printf %s "(cached) " >&6
21135 else $as_nop
21136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21137 /* end confdefs.h. */
21138 #ifndef __sun__
21140 #endif
21141 _ACEOF
21142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21143 $EGREP "yes" >/dev/null 2>&1
21144 then :
21145 ac_cv_cpp_def___sun__=yes
21146 else $as_nop
21147 ac_cv_cpp_def___sun__=no
21149 rm -rf conftest*
21152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21153 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21154 if test "x$ac_cv_cpp_def___sun__" = xyes
21155 then :
21156 CFLAGS="$CFLAGS -D__sun__"
21157 LINTFLAGS="$LINTFLAGS -D__sun__"
21158 fi ;;
21159 esac
21165 ac_config_commands="$ac_config_commands include/stamp-h"
21167 printf %s "creating Makefile rules..." >&6
21169 makedep_flags=""
21170 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21172 wine_srcdir=
21173 test "$srcdir" = . || wine_srcdir="$srcdir/"
21175 ac_config_links="$ac_config_links wine:tools/winewrapper"
21176 wine_fn_config_symlink wine
21177 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21178 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21179 wine_fn_config_symlink wine64
21182 wine_fn_config_makefile dlls/acledit enable_acledit
21183 wine_fn_config_makefile dlls/aclui enable_aclui
21184 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21185 wine_fn_config_makefile dlls/activeds enable_activeds
21186 wine_fn_config_makefile dlls/activeds/tests enable_tests
21187 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21188 wine_fn_config_makefile dlls/adsldp enable_adsldp
21189 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21190 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21191 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21192 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21193 wine_fn_config_makefile dlls/advpack enable_advpack
21194 wine_fn_config_makefile dlls/advpack/tests enable_tests
21195 wine_fn_config_makefile dlls/amsi enable_amsi
21196 wine_fn_config_makefile dlls/amstream enable_amstream
21197 wine_fn_config_makefile dlls/amstream/tests enable_tests
21198 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21199 wine_fn_config_makefile dlls/apphelp enable_apphelp
21200 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21201 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21202 wine_fn_config_makefile dlls/atl enable_atl
21203 wine_fn_config_makefile dlls/atl/tests enable_tests
21204 wine_fn_config_makefile dlls/atl100 enable_atl100
21205 wine_fn_config_makefile dlls/atl100/tests enable_tests
21206 wine_fn_config_makefile dlls/atl110 enable_atl110
21207 wine_fn_config_makefile dlls/atl110/tests enable_tests
21208 wine_fn_config_makefile dlls/atl80 enable_atl80
21209 wine_fn_config_makefile dlls/atl80/tests enable_tests
21210 wine_fn_config_makefile dlls/atl90 enable_atl90
21211 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21212 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21213 wine_fn_config_makefile dlls/atmlib enable_atmlib
21214 wine_fn_config_makefile dlls/authz enable_authz
21215 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21216 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21217 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21218 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21219 wine_fn_config_makefile dlls/avrt enable_avrt
21220 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21221 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21222 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21223 wine_fn_config_makefile dlls/browseui enable_browseui
21224 wine_fn_config_makefile dlls/browseui/tests enable_tests
21225 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21226 wine_fn_config_makefile dlls/cabinet enable_cabinet
21227 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21228 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21229 wine_fn_config_makefile dlls/cards enable_cards
21230 wine_fn_config_makefile dlls/cdosys enable_cdosys
21231 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21232 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21233 wine_fn_config_makefile dlls/clusapi enable_clusapi
21234 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21235 wine_fn_config_makefile dlls/combase enable_combase
21236 wine_fn_config_makefile dlls/combase/tests enable_tests
21237 wine_fn_config_makefile dlls/comcat enable_comcat
21238 wine_fn_config_makefile dlls/comcat/tests enable_tests
21239 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21240 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21241 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21242 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21243 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21244 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21245 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21246 wine_fn_config_makefile dlls/compstui enable_compstui
21247 wine_fn_config_makefile dlls/compstui/tests enable_tests
21248 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21249 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21250 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21251 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21252 wine_fn_config_makefile dlls/connect enable_connect
21253 wine_fn_config_makefile dlls/credui enable_credui
21254 wine_fn_config_makefile dlls/credui/tests enable_tests
21255 wine_fn_config_makefile dlls/crtdll enable_crtdll
21256 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21257 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21258 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21259 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21260 wine_fn_config_makefile dlls/cryptext enable_cryptext
21261 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21262 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21263 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21264 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21265 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21266 wine_fn_config_makefile dlls/cryptui enable_cryptui
21267 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21268 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21269 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21270 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21271 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21272 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21273 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21274 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21275 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21276 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21277 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21278 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21279 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21280 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21281 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21282 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21283 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21284 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21285 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21286 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21287 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21288 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21289 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21290 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21291 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21292 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21293 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21294 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21295 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21296 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21297 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21298 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21299 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21300 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21301 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21302 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21303 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21304 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21305 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21306 wine_fn_config_makefile dlls/d3dim enable_d3dim
21307 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21308 wine_fn_config_makefile dlls/d3drm enable_d3drm
21309 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21310 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21311 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21312 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21313 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21314 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21315 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21316 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21317 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21318 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21319 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21320 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21321 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21322 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21323 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21324 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21325 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21326 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21327 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21328 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21329 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21330 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21331 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21332 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21333 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21334 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21335 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21336 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21337 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21338 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21339 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21340 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21341 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21342 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21343 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21344 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21345 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21346 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21347 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21348 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21349 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21350 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21351 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21352 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21353 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21354 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21355 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21356 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21357 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21358 wine_fn_config_makefile dlls/davclnt enable_davclnt
21359 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21360 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21361 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21362 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21363 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21364 wine_fn_config_makefile dlls/dcomp enable_dcomp
21365 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21366 wine_fn_config_makefile dlls/ddraw enable_ddraw
21367 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21368 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21369 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21370 wine_fn_config_makefile dlls/devenum enable_devenum
21371 wine_fn_config_makefile dlls/devenum/tests enable_tests
21372 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21373 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21374 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21375 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21376 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21377 wine_fn_config_makefile dlls/difxapi enable_difxapi
21378 wine_fn_config_makefile dlls/dinput enable_dinput
21379 wine_fn_config_makefile dlls/dinput/tests enable_tests
21380 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21381 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21382 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21383 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21384 wine_fn_config_makefile dlls/dispex enable_dispex
21385 wine_fn_config_makefile dlls/dispex/tests enable_tests
21386 wine_fn_config_makefile dlls/display.drv16 enable_win16
21387 wine_fn_config_makefile dlls/dmband enable_dmband
21388 wine_fn_config_makefile dlls/dmband/tests enable_tests
21389 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21390 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21391 wine_fn_config_makefile dlls/dmime enable_dmime
21392 wine_fn_config_makefile dlls/dmime/tests enable_tests
21393 wine_fn_config_makefile dlls/dmloader enable_dmloader
21394 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21395 wine_fn_config_makefile dlls/dmscript enable_dmscript
21396 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21397 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21398 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21399 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21400 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21401 wine_fn_config_makefile dlls/dmusic enable_dmusic
21402 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21403 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21404 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21405 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21406 wine_fn_config_makefile dlls/dplay enable_dplay
21407 wine_fn_config_makefile dlls/dplayx enable_dplayx
21408 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21409 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21410 wine_fn_config_makefile dlls/dpnet enable_dpnet
21411 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21412 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21413 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21414 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21415 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21416 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21417 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21418 wine_fn_config_makefile dlls/drmclien enable_drmclien
21419 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21420 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21421 wine_fn_config_makefile dlls/dsound enable_dsound
21422 wine_fn_config_makefile dlls/dsound/tests enable_tests
21423 wine_fn_config_makefile dlls/dsquery enable_dsquery
21424 wine_fn_config_makefile dlls/dssenh enable_dssenh
21425 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21426 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21427 wine_fn_config_makefile dlls/dswave enable_dswave
21428 wine_fn_config_makefile dlls/dswave/tests enable_tests
21429 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21430 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21431 wine_fn_config_makefile dlls/dwrite enable_dwrite
21432 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21433 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21434 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21435 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21436 wine_fn_config_makefile dlls/dxgi enable_dxgi
21437 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21438 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21439 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21440 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21441 wine_fn_config_makefile dlls/esent enable_esent
21442 wine_fn_config_makefile dlls/evr enable_evr
21443 wine_fn_config_makefile dlls/evr/tests enable_tests
21444 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21445 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21446 wine_fn_config_makefile dlls/faultrep enable_faultrep
21447 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21448 wine_fn_config_makefile dlls/feclient enable_feclient
21449 wine_fn_config_makefile dlls/fltlib enable_fltlib
21450 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21451 wine_fn_config_makefile dlls/fntcache enable_fntcache
21452 wine_fn_config_makefile dlls/fontsub enable_fontsub
21453 wine_fn_config_makefile dlls/fusion enable_fusion
21454 wine_fn_config_makefile dlls/fusion/tests enable_tests
21455 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21456 wine_fn_config_makefile dlls/gameux enable_gameux
21457 wine_fn_config_makefile dlls/gameux/tests enable_tests
21458 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21459 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21460 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21461 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21462 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21463 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21464 wine_fn_config_makefile dlls/glu32 enable_glu32
21465 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21466 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21467 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21468 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21469 wine_fn_config_makefile dlls/hal enable_hal
21470 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21471 wine_fn_config_makefile dlls/hid enable_hid
21472 wine_fn_config_makefile dlls/hid/tests enable_tests
21473 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21474 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21475 wine_fn_config_makefile dlls/hlink enable_hlink
21476 wine_fn_config_makefile dlls/hlink/tests enable_tests
21477 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21478 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21479 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21480 wine_fn_config_makefile dlls/http.sys enable_http_sys
21481 wine_fn_config_makefile dlls/httpapi enable_httpapi
21482 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21483 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21484 wine_fn_config_makefile dlls/iccvid enable_iccvid
21485 wine_fn_config_makefile dlls/icmp enable_icmp
21486 wine_fn_config_makefile dlls/ieframe enable_ieframe
21487 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21488 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21489 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21490 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21491 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21492 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21493 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21494 wine_fn_config_makefile dlls/imm32 enable_imm32
21495 wine_fn_config_makefile dlls/imm32/tests enable_tests
21496 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21497 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21498 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21499 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21500 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21501 wine_fn_config_makefile dlls/infosoft enable_infosoft
21502 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21503 wine_fn_config_makefile dlls/initpki enable_initpki
21504 wine_fn_config_makefile dlls/inkobj enable_inkobj
21505 wine_fn_config_makefile dlls/inseng enable_inseng
21506 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21507 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21508 wine_fn_config_makefile dlls/iprop enable_iprop
21509 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21510 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21511 wine_fn_config_makefile dlls/itircl enable_itircl
21512 wine_fn_config_makefile dlls/itss enable_itss
21513 wine_fn_config_makefile dlls/itss/tests enable_tests
21514 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21515 wine_fn_config_makefile dlls/jscript enable_jscript
21516 wine_fn_config_makefile dlls/jscript/tests enable_tests
21517 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21518 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21519 wine_fn_config_makefile dlls/kerberos enable_kerberos
21520 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21521 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21522 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21523 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21524 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21525 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21526 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21527 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21528 wine_fn_config_makefile dlls/ksuser enable_ksuser
21529 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21530 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21531 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21532 wine_fn_config_makefile dlls/loadperf enable_loadperf
21533 wine_fn_config_makefile dlls/localspl enable_localspl
21534 wine_fn_config_makefile dlls/localspl/tests enable_tests
21535 wine_fn_config_makefile dlls/localui enable_localui
21536 wine_fn_config_makefile dlls/localui/tests enable_tests
21537 wine_fn_config_makefile dlls/lz32 enable_lz32
21538 wine_fn_config_makefile dlls/lz32/tests enable_tests
21539 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21540 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21541 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21542 wine_fn_config_makefile dlls/mapistub enable_mapistub
21543 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21544 wine_fn_config_makefile dlls/mcicda enable_mcicda
21545 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21546 wine_fn_config_makefile dlls/mciseq enable_mciseq
21547 wine_fn_config_makefile dlls/mciwave enable_mciwave
21548 wine_fn_config_makefile dlls/mf enable_mf
21549 wine_fn_config_makefile dlls/mf/tests enable_tests
21550 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21551 wine_fn_config_makefile dlls/mferror enable_mferror
21552 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21553 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21554 wine_fn_config_makefile dlls/mfplat enable_mfplat
21555 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21556 wine_fn_config_makefile dlls/mfplay enable_mfplay
21557 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21558 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21559 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21560 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21561 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21562 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21563 wine_fn_config_makefile dlls/midimap enable_midimap
21564 wine_fn_config_makefile dlls/mlang enable_mlang
21565 wine_fn_config_makefile dlls/mlang/tests enable_tests
21566 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21567 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21568 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21569 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21570 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21571 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21572 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21573 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21574 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21575 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21576 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21577 wine_fn_config_makefile dlls/mpr enable_mpr
21578 wine_fn_config_makefile dlls/mpr/tests enable_tests
21579 wine_fn_config_makefile dlls/mprapi enable_mprapi
21580 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21581 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21582 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21583 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21584 wine_fn_config_makefile dlls/msado15 enable_msado15
21585 wine_fn_config_makefile dlls/msado15/tests enable_tests
21586 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21587 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21588 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21589 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21590 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21591 wine_fn_config_makefile dlls/mscms enable_mscms
21592 wine_fn_config_makefile dlls/mscms/tests enable_tests
21593 wine_fn_config_makefile dlls/mscoree enable_mscoree
21594 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21595 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21596 wine_fn_config_makefile dlls/msctf enable_msctf
21597 wine_fn_config_makefile dlls/msctf/tests enable_tests
21598 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21599 wine_fn_config_makefile dlls/msctfp enable_msctfp
21600 wine_fn_config_makefile dlls/msdaps enable_msdaps
21601 wine_fn_config_makefile dlls/msdasql enable_msdasql
21602 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21603 wine_fn_config_makefile dlls/msdelta enable_msdelta
21604 wine_fn_config_makefile dlls/msdmo enable_msdmo
21605 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21606 wine_fn_config_makefile dlls/msdrm enable_msdrm
21607 wine_fn_config_makefile dlls/msftedit enable_msftedit
21608 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21609 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21610 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21611 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21612 wine_fn_config_makefile dlls/mshtml enable_mshtml
21613 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21614 wine_fn_config_makefile dlls/msi enable_msi
21615 wine_fn_config_makefile dlls/msi/tests enable_tests
21616 wine_fn_config_makefile dlls/msident enable_msident
21617 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21618 wine_fn_config_makefile dlls/msimsg enable_msimsg
21619 wine_fn_config_makefile dlls/msimtf enable_msimtf
21620 wine_fn_config_makefile dlls/msisip enable_msisip
21621 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21622 wine_fn_config_makefile dlls/msls31 enable_msls31
21623 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21624 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21625 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21626 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21627 wine_fn_config_makefile dlls/msports enable_msports
21628 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21629 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21630 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21631 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21632 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21633 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21634 wine_fn_config_makefile dlls/mstask enable_mstask
21635 wine_fn_config_makefile dlls/mstask/tests enable_tests
21636 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21637 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21638 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21639 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21640 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21641 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21642 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21643 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21644 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21645 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21646 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21647 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21648 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21649 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21650 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21651 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21652 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21653 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21654 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21655 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21656 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21657 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21658 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21659 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21660 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21661 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21662 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21663 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21664 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21665 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21666 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21667 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21668 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21669 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21670 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21671 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21672 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21673 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21674 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21675 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21676 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21677 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21678 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21679 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21680 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21681 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21682 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21683 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21684 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21685 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21686 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21687 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21688 wine_fn_config_makefile dlls/mswsock enable_mswsock
21689 wine_fn_config_makefile dlls/msxml enable_msxml
21690 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21691 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21692 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21693 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21694 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21695 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21696 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21697 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21698 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21699 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21700 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21701 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21702 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21703 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21704 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21705 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21706 wine_fn_config_makefile dlls/netprofm enable_netprofm
21707 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21708 wine_fn_config_makefile dlls/netutils enable_netutils
21709 wine_fn_config_makefile dlls/newdev enable_newdev
21710 wine_fn_config_makefile dlls/ninput enable_ninput
21711 wine_fn_config_makefile dlls/ninput/tests enable_tests
21712 wine_fn_config_makefile dlls/normaliz enable_normaliz
21713 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21714 wine_fn_config_makefile dlls/npptools enable_npptools
21715 wine_fn_config_makefile dlls/nsi enable_nsi
21716 wine_fn_config_makefile dlls/nsi/tests enable_tests
21717 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21718 wine_fn_config_makefile dlls/ntdll enable_ntdll
21719 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21720 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21721 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21722 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21723 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21724 wine_fn_config_makefile dlls/ntprint enable_ntprint
21725 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21726 wine_fn_config_makefile dlls/objsel enable_objsel
21727 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21728 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21729 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21730 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21731 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21732 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21733 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21734 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21735 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21736 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21737 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21738 wine_fn_config_makefile dlls/ole32 enable_ole32
21739 wine_fn_config_makefile dlls/ole32/tests enable_tests
21740 wine_fn_config_makefile dlls/oleacc enable_oleacc
21741 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21742 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21743 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21744 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21745 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21746 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21747 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21748 wine_fn_config_makefile dlls/oledlg enable_oledlg
21749 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21750 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21751 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21752 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21753 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21754 wine_fn_config_makefile dlls/opcservices enable_opcservices
21755 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21756 wine_fn_config_makefile dlls/opencl enable_opencl
21757 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21758 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21759 wine_fn_config_makefile dlls/packager enable_packager
21760 wine_fn_config_makefile dlls/packager/tests enable_tests
21761 wine_fn_config_makefile dlls/pdh enable_pdh
21762 wine_fn_config_makefile dlls/pdh/tests enable_tests
21763 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21764 wine_fn_config_makefile dlls/pidgen enable_pidgen
21765 wine_fn_config_makefile dlls/powrprof enable_powrprof
21766 wine_fn_config_makefile dlls/printui enable_printui
21767 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21768 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21769 wine_fn_config_makefile dlls/propsys enable_propsys
21770 wine_fn_config_makefile dlls/propsys/tests enable_tests
21771 wine_fn_config_makefile dlls/psapi enable_psapi
21772 wine_fn_config_makefile dlls/psapi/tests enable_tests
21773 wine_fn_config_makefile dlls/pstorec enable_pstorec
21774 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21775 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21776 wine_fn_config_makefile dlls/qasf enable_qasf
21777 wine_fn_config_makefile dlls/qasf/tests enable_tests
21778 wine_fn_config_makefile dlls/qcap enable_qcap
21779 wine_fn_config_makefile dlls/qcap/tests enable_tests
21780 wine_fn_config_makefile dlls/qdvd enable_qdvd
21781 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21782 wine_fn_config_makefile dlls/qedit enable_qedit
21783 wine_fn_config_makefile dlls/qedit/tests enable_tests
21784 wine_fn_config_makefile dlls/qmgr enable_qmgr
21785 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21786 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21787 wine_fn_config_makefile dlls/quartz enable_quartz
21788 wine_fn_config_makefile dlls/quartz/tests enable_tests
21789 wine_fn_config_makefile dlls/query enable_query
21790 wine_fn_config_makefile dlls/qwave enable_qwave
21791 wine_fn_config_makefile dlls/qwave/tests enable_tests
21792 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21793 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21794 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21795 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21796 wine_fn_config_makefile dlls/regapi enable_regapi
21797 wine_fn_config_makefile dlls/resutils enable_resutils
21798 wine_fn_config_makefile dlls/riched20 enable_riched20
21799 wine_fn_config_makefile dlls/riched20/tests enable_tests
21800 wine_fn_config_makefile dlls/riched32 enable_riched32
21801 wine_fn_config_makefile dlls/riched32/tests enable_tests
21802 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21803 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21804 wine_fn_config_makefile dlls/rsabase enable_rsabase
21805 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21806 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21807 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21808 wine_fn_config_makefile dlls/rtutils enable_rtutils
21809 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21810 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21811 wine_fn_config_makefile dlls/samlib enable_samlib
21812 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21813 wine_fn_config_makefile dlls/sapi enable_sapi
21814 wine_fn_config_makefile dlls/sapi/tests enable_tests
21815 wine_fn_config_makefile dlls/sas enable_sas
21816 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21817 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21818 wine_fn_config_makefile dlls/sccbase enable_sccbase
21819 wine_fn_config_makefile dlls/schannel enable_schannel
21820 wine_fn_config_makefile dlls/schannel/tests enable_tests
21821 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21822 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21823 wine_fn_config_makefile dlls/scrobj enable_scrobj
21824 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21825 wine_fn_config_makefile dlls/scrrun enable_scrrun
21826 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21827 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21828 wine_fn_config_makefile dlls/sechost enable_sechost
21829 wine_fn_config_makefile dlls/secur32 enable_secur32
21830 wine_fn_config_makefile dlls/secur32/tests enable_tests
21831 wine_fn_config_makefile dlls/security enable_security
21832 wine_fn_config_makefile dlls/sensapi enable_sensapi
21833 wine_fn_config_makefile dlls/serialui enable_serialui
21834 wine_fn_config_makefile dlls/serialui/tests enable_tests
21835 wine_fn_config_makefile dlls/setupapi enable_setupapi
21836 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21837 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21838 wine_fn_config_makefile dlls/sfc enable_sfc
21839 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21840 wine_fn_config_makefile dlls/shcore enable_shcore
21841 wine_fn_config_makefile dlls/shcore/tests enable_tests
21842 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21843 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21844 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21845 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21846 wine_fn_config_makefile dlls/shell32 enable_shell32
21847 wine_fn_config_makefile dlls/shell32/tests enable_tests
21848 wine_fn_config_makefile dlls/shfolder enable_shfolder
21849 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21850 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21851 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21852 wine_fn_config_makefile dlls/slc enable_slc
21853 wine_fn_config_makefile dlls/slc/tests enable_tests
21854 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21855 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21856 wine_fn_config_makefile dlls/softpub enable_softpub
21857 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21858 wine_fn_config_makefile dlls/spoolss enable_spoolss
21859 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21860 wine_fn_config_makefile dlls/sppc enable_sppc
21861 wine_fn_config_makefile dlls/srclient enable_srclient
21862 wine_fn_config_makefile dlls/srvcli enable_srvcli
21863 wine_fn_config_makefile dlls/sspicli enable_sspicli
21864 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21865 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21866 wine_fn_config_makefile dlls/sti enable_sti
21867 wine_fn_config_makefile dlls/sti/tests enable_tests
21868 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21869 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21870 wine_fn_config_makefile dlls/strmdll enable_strmdll
21871 wine_fn_config_makefile dlls/svrapi enable_svrapi
21872 wine_fn_config_makefile dlls/sxs enable_sxs
21873 wine_fn_config_makefile dlls/sxs/tests enable_tests
21874 wine_fn_config_makefile dlls/system.drv16 enable_win16
21875 wine_fn_config_makefile dlls/t2embed enable_t2embed
21876 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21877 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21878 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21879 wine_fn_config_makefile dlls/taskschd enable_taskschd
21880 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21881 wine_fn_config_makefile dlls/tbs enable_tbs
21882 wine_fn_config_makefile dlls/tdh enable_tdh
21883 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21884 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21885 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21886 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21887 wine_fn_config_makefile dlls/traffic enable_traffic
21888 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21889 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21890 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21891 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21892 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21893 wine_fn_config_makefile dlls/tzres enable_tzres
21894 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21895 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21896 wine_fn_config_makefile dlls/uianimation enable_uianimation
21897 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21898 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21899 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21900 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21901 wine_fn_config_makefile dlls/unicows enable_unicows
21902 wine_fn_config_makefile dlls/updspapi enable_updspapi
21903 wine_fn_config_makefile dlls/url enable_url
21904 wine_fn_config_makefile dlls/urlmon enable_urlmon
21905 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21906 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21907 wine_fn_config_makefile dlls/user.exe16 enable_win16
21908 wine_fn_config_makefile dlls/user32 enable_user32
21909 wine_fn_config_makefile dlls/user32/tests enable_tests
21910 wine_fn_config_makefile dlls/userenv enable_userenv
21911 wine_fn_config_makefile dlls/userenv/tests enable_tests
21912 wine_fn_config_makefile dlls/usp10 enable_usp10
21913 wine_fn_config_makefile dlls/usp10/tests enable_tests
21914 wine_fn_config_makefile dlls/utildll enable_utildll
21915 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21916 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21917 wine_fn_config_makefile dlls/vbscript enable_vbscript
21918 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21919 wine_fn_config_makefile dlls/vcomp enable_vcomp
21920 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21921 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21922 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21923 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21924 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21925 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21926 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21927 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21928 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21929 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21930 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21931 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21932 wine_fn_config_makefile dlls/version enable_version
21933 wine_fn_config_makefile dlls/version/tests enable_tests
21934 wine_fn_config_makefile dlls/vga enable_vga
21935 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21936 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21937 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21938 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21939 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21940 wine_fn_config_makefile dlls/vssapi enable_vssapi
21941 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21942 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21943 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21944 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21945 wine_fn_config_makefile dlls/w32skrnl enable_win16
21946 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21947 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21948 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21949 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21950 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21951 wine_fn_config_makefile dlls/wdscore enable_wdscore
21952 wine_fn_config_makefile dlls/webservices enable_webservices
21953 wine_fn_config_makefile dlls/webservices/tests enable_tests
21954 wine_fn_config_makefile dlls/websocket enable_websocket
21955 wine_fn_config_makefile dlls/wer enable_wer
21956 wine_fn_config_makefile dlls/wer/tests enable_tests
21957 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21958 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21959 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21960 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21961 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21962 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21963 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21964 wine_fn_config_makefile dlls/win32u enable_win32u
21965 wine_fn_config_makefile dlls/win32u/tests enable_tests
21966 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21967 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21968 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21969 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21970 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21971 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21972 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21973 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21974 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21975 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21976 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21977 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21978 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21979 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21980 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21981 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21982 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21983 wine_fn_config_makefile dlls/windows.media enable_windows_media
21984 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21985 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21986 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21987 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21988 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21989 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21990 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21991 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21992 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21993 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21994 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21995 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21996 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21997 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21998 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21999 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22000 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22001 wine_fn_config_makefile dlls/wined3d enable_wined3d
22002 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22003 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22004 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22005 wine_fn_config_makefile dlls/winemapi enable_winemapi
22006 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22007 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22008 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22009 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22010 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22011 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22012 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22013 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22014 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22015 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22016 wine_fn_config_makefile dlls/wing32 enable_wing32
22017 wine_fn_config_makefile dlls/winhttp enable_winhttp
22018 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22019 wine_fn_config_makefile dlls/wininet enable_wininet
22020 wine_fn_config_makefile dlls/wininet/tests enable_tests
22021 wine_fn_config_makefile dlls/winmm enable_winmm
22022 wine_fn_config_makefile dlls/winmm/tests enable_tests
22023 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22024 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22025 wine_fn_config_makefile dlls/winprint enable_winprint
22026 wine_fn_config_makefile dlls/winscard enable_winscard
22027 wine_fn_config_makefile dlls/winscard/tests enable_tests
22028 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22029 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22030 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22031 wine_fn_config_makefile dlls/winsta enable_winsta
22032 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22033 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22034 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22035 wine_fn_config_makefile dlls/wintrust enable_wintrust
22036 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22037 wine_fn_config_makefile dlls/wintypes enable_wintypes
22038 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22039 wine_fn_config_makefile dlls/winusb enable_winusb
22040 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22041 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22042 wine_fn_config_makefile dlls/wlanui enable_wlanui
22043 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22044 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22045 wine_fn_config_makefile dlls/wmasf enable_wmasf
22046 wine_fn_config_makefile dlls/wmi enable_wmi
22047 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22048 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22049 wine_fn_config_makefile dlls/wmp enable_wmp
22050 wine_fn_config_makefile dlls/wmp/tests enable_tests
22051 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22052 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22053 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22054 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22055 wine_fn_config_makefile dlls/wofutil enable_wofutil
22056 wine_fn_config_makefile dlls/wow32 enable_win16
22057 wine_fn_config_makefile dlls/wow64 enable_wow64
22058 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22059 wine_fn_config_makefile dlls/wow64win enable_wow64win
22060 wine_fn_config_makefile dlls/wpc enable_wpc
22061 wine_fn_config_makefile dlls/wpc/tests enable_tests
22062 wine_fn_config_makefile dlls/wpcap enable_wpcap
22063 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22064 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22065 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22066 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22067 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22068 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22069 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22070 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22071 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22072 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22073 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22074 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22075 wine_fn_config_makefile dlls/wuapi enable_wuapi
22076 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22077 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22078 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22079 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22080 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22081 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22082 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22083 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22084 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22085 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22086 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22087 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22088 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22089 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22090 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22091 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22092 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22093 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22094 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22095 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22096 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22097 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22098 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22099 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22100 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22101 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22102 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22103 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22104 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22105 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22106 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22107 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22108 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22109 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22110 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22111 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22112 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22113 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22114 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22115 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22116 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22117 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22118 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22119 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22120 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22121 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22122 wine_fn_config_makefile dlls/xmllite enable_xmllite
22123 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22124 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22125 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22126 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22127 wine_fn_config_makefile fonts enable_fonts
22128 wine_fn_config_makefile include enable_include
22129 wine_fn_config_makefile libs/adsiid enable_adsiid
22130 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22131 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22132 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22133 wine_fn_config_makefile libs/dxguid enable_dxguid
22134 wine_fn_config_makefile libs/faudio enable_faudio
22135 wine_fn_config_makefile libs/gsm enable_gsm
22136 wine_fn_config_makefile libs/jpeg enable_jpeg
22137 wine_fn_config_makefile libs/jxr enable_jxr
22138 wine_fn_config_makefile libs/lcms2 enable_lcms2
22139 wine_fn_config_makefile libs/ldap enable_ldap
22140 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22141 wine_fn_config_makefile libs/mpg123 enable_mpg123
22142 wine_fn_config_makefile libs/musl enable_musl
22143 wine_fn_config_makefile libs/png enable_png
22144 wine_fn_config_makefile libs/strmbase enable_strmbase
22145 wine_fn_config_makefile libs/strmiids enable_strmiids
22146 wine_fn_config_makefile libs/tiff enable_tiff
22147 wine_fn_config_makefile libs/uuid enable_uuid
22148 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22149 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22150 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22151 wine_fn_config_makefile libs/xml2 enable_xml2
22152 wine_fn_config_makefile libs/xslt enable_xslt
22153 wine_fn_config_makefile libs/zlib enable_zlib
22154 wine_fn_config_makefile libs/zydis enable_zydis
22155 wine_fn_config_makefile loader enable_loader
22156 wine_fn_config_makefile nls enable_nls
22157 wine_fn_config_makefile po enable_po
22158 wine_fn_config_makefile programs/arp enable_arp
22159 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22160 wine_fn_config_makefile programs/attrib enable_attrib
22161 wine_fn_config_makefile programs/cabarc enable_cabarc
22162 wine_fn_config_makefile programs/cacls enable_cacls
22163 wine_fn_config_makefile programs/certutil enable_certutil
22164 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22165 wine_fn_config_makefile programs/clock enable_clock
22166 wine_fn_config_makefile programs/cmd enable_cmd
22167 wine_fn_config_makefile programs/cmd/tests enable_tests
22168 wine_fn_config_makefile programs/conhost enable_conhost
22169 wine_fn_config_makefile programs/conhost/tests enable_tests
22170 wine_fn_config_makefile programs/control enable_control
22171 wine_fn_config_makefile programs/cscript enable_cscript
22172 wine_fn_config_makefile programs/dism enable_dism
22173 wine_fn_config_makefile programs/dllhost enable_dllhost
22174 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22175 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22176 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22177 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22178 wine_fn_config_makefile programs/eject enable_eject
22179 wine_fn_config_makefile programs/expand enable_expand
22180 wine_fn_config_makefile programs/explorer enable_explorer
22181 wine_fn_config_makefile programs/explorer/tests enable_tests
22182 wine_fn_config_makefile programs/extrac32 enable_extrac32
22183 wine_fn_config_makefile programs/fc enable_fc
22184 wine_fn_config_makefile programs/find enable_find
22185 wine_fn_config_makefile programs/find/tests enable_tests
22186 wine_fn_config_makefile programs/findstr enable_findstr
22187 wine_fn_config_makefile programs/findstr/tests enable_tests
22188 wine_fn_config_makefile programs/fsutil enable_fsutil
22189 wine_fn_config_makefile programs/fsutil/tests enable_tests
22190 wine_fn_config_makefile programs/hh enable_hh
22191 wine_fn_config_makefile programs/hostname enable_hostname
22192 wine_fn_config_makefile programs/icacls enable_icacls
22193 wine_fn_config_makefile programs/icinfo enable_icinfo
22194 wine_fn_config_makefile programs/iexplore enable_iexplore
22195 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22196 wine_fn_config_makefile programs/lodctr enable_lodctr
22197 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22198 wine_fn_config_makefile programs/mshta enable_mshta
22199 wine_fn_config_makefile programs/msidb enable_msidb
22200 wine_fn_config_makefile programs/msiexec enable_msiexec
22201 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22202 wine_fn_config_makefile programs/net enable_net
22203 wine_fn_config_makefile programs/netsh enable_netsh
22204 wine_fn_config_makefile programs/netstat enable_netstat
22205 wine_fn_config_makefile programs/ngen enable_ngen
22206 wine_fn_config_makefile programs/notepad enable_notepad
22207 wine_fn_config_makefile programs/oleview enable_oleview
22208 wine_fn_config_makefile programs/ping enable_ping
22209 wine_fn_config_makefile programs/plugplay enable_plugplay
22210 wine_fn_config_makefile programs/pnputil enable_pnputil
22211 wine_fn_config_makefile programs/powershell enable_powershell
22212 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22213 wine_fn_config_makefile programs/progman enable_progman
22214 wine_fn_config_makefile programs/reg enable_reg
22215 wine_fn_config_makefile programs/reg/tests enable_tests
22216 wine_fn_config_makefile programs/regasm enable_regasm
22217 wine_fn_config_makefile programs/regedit enable_regedit
22218 wine_fn_config_makefile programs/regedit/tests enable_tests
22219 wine_fn_config_makefile programs/regini enable_regini
22220 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22221 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22222 wine_fn_config_makefile programs/robocopy enable_robocopy
22223 wine_fn_config_makefile programs/rpcss enable_rpcss
22224 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22225 wine_fn_config_makefile programs/rundll32 enable_rundll32
22226 wine_fn_config_makefile programs/sc enable_sc
22227 wine_fn_config_makefile programs/sc/tests enable_tests
22228 wine_fn_config_makefile programs/schtasks enable_schtasks
22229 wine_fn_config_makefile programs/schtasks/tests enable_tests
22230 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22231 wine_fn_config_makefile programs/secedit enable_secedit
22232 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22233 wine_fn_config_makefile programs/services enable_services
22234 wine_fn_config_makefile programs/services/tests enable_tests
22235 wine_fn_config_makefile programs/setx enable_setx
22236 wine_fn_config_makefile programs/shutdown enable_shutdown
22237 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22238 wine_fn_config_makefile programs/start enable_start
22239 wine_fn_config_makefile programs/subst enable_subst
22240 wine_fn_config_makefile programs/svchost enable_svchost
22241 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22242 wine_fn_config_makefile programs/taskkill enable_taskkill
22243 wine_fn_config_makefile programs/tasklist enable_tasklist
22244 wine_fn_config_makefile programs/tasklist/tests enable_tests
22245 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22246 wine_fn_config_makefile programs/termsv enable_termsv
22247 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22248 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22249 wine_fn_config_makefile programs/view enable_view
22250 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22251 wine_fn_config_makefile programs/where enable_where
22252 wine_fn_config_makefile programs/whoami enable_whoami
22253 wine_fn_config_makefile programs/wineboot enable_wineboot
22254 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22255 wine_fn_config_makefile programs/winecfg enable_winecfg
22256 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22257 wine_fn_config_makefile programs/winedbg enable_winedbg
22258 wine_fn_config_makefile programs/winedevice enable_winedevice
22259 wine_fn_config_makefile programs/winefile enable_winefile
22260 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22261 wine_fn_config_makefile programs/winemine enable_winemine
22262 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22263 wine_fn_config_makefile programs/winepath enable_winepath
22264 wine_fn_config_makefile programs/winetest enable_winetest
22265 wine_fn_config_makefile programs/winevdm enable_win16
22266 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22267 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22268 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22269 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22270 wine_fn_config_makefile programs/winver enable_winver
22271 wine_fn_config_makefile programs/wmic enable_wmic
22272 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22273 wine_fn_config_makefile programs/wordpad enable_wordpad
22274 wine_fn_config_makefile programs/write enable_write
22275 wine_fn_config_makefile programs/wscript enable_wscript
22276 wine_fn_config_makefile programs/wscript/tests enable_tests
22277 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22278 wine_fn_config_makefile programs/wusa enable_wusa
22279 wine_fn_config_makefile programs/xcopy enable_xcopy
22280 wine_fn_config_makefile programs/xcopy/tests enable_tests
22281 wine_fn_config_makefile server enable_server
22282 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22283 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22284 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22285 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22286 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22287 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22288 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22289 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22290 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22293 as_fn_append CONFIGURE_TARGETS " TAGS"
22294 as_fn_append CONFIGURE_TARGETS " tags"
22295 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22296 as_fn_append CONFIGURE_TARGETS " config.log"
22297 as_fn_append CONFIGURE_TARGETS " config.status"
22298 as_fn_append CONFIGURE_TARGETS " include/config.h"
22299 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22300 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22302 if test "x$enable_tools" != xno
22303 then
22304 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22305 ac_config_commands="$ac_config_commands tools/makedep"
22309 ac_config_commands="$ac_config_commands Makefile"
22313 SHELL=/bin/sh
22316 as_fn_append wine_rules "
22317 all: wine
22318 @echo \"Wine build complete.\"
22319 .INIT: Makefile
22320 .MAKEFILEDEPS:
22321 all: Makefile
22322 Makefile: config.status \$(MAKEDEP)
22323 @./config.status Makefile
22324 depend: \$(MAKEDEP)
22325 \$(MAKEDEP)$makedep_flags"
22328 as_fn_append wine_rules "
22329 config.status: ${wine_srcdir}configure
22330 @./config.status --recheck
22331 include/config.h: include/stamp-h
22332 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22333 @./config.status include/config.h include/stamp-h"
22335 if test "x$enable_maintainer_mode" = xyes
22336 then
22337 as_fn_append wine_rules "
22338 configure: configure.ac aclocal.m4
22339 autoconf --warnings=all
22340 include/config.h.in: include/stamp-h.in
22341 include/stamp-h.in: configure.ac aclocal.m4
22342 autoheader --warnings=all
22343 @echo timestamp > \$@"
22346 if test "x$enable_tools" != xno
22347 then
22348 as_fn_append wine_rules "
22349 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22350 @./config.status tools/makedep
22351 Makefile: tools/makedep$ac_exeext"
22352 else
22353 as_fn_append wine_rules "
22354 \$(MAKEDEP):
22355 @echo \"You need to run make in $toolsdir first\" && false"
22359 if test -n "$with_wine64"
22360 then
22361 case "$with_wine64" in
22362 /*) reldir="" ;;
22363 *) reldir="../" ;;
22364 esac
22365 rm -f fonts server 2>/dev/null
22366 as_fn_append wine_rules "
22367 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22368 loader/wine64 loader/wine64-preloader:
22369 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22370 $with_wine64/loader/wine:
22371 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22372 $with_wine64/loader/wine-preloader:
22373 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22374 clean::
22375 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22376 else
22377 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22378 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22379 fonts \
22380 loader/wine.inf \
22381 nls \
22382 programs/msidb/msidb \
22383 programs/msiexec/msiexec \
22384 programs/notepad/notepad \
22385 programs/regedit/regedit \
22386 programs/regsvr32/regsvr32 \
22387 programs/wineboot/wineboot \
22388 programs/winecfg/winecfg \
22389 programs/wineconsole/wineconsole \
22390 programs/winedbg/winedbg \
22391 programs/winefile/winefile \
22392 programs/winemine/winemine \
22393 programs/winepath/winepath \
22394 server/wineserver"
22396 case $host_os in
22397 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22398 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22399 esac
22403 as_fn_append wine_rules "
22404 distclean:: clean
22405 rm -rf autom4te.cache
22406 maintainer-clean::
22407 rm -f configure include/config.h.in"
22410 as_fn_append wine_rules "
22411 dlls/ntdll/unix/version.c: dummy
22412 @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)
22413 programs/winetest/build.rc: dummy
22414 @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)
22415 programs/winetest/build.nfo:
22416 @-\$(CC) -v 2>\$@
22417 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
22418 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22419 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22422 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22424 as_fn_append wine_rules "
22425 TAGS etags:
22426 rm -f TAGS
22427 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22428 tags ctags:
22429 rm -f tags
22430 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22431 dummy:
22432 .PHONY: depend dummy install-manpages"
22434 printf "%s\n" " done" >&6
22435 cat >confcache <<\_ACEOF
22436 # This file is a shell script that caches the results of configure
22437 # tests run on this system so they can be shared between configure
22438 # scripts and configure runs, see configure's option --config-cache.
22439 # It is not useful on other systems. If it contains results you don't
22440 # want to keep, you may remove or edit it.
22442 # config.status only pays attention to the cache file if you give it
22443 # the --recheck option to rerun configure.
22445 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22446 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22447 # following values.
22449 _ACEOF
22451 # The following way of writing the cache mishandles newlines in values,
22452 # but we know of no workaround that is simple, portable, and efficient.
22453 # So, we kill variables containing newlines.
22454 # Ultrix sh set writes to stderr and can't be redirected directly,
22455 # and sets the high bit in the cache file unless we assign to the vars.
22457 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22458 eval ac_val=\$$ac_var
22459 case $ac_val in #(
22460 *${as_nl}*)
22461 case $ac_var in #(
22462 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22463 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22464 esac
22465 case $ac_var in #(
22466 _ | IFS | as_nl) ;; #(
22467 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22468 *) { eval $ac_var=; unset $ac_var;} ;;
22469 esac ;;
22470 esac
22471 done
22473 (set) 2>&1 |
22474 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22475 *${as_nl}ac_space=\ *)
22476 # `set' does not quote correctly, so add quotes: double-quote
22477 # substitution turns \\\\ into \\, and sed turns \\ into \.
22478 sed -n \
22479 "s/'/'\\\\''/g;
22480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22481 ;; #(
22483 # `set' quotes correctly as required by POSIX, so do not add quotes.
22484 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22486 esac |
22487 sort
22489 sed '
22490 /^ac_cv_env_/b end
22491 t clear
22492 :clear
22493 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22494 t end
22495 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22496 :end' >>confcache
22497 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22498 if test -w "$cache_file"; then
22499 if test "x$cache_file" != "x/dev/null"; then
22500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22501 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22502 if test ! -f "$cache_file" || test -h "$cache_file"; then
22503 cat confcache >"$cache_file"
22504 else
22505 case $cache_file in #(
22506 */* | ?:*)
22507 mv -f confcache "$cache_file"$$ &&
22508 mv -f "$cache_file"$$ "$cache_file" ;; #(
22510 mv -f confcache "$cache_file" ;;
22511 esac
22514 else
22515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22516 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22519 rm -f confcache
22521 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22522 # Let make expand exec_prefix.
22523 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22525 DEFS=-DHAVE_CONFIG_H
22527 ac_libobjs=
22528 ac_ltlibobjs=
22530 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22531 # 1. Remove the extension, and $U if already installed.
22532 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22533 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22534 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22535 # will be set to the directory where LIBOBJS objects are built.
22536 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22537 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22538 done
22539 LIBOBJS=$ac_libobjs
22541 LTLIBOBJS=$ac_ltlibobjs
22545 : "${CONFIG_STATUS=./config.status}"
22546 ac_write_fail=0
22547 ac_clean_files_save=$ac_clean_files
22548 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22550 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22551 as_write_fail=0
22552 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22553 #! $SHELL
22554 # Generated by $as_me.
22555 # Run this file to recreate the current configuration.
22556 # Compiler output produced by configure, useful for debugging
22557 # configure, is in config.log if it exists.
22559 debug=false
22560 ac_cs_recheck=false
22561 ac_cs_silent=false
22563 SHELL=\${CONFIG_SHELL-$SHELL}
22564 export SHELL
22565 _ASEOF
22566 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22567 ## -------------------- ##
22568 ## M4sh Initialization. ##
22569 ## -------------------- ##
22571 # Be more Bourne compatible
22572 DUALCASE=1; export DUALCASE # for MKS sh
22573 as_nop=:
22574 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22575 then :
22576 emulate sh
22577 NULLCMD=:
22578 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22579 # is contrary to our usage. Disable this feature.
22580 alias -g '${1+"$@"}'='"$@"'
22581 setopt NO_GLOB_SUBST
22582 else $as_nop
22583 case `(set -o) 2>/dev/null` in #(
22584 *posix*) :
22585 set -o posix ;; #(
22586 *) :
22588 esac
22593 # Reset variables that may have inherited troublesome values from
22594 # the environment.
22596 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22597 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22598 # side effect of setting IFS to empty, thus disabling word splitting.)
22599 # Quoting is to prevent editors from complaining about space-tab.
22600 as_nl='
22602 export as_nl
22603 IFS=" "" $as_nl"
22605 PS1='$ '
22606 PS2='> '
22607 PS4='+ '
22609 # Ensure predictable behavior from utilities with locale-dependent output.
22610 LC_ALL=C
22611 export LC_ALL
22612 LANGUAGE=C
22613 export LANGUAGE
22615 # We cannot yet rely on "unset" to work, but we need these variables
22616 # to be unset--not just set to an empty or harmless value--now, to
22617 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22618 # also avoids known problems related to "unset" and subshell syntax
22619 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22620 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22621 do eval test \${$as_var+y} \
22622 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22623 done
22625 # Ensure that fds 0, 1, and 2 are open.
22626 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22627 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22628 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22630 # The user is always right.
22631 if ${PATH_SEPARATOR+false} :; then
22632 PATH_SEPARATOR=:
22633 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22634 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22635 PATH_SEPARATOR=';'
22640 # Find who we are. Look in the path if we contain no directory separator.
22641 as_myself=
22642 case $0 in #((
22643 *[\\/]* ) as_myself=$0 ;;
22644 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22645 for as_dir in $PATH
22647 IFS=$as_save_IFS
22648 case $as_dir in #(((
22649 '') as_dir=./ ;;
22650 */) ;;
22651 *) as_dir=$as_dir/ ;;
22652 esac
22653 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22654 done
22655 IFS=$as_save_IFS
22658 esac
22659 # We did not find ourselves, most probably we were run as `sh COMMAND'
22660 # in which case we are not to be found in the path.
22661 if test "x$as_myself" = x; then
22662 as_myself=$0
22664 if test ! -f "$as_myself"; then
22665 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22666 exit 1
22671 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22672 # ----------------------------------------
22673 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22674 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22675 # script with STATUS, using 1 if that was 0.
22676 as_fn_error ()
22678 as_status=$1; test $as_status -eq 0 && as_status=1
22679 if test "$4"; then
22680 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22683 printf "%s\n" "$as_me: error: $2" >&2
22684 as_fn_exit $as_status
22685 } # as_fn_error
22689 # as_fn_set_status STATUS
22690 # -----------------------
22691 # Set $? to STATUS, without forking.
22692 as_fn_set_status ()
22694 return $1
22695 } # as_fn_set_status
22697 # as_fn_exit STATUS
22698 # -----------------
22699 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22700 as_fn_exit ()
22702 set +e
22703 as_fn_set_status $1
22704 exit $1
22705 } # as_fn_exit
22707 # as_fn_unset VAR
22708 # ---------------
22709 # Portably unset VAR.
22710 as_fn_unset ()
22712 { eval $1=; unset $1;}
22714 as_unset=as_fn_unset
22716 # as_fn_append VAR VALUE
22717 # ----------------------
22718 # Append the text in VALUE to the end of the definition contained in VAR. Take
22719 # advantage of any shell optimizations that allow amortized linear growth over
22720 # repeated appends, instead of the typical quadratic growth present in naive
22721 # implementations.
22722 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22723 then :
22724 eval 'as_fn_append ()
22726 eval $1+=\$2
22728 else $as_nop
22729 as_fn_append ()
22731 eval $1=\$$1\$2
22733 fi # as_fn_append
22735 # as_fn_arith ARG...
22736 # ------------------
22737 # Perform arithmetic evaluation on the ARGs, and store the result in the
22738 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22739 # must be portable across $(()) and expr.
22740 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22741 then :
22742 eval 'as_fn_arith ()
22744 as_val=$(( $* ))
22746 else $as_nop
22747 as_fn_arith ()
22749 as_val=`expr "$@" || test $? -eq 1`
22751 fi # as_fn_arith
22754 if expr a : '\(a\)' >/dev/null 2>&1 &&
22755 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22756 as_expr=expr
22757 else
22758 as_expr=false
22761 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22762 as_basename=basename
22763 else
22764 as_basename=false
22767 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22768 as_dirname=dirname
22769 else
22770 as_dirname=false
22773 as_me=`$as_basename -- "$0" ||
22774 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22775 X"$0" : 'X\(//\)$' \| \
22776 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22777 printf "%s\n" X/"$0" |
22778 sed '/^.*\/\([^/][^/]*\)\/*$/{
22779 s//\1/
22782 /^X\/\(\/\/\)$/{
22783 s//\1/
22786 /^X\/\(\/\).*/{
22787 s//\1/
22790 s/.*/./; q'`
22792 # Avoid depending upon Character Ranges.
22793 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22794 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22795 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22796 as_cr_digits='0123456789'
22797 as_cr_alnum=$as_cr_Letters$as_cr_digits
22800 # Determine whether it's possible to make 'echo' print without a newline.
22801 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22802 # for compatibility with existing Makefiles.
22803 ECHO_C= ECHO_N= ECHO_T=
22804 case `echo -n x` in #(((((
22805 -n*)
22806 case `echo 'xy\c'` in
22807 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22808 xy) ECHO_C='\c';;
22809 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22810 ECHO_T=' ';;
22811 esac;;
22813 ECHO_N='-n';;
22814 esac
22816 # For backward compatibility with old third-party macros, we provide
22817 # the shell variables $as_echo and $as_echo_n. New code should use
22818 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22819 as_echo='printf %s\n'
22820 as_echo_n='printf %s'
22822 rm -f conf$$ conf$$.exe conf$$.file
22823 if test -d conf$$.dir; then
22824 rm -f conf$$.dir/conf$$.file
22825 else
22826 rm -f conf$$.dir
22827 mkdir conf$$.dir 2>/dev/null
22829 if (echo >conf$$.file) 2>/dev/null; then
22830 if ln -s conf$$.file conf$$ 2>/dev/null; then
22831 as_ln_s='ln -s'
22832 # ... but there are two gotchas:
22833 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22834 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22835 # In both cases, we have to default to `cp -pR'.
22836 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22837 as_ln_s='cp -pR'
22838 elif ln conf$$.file conf$$ 2>/dev/null; then
22839 as_ln_s=ln
22840 else
22841 as_ln_s='cp -pR'
22843 else
22844 as_ln_s='cp -pR'
22846 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22847 rmdir conf$$.dir 2>/dev/null
22850 # as_fn_mkdir_p
22851 # -------------
22852 # Create "$as_dir" as a directory, including parents if necessary.
22853 as_fn_mkdir_p ()
22856 case $as_dir in #(
22857 -*) as_dir=./$as_dir;;
22858 esac
22859 test -d "$as_dir" || eval $as_mkdir_p || {
22860 as_dirs=
22861 while :; do
22862 case $as_dir in #(
22863 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22864 *) as_qdir=$as_dir;;
22865 esac
22866 as_dirs="'$as_qdir' $as_dirs"
22867 as_dir=`$as_dirname -- "$as_dir" ||
22868 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22869 X"$as_dir" : 'X\(//\)[^/]' \| \
22870 X"$as_dir" : 'X\(//\)$' \| \
22871 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22872 printf "%s\n" X"$as_dir" |
22873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22874 s//\1/
22877 /^X\(\/\/\)[^/].*/{
22878 s//\1/
22881 /^X\(\/\/\)$/{
22882 s//\1/
22885 /^X\(\/\).*/{
22886 s//\1/
22889 s/.*/./; q'`
22890 test -d "$as_dir" && break
22891 done
22892 test -z "$as_dirs" || eval "mkdir $as_dirs"
22893 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22896 } # as_fn_mkdir_p
22897 if mkdir -p . 2>/dev/null; then
22898 as_mkdir_p='mkdir -p "$as_dir"'
22899 else
22900 test -d ./-p && rmdir ./-p
22901 as_mkdir_p=false
22905 # as_fn_executable_p FILE
22906 # -----------------------
22907 # Test if FILE is an executable regular file.
22908 as_fn_executable_p ()
22910 test -f "$1" && test -x "$1"
22911 } # as_fn_executable_p
22912 as_test_x='test -x'
22913 as_executable_p=as_fn_executable_p
22915 # Sed expression to map a string onto a valid CPP name.
22916 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22918 # Sed expression to map a string onto a valid variable name.
22919 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22922 exec 6>&1
22923 ## ----------------------------------- ##
22924 ## Main body of $CONFIG_STATUS script. ##
22925 ## ----------------------------------- ##
22926 _ASEOF
22927 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22930 # Save the log message, to keep $0 and so on meaningful, and to
22931 # report actual input values of CONFIG_FILES etc. instead of their
22932 # values after options handling.
22933 ac_log="
22934 This file was extended by Wine $as_me 8.11, which was
22935 generated by GNU Autoconf 2.71. Invocation command line was
22937 CONFIG_FILES = $CONFIG_FILES
22938 CONFIG_HEADERS = $CONFIG_HEADERS
22939 CONFIG_LINKS = $CONFIG_LINKS
22940 CONFIG_COMMANDS = $CONFIG_COMMANDS
22941 $ $0 $@
22943 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22946 _ACEOF
22949 case $ac_config_headers in *"
22950 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22951 esac
22954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22955 # Files that config.status was made for.
22956 config_headers="$ac_config_headers"
22957 config_links="$ac_config_links"
22958 config_commands="$ac_config_commands"
22960 _ACEOF
22962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22963 ac_cs_usage="\
22964 \`$as_me' instantiates files and other configuration actions
22965 from templates according to the current configuration. Unless the files
22966 and actions are specified as TAGs, all are instantiated by default.
22968 Usage: $0 [OPTION]... [TAG]...
22970 -h, --help print this help, then exit
22971 -V, --version print version number and configuration settings, then exit
22972 --config print configuration, then exit
22973 -q, --quiet, --silent
22974 do not print progress messages
22975 -d, --debug don't remove temporary files
22976 --recheck update $as_me by reconfiguring in the same conditions
22977 --header=FILE[:TEMPLATE]
22978 instantiate the configuration header FILE
22980 Configuration headers:
22981 $config_headers
22983 Configuration links:
22984 $config_links
22986 Configuration commands:
22987 $config_commands
22989 Report bugs to <wine-devel@winehq.org>.
22990 Wine home page: <https://www.winehq.org>."
22992 _ACEOF
22993 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22994 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22996 ac_cs_config='$ac_cs_config_escaped'
22997 ac_cs_version="\\
22998 Wine config.status 8.11
22999 configured by $0, generated by GNU Autoconf 2.71,
23000 with options \\"\$ac_cs_config\\"
23002 Copyright (C) 2021 Free Software Foundation, Inc.
23003 This config.status script is free software; the Free Software Foundation
23004 gives unlimited permission to copy, distribute and modify it."
23006 ac_pwd='$ac_pwd'
23007 srcdir='$srcdir'
23008 test -n "\$AWK" || AWK=awk
23009 _ACEOF
23011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23012 # The default lists apply if the user does not specify any file.
23013 ac_need_defaults=:
23014 while test $# != 0
23016 case $1 in
23017 --*=?*)
23018 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23019 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23020 ac_shift=:
23022 --*=)
23023 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23024 ac_optarg=
23025 ac_shift=:
23028 ac_option=$1
23029 ac_optarg=$2
23030 ac_shift=shift
23032 esac
23034 case $ac_option in
23035 # Handling of the options.
23036 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23037 ac_cs_recheck=: ;;
23038 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23039 printf "%s\n" "$ac_cs_version"; exit ;;
23040 --config | --confi | --conf | --con | --co | --c )
23041 printf "%s\n" "$ac_cs_config"; exit ;;
23042 --debug | --debu | --deb | --de | --d | -d )
23043 debug=: ;;
23044 --header | --heade | --head | --hea )
23045 $ac_shift
23046 case $ac_optarg in
23047 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23048 esac
23049 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23050 ac_need_defaults=false;;
23051 --he | --h)
23052 # Conflict between --help and --header
23053 as_fn_error $? "ambiguous option: \`$1'
23054 Try \`$0 --help' for more information.";;
23055 --help | --hel | -h )
23056 printf "%s\n" "$ac_cs_usage"; exit ;;
23057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23058 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23059 ac_cs_silent=: ;;
23061 # This is an error.
23062 -*) as_fn_error $? "unrecognized option: \`$1'
23063 Try \`$0 --help' for more information." ;;
23065 *) as_fn_append ac_config_targets " $1"
23066 ac_need_defaults=false ;;
23068 esac
23069 shift
23070 done
23072 ac_configure_extra_args=
23074 if $ac_cs_silent; then
23075 exec 6>/dev/null
23076 ac_configure_extra_args="$ac_configure_extra_args --silent"
23079 _ACEOF
23080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23081 if \$ac_cs_recheck; then
23082 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23083 shift
23084 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23085 CONFIG_SHELL='$SHELL'
23086 export CONFIG_SHELL
23087 exec "\$@"
23090 _ACEOF
23091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23092 exec 5>>config.log
23094 echo
23095 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23096 ## Running $as_me. ##
23097 _ASBOX
23098 printf "%s\n" "$ac_log"
23099 } >&5
23101 _ACEOF
23102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23104 # INIT-COMMANDS
23106 wine_fn_output_makedep ()
23108 as_dir=tools; as_fn_mkdir_p
23109 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23111 wine_fn_output_makefile ()
23113 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23114 # This Makefile understands the following targets:
23116 # all (default): build wine
23117 # clean: remove all intermediate files
23118 # distclean: also remove all files created by configure
23119 # test: run tests
23120 # testclean: clean test results to force running all tests again
23121 # install-lib: install libraries needed to run applications
23122 # install-dev: install development environment
23123 # install: install everything
23124 # uninstall: uninstall everything
23125 # ctags: create a tags file for vim and others.
23126 # etags: create a TAGS file for Emacs.
23128 SHELL = $SHELL
23129 PATH_SEPARATOR = $PATH_SEPARATOR
23130 PACKAGE_NAME = $PACKAGE_NAME
23131 PACKAGE_TARNAME = $PACKAGE_TARNAME
23132 PACKAGE_VERSION = $PACKAGE_VERSION
23133 PACKAGE_STRING = $PACKAGE_STRING
23134 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23135 PACKAGE_URL = $PACKAGE_URL
23136 exec_prefix = $exec_prefix
23137 prefix = $prefix
23138 program_transform_name = $program_transform_name
23139 bindir = $bindir
23140 sbindir = $sbindir
23141 libexecdir = $libexecdir
23142 datarootdir = $datarootdir
23143 datadir = $datadir
23144 sysconfdir = $sysconfdir
23145 sharedstatedir = $sharedstatedir
23146 localstatedir = $localstatedir
23147 runstatedir = $runstatedir
23148 includedir = $includedir
23149 oldincludedir = $oldincludedir
23150 docdir = $docdir
23151 infodir = $infodir
23152 htmldir = $htmldir
23153 dvidir = $dvidir
23154 pdfdir = $pdfdir
23155 psdir = $psdir
23156 libdir = $libdir
23157 localedir = $localedir
23158 mandir = $mandir
23159 DEFS = $DEFS
23160 ECHO_C = $ECHO_C
23161 ECHO_N = $ECHO_N
23162 ECHO_T = $ECHO_T
23163 LIBS = $LIBS
23164 build_alias = $build_alias
23165 host_alias = $host_alias
23166 target_alias = $target_alias
23167 system_dllpath = $system_dllpath
23168 build = $build
23169 build_cpu = $build_cpu
23170 build_vendor = $build_vendor
23171 build_os = $build_os
23172 host = $host
23173 host_cpu = $host_cpu
23174 host_vendor = $host_vendor
23175 host_os = $host_os
23176 dlldir = $dlldir
23177 fontdir = $fontdir
23178 nlsdir = $nlsdir
23179 srcdir = $srcdir
23180 SET_MAKE = $SET_MAKE
23181 CC = $CC
23182 CFLAGS = $CFLAGS
23183 LDFLAGS = $LDFLAGS
23184 CPPFLAGS = $CPPFLAGS
23185 ac_ct_CC = $ac_ct_CC
23186 EXEEXT = $EXEEXT
23187 OBJEXT = $OBJEXT
23188 CXX = $CXX
23189 CXXFLAGS = $CXXFLAGS
23190 ac_ct_CXX = $ac_ct_CXX
23191 CPPBIN = $CPPBIN
23192 LD = $LD
23193 TARGETFLAGS = $TARGETFLAGS
23194 toolsext = $toolsext
23195 HOST_ARCH = $HOST_ARCH
23196 aarch64_CC = $aarch64_CC
23197 aarch64_CFLAGS = $aarch64_CFLAGS
23198 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23199 aarch64_LDFLAGS = $aarch64_LDFLAGS
23200 aarch64_DEBUG = $aarch64_DEBUG
23201 aarch64_TARGET = $aarch64_TARGET
23202 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23203 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23204 arm_CC = $arm_CC
23205 arm_CFLAGS = $arm_CFLAGS
23206 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23207 arm_LDFLAGS = $arm_LDFLAGS
23208 arm_DEBUG = $arm_DEBUG
23209 arm_TARGET = $arm_TARGET
23210 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23211 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23212 i386_CC = $i386_CC
23213 i386_CFLAGS = $i386_CFLAGS
23214 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23215 i386_LDFLAGS = $i386_LDFLAGS
23216 i386_DEBUG = $i386_DEBUG
23217 i386_TARGET = $i386_TARGET
23218 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23219 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23220 x86_64_CC = $x86_64_CC
23221 x86_64_CFLAGS = $x86_64_CFLAGS
23222 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23223 x86_64_LDFLAGS = $x86_64_LDFLAGS
23224 x86_64_DEBUG = $x86_64_DEBUG
23225 x86_64_TARGET = $x86_64_TARGET
23226 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23227 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23228 toolsdir = $toolsdir
23229 MAKEDEP = $MAKEDEP
23230 RUNTESTFLAGS = $RUNTESTFLAGS
23231 SED_CMD = $SED_CMD
23232 FLEX = $FLEX
23233 BISON = $BISON
23234 AR = $AR
23235 ac_ct_AR = $ac_ct_AR
23236 STRIP = $STRIP
23237 RANLIB = $RANLIB
23238 LN_S = $LN_S
23239 GREP = $GREP
23240 EGREP = $EGREP
23241 LDCONFIG = $LDCONFIG
23242 MSGFMT = $MSGFMT
23243 PKG_CONFIG = $PKG_CONFIG
23244 FONTFORGE = $FONTFORGE
23245 RSVG = $RSVG
23246 CONVERT = $CONVERT
23247 ICOTOOL = $ICOTOOL
23248 I386_LIBS = $I386_LIBS
23249 OPENGL_LIBS = $OPENGL_LIBS
23250 DLLFLAGS = $DLLFLAGS
23251 LDDLLFLAGS = $LDDLLFLAGS
23252 LDEXECFLAGS = $LDEXECFLAGS
23253 EXTRACFLAGS = $EXTRACFLAGS
23254 UNIXDLLFLAGS = $UNIXDLLFLAGS
23255 UNIXLDFLAGS = $UNIXLDFLAGS
23256 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23257 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23258 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23259 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23260 DLLEXT = $DLLEXT
23261 LDD = $LDD
23262 OTOOL = $OTOOL
23263 READELF = $READELF
23264 SUBDIRS = $SUBDIRS
23265 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23266 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23267 CARBON_LIBS = $CARBON_LIBS
23268 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23269 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23270 IOKIT_LIBS = $IOKIT_LIBS
23271 METAL_LIBS = $METAL_LIBS
23272 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23273 CORESERVICES_LIBS = $CORESERVICES_LIBS
23274 APPKIT_LIBS = $APPKIT_LIBS
23275 SECURITY_LIBS = $SECURITY_LIBS
23276 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23277 COREAUDIO_LIBS = $COREAUDIO_LIBS
23278 OPENCL_LIBS = $OPENCL_LIBS
23279 OBJC = $OBJC
23280 OBJCFLAGS = $OBJCFLAGS
23281 ac_ct_OBJC = $ac_ct_OBJC
23282 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23283 PE_ARCHS = $PE_ARCHS
23284 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23285 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23286 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23287 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23288 GSM_PE_LIBS = $GSM_PE_LIBS
23289 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23290 JPEG_PE_LIBS = $JPEG_PE_LIBS
23291 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23292 JXR_PE_LIBS = $JXR_PE_LIBS
23293 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23294 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23295 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23296 LDAP_PE_LIBS = $LDAP_PE_LIBS
23297 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23298 MPG123_PE_LIBS = $MPG123_PE_LIBS
23299 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23300 MUSL_PE_LIBS = $MUSL_PE_LIBS
23301 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23302 PNG_PE_LIBS = $PNG_PE_LIBS
23303 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23304 TIFF_PE_LIBS = $TIFF_PE_LIBS
23305 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23306 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23307 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23308 XML2_PE_LIBS = $XML2_PE_LIBS
23309 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23310 XSLT_PE_LIBS = $XSLT_PE_LIBS
23311 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23312 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23313 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23314 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23315 PTHREAD_LIBS = $PTHREAD_LIBS
23316 XMKMF = $XMKMF
23317 CPP = $CPP
23318 X_CFLAGS = $X_CFLAGS
23319 X_PRE_LIBS = $X_PRE_LIBS
23320 X_LIBS = $X_LIBS
23321 X_EXTRA_LIBS = $X_EXTRA_LIBS
23322 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23323 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23324 WAYLAND_SCANNER = $WAYLAND_SCANNER
23325 PCAP_LIBS = $PCAP_LIBS
23326 PCSCLITE_LIBS = $PCSCLITE_LIBS
23327 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23328 INOTIFY_LIBS = $INOTIFY_LIBS
23329 DBUS_CFLAGS = $DBUS_CFLAGS
23330 DBUS_LIBS = $DBUS_LIBS
23331 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23332 GNUTLS_LIBS = $GNUTLS_LIBS
23333 SANE_CFLAGS = $SANE_CFLAGS
23334 SANE_LIBS = $SANE_LIBS
23335 USB_CFLAGS = $USB_CFLAGS
23336 USB_LIBS = $USB_LIBS
23337 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23338 GPHOTO2_LIBS = $GPHOTO2_LIBS
23339 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23340 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23341 RESOLV_LIBS = $RESOLV_LIBS
23342 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23343 FREETYPE_LIBS = $FREETYPE_LIBS
23344 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23345 PULSE_CFLAGS = $PULSE_CFLAGS
23346 PULSE_LIBS = $PULSE_LIBS
23347 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23348 GSTREAMER_LIBS = $GSTREAMER_LIBS
23349 ALSA_LIBS = $ALSA_LIBS
23350 OSS4_CFLAGS = $OSS4_CFLAGS
23351 OSS4_LIBS = $OSS4_LIBS
23352 UDEV_CFLAGS = $UDEV_CFLAGS
23353 UDEV_LIBS = $UDEV_LIBS
23354 UNWIND_CFLAGS = $UNWIND_CFLAGS
23355 UNWIND_LIBS = $UNWIND_LIBS
23356 SDL2_CFLAGS = $SDL2_CFLAGS
23357 SDL2_LIBS = $SDL2_LIBS
23358 CAPI20_CFLAGS = $CAPI20_CFLAGS
23359 CAPI20_LIBS = $CAPI20_LIBS
23360 CUPS_CFLAGS = $CUPS_CFLAGS
23361 CUPS_LIBS = $CUPS_LIBS
23362 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23363 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23364 KRB5_CFLAGS = $KRB5_CFLAGS
23365 KRB5_LIBS = $KRB5_LIBS
23366 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23367 GSSAPI_LIBS = $GSSAPI_LIBS
23368 PROCSTAT_LIBS = $PROCSTAT_LIBS
23369 NETAPI_CFLAGS = $NETAPI_CFLAGS
23370 NETAPI_LIBS = $NETAPI_LIBS
23371 MSVCRTFLAGS = $MSVCRTFLAGS
23372 DELAYLOADFLAG = $DELAYLOADFLAG
23373 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23374 RT_LIBS = $RT_LIBS
23375 TAGSFLAGS = $TAGSFLAGS
23376 LIBOBJS = $LIBOBJS
23377 LTLIBOBJS = $LTLIBOBJS
23378 $SET_MAKE
23379 $wine_rules
23380 _WINE_EOF
23381 as_fn_error $? "could not create Makefile" "$LINENO" 5
23384 _ACEOF
23386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23388 # Handling of arguments.
23389 for ac_config_target in $ac_config_targets
23391 case $ac_config_target in
23392 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23393 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23394 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23395 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23396 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23397 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23399 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23400 esac
23401 done
23404 # If the user did not use the arguments to specify the items to instantiate,
23405 # then the envvar interface is used. Set only those that are not.
23406 # We use the long form for the default assignment because of an extremely
23407 # bizarre bug on SunOS 4.1.3.
23408 if $ac_need_defaults; then
23409 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23410 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23411 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23414 # Have a temporary directory for convenience. Make it in the build tree
23415 # simply because there is no reason against having it here, and in addition,
23416 # creating and moving files from /tmp can sometimes cause problems.
23417 # Hook for its removal unless debugging.
23418 # Note that there is a small window in which the directory will not be cleaned:
23419 # after its creation but before its name has been assigned to `$tmp'.
23420 $debug ||
23422 tmp= ac_tmp=
23423 trap 'exit_status=$?
23424 : "${ac_tmp:=$tmp}"
23425 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23427 trap 'as_fn_exit 1' 1 2 13 15
23429 # Create a (secure) tmp directory for tmp files.
23432 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23433 test -d "$tmp"
23434 } ||
23436 tmp=./conf$$-$RANDOM
23437 (umask 077 && mkdir "$tmp")
23438 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23439 ac_tmp=$tmp
23441 # Set up the scripts for CONFIG_HEADERS section.
23442 # No need to generate them if there are no CONFIG_HEADERS.
23443 # This happens for instance with `./config.status Makefile'.
23444 if test -n "$CONFIG_HEADERS"; then
23445 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23446 BEGIN {
23447 _ACEOF
23449 # Transform confdefs.h into an awk script `defines.awk', embedded as
23450 # here-document in config.status, that substitutes the proper values into
23451 # config.h.in to produce config.h.
23453 # Create a delimiter string that does not exist in confdefs.h, to ease
23454 # handling of long lines.
23455 ac_delim='%!_!# '
23456 for ac_last_try in false false :; do
23457 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23458 if test -z "$ac_tt"; then
23459 break
23460 elif $ac_last_try; then
23461 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23462 else
23463 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23465 done
23467 # For the awk script, D is an array of macro values keyed by name,
23468 # likewise P contains macro parameters if any. Preserve backslash
23469 # newline sequences.
23471 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23472 sed -n '
23473 s/.\{148\}/&'"$ac_delim"'/g
23474 t rset
23475 :rset
23476 s/^[ ]*#[ ]*define[ ][ ]*/ /
23477 t def
23479 :def
23480 s/\\$//
23481 t bsnl
23482 s/["\\]/\\&/g
23483 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23484 D["\1"]=" \3"/p
23485 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23487 :bsnl
23488 s/["\\]/\\&/g
23489 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23490 D["\1"]=" \3\\\\\\n"\\/p
23491 t cont
23492 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23493 t cont
23495 :cont
23497 s/.\{148\}/&'"$ac_delim"'/g
23498 t clear
23499 :clear
23500 s/\\$//
23501 t bsnlc
23502 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23504 :bsnlc
23505 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23506 b cont
23507 ' <confdefs.h | sed '
23508 s/'"$ac_delim"'/"\\\
23509 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23512 for (key in D) D_is_set[key] = 1
23513 FS = "\a"
23515 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23516 line = \$ 0
23517 split(line, arg, " ")
23518 if (arg[1] == "#") {
23519 defundef = arg[2]
23520 mac1 = arg[3]
23521 } else {
23522 defundef = substr(arg[1], 2)
23523 mac1 = arg[2]
23525 split(mac1, mac2, "(") #)
23526 macro = mac2[1]
23527 prefix = substr(line, 1, index(line, defundef) - 1)
23528 if (D_is_set[macro]) {
23529 # Preserve the white space surrounding the "#".
23530 print prefix "define", macro P[macro] D[macro]
23531 next
23532 } else {
23533 # Replace #undef with comments. This is necessary, for example,
23534 # in the case of _POSIX_SOURCE, which is predefined and required
23535 # on some systems where configure will not decide to define it.
23536 if (defundef == "undef") {
23537 print "/*", prefix defundef, macro, "*/"
23538 next
23542 { print }
23543 _ACAWK
23544 _ACEOF
23545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23546 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23547 fi # test -n "$CONFIG_HEADERS"
23550 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23551 shift
23552 for ac_tag
23554 case $ac_tag in
23555 :[FHLC]) ac_mode=$ac_tag; continue;;
23556 esac
23557 case $ac_mode$ac_tag in
23558 :[FHL]*:*);;
23559 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23560 :[FH]-) ac_tag=-:-;;
23561 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23562 esac
23563 ac_save_IFS=$IFS
23564 IFS=:
23565 set x $ac_tag
23566 IFS=$ac_save_IFS
23567 shift
23568 ac_file=$1
23569 shift
23571 case $ac_mode in
23572 :L) ac_source=$1;;
23573 :[FH])
23574 ac_file_inputs=
23575 for ac_f
23577 case $ac_f in
23578 -) ac_f="$ac_tmp/stdin";;
23579 *) # Look for the file first in the build tree, then in the source tree
23580 # (if the path is not absolute). The absolute path cannot be DOS-style,
23581 # because $ac_f cannot contain `:'.
23582 test -f "$ac_f" ||
23583 case $ac_f in
23584 [\\/$]*) false;;
23585 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23586 esac ||
23587 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23588 esac
23589 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23590 as_fn_append ac_file_inputs " '$ac_f'"
23591 done
23593 # Let's still pretend it is `configure' which instantiates (i.e., don't
23594 # use $as_me), people would be surprised to read:
23595 # /* config.h. Generated by config.status. */
23596 configure_input='Generated from '`
23597 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23598 `' by configure.'
23599 if test x"$ac_file" != x-; then
23600 configure_input="$ac_file. $configure_input"
23601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23602 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23604 # Neutralize special characters interpreted by sed in replacement strings.
23605 case $configure_input in #(
23606 *\&* | *\|* | *\\* )
23607 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23608 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23609 *) ac_sed_conf_input=$configure_input;;
23610 esac
23612 case $ac_tag in
23613 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23614 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23615 esac
23617 esac
23619 ac_dir=`$as_dirname -- "$ac_file" ||
23620 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23621 X"$ac_file" : 'X\(//\)[^/]' \| \
23622 X"$ac_file" : 'X\(//\)$' \| \
23623 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23624 printf "%s\n" X"$ac_file" |
23625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23626 s//\1/
23629 /^X\(\/\/\)[^/].*/{
23630 s//\1/
23633 /^X\(\/\/\)$/{
23634 s//\1/
23637 /^X\(\/\).*/{
23638 s//\1/
23641 s/.*/./; q'`
23642 as_dir="$ac_dir"; as_fn_mkdir_p
23643 ac_builddir=.
23645 case "$ac_dir" in
23646 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23648 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23649 # A ".." for each directory in $ac_dir_suffix.
23650 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23651 case $ac_top_builddir_sub in
23652 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23653 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23654 esac ;;
23655 esac
23656 ac_abs_top_builddir=$ac_pwd
23657 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23658 # for backward compatibility:
23659 ac_top_builddir=$ac_top_build_prefix
23661 case $srcdir in
23662 .) # We are building in place.
23663 ac_srcdir=.
23664 ac_top_srcdir=$ac_top_builddir_sub
23665 ac_abs_top_srcdir=$ac_pwd ;;
23666 [\\/]* | ?:[\\/]* ) # Absolute name.
23667 ac_srcdir=$srcdir$ac_dir_suffix;
23668 ac_top_srcdir=$srcdir
23669 ac_abs_top_srcdir=$srcdir ;;
23670 *) # Relative name.
23671 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23672 ac_top_srcdir=$ac_top_build_prefix$srcdir
23673 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23674 esac
23675 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23678 case $ac_mode in
23682 # CONFIG_HEADER
23684 if test x"$ac_file" != x-; then
23686 printf "%s\n" "/* $configure_input */" >&1 \
23687 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23688 } >"$ac_tmp/config.h" \
23689 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23690 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23692 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23693 else
23694 rm -f "$ac_file"
23695 mv "$ac_tmp/config.h" "$ac_file" \
23696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23698 else
23699 printf "%s\n" "/* $configure_input */" >&1 \
23700 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23701 || as_fn_error $? "could not create -" "$LINENO" 5
23706 # CONFIG_LINK
23709 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23711 else
23712 # Prefer the file from the source tree if names are identical.
23713 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23714 ac_source=$srcdir/$ac_source
23717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23718 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23720 if test ! -r "$ac_source"; then
23721 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23723 rm -f "$ac_file"
23725 # Try a relative symlink, then a hard link, then a copy.
23726 case $ac_source in
23727 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23728 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23729 esac
23730 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23731 ln "$ac_source" "$ac_file" 2>/dev/null ||
23732 cp -p "$ac_source" "$ac_file" ||
23733 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23736 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23737 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23739 esac
23742 case $ac_file$ac_mode in
23743 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23744 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23745 "Makefile":C) wine_fn_output_makefile Makefile ;;
23747 esac
23748 done # for ac_tag
23751 as_fn_exit 0
23752 _ACEOF
23753 ac_clean_files=$ac_clean_files_save
23755 test $ac_write_fail = 0 ||
23756 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23759 # configure is writing to config.log, and then calls config.status.
23760 # config.status does its own redirection, appending to config.log.
23761 # Unfortunately, on DOS this fails, as config.log is still kept open
23762 # by configure, so config.status won't be able to write to it; its
23763 # output is simply discarded. So we exec the FD to /dev/null,
23764 # effectively closing config.log, so it can be properly (re)opened and
23765 # appended to by config.status. When coming back to configure, we
23766 # need to make the FD available again.
23767 if test "$no_create" != yes; then
23768 ac_cs_success=:
23769 ac_config_status_args=
23770 test "$silent" = yes &&
23771 ac_config_status_args="$ac_config_status_args --quiet"
23772 exec 5>/dev/null
23773 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23774 exec 5>>config.log
23775 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23776 # would make configure fail if this is the last instruction.
23777 $ac_cs_success || as_fn_exit 1
23779 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23781 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23785 if test "$no_create" = "yes"
23786 then
23787 exit 0
23790 ac_save_IFS="$IFS"
23791 if test "x$wine_notices" != x; then
23792 echo >&6
23793 IFS="|"
23794 for msg in $wine_notices; do
23795 IFS="$ac_save_IFS"
23796 if ${msg:+false} :
23797 then :
23799 else $as_nop
23800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23801 printf "%s\n" "$as_me: $msg" >&6;}
23803 done
23805 IFS="|"
23806 for msg in $wine_warnings; do
23807 IFS="$ac_save_IFS"
23808 if ${msg:+false} :
23809 then :
23811 else $as_nop
23812 echo >&2
23813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23814 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23816 done
23817 IFS="$ac_save_IFS"
23819 printf "%s\n" "
23820 $as_me: Finished. Do '${ac_make}' to compile Wine.
23821 " >&6