pnputil: Add stub program.
[wine.git] / configure
blob7d5681621597242c3ee8ca5be1d4059428878120
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_enumeration
1459 enable_windows_gaming_input
1460 enable_windows_gaming_ui_gamebar
1461 enable_windows_globalization
1462 enable_windows_media_devices
1463 enable_windows_media_speech
1464 enable_windows_media
1465 enable_windows_networking
1466 enable_windows_perception_stub
1467 enable_windows_system_profile_systemmanufacturers
1468 enable_windows_ui
1469 enable_windowscodecs
1470 enable_windowscodecsext
1471 enable_winealsa_drv
1472 enable_wineandroid_drv
1473 enable_winebus_sys
1474 enable_winecoreaudio_drv
1475 enable_winecrt0
1476 enable_wined3d
1477 enable_winegstreamer
1478 enable_winehid_sys
1479 enable_winemac_drv
1480 enable_winemapi
1481 enable_wineoss_drv
1482 enable_wineps_drv
1483 enable_winepulse_drv
1484 enable_wineusb_sys
1485 enable_winevulkan
1486 enable_winewayland_drv
1487 enable_winex11_drv
1488 enable_winexinput_sys
1489 enable_wing32
1490 enable_winhttp
1491 enable_wininet
1492 enable_winmm
1493 enable_winnls32
1494 enable_winprint
1495 enable_winscard
1496 enable_winspool_drv
1497 enable_winsta
1498 enable_wintab32
1499 enable_wintrust
1500 enable_wintypes
1501 enable_winusb
1502 enable_wlanapi
1503 enable_wlanui
1504 enable_wldap32
1505 enable_wmasf
1506 enable_wmi
1507 enable_wmiutils
1508 enable_wmp
1509 enable_wmphoto
1510 enable_wmvcore
1511 enable_wnaspi32
1512 enable_wofutil
1513 enable_wow64
1514 enable_wow64cpu
1515 enable_wow64win
1516 enable_wpc
1517 enable_wpcap
1518 enable_ws2_32
1519 enable_wsdapi
1520 enable_wshom_ocx
1521 enable_wsnmp32
1522 enable_wsock32
1523 enable_wtsapi32
1524 enable_wuapi
1525 enable_wuaueng
1526 enable_x3daudio1_0
1527 enable_x3daudio1_1
1528 enable_x3daudio1_2
1529 enable_x3daudio1_3
1530 enable_x3daudio1_4
1531 enable_x3daudio1_5
1532 enable_x3daudio1_6
1533 enable_x3daudio1_7
1534 enable_xactengine2_0
1535 enable_xactengine2_4
1536 enable_xactengine2_7
1537 enable_xactengine2_9
1538 enable_xactengine3_0
1539 enable_xactengine3_1
1540 enable_xactengine3_2
1541 enable_xactengine3_3
1542 enable_xactengine3_4
1543 enable_xactengine3_5
1544 enable_xactengine3_6
1545 enable_xactengine3_7
1546 enable_xapofx1_1
1547 enable_xapofx1_2
1548 enable_xapofx1_3
1549 enable_xapofx1_4
1550 enable_xapofx1_5
1551 enable_xaudio2_0
1552 enable_xaudio2_1
1553 enable_xaudio2_2
1554 enable_xaudio2_3
1555 enable_xaudio2_4
1556 enable_xaudio2_5
1557 enable_xaudio2_6
1558 enable_xaudio2_7
1559 enable_xaudio2_8
1560 enable_xaudio2_9
1561 enable_xinput1_1
1562 enable_xinput1_2
1563 enable_xinput1_3
1564 enable_xinput1_4
1565 enable_xinput9_1_0
1566 enable_xinputuap
1567 enable_xmllite
1568 enable_xolehlp
1569 enable_xpsprint
1570 enable_xpssvcs
1571 enable_fonts
1572 enable_include
1573 enable_adsiid
1574 enable_dmoguids
1575 enable_dxerr8
1576 enable_dxerr9
1577 enable_dxguid
1578 enable_faudio
1579 enable_gsm
1580 enable_jpeg
1581 enable_jxr
1582 enable_lcms2
1583 enable_ldap
1584 enable_mfuuid
1585 enable_mpg123
1586 enable_musl
1587 enable_png
1588 enable_strmbase
1589 enable_strmiids
1590 enable_tiff
1591 enable_uuid
1592 enable_vkd3d
1593 enable_wbemuuid
1594 enable_wmcodecdspuuid
1595 enable_xml2
1596 enable_xslt
1597 enable_zlib
1598 enable_zydis
1599 enable_loader
1600 enable_nls
1601 enable_po
1602 enable_arp
1603 enable_aspnet_regiis
1604 enable_attrib
1605 enable_cabarc
1606 enable_cacls
1607 enable_certutil
1608 enable_chcp_com
1609 enable_clock
1610 enable_cmd
1611 enable_conhost
1612 enable_control
1613 enable_cscript
1614 enable_dism
1615 enable_dllhost
1616 enable_dplaysvr
1617 enable_dpnsvr
1618 enable_dpvsetup
1619 enable_dxdiag
1620 enable_eject
1621 enable_expand
1622 enable_explorer
1623 enable_extrac32
1624 enable_fc
1625 enable_find
1626 enable_findstr
1627 enable_fsutil
1628 enable_hh
1629 enable_hostname
1630 enable_icacls
1631 enable_icinfo
1632 enable_iexplore
1633 enable_ipconfig
1634 enable_lodctr
1635 enable_mofcomp
1636 enable_mshta
1637 enable_msidb
1638 enable_msiexec
1639 enable_msinfo32
1640 enable_net
1641 enable_netsh
1642 enable_netstat
1643 enable_ngen
1644 enable_notepad
1645 enable_oleview
1646 enable_ping
1647 enable_plugplay
1648 enable_pnputil
1649 enable_powershell
1650 enable_presentationfontcache
1651 enable_progman
1652 enable_reg
1653 enable_regasm
1654 enable_regedit
1655 enable_regini
1656 enable_regsvcs
1657 enable_regsvr32
1658 enable_robocopy
1659 enable_rpcss
1660 enable_rundll32
1661 enable_sc
1662 enable_schtasks
1663 enable_sdbinst
1664 enable_secedit
1665 enable_servicemodelreg
1666 enable_services
1667 enable_setx
1668 enable_shutdown
1669 enable_spoolsv
1670 enable_start
1671 enable_subst
1672 enable_svchost
1673 enable_systeminfo
1674 enable_taskkill
1675 enable_tasklist
1676 enable_taskmgr
1677 enable_termsv
1678 enable_uninstaller
1679 enable_unlodctr
1680 enable_view
1681 enable_wevtutil
1682 enable_where
1683 enable_whoami
1684 enable_wineboot
1685 enable_winebrowser
1686 enable_winecfg
1687 enable_wineconsole
1688 enable_winedbg
1689 enable_winedevice
1690 enable_winefile
1691 enable_winemenubuilder
1692 enable_winemine
1693 enable_winemsibuilder
1694 enable_winepath
1695 enable_winetest
1696 enable_winhlp32
1697 enable_winmgmt
1698 enable_winver
1699 enable_wmic
1700 enable_wmplayer
1701 enable_wordpad
1702 enable_write
1703 enable_wscript
1704 enable_wuauserv
1705 enable_wusa
1706 enable_xcopy
1707 enable_server
1708 enable_tools
1709 enable_sfnt2fon
1710 enable_widl
1711 enable_winebuild
1712 enable_winedump
1713 enable_winegcc
1714 enable_winemaker
1715 enable_wmc
1716 enable_wrc
1718 ac_precious_vars='build_alias
1719 host_alias
1720 target_alias
1722 CFLAGS
1723 LDFLAGS
1724 LIBS
1725 CPPFLAGS
1727 CXXFLAGS
1729 OBJC
1730 OBJCFLAGS
1731 FAUDIO_PE_CFLAGS
1732 FAUDIO_PE_LIBS
1733 GSM_PE_CFLAGS
1734 GSM_PE_LIBS
1735 JPEG_PE_CFLAGS
1736 JPEG_PE_LIBS
1737 JXR_PE_CFLAGS
1738 JXR_PE_LIBS
1739 LCMS2_PE_CFLAGS
1740 LCMS2_PE_LIBS
1741 LDAP_PE_CFLAGS
1742 LDAP_PE_LIBS
1743 MPG123_PE_CFLAGS
1744 MPG123_PE_LIBS
1745 MUSL_PE_CFLAGS
1746 MUSL_PE_LIBS
1747 PNG_PE_CFLAGS
1748 PNG_PE_LIBS
1749 TIFF_PE_CFLAGS
1750 TIFF_PE_LIBS
1751 VKD3D_PE_CFLAGS
1752 VKD3D_PE_LIBS
1753 XML2_PE_CFLAGS
1754 XML2_PE_LIBS
1755 XSLT_PE_CFLAGS
1756 XSLT_PE_LIBS
1757 ZLIB_PE_CFLAGS
1758 ZLIB_PE_LIBS
1759 ZYDIS_PE_CFLAGS
1760 ZYDIS_PE_LIBS
1761 XMKMF
1763 WAYLAND_CLIENT_CFLAGS
1764 WAYLAND_CLIENT_LIBS
1765 INOTIFY_CFLAGS
1766 INOTIFY_LIBS
1767 DBUS_CFLAGS
1768 DBUS_LIBS
1769 GNUTLS_CFLAGS
1770 GNUTLS_LIBS
1771 SANE_CFLAGS
1772 SANE_LIBS
1773 USB_CFLAGS
1774 USB_LIBS
1775 GPHOTO2_CFLAGS
1776 GPHOTO2_LIBS
1777 GPHOTO2_PORT_CFLAGS
1778 GPHOTO2_PORT_LIBS
1779 FREETYPE_CFLAGS
1780 FREETYPE_LIBS
1781 PULSE_CFLAGS
1782 PULSE_LIBS
1783 GSTREAMER_CFLAGS
1784 GSTREAMER_LIBS
1785 UDEV_CFLAGS
1786 UDEV_LIBS
1787 UNWIND_CFLAGS
1788 UNWIND_LIBS
1789 SDL2_CFLAGS
1790 SDL2_LIBS
1791 CAPI20_CFLAGS
1792 CAPI20_LIBS
1793 CUPS_CFLAGS
1794 CUPS_LIBS
1795 FONTCONFIG_CFLAGS
1796 FONTCONFIG_LIBS
1797 KRB5_CFLAGS
1798 KRB5_LIBS
1799 GSSAPI_CFLAGS
1800 GSSAPI_LIBS
1801 NETAPI_CFLAGS
1802 NETAPI_LIBS'
1805 # Initialize some variables set by options.
1806 ac_init_help=
1807 ac_init_version=false
1808 ac_unrecognized_opts=
1809 ac_unrecognized_sep=
1810 # The variables have the same names as the options, with
1811 # dashes changed to underlines.
1812 cache_file=/dev/null
1813 exec_prefix=NONE
1814 no_create=
1815 no_recursion=
1816 prefix=NONE
1817 program_prefix=NONE
1818 program_suffix=NONE
1819 program_transform_name=s,x,x,
1820 silent=
1821 site=
1822 srcdir=
1823 verbose=
1824 x_includes=NONE
1825 x_libraries=NONE
1827 # Installation directory options.
1828 # These are left unexpanded so users can "make install exec_prefix=/foo"
1829 # and all the variables that are supposed to be based on exec_prefix
1830 # by default will actually change.
1831 # Use braces instead of parens because sh, perl, etc. also accept them.
1832 # (The list follows the same order as the GNU Coding Standards.)
1833 bindir='${exec_prefix}/bin'
1834 sbindir='${exec_prefix}/sbin'
1835 libexecdir='${exec_prefix}/libexec'
1836 datarootdir='${prefix}/share'
1837 datadir='${datarootdir}'
1838 sysconfdir='${prefix}/etc'
1839 sharedstatedir='${prefix}/com'
1840 localstatedir='${prefix}/var'
1841 runstatedir='${localstatedir}/run'
1842 includedir='${prefix}/include'
1843 oldincludedir='/usr/include'
1844 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1845 infodir='${datarootdir}/info'
1846 htmldir='${docdir}'
1847 dvidir='${docdir}'
1848 pdfdir='${docdir}'
1849 psdir='${docdir}'
1850 libdir='${exec_prefix}/lib'
1851 localedir='${datarootdir}/locale'
1852 mandir='${datarootdir}/man'
1854 ac_prev=
1855 ac_dashdash=
1856 for ac_option
1858 # If the previous option needs an argument, assign it.
1859 if test -n "$ac_prev"; then
1860 eval $ac_prev=\$ac_option
1861 ac_prev=
1862 continue
1865 case $ac_option in
1866 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1867 *=) ac_optarg= ;;
1868 *) ac_optarg=yes ;;
1869 esac
1871 case $ac_dashdash$ac_option in
1873 ac_dashdash=yes ;;
1875 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1876 ac_prev=bindir ;;
1877 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1878 bindir=$ac_optarg ;;
1880 -build | --build | --buil | --bui | --bu)
1881 ac_prev=build_alias ;;
1882 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1883 build_alias=$ac_optarg ;;
1885 -cache-file | --cache-file | --cache-fil | --cache-fi \
1886 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1887 ac_prev=cache_file ;;
1888 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1889 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1890 cache_file=$ac_optarg ;;
1892 --config-cache | -C)
1893 cache_file=config.cache ;;
1895 -datadir | --datadir | --datadi | --datad)
1896 ac_prev=datadir ;;
1897 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1898 datadir=$ac_optarg ;;
1900 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1901 | --dataroo | --dataro | --datar)
1902 ac_prev=datarootdir ;;
1903 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1904 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1905 datarootdir=$ac_optarg ;;
1907 -disable-* | --disable-*)
1908 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1909 # Reject names that are not valid shell variable names.
1910 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1911 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1912 ac_useropt_orig=$ac_useropt
1913 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1914 case $ac_user_opts in
1916 "enable_$ac_useropt"
1917 "*) ;;
1918 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1919 ac_unrecognized_sep=', ';;
1920 esac
1921 eval enable_$ac_useropt=no ;;
1923 -docdir | --docdir | --docdi | --doc | --do)
1924 ac_prev=docdir ;;
1925 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1926 docdir=$ac_optarg ;;
1928 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1929 ac_prev=dvidir ;;
1930 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1931 dvidir=$ac_optarg ;;
1933 -enable-* | --enable-*)
1934 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1935 # Reject names that are not valid shell variable names.
1936 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1937 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1938 ac_useropt_orig=$ac_useropt
1939 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1940 case $ac_user_opts in
1942 "enable_$ac_useropt"
1943 "*) ;;
1944 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1945 ac_unrecognized_sep=', ';;
1946 esac
1947 eval enable_$ac_useropt=\$ac_optarg ;;
1949 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1950 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1951 | --exec | --exe | --ex)
1952 ac_prev=exec_prefix ;;
1953 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1954 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1955 | --exec=* | --exe=* | --ex=*)
1956 exec_prefix=$ac_optarg ;;
1958 -gas | --gas | --ga | --g)
1959 # Obsolete; use --with-gas.
1960 with_gas=yes ;;
1962 -help | --help | --hel | --he | -h)
1963 ac_init_help=long ;;
1964 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1965 ac_init_help=recursive ;;
1966 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1967 ac_init_help=short ;;
1969 -host | --host | --hos | --ho)
1970 ac_prev=host_alias ;;
1971 -host=* | --host=* | --hos=* | --ho=*)
1972 host_alias=$ac_optarg ;;
1974 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1975 ac_prev=htmldir ;;
1976 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1977 | --ht=*)
1978 htmldir=$ac_optarg ;;
1980 -includedir | --includedir | --includedi | --included | --include \
1981 | --includ | --inclu | --incl | --inc)
1982 ac_prev=includedir ;;
1983 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1984 | --includ=* | --inclu=* | --incl=* | --inc=*)
1985 includedir=$ac_optarg ;;
1987 -infodir | --infodir | --infodi | --infod | --info | --inf)
1988 ac_prev=infodir ;;
1989 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1990 infodir=$ac_optarg ;;
1992 -libdir | --libdir | --libdi | --libd)
1993 ac_prev=libdir ;;
1994 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1995 libdir=$ac_optarg ;;
1997 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1998 | --libexe | --libex | --libe)
1999 ac_prev=libexecdir ;;
2000 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2001 | --libexe=* | --libex=* | --libe=*)
2002 libexecdir=$ac_optarg ;;
2004 -localedir | --localedir | --localedi | --localed | --locale)
2005 ac_prev=localedir ;;
2006 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2007 localedir=$ac_optarg ;;
2009 -localstatedir | --localstatedir | --localstatedi | --localstated \
2010 | --localstate | --localstat | --localsta | --localst | --locals)
2011 ac_prev=localstatedir ;;
2012 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2013 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2014 localstatedir=$ac_optarg ;;
2016 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2017 ac_prev=mandir ;;
2018 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2019 mandir=$ac_optarg ;;
2021 -nfp | --nfp | --nf)
2022 # Obsolete; use --without-fp.
2023 with_fp=no ;;
2025 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2026 | --no-cr | --no-c | -n)
2027 no_create=yes ;;
2029 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2030 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2031 no_recursion=yes ;;
2033 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2034 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2035 | --oldin | --oldi | --old | --ol | --o)
2036 ac_prev=oldincludedir ;;
2037 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2038 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2039 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2040 oldincludedir=$ac_optarg ;;
2042 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2043 ac_prev=prefix ;;
2044 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2045 prefix=$ac_optarg ;;
2047 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2048 | --program-pre | --program-pr | --program-p)
2049 ac_prev=program_prefix ;;
2050 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2051 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2052 program_prefix=$ac_optarg ;;
2054 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2055 | --program-suf | --program-su | --program-s)
2056 ac_prev=program_suffix ;;
2057 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2058 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2059 program_suffix=$ac_optarg ;;
2061 -program-transform-name | --program-transform-name \
2062 | --program-transform-nam | --program-transform-na \
2063 | --program-transform-n | --program-transform- \
2064 | --program-transform | --program-transfor \
2065 | --program-transfo | --program-transf \
2066 | --program-trans | --program-tran \
2067 | --progr-tra | --program-tr | --program-t)
2068 ac_prev=program_transform_name ;;
2069 -program-transform-name=* | --program-transform-name=* \
2070 | --program-transform-nam=* | --program-transform-na=* \
2071 | --program-transform-n=* | --program-transform-=* \
2072 | --program-transform=* | --program-transfor=* \
2073 | --program-transfo=* | --program-transf=* \
2074 | --program-trans=* | --program-tran=* \
2075 | --progr-tra=* | --program-tr=* | --program-t=*)
2076 program_transform_name=$ac_optarg ;;
2078 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2079 ac_prev=pdfdir ;;
2080 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2081 pdfdir=$ac_optarg ;;
2083 -psdir | --psdir | --psdi | --psd | --ps)
2084 ac_prev=psdir ;;
2085 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2086 psdir=$ac_optarg ;;
2088 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2089 | -silent | --silent | --silen | --sile | --sil)
2090 silent=yes ;;
2092 -runstatedir | --runstatedir | --runstatedi | --runstated \
2093 | --runstate | --runstat | --runsta | --runst | --runs \
2094 | --run | --ru | --r)
2095 ac_prev=runstatedir ;;
2096 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2097 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2098 | --run=* | --ru=* | --r=*)
2099 runstatedir=$ac_optarg ;;
2101 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2102 ac_prev=sbindir ;;
2103 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2104 | --sbi=* | --sb=*)
2105 sbindir=$ac_optarg ;;
2107 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2108 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2109 | --sharedst | --shareds | --shared | --share | --shar \
2110 | --sha | --sh)
2111 ac_prev=sharedstatedir ;;
2112 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2113 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2114 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2115 | --sha=* | --sh=*)
2116 sharedstatedir=$ac_optarg ;;
2118 -site | --site | --sit)
2119 ac_prev=site ;;
2120 -site=* | --site=* | --sit=*)
2121 site=$ac_optarg ;;
2123 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2124 ac_prev=srcdir ;;
2125 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2126 srcdir=$ac_optarg ;;
2128 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2129 | --syscon | --sysco | --sysc | --sys | --sy)
2130 ac_prev=sysconfdir ;;
2131 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2132 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2133 sysconfdir=$ac_optarg ;;
2135 -target | --target | --targe | --targ | --tar | --ta | --t)
2136 ac_prev=target_alias ;;
2137 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2138 target_alias=$ac_optarg ;;
2140 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2141 verbose=yes ;;
2143 -version | --version | --versio | --versi | --vers | -V)
2144 ac_init_version=: ;;
2146 -with-* | --with-*)
2147 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2148 # Reject names that are not valid shell variable names.
2149 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2150 as_fn_error $? "invalid package name: \`$ac_useropt'"
2151 ac_useropt_orig=$ac_useropt
2152 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2153 case $ac_user_opts in
2155 "with_$ac_useropt"
2156 "*) ;;
2157 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2158 ac_unrecognized_sep=', ';;
2159 esac
2160 eval with_$ac_useropt=\$ac_optarg ;;
2162 -without-* | --without-*)
2163 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2164 # Reject names that are not valid shell variable names.
2165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2166 as_fn_error $? "invalid package name: \`$ac_useropt'"
2167 ac_useropt_orig=$ac_useropt
2168 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2169 case $ac_user_opts in
2171 "with_$ac_useropt"
2172 "*) ;;
2173 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2174 ac_unrecognized_sep=', ';;
2175 esac
2176 eval with_$ac_useropt=no ;;
2178 --x)
2179 # Obsolete; use --with-x.
2180 with_x=yes ;;
2182 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2183 | --x-incl | --x-inc | --x-in | --x-i)
2184 ac_prev=x_includes ;;
2185 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2186 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2187 x_includes=$ac_optarg ;;
2189 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2190 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2191 ac_prev=x_libraries ;;
2192 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2193 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2194 x_libraries=$ac_optarg ;;
2196 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2197 Try \`$0 --help' for more information"
2200 *=*)
2201 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2202 # Reject names that are not valid shell variable names.
2203 case $ac_envvar in #(
2204 '' | [0-9]* | *[!_$as_cr_alnum]* )
2205 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2206 esac
2207 eval $ac_envvar=\$ac_optarg
2208 export $ac_envvar ;;
2211 # FIXME: should be removed in autoconf 3.0.
2212 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2213 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2214 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2215 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2218 esac
2219 done
2221 if test -n "$ac_prev"; then
2222 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2223 as_fn_error $? "missing argument to $ac_option"
2226 if test -n "$ac_unrecognized_opts"; then
2227 case $enable_option_checking in
2228 no) ;;
2229 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2230 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2231 esac
2234 # Check all directory arguments for consistency.
2235 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2236 datadir sysconfdir sharedstatedir localstatedir includedir \
2237 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2238 libdir localedir mandir runstatedir
2240 eval ac_val=\$$ac_var
2241 # Remove trailing slashes.
2242 case $ac_val in
2243 */ )
2244 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2245 eval $ac_var=\$ac_val;;
2246 esac
2247 # Be sure to have absolute directory names.
2248 case $ac_val in
2249 [\\/$]* | ?:[\\/]* ) continue;;
2250 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2251 esac
2252 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2253 done
2255 # There might be people who depend on the old broken behavior: `$host'
2256 # used to hold the argument of --host etc.
2257 # FIXME: To remove some day.
2258 build=$build_alias
2259 host=$host_alias
2260 target=$target_alias
2262 # FIXME: To remove some day.
2263 if test "x$host_alias" != x; then
2264 if test "x$build_alias" = x; then
2265 cross_compiling=maybe
2266 elif test "x$build_alias" != "x$host_alias"; then
2267 cross_compiling=yes
2271 ac_tool_prefix=
2272 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2274 test "$silent" = yes && exec 6>/dev/null
2277 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2278 ac_ls_di=`ls -di .` &&
2279 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2280 as_fn_error $? "working directory cannot be determined"
2281 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2282 as_fn_error $? "pwd does not report name of working directory"
2285 # Find the source files, if location was not specified.
2286 if test -z "$srcdir"; then
2287 ac_srcdir_defaulted=yes
2288 # Try the directory containing this script, then the parent directory.
2289 ac_confdir=`$as_dirname -- "$as_myself" ||
2290 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2291 X"$as_myself" : 'X\(//\)[^/]' \| \
2292 X"$as_myself" : 'X\(//\)$' \| \
2293 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2294 printf "%s\n" X"$as_myself" |
2295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2296 s//\1/
2299 /^X\(\/\/\)[^/].*/{
2300 s//\1/
2303 /^X\(\/\/\)$/{
2304 s//\1/
2307 /^X\(\/\).*/{
2308 s//\1/
2311 s/.*/./; q'`
2312 srcdir=$ac_confdir
2313 if test ! -r "$srcdir/$ac_unique_file"; then
2314 srcdir=..
2316 else
2317 ac_srcdir_defaulted=no
2319 if test ! -r "$srcdir/$ac_unique_file"; then
2320 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2321 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2323 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2324 ac_abs_confdir=`(
2325 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2326 pwd)`
2327 # When building in place, set srcdir=.
2328 if test "$ac_abs_confdir" = "$ac_pwd"; then
2329 srcdir=.
2331 # Remove unnecessary trailing slashes from srcdir.
2332 # Double slashes in file names in object file debugging info
2333 # mess up M-x gdb in Emacs.
2334 case $srcdir in
2335 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2336 esac
2337 for ac_var in $ac_precious_vars; do
2338 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2339 eval ac_env_${ac_var}_value=\$${ac_var}
2340 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2341 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2342 done
2345 # Report the --help message.
2347 if test "$ac_init_help" = "long"; then
2348 # Omit some internal or obsolete options to make the list less imposing.
2349 # This message is too long to be a string in the A/UX 3.1 sh.
2350 cat <<_ACEOF
2351 \`configure' configures Wine 8.11 to adapt to many kinds of systems.
2353 Usage: $0 [OPTION]... [VAR=VALUE]...
2355 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2356 VAR=VALUE. See below for descriptions of some of the useful variables.
2358 Defaults for the options are specified in brackets.
2360 Configuration:
2361 -h, --help display this help and exit
2362 --help=short display options specific to this package
2363 --help=recursive display the short help of all the included packages
2364 -V, --version display version information and exit
2365 -q, --quiet, --silent do not print \`checking ...' messages
2366 --cache-file=FILE cache test results in FILE [disabled]
2367 -C, --config-cache alias for \`--cache-file=config.cache'
2368 -n, --no-create do not create output files
2369 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2371 Installation directories:
2372 --prefix=PREFIX install architecture-independent files in PREFIX
2373 [$ac_default_prefix]
2374 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2375 [PREFIX]
2377 By default, \`make install' will install all the files in
2378 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2379 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2380 for instance \`--prefix=\$HOME'.
2382 For better control, use the options below.
2384 Fine tuning of the installation directories:
2385 --bindir=DIR user executables [EPREFIX/bin]
2386 --sbindir=DIR system admin executables [EPREFIX/sbin]
2387 --libexecdir=DIR program executables [EPREFIX/libexec]
2388 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2389 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2390 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2391 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2392 --libdir=DIR object code libraries [EPREFIX/lib]
2393 --includedir=DIR C header files [PREFIX/include]
2394 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2395 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2396 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2397 --infodir=DIR info documentation [DATAROOTDIR/info]
2398 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2399 --mandir=DIR man documentation [DATAROOTDIR/man]
2400 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2401 --htmldir=DIR html documentation [DOCDIR]
2402 --dvidir=DIR dvi documentation [DOCDIR]
2403 --pdfdir=DIR pdf documentation [DOCDIR]
2404 --psdir=DIR ps documentation [DOCDIR]
2405 _ACEOF
2407 cat <<\_ACEOF
2409 X features:
2410 --x-includes=DIR X include files are in DIR
2411 --x-libraries=DIR X library files are in DIR
2413 System types:
2414 --build=BUILD configure for building on BUILD [guessed]
2415 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2416 _ACEOF
2419 if test -n "$ac_init_help"; then
2420 case $ac_init_help in
2421 short | recursive ) echo "Configuration of Wine 8.11:";;
2422 esac
2423 cat <<\_ACEOF
2425 Optional Features:
2426 --disable-option-checking ignore unrecognized --enable/--with options
2427 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2428 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2429 --enable-archs={i386,x86_64,arm,aarch64}
2430 enable multiple architectures for PE compilation
2431 --disable-win16 do not include Win16 support
2432 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2433 binaries)
2434 --disable-tests do not build the regression tests
2435 --enable-build-id include .buildid section in output objects
2436 --enable-maintainer-mode
2437 enable maintainer-specific build rules
2438 --enable-silent-rules use silent build rules (override: "make V=1")
2439 --enable-werror treat compilation warnings as errors
2440 --disable-largefile omit support for large files
2442 Optional Packages:
2443 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2444 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2445 --without-alsa do not use the Alsa sound support
2446 --without-capi do not use CAPI (ISDN support)
2447 --without-coreaudio do not use the CoreAudio sound support
2448 --without-cups do not use CUPS
2449 --without-dbus do not use DBus (dynamic device support)
2450 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2451 --without-fontconfig do not use fontconfig
2452 --without-freetype do not use the FreeType library
2453 --without-gettext do not use gettext
2454 --with-gettextpo use the GetTextPO library to rebuild po files
2455 --without-gphoto do not use gphoto (Digital Camera support)
2456 --without-gnutls do not use GnuTLS (schannel support)
2457 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2458 --without-gstreamer do not use GStreamer (codecs support)
2459 --without-inotify do not use inotify (filesystem change notifications)
2460 --without-krb5 do not use krb5 (Kerberos)
2461 --without-mingw do not use the MinGW cross-compiler
2462 --without-netapi do not use the Samba NetAPI library
2463 --without-opencl do not use OpenCL
2464 --without-opengl do not use OpenGL
2465 --without-osmesa do not use the OSMesa library
2466 --without-oss do not use the OSS sound support
2467 --without-pcap do not use the Packet Capture library
2468 --without-pcsclite do not use PCSC lite
2469 --without-pthread do not use the pthread library
2470 --without-pulse do not use PulseAudio sound support
2471 --without-sane do not use SANE (scanner support)
2472 --without-sdl do not use SDL
2473 --without-udev do not use udev (plug and play support)
2474 --without-unwind do not use the libunwind library (exception
2475 handling)
2476 --without-usb do not use the libusb library
2477 --without-v4l2 do not use v4l2 (video capture)
2478 --without-vulkan do not use Vulkan
2479 --without-wayland do not build the Wayland driver
2480 --without-xcomposite do not use the Xcomposite extension
2481 --without-xcursor do not use the Xcursor extension
2482 --without-xfixes do not use Xfixes for clipboard change notifications
2483 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2484 --without-xinput do not use the Xinput extension
2485 --without-xinput2 do not use the Xinput 2 extension
2486 --without-xrandr do not use Xrandr (multi-monitor support)
2487 --without-xrender do not use the Xrender extension
2488 --without-xshape do not use the Xshape extension
2489 --without-xshm do not use XShm (shared memory extension)
2490 --without-xxf86vm do not use XFree video mode extension
2491 --with-system-dllpath=PATH
2492 load external PE dependencies from colon-separated
2493 path PATH
2494 --with-wine-tools=DIR use Wine tools from directory DIR
2495 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2496 --with-x use the X Window System
2498 Some influential environment variables:
2499 CC C compiler command
2500 CFLAGS C compiler flags
2501 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2502 nonstandard directory <lib dir>
2503 LIBS libraries to pass to the linker, e.g. -l<library>
2504 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2505 you have headers in a nonstandard directory <include dir>
2506 CXX C++ compiler command
2507 CXXFLAGS C++ compiler flags
2508 OBJC Objective C compiler command
2509 OBJCFLAGS Objective C compiler flags
2510 FAUDIO_PE_CFLAGS
2511 C compiler flags for the PE faudio, overriding the bundled
2512 version
2513 FAUDIO_PE_LIBS
2514 Linker flags for the PE faudio, overriding the bundled version
2515 GSM_PE_CFLAGS
2516 C compiler flags for the PE gsm, overriding the bundled version
2517 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2518 JPEG_PE_CFLAGS
2519 C compiler flags for the PE jpeg, overriding the bundled version
2520 JPEG_PE_LIBS
2521 Linker flags for the PE jpeg, overriding the bundled version
2522 JXR_PE_CFLAGS
2523 C compiler flags for the PE jxr, overriding the bundled version
2524 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2525 LCMS2_PE_CFLAGS
2526 C compiler flags for the PE lcms2, overriding the bundled
2527 version
2528 LCMS2_PE_LIBS
2529 Linker flags for the PE lcms2, overriding the bundled version
2530 LDAP_PE_CFLAGS
2531 C compiler flags for the PE ldap, overriding the bundled version
2532 LDAP_PE_LIBS
2533 Linker flags for the PE ldap, overriding the bundled version
2534 MPG123_PE_CFLAGS
2535 C compiler flags for the PE mpg123, overriding the bundled
2536 version
2537 MPG123_PE_LIBS
2538 Linker flags for the PE mpg123, overriding the bundled version
2539 MUSL_PE_CFLAGS
2540 C compiler flags for the PE musl, overriding the bundled version
2541 MUSL_PE_LIBS
2542 Linker flags for the PE musl, overriding the bundled version
2543 PNG_PE_CFLAGS
2544 C compiler flags for the PE png, overriding the bundled version
2545 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2546 TIFF_PE_CFLAGS
2547 C compiler flags for the PE tiff, overriding the bundled version
2548 TIFF_PE_LIBS
2549 Linker flags for the PE tiff, overriding the bundled version
2550 VKD3D_PE_CFLAGS
2551 C compiler flags for the PE vkd3d, overriding the bundled
2552 version
2553 VKD3D_PE_LIBS
2554 Linker flags for the PE vkd3d, overriding the bundled version
2555 XML2_PE_CFLAGS
2556 C compiler flags for the PE xml2, overriding the bundled version
2557 XML2_PE_LIBS
2558 Linker flags for the PE xml2, overriding the bundled version
2559 XSLT_PE_CFLAGS
2560 C compiler flags for the PE xslt, overriding the bundled version
2561 XSLT_PE_LIBS
2562 Linker flags for the PE xslt, overriding the bundled version
2563 ZLIB_PE_CFLAGS
2564 C compiler flags for the PE zlib, overriding the bundled version
2565 ZLIB_PE_LIBS
2566 Linker flags for the PE zlib, overriding the bundled version
2567 ZYDIS_PE_CFLAGS
2568 C compiler flags for the PE zydis, overriding the bundled
2569 version
2570 ZYDIS_PE_LIBS
2571 Linker flags for the PE zydis, overriding the bundled version
2572 XMKMF Path to xmkmf, Makefile generator for X Window System
2573 CPP C preprocessor
2574 WAYLAND_CLIENT_CFLAGS
2575 C compiler flags for wayland-client, overriding pkg-config
2576 WAYLAND_CLIENT_LIBS
2577 Linker flags for wayland-client, overriding pkg-config
2578 INOTIFY_CFLAGS
2579 C compiler flags for libinotify, overriding pkg-config
2580 INOTIFY_LIBS
2581 Linker flags for libinotify, overriding pkg-config
2582 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2583 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2584 GNUTLS_CFLAGS
2585 C compiler flags for gnutls, overriding pkg-config
2586 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2587 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2588 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2589 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2590 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2591 GPHOTO2_CFLAGS
2592 C compiler flags for libgphoto2, overriding pkg-config
2593 GPHOTO2_LIBS
2594 Linker flags for libgphoto2, overriding pkg-config
2595 GPHOTO2_PORT_CFLAGS
2596 C compiler flags for libgphoto2_port, overriding pkg-config
2597 GPHOTO2_PORT_LIBS
2598 Linker flags for libgphoto2_port, overriding pkg-config
2599 FREETYPE_CFLAGS
2600 C compiler flags for freetype2, overriding pkg-config
2601 FREETYPE_LIBS
2602 Linker flags for freetype2, overriding pkg-config
2603 PULSE_CFLAGS
2604 C compiler flags for libpulse, overriding pkg-config
2605 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2606 GSTREAMER_CFLAGS
2607 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2608 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2609 GSTREAMER_LIBS
2610 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2611 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2612 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2613 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2614 UNWIND_CFLAGS
2615 C compiler flags for libunwind, overriding pkg-config
2616 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2617 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2618 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2619 CAPI20_CFLAGS
2620 C compiler flags for capi20, overriding pkg-config
2621 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2622 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2623 CUPS_LIBS Linker flags for cups, overriding pkg-config
2624 FONTCONFIG_CFLAGS
2625 C compiler flags for fontconfig, overriding pkg-config
2626 FONTCONFIG_LIBS
2627 Linker flags for fontconfig, overriding pkg-config
2628 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2629 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2630 GSSAPI_CFLAGS
2631 C compiler flags for krb5-gssapi, overriding pkg-config
2632 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2633 NETAPI_CFLAGS
2634 C compiler flags for netapi, overriding pkg-config
2635 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2637 Use these variables to override the choices made by `configure' or to help
2638 it to find libraries and programs with nonstandard names/locations.
2640 Report bugs to <wine-devel@winehq.org>.
2641 Wine home page: <https://www.winehq.org>.
2642 _ACEOF
2643 ac_status=$?
2646 if test "$ac_init_help" = "recursive"; then
2647 # If there are subdirs, report their specific --help.
2648 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2649 test -d "$ac_dir" ||
2650 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2651 continue
2652 ac_builddir=.
2654 case "$ac_dir" in
2655 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2657 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2658 # A ".." for each directory in $ac_dir_suffix.
2659 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2660 case $ac_top_builddir_sub in
2661 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2662 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2663 esac ;;
2664 esac
2665 ac_abs_top_builddir=$ac_pwd
2666 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2667 # for backward compatibility:
2668 ac_top_builddir=$ac_top_build_prefix
2670 case $srcdir in
2671 .) # We are building in place.
2672 ac_srcdir=.
2673 ac_top_srcdir=$ac_top_builddir_sub
2674 ac_abs_top_srcdir=$ac_pwd ;;
2675 [\\/]* | ?:[\\/]* ) # Absolute name.
2676 ac_srcdir=$srcdir$ac_dir_suffix;
2677 ac_top_srcdir=$srcdir
2678 ac_abs_top_srcdir=$srcdir ;;
2679 *) # Relative name.
2680 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2681 ac_top_srcdir=$ac_top_build_prefix$srcdir
2682 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2683 esac
2684 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2686 cd "$ac_dir" || { ac_status=$?; continue; }
2687 # Check for configure.gnu first; this name is used for a wrapper for
2688 # Metaconfig's "Configure" on case-insensitive file systems.
2689 if test -f "$ac_srcdir/configure.gnu"; then
2690 echo &&
2691 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2692 elif test -f "$ac_srcdir/configure"; then
2693 echo &&
2694 $SHELL "$ac_srcdir/configure" --help=recursive
2695 else
2696 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2697 fi || ac_status=$?
2698 cd "$ac_pwd" || { ac_status=$?; break; }
2699 done
2702 test -n "$ac_init_help" && exit $ac_status
2703 if $ac_init_version; then
2704 cat <<\_ACEOF
2705 Wine configure 8.11
2706 generated by GNU Autoconf 2.71
2708 Copyright (C) 2021 Free Software Foundation, Inc.
2709 This configure script is free software; the Free Software Foundation
2710 gives unlimited permission to copy, distribute and modify it.
2711 _ACEOF
2712 exit
2715 ## ------------------------ ##
2716 ## Autoconf initialization. ##
2717 ## ------------------------ ##
2719 # ac_fn_c_try_compile LINENO
2720 # --------------------------
2721 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2722 ac_fn_c_try_compile ()
2724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2725 rm -f conftest.$ac_objext conftest.beam
2726 if { { ac_try="$ac_compile"
2727 case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2730 esac
2731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2732 printf "%s\n" "$ac_try_echo"; } >&5
2733 (eval "$ac_compile") 2>conftest.err
2734 ac_status=$?
2735 if test -s conftest.err; then
2736 grep -v '^ *+' conftest.err >conftest.er1
2737 cat conftest.er1 >&5
2738 mv -f conftest.er1 conftest.err
2740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2741 test $ac_status = 0; } && {
2742 test -z "$ac_c_werror_flag" ||
2743 test ! -s conftest.err
2744 } && test -s conftest.$ac_objext
2745 then :
2746 ac_retval=0
2747 else $as_nop
2748 printf "%s\n" "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 ac_retval=1
2753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2754 as_fn_set_status $ac_retval
2756 } # ac_fn_c_try_compile
2758 # ac_fn_cxx_try_compile LINENO
2759 # ----------------------------
2760 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2761 ac_fn_cxx_try_compile ()
2763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2764 rm -f conftest.$ac_objext conftest.beam
2765 if { { ac_try="$ac_compile"
2766 case "(($ac_try" in
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2769 esac
2770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2771 printf "%s\n" "$ac_try_echo"; } >&5
2772 (eval "$ac_compile") 2>conftest.err
2773 ac_status=$?
2774 if test -s conftest.err; then
2775 grep -v '^ *+' conftest.err >conftest.er1
2776 cat conftest.er1 >&5
2777 mv -f conftest.er1 conftest.err
2779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2780 test $ac_status = 0; } && {
2781 test -z "$ac_cxx_werror_flag" ||
2782 test ! -s conftest.err
2783 } && test -s conftest.$ac_objext
2784 then :
2785 ac_retval=0
2786 else $as_nop
2787 printf "%s\n" "$as_me: failed program was:" >&5
2788 sed 's/^/| /' conftest.$ac_ext >&5
2790 ac_retval=1
2792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2793 as_fn_set_status $ac_retval
2795 } # ac_fn_cxx_try_compile
2797 # ac_fn_c_try_link LINENO
2798 # -----------------------
2799 # Try to link conftest.$ac_ext, and return whether this succeeded.
2800 ac_fn_c_try_link ()
2802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2804 if { { ac_try="$ac_link"
2805 case "(($ac_try" in
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2808 esac
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 printf "%s\n" "$ac_try_echo"; } >&5
2811 (eval "$ac_link") 2>conftest.err
2812 ac_status=$?
2813 if test -s conftest.err; then
2814 grep -v '^ *+' conftest.err >conftest.er1
2815 cat conftest.er1 >&5
2816 mv -f conftest.er1 conftest.err
2818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2819 test $ac_status = 0; } && {
2820 test -z "$ac_c_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest$ac_exeext && {
2823 test "$cross_compiling" = yes ||
2824 test -x conftest$ac_exeext
2826 then :
2827 ac_retval=0
2828 else $as_nop
2829 printf "%s\n" "$as_me: failed program was:" >&5
2830 sed 's/^/| /' conftest.$ac_ext >&5
2832 ac_retval=1
2834 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2835 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2836 # interfere with the next link command; also delete a directory that is
2837 # left behind by Apple's compiler. We do this before executing the actions.
2838 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2840 as_fn_set_status $ac_retval
2842 } # ac_fn_c_try_link
2844 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2845 # -------------------------------------------------------
2846 # Tests whether HEADER exists and can be compiled using the include files in
2847 # INCLUDES, setting the cache variable VAR accordingly.
2848 ac_fn_c_check_header_compile ()
2850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2852 printf %s "checking for $2... " >&6; }
2853 if eval test \${$3+y}
2854 then :
2855 printf %s "(cached) " >&6
2856 else $as_nop
2857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2858 /* end confdefs.h. */
2860 #include <$2>
2861 _ACEOF
2862 if ac_fn_c_try_compile "$LINENO"
2863 then :
2864 eval "$3=yes"
2865 else $as_nop
2866 eval "$3=no"
2868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2870 eval ac_res=\$$3
2871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2872 printf "%s\n" "$ac_res" >&6; }
2873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2875 } # ac_fn_c_check_header_compile
2877 # ac_fn_objc_try_compile LINENO
2878 # -----------------------------
2879 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2880 ac_fn_objc_try_compile ()
2882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2883 rm -f conftest.$ac_objext conftest.beam
2884 if { { ac_try="$ac_compile"
2885 case "(($ac_try" in
2886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887 *) ac_try_echo=$ac_try;;
2888 esac
2889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2890 printf "%s\n" "$ac_try_echo"; } >&5
2891 (eval "$ac_compile") 2>conftest.err
2892 ac_status=$?
2893 if test -s conftest.err; then
2894 grep -v '^ *+' conftest.err >conftest.er1
2895 cat conftest.er1 >&5
2896 mv -f conftest.er1 conftest.err
2898 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2899 test $ac_status = 0; } && {
2900 test -z "$ac_objc_werror_flag" ||
2901 test ! -s conftest.err
2902 } && test -s conftest.$ac_objext
2903 then :
2904 ac_retval=0
2905 else $as_nop
2906 printf "%s\n" "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2909 ac_retval=1
2911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2912 as_fn_set_status $ac_retval
2914 } # ac_fn_objc_try_compile
2916 # ac_fn_c_check_func LINENO FUNC VAR
2917 # ----------------------------------
2918 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2919 ac_fn_c_check_func ()
2921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2923 printf %s "checking for $2... " >&6; }
2924 if eval test \${$3+y}
2925 then :
2926 printf %s "(cached) " >&6
2927 else $as_nop
2928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2930 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2932 #define $2 innocuous_$2
2934 /* System header to define __stub macros and hopefully few prototypes,
2935 which can conflict with char $2 (); below. */
2937 #include <limits.h>
2938 #undef $2
2940 /* Override any GCC internal prototype to avoid an error.
2941 Use char because int might match the return type of a GCC
2942 builtin and then its argument prototype would still apply. */
2943 #ifdef __cplusplus
2944 extern "C"
2945 #endif
2946 char $2 ();
2947 /* The GNU C library defines this for functions which it implements
2948 to always fail with ENOSYS. Some functions are actually named
2949 something starting with __ and the normal name is an alias. */
2950 #if defined __stub_$2 || defined __stub___$2
2951 choke me
2952 #endif
2955 main (void)
2957 return $2 ();
2959 return 0;
2961 _ACEOF
2962 if ac_fn_c_try_link "$LINENO"
2963 then :
2964 eval "$3=yes"
2965 else $as_nop
2966 eval "$3=no"
2968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2969 conftest$ac_exeext conftest.$ac_ext
2971 eval ac_res=\$$3
2972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2973 printf "%s\n" "$ac_res" >&6; }
2974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2976 } # ac_fn_c_check_func
2978 # ac_fn_c_try_cpp LINENO
2979 # ----------------------
2980 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2981 ac_fn_c_try_cpp ()
2983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2984 if { { ac_try="$ac_cpp conftest.$ac_ext"
2985 case "(($ac_try" in
2986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2988 esac
2989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990 printf "%s\n" "$ac_try_echo"; } >&5
2991 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2992 ac_status=$?
2993 if test -s conftest.err; then
2994 grep -v '^ *+' conftest.err >conftest.er1
2995 cat conftest.er1 >&5
2996 mv -f conftest.er1 conftest.err
2998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2999 test $ac_status = 0; } > conftest.i && {
3000 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3001 test ! -s conftest.err
3003 then :
3004 ac_retval=0
3005 else $as_nop
3006 printf "%s\n" "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3009 ac_retval=1
3011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3012 as_fn_set_status $ac_retval
3014 } # ac_fn_c_try_cpp
3016 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3017 # ----------------------------------------------------
3018 # Tries to find if the field MEMBER exists in type AGGR, after including
3019 # INCLUDES, setting cache variable VAR accordingly.
3020 ac_fn_c_check_member ()
3022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3024 printf %s "checking for $2.$3... " >&6; }
3025 if eval test \${$4+y}
3026 then :
3027 printf %s "(cached) " >&6
3028 else $as_nop
3029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3030 /* end confdefs.h. */
3033 main (void)
3035 static $2 ac_aggr;
3036 if (ac_aggr.$3)
3037 return 0;
3039 return 0;
3041 _ACEOF
3042 if ac_fn_c_try_compile "$LINENO"
3043 then :
3044 eval "$4=yes"
3045 else $as_nop
3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3050 main (void)
3052 static $2 ac_aggr;
3053 if (sizeof ac_aggr.$3)
3054 return 0;
3056 return 0;
3058 _ACEOF
3059 if ac_fn_c_try_compile "$LINENO"
3060 then :
3061 eval "$4=yes"
3062 else $as_nop
3063 eval "$4=no"
3065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3067 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3069 eval ac_res=\$$4
3070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3071 printf "%s\n" "$ac_res" >&6; }
3072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3074 } # ac_fn_c_check_member
3076 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3077 # -------------------------------------------
3078 # Tests whether TYPE exists after having included INCLUDES, setting cache
3079 # variable VAR accordingly.
3080 ac_fn_c_check_type ()
3082 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3084 printf %s "checking for $2... " >&6; }
3085 if eval test \${$3+y}
3086 then :
3087 printf %s "(cached) " >&6
3088 else $as_nop
3089 eval "$3=no"
3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3094 main (void)
3096 if (sizeof ($2))
3097 return 0;
3099 return 0;
3101 _ACEOF
3102 if ac_fn_c_try_compile "$LINENO"
3103 then :
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3108 main (void)
3110 if (sizeof (($2)))
3111 return 0;
3113 return 0;
3115 _ACEOF
3116 if ac_fn_c_try_compile "$LINENO"
3117 then :
3119 else $as_nop
3120 eval "$3=yes"
3122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3126 eval ac_res=\$$3
3127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3128 printf "%s\n" "$ac_res" >&6; }
3129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3131 } # ac_fn_c_check_type
3132 ac_configure_args_raw=
3133 for ac_arg
3135 case $ac_arg in
3136 *\'*)
3137 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3138 esac
3139 as_fn_append ac_configure_args_raw " '$ac_arg'"
3140 done
3142 case $ac_configure_args_raw in
3143 *$as_nl*)
3144 ac_safe_unquote= ;;
3146 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3147 ac_unsafe_a="$ac_unsafe_z#~"
3148 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3149 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3150 esac
3152 cat >config.log <<_ACEOF
3153 This file contains any messages produced by compilers while
3154 running configure, to aid debugging if configure makes a mistake.
3156 It was created by Wine $as_me 8.11, which was
3157 generated by GNU Autoconf 2.71. Invocation command line was
3159 $ $0$ac_configure_args_raw
3161 _ACEOF
3162 exec 5>>config.log
3164 cat <<_ASUNAME
3165 ## --------- ##
3166 ## Platform. ##
3167 ## --------- ##
3169 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3170 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3171 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3172 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3173 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3175 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3176 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3178 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3179 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3180 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3181 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3182 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3183 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3184 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3186 _ASUNAME
3188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189 for as_dir in $PATH
3191 IFS=$as_save_IFS
3192 case $as_dir in #(((
3193 '') as_dir=./ ;;
3194 */) ;;
3195 *) as_dir=$as_dir/ ;;
3196 esac
3197 printf "%s\n" "PATH: $as_dir"
3198 done
3199 IFS=$as_save_IFS
3201 } >&5
3203 cat >&5 <<_ACEOF
3206 ## ----------- ##
3207 ## Core tests. ##
3208 ## ----------- ##
3210 _ACEOF
3213 # Keep a trace of the command line.
3214 # Strip out --no-create and --no-recursion so they do not pile up.
3215 # Strip out --silent because we don't want to record it for future runs.
3216 # Also quote any args containing shell meta-characters.
3217 # Make two passes to allow for proper duplicate-argument suppression.
3218 ac_configure_args=
3219 ac_configure_args0=
3220 ac_configure_args1=
3221 ac_must_keep_next=false
3222 for ac_pass in 1 2
3224 for ac_arg
3226 case $ac_arg in
3227 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3228 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3229 | -silent | --silent | --silen | --sile | --sil)
3230 continue ;;
3231 *\'*)
3232 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3233 esac
3234 case $ac_pass in
3235 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3237 as_fn_append ac_configure_args1 " '$ac_arg'"
3238 if test $ac_must_keep_next = true; then
3239 ac_must_keep_next=false # Got value, back to normal.
3240 else
3241 case $ac_arg in
3242 *=* | --config-cache | -C | -disable-* | --disable-* \
3243 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3244 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3245 | -with-* | --with-* | -without-* | --without-* | --x)
3246 case "$ac_configure_args0 " in
3247 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3248 esac
3250 -* ) ac_must_keep_next=true ;;
3251 esac
3253 as_fn_append ac_configure_args " '$ac_arg'"
3255 esac
3256 done
3257 done
3258 { ac_configure_args0=; unset ac_configure_args0;}
3259 { ac_configure_args1=; unset ac_configure_args1;}
3261 # When interrupted or exit'd, cleanup temporary files, and complete
3262 # config.log. We remove comments because anyway the quotes in there
3263 # would cause problems or look ugly.
3264 # WARNING: Use '\'' to represent an apostrophe within the trap.
3265 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3266 trap 'exit_status=$?
3267 # Sanitize IFS.
3268 IFS=" "" $as_nl"
3269 # Save into config.log some information that might help in debugging.
3271 echo
3273 printf "%s\n" "## ---------------- ##
3274 ## Cache variables. ##
3275 ## ---------------- ##"
3276 echo
3277 # The following way of writing the cache mishandles newlines in values,
3279 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3280 eval ac_val=\$$ac_var
3281 case $ac_val in #(
3282 *${as_nl}*)
3283 case $ac_var in #(
3284 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3285 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3286 esac
3287 case $ac_var in #(
3288 _ | IFS | as_nl) ;; #(
3289 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3290 *) { eval $ac_var=; unset $ac_var;} ;;
3291 esac ;;
3292 esac
3293 done
3294 (set) 2>&1 |
3295 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3296 *${as_nl}ac_space=\ *)
3297 sed -n \
3298 "s/'\''/'\''\\\\'\'''\''/g;
3299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3300 ;; #(
3302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3304 esac |
3305 sort
3307 echo
3309 printf "%s\n" "## ----------------- ##
3310 ## Output variables. ##
3311 ## ----------------- ##"
3312 echo
3313 for ac_var in $ac_subst_vars
3315 eval ac_val=\$$ac_var
3316 case $ac_val in
3317 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3318 esac
3319 printf "%s\n" "$ac_var='\''$ac_val'\''"
3320 done | sort
3321 echo
3323 if test -n "$ac_subst_files"; then
3324 printf "%s\n" "## ------------------- ##
3325 ## File substitutions. ##
3326 ## ------------------- ##"
3327 echo
3328 for ac_var in $ac_subst_files
3330 eval ac_val=\$$ac_var
3331 case $ac_val in
3332 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3333 esac
3334 printf "%s\n" "$ac_var='\''$ac_val'\''"
3335 done | sort
3336 echo
3339 if test -s confdefs.h; then
3340 printf "%s\n" "## ----------- ##
3341 ## confdefs.h. ##
3342 ## ----------- ##"
3343 echo
3344 cat confdefs.h
3345 echo
3347 test "$ac_signal" != 0 &&
3348 printf "%s\n" "$as_me: caught signal $ac_signal"
3349 printf "%s\n" "$as_me: exit $exit_status"
3350 } >&5
3351 rm -f core *.core core.conftest.* &&
3352 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3353 exit $exit_status
3355 for ac_signal in 1 2 13 15; do
3356 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3357 done
3358 ac_signal=0
3360 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3361 rm -f -r conftest* confdefs.h
3363 printf "%s\n" "/* confdefs.h */" > confdefs.h
3365 # Predefined preprocessor variables.
3367 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3369 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3371 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3373 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3375 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3377 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3380 # Let the site file select an alternate cache file if it wants to.
3381 # Prefer an explicitly selected file to automatically selected ones.
3382 if test -n "$CONFIG_SITE"; then
3383 ac_site_files="$CONFIG_SITE"
3384 elif test "x$prefix" != xNONE; then
3385 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3386 else
3387 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3390 for ac_site_file in $ac_site_files
3392 case $ac_site_file in #(
3393 */*) :
3394 ;; #(
3395 *) :
3396 ac_site_file=./$ac_site_file ;;
3397 esac
3398 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3400 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3401 sed 's/^/| /' "$ac_site_file" >&5
3402 . "$ac_site_file" \
3403 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3404 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3405 as_fn_error $? "failed to load site script $ac_site_file
3406 See \`config.log' for more details" "$LINENO" 5; }
3408 done
3410 if test -r "$cache_file"; then
3411 # Some versions of bash will fail to source /dev/null (special files
3412 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3413 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3415 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3416 case $cache_file in
3417 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3418 *) . "./$cache_file";;
3419 esac
3421 else
3422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3423 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3424 >$cache_file
3427 # Test code for whether the C compiler supports C89 (global declarations)
3428 ac_c_conftest_c89_globals='
3429 /* Does the compiler advertise C89 conformance?
3430 Do not test the value of __STDC__, because some compilers set it to 0
3431 while being otherwise adequately conformant. */
3432 #if !defined __STDC__
3433 # error "Compiler does not advertise C89 conformance"
3434 #endif
3436 #include <stddef.h>
3437 #include <stdarg.h>
3438 struct stat;
3439 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3440 struct buf { int x; };
3441 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3442 static char *e (p, i)
3443 char **p;
3444 int i;
3446 return p[i];
3448 static char *f (char * (*g) (char **, int), char **p, ...)
3450 char *s;
3451 va_list v;
3452 va_start (v,p);
3453 s = g (p, va_arg (v,int));
3454 va_end (v);
3455 return s;
3458 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3459 function prototypes and stuff, but not \xHH hex character constants.
3460 These do not provoke an error unfortunately, instead are silently treated
3461 as an "x". The following induces an error, until -std is added to get
3462 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3463 array size at least. It is necessary to write \x00 == 0 to get something
3464 that is true only with -std. */
3465 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3467 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3468 inside strings and character constants. */
3469 #define FOO(x) '\''x'\''
3470 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3472 int test (int i, double x);
3473 struct s1 {int (*f) (int a);};
3474 struct s2 {int (*f) (double a);};
3475 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3476 int, int);'
3478 # Test code for whether the C compiler supports C89 (body of main).
3479 ac_c_conftest_c89_main='
3480 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3483 # Test code for whether the C compiler supports C99 (global declarations)
3484 ac_c_conftest_c99_globals='
3485 // Does the compiler advertise C99 conformance?
3486 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3487 # error "Compiler does not advertise C99 conformance"
3488 #endif
3490 #include <stdbool.h>
3491 extern int puts (const char *);
3492 extern int printf (const char *, ...);
3493 extern int dprintf (int, const char *, ...);
3494 extern void *malloc (size_t);
3496 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3497 // dprintf is used instead of fprintf to avoid needing to declare
3498 // FILE and stderr.
3499 #define debug(...) dprintf (2, __VA_ARGS__)
3500 #define showlist(...) puts (#__VA_ARGS__)
3501 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3502 static void
3503 test_varargs_macros (void)
3505 int x = 1234;
3506 int y = 5678;
3507 debug ("Flag");
3508 debug ("X = %d\n", x);
3509 showlist (The first, second, and third items.);
3510 report (x>y, "x is %d but y is %d", x, y);
3513 // Check long long types.
3514 #define BIG64 18446744073709551615ull
3515 #define BIG32 4294967295ul
3516 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3517 #if !BIG_OK
3518 #error "your preprocessor is broken"
3519 #endif
3520 #if BIG_OK
3521 #else
3522 #error "your preprocessor is broken"
3523 #endif
3524 static long long int bignum = -9223372036854775807LL;
3525 static unsigned long long int ubignum = BIG64;
3527 struct incomplete_array
3529 int datasize;
3530 double data[];
3533 struct named_init {
3534 int number;
3535 const wchar_t *name;
3536 double average;
3539 typedef const char *ccp;
3541 static inline int
3542 test_restrict (ccp restrict text)
3544 // See if C++-style comments work.
3545 // Iterate through items via the restricted pointer.
3546 // Also check for declarations in for loops.
3547 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3548 continue;
3549 return 0;
3552 // Check varargs and va_copy.
3553 static bool
3554 test_varargs (const char *format, ...)
3556 va_list args;
3557 va_start (args, format);
3558 va_list args_copy;
3559 va_copy (args_copy, args);
3561 const char *str = "";
3562 int number = 0;
3563 float fnumber = 0;
3565 while (*format)
3567 switch (*format++)
3569 case '\''s'\'': // string
3570 str = va_arg (args_copy, const char *);
3571 break;
3572 case '\''d'\'': // int
3573 number = va_arg (args_copy, int);
3574 break;
3575 case '\''f'\'': // float
3576 fnumber = va_arg (args_copy, double);
3577 break;
3578 default:
3579 break;
3582 va_end (args_copy);
3583 va_end (args);
3585 return *str && number && fnumber;
3589 # Test code for whether the C compiler supports C99 (body of main).
3590 ac_c_conftest_c99_main='
3591 // Check bool.
3592 _Bool success = false;
3593 success |= (argc != 0);
3595 // Check restrict.
3596 if (test_restrict ("String literal") == 0)
3597 success = true;
3598 char *restrict newvar = "Another string";
3600 // Check varargs.
3601 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3602 test_varargs_macros ();
3604 // Check flexible array members.
3605 struct incomplete_array *ia =
3606 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3607 ia->datasize = 10;
3608 for (int i = 0; i < ia->datasize; ++i)
3609 ia->data[i] = i * 1.234;
3611 // Check named initializers.
3612 struct named_init ni = {
3613 .number = 34,
3614 .name = L"Test wide string",
3615 .average = 543.34343,
3618 ni.number = 58;
3620 int dynamic_array[ni.number];
3621 dynamic_array[0] = argv[0][0];
3622 dynamic_array[ni.number - 1] = 543;
3624 // work around unused variable warnings
3625 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3626 || dynamic_array[ni.number - 1] != 543);
3629 # Test code for whether the C compiler supports C11 (global declarations)
3630 ac_c_conftest_c11_globals='
3631 // Does the compiler advertise C11 conformance?
3632 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3633 # error "Compiler does not advertise C11 conformance"
3634 #endif
3636 // Check _Alignas.
3637 char _Alignas (double) aligned_as_double;
3638 char _Alignas (0) no_special_alignment;
3639 extern char aligned_as_int;
3640 char _Alignas (0) _Alignas (int) aligned_as_int;
3642 // Check _Alignof.
3643 enum
3645 int_alignment = _Alignof (int),
3646 int_array_alignment = _Alignof (int[100]),
3647 char_alignment = _Alignof (char)
3649 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3651 // Check _Noreturn.
3652 int _Noreturn does_not_return (void) { for (;;) continue; }
3654 // Check _Static_assert.
3655 struct test_static_assert
3657 int x;
3658 _Static_assert (sizeof (int) <= sizeof (long int),
3659 "_Static_assert does not work in struct");
3660 long int y;
3663 // Check UTF-8 literals.
3664 #define u8 syntax error!
3665 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3667 // Check duplicate typedefs.
3668 typedef long *long_ptr;
3669 typedef long int *long_ptr;
3670 typedef long_ptr long_ptr;
3672 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3673 struct anonymous
3675 union {
3676 struct { int i; int j; };
3677 struct { int k; long int l; } w;
3679 int m;
3680 } v1;
3683 # Test code for whether the C compiler supports C11 (body of main).
3684 ac_c_conftest_c11_main='
3685 _Static_assert ((offsetof (struct anonymous, i)
3686 == offsetof (struct anonymous, w.k)),
3687 "Anonymous union alignment botch");
3688 v1.i = 2;
3689 v1.w.k = 5;
3690 ok |= v1.i != 5;
3693 # Test code for whether the C compiler supports C11 (complete).
3694 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3695 ${ac_c_conftest_c99_globals}
3696 ${ac_c_conftest_c11_globals}
3699 main (int argc, char **argv)
3701 int ok = 0;
3702 ${ac_c_conftest_c89_main}
3703 ${ac_c_conftest_c99_main}
3704 ${ac_c_conftest_c11_main}
3705 return ok;
3709 # Test code for whether the C compiler supports C99 (complete).
3710 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3711 ${ac_c_conftest_c99_globals}
3714 main (int argc, char **argv)
3716 int ok = 0;
3717 ${ac_c_conftest_c89_main}
3718 ${ac_c_conftest_c99_main}
3719 return ok;
3723 # Test code for whether the C compiler supports C89 (complete).
3724 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3727 main (int argc, char **argv)
3729 int ok = 0;
3730 ${ac_c_conftest_c89_main}
3731 return ok;
3735 # Test code for whether the C++ compiler supports C++98 (global declarations)
3736 ac_cxx_conftest_cxx98_globals='
3737 // Does the compiler advertise C++98 conformance?
3738 #if !defined __cplusplus || __cplusplus < 199711L
3739 # error "Compiler does not advertise C++98 conformance"
3740 #endif
3742 // These inclusions are to reject old compilers that
3743 // lack the unsuffixed header files.
3744 #include <cstdlib>
3745 #include <exception>
3747 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3748 extern void assert (int);
3749 namespace std {
3750 extern int strcmp (const char *, const char *);
3753 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3754 using std::exception;
3755 using std::strcmp;
3757 namespace {
3759 void test_exception_syntax()
3761 try {
3762 throw "test";
3763 } catch (const char *s) {
3764 // Extra parentheses suppress a warning when building autoconf itself,
3765 // due to lint rules shared with more typical C programs.
3766 assert (!(strcmp) (s, "test"));
3770 template <typename T> struct test_template
3772 T const val;
3773 explicit test_template(T t) : val(t) {}
3774 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3777 } // anonymous namespace
3780 # Test code for whether the C++ compiler supports C++98 (body of main)
3781 ac_cxx_conftest_cxx98_main='
3782 assert (argc);
3783 assert (! argv[0]);
3785 test_exception_syntax ();
3786 test_template<double> tt (2.0);
3787 assert (tt.add (4) == 6.0);
3788 assert (true && !false);
3792 # Test code for whether the C++ compiler supports C++11 (global declarations)
3793 ac_cxx_conftest_cxx11_globals='
3794 // Does the compiler advertise C++ 2011 conformance?
3795 #if !defined __cplusplus || __cplusplus < 201103L
3796 # error "Compiler does not advertise C++11 conformance"
3797 #endif
3799 namespace cxx11test
3801 constexpr int get_val() { return 20; }
3803 struct testinit
3805 int i;
3806 double d;
3809 class delegate
3811 public:
3812 delegate(int n) : n(n) {}
3813 delegate(): delegate(2354) {}
3815 virtual int getval() { return this->n; };
3816 protected:
3817 int n;
3820 class overridden : public delegate
3822 public:
3823 overridden(int n): delegate(n) {}
3824 virtual int getval() override final { return this->n * 2; }
3827 class nocopy
3829 public:
3830 nocopy(int i): i(i) {}
3831 nocopy() = default;
3832 nocopy(const nocopy&) = delete;
3833 nocopy & operator=(const nocopy&) = delete;
3834 private:
3835 int i;
3838 // for testing lambda expressions
3839 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3841 return f(v);
3844 // for testing variadic templates and trailing return types
3845 template <typename V> auto sum(V first) -> V
3847 return first;
3849 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3851 return first + sum(rest...);
3856 # Test code for whether the C++ compiler supports C++11 (body of main)
3857 ac_cxx_conftest_cxx11_main='
3859 // Test auto and decltype
3860 auto a1 = 6538;
3861 auto a2 = 48573953.4;
3862 auto a3 = "String literal";
3864 int total = 0;
3865 for (auto i = a3; *i; ++i) { total += *i; }
3867 decltype(a2) a4 = 34895.034;
3870 // Test constexpr
3871 short sa[cxx11test::get_val()] = { 0 };
3874 // Test initializer lists
3875 cxx11test::testinit il = { 4323, 435234.23544 };
3878 // Test range-based for
3879 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3880 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3881 for (auto &x : array) { x += 23; }
3884 // Test lambda expressions
3885 using cxx11test::eval;
3886 assert (eval ([](int x) { return x*2; }, 21) == 42);
3887 double d = 2.0;
3888 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3889 assert (d == 5.0);
3890 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3891 assert (d == 5.0);
3894 // Test use of variadic templates
3895 using cxx11test::sum;
3896 auto a = sum(1);
3897 auto b = sum(1, 2);
3898 auto c = sum(1.0, 2.0, 3.0);
3901 // Test constructor delegation
3902 cxx11test::delegate d1;
3903 cxx11test::delegate d2();
3904 cxx11test::delegate d3(45);
3907 // Test override and final
3908 cxx11test::overridden o1(55464);
3911 // Test nullptr
3912 char *c = nullptr;
3915 // Test template brackets
3916 test_template<::test_template<int>> v(test_template<int>(12));
3919 // Unicode literals
3920 char const *utf8 = u8"UTF-8 string \u2500";
3921 char16_t const *utf16 = u"UTF-8 string \u2500";
3922 char32_t const *utf32 = U"UTF-32 string \u2500";
3926 # Test code for whether the C compiler supports C++11 (complete).
3927 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3928 ${ac_cxx_conftest_cxx11_globals}
3931 main (int argc, char **argv)
3933 int ok = 0;
3934 ${ac_cxx_conftest_cxx98_main}
3935 ${ac_cxx_conftest_cxx11_main}
3936 return ok;
3940 # Test code for whether the C compiler supports C++98 (complete).
3941 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3943 main (int argc, char **argv)
3945 int ok = 0;
3946 ${ac_cxx_conftest_cxx98_main}
3947 return ok;
3951 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3952 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3953 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3954 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3955 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3956 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3957 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3958 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3959 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3961 # Auxiliary files required by this configure script.
3962 ac_aux_files="config.guess config.sub"
3964 # Locations in which to look for auxiliary files.
3965 ac_aux_dir_candidates="${srcdir}/tools"
3967 # Search for a directory containing all of the required auxiliary files,
3968 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3969 # If we don't find one directory that contains all the files we need,
3970 # we report the set of missing files from the *first* directory in
3971 # $ac_aux_dir_candidates and give up.
3972 ac_missing_aux_files=""
3973 ac_first_candidate=:
3974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 as_found=false
3977 for as_dir in $ac_aux_dir_candidates
3979 IFS=$as_save_IFS
3980 case $as_dir in #(((
3981 '') as_dir=./ ;;
3982 */) ;;
3983 *) as_dir=$as_dir/ ;;
3984 esac
3985 as_found=:
3987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3988 ac_aux_dir_found=yes
3989 ac_install_sh=
3990 for ac_aux in $ac_aux_files
3992 # As a special case, if "install-sh" is required, that requirement
3993 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3994 # and $ac_install_sh is set appropriately for whichever one is found.
3995 if test x"$ac_aux" = x"install-sh"
3996 then
3997 if test -f "${as_dir}install-sh"; then
3998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3999 ac_install_sh="${as_dir}install-sh -c"
4000 elif test -f "${as_dir}install.sh"; then
4001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4002 ac_install_sh="${as_dir}install.sh -c"
4003 elif test -f "${as_dir}shtool"; then
4004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4005 ac_install_sh="${as_dir}shtool install -c"
4006 else
4007 ac_aux_dir_found=no
4008 if $ac_first_candidate; then
4009 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4010 else
4011 break
4014 else
4015 if test -f "${as_dir}${ac_aux}"; then
4016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4017 else
4018 ac_aux_dir_found=no
4019 if $ac_first_candidate; then
4020 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4021 else
4022 break
4026 done
4027 if test "$ac_aux_dir_found" = yes; then
4028 ac_aux_dir="$as_dir"
4029 break
4031 ac_first_candidate=false
4033 as_found=false
4034 done
4035 IFS=$as_save_IFS
4036 if $as_found
4037 then :
4039 else $as_nop
4040 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4044 # These three variables are undocumented and unsupported,
4045 # and are intended to be withdrawn in a future Autoconf release.
4046 # They can cause serious problems if a builder's source tree is in a directory
4047 # whose full name contains unusual characters.
4048 if test -f "${ac_aux_dir}config.guess"; then
4049 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4051 if test -f "${ac_aux_dir}config.sub"; then
4052 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4054 if test -f "$ac_aux_dir/configure"; then
4055 ac_configure="$SHELL ${ac_aux_dir}configure"
4058 # Check that the precious variables saved in the cache have kept the same
4059 # value.
4060 ac_cache_corrupted=false
4061 for ac_var in $ac_precious_vars; do
4062 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4063 eval ac_new_set=\$ac_env_${ac_var}_set
4064 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4065 eval ac_new_val=\$ac_env_${ac_var}_value
4066 case $ac_old_set,$ac_new_set in
4067 set,)
4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4069 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4070 ac_cache_corrupted=: ;;
4071 ,set)
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4073 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4074 ac_cache_corrupted=: ;;
4075 ,);;
4077 if test "x$ac_old_val" != "x$ac_new_val"; then
4078 # differences in whitespace do not lead to failure.
4079 ac_old_val_w=`echo x $ac_old_val`
4080 ac_new_val_w=`echo x $ac_new_val`
4081 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4083 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4084 ac_cache_corrupted=:
4085 else
4086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4087 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4088 eval $ac_var=\$ac_old_val
4090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4091 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4093 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4094 fi;;
4095 esac
4096 # Pass precious variables to config.status.
4097 if test "$ac_new_set" = set; then
4098 case $ac_new_val in
4099 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4100 *) ac_arg=$ac_var=$ac_new_val ;;
4101 esac
4102 case " $ac_configure_args " in
4103 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4104 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4105 esac
4107 done
4108 if $ac_cache_corrupted; then
4109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4110 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4112 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4113 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4114 and start over" "$LINENO" 5
4116 ## -------------------- ##
4117 ## Main body of script. ##
4118 ## -------------------- ##
4120 ac_ext=c
4121 ac_cpp='$CPP $CPPFLAGS'
4122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4128 ac_config_headers="$ac_config_headers include/config.h"
4132 libwine_version="1.0"
4135 # Check whether --enable-archs was given.
4136 if test ${enable_archs+y}
4137 then :
4138 enableval=$enable_archs;
4141 # Check whether --enable-win16 was given.
4142 if test ${enable_win16+y}
4143 then :
4144 enableval=$enable_win16;
4147 # Check whether --enable-win64 was given.
4148 if test ${enable_win64+y}
4149 then :
4150 enableval=$enable_win64;
4153 # Check whether --enable-tests was given.
4154 if test ${enable_tests+y}
4155 then :
4156 enableval=$enable_tests;
4159 # Check whether --enable-build-id was given.
4160 if test ${enable_build_id+y}
4161 then :
4162 enableval=$enable_build_id;
4165 # Check whether --enable-maintainer-mode was given.
4166 if test ${enable_maintainer_mode+y}
4167 then :
4168 enableval=$enable_maintainer_mode;
4171 # Check whether --enable-silent-rules was given.
4172 if test ${enable_silent_rules+y}
4173 then :
4174 enableval=$enable_silent_rules;
4177 # Check whether --enable-werror was given.
4178 if test ${enable_werror+y}
4179 then :
4180 enableval=$enable_werror;
4185 # Check whether --with-alsa was given.
4186 if test ${with_alsa+y}
4187 then :
4188 withval=$with_alsa;
4192 # Check whether --with-capi was given.
4193 if test ${with_capi+y}
4194 then :
4195 withval=$with_capi;
4199 # Check whether --with-coreaudio was given.
4200 if test ${with_coreaudio+y}
4201 then :
4202 withval=$with_coreaudio;
4206 # Check whether --with-cups was given.
4207 if test ${with_cups+y}
4208 then :
4209 withval=$with_cups;
4213 # Check whether --with-dbus was given.
4214 if test ${with_dbus+y}
4215 then :
4216 withval=$with_dbus;
4220 # Check whether --with-float-abi was given.
4221 if test ${with_float_abi+y}
4222 then :
4223 withval=$with_float_abi;
4227 # Check whether --with-fontconfig was given.
4228 if test ${with_fontconfig+y}
4229 then :
4230 withval=$with_fontconfig;
4234 # Check whether --with-freetype was given.
4235 if test ${with_freetype+y}
4236 then :
4237 withval=$with_freetype;
4241 # Check whether --with-gettext was given.
4242 if test ${with_gettext+y}
4243 then :
4244 withval=$with_gettext;
4248 # Check whether --with-gettextpo was given.
4249 if test ${with_gettextpo+y}
4250 then :
4251 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4255 # Check whether --with-gphoto was given.
4256 if test ${with_gphoto+y}
4257 then :
4258 withval=$with_gphoto;
4262 # Check whether --with-gnutls was given.
4263 if test ${with_gnutls+y}
4264 then :
4265 withval=$with_gnutls;
4269 # Check whether --with-gssapi was given.
4270 if test ${with_gssapi+y}
4271 then :
4272 withval=$with_gssapi;
4276 # Check whether --with-gstreamer was given.
4277 if test ${with_gstreamer+y}
4278 then :
4279 withval=$with_gstreamer;
4283 # Check whether --with-inotify was given.
4284 if test ${with_inotify+y}
4285 then :
4286 withval=$with_inotify;
4290 # Check whether --with-krb5 was given.
4291 if test ${with_krb5+y}
4292 then :
4293 withval=$with_krb5;
4297 # Check whether --with-mingw was given.
4298 if test ${with_mingw+y}
4299 then :
4300 withval=$with_mingw;
4304 # Check whether --with-netapi was given.
4305 if test ${with_netapi+y}
4306 then :
4307 withval=$with_netapi;
4311 # Check whether --with-opencl was given.
4312 if test ${with_opencl+y}
4313 then :
4314 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4318 # Check whether --with-opengl was given.
4319 if test ${with_opengl+y}
4320 then :
4321 withval=$with_opengl;
4325 # Check whether --with-osmesa was given.
4326 if test ${with_osmesa+y}
4327 then :
4328 withval=$with_osmesa;
4332 # Check whether --with-oss was given.
4333 if test ${with_oss+y}
4334 then :
4335 withval=$with_oss;
4339 # Check whether --with-pcap was given.
4340 if test ${with_pcap+y}
4341 then :
4342 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4346 # Check whether --with-pcsclite was given.
4347 if test ${with_pcsclite+y}
4348 then :
4349 withval=$with_pcsclite;
4353 # Check whether --with-pthread was given.
4354 if test ${with_pthread+y}
4355 then :
4356 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4360 # Check whether --with-pulse was given.
4361 if test ${with_pulse+y}
4362 then :
4363 withval=$with_pulse;
4367 # Check whether --with-sane was given.
4368 if test ${with_sane+y}
4369 then :
4370 withval=$with_sane;
4374 # Check whether --with-sdl was given.
4375 if test ${with_sdl+y}
4376 then :
4377 withval=$with_sdl;
4381 # Check whether --with-udev was given.
4382 if test ${with_udev+y}
4383 then :
4384 withval=$with_udev;
4388 # Check whether --with-unwind was given.
4389 if test ${with_unwind+y}
4390 then :
4391 withval=$with_unwind;
4395 # Check whether --with-usb was given.
4396 if test ${with_usb+y}
4397 then :
4398 withval=$with_usb;
4402 # Check whether --with-v4l2 was given.
4403 if test ${with_v4l2+y}
4404 then :
4405 withval=$with_v4l2;
4409 # Check whether --with-vulkan was given.
4410 if test ${with_vulkan+y}
4411 then :
4412 withval=$with_vulkan;
4416 # Check whether --with-wayland was given.
4417 if test ${with_wayland+y}
4418 then :
4419 withval=$with_wayland;
4423 # Check whether --with-xcomposite was given.
4424 if test ${with_xcomposite+y}
4425 then :
4426 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4430 # Check whether --with-xcursor was given.
4431 if test ${with_xcursor+y}
4432 then :
4433 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4437 # Check whether --with-xfixes was given.
4438 if test ${with_xfixes+y}
4439 then :
4440 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4444 # Check whether --with-xinerama was given.
4445 if test ${with_xinerama+y}
4446 then :
4447 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4451 # Check whether --with-xinput was given.
4452 if test ${with_xinput+y}
4453 then :
4454 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4458 # Check whether --with-xinput2 was given.
4459 if test ${with_xinput2+y}
4460 then :
4461 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4465 # Check whether --with-xrandr was given.
4466 if test ${with_xrandr+y}
4467 then :
4468 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4472 # Check whether --with-xrender was given.
4473 if test ${with_xrender+y}
4474 then :
4475 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4479 # Check whether --with-xshape was given.
4480 if test ${with_xshape+y}
4481 then :
4482 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4486 # Check whether --with-xshm was given.
4487 if test ${with_xshm+y}
4488 then :
4489 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4493 # Check whether --with-xxf86vm was given.
4494 if test ${with_xxf86vm+y}
4495 then :
4496 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
4501 # Check whether --with-system-dllpath was given.
4502 if test ${with_system_dllpath+y}
4503 then :
4504 withval=$with_system_dllpath; system_dllpath=$withval
4509 # Check whether --with-wine-tools was given.
4510 if test ${with_wine_tools+y}
4511 then :
4512 withval=$with_wine_tools;
4516 # Check whether --with-wine64 was given.
4517 if test ${with_wine64+y}
4518 then :
4519 withval=$with_wine64;
4526 # Make sure we can run config.sub.
4527 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4528 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4531 printf %s "checking build system type... " >&6; }
4532 if test ${ac_cv_build+y}
4533 then :
4534 printf %s "(cached) " >&6
4535 else $as_nop
4536 ac_build_alias=$build_alias
4537 test "x$ac_build_alias" = x &&
4538 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4539 test "x$ac_build_alias" = x &&
4540 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4541 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4542 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4546 printf "%s\n" "$ac_cv_build" >&6; }
4547 case $ac_cv_build in
4548 *-*-*) ;;
4549 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4550 esac
4551 build=$ac_cv_build
4552 ac_save_IFS=$IFS; IFS='-'
4553 set x $ac_cv_build
4554 shift
4555 build_cpu=$1
4556 build_vendor=$2
4557 shift; shift
4558 # Remember, the first character of IFS is used to create $*,
4559 # except with old shells:
4560 build_os=$*
4561 IFS=$ac_save_IFS
4562 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4566 printf %s "checking host system type... " >&6; }
4567 if test ${ac_cv_host+y}
4568 then :
4569 printf %s "(cached) " >&6
4570 else $as_nop
4571 if test "x$host_alias" = x; then
4572 ac_cv_host=$ac_cv_build
4573 else
4574 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4575 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4580 printf "%s\n" "$ac_cv_host" >&6; }
4581 case $ac_cv_host in
4582 *-*-*) ;;
4583 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4584 esac
4585 host=$ac_cv_host
4586 ac_save_IFS=$IFS; IFS='-'
4587 set x $ac_cv_host
4588 shift
4589 host_cpu=$1
4590 host_vendor=$2
4591 shift; shift
4592 # Remember, the first character of IFS is used to create $*,
4593 # except with old shells:
4594 host_os=$*
4595 IFS=$ac_save_IFS
4596 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4600 dlldir=\${libdir}/wine
4602 fontdir=\${datadir}/wine/fonts
4604 nlsdir=\${datadir}/wine/nls
4609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4610 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4611 set x ${MAKE-make}
4612 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4613 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4614 then :
4615 printf %s "(cached) " >&6
4616 else $as_nop
4617 cat >conftest.make <<\_ACEOF
4618 SHELL = /bin/sh
4619 all:
4620 @echo '@@@%%%=$(MAKE)=@@@%%%'
4621 _ACEOF
4622 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4623 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4624 *@@@%%%=?*=@@@%%%*)
4625 eval ac_cv_prog_make_${ac_make}_set=yes;;
4627 eval ac_cv_prog_make_${ac_make}_set=no;;
4628 esac
4629 rm -f conftest.make
4631 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4633 printf "%s\n" "yes" >&6; }
4634 SET_MAKE=
4635 else
4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 printf "%s\n" "no" >&6; }
4638 SET_MAKE="MAKE=${MAKE-make}"
4650 ac_ext=c
4651 ac_cpp='$CPP $CPPFLAGS'
4652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4655 if test -n "$ac_tool_prefix"; then
4656 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4657 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 printf %s "checking for $ac_word... " >&6; }
4660 if test ${ac_cv_prog_CC+y}
4661 then :
4662 printf %s "(cached) " >&6
4663 else $as_nop
4664 if test -n "$CC"; then
4665 ac_cv_prog_CC="$CC" # Let the user override the test.
4666 else
4667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4668 for as_dir in $PATH
4670 IFS=$as_save_IFS
4671 case $as_dir in #(((
4672 '') as_dir=./ ;;
4673 */) ;;
4674 *) as_dir=$as_dir/ ;;
4675 esac
4676 for ac_exec_ext in '' $ac_executable_extensions; do
4677 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4678 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4680 break 2
4682 done
4683 done
4684 IFS=$as_save_IFS
4688 CC=$ac_cv_prog_CC
4689 if test -n "$CC"; then
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4691 printf "%s\n" "$CC" >&6; }
4692 else
4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4694 printf "%s\n" "no" >&6; }
4699 if test -z "$ac_cv_prog_CC"; then
4700 ac_ct_CC=$CC
4701 # Extract the first word of "gcc", so it can be a program name with args.
4702 set dummy gcc; ac_word=$2
4703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4704 printf %s "checking for $ac_word... " >&6; }
4705 if test ${ac_cv_prog_ac_ct_CC+y}
4706 then :
4707 printf %s "(cached) " >&6
4708 else $as_nop
4709 if test -n "$ac_ct_CC"; then
4710 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4711 else
4712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4713 for as_dir in $PATH
4715 IFS=$as_save_IFS
4716 case $as_dir in #(((
4717 '') as_dir=./ ;;
4718 */) ;;
4719 *) as_dir=$as_dir/ ;;
4720 esac
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4723 ac_cv_prog_ac_ct_CC="gcc"
4724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4725 break 2
4727 done
4728 done
4729 IFS=$as_save_IFS
4733 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4734 if test -n "$ac_ct_CC"; then
4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4736 printf "%s\n" "$ac_ct_CC" >&6; }
4737 else
4738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 printf "%s\n" "no" >&6; }
4742 if test "x$ac_ct_CC" = x; then
4743 CC=""
4744 else
4745 case $cross_compiling:$ac_tool_warned in
4746 yes:)
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4748 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4749 ac_tool_warned=yes ;;
4750 esac
4751 CC=$ac_ct_CC
4753 else
4754 CC="$ac_cv_prog_CC"
4757 if test -z "$CC"; then
4758 if test -n "$ac_tool_prefix"; then
4759 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4760 set dummy ${ac_tool_prefix}cc; ac_word=$2
4761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4762 printf %s "checking for $ac_word... " >&6; }
4763 if test ${ac_cv_prog_CC+y}
4764 then :
4765 printf %s "(cached) " >&6
4766 else $as_nop
4767 if test -n "$CC"; then
4768 ac_cv_prog_CC="$CC" # Let the user override the test.
4769 else
4770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4771 for as_dir in $PATH
4773 IFS=$as_save_IFS
4774 case $as_dir in #(((
4775 '') as_dir=./ ;;
4776 */) ;;
4777 *) as_dir=$as_dir/ ;;
4778 esac
4779 for ac_exec_ext in '' $ac_executable_extensions; do
4780 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4781 ac_cv_prog_CC="${ac_tool_prefix}cc"
4782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4783 break 2
4785 done
4786 done
4787 IFS=$as_save_IFS
4791 CC=$ac_cv_prog_CC
4792 if test -n "$CC"; then
4793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4794 printf "%s\n" "$CC" >&6; }
4795 else
4796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797 printf "%s\n" "no" >&6; }
4803 if test -z "$CC"; then
4804 # Extract the first word of "cc", so it can be a program name with args.
4805 set dummy cc; ac_word=$2
4806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4807 printf %s "checking for $ac_word... " >&6; }
4808 if test ${ac_cv_prog_CC+y}
4809 then :
4810 printf %s "(cached) " >&6
4811 else $as_nop
4812 if test -n "$CC"; then
4813 ac_cv_prog_CC="$CC" # Let the user override the test.
4814 else
4815 ac_prog_rejected=no
4816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4817 for as_dir in $PATH
4819 IFS=$as_save_IFS
4820 case $as_dir in #(((
4821 '') as_dir=./ ;;
4822 */) ;;
4823 *) as_dir=$as_dir/ ;;
4824 esac
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4827 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4828 ac_prog_rejected=yes
4829 continue
4831 ac_cv_prog_CC="cc"
4832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4833 break 2
4835 done
4836 done
4837 IFS=$as_save_IFS
4839 if test $ac_prog_rejected = yes; then
4840 # We found a bogon in the path, so make sure we never use it.
4841 set dummy $ac_cv_prog_CC
4842 shift
4843 if test $# != 0; then
4844 # We chose a different compiler from the bogus one.
4845 # However, it has the same basename, so the bogon will be chosen
4846 # first if we set CC to just the basename; use the full file name.
4847 shift
4848 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4853 CC=$ac_cv_prog_CC
4854 if test -n "$CC"; then
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4856 printf "%s\n" "$CC" >&6; }
4857 else
4858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 printf "%s\n" "no" >&6; }
4864 if test -z "$CC"; then
4865 if test -n "$ac_tool_prefix"; then
4866 for ac_prog in cl.exe
4868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4869 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 printf %s "checking for $ac_word... " >&6; }
4872 if test ${ac_cv_prog_CC+y}
4873 then :
4874 printf %s "(cached) " >&6
4875 else $as_nop
4876 if test -n "$CC"; then
4877 ac_cv_prog_CC="$CC" # Let the user override the test.
4878 else
4879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4880 for as_dir in $PATH
4882 IFS=$as_save_IFS
4883 case $as_dir in #(((
4884 '') as_dir=./ ;;
4885 */) ;;
4886 *) as_dir=$as_dir/ ;;
4887 esac
4888 for ac_exec_ext in '' $ac_executable_extensions; do
4889 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4890 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4892 break 2
4894 done
4895 done
4896 IFS=$as_save_IFS
4900 CC=$ac_cv_prog_CC
4901 if test -n "$CC"; then
4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4903 printf "%s\n" "$CC" >&6; }
4904 else
4905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906 printf "%s\n" "no" >&6; }
4910 test -n "$CC" && break
4911 done
4913 if test -z "$CC"; then
4914 ac_ct_CC=$CC
4915 for ac_prog in cl.exe
4917 # Extract the first word of "$ac_prog", so it can be a program name with args.
4918 set dummy $ac_prog; ac_word=$2
4919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4920 printf %s "checking for $ac_word... " >&6; }
4921 if test ${ac_cv_prog_ac_ct_CC+y}
4922 then :
4923 printf %s "(cached) " >&6
4924 else $as_nop
4925 if test -n "$ac_ct_CC"; then
4926 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4927 else
4928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4929 for as_dir in $PATH
4931 IFS=$as_save_IFS
4932 case $as_dir in #(((
4933 '') as_dir=./ ;;
4934 */) ;;
4935 *) as_dir=$as_dir/ ;;
4936 esac
4937 for ac_exec_ext in '' $ac_executable_extensions; do
4938 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4939 ac_cv_prog_ac_ct_CC="$ac_prog"
4940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4941 break 2
4943 done
4944 done
4945 IFS=$as_save_IFS
4949 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4950 if test -n "$ac_ct_CC"; then
4951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4952 printf "%s\n" "$ac_ct_CC" >&6; }
4953 else
4954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 printf "%s\n" "no" >&6; }
4959 test -n "$ac_ct_CC" && break
4960 done
4962 if test "x$ac_ct_CC" = x; then
4963 CC=""
4964 else
4965 case $cross_compiling:$ac_tool_warned in
4966 yes:)
4967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4968 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4969 ac_tool_warned=yes ;;
4970 esac
4971 CC=$ac_ct_CC
4976 if test -z "$CC"; then
4977 if test -n "$ac_tool_prefix"; then
4978 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4979 set dummy ${ac_tool_prefix}clang; ac_word=$2
4980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 printf %s "checking for $ac_word... " >&6; }
4982 if test ${ac_cv_prog_CC+y}
4983 then :
4984 printf %s "(cached) " >&6
4985 else $as_nop
4986 if test -n "$CC"; then
4987 ac_cv_prog_CC="$CC" # Let the user override the test.
4988 else
4989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990 for as_dir in $PATH
4992 IFS=$as_save_IFS
4993 case $as_dir in #(((
4994 '') as_dir=./ ;;
4995 */) ;;
4996 *) as_dir=$as_dir/ ;;
4997 esac
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_CC="${ac_tool_prefix}clang"
5001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5002 break 2
5004 done
5005 done
5006 IFS=$as_save_IFS
5010 CC=$ac_cv_prog_CC
5011 if test -n "$CC"; then
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5013 printf "%s\n" "$CC" >&6; }
5014 else
5015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 printf "%s\n" "no" >&6; }
5021 if test -z "$ac_cv_prog_CC"; then
5022 ac_ct_CC=$CC
5023 # Extract the first word of "clang", so it can be a program name with args.
5024 set dummy clang; ac_word=$2
5025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 printf %s "checking for $ac_word... " >&6; }
5027 if test ${ac_cv_prog_ac_ct_CC+y}
5028 then :
5029 printf %s "(cached) " >&6
5030 else $as_nop
5031 if test -n "$ac_ct_CC"; then
5032 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5033 else
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 for as_dir in $PATH
5037 IFS=$as_save_IFS
5038 case $as_dir in #(((
5039 '') as_dir=./ ;;
5040 */) ;;
5041 *) as_dir=$as_dir/ ;;
5042 esac
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_ac_ct_CC="clang"
5046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5051 IFS=$as_save_IFS
5055 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5056 if test -n "$ac_ct_CC"; then
5057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5058 printf "%s\n" "$ac_ct_CC" >&6; }
5059 else
5060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 printf "%s\n" "no" >&6; }
5064 if test "x$ac_ct_CC" = x; then
5065 CC=""
5066 else
5067 case $cross_compiling:$ac_tool_warned in
5068 yes:)
5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5070 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5071 ac_tool_warned=yes ;;
5072 esac
5073 CC=$ac_ct_CC
5075 else
5076 CC="$ac_cv_prog_CC"
5082 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5083 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5084 as_fn_error $? "no acceptable C compiler found in \$PATH
5085 See \`config.log' for more details" "$LINENO" 5; }
5087 # Provide some information about the compiler.
5088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5089 set X $ac_compile
5090 ac_compiler=$2
5091 for ac_option in --version -v -V -qversion -version; do
5092 { { ac_try="$ac_compiler $ac_option >&5"
5093 case "(($ac_try" in
5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5096 esac
5097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5098 printf "%s\n" "$ac_try_echo"; } >&5
5099 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5100 ac_status=$?
5101 if test -s conftest.err; then
5102 sed '10a\
5103 ... rest of stderr output deleted ...
5104 10q' conftest.err >conftest.er1
5105 cat conftest.er1 >&5
5107 rm -f conftest.er1 conftest.err
5108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5109 test $ac_status = 0; }
5110 done
5112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5113 /* end confdefs.h. */
5116 main (void)
5120 return 0;
5122 _ACEOF
5123 ac_clean_files_save=$ac_clean_files
5124 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5125 # Try to create an executable without -o first, disregard a.out.
5126 # It will help us diagnose broken compilers, and finding out an intuition
5127 # of exeext.
5128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5129 printf %s "checking whether the C compiler works... " >&6; }
5130 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5132 # The possible output files:
5133 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5135 ac_rmfiles=
5136 for ac_file in $ac_files
5138 case $ac_file in
5139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5140 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5141 esac
5142 done
5143 rm -f $ac_rmfiles
5145 if { { ac_try="$ac_link_default"
5146 case "(($ac_try" in
5147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5148 *) ac_try_echo=$ac_try;;
5149 esac
5150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5151 printf "%s\n" "$ac_try_echo"; } >&5
5152 (eval "$ac_link_default") 2>&5
5153 ac_status=$?
5154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5155 test $ac_status = 0; }
5156 then :
5157 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5158 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5159 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5160 # so that the user can short-circuit this test for compilers unknown to
5161 # Autoconf.
5162 for ac_file in $ac_files ''
5164 test -f "$ac_file" || continue
5165 case $ac_file in
5166 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5168 [ab].out )
5169 # We found the default executable, but exeext='' is most
5170 # certainly right.
5171 break;;
5172 *.* )
5173 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5174 then :; else
5175 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5177 # We set ac_cv_exeext here because the later test for it is not
5178 # safe: cross compilers may not add the suffix if given an `-o'
5179 # argument, so we may need to know it at that point already.
5180 # Even if this section looks crufty: it has the advantage of
5181 # actually working.
5182 break;;
5184 break;;
5185 esac
5186 done
5187 test "$ac_cv_exeext" = no && ac_cv_exeext=
5189 else $as_nop
5190 ac_file=''
5192 if test -z "$ac_file"
5193 then :
5194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 printf "%s\n" "no" >&6; }
5196 printf "%s\n" "$as_me: failed program was:" >&5
5197 sed 's/^/| /' conftest.$ac_ext >&5
5199 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5200 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5201 as_fn_error 77 "C compiler cannot create executables
5202 See \`config.log' for more details" "$LINENO" 5; }
5203 else $as_nop
5204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5205 printf "%s\n" "yes" >&6; }
5207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5208 printf %s "checking for C compiler default output file name... " >&6; }
5209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5210 printf "%s\n" "$ac_file" >&6; }
5211 ac_exeext=$ac_cv_exeext
5213 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5214 ac_clean_files=$ac_clean_files_save
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5216 printf %s "checking for suffix of executables... " >&6; }
5217 if { { ac_try="$ac_link"
5218 case "(($ac_try" in
5219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5220 *) ac_try_echo=$ac_try;;
5221 esac
5222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5223 printf "%s\n" "$ac_try_echo"; } >&5
5224 (eval "$ac_link") 2>&5
5225 ac_status=$?
5226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5227 test $ac_status = 0; }
5228 then :
5229 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5230 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5231 # work properly (i.e., refer to `conftest.exe'), while it won't with
5232 # `rm'.
5233 for ac_file in conftest.exe conftest conftest.*; do
5234 test -f "$ac_file" || continue
5235 case $ac_file in
5236 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5237 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5238 break;;
5239 * ) break;;
5240 esac
5241 done
5242 else $as_nop
5243 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5244 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5245 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5246 See \`config.log' for more details" "$LINENO" 5; }
5248 rm -f conftest conftest$ac_cv_exeext
5249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5250 printf "%s\n" "$ac_cv_exeext" >&6; }
5252 rm -f conftest.$ac_ext
5253 EXEEXT=$ac_cv_exeext
5254 ac_exeext=$EXEEXT
5255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h. */
5257 #include <stdio.h>
5259 main (void)
5261 FILE *f = fopen ("conftest.out", "w");
5262 return ferror (f) || fclose (f) != 0;
5265 return 0;
5267 _ACEOF
5268 ac_clean_files="$ac_clean_files conftest.out"
5269 # Check that the compiler produces executables we can run. If not, either
5270 # the compiler is broken, or we cross compile.
5271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5272 printf %s "checking whether we are cross compiling... " >&6; }
5273 if test "$cross_compiling" != yes; then
5274 { { ac_try="$ac_link"
5275 case "(($ac_try" in
5276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5277 *) ac_try_echo=$ac_try;;
5278 esac
5279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5280 printf "%s\n" "$ac_try_echo"; } >&5
5281 (eval "$ac_link") 2>&5
5282 ac_status=$?
5283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5284 test $ac_status = 0; }
5285 if { ac_try='./conftest$ac_cv_exeext'
5286 { { case "(($ac_try" in
5287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5288 *) ac_try_echo=$ac_try;;
5289 esac
5290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5291 printf "%s\n" "$ac_try_echo"; } >&5
5292 (eval "$ac_try") 2>&5
5293 ac_status=$?
5294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5295 test $ac_status = 0; }; }; then
5296 cross_compiling=no
5297 else
5298 if test "$cross_compiling" = maybe; then
5299 cross_compiling=yes
5300 else
5301 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5302 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5303 as_fn_error 77 "cannot run C compiled programs.
5304 If you meant to cross compile, use \`--host'.
5305 See \`config.log' for more details" "$LINENO" 5; }
5309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5310 printf "%s\n" "$cross_compiling" >&6; }
5312 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5313 ac_clean_files=$ac_clean_files_save
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5315 printf %s "checking for suffix of object files... " >&6; }
5316 if test ${ac_cv_objext+y}
5317 then :
5318 printf %s "(cached) " >&6
5319 else $as_nop
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5324 main (void)
5328 return 0;
5330 _ACEOF
5331 rm -f conftest.o conftest.obj
5332 if { { ac_try="$ac_compile"
5333 case "(($ac_try" in
5334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5335 *) ac_try_echo=$ac_try;;
5336 esac
5337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5338 printf "%s\n" "$ac_try_echo"; } >&5
5339 (eval "$ac_compile") 2>&5
5340 ac_status=$?
5341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5342 test $ac_status = 0; }
5343 then :
5344 for ac_file in conftest.o conftest.obj conftest.*; do
5345 test -f "$ac_file" || continue;
5346 case $ac_file in
5347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5348 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5349 break;;
5350 esac
5351 done
5352 else $as_nop
5353 printf "%s\n" "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.$ac_ext >&5
5356 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5357 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5358 as_fn_error $? "cannot compute suffix of object files: cannot compile
5359 See \`config.log' for more details" "$LINENO" 5; }
5361 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5364 printf "%s\n" "$ac_cv_objext" >&6; }
5365 OBJEXT=$ac_cv_objext
5366 ac_objext=$OBJEXT
5367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5368 printf %s "checking whether the compiler supports GNU C... " >&6; }
5369 if test ${ac_cv_c_compiler_gnu+y}
5370 then :
5371 printf %s "(cached) " >&6
5372 else $as_nop
5373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374 /* end confdefs.h. */
5377 main (void)
5379 #ifndef __GNUC__
5380 choke me
5381 #endif
5384 return 0;
5386 _ACEOF
5387 if ac_fn_c_try_compile "$LINENO"
5388 then :
5389 ac_compiler_gnu=yes
5390 else $as_nop
5391 ac_compiler_gnu=no
5393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5394 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5398 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5401 if test $ac_compiler_gnu = yes; then
5402 GCC=yes
5403 else
5404 GCC=
5406 ac_test_CFLAGS=${CFLAGS+y}
5407 ac_save_CFLAGS=$CFLAGS
5408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5409 printf %s "checking whether $CC accepts -g... " >&6; }
5410 if test ${ac_cv_prog_cc_g+y}
5411 then :
5412 printf %s "(cached) " >&6
5413 else $as_nop
5414 ac_save_c_werror_flag=$ac_c_werror_flag
5415 ac_c_werror_flag=yes
5416 ac_cv_prog_cc_g=no
5417 CFLAGS="-g"
5418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5422 main (void)
5426 return 0;
5428 _ACEOF
5429 if ac_fn_c_try_compile "$LINENO"
5430 then :
5431 ac_cv_prog_cc_g=yes
5432 else $as_nop
5433 CFLAGS=""
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5438 main (void)
5442 return 0;
5444 _ACEOF
5445 if ac_fn_c_try_compile "$LINENO"
5446 then :
5448 else $as_nop
5449 ac_c_werror_flag=$ac_save_c_werror_flag
5450 CFLAGS="-g"
5451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5452 /* end confdefs.h. */
5455 main (void)
5459 return 0;
5461 _ACEOF
5462 if ac_fn_c_try_compile "$LINENO"
5463 then :
5464 ac_cv_prog_cc_g=yes
5466 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5471 ac_c_werror_flag=$ac_save_c_werror_flag
5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5474 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5475 if test $ac_test_CFLAGS; then
5476 CFLAGS=$ac_save_CFLAGS
5477 elif test $ac_cv_prog_cc_g = yes; then
5478 if test "$GCC" = yes; then
5479 CFLAGS="-g -O2"
5480 else
5481 CFLAGS="-g"
5483 else
5484 if test "$GCC" = yes; then
5485 CFLAGS="-O2"
5486 else
5487 CFLAGS=
5490 ac_prog_cc_stdc=no
5491 if test x$ac_prog_cc_stdc = xno
5492 then :
5493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5494 printf %s "checking for $CC option to enable C11 features... " >&6; }
5495 if test ${ac_cv_prog_cc_c11+y}
5496 then :
5497 printf %s "(cached) " >&6
5498 else $as_nop
5499 ac_cv_prog_cc_c11=no
5500 ac_save_CC=$CC
5501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5502 /* end confdefs.h. */
5503 $ac_c_conftest_c11_program
5504 _ACEOF
5505 for ac_arg in '' -std=gnu11
5507 CC="$ac_save_CC $ac_arg"
5508 if ac_fn_c_try_compile "$LINENO"
5509 then :
5510 ac_cv_prog_cc_c11=$ac_arg
5512 rm -f core conftest.err conftest.$ac_objext conftest.beam
5513 test "x$ac_cv_prog_cc_c11" != "xno" && break
5514 done
5515 rm -f conftest.$ac_ext
5516 CC=$ac_save_CC
5519 if test "x$ac_cv_prog_cc_c11" = xno
5520 then :
5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5522 printf "%s\n" "unsupported" >&6; }
5523 else $as_nop
5524 if test "x$ac_cv_prog_cc_c11" = x
5525 then :
5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5527 printf "%s\n" "none needed" >&6; }
5528 else $as_nop
5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5530 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5531 CC="$CC $ac_cv_prog_cc_c11"
5533 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5534 ac_prog_cc_stdc=c11
5537 if test x$ac_prog_cc_stdc = xno
5538 then :
5539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5540 printf %s "checking for $CC option to enable C99 features... " >&6; }
5541 if test ${ac_cv_prog_cc_c99+y}
5542 then :
5543 printf %s "(cached) " >&6
5544 else $as_nop
5545 ac_cv_prog_cc_c99=no
5546 ac_save_CC=$CC
5547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5548 /* end confdefs.h. */
5549 $ac_c_conftest_c99_program
5550 _ACEOF
5551 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5553 CC="$ac_save_CC $ac_arg"
5554 if ac_fn_c_try_compile "$LINENO"
5555 then :
5556 ac_cv_prog_cc_c99=$ac_arg
5558 rm -f core conftest.err conftest.$ac_objext conftest.beam
5559 test "x$ac_cv_prog_cc_c99" != "xno" && break
5560 done
5561 rm -f conftest.$ac_ext
5562 CC=$ac_save_CC
5565 if test "x$ac_cv_prog_cc_c99" = xno
5566 then :
5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5568 printf "%s\n" "unsupported" >&6; }
5569 else $as_nop
5570 if test "x$ac_cv_prog_cc_c99" = x
5571 then :
5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5573 printf "%s\n" "none needed" >&6; }
5574 else $as_nop
5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5576 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5577 CC="$CC $ac_cv_prog_cc_c99"
5579 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5580 ac_prog_cc_stdc=c99
5583 if test x$ac_prog_cc_stdc = xno
5584 then :
5585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5586 printf %s "checking for $CC option to enable C89 features... " >&6; }
5587 if test ${ac_cv_prog_cc_c89+y}
5588 then :
5589 printf %s "(cached) " >&6
5590 else $as_nop
5591 ac_cv_prog_cc_c89=no
5592 ac_save_CC=$CC
5593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5594 /* end confdefs.h. */
5595 $ac_c_conftest_c89_program
5596 _ACEOF
5597 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5599 CC="$ac_save_CC $ac_arg"
5600 if ac_fn_c_try_compile "$LINENO"
5601 then :
5602 ac_cv_prog_cc_c89=$ac_arg
5604 rm -f core conftest.err conftest.$ac_objext conftest.beam
5605 test "x$ac_cv_prog_cc_c89" != "xno" && break
5606 done
5607 rm -f conftest.$ac_ext
5608 CC=$ac_save_CC
5611 if test "x$ac_cv_prog_cc_c89" = xno
5612 then :
5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5614 printf "%s\n" "unsupported" >&6; }
5615 else $as_nop
5616 if test "x$ac_cv_prog_cc_c89" = x
5617 then :
5618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5619 printf "%s\n" "none needed" >&6; }
5620 else $as_nop
5621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5622 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5623 CC="$CC $ac_cv_prog_cc_c89"
5625 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5626 ac_prog_cc_stdc=c89
5630 ac_ext=c
5631 ac_cpp='$CPP $CPPFLAGS'
5632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5642 ac_ext=cpp
5643 ac_cpp='$CXXCPP $CPPFLAGS'
5644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5647 if test -z "$CXX"; then
5648 if test -n "$CCC"; then
5649 CXX=$CCC
5650 else
5651 if test -n "$ac_tool_prefix"; then
5652 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5654 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5655 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657 printf %s "checking for $ac_word... " >&6; }
5658 if test ${ac_cv_prog_CXX+y}
5659 then :
5660 printf %s "(cached) " >&6
5661 else $as_nop
5662 if test -n "$CXX"; then
5663 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5664 else
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 for as_dir in $PATH
5668 IFS=$as_save_IFS
5669 case $as_dir in #(((
5670 '') as_dir=./ ;;
5671 */) ;;
5672 *) as_dir=$as_dir/ ;;
5673 esac
5674 for ac_exec_ext in '' $ac_executable_extensions; do
5675 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5676 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5678 break 2
5680 done
5681 done
5682 IFS=$as_save_IFS
5686 CXX=$ac_cv_prog_CXX
5687 if test -n "$CXX"; then
5688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5689 printf "%s\n" "$CXX" >&6; }
5690 else
5691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5692 printf "%s\n" "no" >&6; }
5696 test -n "$CXX" && break
5697 done
5699 if test -z "$CXX"; then
5700 ac_ct_CXX=$CXX
5701 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5703 # Extract the first word of "$ac_prog", so it can be a program name with args.
5704 set dummy $ac_prog; ac_word=$2
5705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 printf %s "checking for $ac_word... " >&6; }
5707 if test ${ac_cv_prog_ac_ct_CXX+y}
5708 then :
5709 printf %s "(cached) " >&6
5710 else $as_nop
5711 if test -n "$ac_ct_CXX"; then
5712 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5713 else
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715 for as_dir in $PATH
5717 IFS=$as_save_IFS
5718 case $as_dir in #(((
5719 '') as_dir=./ ;;
5720 */) ;;
5721 *) as_dir=$as_dir/ ;;
5722 esac
5723 for ac_exec_ext in '' $ac_executable_extensions; do
5724 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5725 ac_cv_prog_ac_ct_CXX="$ac_prog"
5726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5727 break 2
5729 done
5730 done
5731 IFS=$as_save_IFS
5735 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5736 if test -n "$ac_ct_CXX"; then
5737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5738 printf "%s\n" "$ac_ct_CXX" >&6; }
5739 else
5740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 printf "%s\n" "no" >&6; }
5745 test -n "$ac_ct_CXX" && break
5746 done
5748 if test "x$ac_ct_CXX" = x; then
5749 CXX="g++"
5750 else
5751 case $cross_compiling:$ac_tool_warned in
5752 yes:)
5753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5754 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5755 ac_tool_warned=yes ;;
5756 esac
5757 CXX=$ac_ct_CXX
5763 # Provide some information about the compiler.
5764 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5765 set X $ac_compile
5766 ac_compiler=$2
5767 for ac_option in --version -v -V -qversion; do
5768 { { ac_try="$ac_compiler $ac_option >&5"
5769 case "(($ac_try" in
5770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5771 *) ac_try_echo=$ac_try;;
5772 esac
5773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5774 printf "%s\n" "$ac_try_echo"; } >&5
5775 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5776 ac_status=$?
5777 if test -s conftest.err; then
5778 sed '10a\
5779 ... rest of stderr output deleted ...
5780 10q' conftest.err >conftest.er1
5781 cat conftest.er1 >&5
5783 rm -f conftest.er1 conftest.err
5784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5785 test $ac_status = 0; }
5786 done
5788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5789 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5790 if test ${ac_cv_cxx_compiler_gnu+y}
5791 then :
5792 printf %s "(cached) " >&6
5793 else $as_nop
5794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5795 /* end confdefs.h. */
5798 main (void)
5800 #ifndef __GNUC__
5801 choke me
5802 #endif
5805 return 0;
5807 _ACEOF
5808 if ac_fn_cxx_try_compile "$LINENO"
5809 then :
5810 ac_compiler_gnu=yes
5811 else $as_nop
5812 ac_compiler_gnu=no
5814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5815 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5819 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5822 if test $ac_compiler_gnu = yes; then
5823 GXX=yes
5824 else
5825 GXX=
5827 ac_test_CXXFLAGS=${CXXFLAGS+y}
5828 ac_save_CXXFLAGS=$CXXFLAGS
5829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5830 printf %s "checking whether $CXX accepts -g... " >&6; }
5831 if test ${ac_cv_prog_cxx_g+y}
5832 then :
5833 printf %s "(cached) " >&6
5834 else $as_nop
5835 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5836 ac_cxx_werror_flag=yes
5837 ac_cv_prog_cxx_g=no
5838 CXXFLAGS="-g"
5839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h. */
5843 main (void)
5847 return 0;
5849 _ACEOF
5850 if ac_fn_cxx_try_compile "$LINENO"
5851 then :
5852 ac_cv_prog_cxx_g=yes
5853 else $as_nop
5854 CXXFLAGS=""
5855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5856 /* end confdefs.h. */
5859 main (void)
5863 return 0;
5865 _ACEOF
5866 if ac_fn_cxx_try_compile "$LINENO"
5867 then :
5869 else $as_nop
5870 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5871 CXXFLAGS="-g"
5872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5873 /* end confdefs.h. */
5876 main (void)
5880 return 0;
5882 _ACEOF
5883 if ac_fn_cxx_try_compile "$LINENO"
5884 then :
5885 ac_cv_prog_cxx_g=yes
5887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5892 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5895 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5896 if test $ac_test_CXXFLAGS; then
5897 CXXFLAGS=$ac_save_CXXFLAGS
5898 elif test $ac_cv_prog_cxx_g = yes; then
5899 if test "$GXX" = yes; then
5900 CXXFLAGS="-g -O2"
5901 else
5902 CXXFLAGS="-g"
5904 else
5905 if test "$GXX" = yes; then
5906 CXXFLAGS="-O2"
5907 else
5908 CXXFLAGS=
5911 ac_prog_cxx_stdcxx=no
5912 if test x$ac_prog_cxx_stdcxx = xno
5913 then :
5914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5915 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5916 if test ${ac_cv_prog_cxx_cxx11+y}
5917 then :
5918 printf %s "(cached) " >&6
5919 else $as_nop
5920 ac_cv_prog_cxx_cxx11=no
5921 ac_save_CXX=$CXX
5922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5923 /* end confdefs.h. */
5924 $ac_cxx_conftest_cxx11_program
5925 _ACEOF
5926 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5928 CXX="$ac_save_CXX $ac_arg"
5929 if ac_fn_cxx_try_compile "$LINENO"
5930 then :
5931 ac_cv_prog_cxx_cxx11=$ac_arg
5933 rm -f core conftest.err conftest.$ac_objext conftest.beam
5934 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5935 done
5936 rm -f conftest.$ac_ext
5937 CXX=$ac_save_CXX
5940 if test "x$ac_cv_prog_cxx_cxx11" = xno
5941 then :
5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5943 printf "%s\n" "unsupported" >&6; }
5944 else $as_nop
5945 if test "x$ac_cv_prog_cxx_cxx11" = x
5946 then :
5947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5948 printf "%s\n" "none needed" >&6; }
5949 else $as_nop
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5951 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5952 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5954 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5955 ac_prog_cxx_stdcxx=cxx11
5958 if test x$ac_prog_cxx_stdcxx = xno
5959 then :
5960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5961 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5962 if test ${ac_cv_prog_cxx_cxx98+y}
5963 then :
5964 printf %s "(cached) " >&6
5965 else $as_nop
5966 ac_cv_prog_cxx_cxx98=no
5967 ac_save_CXX=$CXX
5968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5969 /* end confdefs.h. */
5970 $ac_cxx_conftest_cxx98_program
5971 _ACEOF
5972 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5974 CXX="$ac_save_CXX $ac_arg"
5975 if ac_fn_cxx_try_compile "$LINENO"
5976 then :
5977 ac_cv_prog_cxx_cxx98=$ac_arg
5979 rm -f core conftest.err conftest.$ac_objext conftest.beam
5980 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5981 done
5982 rm -f conftest.$ac_ext
5983 CXX=$ac_save_CXX
5986 if test "x$ac_cv_prog_cxx_cxx98" = xno
5987 then :
5988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5989 printf "%s\n" "unsupported" >&6; }
5990 else $as_nop
5991 if test "x$ac_cv_prog_cxx_cxx98" = x
5992 then :
5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5994 printf "%s\n" "none needed" >&6; }
5995 else $as_nop
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5997 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5998 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6000 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6001 ac_prog_cxx_stdcxx=cxx98
6005 ac_ext=c
6006 ac_cpp='$CPP $CPPFLAGS'
6007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6011 if test -n "$ac_tool_prefix"; then
6012 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6013 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 printf %s "checking for $ac_word... " >&6; }
6016 if test ${ac_cv_prog_CPPBIN+y}
6017 then :
6018 printf %s "(cached) " >&6
6019 else $as_nop
6020 if test -n "$CPPBIN"; then
6021 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6022 else
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 for as_dir in $PATH
6026 IFS=$as_save_IFS
6027 case $as_dir in #(((
6028 '') as_dir=./ ;;
6029 */) ;;
6030 *) as_dir=$as_dir/ ;;
6031 esac
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6036 break 2
6038 done
6039 done
6040 IFS=$as_save_IFS
6044 CPPBIN=$ac_cv_prog_CPPBIN
6045 if test -n "$CPPBIN"; then
6046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6047 printf "%s\n" "$CPPBIN" >&6; }
6048 else
6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 printf "%s\n" "no" >&6; }
6055 if test -z "$ac_cv_prog_CPPBIN"; then
6056 ac_ct_CPPBIN=$CPPBIN
6057 # Extract the first word of "cpp", so it can be a program name with args.
6058 set dummy cpp; ac_word=$2
6059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 printf %s "checking for $ac_word... " >&6; }
6061 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6062 then :
6063 printf %s "(cached) " >&6
6064 else $as_nop
6065 if test -n "$ac_ct_CPPBIN"; then
6066 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6071 IFS=$as_save_IFS
6072 case $as_dir in #(((
6073 '') as_dir=./ ;;
6074 */) ;;
6075 *) as_dir=$as_dir/ ;;
6076 esac
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6079 ac_cv_prog_ac_ct_CPPBIN="cpp"
6080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6081 break 2
6083 done
6084 done
6085 IFS=$as_save_IFS
6089 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6090 if test -n "$ac_ct_CPPBIN"; then
6091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6092 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6093 else
6094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 printf "%s\n" "no" >&6; }
6098 if test "x$ac_ct_CPPBIN" = x; then
6099 CPPBIN="cpp"
6100 else
6101 case $cross_compiling:$ac_tool_warned in
6102 yes:)
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6104 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6105 ac_tool_warned=yes ;;
6106 esac
6107 CPPBIN=$ac_ct_CPPBIN
6109 else
6110 CPPBIN="$ac_cv_prog_CPPBIN"
6114 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6116 if test -n "$ac_tool_prefix"; then
6117 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6118 set dummy ${ac_tool_prefix}ld; ac_word=$2
6119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 printf %s "checking for $ac_word... " >&6; }
6121 if test ${ac_cv_prog_LD+y}
6122 then :
6123 printf %s "(cached) " >&6
6124 else $as_nop
6125 if test -n "$LD"; then
6126 ac_cv_prog_LD="$LD" # Let the user override the test.
6127 else
6128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6129 for as_dir in $PATH
6131 IFS=$as_save_IFS
6132 case $as_dir in #(((
6133 '') as_dir=./ ;;
6134 */) ;;
6135 *) as_dir=$as_dir/ ;;
6136 esac
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6139 ac_cv_prog_LD="${ac_tool_prefix}ld"
6140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6141 break 2
6143 done
6144 done
6145 IFS=$as_save_IFS
6149 LD=$ac_cv_prog_LD
6150 if test -n "$LD"; then
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6152 printf "%s\n" "$LD" >&6; }
6153 else
6154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 printf "%s\n" "no" >&6; }
6160 if test -z "$ac_cv_prog_LD"; then
6161 ac_ct_LD=$LD
6162 # Extract the first word of "ld", so it can be a program name with args.
6163 set dummy ld; ac_word=$2
6164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 printf %s "checking for $ac_word... " >&6; }
6166 if test ${ac_cv_prog_ac_ct_LD+y}
6167 then :
6168 printf %s "(cached) " >&6
6169 else $as_nop
6170 if test -n "$ac_ct_LD"; then
6171 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6172 else
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 for as_dir in $PATH
6176 IFS=$as_save_IFS
6177 case $as_dir in #(((
6178 '') as_dir=./ ;;
6179 */) ;;
6180 *) as_dir=$as_dir/ ;;
6181 esac
6182 for ac_exec_ext in '' $ac_executable_extensions; do
6183 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6184 ac_cv_prog_ac_ct_LD="ld"
6185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6186 break 2
6188 done
6189 done
6190 IFS=$as_save_IFS
6194 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6195 if test -n "$ac_ct_LD"; then
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6197 printf "%s\n" "$ac_ct_LD" >&6; }
6198 else
6199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6200 printf "%s\n" "no" >&6; }
6203 if test "x$ac_ct_LD" = x; then
6204 LD=""
6205 else
6206 case $cross_compiling:$ac_tool_warned in
6207 yes:)
6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6209 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6210 ac_tool_warned=yes ;;
6211 esac
6212 LD=$ac_ct_LD
6214 else
6215 LD="$ac_cv_prog_LD"
6219 case $host in
6220 *-darwin*)
6221 with_fontconfig=${with_fontconfig:-no}
6223 *-mingw32*|*-cygwin*)
6224 enable_win16=${enable_win16:-no}
6225 with_mingw=${with_mingw:-no}
6227 esac
6230 case $host in
6231 x86_64*|amd64*)
6232 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6233 then
6234 CC="$CC -m32"
6235 CXX="$CXX -m32"
6237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6238 printf %s "checking whether $CC works... " >&6; }
6239 if test ${wine_cv_cc_m32+y}
6240 then :
6241 printf %s "(cached) " >&6
6242 else $as_nop
6243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6244 /* end confdefs.h. */
6247 main (void)
6251 return 0;
6253 _ACEOF
6254 if ac_fn_c_try_link "$LINENO"
6255 then :
6256 wine_cv_cc_m32=yes
6257 else $as_nop
6258 wine_cv_cc_m32=no
6260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6261 conftest$ac_exeext conftest.$ac_ext
6263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6264 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6265 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
6266 host_cpu="i386"
6267 notice_platform="32-bit "
6268 TARGETFLAGS="$TARGETFLAGS -m32"
6269 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6270 export PKG_CONFIG_LIBDIR
6271 with_unwind=${with_unwind:-no}
6272 else
6273 if test "x${GCC}" = "xyes"
6274 then
6275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6276 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6277 if test ${wine_cv_builtin_ms_va_list+y}
6278 then :
6279 printf %s "(cached) " >&6
6280 else $as_nop
6281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6283 #include <stdarg.h>
6285 main (void)
6287 void func(__builtin_ms_va_list *args);
6289 return 0;
6291 _ACEOF
6292 if ac_fn_c_try_compile "$LINENO"
6293 then :
6294 wine_cv_builtin_ms_va_list=yes
6295 else $as_nop
6296 wine_cv_builtin_ms_va_list=no
6298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6301 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6302 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
6304 CC="$CC -m64"
6305 CXX="$CXX -m64"
6306 host_cpu="x86_64"
6307 notice_platform="64-bit "
6308 TARGETFLAGS="$TARGETFLAGS -m64"
6311 arm*)
6312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6313 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6314 if test ${wine_cv_thumb2+y}
6315 then :
6316 printf %s "(cached) " >&6
6317 else $as_nop
6318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6319 /* end confdefs.h. */
6322 main (void)
6324 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6326 return 0;
6328 _ACEOF
6329 if ac_fn_c_try_link "$LINENO"
6330 then :
6331 wine_cv_thumb2=yes
6332 else $as_nop
6333 wine_cv_thumb2=no
6335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6336 conftest$ac_exeext conftest.$ac_ext
6338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6339 printf "%s\n" "$wine_cv_thumb2" >&6; }
6340 if test x"$wine_cv_thumb2" = xyes
6341 then
6342 CFLAGS="$CFLAGS -mthumb"
6343 TARGETFLAGS="$TARGETFLAGS -mthumb"
6344 else
6345 CFLAGS="$CFLAGS -marm"
6346 TARGETFLAGS="$TARGETFLAGS -marm"
6348 case $with_float_abi in
6349 soft|softfp|hard)
6350 float_abi=$with_float_abi ;;
6352 case $host_os in
6353 *eabihf)
6354 float_abi=hard ;;
6356 float_abi=softfp
6357 saved_CFLAGS=$CFLAGS
6358 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6360 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6361 if test ${wine_cv_float_abi+y}
6362 then :
6363 printf %s "(cached) " >&6
6364 else $as_nop
6365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6366 /* end confdefs.h. */
6369 main (void)
6371 asm("vmrs r2,fpscr");
6373 return 0;
6375 _ACEOF
6376 if ac_fn_c_try_link "$LINENO"
6377 then :
6378 wine_cv_float_abi=yes
6379 else $as_nop
6380 wine_cv_float_abi=no
6382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6383 conftest$ac_exeext conftest.$ac_ext
6385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6386 printf "%s\n" "$wine_cv_float_abi" >&6; }
6387 if test $wine_cv_float_abi = no
6388 then
6389 float_abi=soft
6390 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6392 CFLAGS=$saved_CFLAGS
6393 esac
6395 esac
6396 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6397 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6399 i[3456789]86*)
6400 with_unwind=${with_unwind:-no}
6402 esac
6404 enable_win16=${enable_win16:-i386}
6405 enable_win64=${enable_win64:-no}
6406 enable_wow64=${enable_wow64:-aarch64,x86_64}
6407 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6408 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6410 enable_winetest=${enable_winetest:-$enable_tests}
6412 if test "x$enable_win64" = "xyes"
6413 then
6414 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6415 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6418 case $build_os in
6419 cygwin*|mingw32*) toolsext=".exe"
6421 *) toolsext=""
6423 esac
6425 HOST_ARCH=unknown
6426 case "$host_cpu" in
6427 aarch64*) HOST_ARCH=aarch64 ;;
6428 arm*) HOST_ARCH=arm ;;
6429 i[3456789]86*) HOST_ARCH=i386 ;;
6430 x86_64) HOST_ARCH=x86_64 ;;
6431 esac
6434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6435 printf %s "checking for the directory containing the Wine tools... " >&6; }
6436 if test ${wine_cv_toolsdir+y}
6437 then :
6438 printf %s "(cached) " >&6
6439 else $as_nop
6440 wine_cv_toolsdir="$with_wine_tools"
6441 if test -z "$with_wine_tools"; then
6442 if test "$cross_compiling" = "yes"; then
6443 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6444 elif test -n "$with_wine64"; then
6445 wine_cv_toolsdir="$with_wine64"
6449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6450 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6451 if test -z "$wine_cv_toolsdir"; then
6452 wine_makedep=tools/makedep$toolsext
6453 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6454 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6455 enable_tools=${enable_tools:-no}
6456 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6457 else
6458 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6460 toolsdir=$wine_cv_toolsdir
6462 MAKEDEP=$wine_makedep
6464 RUNTESTFLAGS="-q -P wine"
6466 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'"
6469 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6470 then
6471 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6474 for ac_prog in flex
6476 # Extract the first word of "$ac_prog", so it can be a program name with args.
6477 set dummy $ac_prog; ac_word=$2
6478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6479 printf %s "checking for $ac_word... " >&6; }
6480 if test ${ac_cv_prog_FLEX+y}
6481 then :
6482 printf %s "(cached) " >&6
6483 else $as_nop
6484 if test -n "$FLEX"; then
6485 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6486 else
6487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488 for as_dir in $PATH
6490 IFS=$as_save_IFS
6491 case $as_dir in #(((
6492 '') as_dir=./ ;;
6493 */) ;;
6494 *) as_dir=$as_dir/ ;;
6495 esac
6496 for ac_exec_ext in '' $ac_executable_extensions; do
6497 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_FLEX="$ac_prog"
6499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6500 break 2
6502 done
6503 done
6504 IFS=$as_save_IFS
6508 FLEX=$ac_cv_prog_FLEX
6509 if test -n "$FLEX"; then
6510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6511 printf "%s\n" "$FLEX" >&6; }
6512 else
6513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6514 printf "%s\n" "no" >&6; }
6518 test -n "$FLEX" && break
6519 done
6520 test -n "$FLEX" || FLEX="none"
6522 if test "$FLEX" = "none"
6523 then
6524 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6527 printf %s "checking whether flex is recent enough... " >&6; }
6528 if test ${wine_cv_recent_flex+y}
6529 then :
6530 printf %s "(cached) " >&6
6531 else $as_nop
6532 cat >conftest.l <<EOF
6533 %top{
6534 #include "prediluvian.h"
6538 if $FLEX -t conftest.l >/dev/null 2>&5
6539 then
6540 wine_cv_recent_flex=yes
6541 else
6542 wine_cv_recent_flex=no
6545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6546 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6547 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
6549 for ac_prog in bison
6551 # Extract the first word of "$ac_prog", so it can be a program name with args.
6552 set dummy $ac_prog; ac_word=$2
6553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 printf %s "checking for $ac_word... " >&6; }
6555 if test ${ac_cv_prog_BISON+y}
6556 then :
6557 printf %s "(cached) " >&6
6558 else $as_nop
6559 if test -n "$BISON"; then
6560 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6561 else
6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6563 for as_dir in $PATH
6565 IFS=$as_save_IFS
6566 case $as_dir in #(((
6567 '') as_dir=./ ;;
6568 */) ;;
6569 *) as_dir=$as_dir/ ;;
6570 esac
6571 for ac_exec_ext in '' $ac_executable_extensions; do
6572 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6573 ac_cv_prog_BISON="$ac_prog"
6574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6575 break 2
6577 done
6578 done
6579 IFS=$as_save_IFS
6583 BISON=$ac_cv_prog_BISON
6584 if test -n "$BISON"; then
6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6586 printf "%s\n" "$BISON" >&6; }
6587 else
6588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6589 printf "%s\n" "no" >&6; }
6593 test -n "$BISON" && break
6594 done
6595 test -n "$BISON" || BISON="none"
6597 if test "$BISON" = "none"
6598 then
6599 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6602 printf %s "checking whether bison is recent enough... " >&6; }
6603 if test ${wine_cv_recent_bison+y}
6604 then :
6605 printf %s "(cached) " >&6
6606 else $as_nop
6607 cat >conftest.y <<EOF
6608 %define parse.error verbose
6610 empty: ;
6612 if $BISON conftest.y >/dev/null 2>&5
6613 then
6614 wine_cv_recent_bison=yes
6615 else
6616 wine_cv_recent_bison=no
6619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6620 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6621 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
6623 if test -n "$ac_tool_prefix"; then
6624 for ac_prog in ar gar
6626 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6627 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6629 printf %s "checking for $ac_word... " >&6; }
6630 if test ${ac_cv_prog_AR+y}
6631 then :
6632 printf %s "(cached) " >&6
6633 else $as_nop
6634 if test -n "$AR"; then
6635 ac_cv_prog_AR="$AR" # Let the user override the test.
6636 else
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 for as_dir in $PATH
6640 IFS=$as_save_IFS
6641 case $as_dir in #(((
6642 '') as_dir=./ ;;
6643 */) ;;
6644 *) as_dir=$as_dir/ ;;
6645 esac
6646 for ac_exec_ext in '' $ac_executable_extensions; do
6647 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6648 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6650 break 2
6652 done
6653 done
6654 IFS=$as_save_IFS
6658 AR=$ac_cv_prog_AR
6659 if test -n "$AR"; then
6660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6661 printf "%s\n" "$AR" >&6; }
6662 else
6663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6664 printf "%s\n" "no" >&6; }
6668 test -n "$AR" && break
6669 done
6671 if test -z "$AR"; then
6672 ac_ct_AR=$AR
6673 for ac_prog in ar gar
6675 # Extract the first word of "$ac_prog", so it can be a program name with args.
6676 set dummy $ac_prog; ac_word=$2
6677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678 printf %s "checking for $ac_word... " >&6; }
6679 if test ${ac_cv_prog_ac_ct_AR+y}
6680 then :
6681 printf %s "(cached) " >&6
6682 else $as_nop
6683 if test -n "$ac_ct_AR"; then
6684 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6685 else
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 for as_dir in $PATH
6689 IFS=$as_save_IFS
6690 case $as_dir in #(((
6691 '') as_dir=./ ;;
6692 */) ;;
6693 *) as_dir=$as_dir/ ;;
6694 esac
6695 for ac_exec_ext in '' $ac_executable_extensions; do
6696 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6697 ac_cv_prog_ac_ct_AR="$ac_prog"
6698 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6699 break 2
6701 done
6702 done
6703 IFS=$as_save_IFS
6707 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6708 if test -n "$ac_ct_AR"; then
6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6710 printf "%s\n" "$ac_ct_AR" >&6; }
6711 else
6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6713 printf "%s\n" "no" >&6; }
6717 test -n "$ac_ct_AR" && break
6718 done
6720 if test "x$ac_ct_AR" = x; then
6721 AR="ar"
6722 else
6723 case $cross_compiling:$ac_tool_warned in
6724 yes:)
6725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6726 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6727 ac_tool_warned=yes ;;
6728 esac
6729 AR=$ac_ct_AR
6733 if test -n "$ac_tool_prefix"; then
6734 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6735 set dummy ${ac_tool_prefix}strip; ac_word=$2
6736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6737 printf %s "checking for $ac_word... " >&6; }
6738 if test ${ac_cv_prog_STRIP+y}
6739 then :
6740 printf %s "(cached) " >&6
6741 else $as_nop
6742 if test -n "$STRIP"; then
6743 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6744 else
6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 for as_dir in $PATH
6748 IFS=$as_save_IFS
6749 case $as_dir in #(((
6750 '') as_dir=./ ;;
6751 */) ;;
6752 *) as_dir=$as_dir/ ;;
6753 esac
6754 for ac_exec_ext in '' $ac_executable_extensions; do
6755 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6756 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6758 break 2
6760 done
6761 done
6762 IFS=$as_save_IFS
6766 STRIP=$ac_cv_prog_STRIP
6767 if test -n "$STRIP"; then
6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6769 printf "%s\n" "$STRIP" >&6; }
6770 else
6771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 printf "%s\n" "no" >&6; }
6777 if test -z "$ac_cv_prog_STRIP"; then
6778 ac_ct_STRIP=$STRIP
6779 # Extract the first word of "strip", so it can be a program name with args.
6780 set dummy strip; ac_word=$2
6781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 printf %s "checking for $ac_word... " >&6; }
6783 if test ${ac_cv_prog_ac_ct_STRIP+y}
6784 then :
6785 printf %s "(cached) " >&6
6786 else $as_nop
6787 if test -n "$ac_ct_STRIP"; then
6788 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6789 else
6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6791 for as_dir in $PATH
6793 IFS=$as_save_IFS
6794 case $as_dir in #(((
6795 '') as_dir=./ ;;
6796 */) ;;
6797 *) as_dir=$as_dir/ ;;
6798 esac
6799 for ac_exec_ext in '' $ac_executable_extensions; do
6800 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6801 ac_cv_prog_ac_ct_STRIP="strip"
6802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6803 break 2
6805 done
6806 done
6807 IFS=$as_save_IFS
6811 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6812 if test -n "$ac_ct_STRIP"; then
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6814 printf "%s\n" "$ac_ct_STRIP" >&6; }
6815 else
6816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6817 printf "%s\n" "no" >&6; }
6820 if test "x$ac_ct_STRIP" = x; then
6821 STRIP="strip"
6822 else
6823 case $cross_compiling:$ac_tool_warned in
6824 yes:)
6825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6826 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6827 ac_tool_warned=yes ;;
6828 esac
6829 STRIP=$ac_ct_STRIP
6831 else
6832 STRIP="$ac_cv_prog_STRIP"
6835 if test -n "$ac_tool_prefix"; then
6836 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6837 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6839 printf %s "checking for $ac_word... " >&6; }
6840 if test ${ac_cv_prog_RANLIB+y}
6841 then :
6842 printf %s "(cached) " >&6
6843 else $as_nop
6844 if test -n "$RANLIB"; then
6845 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6846 else
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848 for as_dir in $PATH
6850 IFS=$as_save_IFS
6851 case $as_dir in #(((
6852 '') as_dir=./ ;;
6853 */) ;;
6854 *) as_dir=$as_dir/ ;;
6855 esac
6856 for ac_exec_ext in '' $ac_executable_extensions; do
6857 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6858 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6860 break 2
6862 done
6863 done
6864 IFS=$as_save_IFS
6868 RANLIB=$ac_cv_prog_RANLIB
6869 if test -n "$RANLIB"; then
6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6871 printf "%s\n" "$RANLIB" >&6; }
6872 else
6873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6874 printf "%s\n" "no" >&6; }
6879 if test -z "$ac_cv_prog_RANLIB"; then
6880 ac_ct_RANLIB=$RANLIB
6881 # Extract the first word of "ranlib", so it can be a program name with args.
6882 set dummy ranlib; ac_word=$2
6883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6884 printf %s "checking for $ac_word... " >&6; }
6885 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6886 then :
6887 printf %s "(cached) " >&6
6888 else $as_nop
6889 if test -n "$ac_ct_RANLIB"; then
6890 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6891 else
6892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6893 for as_dir in $PATH
6895 IFS=$as_save_IFS
6896 case $as_dir in #(((
6897 '') as_dir=./ ;;
6898 */) ;;
6899 *) as_dir=$as_dir/ ;;
6900 esac
6901 for ac_exec_ext in '' $ac_executable_extensions; do
6902 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6903 ac_cv_prog_ac_ct_RANLIB="ranlib"
6904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6905 break 2
6907 done
6908 done
6909 IFS=$as_save_IFS
6913 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6914 if test -n "$ac_ct_RANLIB"; then
6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6916 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6917 else
6918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6919 printf "%s\n" "no" >&6; }
6922 if test "x$ac_ct_RANLIB" = x; then
6923 RANLIB=":"
6924 else
6925 case $cross_compiling:$ac_tool_warned in
6926 yes:)
6927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6928 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6929 ac_tool_warned=yes ;;
6930 esac
6931 RANLIB=$ac_ct_RANLIB
6933 else
6934 RANLIB="$ac_cv_prog_RANLIB"
6937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6938 printf %s "checking whether ln -s works... " >&6; }
6939 LN_S=$as_ln_s
6940 if test "$LN_S" = "ln -s"; then
6941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6942 printf "%s\n" "yes" >&6; }
6943 else
6944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6945 printf "%s\n" "no, using $LN_S" >&6; }
6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6949 printf %s "checking for grep that handles long lines and -e... " >&6; }
6950 if test ${ac_cv_path_GREP+y}
6951 then :
6952 printf %s "(cached) " >&6
6953 else $as_nop
6954 if test -z "$GREP"; then
6955 ac_path_GREP_found=false
6956 # Loop through the user's path and test for each of PROGNAME-LIST
6957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6960 IFS=$as_save_IFS
6961 case $as_dir in #(((
6962 '') as_dir=./ ;;
6963 */) ;;
6964 *) as_dir=$as_dir/ ;;
6965 esac
6966 for ac_prog in grep ggrep
6968 for ac_exec_ext in '' $ac_executable_extensions; do
6969 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6970 as_fn_executable_p "$ac_path_GREP" || continue
6971 # Check for GNU ac_path_GREP and select it if it is found.
6972 # Check for GNU $ac_path_GREP
6973 case `"$ac_path_GREP" --version 2>&1` in
6974 *GNU*)
6975 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6977 ac_count=0
6978 printf %s 0123456789 >"conftest.in"
6979 while :
6981 cat "conftest.in" "conftest.in" >"conftest.tmp"
6982 mv "conftest.tmp" "conftest.in"
6983 cp "conftest.in" "conftest.nl"
6984 printf "%s\n" 'GREP' >> "conftest.nl"
6985 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6986 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6987 as_fn_arith $ac_count + 1 && ac_count=$as_val
6988 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6989 # Best one so far, save it but keep looking for a better one
6990 ac_cv_path_GREP="$ac_path_GREP"
6991 ac_path_GREP_max=$ac_count
6993 # 10*(2^10) chars as input seems more than enough
6994 test $ac_count -gt 10 && break
6995 done
6996 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6997 esac
6999 $ac_path_GREP_found && break 3
7000 done
7001 done
7002 done
7003 IFS=$as_save_IFS
7004 if test -z "$ac_cv_path_GREP"; then
7005 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7007 else
7008 ac_cv_path_GREP=$GREP
7012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7013 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7014 GREP="$ac_cv_path_GREP"
7017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7018 printf %s "checking for egrep... " >&6; }
7019 if test ${ac_cv_path_EGREP+y}
7020 then :
7021 printf %s "(cached) " >&6
7022 else $as_nop
7023 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7024 then ac_cv_path_EGREP="$GREP -E"
7025 else
7026 if test -z "$EGREP"; then
7027 ac_path_EGREP_found=false
7028 # Loop through the user's path and test for each of PROGNAME-LIST
7029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7030 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7032 IFS=$as_save_IFS
7033 case $as_dir in #(((
7034 '') as_dir=./ ;;
7035 */) ;;
7036 *) as_dir=$as_dir/ ;;
7037 esac
7038 for ac_prog in egrep
7040 for ac_exec_ext in '' $ac_executable_extensions; do
7041 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7042 as_fn_executable_p "$ac_path_EGREP" || continue
7043 # Check for GNU ac_path_EGREP and select it if it is found.
7044 # Check for GNU $ac_path_EGREP
7045 case `"$ac_path_EGREP" --version 2>&1` in
7046 *GNU*)
7047 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7049 ac_count=0
7050 printf %s 0123456789 >"conftest.in"
7051 while :
7053 cat "conftest.in" "conftest.in" >"conftest.tmp"
7054 mv "conftest.tmp" "conftest.in"
7055 cp "conftest.in" "conftest.nl"
7056 printf "%s\n" 'EGREP' >> "conftest.nl"
7057 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7058 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7059 as_fn_arith $ac_count + 1 && ac_count=$as_val
7060 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7061 # Best one so far, save it but keep looking for a better one
7062 ac_cv_path_EGREP="$ac_path_EGREP"
7063 ac_path_EGREP_max=$ac_count
7065 # 10*(2^10) chars as input seems more than enough
7066 test $ac_count -gt 10 && break
7067 done
7068 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7069 esac
7071 $ac_path_EGREP_found && break 3
7072 done
7073 done
7074 done
7075 IFS=$as_save_IFS
7076 if test -z "$ac_cv_path_EGREP"; then
7077 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7079 else
7080 ac_cv_path_EGREP=$EGREP
7085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7086 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7087 EGREP="$ac_cv_path_EGREP"
7090 # Extract the first word of "ldconfig", so it can be a program name with args.
7091 set dummy ldconfig; ac_word=$2
7092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093 printf %s "checking for $ac_word... " >&6; }
7094 if test ${ac_cv_path_LDCONFIG+y}
7095 then :
7096 printf %s "(cached) " >&6
7097 else $as_nop
7098 case $LDCONFIG in
7099 [\\/]* | ?:[\\/]*)
7100 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104 for as_dir in /sbin /usr/sbin $PATH
7106 IFS=$as_save_IFS
7107 case $as_dir in #(((
7108 '') as_dir=./ ;;
7109 */) ;;
7110 *) as_dir=$as_dir/ ;;
7111 esac
7112 for ac_exec_ext in '' $ac_executable_extensions; do
7113 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7114 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7116 break 2
7118 done
7119 done
7120 IFS=$as_save_IFS
7122 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7124 esac
7126 LDCONFIG=$ac_cv_path_LDCONFIG
7127 if test -n "$LDCONFIG"; then
7128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7129 printf "%s\n" "$LDCONFIG" >&6; }
7130 else
7131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 printf "%s\n" "no" >&6; }
7136 for ac_prog in msgfmt
7138 # Extract the first word of "$ac_prog", so it can be a program name with args.
7139 set dummy $ac_prog; ac_word=$2
7140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141 printf %s "checking for $ac_word... " >&6; }
7142 if test ${ac_cv_prog_MSGFMT+y}
7143 then :
7144 printf %s "(cached) " >&6
7145 else $as_nop
7146 if test -n "$MSGFMT"; then
7147 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7148 else
7149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7150 for as_dir in $PATH
7152 IFS=$as_save_IFS
7153 case $as_dir in #(((
7154 '') as_dir=./ ;;
7155 */) ;;
7156 *) as_dir=$as_dir/ ;;
7157 esac
7158 for ac_exec_ext in '' $ac_executable_extensions; do
7159 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7160 ac_cv_prog_MSGFMT="$ac_prog"
7161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7162 break 2
7164 done
7165 done
7166 IFS=$as_save_IFS
7170 MSGFMT=$ac_cv_prog_MSGFMT
7171 if test -n "$MSGFMT"; then
7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7173 printf "%s\n" "$MSGFMT" >&6; }
7174 else
7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 printf "%s\n" "no" >&6; }
7180 test -n "$MSGFMT" && break
7181 done
7182 test -n "$MSGFMT" || MSGFMT="false"
7184 if test ${ac_tool_prefix+y}
7185 then :
7186 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7187 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189 printf %s "checking for $ac_word... " >&6; }
7190 if test ${ac_cv_prog_PKG_CONFIG+y}
7191 then :
7192 printf %s "(cached) " >&6
7193 else $as_nop
7194 if test -n "$PKG_CONFIG"; then
7195 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7196 else
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7198 for as_dir in $PATH
7200 IFS=$as_save_IFS
7201 case $as_dir in #(((
7202 '') as_dir=./ ;;
7203 */) ;;
7204 *) as_dir=$as_dir/ ;;
7205 esac
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7208 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7210 break 2
7212 done
7213 done
7214 IFS=$as_save_IFS
7218 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7219 if test -n "$PKG_CONFIG"; then
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7221 printf "%s\n" "$PKG_CONFIG" >&6; }
7222 else
7223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 printf "%s\n" "no" >&6; }
7229 if ${ac_cv_prog_PKG_CONFIG:+false} :
7230 then :
7231 if test "x$cross_compiling" = xyes
7232 then :
7234 else $as_nop
7235 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7236 # Extract the first word of "pkg-config", so it can be a program name with args.
7237 set dummy pkg-config; ac_word=$2
7238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239 printf %s "checking for $ac_word... " >&6; }
7240 if test ${ac_cv_prog_PKG_CONFIG+y}
7241 then :
7242 printf %s "(cached) " >&6
7243 else $as_nop
7244 if test -n "$PKG_CONFIG"; then
7245 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7246 else
7247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248 for as_dir in $PATH
7250 IFS=$as_save_IFS
7251 case $as_dir in #(((
7252 '') as_dir=./ ;;
7253 */) ;;
7254 *) as_dir=$as_dir/ ;;
7255 esac
7256 for ac_exec_ext in '' $ac_executable_extensions; do
7257 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7258 ac_cv_prog_PKG_CONFIG="pkg-config"
7259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7260 break 2
7262 done
7263 done
7264 IFS=$as_save_IFS
7268 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7269 if test -n "$PKG_CONFIG"; then
7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7271 printf "%s\n" "$PKG_CONFIG" >&6; }
7272 else
7273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7274 printf "%s\n" "no" >&6; }
7279 else $as_nop
7280 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7283 if test "x$enable_maintainer_mode" != "xyes"
7284 then
7285 FONTFORGE=""
7286 RSVG=""
7287 CONVERT=""
7288 ICOTOOL=""
7289 else
7290 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7291 for ac_prog in fontforge
7293 # Extract the first word of "$ac_prog", so it can be a program name with args.
7294 set dummy $ac_prog; ac_word=$2
7295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7296 printf %s "checking for $ac_word... " >&6; }
7297 if test ${ac_cv_prog_FONTFORGE+y}
7298 then :
7299 printf %s "(cached) " >&6
7300 else $as_nop
7301 if test -n "$FONTFORGE"; then
7302 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7303 else
7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7305 for as_dir in $PATH
7307 IFS=$as_save_IFS
7308 case $as_dir in #(((
7309 '') as_dir=./ ;;
7310 */) ;;
7311 *) as_dir=$as_dir/ ;;
7312 esac
7313 for ac_exec_ext in '' $ac_executable_extensions; do
7314 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7315 ac_cv_prog_FONTFORGE="$ac_prog"
7316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7317 break 2
7319 done
7320 done
7321 IFS=$as_save_IFS
7325 FONTFORGE=$ac_cv_prog_FONTFORGE
7326 if test -n "$FONTFORGE"; then
7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7328 printf "%s\n" "$FONTFORGE" >&6; }
7329 else
7330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331 printf "%s\n" "no" >&6; }
7335 test -n "$FONTFORGE" && break
7336 done
7337 test -n "$FONTFORGE" || FONTFORGE="false"
7339 for ac_prog in rsvg-convert rsvg
7341 # Extract the first word of "$ac_prog", so it can be a program name with args.
7342 set dummy $ac_prog; ac_word=$2
7343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344 printf %s "checking for $ac_word... " >&6; }
7345 if test ${ac_cv_prog_RSVG+y}
7346 then :
7347 printf %s "(cached) " >&6
7348 else $as_nop
7349 if test -n "$RSVG"; then
7350 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7351 else
7352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7353 for as_dir in $PATH
7355 IFS=$as_save_IFS
7356 case $as_dir in #(((
7357 '') as_dir=./ ;;
7358 */) ;;
7359 *) as_dir=$as_dir/ ;;
7360 esac
7361 for ac_exec_ext in '' $ac_executable_extensions; do
7362 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7363 ac_cv_prog_RSVG="$ac_prog"
7364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7365 break 2
7367 done
7368 done
7369 IFS=$as_save_IFS
7373 RSVG=$ac_cv_prog_RSVG
7374 if test -n "$RSVG"; then
7375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7376 printf "%s\n" "$RSVG" >&6; }
7377 else
7378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 printf "%s\n" "no" >&6; }
7383 test -n "$RSVG" && break
7384 done
7385 test -n "$RSVG" || RSVG="false"
7387 for ac_prog in convert
7389 # Extract the first word of "$ac_prog", so it can be a program name with args.
7390 set dummy $ac_prog; ac_word=$2
7391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 printf %s "checking for $ac_word... " >&6; }
7393 if test ${ac_cv_prog_CONVERT+y}
7394 then :
7395 printf %s "(cached) " >&6
7396 else $as_nop
7397 if test -n "$CONVERT"; then
7398 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7399 else
7400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7401 for as_dir in $PATH
7403 IFS=$as_save_IFS
7404 case $as_dir in #(((
7405 '') as_dir=./ ;;
7406 */) ;;
7407 *) as_dir=$as_dir/ ;;
7408 esac
7409 for ac_exec_ext in '' $ac_executable_extensions; do
7410 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7411 ac_cv_prog_CONVERT="$ac_prog"
7412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7413 break 2
7415 done
7416 done
7417 IFS=$as_save_IFS
7421 CONVERT=$ac_cv_prog_CONVERT
7422 if test -n "$CONVERT"; then
7423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7424 printf "%s\n" "$CONVERT" >&6; }
7425 else
7426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427 printf "%s\n" "no" >&6; }
7431 test -n "$CONVERT" && break
7432 done
7433 test -n "$CONVERT" || CONVERT="false"
7435 for ac_prog in icotool
7437 # Extract the first word of "$ac_prog", so it can be a program name with args.
7438 set dummy $ac_prog; ac_word=$2
7439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7440 printf %s "checking for $ac_word... " >&6; }
7441 if test ${ac_cv_prog_ICOTOOL+y}
7442 then :
7443 printf %s "(cached) " >&6
7444 else $as_nop
7445 if test -n "$ICOTOOL"; then
7446 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7447 else
7448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7449 for as_dir in $PATH
7451 IFS=$as_save_IFS
7452 case $as_dir in #(((
7453 '') as_dir=./ ;;
7454 */) ;;
7455 *) as_dir=$as_dir/ ;;
7456 esac
7457 for ac_exec_ext in '' $ac_executable_extensions; do
7458 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7459 ac_cv_prog_ICOTOOL="$ac_prog"
7460 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7461 break 2
7463 done
7464 done
7465 IFS=$as_save_IFS
7469 ICOTOOL=$ac_cv_prog_ICOTOOL
7470 if test -n "$ICOTOOL"; then
7471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7472 printf "%s\n" "$ICOTOOL" >&6; }
7473 else
7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475 printf "%s\n" "no" >&6; }
7479 test -n "$ICOTOOL" && break
7480 done
7481 test -n "$ICOTOOL" || ICOTOOL="false"
7483 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7484 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7486 if test "$CONVERT" = false
7487 then
7488 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7489 else
7490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7491 printf %s "checking for recent enough imagemagick... " >&6; }
7492 convert_version=`convert --version | head -n1`
7493 if test "x$convert_version" != "x"
7494 then
7495 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7496 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7497 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7498 then
7499 CONVERT=false
7502 if test "$CONVERT" = false
7503 then
7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7505 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7506 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7507 else
7508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7509 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7513 if test "$ICOTOOL" = false
7514 then
7515 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7516 else
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7518 printf %s "checking for recent enough icotool... " >&6; }
7519 icotool_version=`icotool --version | head -n1`
7520 if test "x$icotool_version" != "x"
7521 then
7522 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7523 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7524 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7525 then
7526 ICOTOOL=false
7527 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7530 if test "$ICOTOOL" = false
7531 then
7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7533 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7534 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7535 else
7536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7537 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7541 with_gettext=yes
7542 with_gettextpo=yes
7544 enable_werror=yes
7547 test "x$with_gettext" != xno || MSGFMT=false
7548 if test "$MSGFMT" != "false"
7549 then
7550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7551 printf %s "checking whether msgfmt supports contexts... " >&6; }
7552 if test ${wine_cv_msgfmt_contexts+y}
7553 then :
7554 printf %s "(cached) " >&6
7555 else $as_nop
7556 cat >conftest.po <<EOF
7557 # comment
7558 msgctxt "ctxt"
7559 msgid "id"
7560 msgstr "str"
7562 if $MSGFMT -o /dev/null conftest.po 2>&5
7563 then
7564 wine_cv_msgfmt_contexts=yes
7565 else
7566 wine_cv_msgfmt_contexts=no
7569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7570 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7571 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7573 if test "$MSGFMT" = false
7574 then :
7575 case "x$with_gettext" in
7576 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7577 xno) ;;
7578 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7579 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7580 esac
7581 enable_po=${enable_po:-no}
7585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7586 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7587 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7588 then :
7589 printf %s "(cached) " >&6
7590 else $as_nop
7591 ac_check_lib_save_LIBS=$LIBS
7592 LIBS="-li386 $LIBS"
7593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7594 /* end confdefs.h. */
7596 /* Override any GCC internal prototype to avoid an error.
7597 Use char because int might match the return type of a GCC
7598 builtin and then its argument prototype would still apply. */
7599 char i386_set_ldt ();
7601 main (void)
7603 return i386_set_ldt ();
7605 return 0;
7607 _ACEOF
7608 if ac_fn_c_try_link "$LINENO"
7609 then :
7610 ac_cv_lib_i386_i386_set_ldt=yes
7611 else $as_nop
7612 ac_cv_lib_i386_i386_set_ldt=no
7614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7615 conftest$ac_exeext conftest.$ac_ext
7616 LIBS=$ac_check_lib_save_LIBS
7618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7619 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7620 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7621 then :
7622 I386_LIBS="-li386"
7627 OPENGL_LIBS=""
7631 # Check whether --enable-largefile was given.
7632 if test ${enable_largefile+y}
7633 then :
7634 enableval=$enable_largefile;
7637 if test "$enable_largefile" != no; then
7639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7640 printf %s "checking for special C compiler options needed for large files... " >&6; }
7641 if test ${ac_cv_sys_largefile_CC+y}
7642 then :
7643 printf %s "(cached) " >&6
7644 else $as_nop
7645 ac_cv_sys_largefile_CC=no
7646 if test "$GCC" != yes; then
7647 ac_save_CC=$CC
7648 while :; do
7649 # IRIX 6.2 and later do not support large files by default,
7650 # so use the C compiler's -n32 option if that helps.
7651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h. */
7653 #include <sys/types.h>
7654 /* Check that off_t can represent 2**63 - 1 correctly.
7655 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7656 since some C++ compilers masquerading as C compilers
7657 incorrectly reject 9223372036854775807. */
7658 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7659 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7660 && LARGE_OFF_T % 2147483647 == 1)
7661 ? 1 : -1];
7663 main (void)
7667 return 0;
7669 _ACEOF
7670 if ac_fn_c_try_compile "$LINENO"
7671 then :
7672 break
7674 rm -f core conftest.err conftest.$ac_objext conftest.beam
7675 CC="$CC -n32"
7676 if ac_fn_c_try_compile "$LINENO"
7677 then :
7678 ac_cv_sys_largefile_CC=' -n32'; break
7680 rm -f core conftest.err conftest.$ac_objext conftest.beam
7681 break
7682 done
7683 CC=$ac_save_CC
7684 rm -f conftest.$ac_ext
7687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7688 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7689 if test "$ac_cv_sys_largefile_CC" != no; then
7690 CC=$CC$ac_cv_sys_largefile_CC
7693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7694 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7695 if test ${ac_cv_sys_file_offset_bits+y}
7696 then :
7697 printf %s "(cached) " >&6
7698 else $as_nop
7699 while :; do
7700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7701 /* end confdefs.h. */
7702 #include <sys/types.h>
7703 /* Check that off_t can represent 2**63 - 1 correctly.
7704 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7705 since some C++ compilers masquerading as C compilers
7706 incorrectly reject 9223372036854775807. */
7707 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7708 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7709 && LARGE_OFF_T % 2147483647 == 1)
7710 ? 1 : -1];
7712 main (void)
7716 return 0;
7718 _ACEOF
7719 if ac_fn_c_try_compile "$LINENO"
7720 then :
7721 ac_cv_sys_file_offset_bits=no; break
7723 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7725 /* end confdefs.h. */
7726 #define _FILE_OFFSET_BITS 64
7727 #include <sys/types.h>
7728 /* Check that off_t can represent 2**63 - 1 correctly.
7729 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7730 since some C++ compilers masquerading as C compilers
7731 incorrectly reject 9223372036854775807. */
7732 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7733 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7734 && LARGE_OFF_T % 2147483647 == 1)
7735 ? 1 : -1];
7737 main (void)
7741 return 0;
7743 _ACEOF
7744 if ac_fn_c_try_compile "$LINENO"
7745 then :
7746 ac_cv_sys_file_offset_bits=64; break
7748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7749 ac_cv_sys_file_offset_bits=unknown
7750 break
7751 done
7753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7754 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7755 case $ac_cv_sys_file_offset_bits in #(
7756 no | unknown) ;;
7758 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7760 esac
7761 rm -rf conftest*
7762 if test $ac_cv_sys_file_offset_bits = unknown; then
7763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7764 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7765 if test ${ac_cv_sys_large_files+y}
7766 then :
7767 printf %s "(cached) " >&6
7768 else $as_nop
7769 while :; do
7770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7771 /* end confdefs.h. */
7772 #include <sys/types.h>
7773 /* Check that off_t can represent 2**63 - 1 correctly.
7774 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7775 since some C++ compilers masquerading as C compilers
7776 incorrectly reject 9223372036854775807. */
7777 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7778 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7779 && LARGE_OFF_T % 2147483647 == 1)
7780 ? 1 : -1];
7782 main (void)
7786 return 0;
7788 _ACEOF
7789 if ac_fn_c_try_compile "$LINENO"
7790 then :
7791 ac_cv_sys_large_files=no; break
7793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7796 #define _LARGE_FILES 1
7797 #include <sys/types.h>
7798 /* Check that off_t can represent 2**63 - 1 correctly.
7799 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7800 since some C++ compilers masquerading as C compilers
7801 incorrectly reject 9223372036854775807. */
7802 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7803 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7804 && LARGE_OFF_T % 2147483647 == 1)
7805 ? 1 : -1];
7807 main (void)
7811 return 0;
7813 _ACEOF
7814 if ac_fn_c_try_compile "$LINENO"
7815 then :
7816 ac_cv_sys_large_files=1; break
7818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7819 ac_cv_sys_large_files=unknown
7820 break
7821 done
7823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7824 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7825 case $ac_cv_sys_large_files in #(
7826 no | unknown) ;;
7828 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7830 esac
7831 rm -rf conftest*
7836 ac_header= ac_cache=
7837 for ac_item in $ac_header_c_list
7839 if test $ac_cache; then
7840 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7841 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7842 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7844 ac_header= ac_cache=
7845 elif test $ac_header; then
7846 ac_cache=$ac_item
7847 else
7848 ac_header=$ac_item
7850 done
7859 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7860 then :
7862 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7865 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7866 if test "x$ac_cv_header_CL_cl_h" = xyes
7867 then :
7868 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7871 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7872 if test "x$ac_cv_header_EGL_egl_h" = xyes
7873 then :
7874 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7877 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7878 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7879 then :
7880 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7883 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7884 if test "x$ac_cv_header_arpa_inet_h" = xyes
7885 then :
7886 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7889 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7890 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7891 then :
7892 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7895 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7896 if test "x$ac_cv_header_asm_types_h" = xyes
7897 then :
7898 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7901 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7902 if test "x$ac_cv_header_asm_user_h" = xyes
7903 then :
7904 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7907 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_elf_h" = xyes
7909 then :
7910 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7913 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7914 if test "x$ac_cv_header_float_h" = xyes
7915 then :
7916 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7919 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7920 if test "x$ac_cv_header_gettext_po_h" = xyes
7921 then :
7922 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7925 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7926 if test "x$ac_cv_header_libproc_h" = xyes
7927 then :
7928 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7931 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7932 if test "x$ac_cv_header_link_h" = xyes
7933 then :
7934 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7937 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7939 then :
7940 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7943 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7944 if test "x$ac_cv_header_linux_filter_h" = xyes
7945 then :
7946 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7949 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7951 then :
7952 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7955 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7956 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7957 then :
7958 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7961 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7962 if test "x$ac_cv_header_linux_input_h" = xyes
7963 then :
7964 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7967 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7969 then :
7970 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7973 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7974 if test "x$ac_cv_header_linux_major_h" = xyes
7975 then :
7976 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7979 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7980 if test "x$ac_cv_header_linux_param_h" = xyes
7981 then :
7982 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7985 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_linux_serial_h" = xyes
7987 then :
7988 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7991 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7992 if test "x$ac_cv_header_linux_types_h" = xyes
7993 then :
7994 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7997 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7999 then :
8000 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8003 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_lwp_h" = xyes
8005 then :
8006 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8009 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8010 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8011 then :
8012 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8015 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_mach_mach_h" = xyes
8017 then :
8018 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8021 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8022 if test "x$ac_cv_header_machine_cpu_h" = xyes
8023 then :
8024 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8027 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8028 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8029 then :
8030 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8033 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8034 if test "x$ac_cv_header_mntent_h" = xyes
8035 then :
8036 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8039 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_netdb_h" = xyes
8041 then :
8042 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8045 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8046 if test "x$ac_cv_header_netinet_in_h" = xyes
8047 then :
8048 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8051 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8052 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8053 then :
8054 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8057 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8058 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8059 then :
8060 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8063 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8064 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8065 then :
8066 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8069 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8070 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8071 then :
8072 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8075 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8076 if test "x$ac_cv_header_port_h" = xyes
8077 then :
8078 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8081 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8082 if test "x$ac_cv_header_pthread_h" = xyes
8083 then :
8084 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8087 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_pwd_h" = xyes
8089 then :
8090 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8093 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8094 if test "x$ac_cv_header_sched_h" = xyes
8095 then :
8096 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8099 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8101 then :
8102 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8105 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8106 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8107 then :
8108 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8111 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_scsi_sg_h" = xyes
8113 then :
8114 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8117 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8118 if test "x$ac_cv_header_stdint_h" = xyes
8119 then :
8120 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8123 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8124 if test "x$ac_cv_header_sys_attr_h" = xyes
8125 then :
8126 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8129 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8130 if test "x$ac_cv_header_sys_auxv_h" = xyes
8131 then :
8132 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8135 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8136 if test "x$ac_cv_header_sys_cdio_h" = xyes
8137 then :
8138 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8141 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_sys_epoll_h" = xyes
8143 then :
8144 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_sys_event_h" = xyes
8149 then :
8150 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_sys_extattr_h" = xyes
8155 then :
8156 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_sys_filio_h" = xyes
8161 then :
8162 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_sys_ipc_h" = xyes
8167 then :
8168 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_sys_link_h" = xyes
8173 then :
8174 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_sys_modem_h" = xyes
8179 then :
8180 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_sys_mtio_h" = xyes
8185 then :
8186 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_sys_param_h" = xyes
8191 then :
8192 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_sys_prctl_h" = xyes
8197 then :
8198 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8203 then :
8204 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_sys_queue_h" = xyes
8209 then :
8210 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_sys_random_h" = xyes
8215 then :
8216 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_sys_resource_h" = xyes
8221 then :
8222 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8227 then :
8228 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_sys_shm_h" = xyes
8233 then :
8234 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_sys_signal_h" = xyes
8239 then :
8240 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8245 then :
8246 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_sys_sockio_h" = xyes
8251 then :
8252 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8257 then :
8258 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_sys_strtio_h" = xyes
8263 then :
8264 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_sys_syscall_h" = xyes
8269 then :
8270 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8275 then :
8276 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_sys_times_h" = xyes
8281 then :
8282 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_sys_uio_h" = xyes
8287 then :
8288 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_sys_user_h" = xyes
8293 then :
8294 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_utsname_h" = xyes
8299 then :
8300 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_sys_vnode_h" = xyes
8305 then :
8306 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_sys_xattr_h" = xyes
8311 then :
8312 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_syscall_h" = xyes
8317 then :
8318 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_utime_h" = xyes
8323 then :
8324 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8329 then :
8330 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8333 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8335 then :
8336 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8340 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8341 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8342 then :
8344 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8348 if test $ac_cv_header_sys_mkdev_h = no; then
8349 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8350 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8351 then :
8353 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8359 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8360 if test ${ac_cv_header_stat_broken+y}
8361 then :
8362 printf %s "(cached) " >&6
8363 else $as_nop
8364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8365 /* end confdefs.h. */
8366 #include <sys/types.h>
8367 #include <sys/stat.h>
8369 #if defined S_ISBLK && defined S_IFDIR
8370 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8371 #endif
8373 #if defined S_ISBLK && defined S_IFCHR
8374 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8375 #endif
8377 #if defined S_ISLNK && defined S_IFREG
8378 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8379 #endif
8381 #if defined S_ISSOCK && defined S_IFREG
8382 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8383 #endif
8385 _ACEOF
8386 if ac_fn_c_try_compile "$LINENO"
8387 then :
8388 ac_cv_header_stat_broken=no
8389 else $as_nop
8390 ac_cv_header_stat_broken=yes
8392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8395 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8396 if test $ac_cv_header_stat_broken = yes; then
8398 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8404 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8405 #ifdef HAVE_SYS_PARAM_H
8406 # include <sys/param.h>
8407 #endif
8409 if test "x$ac_cv_header_sys_conf_h" = xyes
8410 then :
8411 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8414 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8415 #ifdef HAVE_SYS_PARAM_H
8416 # include <sys/param.h>
8417 #endif
8419 if test "x$ac_cv_header_sys_mount_h" = xyes
8420 then :
8421 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8424 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8425 #ifdef HAVE_SYS_PARAM_H
8426 # include <sys/param.h>
8427 #endif
8429 if test "x$ac_cv_header_sys_statfs_h" = xyes
8430 then :
8431 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8434 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8435 #ifdef HAVE_SYS_PARAM_H
8436 # include <sys/param.h>
8437 #endif
8439 if test "x$ac_cv_header_sys_user_h" = xyes
8440 then :
8441 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8444 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8445 #ifdef HAVE_SYS_PARAM_H
8446 # include <sys/param.h>
8447 #endif
8449 if test "x$ac_cv_header_sys_vfs_h" = xyes
8450 then :
8451 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8456 saved_sysctl_h_CFLAGS=$CFLAGS
8457 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8458 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8459 #ifdef HAVE_SYS_PARAM_H
8460 # include <sys/param.h>
8461 #endif
8463 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8464 then :
8465 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8469 CFLAGS=$saved_sysctl_h_CFLAGS
8471 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8472 #include <sys/socket.h>
8473 #ifdef HAVE_SYS_SOCKETVAR_H
8474 # include <sys/socketvar.h>
8475 #endif
8476 #ifdef HAVE_NET_ROUTE_H
8477 # include <net/route.h>
8478 #endif
8479 #ifdef HAVE_NETINET_IN_H
8480 # include <netinet/in.h>
8481 #endif
8482 #ifdef HAVE_NETINET_IN_SYSTM_H
8483 # include <netinet/in_systm.h>
8484 #endif
8485 #ifdef HAVE_NET_IF_H
8486 # include <net/if.h>
8487 #endif
8488 #ifdef HAVE_NETINET_IP_H
8489 # include <netinet/ip.h>
8490 #endif
8492 if test "x$ac_cv_header_netinet_ip_h" = xyes
8493 then :
8494 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8497 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8498 #include <sys/socket.h>
8499 #ifdef HAVE_SYS_SOCKETVAR_H
8500 # include <sys/socketvar.h>
8501 #endif
8502 #ifdef HAVE_NET_ROUTE_H
8503 # include <net/route.h>
8504 #endif
8505 #ifdef HAVE_NETINET_IN_H
8506 # include <netinet/in.h>
8507 #endif
8508 #ifdef HAVE_NETINET_IN_SYSTM_H
8509 # include <netinet/in_systm.h>
8510 #endif
8511 #ifdef HAVE_NET_IF_H
8512 # include <net/if.h>
8513 #endif
8514 #ifdef HAVE_NETINET_IP_H
8515 # include <netinet/ip.h>
8516 #endif
8518 if test "x$ac_cv_header_net_if_h" = xyes
8519 then :
8520 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8523 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8524 #include <sys/socket.h>
8525 #ifdef HAVE_SYS_SOCKETVAR_H
8526 # include <sys/socketvar.h>
8527 #endif
8528 #ifdef HAVE_NET_ROUTE_H
8529 # include <net/route.h>
8530 #endif
8531 #ifdef HAVE_NETINET_IN_H
8532 # include <netinet/in.h>
8533 #endif
8534 #ifdef HAVE_NETINET_IN_SYSTM_H
8535 # include <netinet/in_systm.h>
8536 #endif
8537 #ifdef HAVE_NET_IF_H
8538 # include <net/if.h>
8539 #endif
8540 #ifdef HAVE_NETINET_IP_H
8541 # include <netinet/ip.h>
8542 #endif
8544 if test "x$ac_cv_header_net_if_arp_h" = xyes
8545 then :
8546 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8549 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8550 #include <sys/socket.h>
8551 #ifdef HAVE_SYS_SOCKETVAR_H
8552 # include <sys/socketvar.h>
8553 #endif
8554 #ifdef HAVE_NET_ROUTE_H
8555 # include <net/route.h>
8556 #endif
8557 #ifdef HAVE_NETINET_IN_H
8558 # include <netinet/in.h>
8559 #endif
8560 #ifdef HAVE_NETINET_IN_SYSTM_H
8561 # include <netinet/in_systm.h>
8562 #endif
8563 #ifdef HAVE_NET_IF_H
8564 # include <net/if.h>
8565 #endif
8566 #ifdef HAVE_NETINET_IP_H
8567 # include <netinet/ip.h>
8568 #endif
8570 if test "x$ac_cv_header_net_if_dl_h" = xyes
8571 then :
8572 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8575 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8576 #include <sys/socket.h>
8577 #ifdef HAVE_SYS_SOCKETVAR_H
8578 # include <sys/socketvar.h>
8579 #endif
8580 #ifdef HAVE_NET_ROUTE_H
8581 # include <net/route.h>
8582 #endif
8583 #ifdef HAVE_NETINET_IN_H
8584 # include <netinet/in.h>
8585 #endif
8586 #ifdef HAVE_NETINET_IN_SYSTM_H
8587 # include <netinet/in_systm.h>
8588 #endif
8589 #ifdef HAVE_NET_IF_H
8590 # include <net/if.h>
8591 #endif
8592 #ifdef HAVE_NETINET_IP_H
8593 # include <netinet/ip.h>
8594 #endif
8596 if test "x$ac_cv_header_net_if_types_h" = xyes
8597 then :
8598 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8601 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8602 #include <sys/socket.h>
8603 #ifdef HAVE_SYS_SOCKETVAR_H
8604 # include <sys/socketvar.h>
8605 #endif
8606 #ifdef HAVE_NET_ROUTE_H
8607 # include <net/route.h>
8608 #endif
8609 #ifdef HAVE_NETINET_IN_H
8610 # include <netinet/in.h>
8611 #endif
8612 #ifdef HAVE_NETINET_IN_SYSTM_H
8613 # include <netinet/in_systm.h>
8614 #endif
8615 #ifdef HAVE_NET_IF_H
8616 # include <net/if.h>
8617 #endif
8618 #ifdef HAVE_NETINET_IP_H
8619 # include <netinet/ip.h>
8620 #endif
8622 if test "x$ac_cv_header_net_route_h" = xyes
8623 then :
8624 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8627 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8628 #include <sys/socket.h>
8629 #ifdef HAVE_SYS_SOCKETVAR_H
8630 # include <sys/socketvar.h>
8631 #endif
8632 #ifdef HAVE_NET_ROUTE_H
8633 # include <net/route.h>
8634 #endif
8635 #ifdef HAVE_NETINET_IN_H
8636 # include <netinet/in.h>
8637 #endif
8638 #ifdef HAVE_NETINET_IN_SYSTM_H
8639 # include <netinet/in_systm.h>
8640 #endif
8641 #ifdef HAVE_NET_IF_H
8642 # include <net/if.h>
8643 #endif
8644 #ifdef HAVE_NETINET_IP_H
8645 # include <netinet/ip.h>
8646 #endif
8648 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8649 then :
8650 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8653 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8654 #include <sys/socket.h>
8655 #ifdef HAVE_SYS_SOCKETVAR_H
8656 # include <sys/socketvar.h>
8657 #endif
8658 #ifdef HAVE_NET_ROUTE_H
8659 # include <net/route.h>
8660 #endif
8661 #ifdef HAVE_NETINET_IN_H
8662 # include <netinet/in.h>
8663 #endif
8664 #ifdef HAVE_NETINET_IN_SYSTM_H
8665 # include <netinet/in_systm.h>
8666 #endif
8667 #ifdef HAVE_NET_IF_H
8668 # include <net/if.h>
8669 #endif
8670 #ifdef HAVE_NETINET_IP_H
8671 # include <netinet/ip.h>
8672 #endif
8674 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8675 then :
8676 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8679 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8680 #include <sys/socket.h>
8681 #ifdef HAVE_SYS_SOCKETVAR_H
8682 # include <sys/socketvar.h>
8683 #endif
8684 #ifdef HAVE_NET_ROUTE_H
8685 # include <net/route.h>
8686 #endif
8687 #ifdef HAVE_NETINET_IN_H
8688 # include <netinet/in.h>
8689 #endif
8690 #ifdef HAVE_NETINET_IN_SYSTM_H
8691 # include <netinet/in_systm.h>
8692 #endif
8693 #ifdef HAVE_NET_IF_H
8694 # include <net/if.h>
8695 #endif
8696 #ifdef HAVE_NETINET_IP_H
8697 # include <netinet/ip.h>
8698 #endif
8700 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8701 then :
8702 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8705 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8706 #include <sys/socket.h>
8707 #ifdef HAVE_SYS_SOCKETVAR_H
8708 # include <sys/socketvar.h>
8709 #endif
8710 #ifdef HAVE_NET_ROUTE_H
8711 # include <net/route.h>
8712 #endif
8713 #ifdef HAVE_NETINET_IN_H
8714 # include <netinet/in.h>
8715 #endif
8716 #ifdef HAVE_NETINET_IN_SYSTM_H
8717 # include <netinet/in_systm.h>
8718 #endif
8719 #ifdef HAVE_NET_IF_H
8720 # include <net/if.h>
8721 #endif
8722 #ifdef HAVE_NETINET_IP_H
8723 # include <netinet/ip.h>
8724 #endif
8726 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8727 then :
8728 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8731 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8732 #include <sys/socket.h>
8733 #ifdef HAVE_SYS_SOCKETVAR_H
8734 # include <sys/socketvar.h>
8735 #endif
8736 #ifdef HAVE_NET_ROUTE_H
8737 # include <net/route.h>
8738 #endif
8739 #ifdef HAVE_NETINET_IN_H
8740 # include <netinet/in.h>
8741 #endif
8742 #ifdef HAVE_NETINET_IN_SYSTM_H
8743 # include <netinet/in_systm.h>
8744 #endif
8745 #ifdef HAVE_NET_IF_H
8746 # include <net/if.h>
8747 #endif
8748 #ifdef HAVE_NETINET_IP_H
8749 # include <netinet/ip.h>
8750 #endif
8752 if test "x$ac_cv_header_netinet_udp_h" = xyes
8753 then :
8754 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8757 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8758 #include <sys/socket.h>
8759 #ifdef HAVE_SYS_SOCKETVAR_H
8760 # include <sys/socketvar.h>
8761 #endif
8762 #ifdef HAVE_NET_ROUTE_H
8763 # include <net/route.h>
8764 #endif
8765 #ifdef HAVE_NETINET_IN_H
8766 # include <netinet/in.h>
8767 #endif
8768 #ifdef HAVE_NETINET_IN_SYSTM_H
8769 # include <netinet/in_systm.h>
8770 #endif
8771 #ifdef HAVE_NET_IF_H
8772 # include <net/if.h>
8773 #endif
8774 #ifdef HAVE_NETINET_IP_H
8775 # include <netinet/ip.h>
8776 #endif
8778 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8779 then :
8780 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8783 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8784 #include <sys/socket.h>
8785 #ifdef HAVE_SYS_SOCKETVAR_H
8786 # include <sys/socketvar.h>
8787 #endif
8788 #ifdef HAVE_NET_ROUTE_H
8789 # include <net/route.h>
8790 #endif
8791 #ifdef HAVE_NETINET_IN_H
8792 # include <netinet/in.h>
8793 #endif
8794 #ifdef HAVE_NETINET_IN_SYSTM_H
8795 # include <netinet/in_systm.h>
8796 #endif
8797 #ifdef HAVE_NET_IF_H
8798 # include <net/if.h>
8799 #endif
8800 #ifdef HAVE_NETINET_IP_H
8801 # include <netinet/ip.h>
8802 #endif
8804 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8805 then :
8806 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8809 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8810 #include <sys/socket.h>
8811 #ifdef HAVE_SYS_SOCKETVAR_H
8812 # include <sys/socketvar.h>
8813 #endif
8814 #ifdef HAVE_NET_ROUTE_H
8815 # include <net/route.h>
8816 #endif
8817 #ifdef HAVE_NETINET_IN_H
8818 # include <netinet/in.h>
8819 #endif
8820 #ifdef HAVE_NETINET_IN_SYSTM_H
8821 # include <netinet/in_systm.h>
8822 #endif
8823 #ifdef HAVE_NET_IF_H
8824 # include <net/if.h>
8825 #endif
8826 #ifdef HAVE_NETINET_IP_H
8827 # include <netinet/ip.h>
8828 #endif
8830 if test "x$ac_cv_header_sys_un_h" = xyes
8831 then :
8832 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8837 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8838 #include <sys/socket.h>
8839 #ifdef HAVE_SYS_SOCKETVAR_H
8840 # include <sys/socketvar.h>
8841 #endif
8842 #ifdef HAVE_NETINET_IN_H
8843 # include <netinet/in.h>
8844 #endif
8845 #ifdef HAVE_NETINET_IN_SYSTM_H
8846 # include <netinet/in_systm.h>
8847 #endif
8848 #ifdef HAVE_NETINET_IP_H
8849 # include <netinet/ip.h>
8850 #endif
8851 #ifdef HAVE_NETINET_IP_VAR_H
8852 # include <netinet/ip_var.h>
8853 #endif
8854 #ifdef HAVE_NETINET_IP_ICMP_H
8855 # include <netinet/ip_icmp.h>
8856 #endif
8857 #ifdef HAVE_NETINET_UDP_H
8858 # include <netinet/udp.h>
8859 #endif
8860 #ifdef HAVE_NETINET_TCP_H
8861 # include <netinet/tcp.h>
8862 #endif
8864 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8865 then :
8866 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8869 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8870 #include <sys/socket.h>
8871 #ifdef HAVE_SYS_SOCKETVAR_H
8872 # include <sys/socketvar.h>
8873 #endif
8874 #ifdef HAVE_NETINET_IN_H
8875 # include <netinet/in.h>
8876 #endif
8877 #ifdef HAVE_NETINET_IN_SYSTM_H
8878 # include <netinet/in_systm.h>
8879 #endif
8880 #ifdef HAVE_NETINET_IP_H
8881 # include <netinet/ip.h>
8882 #endif
8883 #ifdef HAVE_NETINET_IP_VAR_H
8884 # include <netinet/ip_var.h>
8885 #endif
8886 #ifdef HAVE_NETINET_IP_ICMP_H
8887 # include <netinet/ip_icmp.h>
8888 #endif
8889 #ifdef HAVE_NETINET_UDP_H
8890 # include <netinet/udp.h>
8891 #endif
8892 #ifdef HAVE_NETINET_TCP_H
8893 # include <netinet/tcp.h>
8894 #endif
8896 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8897 then :
8898 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8901 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8902 #include <sys/socket.h>
8903 #ifdef HAVE_SYS_SOCKETVAR_H
8904 # include <sys/socketvar.h>
8905 #endif
8906 #ifdef HAVE_NETINET_IN_H
8907 # include <netinet/in.h>
8908 #endif
8909 #ifdef HAVE_NETINET_IN_SYSTM_H
8910 # include <netinet/in_systm.h>
8911 #endif
8912 #ifdef HAVE_NETINET_IP_H
8913 # include <netinet/ip.h>
8914 #endif
8915 #ifdef HAVE_NETINET_IP_VAR_H
8916 # include <netinet/ip_var.h>
8917 #endif
8918 #ifdef HAVE_NETINET_IP_ICMP_H
8919 # include <netinet/ip_icmp.h>
8920 #endif
8921 #ifdef HAVE_NETINET_UDP_H
8922 # include <netinet/udp.h>
8923 #endif
8924 #ifdef HAVE_NETINET_TCP_H
8925 # include <netinet/tcp.h>
8926 #endif
8928 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8929 then :
8930 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8933 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8934 #include <sys/socket.h>
8935 #ifdef HAVE_SYS_SOCKETVAR_H
8936 # include <sys/socketvar.h>
8937 #endif
8938 #ifdef HAVE_NETINET_IN_H
8939 # include <netinet/in.h>
8940 #endif
8941 #ifdef HAVE_NETINET_IN_SYSTM_H
8942 # include <netinet/in_systm.h>
8943 #endif
8944 #ifdef HAVE_NETINET_IP_H
8945 # include <netinet/ip.h>
8946 #endif
8947 #ifdef HAVE_NETINET_IP_VAR_H
8948 # include <netinet/ip_var.h>
8949 #endif
8950 #ifdef HAVE_NETINET_IP_ICMP_H
8951 # include <netinet/ip_icmp.h>
8952 #endif
8953 #ifdef HAVE_NETINET_UDP_H
8954 # include <netinet/udp.h>
8955 #endif
8956 #ifdef HAVE_NETINET_TCP_H
8957 # include <netinet/tcp.h>
8958 #endif
8960 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8961 then :
8962 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8967 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8968 #include <sys/socket.h>
8969 #ifdef HAVE_ASM_TYPES_H
8970 # include <asm/types.h>
8971 #endif
8972 #ifdef HAVE_LINUX_TYPES_H
8973 # include <linux/types.h>
8974 #endif
8976 if test "x$ac_cv_header_linux_ipx_h" = xyes
8977 then :
8978 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8981 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8982 #include <sys/socket.h>
8983 #ifdef HAVE_ASM_TYPES_H
8984 # include <asm/types.h>
8985 #endif
8986 #ifdef HAVE_LINUX_TYPES_H
8987 # include <linux/types.h>
8988 #endif
8990 if test "x$ac_cv_header_linux_irda_h" = xyes
8991 then :
8992 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8995 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8996 #include <sys/socket.h>
8997 #ifdef HAVE_ASM_TYPES_H
8998 # include <asm/types.h>
8999 #endif
9000 #ifdef HAVE_LINUX_TYPES_H
9001 # include <linux/types.h>
9002 #endif
9004 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9005 then :
9006 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9011 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9012 #include <sys/socket.h>
9013 #ifdef HAVE_NETINET_IN_H
9014 # include <netinet/in.h>
9015 #endif
9016 #ifdef HAVE_ARPA_NAMESER_H
9017 # include <arpa/nameser.h>
9018 #endif
9020 if test "x$ac_cv_header_resolv_h" = xyes
9021 then :
9022 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9027 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9029 if test "x$ac_cv_header_ifaddrs_h" = xyes
9030 then :
9031 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9036 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9038 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9039 then :
9040 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9045 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9046 #ifdef HAVE_SYS_UCONTEXT_H
9047 #include <sys/ucontext.h>
9048 #endif
9050 if test "x$ac_cv_header_sys_thr_h" = xyes
9051 then :
9052 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9057 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9058 #include <pthread.h>
9059 #endif
9061 if test "x$ac_cv_header_pthread_np_h" = xyes
9062 then :
9063 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9068 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9069 #include <sys/types.h>
9070 #ifdef HAVE_ASM_TYPES_H
9071 #include <asm/types.h>
9072 #endif
9074 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9075 then :
9076 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9081 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9082 #include <sys/param.h>
9083 #endif
9084 #include <sys/socket.h>
9085 #ifdef HAVE_SYS_QUEUE_H
9086 #include <sys/queue.h>
9087 #endif
9089 if test "x$ac_cv_header_libprocstat_h" = xyes
9090 then :
9091 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9096 if test "x$ac_cv_header_sys_xattr_h" = xyes
9097 then
9098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9099 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9100 if test ${wine_cv_xattr_extra_args+y}
9101 then :
9102 printf %s "(cached) " >&6
9103 else $as_nop
9104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9106 #include <sys/xattr.h>
9108 main (void)
9110 getxattr("", "", "", 0, 0, 0);
9112 return 0;
9114 _ACEOF
9115 if ac_fn_c_try_compile "$LINENO"
9116 then :
9117 wine_cv_xattr_extra_args=yes
9118 else $as_nop
9119 wine_cv_xattr_extra_args=no
9121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9124 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9125 test $wine_cv_xattr_extra_args != yes ||
9126 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9131 DLLFLAGS=""
9133 LDDLLFLAGS=""
9135 LDEXECFLAGS=""
9137 EXTRACFLAGS=""
9139 UNIXDLLFLAGS="-fPIC"
9141 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9143 TOP_INSTALL_LIB=""
9145 TOP_INSTALL_DEV=""
9147 WINELOADER_LDFLAGS=""
9149 WINEPRELOADER_LDFLAGS=""
9151 DLLEXT=".so"
9153 LIBEXT="so"
9154 # Extract the first word of "ldd", so it can be a program name with args.
9155 set dummy ldd; ac_word=$2
9156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9157 printf %s "checking for $ac_word... " >&6; }
9158 if test ${ac_cv_path_LDD+y}
9159 then :
9160 printf %s "(cached) " >&6
9161 else $as_nop
9162 case $LDD in
9163 [\\/]* | ?:[\\/]*)
9164 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9168 as_dummy="/sbin:/usr/sbin:$PATH"
9169 for as_dir in $as_dummy
9171 IFS=$as_save_IFS
9172 case $as_dir in #(((
9173 '') as_dir=./ ;;
9174 */) ;;
9175 *) as_dir=$as_dir/ ;;
9176 esac
9177 for ac_exec_ext in '' $ac_executable_extensions; do
9178 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9179 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9181 break 2
9183 done
9184 done
9185 IFS=$as_save_IFS
9187 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9189 esac
9191 LDD=$ac_cv_path_LDD
9192 if test -n "$LDD"; then
9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9194 printf "%s\n" "$LDD" >&6; }
9195 else
9196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9197 printf "%s\n" "no" >&6; }
9201 if test -n "$ac_tool_prefix"; then
9202 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9203 set dummy ${ac_tool_prefix}otool; ac_word=$2
9204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9205 printf %s "checking for $ac_word... " >&6; }
9206 if test ${ac_cv_prog_OTOOL+y}
9207 then :
9208 printf %s "(cached) " >&6
9209 else $as_nop
9210 if test -n "$OTOOL"; then
9211 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9212 else
9213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9214 for as_dir in $PATH
9216 IFS=$as_save_IFS
9217 case $as_dir in #(((
9218 '') as_dir=./ ;;
9219 */) ;;
9220 *) as_dir=$as_dir/ ;;
9221 esac
9222 for ac_exec_ext in '' $ac_executable_extensions; do
9223 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9224 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9226 break 2
9228 done
9229 done
9230 IFS=$as_save_IFS
9234 OTOOL=$ac_cv_prog_OTOOL
9235 if test -n "$OTOOL"; then
9236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9237 printf "%s\n" "$OTOOL" >&6; }
9238 else
9239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9240 printf "%s\n" "no" >&6; }
9245 if test -z "$ac_cv_prog_OTOOL"; then
9246 ac_ct_OTOOL=$OTOOL
9247 # Extract the first word of "otool", so it can be a program name with args.
9248 set dummy otool; ac_word=$2
9249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9250 printf %s "checking for $ac_word... " >&6; }
9251 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9252 then :
9253 printf %s "(cached) " >&6
9254 else $as_nop
9255 if test -n "$ac_ct_OTOOL"; then
9256 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9257 else
9258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9259 for as_dir in $PATH
9261 IFS=$as_save_IFS
9262 case $as_dir in #(((
9263 '') as_dir=./ ;;
9264 */) ;;
9265 *) as_dir=$as_dir/ ;;
9266 esac
9267 for ac_exec_ext in '' $ac_executable_extensions; do
9268 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9269 ac_cv_prog_ac_ct_OTOOL="otool"
9270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9271 break 2
9273 done
9274 done
9275 IFS=$as_save_IFS
9279 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9280 if test -n "$ac_ct_OTOOL"; then
9281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9282 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9283 else
9284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9285 printf "%s\n" "no" >&6; }
9288 if test "x$ac_ct_OTOOL" = x; then
9289 OTOOL="otool"
9290 else
9291 case $cross_compiling:$ac_tool_warned in
9292 yes:)
9293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9294 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9295 ac_tool_warned=yes ;;
9296 esac
9297 OTOOL=$ac_ct_OTOOL
9299 else
9300 OTOOL="$ac_cv_prog_OTOOL"
9303 if test -n "$ac_tool_prefix"; then
9304 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9305 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9307 printf %s "checking for $ac_word... " >&6; }
9308 if test ${ac_cv_prog_READELF+y}
9309 then :
9310 printf %s "(cached) " >&6
9311 else $as_nop
9312 if test -n "$READELF"; then
9313 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9314 else
9315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9316 for as_dir in $PATH
9318 IFS=$as_save_IFS
9319 case $as_dir in #(((
9320 '') as_dir=./ ;;
9321 */) ;;
9322 *) as_dir=$as_dir/ ;;
9323 esac
9324 for ac_exec_ext in '' $ac_executable_extensions; do
9325 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9326 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9328 break 2
9330 done
9331 done
9332 IFS=$as_save_IFS
9336 READELF=$ac_cv_prog_READELF
9337 if test -n "$READELF"; then
9338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9339 printf "%s\n" "$READELF" >&6; }
9340 else
9341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9342 printf "%s\n" "no" >&6; }
9347 if test -z "$ac_cv_prog_READELF"; then
9348 ac_ct_READELF=$READELF
9349 # Extract the first word of "readelf", so it can be a program name with args.
9350 set dummy readelf; ac_word=$2
9351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9352 printf %s "checking for $ac_word... " >&6; }
9353 if test ${ac_cv_prog_ac_ct_READELF+y}
9354 then :
9355 printf %s "(cached) " >&6
9356 else $as_nop
9357 if test -n "$ac_ct_READELF"; then
9358 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9359 else
9360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9361 for as_dir in $PATH
9363 IFS=$as_save_IFS
9364 case $as_dir in #(((
9365 '') as_dir=./ ;;
9366 */) ;;
9367 *) as_dir=$as_dir/ ;;
9368 esac
9369 for ac_exec_ext in '' $ac_executable_extensions; do
9370 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9371 ac_cv_prog_ac_ct_READELF="readelf"
9372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9373 break 2
9375 done
9376 done
9377 IFS=$as_save_IFS
9381 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9382 if test -n "$ac_ct_READELF"; then
9383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9384 printf "%s\n" "$ac_ct_READELF" >&6; }
9385 else
9386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9387 printf "%s\n" "no" >&6; }
9390 if test "x$ac_ct_READELF" = x; then
9391 READELF="true"
9392 else
9393 case $cross_compiling:$ac_tool_warned in
9394 yes:)
9395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9396 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9397 ac_tool_warned=yes ;;
9398 esac
9399 READELF=$ac_ct_READELF
9401 else
9402 READELF="$ac_cv_prog_READELF"
9405 wine_rules="all:"
9406 SUBDIRS=""
9408 DISABLED_SUBDIRS=""
9410 CONFIGURE_TARGETS=""
9413 wine_fn_config_makefile ()
9415 as_fn_append SUBDIRS " \\$as_nl $1"
9416 eval enable=\$$2
9417 case "$enable" in
9418 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9419 *aarch64*|*arm*|*i386*|*x86_64*)
9420 if test -n "$PE_ARCHS"
9421 then
9422 for i in $PE_ARCHS
9424 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9425 done
9426 else
9427 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9428 fi;;
9429 esac
9432 wine_fn_config_symlink ()
9434 ac_links=$@
9435 as_fn_append wine_rules "
9436 $ac_links:
9437 @./config.status \$@"
9438 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9441 case $host_os in
9442 cygwin*|mingw32*)
9443 LIBEXT="dll"
9444 DLLEXT=""
9445 EXTRACFLAGS="-D__WINE_PE_BUILD"
9446 case $host_cpu in
9447 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9448 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9449 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9450 then :
9451 printf %s "(cached) " >&6
9452 else $as_nop
9453 ac_wine_try_cflags_saved=$CFLAGS
9454 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9457 int main(int argc, char **argv) { return 0; }
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"
9460 then :
9461 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9462 else $as_nop
9463 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9466 conftest$ac_exeext conftest.$ac_ext
9467 CFLAGS=$ac_wine_try_cflags_saved
9469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9470 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9471 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9472 then :
9473 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9474 fi ;;
9475 esac
9476 enable_loader=${enable_loader:-no}
9477 enable_server=${enable_server:-no}
9478 with_x=${with_x:-no}
9479 with_pthread=${with_pthread:-no}
9482 darwin*|macosx*)
9483 LIBEXT="dylib"
9484 DLLFLAGS="$DLLFLAGS -fPIC"
9485 LDDLLFLAGS="-fPIC"
9486 enable_winemac_drv=${enable_winemac_drv:-yes}
9487 CARBON_LIBS="-framework Carbon"
9489 COREFOUNDATION_LIBS="-framework CoreFoundation"
9491 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9493 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9495 METAL_LIBS="-framework Metal"
9497 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9499 CORESERVICES_LIBS="-framework CoreServices"
9501 APPKIT_LIBS="-framework AppKit"
9503 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9505 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9508 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9510 wine_can_build_preloader=yes
9511 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"
9512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9513 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9514 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9515 then :
9516 printf %s "(cached) " >&6
9517 else $as_nop
9518 ac_wine_try_cflags_saved=$CFLAGS
9519 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9522 int main(int argc, char **argv) { return 0; }
9523 _ACEOF
9524 if ac_fn_c_try_link "$LINENO"
9525 then :
9526 ac_cv_cflags__Wl__no_new_main__e__main=yes
9527 else $as_nop
9528 ac_cv_cflags__Wl__no_new_main__e__main=no
9530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9531 conftest$ac_exeext conftest.$ac_ext
9532 CFLAGS=$ac_wine_try_cflags_saved
9534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9535 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9536 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9537 then :
9538 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9539 { 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
9540 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9541 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9542 then :
9543 printf %s "(cached) " >&6
9544 else $as_nop
9545 ac_wine_try_cflags_saved=$CFLAGS
9546 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9549 int main(int argc, char **argv) { return 0; }
9550 _ACEOF
9551 if ac_fn_c_try_link "$LINENO"
9552 then :
9553 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9554 else $as_nop
9555 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9558 conftest$ac_exeext conftest.$ac_ext
9559 CFLAGS=$ac_wine_try_cflags_saved
9561 { 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
9562 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9563 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9564 then :
9565 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9566 else $as_nop
9567 wine_can_build_preloader=no
9569 else $as_nop
9570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9571 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9572 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9573 then :
9574 printf %s "(cached) " >&6
9575 else $as_nop
9576 ac_wine_try_cflags_saved=$CFLAGS
9577 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9580 int main(int argc, char **argv) { return 0; }
9581 _ACEOF
9582 if ac_fn_c_try_link "$LINENO"
9583 then :
9584 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9585 else $as_nop
9586 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9589 conftest$ac_exeext conftest.$ac_ext
9590 CFLAGS=$ac_wine_try_cflags_saved
9592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9593 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9594 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9595 then :
9596 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9597 else $as_nop
9598 wine_can_build_preloader=no
9601 if test "$wine_can_build_preloader" = "yes"
9602 then
9603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9604 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9605 if test ${ac_cv_cflags__Wl__no_pie+y}
9606 then :
9607 printf %s "(cached) " >&6
9608 else $as_nop
9609 ac_wine_try_cflags_saved=$CFLAGS
9610 CFLAGS="$CFLAGS -Wl,-no_pie"
9611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9612 /* end confdefs.h. */
9613 int main(int argc, char **argv) { return 0; }
9614 _ACEOF
9615 if ac_fn_c_try_link "$LINENO"
9616 then :
9617 ac_cv_cflags__Wl__no_pie=yes
9618 else $as_nop
9619 ac_cv_cflags__Wl__no_pie=no
9621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9622 conftest$ac_exeext conftest.$ac_ext
9623 CFLAGS=$ac_wine_try_cflags_saved
9625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9626 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9627 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9628 then :
9629 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9631 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9632 else
9633 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9636 if test "x$with_coreaudio" != "xno";
9637 then
9638 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9640 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9642 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9643 then
9644 OPENCL_LIBS="-framework OpenCL"
9646 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9650 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9651 ac_ext=m
9652 ac_cpp='$OBJCPP $CPPFLAGS'
9653 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9654 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9655 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9657 ac_ext=m
9658 ac_cpp='$OBJCPP $CPPFLAGS'
9659 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9660 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9661 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9662 if test -n "$ac_tool_prefix"; then
9663 for ac_prog in gcc objcc objc cc CC clang
9665 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9666 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9668 printf %s "checking for $ac_word... " >&6; }
9669 if test ${ac_cv_prog_OBJC+y}
9670 then :
9671 printf %s "(cached) " >&6
9672 else $as_nop
9673 if test -n "$OBJC"; then
9674 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9675 else
9676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9677 for as_dir in $PATH
9679 IFS=$as_save_IFS
9680 case $as_dir in #(((
9681 '') as_dir=./ ;;
9682 */) ;;
9683 *) as_dir=$as_dir/ ;;
9684 esac
9685 for ac_exec_ext in '' $ac_executable_extensions; do
9686 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9687 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9689 break 2
9691 done
9692 done
9693 IFS=$as_save_IFS
9697 OBJC=$ac_cv_prog_OBJC
9698 if test -n "$OBJC"; then
9699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9700 printf "%s\n" "$OBJC" >&6; }
9701 else
9702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9703 printf "%s\n" "no" >&6; }
9707 test -n "$OBJC" && break
9708 done
9710 if test -z "$OBJC"; then
9711 ac_ct_OBJC=$OBJC
9712 for ac_prog in gcc objcc objc cc CC clang
9714 # Extract the first word of "$ac_prog", so it can be a program name with args.
9715 set dummy $ac_prog; ac_word=$2
9716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9717 printf %s "checking for $ac_word... " >&6; }
9718 if test ${ac_cv_prog_ac_ct_OBJC+y}
9719 then :
9720 printf %s "(cached) " >&6
9721 else $as_nop
9722 if test -n "$ac_ct_OBJC"; then
9723 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9724 else
9725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9726 for as_dir in $PATH
9728 IFS=$as_save_IFS
9729 case $as_dir in #(((
9730 '') as_dir=./ ;;
9731 */) ;;
9732 *) as_dir=$as_dir/ ;;
9733 esac
9734 for ac_exec_ext in '' $ac_executable_extensions; do
9735 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9736 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9738 break 2
9740 done
9741 done
9742 IFS=$as_save_IFS
9746 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9747 if test -n "$ac_ct_OBJC"; then
9748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9749 printf "%s\n" "$ac_ct_OBJC" >&6; }
9750 else
9751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9752 printf "%s\n" "no" >&6; }
9756 test -n "$ac_ct_OBJC" && break
9757 done
9759 if test "x$ac_ct_OBJC" = x; then
9760 OBJC="gcc"
9761 else
9762 case $cross_compiling:$ac_tool_warned in
9763 yes:)
9764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9765 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9766 ac_tool_warned=yes ;;
9767 esac
9768 OBJC=$ac_ct_OBJC
9772 # Provide some information about the compiler.
9773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9774 set X $ac_compile
9775 ac_compiler=$2
9776 for ac_option in --version -v -V -qversion; do
9777 { { ac_try="$ac_compiler $ac_option >&5"
9778 case "(($ac_try" in
9779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9780 *) ac_try_echo=$ac_try;;
9781 esac
9782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9783 printf "%s\n" "$ac_try_echo"; } >&5
9784 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9785 ac_status=$?
9786 if test -s conftest.err; then
9787 sed '10a\
9788 ... rest of stderr output deleted ...
9789 10q' conftest.err >conftest.er1
9790 cat conftest.er1 >&5
9792 rm -f conftest.er1 conftest.err
9793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9794 test $ac_status = 0; }
9795 done
9797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9798 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9799 if test ${ac_cv_objc_compiler_gnu+y}
9800 then :
9801 printf %s "(cached) " >&6
9802 else $as_nop
9803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9804 /* end confdefs.h. */
9807 main (void)
9809 #ifndef __GNUC__
9810 choke me
9811 #endif
9814 return 0;
9816 _ACEOF
9817 if ac_fn_objc_try_compile "$LINENO"
9818 then :
9819 ac_compiler_gnu=yes
9820 else $as_nop
9821 ac_compiler_gnu=no
9823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9824 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9828 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9829 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9831 if test $ac_compiler_gnu = yes; then
9832 GOBJC=yes
9833 else
9834 GOBJC=
9836 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9837 ac_save_OBJCFLAGS=$OBJCFLAGS
9838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9839 printf %s "checking whether $OBJC accepts -g... " >&6; }
9840 if test ${ac_cv_prog_objc_g+y}
9841 then :
9842 printf %s "(cached) " >&6
9843 else $as_nop
9844 ac_save_objc_werror_flag=$ac_objc_werror_flag
9845 ac_objc_werror_flag=yes
9846 ac_cv_prog_objc_g=no
9847 OBJCFLAGS="-g"
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9852 main (void)
9856 return 0;
9858 _ACEOF
9859 if ac_fn_objc_try_compile "$LINENO"
9860 then :
9861 ac_cv_prog_objc_g=yes
9862 else $as_nop
9863 OBJCFLAGS=""
9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9865 /* end confdefs.h. */
9868 main (void)
9872 return 0;
9874 _ACEOF
9875 if ac_fn_objc_try_compile "$LINENO"
9876 then :
9878 else $as_nop
9879 ac_objc_werror_flag=$ac_save_objc_werror_flag
9880 OBJCFLAGS="-g"
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9885 main (void)
9889 return 0;
9891 _ACEOF
9892 if ac_fn_objc_try_compile "$LINENO"
9893 then :
9894 ac_cv_prog_objc_g=yes
9896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9901 ac_objc_werror_flag=$ac_save_objc_werror_flag
9903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9904 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9905 if test $ac_test_OBJCFLAGS; then
9906 OBJCFLAGS=$ac_save_OBJCFLAGS
9907 elif test $ac_cv_prog_objc_g = yes; then
9908 if test "$GOBJC" = yes; then
9909 OBJCFLAGS="-g -O2"
9910 else
9911 OBJCFLAGS="-g"
9913 else
9914 if test "$GOBJC" = yes; then
9915 OBJCFLAGS="-O2"
9916 else
9917 OBJCFLAGS=
9920 ac_ext=m
9921 ac_cpp='$OBJCPP $CPPFLAGS'
9922 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9923 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9924 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928 /* end confdefs.h. */
9929 #include <Metal/Metal.h>
9931 main (void)
9933 id<MTLDevice> device; device.registryID;
9935 return 0;
9937 _ACEOF
9938 if ac_fn_objc_try_compile "$LINENO"
9939 then :
9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9941 printf "%s\n" "yes" >&6; }
9943 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9945 else $as_nop
9946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9947 printf "%s\n" "no" >&6; }
9949 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9950 ac_ext=c
9951 ac_cpp='$CPP $CPPFLAGS'
9952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9957 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9958 WINELOADER_DEPENDS="wine_info.plist"
9962 linux-android*)
9964 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9966 DLLFLAGS="$DLLFLAGS -fPIC"
9967 LDDLLFLAGS="-fPIC"
9968 LDEXECFLAGS="-Wl,-pie"
9969 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9971 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9972 if test ${ac_cv_cflags__Wl__z_defs+y}
9973 then :
9974 printf %s "(cached) " >&6
9975 else $as_nop
9976 ac_wine_try_cflags_saved=$CFLAGS
9977 CFLAGS="$CFLAGS -Wl,-z,defs"
9978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9980 int main(int argc, char **argv) { return 0; }
9981 _ACEOF
9982 if ac_fn_c_try_link "$LINENO"
9983 then :
9984 ac_cv_cflags__Wl__z_defs=yes
9985 else $as_nop
9986 ac_cv_cflags__Wl__z_defs=no
9988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9989 conftest$ac_exeext conftest.$ac_ext
9990 CFLAGS=$ac_wine_try_cflags_saved
9992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9993 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9994 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9995 then :
9996 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9999 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10000 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10001 then :
10002 printf %s "(cached) " >&6
10003 else $as_nop
10004 ac_wine_try_cflags_saved=$CFLAGS
10005 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10008 int main(int argc, char **argv) { return 0; }
10009 _ACEOF
10010 if ac_fn_c_try_link "$LINENO"
10011 then :
10012 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10013 else $as_nop
10014 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10017 conftest$ac_exeext conftest.$ac_ext
10018 CFLAGS=$ac_wine_try_cflags_saved
10020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10021 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10022 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10023 then :
10024 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10026 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10029 printf %s "checking for -lEGL... " >&6; }
10030 if test ${ac_cv_lib_soname_EGL+y}
10031 then :
10032 printf %s "(cached) " >&6
10033 else $as_nop
10034 ac_check_soname_save_LIBS=$LIBS
10035 LIBS="-lEGL $LIBS"
10036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10037 /* end confdefs.h. */
10039 /* Override any GCC internal prototype to avoid an error.
10040 Use char because int might match the return type of a GCC
10041 builtin and then its argument prototype would still apply. */
10042 char eglGetProcAddress ();
10044 main (void)
10046 return eglGetProcAddress ();
10048 return 0;
10050 _ACEOF
10051 if ac_fn_c_try_link "$LINENO"
10052 then :
10053 case "$LIBEXT" in
10054 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10055 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'` ;;
10056 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10057 if ${ac_cv_lib_soname_EGL:+false} :
10058 then :
10059 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10060 fi ;;
10061 esac
10062 else $as_nop
10063 ac_cv_lib_soname_EGL=
10065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10066 conftest$ac_exeext conftest.$ac_ext
10067 LIBS=$ac_check_soname_save_LIBS
10069 if ${ac_cv_lib_soname_EGL:+false} :
10070 then :
10071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10072 printf "%s\n" "not found" >&6; }
10074 else $as_nop
10075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10076 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10078 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10083 printf %s "checking for -lGLESv2... " >&6; }
10084 if test ${ac_cv_lib_soname_GLESv2+y}
10085 then :
10086 printf %s "(cached) " >&6
10087 else $as_nop
10088 ac_check_soname_save_LIBS=$LIBS
10089 LIBS="-lGLESv2 $LIBS"
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10093 /* Override any GCC internal prototype to avoid an error.
10094 Use char because int might match the return type of a GCC
10095 builtin and then its argument prototype would still apply. */
10096 char glFlush ();
10098 main (void)
10100 return glFlush ();
10102 return 0;
10104 _ACEOF
10105 if ac_fn_c_try_link "$LINENO"
10106 then :
10107 case "$LIBEXT" in
10108 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10109 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'` ;;
10110 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10111 if ${ac_cv_lib_soname_GLESv2:+false} :
10112 then :
10113 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10114 fi ;;
10115 esac
10116 else $as_nop
10117 ac_cv_lib_soname_GLESv2=
10119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10120 conftest$ac_exeext conftest.$ac_ext
10121 LIBS=$ac_check_soname_save_LIBS
10123 if ${ac_cv_lib_soname_GLESv2:+false} :
10124 then :
10125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10126 printf "%s\n" "not found" >&6; }
10128 else $as_nop
10129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10130 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10132 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10137 if test "x$exec_prefix" = xNONE
10138 then
10139 case $host_cpu in
10140 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10141 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10142 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10143 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10144 esac
10150 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10152 test "$ac_cv_sys_file_offset_bits" = 64 &&
10153 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10155 case $host_cpu in
10156 *i[3456789]86*)
10157 DLLFLAGS="$DLLFLAGS -fno-PIC"
10158 LDDLLFLAGS="-fno-PIC"
10159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10160 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10161 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10162 then :
10163 printf %s "(cached) " >&6
10164 else $as_nop
10165 ac_wine_try_cflags_saved=$CFLAGS
10166 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10168 /* end confdefs.h. */
10169 int main(int argc, char **argv) { return 0; }
10170 _ACEOF
10171 if ac_fn_c_try_link "$LINENO"
10172 then :
10173 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10174 else $as_nop
10175 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10178 conftest$ac_exeext conftest.$ac_ext
10179 CFLAGS=$ac_wine_try_cflags_saved
10181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10182 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10183 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10184 then :
10185 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10189 DLLFLAGS="$DLLFLAGS -fPIC"
10190 LDDLLFLAGS="-fPIC" ;;
10191 esac
10193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10194 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10195 if test ${ac_cv_cflags__Wl__z_defs+y}
10196 then :
10197 printf %s "(cached) " >&6
10198 else $as_nop
10199 ac_wine_try_cflags_saved=$CFLAGS
10200 CFLAGS="$CFLAGS -Wl,-z,defs"
10201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10203 int main(int argc, char **argv) { return 0; }
10204 _ACEOF
10205 if ac_fn_c_try_link "$LINENO"
10206 then :
10207 ac_cv_cflags__Wl__z_defs=yes
10208 else $as_nop
10209 ac_cv_cflags__Wl__z_defs=no
10211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10212 conftest$ac_exeext conftest.$ac_ext
10213 CFLAGS=$ac_wine_try_cflags_saved
10215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10216 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10217 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10218 then :
10219 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10222 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10223 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10224 then :
10225 printf %s "(cached) " >&6
10226 else $as_nop
10227 ac_wine_try_cflags_saved=$CFLAGS
10228 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10230 /* end confdefs.h. */
10231 int main(int argc, char **argv) { return 0; }
10232 _ACEOF
10233 if ac_fn_c_try_link "$LINENO"
10234 then :
10235 ac_cv_cflags__Wl___export_dynamic=yes
10236 else $as_nop
10237 ac_cv_cflags__Wl___export_dynamic=no
10239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10240 conftest$ac_exeext conftest.$ac_ext
10241 CFLAGS=$ac_wine_try_cflags_saved
10243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10244 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10245 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10246 then :
10247 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10249 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10251 case $host_os in
10252 linux*)
10253 as_fn_append WINELOADER_LDFLAGS " -pie"
10254 case $HOST_ARCH in
10255 i386|arm)
10256 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10259 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10260 if test ${ac_cv_cflags__static_pie+y}
10261 then :
10262 printf %s "(cached) " >&6
10263 else $as_nop
10264 ac_wine_try_cflags_saved=$CFLAGS
10265 CFLAGS="$CFLAGS -static-pie"
10266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10267 /* end confdefs.h. */
10268 int main(int argc, char **argv) { return 0; }
10269 _ACEOF
10270 if ac_fn_c_try_link "$LINENO"
10271 then :
10272 ac_cv_cflags__static_pie=yes
10273 else $as_nop
10274 ac_cv_cflags__static_pie=no
10276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10277 conftest$ac_exeext conftest.$ac_ext
10278 CFLAGS=$ac_wine_try_cflags_saved
10280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10281 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10282 if test "x$ac_cv_cflags__static_pie" = xyes
10283 then :
10284 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10285 else $as_nop
10286 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10289 esac
10292 case $HOST_ARCH in
10293 i386|arm)
10294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10295 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10296 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10297 then :
10298 printf %s "(cached) " >&6
10299 else $as_nop
10300 ac_wine_try_cflags_saved=$CFLAGS
10301 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10304 int main(int argc, char **argv) { return 0; }
10305 _ACEOF
10306 if ac_fn_c_try_link "$LINENO"
10307 then :
10308 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10309 else $as_nop
10310 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10313 conftest$ac_exeext conftest.$ac_ext
10314 CFLAGS=$ac_wine_try_cflags_saved
10316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10317 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10318 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10319 then :
10320 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10321 else $as_nop
10322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10323 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10324 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10325 then :
10326 printf %s "(cached) " >&6
10327 else $as_nop
10328 ac_wine_try_cflags_saved=$CFLAGS
10329 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10331 /* end confdefs.h. */
10332 int main(int argc, char **argv) { return 0; }
10333 _ACEOF
10334 if ac_fn_c_try_link "$LINENO"
10335 then :
10336 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10337 else $as_nop
10338 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10341 conftest$ac_exeext conftest.$ac_ext
10342 CFLAGS=$ac_wine_try_cflags_saved
10344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10345 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10346 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10347 then :
10348 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10353 as_fn_append WINELOADER_LDFLAGS " -pie"
10355 esac
10357 esac
10359 esac
10361 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10362 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10363 enable_winemac_drv=${enable_winemac_drv:-no}
10365 PE_ARCHS=""
10367 cross_archs=
10368 if test ${enable_archs+y}
10369 then :
10370 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10371 ac_save_IFS=$IFS
10372 IFS=' ,'
10373 set x $enable_archs
10374 IFS=$ac_save_IFS
10375 shift
10376 for arch
10378 case $arch in
10379 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10380 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10381 esac
10382 done
10383 else $as_nop
10384 if test "x$with_mingw" != xno
10385 then
10386 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10387 case "x$with_mingw" in
10388 x|xyes) ;;
10389 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10390 esac
10394 for wine_arch in $cross_archs
10396 if eval \${${wine_arch}_CC:+false} :
10397 then :
10398 case $wine_arch in
10399 aarch64)
10400 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10402 # Extract the first word of "$ac_prog", so it can be a program name with args.
10403 set dummy $ac_prog; ac_word=$2
10404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10405 printf %s "checking for $ac_word... " >&6; }
10406 if test ${ac_cv_prog_aarch64_CC+y}
10407 then :
10408 printf %s "(cached) " >&6
10409 else $as_nop
10410 if test -n "$aarch64_CC"; then
10411 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10412 else
10413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10414 for as_dir in $PATH
10416 IFS=$as_save_IFS
10417 case $as_dir in #(((
10418 '') as_dir=./ ;;
10419 */) ;;
10420 *) as_dir=$as_dir/ ;;
10421 esac
10422 for ac_exec_ext in '' $ac_executable_extensions; do
10423 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10424 ac_cv_prog_aarch64_CC="$ac_prog"
10425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10426 break 2
10428 done
10429 done
10430 IFS=$as_save_IFS
10434 aarch64_CC=$ac_cv_prog_aarch64_CC
10435 if test -n "$aarch64_CC"; then
10436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10437 printf "%s\n" "$aarch64_CC" >&6; }
10438 else
10439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10440 printf "%s\n" "no" >&6; }
10444 test -n "$aarch64_CC" && break
10445 done
10446 test -n "$aarch64_CC" || aarch64_CC="false"
10449 arm)
10450 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10452 # Extract the first word of "$ac_prog", so it can be a program name with args.
10453 set dummy $ac_prog; ac_word=$2
10454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10455 printf %s "checking for $ac_word... " >&6; }
10456 if test ${ac_cv_prog_arm_CC+y}
10457 then :
10458 printf %s "(cached) " >&6
10459 else $as_nop
10460 if test -n "$arm_CC"; then
10461 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10462 else
10463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10464 for as_dir in $PATH
10466 IFS=$as_save_IFS
10467 case $as_dir in #(((
10468 '') as_dir=./ ;;
10469 */) ;;
10470 *) as_dir=$as_dir/ ;;
10471 esac
10472 for ac_exec_ext in '' $ac_executable_extensions; do
10473 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10474 ac_cv_prog_arm_CC="$ac_prog"
10475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10476 break 2
10478 done
10479 done
10480 IFS=$as_save_IFS
10484 arm_CC=$ac_cv_prog_arm_CC
10485 if test -n "$arm_CC"; then
10486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10487 printf "%s\n" "$arm_CC" >&6; }
10488 else
10489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10490 printf "%s\n" "no" >&6; }
10494 test -n "$arm_CC" && break
10495 done
10496 test -n "$arm_CC" || arm_CC="false"
10499 i386)
10500 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 "
10501 for ac_prog in $ac_prefix_list clang
10503 # Extract the first word of "$ac_prog", so it can be a program name with args.
10504 set dummy $ac_prog; ac_word=$2
10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10506 printf %s "checking for $ac_word... " >&6; }
10507 if test ${ac_cv_prog_i386_CC+y}
10508 then :
10509 printf %s "(cached) " >&6
10510 else $as_nop
10511 if test -n "$i386_CC"; then
10512 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10513 else
10514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10515 for as_dir in $PATH
10517 IFS=$as_save_IFS
10518 case $as_dir in #(((
10519 '') as_dir=./ ;;
10520 */) ;;
10521 *) as_dir=$as_dir/ ;;
10522 esac
10523 for ac_exec_ext in '' $ac_executable_extensions; do
10524 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10525 ac_cv_prog_i386_CC="$ac_prog"
10526 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10527 break 2
10529 done
10530 done
10531 IFS=$as_save_IFS
10535 i386_CC=$ac_cv_prog_i386_CC
10536 if test -n "$i386_CC"; then
10537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10538 printf "%s\n" "$i386_CC" >&6; }
10539 else
10540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10541 printf "%s\n" "no" >&6; }
10545 test -n "$i386_CC" && break
10546 done
10547 test -n "$i386_CC" || i386_CC="false"
10550 x86_64)
10551 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10552 for ac_prog in $ac_prefix_list clang
10554 # Extract the first word of "$ac_prog", so it can be a program name with args.
10555 set dummy $ac_prog; ac_word=$2
10556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10557 printf %s "checking for $ac_word... " >&6; }
10558 if test ${ac_cv_prog_x86_64_CC+y}
10559 then :
10560 printf %s "(cached) " >&6
10561 else $as_nop
10562 if test -n "$x86_64_CC"; then
10563 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10564 else
10565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10566 for as_dir in $PATH
10568 IFS=$as_save_IFS
10569 case $as_dir in #(((
10570 '') as_dir=./ ;;
10571 */) ;;
10572 *) as_dir=$as_dir/ ;;
10573 esac
10574 for ac_exec_ext in '' $ac_executable_extensions; do
10575 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10576 ac_cv_prog_x86_64_CC="$ac_prog"
10577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10578 break 2
10580 done
10581 done
10582 IFS=$as_save_IFS
10586 x86_64_CC=$ac_cv_prog_x86_64_CC
10587 if test -n "$x86_64_CC"; then
10588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10589 printf "%s\n" "$x86_64_CC" >&6; }
10590 else
10591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10592 printf "%s\n" "no" >&6; }
10596 test -n "$x86_64_CC" && break
10597 done
10598 test -n "$x86_64_CC" || x86_64_CC="false"
10601 esac
10604 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10605 then :
10606 continue
10609 saved_CC=$CC
10610 saved_CFLAGS=$CFLAGS
10611 saved_LDFLAGS=$LDFLAGS
10613 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10614 LDFLAGS=$CROSSLDFLAGS
10615 eval CC=\$${wine_arch}_CC
10616 eval ${wine_arch}_CFLAGS=\$CFLAGS
10617 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10618 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10620 target=""
10621 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10624 printf %s "checking whether $CC works... " >&6; }
10625 if eval test \${$as_wine_cv_crosscc+y}
10626 then :
10627 printf %s "(cached) " >&6
10628 else $as_nop
10629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10630 /* end confdefs.h. */
10633 main (void)
10637 return 0;
10639 _ACEOF
10640 if ac_fn_c_try_compile "$LINENO"
10641 then :
10642 eval "$as_wine_cv_crosscc=yes"
10643 else $as_nop
10644 eval "$as_wine_cv_crosscc=no"
10646 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10648 eval ac_res=\$$as_wine_cv_crosscc
10649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10650 printf "%s\n" "$ac_res" >&6; }
10651 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10652 then :
10653 set x $CC
10654 shift
10655 while test $# -ge 1
10657 case "$1" in
10658 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10659 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10660 esac
10661 shift
10662 done
10664 llvm_target=$target
10665 if test -z "$llvm_target"
10666 then
10667 case $wine_arch in
10668 i386) llvm_target=i686-windows ;;
10669 arm) llvm_target=armv7-windows ;;
10670 *) llvm_target=$wine_arch-windows ;;
10671 esac
10673 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10674 case $llvm_target in
10675 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10676 esac
10677 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10679 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10680 if eval test \${$as_ac_var+y}
10681 then :
10682 printf %s "(cached) " >&6
10683 else $as_nop
10684 ac_wine_try_cflags_saved=$CFLAGS
10685 ac_wine_try_cflags_saved_exeext=$ac_exeext
10686 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10687 ac_exeext=".exe"
10688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10689 /* end confdefs.h. */
10690 int __cdecl mainCRTStartup(void) { return 0; }
10691 _ACEOF
10692 if ac_fn_c_try_link "$LINENO"
10693 then :
10694 eval "$as_ac_var=yes"
10695 else $as_nop
10696 eval "$as_ac_var=no"
10698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10699 conftest$ac_exeext conftest.$ac_ext
10700 CFLAGS=$ac_wine_try_cflags_saved
10701 ac_exeext=$ac_wine_try_cflags_saved_exeext
10703 eval ac_res=\$$as_ac_var
10704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10705 printf "%s\n" "$ac_res" >&6; }
10706 if eval test \"x\$"$as_ac_var"\" = x"yes"
10707 then :
10708 target=$llvm_target
10709 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10710 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10711 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10712 fi }
10713 eval "${wine_arch}_TARGET=\$target"
10717 if test -z "$target"
10718 then
10719 CC=$saved_CC
10720 CFLAGS=$saved_CFLAGS
10721 LDFLAGS=$saved_LDFLAGS
10722 continue
10724 as_fn_append PE_ARCHS " $wine_arch"
10726 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10729 printf %s "checking for $CC option to enable C99 features... " >&6; }
10730 if eval test \${$as_wine_cv_crosscc_c99+y}
10731 then :
10732 printf %s "(cached) " >&6
10733 else $as_nop
10734 eval "$as_wine_cv_crosscc_c99=no"
10735 for arg in '' '-std=gnu99'
10737 test -z "$arg" || CC="$CC $arg"
10738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10740 $ac_c_conftest_c99_program
10741 _ACEOF
10742 if ac_fn_c_try_compile "$LINENO"
10743 then :
10744 eval "$as_wine_cv_crosscc_c99=\$arg"
10745 else $as_nop
10746 eval "$as_wine_cv_crosscc_c99=no"
10748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10749 eval CC=\$${wine_arch}_CC
10750 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10751 then :
10753 else $as_nop
10754 break
10756 done
10759 eval res=\$$as_wine_cv_crosscc_c99
10760 case "x$res" in
10761 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10762 printf "%s\n" "none needed" >&6; } ;;
10763 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10764 printf "%s\n" "unsupported" >&6; } ;;
10765 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10766 printf "%s\n" "$res" >&6; }
10767 as_fn_append ${wine_arch}_CC " $res" ;;
10768 esac
10771 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10773 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10774 if eval test \${$as_ac_var+y}
10775 then :
10776 printf %s "(cached) " >&6
10777 else $as_nop
10778 ac_wine_try_cflags_saved=$CFLAGS
10779 ac_wine_try_cflags_saved_exeext=$ac_exeext
10780 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10781 ac_exeext=".exe"
10782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10784 int __cdecl mainCRTStartup(void) { return 0; }
10785 _ACEOF
10786 if ac_fn_c_try_link "$LINENO"
10787 then :
10788 eval "$as_ac_var=yes"
10789 else $as_nop
10790 eval "$as_ac_var=no"
10792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10793 conftest$ac_exeext conftest.$ac_ext
10794 CFLAGS=$ac_wine_try_cflags_saved
10795 ac_exeext=$ac_wine_try_cflags_saved_exeext
10797 eval ac_res=\$$as_ac_var
10798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10799 printf "%s\n" "$ac_res" >&6; }
10800 if eval test \"x\$"$as_ac_var"\" = x"yes"
10801 then :
10802 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10803 fi }
10804 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10806 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10807 if eval test \${$as_ac_var+y}
10808 then :
10809 printf %s "(cached) " >&6
10810 else $as_nop
10811 ac_wine_try_cflags_saved=$CFLAGS
10812 ac_wine_try_cflags_saved_exeext=$ac_exeext
10813 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10814 ac_exeext=".exe"
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10817 int __cdecl mainCRTStartup(void) { return 0; }
10818 _ACEOF
10819 if ac_fn_c_try_link "$LINENO"
10820 then :
10821 eval "$as_ac_var=yes"
10822 else $as_nop
10823 eval "$as_ac_var=no"
10825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10826 conftest$ac_exeext conftest.$ac_ext
10827 CFLAGS=$ac_wine_try_cflags_saved
10828 ac_exeext=$ac_wine_try_cflags_saved_exeext
10830 eval ac_res=\$$as_ac_var
10831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10832 printf "%s\n" "$ac_res" >&6; }
10833 if eval test \"x\$"$as_ac_var"\" = x"yes"
10834 then :
10835 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10836 fi }
10837 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10839 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10840 if eval test \${$as_ac_var+y}
10841 then :
10842 printf %s "(cached) " >&6
10843 else $as_nop
10844 ac_wine_try_cflags_saved=$CFLAGS
10845 ac_wine_try_cflags_saved_exeext=$ac_exeext
10846 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10847 ac_exeext=".exe"
10848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10849 /* end confdefs.h. */
10850 int __cdecl mainCRTStartup(void) { return 0; }
10851 _ACEOF
10852 if ac_fn_c_try_link "$LINENO"
10853 then :
10854 eval "$as_ac_var=yes"
10855 else $as_nop
10856 eval "$as_ac_var=no"
10858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10859 conftest$ac_exeext conftest.$ac_ext
10860 CFLAGS=$ac_wine_try_cflags_saved
10861 ac_exeext=$ac_wine_try_cflags_saved_exeext
10863 eval ac_res=\$$as_ac_var
10864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10865 printf "%s\n" "$ac_res" >&6; }
10866 if eval test \"x\$"$as_ac_var"\" = x"yes"
10867 then :
10868 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10869 fi }
10870 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10872 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10873 if eval test \${$as_ac_var+y}
10874 then :
10875 printf %s "(cached) " >&6
10876 else $as_nop
10877 ac_wine_try_cflags_saved=$CFLAGS
10878 ac_wine_try_cflags_saved_exeext=$ac_exeext
10879 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10880 ac_exeext=".exe"
10881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h. */
10883 int __cdecl mainCRTStartup(void) { return 0; }
10884 _ACEOF
10885 if ac_fn_c_try_link "$LINENO"
10886 then :
10887 eval "$as_ac_var=yes"
10888 else $as_nop
10889 eval "$as_ac_var=no"
10891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10892 conftest$ac_exeext conftest.$ac_ext
10893 CFLAGS=$ac_wine_try_cflags_saved
10894 ac_exeext=$ac_wine_try_cflags_saved_exeext
10896 eval ac_res=\$$as_ac_var
10897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10898 printf "%s\n" "$ac_res" >&6; }
10899 if eval test \"x\$"$as_ac_var"\" = x"yes"
10900 then :
10901 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10902 fi }
10903 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10905 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10906 if eval test \${$as_ac_var+y}
10907 then :
10908 printf %s "(cached) " >&6
10909 else $as_nop
10910 ac_wine_try_cflags_saved=$CFLAGS
10911 ac_wine_try_cflags_saved_exeext=$ac_exeext
10912 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10913 ac_exeext=".exe"
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10916 int __cdecl mainCRTStartup(void) { return 0; }
10917 _ACEOF
10918 if ac_fn_c_try_link "$LINENO"
10919 then :
10920 eval "$as_ac_var=yes"
10921 else $as_nop
10922 eval "$as_ac_var=no"
10924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10925 conftest$ac_exeext conftest.$ac_ext
10926 CFLAGS=$ac_wine_try_cflags_saved
10927 ac_exeext=$ac_wine_try_cflags_saved_exeext
10929 eval ac_res=\$$as_ac_var
10930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10931 printf "%s\n" "$ac_res" >&6; }
10932 if eval test \"x\$"$as_ac_var"\" = x"yes"
10933 then :
10934 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10935 fi }
10936 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10938 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10939 if eval test \${$as_ac_var+y}
10940 then :
10941 printf %s "(cached) " >&6
10942 else $as_nop
10943 ac_wine_try_cflags_saved=$CFLAGS
10944 ac_wine_try_cflags_saved_exeext=$ac_exeext
10945 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10946 ac_exeext=".exe"
10947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10948 /* end confdefs.h. */
10949 int __cdecl mainCRTStartup(void) { return 0; }
10950 _ACEOF
10951 if ac_fn_c_try_link "$LINENO"
10952 then :
10953 eval "$as_ac_var=yes"
10954 else $as_nop
10955 eval "$as_ac_var=no"
10957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10958 conftest$ac_exeext conftest.$ac_ext
10959 CFLAGS=$ac_wine_try_cflags_saved
10960 ac_exeext=$ac_wine_try_cflags_saved_exeext
10962 eval ac_res=\$$as_ac_var
10963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10964 printf "%s\n" "$ac_res" >&6; }
10965 if eval test \"x\$"$as_ac_var"\" = x"yes"
10966 then :
10967 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10968 fi }
10969 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10971 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10972 if eval test \${$as_ac_var+y}
10973 then :
10974 printf %s "(cached) " >&6
10975 else $as_nop
10976 ac_wine_try_cflags_saved=$CFLAGS
10977 ac_wine_try_cflags_saved_exeext=$ac_exeext
10978 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10979 ac_exeext=".exe"
10980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10982 int __cdecl mainCRTStartup(void) { return 0; }
10983 _ACEOF
10984 if ac_fn_c_try_link "$LINENO"
10985 then :
10986 eval "$as_ac_var=yes"
10987 else $as_nop
10988 eval "$as_ac_var=no"
10990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10991 conftest$ac_exeext conftest.$ac_ext
10992 CFLAGS=$ac_wine_try_cflags_saved
10993 ac_exeext=$ac_wine_try_cflags_saved_exeext
10995 eval ac_res=\$$as_ac_var
10996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10997 printf "%s\n" "$ac_res" >&6; }
10998 if eval test \"x\$"$as_ac_var"\" = x"yes"
10999 then :
11000 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11001 fi }
11002 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11004 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11005 if eval test \${$as_ac_var+y}
11006 then :
11007 printf %s "(cached) " >&6
11008 else $as_nop
11009 ac_wine_try_cflags_saved=$CFLAGS
11010 ac_wine_try_cflags_saved_exeext=$ac_exeext
11011 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11012 ac_exeext=".exe"
11013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11015 int __cdecl mainCRTStartup(void) { return 0; }
11016 _ACEOF
11017 if ac_fn_c_try_link "$LINENO"
11018 then :
11019 eval "$as_ac_var=yes"
11020 else $as_nop
11021 eval "$as_ac_var=no"
11023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11024 conftest$ac_exeext conftest.$ac_ext
11025 CFLAGS=$ac_wine_try_cflags_saved
11026 ac_exeext=$ac_wine_try_cflags_saved_exeext
11028 eval ac_res=\$$as_ac_var
11029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11030 printf "%s\n" "$ac_res" >&6; }
11031 if eval test \"x\$"$as_ac_var"\" = x"yes"
11032 then :
11033 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11034 fi }
11035 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11037 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11038 if eval test \${$as_ac_var+y}
11039 then :
11040 printf %s "(cached) " >&6
11041 else $as_nop
11042 ac_wine_try_cflags_saved=$CFLAGS
11043 ac_wine_try_cflags_saved_exeext=$ac_exeext
11044 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11045 ac_exeext=".exe"
11046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11047 /* end confdefs.h. */
11048 int __cdecl mainCRTStartup(void) { return 0; }
11049 _ACEOF
11050 if ac_fn_c_try_link "$LINENO"
11051 then :
11052 eval "$as_ac_var=yes"
11053 else $as_nop
11054 eval "$as_ac_var=no"
11056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11057 conftest$ac_exeext conftest.$ac_ext
11058 CFLAGS=$ac_wine_try_cflags_saved
11059 ac_exeext=$ac_wine_try_cflags_saved_exeext
11061 eval ac_res=\$$as_ac_var
11062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11063 printf "%s\n" "$ac_res" >&6; }
11064 if eval test \"x\$"$as_ac_var"\" = x"yes"
11065 then :
11066 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11067 fi }
11068 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11070 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11071 if eval test \${$as_ac_var+y}
11072 then :
11073 printf %s "(cached) " >&6
11074 else $as_nop
11075 ac_wine_try_cflags_saved=$CFLAGS
11076 ac_wine_try_cflags_saved_exeext=$ac_exeext
11077 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11078 ac_exeext=".exe"
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11081 int __cdecl mainCRTStartup(void) { return 0; }
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"
11084 then :
11085 eval "$as_ac_var=yes"
11086 else $as_nop
11087 eval "$as_ac_var=no"
11089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11090 conftest$ac_exeext conftest.$ac_ext
11091 CFLAGS=$ac_wine_try_cflags_saved
11092 ac_exeext=$ac_wine_try_cflags_saved_exeext
11094 eval ac_res=\$$as_ac_var
11095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11096 printf "%s\n" "$ac_res" >&6; }
11097 if eval test \"x\$"$as_ac_var"\" = x"yes"
11098 then :
11099 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11100 fi }
11101 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11103 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11104 if eval test \${$as_ac_var+y}
11105 then :
11106 printf %s "(cached) " >&6
11107 else $as_nop
11108 ac_wine_try_cflags_saved=$CFLAGS
11109 ac_wine_try_cflags_saved_exeext=$ac_exeext
11110 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11111 ac_exeext=".exe"
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11114 int __cdecl mainCRTStartup(void) { return 0; }
11115 _ACEOF
11116 if ac_fn_c_try_link "$LINENO"
11117 then :
11118 eval "$as_ac_var=yes"
11119 else $as_nop
11120 eval "$as_ac_var=no"
11122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11123 conftest$ac_exeext conftest.$ac_ext
11124 CFLAGS=$ac_wine_try_cflags_saved
11125 ac_exeext=$ac_wine_try_cflags_saved_exeext
11127 eval ac_res=\$$as_ac_var
11128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11129 printf "%s\n" "$ac_res" >&6; }
11130 if eval test \"x\$"$as_ac_var"\" = x"yes"
11131 then :
11132 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11133 fi }
11134 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11136 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11137 if eval test \${$as_ac_var+y}
11138 then :
11139 printf %s "(cached) " >&6
11140 else $as_nop
11141 ac_wine_try_cflags_saved=$CFLAGS
11142 ac_wine_try_cflags_saved_exeext=$ac_exeext
11143 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11144 ac_exeext=".exe"
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11147 int __cdecl mainCRTStartup(void) { return 0; }
11148 _ACEOF
11149 if ac_fn_c_try_link "$LINENO"
11150 then :
11151 eval "$as_ac_var=yes"
11152 else $as_nop
11153 eval "$as_ac_var=no"
11155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11156 conftest$ac_exeext conftest.$ac_ext
11157 CFLAGS=$ac_wine_try_cflags_saved
11158 ac_exeext=$ac_wine_try_cflags_saved_exeext
11160 eval ac_res=\$$as_ac_var
11161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11162 printf "%s\n" "$ac_res" >&6; }
11163 if eval test \"x\$"$as_ac_var"\" = x"yes"
11164 then :
11165 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11166 fi }
11167 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11169 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11170 if eval test \${$as_ac_var+y}
11171 then :
11172 printf %s "(cached) " >&6
11173 else $as_nop
11174 ac_wine_try_cflags_saved=$CFLAGS
11175 ac_wine_try_cflags_saved_exeext=$ac_exeext
11176 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11177 ac_exeext=".exe"
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11180 int __cdecl mainCRTStartup(void) { return 0; }
11181 _ACEOF
11182 if ac_fn_c_try_link "$LINENO"
11183 then :
11184 eval "$as_ac_var=yes"
11185 else $as_nop
11186 eval "$as_ac_var=no"
11188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11189 conftest$ac_exeext conftest.$ac_ext
11190 CFLAGS=$ac_wine_try_cflags_saved
11191 ac_exeext=$ac_wine_try_cflags_saved_exeext
11193 eval ac_res=\$$as_ac_var
11194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11195 printf "%s\n" "$ac_res" >&6; }
11196 if eval test \"x\$"$as_ac_var"\" = x"yes"
11197 then :
11198 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11199 fi }
11200 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11202 printf %s "checking whether $CC supports -Wvla... " >&6; }
11203 if eval test \${$as_ac_var+y}
11204 then :
11205 printf %s "(cached) " >&6
11206 else $as_nop
11207 ac_wine_try_cflags_saved=$CFLAGS
11208 ac_wine_try_cflags_saved_exeext=$ac_exeext
11209 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11210 ac_exeext=".exe"
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11213 int __cdecl mainCRTStartup(void) { return 0; }
11214 _ACEOF
11215 if ac_fn_c_try_link "$LINENO"
11216 then :
11217 eval "$as_ac_var=yes"
11218 else $as_nop
11219 eval "$as_ac_var=no"
11221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11222 conftest$ac_exeext conftest.$ac_ext
11223 CFLAGS=$ac_wine_try_cflags_saved
11224 ac_exeext=$ac_wine_try_cflags_saved_exeext
11226 eval ac_res=\$$as_ac_var
11227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11228 printf "%s\n" "$ac_res" >&6; }
11229 if eval test \"x\$"$as_ac_var"\" = x"yes"
11230 then :
11231 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11232 fi }
11233 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11235 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11236 if eval test \${$as_ac_var+y}
11237 then :
11238 printf %s "(cached) " >&6
11239 else $as_nop
11240 ac_wine_try_cflags_saved=$CFLAGS
11241 ac_wine_try_cflags_saved_exeext=$ac_exeext
11242 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11243 ac_exeext=".exe"
11244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11246 int __cdecl mainCRTStartup(void) { return 0; }
11247 _ACEOF
11248 if ac_fn_c_try_link "$LINENO"
11249 then :
11250 eval "$as_ac_var=yes"
11251 else $as_nop
11252 eval "$as_ac_var=no"
11254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11255 conftest$ac_exeext conftest.$ac_ext
11256 CFLAGS=$ac_wine_try_cflags_saved
11257 ac_exeext=$ac_wine_try_cflags_saved_exeext
11259 eval ac_res=\$$as_ac_var
11260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11261 printf "%s\n" "$ac_res" >&6; }
11262 if eval test \"x\$"$as_ac_var"\" = x"yes"
11263 then :
11264 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11265 fi }
11266 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11268 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11269 if eval test \${$as_ac_var+y}
11270 then :
11271 printf %s "(cached) " >&6
11272 else $as_nop
11273 ac_wine_try_cflags_saved=$CFLAGS
11274 ac_wine_try_cflags_saved_exeext=$ac_exeext
11275 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11276 ac_exeext=".exe"
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11279 int __cdecl mainCRTStartup(void) { return 0; }
11280 _ACEOF
11281 if ac_fn_c_try_link "$LINENO"
11282 then :
11283 eval "$as_ac_var=yes"
11284 else $as_nop
11285 eval "$as_ac_var=no"
11287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11288 conftest$ac_exeext conftest.$ac_ext
11289 CFLAGS=$ac_wine_try_cflags_saved
11290 ac_exeext=$ac_wine_try_cflags_saved_exeext
11292 eval ac_res=\$$as_ac_var
11293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11294 printf "%s\n" "$ac_res" >&6; }
11295 if eval test \"x\$"$as_ac_var"\" = x"yes"
11296 then :
11297 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11298 fi }
11299 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11301 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11302 if eval test \${$as_ac_var+y}
11303 then :
11304 printf %s "(cached) " >&6
11305 else $as_nop
11306 ac_wine_try_cflags_saved=$CFLAGS
11307 ac_wine_try_cflags_saved_exeext=$ac_exeext
11308 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11309 ac_exeext=".exe"
11310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11311 /* end confdefs.h. */
11312 int __cdecl mainCRTStartup(void) { return 0; }
11313 _ACEOF
11314 if ac_fn_c_try_link "$LINENO"
11315 then :
11316 eval "$as_ac_var=yes"
11317 else $as_nop
11318 eval "$as_ac_var=no"
11320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11321 conftest$ac_exeext conftest.$ac_ext
11322 CFLAGS=$ac_wine_try_cflags_saved
11323 ac_exeext=$ac_wine_try_cflags_saved_exeext
11325 eval ac_res=\$$as_ac_var
11326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11327 printf "%s\n" "$ac_res" >&6; }
11328 if eval test \"x\$"$as_ac_var"\" = x"yes"
11329 then :
11330 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11331 fi }
11332 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11334 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11335 if eval test \${$as_ac_var+y}
11336 then :
11337 printf %s "(cached) " >&6
11338 else $as_nop
11339 ac_wine_try_cflags_saved=$CFLAGS
11340 ac_wine_try_cflags_saved_exeext=$ac_exeext
11341 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11342 ac_exeext=".exe"
11343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11344 /* end confdefs.h. */
11345 int __cdecl mainCRTStartup(void) { return 0; }
11346 _ACEOF
11347 if ac_fn_c_try_link "$LINENO"
11348 then :
11349 eval "$as_ac_var=yes"
11350 else $as_nop
11351 eval "$as_ac_var=no"
11353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11354 conftest$ac_exeext conftest.$ac_ext
11355 CFLAGS=$ac_wine_try_cflags_saved
11356 ac_exeext=$ac_wine_try_cflags_saved_exeext
11358 eval ac_res=\$$as_ac_var
11359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11360 printf "%s\n" "$ac_res" >&6; }
11361 if eval test \"x\$"$as_ac_var"\" = x"yes"
11362 then :
11363 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11364 fi }
11366 case $wine_arch in
11367 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11369 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11370 if eval test \${$as_ac_var+y}
11371 then :
11372 printf %s "(cached) " >&6
11373 else $as_nop
11374 ac_wine_try_cflags_saved=$CFLAGS
11375 ac_wine_try_cflags_saved_exeext=$ac_exeext
11376 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11377 ac_exeext=".exe"
11378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11380 int __cdecl mainCRTStartup(void) { return 0; }
11381 _ACEOF
11382 if ac_fn_c_try_link "$LINENO"
11383 then :
11384 eval "$as_ac_var=yes"
11385 else $as_nop
11386 eval "$as_ac_var=no"
11388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11389 conftest$ac_exeext conftest.$ac_ext
11390 CFLAGS=$ac_wine_try_cflags_saved
11391 ac_exeext=$ac_wine_try_cflags_saved_exeext
11393 eval ac_res=\$$as_ac_var
11394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11395 printf "%s\n" "$ac_res" >&6; }
11396 if eval test \"x\$"$as_ac_var"\" = x"yes"
11397 then :
11398 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11399 fi }
11400 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11402 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11403 if eval test \${$as_ac_var+y}
11404 then :
11405 printf %s "(cached) " >&6
11406 else $as_nop
11407 ac_wine_try_cflags_saved=$CFLAGS
11408 ac_wine_try_cflags_saved_exeext=$ac_exeext
11409 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11410 ac_exeext=".exe"
11411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11413 int __cdecl mainCRTStartup(void) { return 0; }
11414 _ACEOF
11415 if ac_fn_c_try_link "$LINENO"
11416 then :
11417 eval "$as_ac_var=yes"
11418 else $as_nop
11419 eval "$as_ac_var=no"
11421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11422 conftest$ac_exeext conftest.$ac_ext
11423 CFLAGS=$ac_wine_try_cflags_saved
11424 ac_exeext=$ac_wine_try_cflags_saved_exeext
11426 eval ac_res=\$$as_ac_var
11427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11428 printf "%s\n" "$ac_res" >&6; }
11429 if eval test \"x\$"$as_ac_var"\" = x"yes"
11430 then :
11431 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11432 fi } ;;
11433 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11435 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11436 if eval test \${$as_ac_var+y}
11437 then :
11438 printf %s "(cached) " >&6
11439 else $as_nop
11440 ac_wine_try_cflags_saved=$CFLAGS
11441 ac_wine_try_cflags_saved_exeext=$ac_exeext
11442 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11443 ac_exeext=".exe"
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11446 int __cdecl mainCRTStartup(void) { return 0; }
11447 _ACEOF
11448 if ac_fn_c_try_link "$LINENO"
11449 then :
11450 eval "$as_ac_var=yes"
11451 else $as_nop
11452 eval "$as_ac_var=no"
11454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11455 conftest$ac_exeext conftest.$ac_ext
11456 CFLAGS=$ac_wine_try_cflags_saved
11457 ac_exeext=$ac_wine_try_cflags_saved_exeext
11459 eval ac_res=\$$as_ac_var
11460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11461 printf "%s\n" "$ac_res" >&6; }
11462 if eval test \"x\$"$as_ac_var"\" = x"yes"
11463 then :
11464 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11465 fi }
11466 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11468 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11469 if eval test \${$as_ac_var+y}
11470 then :
11471 printf %s "(cached) " >&6
11472 else $as_nop
11473 ac_wine_try_cflags_saved=$CFLAGS
11474 ac_wine_try_cflags_saved_exeext=$ac_exeext
11475 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11476 ac_exeext=".exe"
11477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11479 int __cdecl mainCRTStartup(void) { return 0; }
11480 _ACEOF
11481 if ac_fn_c_try_link "$LINENO"
11482 then :
11483 eval "$as_ac_var=yes"
11484 else $as_nop
11485 eval "$as_ac_var=no"
11487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11488 conftest$ac_exeext conftest.$ac_ext
11489 CFLAGS=$ac_wine_try_cflags_saved
11490 ac_exeext=$ac_wine_try_cflags_saved_exeext
11492 eval ac_res=\$$as_ac_var
11493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11494 printf "%s\n" "$ac_res" >&6; }
11495 if eval test \"x\$"$as_ac_var"\" = x"yes"
11496 then :
11497 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11498 fi }
11499 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11501 printf %s "checking whether $CC supports -mcx16... " >&6; }
11502 if eval test \${$as_ac_var+y}
11503 then :
11504 printf %s "(cached) " >&6
11505 else $as_nop
11506 ac_wine_try_cflags_saved=$CFLAGS
11507 ac_wine_try_cflags_saved_exeext=$ac_exeext
11508 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11509 ac_exeext=".exe"
11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11512 int __cdecl mainCRTStartup(void) { return 0; }
11513 _ACEOF
11514 if ac_fn_c_try_link "$LINENO"
11515 then :
11516 eval "$as_ac_var=yes"
11517 else $as_nop
11518 eval "$as_ac_var=no"
11520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11521 conftest$ac_exeext conftest.$ac_ext
11522 CFLAGS=$ac_wine_try_cflags_saved
11523 ac_exeext=$ac_wine_try_cflags_saved_exeext
11525 eval ac_res=\$$as_ac_var
11526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11527 printf "%s\n" "$ac_res" >&6; }
11528 if eval test \"x\$"$as_ac_var"\" = x"yes"
11529 then :
11530 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11531 fi }
11532 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11534 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11535 if eval test \${$as_ac_var+y}
11536 then :
11537 printf %s "(cached) " >&6
11538 else $as_nop
11539 ac_wine_try_cflags_saved=$CFLAGS
11540 ac_wine_try_cflags_saved_exeext=$ac_exeext
11541 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11542 ac_exeext=".exe"
11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11545 int __cdecl mainCRTStartup(void) { return 0; }
11546 _ACEOF
11547 if ac_fn_c_try_link "$LINENO"
11548 then :
11549 eval "$as_ac_var=yes"
11550 else $as_nop
11551 eval "$as_ac_var=no"
11553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11554 conftest$ac_exeext conftest.$ac_ext
11555 CFLAGS=$ac_wine_try_cflags_saved
11556 ac_exeext=$ac_wine_try_cflags_saved_exeext
11558 eval ac_res=\$$as_ac_var
11559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11560 printf "%s\n" "$ac_res" >&6; }
11561 if eval test \"x\$"$as_ac_var"\" = x"yes"
11562 then :
11563 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11564 fi } ;;
11565 esac
11567 wine_crossdebug=$CROSSDEBUG
11568 if test -z "$wine_crossdebug"
11569 then
11570 for ac_flag in $CFLAGS; do
11571 case $ac_flag in
11572 -gdwarf*) wine_crossdebug=dwarf ;;
11573 -gcodeview) wine_crossdebug=pdb ;;
11574 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11575 esac
11576 done
11579 ac_debug_format_seen=""
11580 for ac_flag in $CFLAGS; do
11581 case $ac_flag in
11582 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11583 esac
11584 done
11585 if test "x$ac_debug_format_seen" = x
11586 then
11587 case $wine_crossdebug in
11588 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11590 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11591 if eval test \${$as_ac_var+y}
11592 then :
11593 printf %s "(cached) " >&6
11594 else $as_nop
11595 ac_wine_try_cflags_saved=$CFLAGS
11596 ac_wine_try_cflags_saved_exeext=$ac_exeext
11597 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11598 ac_exeext=".exe"
11599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11601 int __cdecl mainCRTStartup(void) { return 0; }
11602 _ACEOF
11603 if ac_fn_c_try_link "$LINENO"
11604 then :
11605 eval "$as_ac_var=yes"
11606 else $as_nop
11607 eval "$as_ac_var=no"
11609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11610 conftest$ac_exeext conftest.$ac_ext
11611 CFLAGS=$ac_wine_try_cflags_saved
11612 ac_exeext=$ac_wine_try_cflags_saved_exeext
11614 eval ac_res=\$$as_ac_var
11615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11616 printf "%s\n" "$ac_res" >&6; }
11617 if eval test \"x\$"$as_ac_var"\" = x"yes"
11618 then :
11619 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11620 fi } ;;
11621 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11623 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11624 if eval test \${$as_ac_var+y}
11625 then :
11626 printf %s "(cached) " >&6
11627 else $as_nop
11628 ac_wine_try_cflags_saved=$CFLAGS
11629 ac_wine_try_cflags_saved_exeext=$ac_exeext
11630 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11631 ac_exeext=".exe"
11632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11633 /* end confdefs.h. */
11634 int __cdecl mainCRTStartup(void) { return 0; }
11635 _ACEOF
11636 if ac_fn_c_try_link "$LINENO"
11637 then :
11638 eval "$as_ac_var=yes"
11639 else $as_nop
11640 eval "$as_ac_var=no"
11642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11643 conftest$ac_exeext conftest.$ac_ext
11644 CFLAGS=$ac_wine_try_cflags_saved
11645 ac_exeext=$ac_wine_try_cflags_saved_exeext
11647 eval ac_res=\$$as_ac_var
11648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11649 printf "%s\n" "$ac_res" >&6; }
11650 if eval test \"x\$"$as_ac_var"\" = x"yes"
11651 then :
11652 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11653 fi } ;;
11654 esac
11656 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11658 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11660 printf %s "checking whether $CC supports -Werror... " >&6; }
11661 if eval test \${$as_ac_var+y}
11662 then :
11663 printf %s "(cached) " >&6
11664 else $as_nop
11665 ac_wine_try_cflags_saved=$CFLAGS
11666 ac_wine_try_cflags_saved_exeext=$ac_exeext
11667 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11668 ac_exeext=".exe"
11669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11670 /* end confdefs.h. */
11671 int __cdecl mainCRTStartup(void) { return 0; }
11672 _ACEOF
11673 if ac_fn_c_try_link "$LINENO"
11674 then :
11675 eval "$as_ac_var=yes"
11676 else $as_nop
11677 eval "$as_ac_var=no"
11679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11680 conftest$ac_exeext conftest.$ac_ext
11681 CFLAGS=$ac_wine_try_cflags_saved
11682 ac_exeext=$ac_wine_try_cflags_saved_exeext
11684 eval ac_res=\$$as_ac_var
11685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11686 printf "%s\n" "$ac_res" >&6; }
11687 if eval test \"x\$"$as_ac_var"\" = x"yes"
11688 then :
11689 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11690 fi }
11691 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11693 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11694 if eval test \${$as_ac_var+y}
11695 then :
11696 printf %s "(cached) " >&6
11697 else $as_nop
11698 ac_wine_try_cflags_saved=$CFLAGS
11699 ac_wine_try_cflags_saved_exeext=$ac_exeext
11700 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11701 ac_exeext=".exe"
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11704 int __cdecl mainCRTStartup(void) { return 0; }
11705 _ACEOF
11706 if ac_fn_c_try_link "$LINENO"
11707 then :
11708 eval "$as_ac_var=yes"
11709 else $as_nop
11710 eval "$as_ac_var=no"
11712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11713 conftest$ac_exeext conftest.$ac_ext
11714 CFLAGS=$ac_wine_try_cflags_saved
11715 ac_exeext=$ac_wine_try_cflags_saved_exeext
11717 eval ac_res=\$$as_ac_var
11718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11719 printf "%s\n" "$ac_res" >&6; }
11720 if eval test \"x\$"$as_ac_var"\" = x"yes"
11721 then :
11722 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11723 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11724 fi }
11726 CC=$saved_CC
11727 CFLAGS=$saved_CFLAGS
11728 LDFLAGS=$saved_LDFLAGS
11729 done
11731 if test $HOST_ARCH = aarch64
11732 then
11733 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
11734 DLLEXT=""
11735 else
11736 if test "x$PE_ARCHS" = "x"
11737 then :
11738 case "x$with_mingw" in
11739 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11740 xno) ;;
11741 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11742 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11743 esac
11749 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11750 then
11751 case "$host_cpu" in
11752 i[3456789]86*)
11753 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11755 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11756 esac
11757 for ac_prog in $ac_prefix_list
11759 # Extract the first word of "$ac_prog", so it can be a program name with args.
11760 set dummy $ac_prog; ac_word=$2
11761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11762 printf %s "checking for $ac_word... " >&6; }
11763 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11764 then :
11765 printf %s "(cached) " >&6
11766 else $as_nop
11767 if test -n "$MINGW_PKG_CONFIG"; then
11768 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11769 else
11770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11771 for as_dir in $PATH
11773 IFS=$as_save_IFS
11774 case $as_dir in #(((
11775 '') as_dir=./ ;;
11776 */) ;;
11777 *) as_dir=$as_dir/ ;;
11778 esac
11779 for ac_exec_ext in '' $ac_executable_extensions; do
11780 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11781 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11783 break 2
11785 done
11786 done
11787 IFS=$as_save_IFS
11791 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11792 if test -n "$MINGW_PKG_CONFIG"; then
11793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11794 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11795 else
11796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11797 printf "%s\n" "no" >&6; }
11801 test -n "$MINGW_PKG_CONFIG" && break
11802 done
11803 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11805 if ${FAUDIO_PE_CFLAGS:+false} :
11806 then :
11807 if test ${MINGW_PKG_CONFIG+y}
11808 then :
11809 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11812 if ${FAUDIO_PE_LIBS:+false} :
11813 then :
11814 if test ${MINGW_PKG_CONFIG+y}
11815 then :
11816 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11819 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11820 ac_save_CPPFLAGS=$CPPFLAGS
11821 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11823 printf %s "checking for MinGW FAudio.h... " >&6; }
11824 if test ${ac_cv_mingw_header_FAudio_h+y}
11825 then :
11826 printf %s "(cached) " >&6
11827 else $as_nop
11828 ac_wine_check_headers_saved_cc=$CC
11829 ac_wine_check_headers_saved_exeext=$ac_exeext
11830 eval CC=\$${wine_arch}_CC
11831 ac_exeext=".exe"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 #include <FAudio.h>
11837 main (void)
11841 return 0;
11843 _ACEOF
11844 if ac_fn_c_try_compile "$LINENO"
11845 then :
11846 ac_cv_mingw_header_FAudio_h=yes
11847 else $as_nop
11848 ac_cv_mingw_header_FAudio_h=no
11850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11851 CC=$ac_wine_check_headers_saved_cc
11852 ac_exeext=$ac_wine_check_headers_saved_exeext
11854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11855 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11856 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11857 then :
11858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11859 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11860 if test ${ac_cv_mingw_lib_FAudio+y}
11861 then :
11862 printf %s "(cached) " >&6
11863 else $as_nop
11864 ac_wine_check_headers_saved_cc=$CC
11865 ac_wine_check_headers_saved_exeext=$ac_exeext
11866 ac_wine_check_headers_saved_libs=$LIBS
11867 eval CC=\$${wine_arch}_CC
11868 ac_exeext=".exe"
11869 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11871 /* end confdefs.h. */
11873 /* Override any GCC internal prototype to avoid an error.
11874 Use char because int might match the return type of a GCC
11875 builtin and then its argument prototype would still apply. */
11876 char FAudio_CommitOperationSet ();
11878 main (void)
11880 return FAudio_CommitOperationSet ();
11882 return 0;
11884 _ACEOF
11885 if ac_fn_c_try_link "$LINENO"
11886 then :
11887 ac_cv_mingw_lib_FAudio=yes
11888 else $as_nop
11889 ac_cv_mingw_lib_FAudio=no
11891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11892 conftest$ac_exeext conftest.$ac_ext
11893 CC=$ac_wine_check_headers_saved_cc
11894 ac_exeext=$ac_wine_check_headers_saved_exeext
11895 LIBS=$ac_wine_check_headers_saved_libs
11897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11898 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11899 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11900 then :
11902 else $as_nop
11903 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11905 else $as_nop
11906 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11908 CPPFLAGS=$ac_save_CPPFLAGS
11910 if test "x$FAUDIO_PE_LIBS" = "x"
11911 then
11912 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11915 if ${JPEG_PE_CFLAGS:+false} :
11916 then :
11917 if test ${MINGW_PKG_CONFIG+y}
11918 then :
11919 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11922 if ${JPEG_PE_LIBS:+false} :
11923 then :
11924 if test ${MINGW_PKG_CONFIG+y}
11925 then :
11926 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11930 ac_save_CPPFLAGS=$CPPFLAGS
11931 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11933 printf %s "checking for MinGW jpeglib.h... " >&6; }
11934 if test ${ac_cv_mingw_header_jpeglib_h+y}
11935 then :
11936 printf %s "(cached) " >&6
11937 else $as_nop
11938 ac_wine_check_headers_saved_cc=$CC
11939 ac_wine_check_headers_saved_exeext=$ac_exeext
11940 eval CC=\$${wine_arch}_CC
11941 ac_exeext=".exe"
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11944 #include <stddef.h>
11945 #include <stdio.h>
11946 #include <jpeglib.h>
11948 main (void)
11952 return 0;
11954 _ACEOF
11955 if ac_fn_c_try_compile "$LINENO"
11956 then :
11957 ac_cv_mingw_header_jpeglib_h=yes
11958 else $as_nop
11959 ac_cv_mingw_header_jpeglib_h=no
11961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11962 CC=$ac_wine_check_headers_saved_cc
11963 ac_exeext=$ac_wine_check_headers_saved_exeext
11965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11966 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11967 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11968 then :
11969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11970 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11971 if test ${ac_cv_mingw_lib_jpeg+y}
11972 then :
11973 printf %s "(cached) " >&6
11974 else $as_nop
11975 ac_wine_check_headers_saved_cc=$CC
11976 ac_wine_check_headers_saved_exeext=$ac_exeext
11977 ac_wine_check_headers_saved_libs=$LIBS
11978 eval CC=\$${wine_arch}_CC
11979 ac_exeext=".exe"
11980 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11982 /* end confdefs.h. */
11984 /* Override any GCC internal prototype to avoid an error.
11985 Use char because int might match the return type of a GCC
11986 builtin and then its argument prototype would still apply. */
11987 char jpeg_start_decompress ();
11989 main (void)
11991 return jpeg_start_decompress ();
11993 return 0;
11995 _ACEOF
11996 if ac_fn_c_try_link "$LINENO"
11997 then :
11998 ac_cv_mingw_lib_jpeg=yes
11999 else $as_nop
12000 ac_cv_mingw_lib_jpeg=no
12002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12003 conftest$ac_exeext conftest.$ac_ext
12004 CC=$ac_wine_check_headers_saved_cc
12005 ac_exeext=$ac_wine_check_headers_saved_exeext
12006 LIBS=$ac_wine_check_headers_saved_libs
12008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12009 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12010 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12011 then :
12013 else $as_nop
12014 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12016 else $as_nop
12017 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12019 CPPFLAGS=$ac_save_CPPFLAGS
12021 if test "x$JPEG_PE_LIBS" = "x"
12022 then
12023 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12026 if ${LCMS2_PE_CFLAGS:+false} :
12027 then :
12028 if test ${MINGW_PKG_CONFIG+y}
12029 then :
12030 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12033 if ${LCMS2_PE_LIBS:+false} :
12034 then :
12035 if test ${MINGW_PKG_CONFIG+y}
12036 then :
12037 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12040 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12041 ac_save_CPPFLAGS=$CPPFLAGS
12042 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12044 printf %s "checking for MinGW lcms2.h... " >&6; }
12045 if test ${ac_cv_mingw_header_lcms2_h+y}
12046 then :
12047 printf %s "(cached) " >&6
12048 else $as_nop
12049 ac_wine_check_headers_saved_cc=$CC
12050 ac_wine_check_headers_saved_exeext=$ac_exeext
12051 eval CC=\$${wine_arch}_CC
12052 ac_exeext=".exe"
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12056 #include <lcms2.h>
12058 main (void)
12062 return 0;
12064 _ACEOF
12065 if ac_fn_c_try_compile "$LINENO"
12066 then :
12067 ac_cv_mingw_header_lcms2_h=yes
12068 else $as_nop
12069 ac_cv_mingw_header_lcms2_h=no
12071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12072 CC=$ac_wine_check_headers_saved_cc
12073 ac_exeext=$ac_wine_check_headers_saved_exeext
12075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12076 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12077 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12078 then :
12079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12080 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12081 if test ${ac_cv_mingw_lib_lcms2+y}
12082 then :
12083 printf %s "(cached) " >&6
12084 else $as_nop
12085 ac_wine_check_headers_saved_cc=$CC
12086 ac_wine_check_headers_saved_exeext=$ac_exeext
12087 ac_wine_check_headers_saved_libs=$LIBS
12088 eval CC=\$${wine_arch}_CC
12089 ac_exeext=".exe"
12090 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12092 /* end confdefs.h. */
12094 /* Override any GCC internal prototype to avoid an error.
12095 Use char because int might match the return type of a GCC
12096 builtin and then its argument prototype would still apply. */
12097 char cmsOpenProfileFromFile ();
12099 main (void)
12101 return cmsOpenProfileFromFile ();
12103 return 0;
12105 _ACEOF
12106 if ac_fn_c_try_link "$LINENO"
12107 then :
12108 ac_cv_mingw_lib_lcms2=yes
12109 else $as_nop
12110 ac_cv_mingw_lib_lcms2=no
12112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12113 conftest$ac_exeext conftest.$ac_ext
12114 CC=$ac_wine_check_headers_saved_cc
12115 ac_exeext=$ac_wine_check_headers_saved_exeext
12116 LIBS=$ac_wine_check_headers_saved_libs
12118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12119 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12120 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12121 then :
12123 else $as_nop
12124 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12126 else $as_nop
12127 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12129 CPPFLAGS=$ac_save_CPPFLAGS
12131 if test "x$LCMS2_PE_LIBS" = "x"
12132 then
12133 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12136 if ${MPG123_PE_CFLAGS:+false} :
12137 then :
12138 if test ${MINGW_PKG_CONFIG+y}
12139 then :
12140 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12143 if ${MPG123_PE_LIBS:+false} :
12144 then :
12145 if test ${MINGW_PKG_CONFIG+y}
12146 then :
12147 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12150 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12151 ac_save_CPPFLAGS=$CPPFLAGS
12152 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12154 printf %s "checking for MinGW mpg123.h... " >&6; }
12155 if test ${ac_cv_mingw_header_mpg123_h+y}
12156 then :
12157 printf %s "(cached) " >&6
12158 else $as_nop
12159 ac_wine_check_headers_saved_cc=$CC
12160 ac_wine_check_headers_saved_exeext=$ac_exeext
12161 eval CC=\$${wine_arch}_CC
12162 ac_exeext=".exe"
12163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12166 #include <mpg123.h>
12168 main (void)
12172 return 0;
12174 _ACEOF
12175 if ac_fn_c_try_compile "$LINENO"
12176 then :
12177 ac_cv_mingw_header_mpg123_h=yes
12178 else $as_nop
12179 ac_cv_mingw_header_mpg123_h=no
12181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12182 CC=$ac_wine_check_headers_saved_cc
12183 ac_exeext=$ac_wine_check_headers_saved_exeext
12185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12186 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12187 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12188 then :
12189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12190 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12191 if test ${ac_cv_mingw_lib_mpg123+y}
12192 then :
12193 printf %s "(cached) " >&6
12194 else $as_nop
12195 ac_wine_check_headers_saved_cc=$CC
12196 ac_wine_check_headers_saved_exeext=$ac_exeext
12197 ac_wine_check_headers_saved_libs=$LIBS
12198 eval CC=\$${wine_arch}_CC
12199 ac_exeext=".exe"
12200 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12202 /* end confdefs.h. */
12204 /* Override any GCC internal prototype to avoid an error.
12205 Use char because int might match the return type of a GCC
12206 builtin and then its argument prototype would still apply. */
12207 char mpg123_feed ();
12209 main (void)
12211 return mpg123_feed ();
12213 return 0;
12215 _ACEOF
12216 if ac_fn_c_try_link "$LINENO"
12217 then :
12218 ac_cv_mingw_lib_mpg123=yes
12219 else $as_nop
12220 ac_cv_mingw_lib_mpg123=no
12222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12223 conftest$ac_exeext conftest.$ac_ext
12224 CC=$ac_wine_check_headers_saved_cc
12225 ac_exeext=$ac_wine_check_headers_saved_exeext
12226 LIBS=$ac_wine_check_headers_saved_libs
12228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12229 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12230 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12231 then :
12233 else $as_nop
12234 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12236 else $as_nop
12237 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12239 CPPFLAGS=$ac_save_CPPFLAGS
12241 if test "x$MPG123_PE_LIBS" = "x"
12242 then
12243 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12246 if ${PNG_PE_CFLAGS:+false} :
12247 then :
12248 if test ${MINGW_PKG_CONFIG+y}
12249 then :
12250 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12253 if ${PNG_PE_LIBS:+false} :
12254 then :
12255 if test ${MINGW_PKG_CONFIG+y}
12256 then :
12257 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12261 ac_save_CPPFLAGS=$CPPFLAGS
12262 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12264 printf %s "checking for MinGW png.h... " >&6; }
12265 if test ${ac_cv_mingw_header_png_h+y}
12266 then :
12267 printf %s "(cached) " >&6
12268 else $as_nop
12269 ac_wine_check_headers_saved_cc=$CC
12270 ac_wine_check_headers_saved_exeext=$ac_exeext
12271 eval CC=\$${wine_arch}_CC
12272 ac_exeext=".exe"
12273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12276 #include <png.h>
12278 main (void)
12282 return 0;
12284 _ACEOF
12285 if ac_fn_c_try_compile "$LINENO"
12286 then :
12287 ac_cv_mingw_header_png_h=yes
12288 else $as_nop
12289 ac_cv_mingw_header_png_h=no
12291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12292 CC=$ac_wine_check_headers_saved_cc
12293 ac_exeext=$ac_wine_check_headers_saved_exeext
12295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12296 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12297 if test "x$ac_cv_mingw_header_png_h" = xyes
12298 then :
12299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12300 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12301 if test ${ac_cv_mingw_lib_png+y}
12302 then :
12303 printf %s "(cached) " >&6
12304 else $as_nop
12305 ac_wine_check_headers_saved_cc=$CC
12306 ac_wine_check_headers_saved_exeext=$ac_exeext
12307 ac_wine_check_headers_saved_libs=$LIBS
12308 eval CC=\$${wine_arch}_CC
12309 ac_exeext=".exe"
12310 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12312 /* end confdefs.h. */
12314 /* Override any GCC internal prototype to avoid an error.
12315 Use char because int might match the return type of a GCC
12316 builtin and then its argument prototype would still apply. */
12317 char png_create_read_struct ();
12319 main (void)
12321 return png_create_read_struct ();
12323 return 0;
12325 _ACEOF
12326 if ac_fn_c_try_link "$LINENO"
12327 then :
12328 ac_cv_mingw_lib_png=yes
12329 else $as_nop
12330 ac_cv_mingw_lib_png=no
12332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12333 conftest$ac_exeext conftest.$ac_ext
12334 CC=$ac_wine_check_headers_saved_cc
12335 ac_exeext=$ac_wine_check_headers_saved_exeext
12336 LIBS=$ac_wine_check_headers_saved_libs
12338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12339 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12340 if test "x$ac_cv_mingw_lib_png" = xyes
12341 then :
12343 else $as_nop
12344 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12346 else $as_nop
12347 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12349 CPPFLAGS=$ac_save_CPPFLAGS
12351 if test "x$PNG_PE_LIBS" = "x"
12352 then
12353 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12356 if ${TIFF_PE_CFLAGS:+false} :
12357 then :
12358 if test ${MINGW_PKG_CONFIG+y}
12359 then :
12360 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12363 if ${TIFF_PE_LIBS:+false} :
12364 then :
12365 if test ${MINGW_PKG_CONFIG+y}
12366 then :
12367 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12371 ac_save_CPPFLAGS=$CPPFLAGS
12372 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12374 printf %s "checking for MinGW tiffio.h... " >&6; }
12375 if test ${ac_cv_mingw_header_tiffio_h+y}
12376 then :
12377 printf %s "(cached) " >&6
12378 else $as_nop
12379 ac_wine_check_headers_saved_cc=$CC
12380 ac_wine_check_headers_saved_exeext=$ac_exeext
12381 eval CC=\$${wine_arch}_CC
12382 ac_exeext=".exe"
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12386 #include <tiffio.h>
12388 main (void)
12392 return 0;
12394 _ACEOF
12395 if ac_fn_c_try_compile "$LINENO"
12396 then :
12397 ac_cv_mingw_header_tiffio_h=yes
12398 else $as_nop
12399 ac_cv_mingw_header_tiffio_h=no
12401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12402 CC=$ac_wine_check_headers_saved_cc
12403 ac_exeext=$ac_wine_check_headers_saved_exeext
12405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12406 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12407 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12408 then :
12409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12410 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12411 if test ${ac_cv_mingw_lib_tiff+y}
12412 then :
12413 printf %s "(cached) " >&6
12414 else $as_nop
12415 ac_wine_check_headers_saved_cc=$CC
12416 ac_wine_check_headers_saved_exeext=$ac_exeext
12417 ac_wine_check_headers_saved_libs=$LIBS
12418 eval CC=\$${wine_arch}_CC
12419 ac_exeext=".exe"
12420 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12424 /* Override any GCC internal prototype to avoid an error.
12425 Use char because int might match the return type of a GCC
12426 builtin and then its argument prototype would still apply. */
12427 char TIFFClientOpen ();
12429 main (void)
12431 return TIFFClientOpen ();
12433 return 0;
12435 _ACEOF
12436 if ac_fn_c_try_link "$LINENO"
12437 then :
12438 ac_cv_mingw_lib_tiff=yes
12439 else $as_nop
12440 ac_cv_mingw_lib_tiff=no
12442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12443 conftest$ac_exeext conftest.$ac_ext
12444 CC=$ac_wine_check_headers_saved_cc
12445 ac_exeext=$ac_wine_check_headers_saved_exeext
12446 LIBS=$ac_wine_check_headers_saved_libs
12448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12449 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12450 if test "x$ac_cv_mingw_lib_tiff" = xyes
12451 then :
12453 else $as_nop
12454 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12456 else $as_nop
12457 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12459 CPPFLAGS=$ac_save_CPPFLAGS
12461 if test "x$TIFF_PE_LIBS" = "x"
12462 then
12463 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12466 if ${XML2_PE_CFLAGS:+false} :
12467 then :
12468 if test ${MINGW_PKG_CONFIG+y}
12469 then :
12470 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12473 if ${XML2_PE_LIBS:+false} :
12474 then :
12475 if test ${MINGW_PKG_CONFIG+y}
12476 then :
12477 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12480 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12481 ac_save_CPPFLAGS=$CPPFLAGS
12482 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12484 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12485 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12486 then :
12487 printf %s "(cached) " >&6
12488 else $as_nop
12489 ac_wine_check_headers_saved_cc=$CC
12490 ac_wine_check_headers_saved_exeext=$ac_exeext
12491 eval CC=\$${wine_arch}_CC
12492 ac_exeext=".exe"
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12496 #include <libxml/parser.h>
12498 main (void)
12502 return 0;
12504 _ACEOF
12505 if ac_fn_c_try_compile "$LINENO"
12506 then :
12507 ac_cv_mingw_header_libxml_parser_h=yes
12508 else $as_nop
12509 ac_cv_mingw_header_libxml_parser_h=no
12511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12512 CC=$ac_wine_check_headers_saved_cc
12513 ac_exeext=$ac_wine_check_headers_saved_exeext
12515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12516 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12517 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12518 then :
12521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12522 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12523 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12524 then :
12525 printf %s "(cached) " >&6
12526 else $as_nop
12527 ac_wine_check_headers_saved_cc=$CC
12528 ac_wine_check_headers_saved_exeext=$ac_exeext
12529 eval CC=\$${wine_arch}_CC
12530 ac_exeext=".exe"
12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12534 #include <libxml/xmlsave.h>
12536 main (void)
12540 return 0;
12542 _ACEOF
12543 if ac_fn_c_try_compile "$LINENO"
12544 then :
12545 ac_cv_mingw_header_libxml_xmlsave_h=yes
12546 else $as_nop
12547 ac_cv_mingw_header_libxml_xmlsave_h=no
12549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12550 CC=$ac_wine_check_headers_saved_cc
12551 ac_exeext=$ac_wine_check_headers_saved_exeext
12553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12554 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12555 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12556 then :
12559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12560 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12561 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12562 then :
12563 printf %s "(cached) " >&6
12564 else $as_nop
12565 ac_wine_check_headers_saved_cc=$CC
12566 ac_wine_check_headers_saved_exeext=$ac_exeext
12567 eval CC=\$${wine_arch}_CC
12568 ac_exeext=".exe"
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12572 #include <libxml/SAX2.h>
12574 main (void)
12578 return 0;
12580 _ACEOF
12581 if ac_fn_c_try_compile "$LINENO"
12582 then :
12583 ac_cv_mingw_header_libxml_SAX2_h=yes
12584 else $as_nop
12585 ac_cv_mingw_header_libxml_SAX2_h=no
12587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12588 CC=$ac_wine_check_headers_saved_cc
12589 ac_exeext=$ac_wine_check_headers_saved_exeext
12591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12592 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12593 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12594 then :
12597 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"
12598 then
12599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12600 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12601 if test ${ac_cv_mingw_lib_xml2+y}
12602 then :
12603 printf %s "(cached) " >&6
12604 else $as_nop
12605 ac_wine_check_headers_saved_cc=$CC
12606 ac_wine_check_headers_saved_exeext=$ac_exeext
12607 ac_wine_check_headers_saved_libs=$LIBS
12608 eval CC=\$${wine_arch}_CC
12609 ac_exeext=".exe"
12610 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 /* Override any GCC internal prototype to avoid an error.
12615 Use char because int might match the return type of a GCC
12616 builtin and then its argument prototype would still apply. */
12617 char xmlFirstElementChild ();
12619 main (void)
12621 return xmlFirstElementChild ();
12623 return 0;
12625 _ACEOF
12626 if ac_fn_c_try_link "$LINENO"
12627 then :
12628 ac_cv_mingw_lib_xml2=yes
12629 else $as_nop
12630 ac_cv_mingw_lib_xml2=no
12632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12633 conftest$ac_exeext conftest.$ac_ext
12634 CC=$ac_wine_check_headers_saved_cc
12635 ac_exeext=$ac_wine_check_headers_saved_exeext
12636 LIBS=$ac_wine_check_headers_saved_libs
12638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12639 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12640 if test "x$ac_cv_mingw_lib_xml2" = xyes
12641 then :
12643 else $as_nop
12644 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12646 else
12647 XML2_PE_CFLAGS=""
12648 XML2_PE_LIBS=""
12650 CPPFLAGS=$ac_save_CPPFLAGS
12652 if test "x$XML2_PE_LIBS" = "x"
12653 then
12654 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12657 if ${XSLT_PE_CFLAGS:+false} :
12658 then :
12659 if test ${MINGW_PKG_CONFIG+y}
12660 then :
12661 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12664 if ${XSLT_PE_LIBS:+false} :
12665 then :
12666 if test ${MINGW_PKG_CONFIG+y}
12667 then :
12668 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12671 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12672 ac_save_CPPFLAGS=$CPPFLAGS
12673 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12675 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12676 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12677 then :
12678 printf %s "(cached) " >&6
12679 else $as_nop
12680 ac_wine_check_headers_saved_cc=$CC
12681 ac_wine_check_headers_saved_exeext=$ac_exeext
12682 eval CC=\$${wine_arch}_CC
12683 ac_exeext=".exe"
12684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12685 /* end confdefs.h. */
12687 #include <libxslt/pattern.h>
12689 main (void)
12693 return 0;
12695 _ACEOF
12696 if ac_fn_c_try_compile "$LINENO"
12697 then :
12698 ac_cv_mingw_header_libxslt_pattern_h=yes
12699 else $as_nop
12700 ac_cv_mingw_header_libxslt_pattern_h=no
12702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12703 CC=$ac_wine_check_headers_saved_cc
12704 ac_exeext=$ac_wine_check_headers_saved_exeext
12706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12707 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12708 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12709 then :
12712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12713 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12714 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12715 then :
12716 printf %s "(cached) " >&6
12717 else $as_nop
12718 ac_wine_check_headers_saved_cc=$CC
12719 ac_wine_check_headers_saved_exeext=$ac_exeext
12720 eval CC=\$${wine_arch}_CC
12721 ac_exeext=".exe"
12722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12723 /* end confdefs.h. */
12725 #include <libxslt/transform.h>
12727 main (void)
12731 return 0;
12733 _ACEOF
12734 if ac_fn_c_try_compile "$LINENO"
12735 then :
12736 ac_cv_mingw_header_libxslt_transform_h=yes
12737 else $as_nop
12738 ac_cv_mingw_header_libxslt_transform_h=no
12740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12741 CC=$ac_wine_check_headers_saved_cc
12742 ac_exeext=$ac_wine_check_headers_saved_exeext
12744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12745 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12746 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12747 then :
12750 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12751 then
12752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12753 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12754 if test ${ac_cv_mingw_lib_xslt+y}
12755 then :
12756 printf %s "(cached) " >&6
12757 else $as_nop
12758 ac_wine_check_headers_saved_cc=$CC
12759 ac_wine_check_headers_saved_exeext=$ac_exeext
12760 ac_wine_check_headers_saved_libs=$LIBS
12761 eval CC=\$${wine_arch}_CC
12762 ac_exeext=".exe"
12763 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12767 /* Override any GCC internal prototype to avoid an error.
12768 Use char because int might match the return type of a GCC
12769 builtin and then its argument prototype would still apply. */
12770 char xsltCompilePattern ();
12772 main (void)
12774 return xsltCompilePattern ();
12776 return 0;
12778 _ACEOF
12779 if ac_fn_c_try_link "$LINENO"
12780 then :
12781 ac_cv_mingw_lib_xslt=yes
12782 else $as_nop
12783 ac_cv_mingw_lib_xslt=no
12785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12786 conftest$ac_exeext conftest.$ac_ext
12787 CC=$ac_wine_check_headers_saved_cc
12788 ac_exeext=$ac_wine_check_headers_saved_exeext
12789 LIBS=$ac_wine_check_headers_saved_libs
12791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12792 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12793 if test "x$ac_cv_mingw_lib_xslt" = xyes
12794 then :
12796 else $as_nop
12797 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12799 else
12800 XSLT_PE_CFLAGS=""
12801 XSLT_PE_LIBS=""
12803 CPPFLAGS=$ac_save_CPPFLAGS
12805 if test "x$XSLT_PE_LIBS" = "x"
12806 then
12807 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12810 if ${VKD3D_PE_CFLAGS:+false} :
12811 then :
12812 if test ${MINGW_PKG_CONFIG+y}
12813 then :
12814 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12817 if ${VKD3D_PE_LIBS:+false} :
12818 then :
12819 if test ${MINGW_PKG_CONFIG+y}
12820 then :
12821 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12824 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12825 ac_save_CPPFLAGS=$CPPFLAGS
12826 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12828 printf %s "checking for MinGW vkd3d.h... " >&6; }
12829 if test ${ac_cv_mingw_header_vkd3d_h+y}
12830 then :
12831 printf %s "(cached) " >&6
12832 else $as_nop
12833 ac_wine_check_headers_saved_cc=$CC
12834 ac_wine_check_headers_saved_exeext=$ac_exeext
12835 eval CC=\$${wine_arch}_CC
12836 ac_exeext=".exe"
12837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12840 #include <vkd3d.h>
12842 main (void)
12846 return 0;
12848 _ACEOF
12849 if ac_fn_c_try_compile "$LINENO"
12850 then :
12851 ac_cv_mingw_header_vkd3d_h=yes
12852 else $as_nop
12853 ac_cv_mingw_header_vkd3d_h=no
12855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12856 CC=$ac_wine_check_headers_saved_cc
12857 ac_exeext=$ac_wine_check_headers_saved_exeext
12859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12860 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12861 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12862 then :
12865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12866 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12867 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12868 then :
12869 printf %s "(cached) " >&6
12870 else $as_nop
12871 ac_wine_check_headers_saved_cc=$CC
12872 ac_wine_check_headers_saved_exeext=$ac_exeext
12873 eval CC=\$${wine_arch}_CC
12874 ac_exeext=".exe"
12875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12878 #include <vkd3d_shader.h>
12880 main (void)
12884 return 0;
12886 _ACEOF
12887 if ac_fn_c_try_compile "$LINENO"
12888 then :
12889 ac_cv_mingw_header_vkd3d_shader_h=yes
12890 else $as_nop
12891 ac_cv_mingw_header_vkd3d_shader_h=no
12893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12894 CC=$ac_wine_check_headers_saved_cc
12895 ac_exeext=$ac_wine_check_headers_saved_exeext
12897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12898 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12899 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12900 then :
12903 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12904 then
12905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12906 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12907 if test ${ac_cv_mingw_lib_vkd3d+y}
12908 then :
12909 printf %s "(cached) " >&6
12910 else $as_nop
12911 ac_wine_check_headers_saved_cc=$CC
12912 ac_wine_check_headers_saved_exeext=$ac_exeext
12913 ac_wine_check_headers_saved_libs=$LIBS
12914 eval CC=\$${wine_arch}_CC
12915 ac_exeext=".exe"
12916 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12918 /* end confdefs.h. */
12920 /* Override any GCC internal prototype to avoid an error.
12921 Use char because int might match the return type of a GCC
12922 builtin and then its argument prototype would still apply. */
12923 char vkd3d_set_log_callback ();
12925 main (void)
12927 return vkd3d_set_log_callback ();
12929 return 0;
12931 _ACEOF
12932 if ac_fn_c_try_link "$LINENO"
12933 then :
12934 ac_cv_mingw_lib_vkd3d=yes
12935 else $as_nop
12936 ac_cv_mingw_lib_vkd3d=no
12938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12939 conftest$ac_exeext conftest.$ac_ext
12940 CC=$ac_wine_check_headers_saved_cc
12941 ac_exeext=$ac_wine_check_headers_saved_exeext
12942 LIBS=$ac_wine_check_headers_saved_libs
12944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12945 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12946 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12947 then :
12949 else $as_nop
12952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12953 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12954 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12955 then :
12956 printf %s "(cached) " >&6
12957 else $as_nop
12958 ac_wine_check_headers_saved_cc=$CC
12959 ac_wine_check_headers_saved_exeext=$ac_exeext
12960 ac_wine_check_headers_saved_libs=$LIBS
12961 eval CC=\$${wine_arch}_CC
12962 ac_exeext=".exe"
12963 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12965 /* end confdefs.h. */
12967 /* Override any GCC internal prototype to avoid an error.
12968 Use char because int might match the return type of a GCC
12969 builtin and then its argument prototype would still apply. */
12970 char vkd3d_shader_serialize_dxbc ();
12972 main (void)
12974 return vkd3d_shader_serialize_dxbc ();
12976 return 0;
12978 _ACEOF
12979 if ac_fn_c_try_link "$LINENO"
12980 then :
12981 ac_cv_mingw_lib_vkd3d_shader=yes
12982 else $as_nop
12983 ac_cv_mingw_lib_vkd3d_shader=no
12985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12986 conftest$ac_exeext conftest.$ac_ext
12987 CC=$ac_wine_check_headers_saved_cc
12988 ac_exeext=$ac_wine_check_headers_saved_exeext
12989 LIBS=$ac_wine_check_headers_saved_libs
12991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12992 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12993 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12994 then :
12996 else $as_nop
12999 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13000 then
13001 VKD3D_PE_CFLAGS=""
13002 VKD3D_PE_LIBS=""
13004 else
13005 VKD3D_PE_CFLAGS=""
13006 VKD3D_PE_LIBS=""
13008 CPPFLAGS=$ac_save_CPPFLAGS
13010 if test "x$VKD3D_PE_LIBS" = "x"
13011 then
13012 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13015 if ${ZLIB_PE_CFLAGS:+false} :
13016 then :
13017 if test ${MINGW_PKG_CONFIG+y}
13018 then :
13019 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13022 if ${ZLIB_PE_LIBS:+false} :
13023 then :
13024 if test ${MINGW_PKG_CONFIG+y}
13025 then :
13026 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13029 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13030 ac_save_CPPFLAGS=$CPPFLAGS
13031 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13033 printf %s "checking for MinGW zlib.h... " >&6; }
13034 if test ${ac_cv_mingw_header_zlib_h+y}
13035 then :
13036 printf %s "(cached) " >&6
13037 else $as_nop
13038 ac_wine_check_headers_saved_cc=$CC
13039 ac_wine_check_headers_saved_exeext=$ac_exeext
13040 eval CC=\$${wine_arch}_CC
13041 ac_exeext=".exe"
13042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13043 /* end confdefs.h. */
13045 #include <zlib.h>
13047 main (void)
13051 return 0;
13053 _ACEOF
13054 if ac_fn_c_try_compile "$LINENO"
13055 then :
13056 ac_cv_mingw_header_zlib_h=yes
13057 else $as_nop
13058 ac_cv_mingw_header_zlib_h=no
13060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13061 CC=$ac_wine_check_headers_saved_cc
13062 ac_exeext=$ac_wine_check_headers_saved_exeext
13064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13065 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13066 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13067 then :
13068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13069 printf %s "checking for inflate in MinGW -lz... " >&6; }
13070 if test ${ac_cv_mingw_lib_z+y}
13071 then :
13072 printf %s "(cached) " >&6
13073 else $as_nop
13074 ac_wine_check_headers_saved_cc=$CC
13075 ac_wine_check_headers_saved_exeext=$ac_exeext
13076 ac_wine_check_headers_saved_libs=$LIBS
13077 eval CC=\$${wine_arch}_CC
13078 ac_exeext=".exe"
13079 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13081 /* end confdefs.h. */
13083 /* Override any GCC internal prototype to avoid an error.
13084 Use char because int might match the return type of a GCC
13085 builtin and then its argument prototype would still apply. */
13086 char inflate ();
13088 main (void)
13090 return inflate ();
13092 return 0;
13094 _ACEOF
13095 if ac_fn_c_try_link "$LINENO"
13096 then :
13097 ac_cv_mingw_lib_z=yes
13098 else $as_nop
13099 ac_cv_mingw_lib_z=no
13101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13102 conftest$ac_exeext conftest.$ac_ext
13103 CC=$ac_wine_check_headers_saved_cc
13104 ac_exeext=$ac_wine_check_headers_saved_exeext
13105 LIBS=$ac_wine_check_headers_saved_libs
13107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13108 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13109 if test "x$ac_cv_mingw_lib_z" = xyes
13110 then :
13112 else $as_nop
13113 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13115 else $as_nop
13116 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13118 CPPFLAGS=$ac_save_CPPFLAGS
13120 if test "x$ZLIB_PE_LIBS" = "x"
13121 then
13122 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13126 if ${FAUDIO_PE_LIBS:+false} :
13127 then :
13128 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13129 if ${FAUDIO_PE_CFLAGS:+false} :
13130 then :
13131 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13132 else $as_nop
13133 enable_faudio=no
13135 else $as_nop
13136 enable_faudio=no
13138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13141 if ${GSM_PE_LIBS:+false} :
13142 then :
13143 GSM_PE_LIBS=gsm
13144 if ${GSM_PE_CFLAGS:+false} :
13145 then :
13146 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13147 else $as_nop
13148 enable_gsm=no
13150 else $as_nop
13151 enable_gsm=no
13153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13156 if ${JPEG_PE_LIBS:+false} :
13157 then :
13158 JPEG_PE_LIBS=jpeg
13159 if ${JPEG_PE_CFLAGS:+false} :
13160 then :
13161 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13162 else $as_nop
13163 enable_jpeg=no
13165 else $as_nop
13166 enable_jpeg=no
13168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13171 if ${JXR_PE_LIBS:+false} :
13172 then :
13173 JXR_PE_LIBS=jxr
13174 if ${JXR_PE_CFLAGS:+false} :
13175 then :
13176 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13177 else $as_nop
13178 enable_jxr=no
13180 else $as_nop
13181 enable_jxr=no
13183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13186 if ${LCMS2_PE_LIBS:+false} :
13187 then :
13188 LCMS2_PE_LIBS=lcms2
13189 if ${LCMS2_PE_CFLAGS:+false} :
13190 then :
13191 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13192 else $as_nop
13193 enable_lcms2=no
13195 else $as_nop
13196 enable_lcms2=no
13198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13201 if ${LDAP_PE_LIBS:+false} :
13202 then :
13203 LDAP_PE_LIBS=ldap
13204 if ${LDAP_PE_CFLAGS:+false} :
13205 then :
13206 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13207 else $as_nop
13208 enable_ldap=no
13210 else $as_nop
13211 enable_ldap=no
13213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13216 if ${MPG123_PE_LIBS:+false} :
13217 then :
13218 MPG123_PE_LIBS=mpg123
13219 if ${MPG123_PE_CFLAGS:+false} :
13220 then :
13221 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13222 else $as_nop
13223 enable_mpg123=no
13225 else $as_nop
13226 enable_mpg123=no
13228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13231 if ${MUSL_PE_LIBS:+false} :
13232 then :
13233 MUSL_PE_LIBS=musl
13234 if ${MUSL_PE_CFLAGS:+false} :
13235 then :
13236 MUSL_PE_CFLAGS=
13237 else $as_nop
13238 enable_musl=no
13240 else $as_nop
13241 enable_musl=no
13243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13246 if ${PNG_PE_LIBS:+false} :
13247 then :
13248 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13249 if ${PNG_PE_CFLAGS:+false} :
13250 then :
13251 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13252 else $as_nop
13253 enable_png=no
13255 else $as_nop
13256 enable_png=no
13258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13261 if ${TIFF_PE_LIBS:+false} :
13262 then :
13263 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13264 if ${TIFF_PE_CFLAGS:+false} :
13265 then :
13266 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13267 else $as_nop
13268 enable_tiff=no
13270 else $as_nop
13271 enable_tiff=no
13273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13276 if ${VKD3D_PE_LIBS:+false} :
13277 then :
13278 VKD3D_PE_LIBS=vkd3d
13279 if ${VKD3D_PE_CFLAGS:+false} :
13280 then :
13281 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13282 else $as_nop
13283 enable_vkd3d=no
13285 else $as_nop
13286 enable_vkd3d=no
13288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13291 if ${XML2_PE_LIBS:+false} :
13292 then :
13293 XML2_PE_LIBS=xml2
13294 if ${XML2_PE_CFLAGS:+false} :
13295 then :
13296 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13297 else $as_nop
13298 enable_xml2=no
13300 else $as_nop
13301 enable_xml2=no
13303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13306 if ${XSLT_PE_LIBS:+false} :
13307 then :
13308 XSLT_PE_LIBS=xslt
13309 if ${XSLT_PE_CFLAGS:+false} :
13310 then :
13311 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13312 else $as_nop
13313 enable_xslt=no
13315 else $as_nop
13316 enable_xslt=no
13318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13321 if ${ZLIB_PE_LIBS:+false} :
13322 then :
13323 ZLIB_PE_LIBS=z
13324 if ${ZLIB_PE_CFLAGS:+false} :
13325 then :
13326 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13327 else $as_nop
13328 enable_zlib=no
13330 else $as_nop
13331 enable_zlib=no
13333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13336 if ${ZYDIS_PE_LIBS:+false} :
13337 then :
13338 ZYDIS_PE_LIBS=zydis
13339 if ${ZYDIS_PE_CFLAGS:+false} :
13340 then :
13341 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13342 else $as_nop
13343 enable_zydis=no
13345 else $as_nop
13346 enable_zydis=no
13348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13353 if test "$ac_cv_header_pthread_h" = "yes"
13354 then
13355 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13356 if test "x$ac_cv_func_pthread_create" = xyes
13357 then :
13359 else $as_nop
13360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13361 printf %s "checking for pthread_create in -lpthread... " >&6; }
13362 if test ${ac_cv_lib_pthread_pthread_create+y}
13363 then :
13364 printf %s "(cached) " >&6
13365 else $as_nop
13366 ac_check_lib_save_LIBS=$LIBS
13367 LIBS="-lpthread $LIBS"
13368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13369 /* end confdefs.h. */
13371 /* Override any GCC internal prototype to avoid an error.
13372 Use char because int might match the return type of a GCC
13373 builtin and then its argument prototype would still apply. */
13374 char pthread_create ();
13376 main (void)
13378 return pthread_create ();
13380 return 0;
13382 _ACEOF
13383 if ac_fn_c_try_link "$LINENO"
13384 then :
13385 ac_cv_lib_pthread_pthread_create=yes
13386 else $as_nop
13387 ac_cv_lib_pthread_pthread_create=no
13389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13390 conftest$ac_exeext conftest.$ac_ext
13391 LIBS=$ac_check_lib_save_LIBS
13393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13394 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13395 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13396 then :
13397 PTHREAD_LIBS="-lpthread"
13404 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13405 then :
13406 case "x$with_pthread" in
13407 xno) ;;
13408 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13409 Wine cannot support threads without libpthread.
13410 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13411 esac
13416 ac_ext=c
13417 ac_cpp='$CPP $CPPFLAGS'
13418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13422 printf %s "checking how to run the C preprocessor... " >&6; }
13423 # On Suns, sometimes $CPP names a directory.
13424 if test -n "$CPP" && test -d "$CPP"; then
13425 CPP=
13427 if test -z "$CPP"; then
13428 if test ${ac_cv_prog_CPP+y}
13429 then :
13430 printf %s "(cached) " >&6
13431 else $as_nop
13432 # Double quotes because $CC needs to be expanded
13433 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13435 ac_preproc_ok=false
13436 for ac_c_preproc_warn_flag in '' yes
13438 # Use a header file that comes with gcc, so configuring glibc
13439 # with a fresh cross-compiler works.
13440 # On the NeXT, cc -E runs the code through the compiler's parser,
13441 # not just through cpp. "Syntax error" is here to catch this case.
13442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13443 /* end confdefs.h. */
13444 #include <limits.h>
13445 Syntax error
13446 _ACEOF
13447 if ac_fn_c_try_cpp "$LINENO"
13448 then :
13450 else $as_nop
13451 # Broken: fails on valid input.
13452 continue
13454 rm -f conftest.err conftest.i conftest.$ac_ext
13456 # OK, works on sane cases. Now check whether nonexistent headers
13457 # can be detected and how.
13458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13459 /* end confdefs.h. */
13460 #include <ac_nonexistent.h>
13461 _ACEOF
13462 if ac_fn_c_try_cpp "$LINENO"
13463 then :
13464 # Broken: success on invalid input.
13465 continue
13466 else $as_nop
13467 # Passes both tests.
13468 ac_preproc_ok=:
13469 break
13471 rm -f conftest.err conftest.i conftest.$ac_ext
13473 done
13474 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13475 rm -f conftest.i conftest.err conftest.$ac_ext
13476 if $ac_preproc_ok
13477 then :
13478 break
13481 done
13482 ac_cv_prog_CPP=$CPP
13485 CPP=$ac_cv_prog_CPP
13486 else
13487 ac_cv_prog_CPP=$CPP
13489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13490 printf "%s\n" "$CPP" >&6; }
13491 ac_preproc_ok=false
13492 for ac_c_preproc_warn_flag in '' yes
13494 # Use a header file that comes with gcc, so configuring glibc
13495 # with a fresh cross-compiler works.
13496 # On the NeXT, cc -E runs the code through the compiler's parser,
13497 # not just through cpp. "Syntax error" is here to catch this case.
13498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13499 /* end confdefs.h. */
13500 #include <limits.h>
13501 Syntax error
13502 _ACEOF
13503 if ac_fn_c_try_cpp "$LINENO"
13504 then :
13506 else $as_nop
13507 # Broken: fails on valid input.
13508 continue
13510 rm -f conftest.err conftest.i conftest.$ac_ext
13512 # OK, works on sane cases. Now check whether nonexistent headers
13513 # can be detected and how.
13514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13515 /* end confdefs.h. */
13516 #include <ac_nonexistent.h>
13517 _ACEOF
13518 if ac_fn_c_try_cpp "$LINENO"
13519 then :
13520 # Broken: success on invalid input.
13521 continue
13522 else $as_nop
13523 # Passes both tests.
13524 ac_preproc_ok=:
13525 break
13527 rm -f conftest.err conftest.i conftest.$ac_ext
13529 done
13530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13531 rm -f conftest.i conftest.err conftest.$ac_ext
13532 if $ac_preproc_ok
13533 then :
13535 else $as_nop
13536 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13537 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13538 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13539 See \`config.log' for more details" "$LINENO" 5; }
13542 ac_ext=c
13543 ac_cpp='$CPP $CPPFLAGS'
13544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13550 printf %s "checking for X... " >&6; }
13553 # Check whether --with-x was given.
13554 if test ${with_x+y}
13555 then :
13556 withval=$with_x;
13559 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13560 if test "x$with_x" = xno; then
13561 # The user explicitly disabled X.
13562 have_x=disabled
13563 else
13564 case $x_includes,$x_libraries in #(
13565 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13566 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13567 then :
13568 printf %s "(cached) " >&6
13569 else $as_nop
13570 # One or both of the vars are not set, and there is no cached value.
13571 ac_x_includes=no
13572 ac_x_libraries=no
13573 # Do we need to do anything special at all?
13574 ac_save_LIBS=$LIBS
13575 LIBS="-lX11 $LIBS"
13576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13578 #include <X11/Xlib.h>
13580 main (void)
13582 XrmInitialize ()
13584 return 0;
13586 _ACEOF
13587 if ac_fn_c_try_link "$LINENO"
13588 then :
13589 # We can compile and link X programs with no special options.
13590 ac_x_includes=
13591 ac_x_libraries=
13593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13594 conftest$ac_exeext conftest.$ac_ext
13595 LIBS="$ac_save_LIBS"
13596 # If that didn't work, only try xmkmf and file system searches
13597 # for native compilation.
13598 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13599 then :
13600 rm -f -r conftest.dir
13601 if mkdir conftest.dir; then
13602 cd conftest.dir
13603 cat >Imakefile <<'_ACEOF'
13604 incroot:
13605 @echo incroot='${INCROOT}'
13606 usrlibdir:
13607 @echo usrlibdir='${USRLIBDIR}'
13608 libdir:
13609 @echo libdir='${LIBDIR}'
13610 _ACEOF
13611 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13612 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13613 for ac_var in incroot usrlibdir libdir; do
13614 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13615 done
13616 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13617 for ac_extension in a so sl dylib la dll; do
13618 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13619 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13620 ac_im_usrlibdir=$ac_im_libdir; break
13622 done
13623 # Screen out bogus values from the imake configuration. They are
13624 # bogus both because they are the default anyway, and because
13625 # using them would break gcc on systems where it needs fixed includes.
13626 case $ac_im_incroot in
13627 /usr/include) ac_x_includes= ;;
13628 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13629 esac
13630 case $ac_im_usrlibdir in
13631 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13632 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13633 esac
13635 cd ..
13636 rm -f -r conftest.dir
13639 # Standard set of common directories for X headers.
13640 # Check X11 before X11Rn because it is often a symlink to the current release.
13641 ac_x_header_dirs='
13642 /usr/X11/include
13643 /usr/X11R7/include
13644 /usr/X11R6/include
13645 /usr/X11R5/include
13646 /usr/X11R4/include
13648 /usr/include/X11
13649 /usr/include/X11R7
13650 /usr/include/X11R6
13651 /usr/include/X11R5
13652 /usr/include/X11R4
13654 /usr/local/X11/include
13655 /usr/local/X11R7/include
13656 /usr/local/X11R6/include
13657 /usr/local/X11R5/include
13658 /usr/local/X11R4/include
13660 /usr/local/include/X11
13661 /usr/local/include/X11R7
13662 /usr/local/include/X11R6
13663 /usr/local/include/X11R5
13664 /usr/local/include/X11R4
13666 /opt/X11/include
13668 /usr/X386/include
13669 /usr/x386/include
13670 /usr/XFree86/include/X11
13672 /usr/include
13673 /usr/local/include
13674 /usr/unsupported/include
13675 /usr/athena/include
13676 /usr/local/x11r5/include
13677 /usr/lpp/Xamples/include
13679 /usr/openwin/include
13680 /usr/openwin/share/include'
13682 if test "$ac_x_includes" = no; then
13683 # Guess where to find include files, by looking for Xlib.h.
13684 # First, try using that file with no special directory specified.
13685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13686 /* end confdefs.h. */
13687 #include <X11/Xlib.h>
13688 _ACEOF
13689 if ac_fn_c_try_cpp "$LINENO"
13690 then :
13691 # We can compile using X headers with no special include directory.
13692 ac_x_includes=
13693 else $as_nop
13694 for ac_dir in $ac_x_header_dirs; do
13695 if test -r "$ac_dir/X11/Xlib.h"; then
13696 ac_x_includes=$ac_dir
13697 break
13699 done
13701 rm -f conftest.err conftest.i conftest.$ac_ext
13702 fi # $ac_x_includes = no
13704 if test "$ac_x_libraries" = no; then
13705 # Check for the libraries.
13706 # See if we find them without any special options.
13707 # Don't add to $LIBS permanently.
13708 ac_save_LIBS=$LIBS
13709 LIBS="-lX11 $LIBS"
13710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13711 /* end confdefs.h. */
13712 #include <X11/Xlib.h>
13714 main (void)
13716 XrmInitialize ()
13718 return 0;
13720 _ACEOF
13721 if ac_fn_c_try_link "$LINENO"
13722 then :
13723 LIBS=$ac_save_LIBS
13724 # We can link X programs with no special library path.
13725 ac_x_libraries=
13726 else $as_nop
13727 LIBS=$ac_save_LIBS
13728 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13730 # Don't even attempt the hair of trying to link an X program!
13731 for ac_extension in a so sl dylib la dll; do
13732 if test -r "$ac_dir/libX11.$ac_extension"; then
13733 ac_x_libraries=$ac_dir
13734 break 2
13736 done
13737 done
13739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13740 conftest$ac_exeext conftest.$ac_ext
13741 fi # $ac_x_libraries = no
13744 # Record the results.
13745 case $ac_x_includes,$ac_x_libraries in #(
13746 no,* | *,no | *\'*) :
13747 # Didn't find X, or a directory has "'" in its name.
13748 ac_cv_have_x="have_x=no" ;; #(
13749 *) :
13750 # Record where we found X for the cache.
13751 ac_cv_have_x="have_x=yes\
13752 ac_x_includes='$ac_x_includes'\
13753 ac_x_libraries='$ac_x_libraries'" ;;
13754 esac
13756 ;; #(
13757 *) have_x=yes;;
13758 esac
13759 eval "$ac_cv_have_x"
13760 fi # $with_x != no
13762 if test "$have_x" != yes; then
13763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13764 printf "%s\n" "$have_x" >&6; }
13765 no_x=yes
13766 else
13767 # If each of the values was on the command line, it overrides each guess.
13768 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13769 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13770 # Update the cache value to reflect the command line values.
13771 ac_cv_have_x="have_x=yes\
13772 ac_x_includes='$x_includes'\
13773 ac_x_libraries='$x_libraries'"
13774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13775 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13778 if test "$no_x" = yes; then
13779 # Not all programs may use this symbol, but it does not hurt to define it.
13781 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13783 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13784 else
13785 if test -n "$x_includes"; then
13786 X_CFLAGS="$X_CFLAGS -I$x_includes"
13789 # It would also be nice to do this for all -L options, not just this one.
13790 if test -n "$x_libraries"; then
13791 X_LIBS="$X_LIBS -L$x_libraries"
13792 # For Solaris; some versions of Sun CC require a space after -R and
13793 # others require no space. Words are not sufficient . . . .
13794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13795 printf %s "checking whether -R must be followed by a space... " >&6; }
13796 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13797 ac_xsave_c_werror_flag=$ac_c_werror_flag
13798 ac_c_werror_flag=yes
13799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13800 /* end confdefs.h. */
13803 main (void)
13807 return 0;
13809 _ACEOF
13810 if ac_fn_c_try_link "$LINENO"
13811 then :
13812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13813 printf "%s\n" "no" >&6; }
13814 X_LIBS="$X_LIBS -R$x_libraries"
13815 else $as_nop
13816 LIBS="$ac_xsave_LIBS -R $x_libraries"
13817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13821 main (void)
13825 return 0;
13827 _ACEOF
13828 if ac_fn_c_try_link "$LINENO"
13829 then :
13830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13831 printf "%s\n" "yes" >&6; }
13832 X_LIBS="$X_LIBS -R $x_libraries"
13833 else $as_nop
13834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13835 printf "%s\n" "neither works" >&6; }
13837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13838 conftest$ac_exeext conftest.$ac_ext
13840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13841 conftest$ac_exeext conftest.$ac_ext
13842 ac_c_werror_flag=$ac_xsave_c_werror_flag
13843 LIBS=$ac_xsave_LIBS
13846 # Check for system-dependent libraries X programs must link with.
13847 # Do this before checking for the system-independent R6 libraries
13848 # (-lICE), since we may need -lsocket or whatever for X linking.
13850 if test "$ISC" = yes; then
13851 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13852 else
13853 # Martyn Johnson says this is needed for Ultrix, if the X
13854 # libraries were built with DECnet support. And Karl Berry says
13855 # the Alpha needs dnet_stub (dnet does not exist).
13856 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13860 /* Override any GCC internal prototype to avoid an error.
13861 Use char because int might match the return type of a GCC
13862 builtin and then its argument prototype would still apply. */
13863 char XOpenDisplay ();
13865 main (void)
13867 return XOpenDisplay ();
13869 return 0;
13871 _ACEOF
13872 if ac_fn_c_try_link "$LINENO"
13873 then :
13875 else $as_nop
13876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13877 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13878 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13879 then :
13880 printf %s "(cached) " >&6
13881 else $as_nop
13882 ac_check_lib_save_LIBS=$LIBS
13883 LIBS="-ldnet $LIBS"
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13887 /* Override any GCC internal prototype to avoid an error.
13888 Use char because int might match the return type of a GCC
13889 builtin and then its argument prototype would still apply. */
13890 char dnet_ntoa ();
13892 main (void)
13894 return dnet_ntoa ();
13896 return 0;
13898 _ACEOF
13899 if ac_fn_c_try_link "$LINENO"
13900 then :
13901 ac_cv_lib_dnet_dnet_ntoa=yes
13902 else $as_nop
13903 ac_cv_lib_dnet_dnet_ntoa=no
13905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13906 conftest$ac_exeext conftest.$ac_ext
13907 LIBS=$ac_check_lib_save_LIBS
13909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13910 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13911 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13912 then :
13913 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13916 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13918 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13919 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13920 then :
13921 printf %s "(cached) " >&6
13922 else $as_nop
13923 ac_check_lib_save_LIBS=$LIBS
13924 LIBS="-ldnet_stub $LIBS"
13925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13928 /* Override any GCC internal prototype to avoid an error.
13929 Use char because int might match the return type of a GCC
13930 builtin and then its argument prototype would still apply. */
13931 char dnet_ntoa ();
13933 main (void)
13935 return dnet_ntoa ();
13937 return 0;
13939 _ACEOF
13940 if ac_fn_c_try_link "$LINENO"
13941 then :
13942 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13943 else $as_nop
13944 ac_cv_lib_dnet_stub_dnet_ntoa=no
13946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13947 conftest$ac_exeext conftest.$ac_ext
13948 LIBS=$ac_check_lib_save_LIBS
13950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13951 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13952 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13953 then :
13954 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13960 conftest$ac_exeext conftest.$ac_ext
13961 LIBS="$ac_xsave_LIBS"
13963 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13964 # to get the SysV transport functions.
13965 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13966 # needs -lnsl.
13967 # The nsl library prevents programs from opening the X display
13968 # on Irix 5.2, according to T.E. Dickey.
13969 # The functions gethostbyname, getservbyname, and inet_addr are
13970 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13971 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13972 if test "x$ac_cv_func_gethostbyname" = xyes
13973 then :
13977 if test $ac_cv_func_gethostbyname = no; then
13978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13979 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13980 if test ${ac_cv_lib_nsl_gethostbyname+y}
13981 then :
13982 printf %s "(cached) " >&6
13983 else $as_nop
13984 ac_check_lib_save_LIBS=$LIBS
13985 LIBS="-lnsl $LIBS"
13986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13989 /* Override any GCC internal prototype to avoid an error.
13990 Use char because int might match the return type of a GCC
13991 builtin and then its argument prototype would still apply. */
13992 char gethostbyname ();
13994 main (void)
13996 return gethostbyname ();
13998 return 0;
14000 _ACEOF
14001 if ac_fn_c_try_link "$LINENO"
14002 then :
14003 ac_cv_lib_nsl_gethostbyname=yes
14004 else $as_nop
14005 ac_cv_lib_nsl_gethostbyname=no
14007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14008 conftest$ac_exeext conftest.$ac_ext
14009 LIBS=$ac_check_lib_save_LIBS
14011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14012 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14013 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14014 then :
14015 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14018 if test $ac_cv_lib_nsl_gethostbyname = no; then
14019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14020 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14021 if test ${ac_cv_lib_bsd_gethostbyname+y}
14022 then :
14023 printf %s "(cached) " >&6
14024 else $as_nop
14025 ac_check_lib_save_LIBS=$LIBS
14026 LIBS="-lbsd $LIBS"
14027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14028 /* end confdefs.h. */
14030 /* Override any GCC internal prototype to avoid an error.
14031 Use char because int might match the return type of a GCC
14032 builtin and then its argument prototype would still apply. */
14033 char gethostbyname ();
14035 main (void)
14037 return gethostbyname ();
14039 return 0;
14041 _ACEOF
14042 if ac_fn_c_try_link "$LINENO"
14043 then :
14044 ac_cv_lib_bsd_gethostbyname=yes
14045 else $as_nop
14046 ac_cv_lib_bsd_gethostbyname=no
14048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14049 conftest$ac_exeext conftest.$ac_ext
14050 LIBS=$ac_check_lib_save_LIBS
14052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14053 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14054 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14055 then :
14056 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14062 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14063 # socket/setsockopt and other routines are undefined under SCO ODT
14064 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14065 # on later versions), says Simon Leinen: it contains gethostby*
14066 # variants that don't use the name server (or something). -lsocket
14067 # must be given before -lnsl if both are needed. We assume that
14068 # if connect needs -lnsl, so does gethostbyname.
14069 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14070 if test "x$ac_cv_func_connect" = xyes
14071 then :
14075 if test $ac_cv_func_connect = no; then
14076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14077 printf %s "checking for connect in -lsocket... " >&6; }
14078 if test ${ac_cv_lib_socket_connect+y}
14079 then :
14080 printf %s "(cached) " >&6
14081 else $as_nop
14082 ac_check_lib_save_LIBS=$LIBS
14083 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14085 /* end confdefs.h. */
14087 /* Override any GCC internal prototype to avoid an error.
14088 Use char because int might match the return type of a GCC
14089 builtin and then its argument prototype would still apply. */
14090 char connect ();
14092 main (void)
14094 return connect ();
14096 return 0;
14098 _ACEOF
14099 if ac_fn_c_try_link "$LINENO"
14100 then :
14101 ac_cv_lib_socket_connect=yes
14102 else $as_nop
14103 ac_cv_lib_socket_connect=no
14105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14106 conftest$ac_exeext conftest.$ac_ext
14107 LIBS=$ac_check_lib_save_LIBS
14109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14110 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14111 if test "x$ac_cv_lib_socket_connect" = xyes
14112 then :
14113 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14118 # Guillermo Gomez says -lposix is necessary on A/UX.
14119 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14120 if test "x$ac_cv_func_remove" = xyes
14121 then :
14125 if test $ac_cv_func_remove = no; then
14126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14127 printf %s "checking for remove in -lposix... " >&6; }
14128 if test ${ac_cv_lib_posix_remove+y}
14129 then :
14130 printf %s "(cached) " >&6
14131 else $as_nop
14132 ac_check_lib_save_LIBS=$LIBS
14133 LIBS="-lposix $LIBS"
14134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14137 /* Override any GCC internal prototype to avoid an error.
14138 Use char because int might match the return type of a GCC
14139 builtin and then its argument prototype would still apply. */
14140 char remove ();
14142 main (void)
14144 return remove ();
14146 return 0;
14148 _ACEOF
14149 if ac_fn_c_try_link "$LINENO"
14150 then :
14151 ac_cv_lib_posix_remove=yes
14152 else $as_nop
14153 ac_cv_lib_posix_remove=no
14155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14156 conftest$ac_exeext conftest.$ac_ext
14157 LIBS=$ac_check_lib_save_LIBS
14159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14160 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14161 if test "x$ac_cv_lib_posix_remove" = xyes
14162 then :
14163 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14168 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14169 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14170 if test "x$ac_cv_func_shmat" = xyes
14171 then :
14175 if test $ac_cv_func_shmat = no; then
14176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14177 printf %s "checking for shmat in -lipc... " >&6; }
14178 if test ${ac_cv_lib_ipc_shmat+y}
14179 then :
14180 printf %s "(cached) " >&6
14181 else $as_nop
14182 ac_check_lib_save_LIBS=$LIBS
14183 LIBS="-lipc $LIBS"
14184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14187 /* Override any GCC internal prototype to avoid an error.
14188 Use char because int might match the return type of a GCC
14189 builtin and then its argument prototype would still apply. */
14190 char shmat ();
14192 main (void)
14194 return shmat ();
14196 return 0;
14198 _ACEOF
14199 if ac_fn_c_try_link "$LINENO"
14200 then :
14201 ac_cv_lib_ipc_shmat=yes
14202 else $as_nop
14203 ac_cv_lib_ipc_shmat=no
14205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14206 conftest$ac_exeext conftest.$ac_ext
14207 LIBS=$ac_check_lib_save_LIBS
14209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14210 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14211 if test "x$ac_cv_lib_ipc_shmat" = xyes
14212 then :
14213 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14219 # Check for libraries that X11R6 Xt/Xaw programs need.
14220 ac_save_LDFLAGS=$LDFLAGS
14221 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14222 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14223 # check for ICE first), but we must link in the order -lSM -lICE or
14224 # we get undefined symbols. So assume we have SM if we have ICE.
14225 # These have to be linked with before -lX11, unlike the other
14226 # libraries we check for below, so use a different variable.
14227 # John Interrante, Karl Berry
14228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14229 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14230 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14231 then :
14232 printf %s "(cached) " >&6
14233 else $as_nop
14234 ac_check_lib_save_LIBS=$LIBS
14235 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14239 /* Override any GCC internal prototype to avoid an error.
14240 Use char because int might match the return type of a GCC
14241 builtin and then its argument prototype would still apply. */
14242 char IceConnectionNumber ();
14244 main (void)
14246 return IceConnectionNumber ();
14248 return 0;
14250 _ACEOF
14251 if ac_fn_c_try_link "$LINENO"
14252 then :
14253 ac_cv_lib_ICE_IceConnectionNumber=yes
14254 else $as_nop
14255 ac_cv_lib_ICE_IceConnectionNumber=no
14257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14258 conftest$ac_exeext conftest.$ac_ext
14259 LIBS=$ac_check_lib_save_LIBS
14261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14262 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14263 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14264 then :
14265 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14268 LDFLAGS=$ac_save_LDFLAGS
14273 if test "$have_x" = "yes"
14274 then
14275 ac_save_CPPFLAGS="$CPPFLAGS"
14276 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14279 printf %s "checking for -lX11... " >&6; }
14280 if test ${ac_cv_lib_soname_X11+y}
14281 then :
14282 printf %s "(cached) " >&6
14283 else $as_nop
14284 ac_check_soname_save_LIBS=$LIBS
14285 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14289 /* Override any GCC internal prototype to avoid an error.
14290 Use char because int might match the return type of a GCC
14291 builtin and then its argument prototype would still apply. */
14292 char XCreateWindow ();
14294 main (void)
14296 return XCreateWindow ();
14298 return 0;
14300 _ACEOF
14301 if ac_fn_c_try_link "$LINENO"
14302 then :
14303 case "$LIBEXT" in
14304 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14305 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'` ;;
14306 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14307 if ${ac_cv_lib_soname_X11:+false} :
14308 then :
14309 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14310 fi ;;
14311 esac
14312 else $as_nop
14313 ac_cv_lib_soname_X11=
14315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14316 conftest$ac_exeext conftest.$ac_ext
14317 LIBS=$ac_check_soname_save_LIBS
14319 if ${ac_cv_lib_soname_X11:+false} :
14320 then :
14321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14322 printf "%s\n" "not found" >&6; }
14324 else $as_nop
14325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14326 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14328 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14333 printf %s "checking for -lXext... " >&6; }
14334 if test ${ac_cv_lib_soname_Xext+y}
14335 then :
14336 printf %s "(cached) " >&6
14337 else $as_nop
14338 ac_check_soname_save_LIBS=$LIBS
14339 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14343 /* Override any GCC internal prototype to avoid an error.
14344 Use char because int might match the return type of a GCC
14345 builtin and then its argument prototype would still apply. */
14346 char XextCreateExtension ();
14348 main (void)
14350 return XextCreateExtension ();
14352 return 0;
14354 _ACEOF
14355 if ac_fn_c_try_link "$LINENO"
14356 then :
14357 case "$LIBEXT" in
14358 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14359 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'` ;;
14360 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14361 if ${ac_cv_lib_soname_Xext:+false} :
14362 then :
14363 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14364 fi ;;
14365 esac
14366 else $as_nop
14367 ac_cv_lib_soname_Xext=
14369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14370 conftest$ac_exeext conftest.$ac_ext
14371 LIBS=$ac_check_soname_save_LIBS
14373 if ${ac_cv_lib_soname_Xext:+false} :
14374 then :
14375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14376 printf "%s\n" "not found" >&6; }
14378 else $as_nop
14379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14380 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14382 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14384 X_LIBS="$X_LIBS -lXext"
14386 X_LIBS="$X_LIBS -lX11"
14388 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14389 # include <X11/Xlib.h>
14390 #endif
14391 #ifdef HAVE_X11_XUTIL_H
14392 # include <X11/Xutil.h>
14393 #endif
14395 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14396 then :
14397 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14400 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14401 # include <X11/Xlib.h>
14402 #endif
14403 #ifdef HAVE_X11_XUTIL_H
14404 # include <X11/Xutil.h>
14405 #endif
14407 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14408 then :
14409 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14412 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14413 # include <X11/Xlib.h>
14414 #endif
14415 #ifdef HAVE_X11_XUTIL_H
14416 # include <X11/Xutil.h>
14417 #endif
14419 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14420 then :
14421 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14424 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14425 # include <X11/Xlib.h>
14426 #endif
14427 #ifdef HAVE_X11_XUTIL_H
14428 # include <X11/Xutil.h>
14429 #endif
14431 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14432 then :
14433 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14436 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14437 # include <X11/Xlib.h>
14438 #endif
14439 #ifdef HAVE_X11_XUTIL_H
14440 # include <X11/Xutil.h>
14441 #endif
14443 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14444 then :
14445 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14448 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14449 # include <X11/Xlib.h>
14450 #endif
14451 #ifdef HAVE_X11_XUTIL_H
14452 # include <X11/Xutil.h>
14453 #endif
14455 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14456 then :
14457 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14460 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14461 # include <X11/Xlib.h>
14462 #endif
14463 #ifdef HAVE_X11_XUTIL_H
14464 # include <X11/Xutil.h>
14465 #endif
14467 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14468 then :
14469 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14472 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14473 # include <X11/Xlib.h>
14474 #endif
14475 #ifdef HAVE_X11_XUTIL_H
14476 # include <X11/Xutil.h>
14477 #endif
14479 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14480 then :
14481 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14484 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14485 # include <X11/Xlib.h>
14486 #endif
14487 #ifdef HAVE_X11_XUTIL_H
14488 # include <X11/Xutil.h>
14489 #endif
14491 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14492 then :
14493 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14496 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14497 # include <X11/Xlib.h>
14498 #endif
14499 #ifdef HAVE_X11_XUTIL_H
14500 # include <X11/Xutil.h>
14501 #endif
14503 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14504 then :
14505 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14508 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14509 # include <X11/Xlib.h>
14510 #endif
14511 #ifdef HAVE_X11_XUTIL_H
14512 # include <X11/Xutil.h>
14513 #endif
14515 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14516 then :
14517 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14520 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14521 # include <X11/Xlib.h>
14522 #endif
14523 #ifdef HAVE_X11_XUTIL_H
14524 # include <X11/Xutil.h>
14525 #endif
14527 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14528 then :
14529 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14532 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14533 # include <X11/Xlib.h>
14534 #endif
14535 #ifdef HAVE_X11_XUTIL_H
14536 # include <X11/Xutil.h>
14537 #endif
14539 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14540 then :
14541 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14544 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14545 # include <X11/Xlib.h>
14546 #endif
14547 #ifdef HAVE_X11_XUTIL_H
14548 # include <X11/Xutil.h>
14549 #endif
14551 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14552 then :
14553 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14556 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14557 # include <X11/Xlib.h>
14558 #endif
14559 #ifdef HAVE_X11_XUTIL_H
14560 # include <X11/Xutil.h>
14561 #endif
14563 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14564 then :
14565 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14570 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14571 then
14572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14573 printf %s "checking for -lXcursor... " >&6; }
14574 if test ${ac_cv_lib_soname_Xcursor+y}
14575 then :
14576 printf %s "(cached) " >&6
14577 else $as_nop
14578 ac_check_soname_save_LIBS=$LIBS
14579 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14581 /* end confdefs.h. */
14583 /* Override any GCC internal prototype to avoid an error.
14584 Use char because int might match the return type of a GCC
14585 builtin and then its argument prototype would still apply. */
14586 char XcursorImageLoadCursor ();
14588 main (void)
14590 return XcursorImageLoadCursor ();
14592 return 0;
14594 _ACEOF
14595 if ac_fn_c_try_link "$LINENO"
14596 then :
14597 case "$LIBEXT" in
14598 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14599 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'` ;;
14600 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14601 if ${ac_cv_lib_soname_Xcursor:+false} :
14602 then :
14603 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14604 fi ;;
14605 esac
14606 else $as_nop
14607 ac_cv_lib_soname_Xcursor=
14609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14610 conftest$ac_exeext conftest.$ac_ext
14611 LIBS=$ac_check_soname_save_LIBS
14613 if ${ac_cv_lib_soname_Xcursor:+false} :
14614 then :
14615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14616 printf "%s\n" "not found" >&6; }
14618 else $as_nop
14619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14620 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14622 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14627 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14628 then :
14629 case "x$with_xcursor" in
14630 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14631 xno) ;;
14632 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14633 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14634 esac
14638 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14639 then
14640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14641 printf %s "checking for -lXi... " >&6; }
14642 if test ${ac_cv_lib_soname_Xi+y}
14643 then :
14644 printf %s "(cached) " >&6
14645 else $as_nop
14646 ac_check_soname_save_LIBS=$LIBS
14647 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14651 /* Override any GCC internal prototype to avoid an error.
14652 Use char because int might match the return type of a GCC
14653 builtin and then its argument prototype would still apply. */
14654 char XOpenDevice ();
14656 main (void)
14658 return XOpenDevice ();
14660 return 0;
14662 _ACEOF
14663 if ac_fn_c_try_link "$LINENO"
14664 then :
14665 case "$LIBEXT" in
14666 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14667 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'` ;;
14668 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14669 if ${ac_cv_lib_soname_Xi:+false} :
14670 then :
14671 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14672 fi ;;
14673 esac
14674 else $as_nop
14675 ac_cv_lib_soname_Xi=
14677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14678 conftest$ac_exeext conftest.$ac_ext
14679 LIBS=$ac_check_soname_save_LIBS
14681 if ${ac_cv_lib_soname_Xi:+false} :
14682 then :
14683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14684 printf "%s\n" "not found" >&6; }
14686 else $as_nop
14687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14688 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14690 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14695 if test "x$ac_cv_lib_soname_Xi" = "x"
14696 then :
14697 case "x$with_xinput" in
14698 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14699 xno) ;;
14700 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14701 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14702 esac
14706 if test "x$ac_cv_lib_soname_Xi" != x
14707 then
14708 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14709 then :
14710 case "x$with_xinput2" in
14711 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14712 xno) ;;
14713 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14714 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14715 esac
14720 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14721 then
14722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14723 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14724 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14725 then :
14726 printf %s "(cached) " >&6
14727 else $as_nop
14728 ac_check_lib_save_LIBS=$LIBS
14729 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14733 /* Override any GCC internal prototype to avoid an error.
14734 Use char because int might match the return type of a GCC
14735 builtin and then its argument prototype would still apply. */
14736 char XShmQueryExtension ();
14738 main (void)
14740 return XShmQueryExtension ();
14742 return 0;
14744 _ACEOF
14745 if ac_fn_c_try_link "$LINENO"
14746 then :
14747 ac_cv_lib_Xext_XShmQueryExtension=yes
14748 else $as_nop
14749 ac_cv_lib_Xext_XShmQueryExtension=no
14751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14752 conftest$ac_exeext conftest.$ac_ext
14753 LIBS=$ac_check_lib_save_LIBS
14755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14756 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14757 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14758 then :
14760 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14765 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14766 then :
14767 case "x$with_xshm" in
14768 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14769 xno) ;;
14770 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14771 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14772 esac
14776 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14777 then
14778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14779 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14780 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14781 then :
14782 printf %s "(cached) " >&6
14783 else $as_nop
14784 ac_check_lib_save_LIBS=$LIBS
14785 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14789 /* Override any GCC internal prototype to avoid an error.
14790 Use char because int might match the return type of a GCC
14791 builtin and then its argument prototype would still apply. */
14792 char XShapeQueryExtension ();
14794 main (void)
14796 return XShapeQueryExtension ();
14798 return 0;
14800 _ACEOF
14801 if ac_fn_c_try_link "$LINENO"
14802 then :
14803 ac_cv_lib_Xext_XShapeQueryExtension=yes
14804 else $as_nop
14805 ac_cv_lib_Xext_XShapeQueryExtension=no
14807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14808 conftest$ac_exeext conftest.$ac_ext
14809 LIBS=$ac_check_lib_save_LIBS
14811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14812 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14813 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14814 then :
14816 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14821 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14822 then :
14823 case "x$with_xshape" in
14824 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14825 xno) ;;
14826 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14827 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14828 esac
14832 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14833 then
14834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14835 printf %s "checking for -lXxf86vm... " >&6; }
14836 if test ${ac_cv_lib_soname_Xxf86vm+y}
14837 then :
14838 printf %s "(cached) " >&6
14839 else $as_nop
14840 ac_check_soname_save_LIBS=$LIBS
14841 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14843 /* end confdefs.h. */
14845 /* Override any GCC internal prototype to avoid an error.
14846 Use char because int might match the return type of a GCC
14847 builtin and then its argument prototype would still apply. */
14848 char XF86VidModeQueryExtension ();
14850 main (void)
14852 return XF86VidModeQueryExtension ();
14854 return 0;
14856 _ACEOF
14857 if ac_fn_c_try_link "$LINENO"
14858 then :
14859 case "$LIBEXT" in
14860 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14861 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'` ;;
14862 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14863 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14864 then :
14865 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14866 fi ;;
14867 esac
14868 else $as_nop
14869 ac_cv_lib_soname_Xxf86vm=
14871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14872 conftest$ac_exeext conftest.$ac_ext
14873 LIBS=$ac_check_soname_save_LIBS
14875 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14876 then :
14877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14878 printf "%s\n" "not found" >&6; }
14880 else $as_nop
14881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14882 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14884 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14889 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14890 then :
14891 case "x$with_xxf86vm" in
14892 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14893 xno) ;;
14894 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14895 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14896 esac
14900 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14901 then
14902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14903 printf %s "checking for -lXrender... " >&6; }
14904 if test ${ac_cv_lib_soname_Xrender+y}
14905 then :
14906 printf %s "(cached) " >&6
14907 else $as_nop
14908 ac_check_soname_save_LIBS=$LIBS
14909 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14911 /* end confdefs.h. */
14913 /* Override any GCC internal prototype to avoid an error.
14914 Use char because int might match the return type of a GCC
14915 builtin and then its argument prototype would still apply. */
14916 char XRenderQueryExtension ();
14918 main (void)
14920 return XRenderQueryExtension ();
14922 return 0;
14924 _ACEOF
14925 if ac_fn_c_try_link "$LINENO"
14926 then :
14927 case "$LIBEXT" in
14928 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14929 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'` ;;
14930 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14931 if ${ac_cv_lib_soname_Xrender:+false} :
14932 then :
14933 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14934 fi ;;
14935 esac
14936 else $as_nop
14937 ac_cv_lib_soname_Xrender=
14939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14940 conftest$ac_exeext conftest.$ac_ext
14941 LIBS=$ac_check_soname_save_LIBS
14943 if ${ac_cv_lib_soname_Xrender:+false} :
14944 then :
14945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14946 printf "%s\n" "not found" >&6; }
14948 else $as_nop
14949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14950 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14952 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14955 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14956 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14957 then :
14958 printf %s "(cached) " >&6
14959 else $as_nop
14960 ac_check_lib_save_LIBS=$LIBS
14961 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14965 /* Override any GCC internal prototype to avoid an error.
14966 Use char because int might match the return type of a GCC
14967 builtin and then its argument prototype would still apply. */
14968 char XRenderSetPictureTransform ();
14970 main (void)
14972 return XRenderSetPictureTransform ();
14974 return 0;
14976 _ACEOF
14977 if ac_fn_c_try_link "$LINENO"
14978 then :
14979 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14980 else $as_nop
14981 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14984 conftest$ac_exeext conftest.$ac_ext
14985 LIBS=$ac_check_lib_save_LIBS
14987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14988 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14989 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14990 then :
14992 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14997 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14998 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14999 then :
15000 printf %s "(cached) " >&6
15001 else $as_nop
15002 ac_check_lib_save_LIBS=$LIBS
15003 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15007 /* Override any GCC internal prototype to avoid an error.
15008 Use char because int might match the return type of a GCC
15009 builtin and then its argument prototype would still apply. */
15010 char XRenderCreateLinearGradient ();
15012 main (void)
15014 return XRenderCreateLinearGradient ();
15016 return 0;
15018 _ACEOF
15019 if ac_fn_c_try_link "$LINENO"
15020 then :
15021 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15022 else $as_nop
15023 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15025 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15026 conftest$ac_exeext conftest.$ac_ext
15027 LIBS=$ac_check_lib_save_LIBS
15029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15030 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15031 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15032 then :
15034 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15041 if test "x$ac_cv_lib_soname_Xrender" = "x"
15042 then :
15043 case "x$with_xrender" in
15044 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15045 xno) ;;
15046 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15047 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15048 esac
15052 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15053 then
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15056 #include <X11/Xlib.h>
15057 #include <X11/extensions/Xrandr.h>
15059 main (void)
15061 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15063 return 0;
15065 _ACEOF
15066 if ac_fn_c_try_compile "$LINENO"
15067 then :
15068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15069 printf %s "checking for -lXrandr... " >&6; }
15070 if test ${ac_cv_lib_soname_Xrandr+y}
15071 then :
15072 printf %s "(cached) " >&6
15073 else $as_nop
15074 ac_check_soname_save_LIBS=$LIBS
15075 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15077 /* end confdefs.h. */
15079 /* Override any GCC internal prototype to avoid an error.
15080 Use char because int might match the return type of a GCC
15081 builtin and then its argument prototype would still apply. */
15082 char XRRQueryExtension ();
15084 main (void)
15086 return XRRQueryExtension ();
15088 return 0;
15090 _ACEOF
15091 if ac_fn_c_try_link "$LINENO"
15092 then :
15093 case "$LIBEXT" in
15094 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15095 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'` ;;
15096 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15097 if ${ac_cv_lib_soname_Xrandr:+false} :
15098 then :
15099 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15100 fi ;;
15101 esac
15102 else $as_nop
15103 ac_cv_lib_soname_Xrandr=
15105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15106 conftest$ac_exeext conftest.$ac_ext
15107 LIBS=$ac_check_soname_save_LIBS
15109 if ${ac_cv_lib_soname_Xrandr:+false} :
15110 then :
15111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15112 printf "%s\n" "not found" >&6; }
15114 else $as_nop
15115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15116 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15118 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15122 #include <X11/Xlib.h>
15123 #include <X11/extensions/Xrandr.h>
15125 main (void)
15127 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15129 return 0;
15131 _ACEOF
15132 if ac_fn_c_try_compile "$LINENO"
15133 then :
15135 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15137 else $as_nop
15138 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15145 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15146 then :
15147 case "x$with_xrandr" in
15148 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15149 xno) ;;
15150 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15151 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15152 esac
15156 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15157 then
15158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15159 /* end confdefs.h. */
15160 #include <X11/Xlib.h>
15161 #include <X11/extensions/Xfixes.h>
15163 main (void)
15165 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15167 return 0;
15169 _ACEOF
15170 if ac_fn_c_try_compile "$LINENO"
15171 then :
15172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15173 printf %s "checking for -lXfixes... " >&6; }
15174 if test ${ac_cv_lib_soname_Xfixes+y}
15175 then :
15176 printf %s "(cached) " >&6
15177 else $as_nop
15178 ac_check_soname_save_LIBS=$LIBS
15179 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15183 /* Override any GCC internal prototype to avoid an error.
15184 Use char because int might match the return type of a GCC
15185 builtin and then its argument prototype would still apply. */
15186 char XFixesQueryVersion ();
15188 main (void)
15190 return XFixesQueryVersion ();
15192 return 0;
15194 _ACEOF
15195 if ac_fn_c_try_link "$LINENO"
15196 then :
15197 case "$LIBEXT" in
15198 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15199 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'` ;;
15200 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15201 if ${ac_cv_lib_soname_Xfixes:+false} :
15202 then :
15203 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15204 fi ;;
15205 esac
15206 else $as_nop
15207 ac_cv_lib_soname_Xfixes=
15209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15210 conftest$ac_exeext conftest.$ac_ext
15211 LIBS=$ac_check_soname_save_LIBS
15213 if ${ac_cv_lib_soname_Xfixes:+false} :
15214 then :
15215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15216 printf "%s\n" "not found" >&6; }
15218 else $as_nop
15219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15220 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15222 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15227 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15229 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15230 then :
15231 case "x$with_xfixes" in
15232 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15233 xno) ;;
15234 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15235 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15236 esac
15240 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15241 then
15242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15244 #include <X11/Xlib.h>
15245 #include <X11/extensions/Xinerama.h>
15247 main (void)
15249 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15251 return 0;
15253 _ACEOF
15254 if ac_fn_c_try_compile "$LINENO"
15255 then :
15256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15257 printf %s "checking for -lXinerama... " >&6; }
15258 if test ${ac_cv_lib_soname_Xinerama+y}
15259 then :
15260 printf %s "(cached) " >&6
15261 else $as_nop
15262 ac_check_soname_save_LIBS=$LIBS
15263 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15267 /* Override any GCC internal prototype to avoid an error.
15268 Use char because int might match the return type of a GCC
15269 builtin and then its argument prototype would still apply. */
15270 char XineramaQueryScreens ();
15272 main (void)
15274 return XineramaQueryScreens ();
15276 return 0;
15278 _ACEOF
15279 if ac_fn_c_try_link "$LINENO"
15280 then :
15281 case "$LIBEXT" in
15282 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15283 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'` ;;
15284 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15285 if ${ac_cv_lib_soname_Xinerama:+false} :
15286 then :
15287 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15288 fi ;;
15289 esac
15290 else $as_nop
15291 ac_cv_lib_soname_Xinerama=
15293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15294 conftest$ac_exeext conftest.$ac_ext
15295 LIBS=$ac_check_soname_save_LIBS
15297 if ${ac_cv_lib_soname_Xinerama:+false} :
15298 then :
15299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15300 printf "%s\n" "not found" >&6; }
15302 else $as_nop
15303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15304 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15306 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15313 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15314 then :
15315 case "x$with_xinerama" in
15316 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15317 xno) ;;
15318 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15319 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15320 esac
15324 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15325 then
15326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15327 printf %s "checking for -lXcomposite... " >&6; }
15328 if test ${ac_cv_lib_soname_Xcomposite+y}
15329 then :
15330 printf %s "(cached) " >&6
15331 else $as_nop
15332 ac_check_soname_save_LIBS=$LIBS
15333 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15335 /* end confdefs.h. */
15337 /* Override any GCC internal prototype to avoid an error.
15338 Use char because int might match the return type of a GCC
15339 builtin and then its argument prototype would still apply. */
15340 char XCompositeRedirectWindow ();
15342 main (void)
15344 return XCompositeRedirectWindow ();
15346 return 0;
15348 _ACEOF
15349 if ac_fn_c_try_link "$LINENO"
15350 then :
15351 case "$LIBEXT" in
15352 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15353 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'` ;;
15354 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15355 if ${ac_cv_lib_soname_Xcomposite:+false} :
15356 then :
15357 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15358 fi ;;
15359 esac
15360 else $as_nop
15361 ac_cv_lib_soname_Xcomposite=
15363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15364 conftest$ac_exeext conftest.$ac_ext
15365 LIBS=$ac_check_soname_save_LIBS
15367 if ${ac_cv_lib_soname_Xcomposite:+false} :
15368 then :
15369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15370 printf "%s\n" "not found" >&6; }
15372 else $as_nop
15373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15374 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15376 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15381 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15382 then :
15383 case "x$with_xcomposite" in
15384 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15385 xno) ;;
15386 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15387 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15388 esac
15392 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15393 #include <X11/Xlib.h>
15394 #endif
15396 if test "x$ac_cv_member_XICCallback_callback" = xyes
15397 then :
15399 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15403 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15404 #include <X11/Xlib.h>
15405 #endif
15407 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15408 then :
15410 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15417 opengl_msg=""
15418 if test "x$with_opengl" != "xno"
15419 then
15420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15421 printf %s "checking for -lGL... " >&6; }
15422 if test ${ac_cv_lib_soname_GL+y}
15423 then :
15424 printf %s "(cached) " >&6
15425 else $as_nop
15426 ac_check_soname_save_LIBS=$LIBS
15427 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15429 /* end confdefs.h. */
15431 /* Override any GCC internal prototype to avoid an error.
15432 Use char because int might match the return type of a GCC
15433 builtin and then its argument prototype would still apply. */
15434 char glXCreateContext ();
15436 main (void)
15438 return glXCreateContext ();
15440 return 0;
15442 _ACEOF
15443 if ac_fn_c_try_link "$LINENO"
15444 then :
15445 case "$LIBEXT" in
15446 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15447 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'` ;;
15448 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15449 if ${ac_cv_lib_soname_GL:+false} :
15450 then :
15451 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15452 fi ;;
15453 esac
15454 else $as_nop
15455 ac_cv_lib_soname_GL=
15457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15458 conftest$ac_exeext conftest.$ac_ext
15459 LIBS=$ac_check_soname_save_LIBS
15461 if ${ac_cv_lib_soname_GL:+false} :
15462 then :
15463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15464 printf "%s\n" "not found" >&6; }
15465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15466 printf %s "checking for -lGL... " >&6; }
15467 if test ${ac_cv_lib_soname_GL+y}
15468 then :
15469 printf %s "(cached) " >&6
15470 else $as_nop
15471 ac_check_soname_save_LIBS=$LIBS
15472 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"
15473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15474 /* end confdefs.h. */
15476 /* Override any GCC internal prototype to avoid an error.
15477 Use char because int might match the return type of a GCC
15478 builtin and then its argument prototype would still apply. */
15479 char glXCreateContext ();
15481 main (void)
15483 return glXCreateContext ();
15485 return 0;
15487 _ACEOF
15488 if ac_fn_c_try_link "$LINENO"
15489 then :
15490 case "$LIBEXT" in
15491 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15492 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'` ;;
15493 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15494 if ${ac_cv_lib_soname_GL:+false} :
15495 then :
15496 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15497 fi ;;
15498 esac
15499 else $as_nop
15500 ac_cv_lib_soname_GL=
15502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15503 conftest$ac_exeext conftest.$ac_ext
15504 LIBS=$ac_check_soname_save_LIBS
15506 if ${ac_cv_lib_soname_GL:+false} :
15507 then :
15508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15509 printf "%s\n" "not found" >&6; }
15510 if test -f /usr/X11R6/lib/libGL.a
15511 then
15512 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15513 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15514 else
15515 opengl_msg="No OpenGL library found on this system."
15517 else $as_nop
15518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15519 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15521 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15523 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"
15525 else $as_nop
15526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15527 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15529 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15531 OPENGL_LIBS="-lGL"
15533 if test "x$with_osmesa" != "xno"
15534 then
15535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15536 printf %s "checking for -lOSMesa... " >&6; }
15537 if test ${ac_cv_lib_soname_OSMesa+y}
15538 then :
15539 printf %s "(cached) " >&6
15540 else $as_nop
15541 ac_check_soname_save_LIBS=$LIBS
15542 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15544 /* end confdefs.h. */
15546 /* Override any GCC internal prototype to avoid an error.
15547 Use char because int might match the return type of a GCC
15548 builtin and then its argument prototype would still apply. */
15549 char OSMesaGetProcAddress ();
15551 main (void)
15553 return OSMesaGetProcAddress ();
15555 return 0;
15557 _ACEOF
15558 if ac_fn_c_try_link "$LINENO"
15559 then :
15560 case "$LIBEXT" in
15561 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15562 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'` ;;
15563 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15564 if ${ac_cv_lib_soname_OSMesa:+false} :
15565 then :
15566 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15567 fi ;;
15568 esac
15569 else $as_nop
15570 ac_cv_lib_soname_OSMesa=
15572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15573 conftest$ac_exeext conftest.$ac_ext
15574 LIBS=$ac_check_soname_save_LIBS
15576 if ${ac_cv_lib_soname_OSMesa:+false} :
15577 then :
15578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15579 printf "%s\n" "not found" >&6; }
15581 else $as_nop
15582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15583 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15585 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15589 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15590 then :
15591 case "x$with_osmesa" in
15592 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15593 xno) ;;
15594 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15595 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15596 esac
15601 if test -n "$opengl_msg"
15602 then :
15603 case "x$with_opengl" in
15604 x) as_fn_append wine_warnings "|$opengl_msg
15605 OpenGL and Direct3D won't be supported." ;;
15606 xno) ;;
15607 *) as_fn_error $? "$opengl_msg
15608 OpenGL and Direct3D won't be supported.
15609 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15610 esac
15614 CPPFLAGS="$ac_save_CPPFLAGS"
15615 else
15616 X_CFLAGS=""
15617 X_LIBS=""
15620 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15621 then
15622 if test "x$X_LIBS" = "x"
15623 then :
15624 case "x$with_x" in
15625 xno) ;;
15626 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15627 without X support, which probably isn't what you want. You will need
15628 to install ${notice_platform}development packages of Xlib at the very least.
15629 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15630 esac
15631 enable_winex11_drv=${enable_winex11_drv:-no}
15633 else
15634 if test "x$X_LIBS" = "x"
15635 then :
15636 case "x$with_x" in
15637 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15638 xno) ;;
15639 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15640 This is an error since --with-x was requested." "$LINENO" 5 ;;
15641 esac
15642 enable_winex11_drv=${enable_winex11_drv:-no}
15646 if test "x$with_wayland" != "xno"
15647 then
15648 rm -f conftest.err
15649 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15650 then :
15651 if test ${PKG_CONFIG+y}
15652 then :
15653 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15657 if ${WAYLAND_CLIENT_LIBS:+false} :
15658 then :
15659 if test ${PKG_CONFIG+y}
15660 then :
15661 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15668 if test -s conftest.err; then
15669 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15670 cat conftest.err >&5
15672 rm -f conftest.err
15673 ac_save_CPPFLAGS=$CPPFLAGS
15674 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15675 for ac_header in wayland-client.h
15676 do :
15677 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15678 if test "x$ac_cv_header_wayland_client_h" = xyes
15679 then :
15680 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15682 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15683 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15684 then :
15685 printf %s "(cached) " >&6
15686 else $as_nop
15687 ac_check_lib_save_LIBS=$LIBS
15688 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15692 /* Override any GCC internal prototype to avoid an error.
15693 Use char because int might match the return type of a GCC
15694 builtin and then its argument prototype would still apply. */
15695 char wl_display_connect ();
15697 main (void)
15699 return wl_display_connect ();
15701 return 0;
15703 _ACEOF
15704 if ac_fn_c_try_link "$LINENO"
15705 then :
15706 ac_cv_lib_wayland_client_wl_display_connect=yes
15707 else $as_nop
15708 ac_cv_lib_wayland_client_wl_display_connect=no
15710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15711 conftest$ac_exeext conftest.$ac_ext
15712 LIBS=$ac_check_lib_save_LIBS
15714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15715 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15716 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15717 then :
15718 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15719 set dummy wayland-scanner; ac_word=$2
15720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15721 printf %s "checking for $ac_word... " >&6; }
15722 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15723 then :
15724 printf %s "(cached) " >&6
15725 else $as_nop
15726 case $WAYLAND_SCANNER in
15727 [\\/]* | ?:[\\/]*)
15728 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15732 for as_dir in $PATH
15734 IFS=$as_save_IFS
15735 case $as_dir in #(((
15736 '') as_dir=./ ;;
15737 */) ;;
15738 *) as_dir=$as_dir/ ;;
15739 esac
15740 for ac_exec_ext in '' $ac_executable_extensions; do
15741 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15742 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15744 break 2
15746 done
15747 done
15748 IFS=$as_save_IFS
15750 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`"
15752 esac
15754 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15755 if test -n "$WAYLAND_SCANNER"; then
15756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15757 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15758 else
15759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15760 printf "%s\n" "no" >&6; }
15764 else $as_nop
15765 WAYLAND_CLIENT_LIBS=""
15770 done
15771 CPPFLAGS=$ac_save_CPPFLAGS
15774 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15775 then :
15776 case "x$with_wayland" in
15777 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15778 xno) ;;
15779 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15780 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15781 esac
15782 enable_winewayland_drv=${enable_winewayland_drv:-no}
15785 if test "$ac_cv_header_CL_cl_h" = "yes"
15786 then
15787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15788 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15789 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15790 then :
15791 printf %s "(cached) " >&6
15792 else $as_nop
15793 ac_check_lib_save_LIBS=$LIBS
15794 LIBS="-lOpenCL $LIBS"
15795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15796 /* end confdefs.h. */
15798 /* Override any GCC internal prototype to avoid an error.
15799 Use char because int might match the return type of a GCC
15800 builtin and then its argument prototype would still apply. */
15801 char clGetPlatformInfo ();
15803 main (void)
15805 return clGetPlatformInfo ();
15807 return 0;
15809 _ACEOF
15810 if ac_fn_c_try_link "$LINENO"
15811 then :
15812 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15813 else $as_nop
15814 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15817 conftest$ac_exeext conftest.$ac_ext
15818 LIBS=$ac_check_lib_save_LIBS
15820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15821 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15822 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15823 then :
15824 OPENCL_LIBS="-lOpenCL"
15829 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15830 then :
15831 case "x$with_opencl" in
15832 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15833 xno) ;;
15834 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15835 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15836 esac
15837 enable_opencl=${enable_opencl:-no}
15840 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15841 then
15842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15843 printf %s "checking for pcap_init in -lpcap... " >&6; }
15844 if test ${ac_cv_lib_pcap_pcap_init+y}
15845 then :
15846 printf %s "(cached) " >&6
15847 else $as_nop
15848 ac_check_lib_save_LIBS=$LIBS
15849 LIBS="-lpcap $LIBS"
15850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15853 /* Override any GCC internal prototype to avoid an error.
15854 Use char because int might match the return type of a GCC
15855 builtin and then its argument prototype would still apply. */
15856 char pcap_init ();
15858 main (void)
15860 return pcap_init ();
15862 return 0;
15864 _ACEOF
15865 if ac_fn_c_try_link "$LINENO"
15866 then :
15867 ac_cv_lib_pcap_pcap_init=yes
15868 else $as_nop
15869 ac_cv_lib_pcap_pcap_init=no
15871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15872 conftest$ac_exeext conftest.$ac_ext
15873 LIBS=$ac_check_lib_save_LIBS
15875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15876 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15877 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15878 then :
15879 PCAP_LIBS="-lpcap"
15884 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15885 then :
15886 case "x$with_pcap" in
15887 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15888 xno) ;;
15889 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15890 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15891 esac
15892 enable_wpcap=${enable_wpcap:-no}
15895 if test "x$with_pcsclite" != "xno"
15896 then
15897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15898 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15899 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15900 then :
15901 printf %s "(cached) " >&6
15902 else $as_nop
15903 ac_check_lib_save_LIBS=$LIBS
15904 LIBS="-lpcsclite $LIBS"
15905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15908 /* Override any GCC internal prototype to avoid an error.
15909 Use char because int might match the return type of a GCC
15910 builtin and then its argument prototype would still apply. */
15911 char SCardEstablishContext ();
15913 main (void)
15915 return SCardEstablishContext ();
15917 return 0;
15919 _ACEOF
15920 if ac_fn_c_try_link "$LINENO"
15921 then :
15922 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15923 else $as_nop
15924 ac_cv_lib_pcsclite_SCardEstablishContext=no
15926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15927 conftest$ac_exeext conftest.$ac_ext
15928 LIBS=$ac_check_lib_save_LIBS
15930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15931 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15932 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15933 then :
15934 PCSCLITE_LIBS="-lpcsclite"
15939 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15940 then :
15941 case "x$with_pcsclite" in
15942 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15943 xno) ;;
15944 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15945 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15946 esac
15947 enable_winscard=${enable_winscard:-no}
15950 if test "x$with_inotify" != "xno"
15951 then
15952 rm -f conftest.err
15953 if ${INOTIFY_CFLAGS:+false} :
15954 then :
15955 if test ${PKG_CONFIG+y}
15956 then :
15957 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15961 if ${INOTIFY_LIBS:+false} :
15962 then :
15963 if test ${PKG_CONFIG+y}
15964 then :
15965 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15972 if test -s conftest.err; then
15973 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15974 cat conftest.err >&5
15976 rm -f conftest.err
15977 ac_save_CPPFLAGS=$CPPFLAGS
15978 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15979 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15980 if test "x$ac_cv_header_sys_inotify_h" = xyes
15981 then :
15982 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15987 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15988 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15989 then :
15990 printf %s "(cached) " >&6
15991 else $as_nop
15992 ac_check_lib_save_LIBS=$LIBS
15993 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15995 /* end confdefs.h. */
15997 /* Override any GCC internal prototype to avoid an error.
15998 Use char because int might match the return type of a GCC
15999 builtin and then its argument prototype would still apply. */
16000 char inotify_add_watch ();
16002 main (void)
16004 return inotify_add_watch ();
16006 return 0;
16008 _ACEOF
16009 if ac_fn_c_try_link "$LINENO"
16010 then :
16011 ac_cv_lib_inotify_inotify_add_watch=yes
16012 else $as_nop
16013 ac_cv_lib_inotify_inotify_add_watch=no
16015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16016 conftest$ac_exeext conftest.$ac_ext
16017 LIBS=$ac_check_lib_save_LIBS
16019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16020 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16021 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16022 then :
16024 else $as_nop
16025 INOTIFY_LIBS=""
16028 CPPFLAGS=$ac_save_CPPFLAGS
16031 if test "$ac_cv_header_sys_inotify_h" != "yes"
16032 then :
16033 case "x$with_inotify" in
16034 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16035 xno) ;;
16036 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16037 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16038 esac
16042 if test "x$with_dbus" != "xno"
16043 then
16044 rm -f conftest.err
16045 if ${DBUS_CFLAGS:+false} :
16046 then :
16047 if test ${PKG_CONFIG+y}
16048 then :
16049 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16053 if ${DBUS_LIBS:+false} :
16054 then :
16055 if test ${PKG_CONFIG+y}
16056 then :
16057 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16064 if test -s conftest.err; then
16065 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16066 cat conftest.err >&5
16068 rm -f conftest.err
16069 ac_save_CPPFLAGS=$CPPFLAGS
16070 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16071 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16072 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16073 then :
16074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16075 printf %s "checking for -ldbus-1... " >&6; }
16076 if test ${ac_cv_lib_soname_dbus_1+y}
16077 then :
16078 printf %s "(cached) " >&6
16079 else $as_nop
16080 ac_check_soname_save_LIBS=$LIBS
16081 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16083 /* end confdefs.h. */
16085 /* Override any GCC internal prototype to avoid an error.
16086 Use char because int might match the return type of a GCC
16087 builtin and then its argument prototype would still apply. */
16088 char dbus_connection_close ();
16090 main (void)
16092 return dbus_connection_close ();
16094 return 0;
16096 _ACEOF
16097 if ac_fn_c_try_link "$LINENO"
16098 then :
16099 case "$LIBEXT" in
16100 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16101 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'` ;;
16102 *) 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'`
16103 if ${ac_cv_lib_soname_dbus_1:+false} :
16104 then :
16105 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16106 fi ;;
16107 esac
16108 else $as_nop
16109 ac_cv_lib_soname_dbus_1=
16111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16112 conftest$ac_exeext conftest.$ac_ext
16113 LIBS=$ac_check_soname_save_LIBS
16115 if ${ac_cv_lib_soname_dbus_1:+false} :
16116 then :
16117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16118 printf "%s\n" "not found" >&6; }
16119 DBUS_CFLAGS=""
16120 else $as_nop
16121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16122 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16124 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16128 else $as_nop
16129 DBUS_CFLAGS=""
16132 CPPFLAGS=$ac_save_CPPFLAGS
16135 case $host_os in
16136 darwin*|macosx*) ;;
16137 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16138 then :
16139 case "x$with_dbus" in
16140 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16141 xno) ;;
16142 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16143 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16144 esac
16146 fi ;;
16147 esac
16149 if test "x$with_gnutls" != "xno"
16150 then
16151 rm -f conftest.err
16152 if ${GNUTLS_CFLAGS:+false} :
16153 then :
16154 if test ${PKG_CONFIG+y}
16155 then :
16156 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16160 if ${GNUTLS_LIBS:+false} :
16161 then :
16162 if test ${PKG_CONFIG+y}
16163 then :
16164 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16168 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16171 if test -s conftest.err; then
16172 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16173 cat conftest.err >&5
16175 rm -f conftest.err
16176 ac_save_CPPFLAGS=$CPPFLAGS
16177 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16178 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16179 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16180 then :
16181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16182 /* end confdefs.h. */
16183 #include <gnutls/gnutls.h>
16184 #include <gnutls/crypto.h>
16186 main (void)
16188 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16190 return 0;
16192 _ACEOF
16193 if ac_fn_c_try_compile "$LINENO"
16194 then :
16195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16196 printf %s "checking for -lgnutls... " >&6; }
16197 if test ${ac_cv_lib_soname_gnutls+y}
16198 then :
16199 printf %s "(cached) " >&6
16200 else $as_nop
16201 ac_check_soname_save_LIBS=$LIBS
16202 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16204 /* end confdefs.h. */
16206 /* Override any GCC internal prototype to avoid an error.
16207 Use char because int might match the return type of a GCC
16208 builtin and then its argument prototype would still apply. */
16209 char gnutls_global_init ();
16211 main (void)
16213 return gnutls_global_init ();
16215 return 0;
16217 _ACEOF
16218 if ac_fn_c_try_link "$LINENO"
16219 then :
16220 case "$LIBEXT" in
16221 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16222 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'` ;;
16223 *) 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'`
16224 if ${ac_cv_lib_soname_gnutls:+false} :
16225 then :
16226 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'`
16227 fi ;;
16228 esac
16229 else $as_nop
16230 ac_cv_lib_soname_gnutls=
16232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16233 conftest$ac_exeext conftest.$ac_ext
16234 LIBS=$ac_check_soname_save_LIBS
16236 if ${ac_cv_lib_soname_gnutls:+false} :
16237 then :
16238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16239 printf "%s\n" "not found" >&6; }
16240 GNUTLS_CFLAGS=""
16241 else $as_nop
16242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16243 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16245 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16249 ac_wine_check_funcs_save_LIBS="$LIBS"
16250 LIBS="$LIBS $GNUTLS_LIBS"
16252 for ac_func in gnutls_cipher_init
16253 do :
16254 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16255 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16256 then :
16257 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16259 else $as_nop
16260 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16263 done
16264 LIBS="$ac_wine_check_funcs_save_LIBS"
16266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16267 else $as_nop
16268 GNUTLS_CFLAGS=""
16271 CPPFLAGS=$ac_save_CPPFLAGS
16274 if test "x$ac_cv_lib_soname_gnutls" = "x"
16275 then :
16276 case "x$with_gnutls" in
16277 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16278 xno) ;;
16279 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16280 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16281 esac
16285 if test "x$with_sane" != "xno"
16286 then
16287 rm -f conftest.err
16288 if ${SANE_CFLAGS:+false} :
16289 then :
16290 if test ${PKG_CONFIG+y}
16291 then :
16292 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16295 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16296 if ${SANE_LIBS:+false} :
16297 then :
16298 if test ${PKG_CONFIG+y}
16299 then :
16300 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16303 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16307 if test -s conftest.err; then
16308 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16309 cat conftest.err >&5
16311 rm -f conftest.err
16312 ac_save_CPPFLAGS=$CPPFLAGS
16313 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16314 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16315 if test "x$ac_cv_header_sane_sane_h" = xyes
16316 then :
16317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16318 printf %s "checking for sane_init in -lsane... " >&6; }
16319 if test ${ac_cv_lib_sane_sane_init+y}
16320 then :
16321 printf %s "(cached) " >&6
16322 else $as_nop
16323 ac_check_lib_save_LIBS=$LIBS
16324 LIBS="-lsane $SANE_LIBS $LIBS"
16325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16326 /* end confdefs.h. */
16328 /* Override any GCC internal prototype to avoid an error.
16329 Use char because int might match the return type of a GCC
16330 builtin and then its argument prototype would still apply. */
16331 char sane_init ();
16333 main (void)
16335 return sane_init ();
16337 return 0;
16339 _ACEOF
16340 if ac_fn_c_try_link "$LINENO"
16341 then :
16342 ac_cv_lib_sane_sane_init=yes
16343 else $as_nop
16344 ac_cv_lib_sane_sane_init=no
16346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16347 conftest$ac_exeext conftest.$ac_ext
16348 LIBS=$ac_check_lib_save_LIBS
16350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16351 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16352 if test "x$ac_cv_lib_sane_sane_init" = xyes
16353 then :
16359 CPPFLAGS=$ac_save_CPPFLAGS
16362 if test "$ac_cv_lib_sane_sane_init" != "yes"
16363 then :
16364 case "x$with_sane" in
16365 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16366 xno) ;;
16367 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16368 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16369 esac
16370 enable_sane_ds=${enable_sane_ds:-no}
16373 if test "x$with_usb" != "xno"
16374 then
16375 rm -f conftest.err
16376 if ${USB_CFLAGS:+false} :
16377 then :
16378 if test ${PKG_CONFIG+y}
16379 then :
16380 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16384 if ${USB_LIBS:+false} :
16385 then :
16386 if test ${PKG_CONFIG+y}
16387 then :
16388 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16392 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16395 if test -s conftest.err; then
16396 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16397 cat conftest.err >&5
16399 rm -f conftest.err
16400 ac_save_CPPFLAGS=$CPPFLAGS
16401 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16402 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16403 if test "x$ac_cv_header_libusb_h" = xyes
16404 then :
16405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16406 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16407 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16408 then :
16409 printf %s "(cached) " >&6
16410 else $as_nop
16411 ac_check_lib_save_LIBS=$LIBS
16412 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16414 /* end confdefs.h. */
16416 /* Override any GCC internal prototype to avoid an error.
16417 Use char because int might match the return type of a GCC
16418 builtin and then its argument prototype would still apply. */
16419 char libusb_interrupt_event_handler ();
16421 main (void)
16423 return libusb_interrupt_event_handler ();
16425 return 0;
16427 _ACEOF
16428 if ac_fn_c_try_link "$LINENO"
16429 then :
16430 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16431 else $as_nop
16432 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16435 conftest$ac_exeext conftest.$ac_ext
16436 LIBS=$ac_check_lib_save_LIBS
16438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16439 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16440 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16441 then :
16443 else $as_nop
16444 USB_LIBS=""
16447 else $as_nop
16448 USB_LIBS=""
16451 CPPFLAGS=$ac_save_CPPFLAGS
16454 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16455 then :
16456 case "x$with_usb" in
16457 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16458 xno) ;;
16459 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16460 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16461 esac
16462 enable_wineusb_sys=${enable_wineusb_sys:-no}
16465 if test "x$with_v4l2" != "xno"
16466 then
16467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16468 printf %s "checking for -lv4l2... " >&6; }
16469 if test ${ac_cv_lib_soname_v4l2+y}
16470 then :
16471 printf %s "(cached) " >&6
16472 else $as_nop
16473 ac_check_soname_save_LIBS=$LIBS
16474 LIBS="-lv4l2 $LIBS"
16475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16478 /* Override any GCC internal prototype to avoid an error.
16479 Use char because int might match the return type of a GCC
16480 builtin and then its argument prototype would still apply. */
16481 char v4l2_open ();
16483 main (void)
16485 return v4l2_open ();
16487 return 0;
16489 _ACEOF
16490 if ac_fn_c_try_link "$LINENO"
16491 then :
16492 case "$LIBEXT" in
16493 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16494 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'` ;;
16495 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16496 if ${ac_cv_lib_soname_v4l2:+false} :
16497 then :
16498 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16499 fi ;;
16500 esac
16501 else $as_nop
16502 ac_cv_lib_soname_v4l2=
16504 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16505 conftest$ac_exeext conftest.$ac_ext
16506 LIBS=$ac_check_soname_save_LIBS
16508 if ${ac_cv_lib_soname_v4l2:+false} :
16509 then :
16510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16511 printf "%s\n" "not found" >&6; }
16513 else $as_nop
16514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16515 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16517 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16522 if test "x$ac_cv_lib_soname_v4l2" = "x"
16523 then :
16524 case "x$with_v4l2" in
16525 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16526 xno) ;;
16527 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16528 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16529 esac
16533 if test "x$with_gphoto" != "xno"
16534 then
16535 rm -f conftest.err
16536 if ${GPHOTO2_CFLAGS:+false} :
16537 then :
16538 if test ${PKG_CONFIG+y}
16539 then :
16540 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16543 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16544 if ${GPHOTO2_LIBS:+false} :
16545 then :
16546 if test ${PKG_CONFIG+y}
16547 then :
16548 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16551 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16552 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16555 if test -s conftest.err; then
16556 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16557 cat conftest.err >&5
16559 rm -f conftest.err
16560 ac_save_CPPFLAGS=$CPPFLAGS
16561 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16562 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16563 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16564 then :
16565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16566 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16567 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16568 then :
16569 printf %s "(cached) " >&6
16570 else $as_nop
16571 ac_check_lib_save_LIBS=$LIBS
16572 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h. */
16576 /* Override any GCC internal prototype to avoid an error.
16577 Use char because int might match the return type of a GCC
16578 builtin and then its argument prototype would still apply. */
16579 char gp_camera_new ();
16581 main (void)
16583 return gp_camera_new ();
16585 return 0;
16587 _ACEOF
16588 if ac_fn_c_try_link "$LINENO"
16589 then :
16590 ac_cv_lib_gphoto2_gp_camera_new=yes
16591 else $as_nop
16592 ac_cv_lib_gphoto2_gp_camera_new=no
16594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16595 conftest$ac_exeext conftest.$ac_ext
16596 LIBS=$ac_check_lib_save_LIBS
16598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16599 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16600 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16601 then :
16607 CPPFLAGS=$ac_save_CPPFLAGS
16609 rm -f conftest.err
16610 if ${GPHOTO2_PORT_CFLAGS:+false} :
16611 then :
16612 if test ${PKG_CONFIG+y}
16613 then :
16614 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16617 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16618 if ${GPHOTO2_PORT_LIBS:+false} :
16619 then :
16620 if test ${PKG_CONFIG+y}
16621 then :
16622 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16625 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16626 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16629 if test -s conftest.err; then
16630 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16631 cat conftest.err >&5
16633 rm -f conftest.err
16634 ac_save_CPPFLAGS=$CPPFLAGS
16635 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16636 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16637 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16638 then :
16639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16640 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16641 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16642 then :
16643 printf %s "(cached) " >&6
16644 else $as_nop
16645 ac_check_lib_save_LIBS=$LIBS
16646 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16648 /* end confdefs.h. */
16650 /* Override any GCC internal prototype to avoid an error.
16651 Use char because int might match the return type of a GCC
16652 builtin and then its argument prototype would still apply. */
16653 char gp_port_info_list_new ();
16655 main (void)
16657 return gp_port_info_list_new ();
16659 return 0;
16661 _ACEOF
16662 if ac_fn_c_try_link "$LINENO"
16663 then :
16664 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16665 else $as_nop
16666 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16669 conftest$ac_exeext conftest.$ac_ext
16670 LIBS=$ac_check_lib_save_LIBS
16672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16673 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16674 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16675 then :
16677 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16679 else $as_nop
16680 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16683 else $as_nop
16684 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16687 CPPFLAGS=$ac_save_CPPFLAGS
16690 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16691 then :
16692 case "x$with_gphoto" in
16693 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16694 xno) ;;
16695 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16696 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16697 esac
16698 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16700 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16701 then :
16702 case "x$with_gphoto" in
16703 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16704 xno) ;;
16705 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16706 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16707 esac
16712 if test "$ac_cv_header_resolv_h" = "yes"
16713 then
16714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16715 printf %s "checking for resolver library... " >&6; }
16716 if test ${ac_cv_have_resolv+y}
16717 then :
16718 printf %s "(cached) " >&6
16719 else $as_nop
16720 ac_save_LIBS="$LIBS"
16721 for lib in '' -lresolv
16723 LIBS="$lib $ac_save_LIBS"
16724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16726 #ifdef HAVE_NETINET_IN_H
16727 #include <netinet/in.h>
16728 #endif
16729 #include <resolv.h>
16731 main (void)
16733 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16735 return 0;
16737 _ACEOF
16738 if ac_fn_c_try_link "$LINENO"
16739 then :
16740 ac_cv_have_resolv=${lib:-"none required"}
16741 else $as_nop
16742 ac_cv_have_resolv="not found"
16744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16745 conftest$ac_exeext conftest.$ac_ext
16746 test "x$ac_cv_have_resolv" = "xnot found" || break
16747 done
16748 LIBS="$ac_save_LIBS"
16750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16751 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16753 case "$ac_cv_have_resolv" in
16754 "not found") ;;
16755 "none required")
16757 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16760 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16762 RESOLV_LIBS=$ac_cv_have_resolv
16764 esac
16766 if test "x$ac_cv_have_resolv" != "xnot found"
16767 then
16768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16769 printf %s "checking for res_getservers... " >&6; }
16770 if test ${ac_cv_have_res_getservers+y}
16771 then :
16772 printf %s "(cached) " >&6
16773 else $as_nop
16774 ac_save_LIBS="$LIBS"
16775 LIBS="$RESOLV_LIBS $LIBS"
16776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16778 #include <resolv.h>
16780 main (void)
16782 res_getservers(NULL, NULL, 0);
16784 return 0;
16786 _ACEOF
16787 if ac_fn_c_try_link "$LINENO"
16788 then :
16789 ac_cv_have_res_getservers=yes
16790 else $as_nop
16791 ac_cv_have_res_getservers=no
16793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16794 conftest$ac_exeext conftest.$ac_ext
16795 LIBS="$ac_save_LIBS"
16797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16798 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16799 if test "$ac_cv_have_res_getservers" = "yes"
16800 then
16802 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16808 if test "x$with_freetype" != "xno"
16809 then
16810 rm -f conftest.err
16811 if ${FREETYPE_CFLAGS:+false} :
16812 then :
16813 if test ${PKG_CONFIG+y}
16814 then :
16815 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16818 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16819 if ${FREETYPE_LIBS:+false} :
16820 then :
16821 if test ${PKG_CONFIG+y}
16822 then :
16823 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16826 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16827 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16828 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16830 if test -s conftest.err; then
16831 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16832 cat conftest.err >&5
16834 rm -f conftest.err
16835 ac_save_CPPFLAGS=$CPPFLAGS
16836 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16837 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16838 if test "x$ac_cv_header_ft2build_h" = xyes
16839 then :
16840 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16844 if test "$ac_cv_header_ft2build_h" = "yes"
16845 then
16846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16847 printf %s "checking for -lfreetype... " >&6; }
16848 if test ${ac_cv_lib_soname_freetype+y}
16849 then :
16850 printf %s "(cached) " >&6
16851 else $as_nop
16852 ac_check_soname_save_LIBS=$LIBS
16853 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16857 /* Override any GCC internal prototype to avoid an error.
16858 Use char because int might match the return type of a GCC
16859 builtin and then its argument prototype would still apply. */
16860 char FT_Init_FreeType ();
16862 main (void)
16864 return FT_Init_FreeType ();
16866 return 0;
16868 _ACEOF
16869 if ac_fn_c_try_link "$LINENO"
16870 then :
16871 case "$LIBEXT" in
16872 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16873 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'` ;;
16874 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16875 if ${ac_cv_lib_soname_freetype:+false} :
16876 then :
16877 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16878 fi ;;
16879 esac
16880 else $as_nop
16881 ac_cv_lib_soname_freetype=
16883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16884 conftest$ac_exeext conftest.$ac_ext
16885 LIBS=$ac_check_soname_save_LIBS
16887 if ${ac_cv_lib_soname_freetype:+false} :
16888 then :
16889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16890 printf "%s\n" "not found" >&6; }
16891 FREETYPE_LIBS=""
16892 else $as_nop
16893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16894 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16896 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16899 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16901 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16902 #include FT_MODULE_H
16904 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16905 then :
16907 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16913 else
16914 FREETYPE_CFLAGS=""
16915 FREETYPE_LIBS=""
16917 CPPFLAGS=$ac_save_CPPFLAGS
16920 if test "x$ac_cv_lib_soname_freetype" = x
16921 then :
16922 case "x$with_freetype" in
16923 xno) ;;
16924 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16925 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16926 esac
16927 enable_fonts=${enable_fonts:-no}
16930 ac_wine_check_funcs_save_LIBS="$LIBS"
16931 LIBS="$LIBS $PTHREAD_LIBS"
16932 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16933 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16934 then :
16935 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16939 LIBS="$ac_wine_check_funcs_save_LIBS"
16941 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16942 then
16943 if test "$ac_cv_header_gettext_po_h" = "yes"
16944 then
16945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16946 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16947 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16948 then :
16949 printf %s "(cached) " >&6
16950 else $as_nop
16951 ac_check_lib_save_LIBS=$LIBS
16952 LIBS="-lgettextpo $LIBS"
16953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16956 /* Override any GCC internal prototype to avoid an error.
16957 Use char because int might match the return type of a GCC
16958 builtin and then its argument prototype would still apply. */
16959 char po_message_msgctxt ();
16961 main (void)
16963 return po_message_msgctxt ();
16965 return 0;
16967 _ACEOF
16968 if ac_fn_c_try_link "$LINENO"
16969 then :
16970 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16971 else $as_nop
16972 ac_cv_lib_gettextpo_po_message_msgctxt=no
16974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16975 conftest$ac_exeext conftest.$ac_ext
16976 LIBS=$ac_check_lib_save_LIBS
16978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16979 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16980 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16981 then :
16983 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16985 GETTEXTPO_LIBS="-lgettextpo"
16990 if test "x$GETTEXTPO_LIBS" = "x"
16991 then :
16992 case "x$with_gettextpo" in
16993 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16994 xno) ;;
16995 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16996 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16997 esac
17000 if test "$srcdir" != .
17001 then :
17002 case "x$with_gettextpo" in
17003 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17004 xno) ;;
17005 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17006 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17007 esac
17012 if test "x$with_pulse" != "xno";
17013 then
17014 rm -f conftest.err
17015 if ${PULSE_CFLAGS:+false} :
17016 then :
17017 if test ${PKG_CONFIG+y}
17018 then :
17019 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17023 if ${PULSE_LIBS:+false} :
17024 then :
17025 if test ${PKG_CONFIG+y}
17026 then :
17027 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17034 if test -s conftest.err; then
17035 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17036 cat conftest.err >&5
17038 rm -f conftest.err
17039 ac_save_CPPFLAGS=$CPPFLAGS
17040 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17041 for ac_header in pulse/pulseaudio.h
17042 do :
17043 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17044 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17045 then :
17046 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17048 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17049 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17050 then :
17051 printf %s "(cached) " >&6
17052 else $as_nop
17053 ac_check_lib_save_LIBS=$LIBS
17054 LIBS="-lpulse $PULSE_LIBS $LIBS"
17055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17058 /* Override any GCC internal prototype to avoid an error.
17059 Use char because int might match the return type of a GCC
17060 builtin and then its argument prototype would still apply. */
17061 char pa_stream_is_corked ();
17063 main (void)
17065 return pa_stream_is_corked ();
17067 return 0;
17069 _ACEOF
17070 if ac_fn_c_try_link "$LINENO"
17071 then :
17072 ac_cv_lib_pulse_pa_stream_is_corked=yes
17073 else $as_nop
17074 ac_cv_lib_pulse_pa_stream_is_corked=no
17076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17077 conftest$ac_exeext conftest.$ac_ext
17078 LIBS=$ac_check_lib_save_LIBS
17080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17081 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17082 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17083 then :
17085 else $as_nop
17086 PULSE_LIBS=""
17089 else $as_nop
17090 PULSE_LIBS=""
17093 done
17094 CPPFLAGS=$ac_save_CPPFLAGS
17097 if test -z "$PULSE_LIBS"
17098 then :
17099 case "x$with_pulse" in
17100 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17101 xno) ;;
17102 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17103 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17104 esac
17105 enable_winepulse_drv=${enable_winepulse_drv:-no}
17108 if test "x$with_gstreamer" != "xno"
17109 then
17110 rm -f conftest.err
17111 if ${GSTREAMER_CFLAGS:+false} :
17112 then :
17113 if test ${PKG_CONFIG+y}
17114 then :
17115 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17119 if ${GSTREAMER_LIBS:+false} :
17120 then :
17121 if test ${PKG_CONFIG+y}
17122 then :
17123 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17128 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
17129 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
17130 if test -s conftest.err; then
17131 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17132 cat conftest.err >&5
17134 rm -f conftest.err
17135 ac_save_CPPFLAGS=$CPPFLAGS
17136 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17137 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17138 if test "x$ac_cv_header_gst_gst_h" = xyes
17139 then :
17140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17141 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17143 /* end confdefs.h. */
17144 #include <gst/gst.h>
17146 main (void)
17148 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17150 return 0;
17152 _ACEOF
17153 if ac_fn_c_try_compile "$LINENO"
17154 then :
17155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17156 printf "%s\n" "yes" >&6; }
17157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17158 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17159 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17160 then :
17161 printf %s "(cached) " >&6
17162 else $as_nop
17163 ac_check_lib_save_LIBS=$LIBS
17164 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17166 /* end confdefs.h. */
17168 /* Override any GCC internal prototype to avoid an error.
17169 Use char because int might match the return type of a GCC
17170 builtin and then its argument prototype would still apply. */
17171 char gst_pad_new ();
17173 main (void)
17175 return gst_pad_new ();
17177 return 0;
17179 _ACEOF
17180 if ac_fn_c_try_link "$LINENO"
17181 then :
17182 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17183 else $as_nop
17184 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17187 conftest$ac_exeext conftest.$ac_ext
17188 LIBS=$ac_check_lib_save_LIBS
17190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17191 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17192 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17193 then :
17197 else $as_nop
17198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17199 printf "%s\n" "no" >&6; }
17200 ac_glib2_broken=yes
17201 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17206 CPPFLAGS=$ac_save_CPPFLAGS
17209 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17210 then :
17211 case "x$with_gstreamer" in
17212 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17213 xno) ;;
17214 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17215 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17216 esac
17217 enable_winegstreamer=${enable_winegstreamer:-no}
17220 ALSA_LIBS=""
17222 if test "x$with_alsa" != "xno"
17223 then
17224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17225 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17226 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17227 then :
17228 printf %s "(cached) " >&6
17229 else $as_nop
17230 ac_check_lib_save_LIBS=$LIBS
17231 LIBS="-lasound $LIBS"
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17235 /* Override any GCC internal prototype to avoid an error.
17236 Use char because int might match the return type of a GCC
17237 builtin and then its argument prototype would still apply. */
17238 char snd_pcm_hw_params_get_access_mask ();
17240 main (void)
17242 return snd_pcm_hw_params_get_access_mask ();
17244 return 0;
17246 _ACEOF
17247 if ac_fn_c_try_link "$LINENO"
17248 then :
17249 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17250 else $as_nop
17251 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17254 conftest$ac_exeext conftest.$ac_ext
17255 LIBS=$ac_check_lib_save_LIBS
17257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17258 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17259 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17260 then :
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17263 #include <alsa/asoundlib.h>
17265 main (void)
17267 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17269 return 0;
17271 _ACEOF
17272 if ac_fn_c_try_compile "$LINENO"
17273 then :
17274 ALSA_LIBS="-lasound"
17276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17280 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17282 if test "x$with_oss" != xno
17283 then
17284 ac_save_CPPFLAGS="$CPPFLAGS"
17285 if test -f /etc/oss.conf
17286 then
17287 . /etc/oss.conf
17289 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17290 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17291 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17292 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17293 then :
17294 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17296 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17297 then :
17299 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17301 OSS4_CFLAGS="$ac_oss_incl"
17303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17304 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17305 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17306 then :
17307 printf %s "(cached) " >&6
17308 else $as_nop
17309 ac_check_lib_save_LIBS=$LIBS
17310 LIBS="-lossaudio $LIBS"
17311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17314 /* Override any GCC internal prototype to avoid an error.
17315 Use char because int might match the return type of a GCC
17316 builtin and then its argument prototype would still apply. */
17317 char _oss_ioctl ();
17319 main (void)
17321 return _oss_ioctl ();
17323 return 0;
17325 _ACEOF
17326 if ac_fn_c_try_link "$LINENO"
17327 then :
17328 ac_cv_lib_ossaudio__oss_ioctl=yes
17329 else $as_nop
17330 ac_cv_lib_ossaudio__oss_ioctl=no
17332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17333 conftest$ac_exeext conftest.$ac_ext
17334 LIBS=$ac_check_lib_save_LIBS
17336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17337 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17338 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17339 then :
17340 OSS4_LIBS="-lossaudio"
17348 CPPFLAGS="$ac_save_CPPFLAGS"
17350 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17351 then :
17352 case "x$with_oss" in
17353 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17354 xno) ;;
17355 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17356 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17357 esac
17358 enable_wineoss_drv=${enable_wineoss_drv:-no}
17361 if test "x$with_udev" != "xno"
17362 then
17363 rm -f conftest.err
17364 if ${UDEV_CFLAGS:+false} :
17365 then :
17366 if test ${PKG_CONFIG+y}
17367 then :
17368 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17372 if ${UDEV_LIBS:+false} :
17373 then :
17374 if test ${PKG_CONFIG+y}
17375 then :
17376 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17380 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17383 if test -s conftest.err; then
17384 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17385 cat conftest.err >&5
17387 rm -f conftest.err
17388 ac_save_CPPFLAGS=$CPPFLAGS
17389 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17390 for ac_header in libudev.h
17391 do :
17392 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17393 if test "x$ac_cv_header_libudev_h" = xyes
17394 then :
17395 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17397 printf %s "checking for udev_new in -ludev... " >&6; }
17398 if test ${ac_cv_lib_udev_udev_new+y}
17399 then :
17400 printf %s "(cached) " >&6
17401 else $as_nop
17402 ac_check_lib_save_LIBS=$LIBS
17403 LIBS="-ludev $UDEV_LIBS $LIBS"
17404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17405 /* end confdefs.h. */
17407 /* Override any GCC internal prototype to avoid an error.
17408 Use char because int might match the return type of a GCC
17409 builtin and then its argument prototype would still apply. */
17410 char udev_new ();
17412 main (void)
17414 return udev_new ();
17416 return 0;
17418 _ACEOF
17419 if ac_fn_c_try_link "$LINENO"
17420 then :
17421 ac_cv_lib_udev_udev_new=yes
17422 else $as_nop
17423 ac_cv_lib_udev_udev_new=no
17425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17426 conftest$ac_exeext conftest.$ac_ext
17427 LIBS=$ac_check_lib_save_LIBS
17429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17430 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17431 if test "x$ac_cv_lib_udev_udev_new" = xyes
17432 then :
17434 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17436 else $as_nop
17437 UDEV_LIBS=""
17440 else $as_nop
17441 UDEV_LIBS=""
17444 done
17445 CPPFLAGS=$ac_save_CPPFLAGS
17448 if test "x$UDEV_LIBS" = "x"
17449 then :
17450 case "x$with_udev" in
17451 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17452 xno) ;;
17453 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17454 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17455 esac
17459 if test "x$with_unwind" != xno
17460 then
17461 rm -f conftest.err
17462 if ${UNWIND_CFLAGS:+false} :
17463 then :
17464 if test ${PKG_CONFIG+y}
17465 then :
17466 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17470 if ${UNWIND_LIBS:+false} :
17471 then :
17472 if test ${PKG_CONFIG+y}
17473 then :
17474 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17478 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17481 if test -s conftest.err; then
17482 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17483 cat conftest.err >&5
17485 rm -f conftest.err
17486 ac_save_CPPFLAGS=$CPPFLAGS
17487 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17489 printf %s "checking for unw_step... " >&6; }
17490 if test ${wine_cv_have_unw_step+y}
17491 then :
17492 printf %s "(cached) " >&6
17493 else $as_nop
17494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17496 #define UNW_LOCAL_ONLY
17497 #include <libunwind.h>
17499 main (void)
17501 unw_cursor_t cursor; unw_step( &cursor );
17503 return 0;
17505 _ACEOF
17506 if ac_fn_c_try_link "$LINENO"
17507 then :
17508 wine_cv_have_unw_step="yes"
17509 else $as_nop
17510 wine_cv_have_unw_step="no"
17512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17513 conftest$ac_exeext conftest.$ac_ext
17515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17516 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17517 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17518 then
17519 save_libs=$LIBS
17520 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17521 LIBS="$UNWIND_LIBS $LIBS"
17522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17523 printf %s "checking for unw_step in libunwind... " >&6; }
17524 if test ${wine_cv_have_libunwind_unw_step+y}
17525 then :
17526 printf %s "(cached) " >&6
17527 else $as_nop
17528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17529 /* end confdefs.h. */
17530 #define UNW_LOCAL_ONLY
17531 #include <libunwind.h>
17533 main (void)
17535 unw_cursor_t cursor; unw_step( &cursor );
17537 return 0;
17539 _ACEOF
17540 if ac_fn_c_try_link "$LINENO"
17541 then :
17542 wine_cv_have_libunwind_unw_step="yes"
17543 else $as_nop
17544 wine_cv_have_libunwind_unw_step="no"
17546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17547 conftest$ac_exeext conftest.$ac_ext
17549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17550 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17551 LIBS=$save_libs
17553 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17554 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17555 then
17557 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17560 CPPFLAGS=$ac_save_CPPFLAGS
17563 case $host in
17564 aarch64*|*-darwin*)
17565 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17566 then :
17567 case "x$with_unwind" in
17568 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17569 xno) ;;
17570 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17571 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17572 esac
17574 fi ;;
17575 esac
17577 if test "x$with_sdl" != "xno"
17578 then
17579 rm -f conftest.err
17580 if ${SDL2_CFLAGS:+false} :
17581 then :
17582 if test ${PKG_CONFIG+y}
17583 then :
17584 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17588 if ${SDL2_LIBS:+false} :
17589 then :
17590 if test ${PKG_CONFIG+y}
17591 then :
17592 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17596 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17599 if test -s conftest.err; then
17600 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17601 cat conftest.err >&5
17603 rm -f conftest.err
17604 ac_save_CPPFLAGS=$CPPFLAGS
17605 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17606 for ac_header in SDL.h
17607 do :
17608 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17609 if test "x$ac_cv_header_SDL_h" = xyes
17610 then :
17611 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17613 printf %s "checking for -lSDL2... " >&6; }
17614 if test ${ac_cv_lib_soname_SDL2+y}
17615 then :
17616 printf %s "(cached) " >&6
17617 else $as_nop
17618 ac_check_soname_save_LIBS=$LIBS
17619 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17623 /* Override any GCC internal prototype to avoid an error.
17624 Use char because int might match the return type of a GCC
17625 builtin and then its argument prototype would still apply. */
17626 char SDL_Init ();
17628 main (void)
17630 return SDL_Init ();
17632 return 0;
17634 _ACEOF
17635 if ac_fn_c_try_link "$LINENO"
17636 then :
17637 case "$LIBEXT" in
17638 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17639 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'` ;;
17640 *) 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'`
17641 if ${ac_cv_lib_soname_SDL2:+false} :
17642 then :
17643 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17644 fi ;;
17645 esac
17646 else $as_nop
17647 ac_cv_lib_soname_SDL2=
17649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17650 conftest$ac_exeext conftest.$ac_ext
17651 LIBS=$ac_check_soname_save_LIBS
17653 if ${ac_cv_lib_soname_SDL2:+false} :
17654 then :
17655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17656 printf "%s\n" "not found" >&6; }
17658 else $as_nop
17659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17660 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17662 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17668 done
17669 CPPFLAGS=$ac_save_CPPFLAGS
17672 if test "x$ac_cv_lib_soname_SDL2" = "x"
17673 then :
17674 case "x$with_sdl" in
17675 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17676 xno) ;;
17677 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17678 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17679 esac
17683 if test "x$with_capi" != "xno"
17684 then
17685 rm -f conftest.err
17686 if ${CAPI20_CFLAGS:+false} :
17687 then :
17688 if test ${PKG_CONFIG+y}
17689 then :
17690 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17694 if ${CAPI20_LIBS:+false} :
17695 then :
17696 if test ${PKG_CONFIG+y}
17697 then :
17698 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17705 if test -s conftest.err; then
17706 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17707 cat conftest.err >&5
17709 rm -f conftest.err
17710 ac_save_CPPFLAGS=$CPPFLAGS
17711 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17712 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17714 if test "x$ac_cv_header_capi20_h" = xyes
17715 then :
17716 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17719 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17721 if test "x$ac_cv_header_linux_capi_h" = xyes
17722 then :
17723 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17727 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17728 then
17729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17730 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17731 if test ${ac_cv_lib_capi20_capi20_register+y}
17732 then :
17733 printf %s "(cached) " >&6
17734 else $as_nop
17735 ac_check_lib_save_LIBS=$LIBS
17736 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17738 /* end confdefs.h. */
17740 /* Override any GCC internal prototype to avoid an error.
17741 Use char because int might match the return type of a GCC
17742 builtin and then its argument prototype would still apply. */
17743 char capi20_register ();
17745 main (void)
17747 return capi20_register ();
17749 return 0;
17751 _ACEOF
17752 if ac_fn_c_try_link "$LINENO"
17753 then :
17754 ac_cv_lib_capi20_capi20_register=yes
17755 else $as_nop
17756 ac_cv_lib_capi20_capi20_register=no
17758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17759 conftest$ac_exeext conftest.$ac_ext
17760 LIBS=$ac_check_lib_save_LIBS
17762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17763 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17764 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17765 then :
17767 else $as_nop
17768 CAPI20_LIBS=""
17772 CPPFLAGS=$ac_save_CPPFLAGS
17775 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17776 then :
17777 case "x$with_capi" in
17778 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17779 xno) ;;
17780 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17781 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17782 esac
17783 enable_capi2032=${enable_capi2032:-no}
17786 if test "x$with_cups" != "xno"
17787 then
17788 rm -f conftest.err
17789 if ${CUPS_CFLAGS:+false} :
17790 then :
17791 if test ${PKG_CONFIG+y}
17792 then :
17793 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17796 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17797 if ${CUPS_LIBS:+false} :
17798 then :
17799 if test ${PKG_CONFIG+y}
17800 then :
17801 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17804 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17805 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17808 if test -s conftest.err; then
17809 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17810 cat conftest.err >&5
17812 rm -f conftest.err
17813 ac_save_CPPFLAGS=$CPPFLAGS
17814 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17815 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17816 if test "x$ac_cv_header_cups_cups_h" = xyes
17817 then :
17818 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17821 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17822 if test "x$ac_cv_header_cups_ppd_h" = xyes
17823 then :
17824 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17828 if test "$ac_cv_header_cups_cups_h" = "yes"
17829 then
17830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17831 printf %s "checking for -lcups... " >&6; }
17832 if test ${ac_cv_lib_soname_cups+y}
17833 then :
17834 printf %s "(cached) " >&6
17835 else $as_nop
17836 ac_check_soname_save_LIBS=$LIBS
17837 LIBS="-lcups $CUPS_LIBS $LIBS"
17838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17839 /* end confdefs.h. */
17841 /* Override any GCC internal prototype to avoid an error.
17842 Use char because int might match the return type of a GCC
17843 builtin and then its argument prototype would still apply. */
17844 char cupsGetDefault ();
17846 main (void)
17848 return cupsGetDefault ();
17850 return 0;
17852 _ACEOF
17853 if ac_fn_c_try_link "$LINENO"
17854 then :
17855 case "$LIBEXT" in
17856 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17857 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'` ;;
17858 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17859 if ${ac_cv_lib_soname_cups:+false} :
17860 then :
17861 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17862 fi ;;
17863 esac
17864 else $as_nop
17865 ac_cv_lib_soname_cups=
17867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17868 conftest$ac_exeext conftest.$ac_ext
17869 LIBS=$ac_check_soname_save_LIBS
17871 if ${ac_cv_lib_soname_cups:+false} :
17872 then :
17873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17874 printf "%s\n" "not found" >&6; }
17875 CUPS_LIBS=""
17876 else $as_nop
17877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17878 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17880 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17884 else
17885 CUPS_CFLAGS=""
17886 CUPS_LIBS=""
17888 CPPFLAGS=$ac_save_CPPFLAGS
17891 if test "x$ac_cv_lib_soname_cups" = "x"
17892 then :
17893 case "x$with_cups" in
17894 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17895 xno) ;;
17896 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17897 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17898 esac
17902 if test "x$with_fontconfig" != "xno"
17903 then
17904 rm -f conftest.err
17905 if ${FONTCONFIG_CFLAGS:+false} :
17906 then :
17907 if test ${PKG_CONFIG+y}
17908 then :
17909 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17912 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17913 if ${FONTCONFIG_LIBS:+false} :
17914 then :
17915 if test ${PKG_CONFIG+y}
17916 then :
17917 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17920 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17923 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17924 if test -s conftest.err; then
17925 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17926 cat conftest.err >&5
17928 rm -f conftest.err
17929 ac_save_CPPFLAGS=$CPPFLAGS
17930 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17931 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17932 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17933 then :
17934 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17938 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17939 then
17940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17941 printf %s "checking for -lfontconfig... " >&6; }
17942 if test ${ac_cv_lib_soname_fontconfig+y}
17943 then :
17944 printf %s "(cached) " >&6
17945 else $as_nop
17946 ac_check_soname_save_LIBS=$LIBS
17947 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17949 /* end confdefs.h. */
17951 /* Override any GCC internal prototype to avoid an error.
17952 Use char because int might match the return type of a GCC
17953 builtin and then its argument prototype would still apply. */
17954 char FcInit ();
17956 main (void)
17958 return FcInit ();
17960 return 0;
17962 _ACEOF
17963 if ac_fn_c_try_link "$LINENO"
17964 then :
17965 case "$LIBEXT" in
17966 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17967 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'` ;;
17968 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17969 if ${ac_cv_lib_soname_fontconfig:+false} :
17970 then :
17971 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17972 fi ;;
17973 esac
17974 else $as_nop
17975 ac_cv_lib_soname_fontconfig=
17977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17978 conftest$ac_exeext conftest.$ac_ext
17979 LIBS=$ac_check_soname_save_LIBS
17981 if ${ac_cv_lib_soname_fontconfig:+false} :
17982 then :
17983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17984 printf "%s\n" "not found" >&6; }
17985 FONTCONFIG_CFLAGS=""
17986 else $as_nop
17987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17988 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17990 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17994 else
17995 FONTCONFIG_CFLAGS=""
17997 CPPFLAGS=$ac_save_CPPFLAGS
18000 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18001 then :
18002 case "x$with_fontconfig" in
18003 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18004 xno) ;;
18005 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18006 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18007 esac
18011 if test "x$with_krb5" != "xno"
18012 then
18013 rm -f conftest.err
18014 if ${KRB5_CFLAGS:+false} :
18015 then :
18016 if test ${PKG_CONFIG+y}
18017 then :
18018 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18021 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18022 if ${KRB5_LIBS:+false} :
18023 then :
18024 if test ${PKG_CONFIG+y}
18025 then :
18026 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18029 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18033 if test -s conftest.err; then
18034 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18035 cat conftest.err >&5
18037 rm -f conftest.err
18038 ac_save_CPPFLAGS=$CPPFLAGS
18039 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18040 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18041 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18042 then :
18043 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18047 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18048 then
18049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18050 printf %s "checking for -lkrb5... " >&6; }
18051 if test ${ac_cv_lib_soname_krb5+y}
18052 then :
18053 printf %s "(cached) " >&6
18054 else $as_nop
18055 ac_check_soname_save_LIBS=$LIBS
18056 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18058 /* end confdefs.h. */
18060 /* Override any GCC internal prototype to avoid an error.
18061 Use char because int might match the return type of a GCC
18062 builtin and then its argument prototype would still apply. */
18063 char krb5_is_config_principal ();
18065 main (void)
18067 return krb5_is_config_principal ();
18069 return 0;
18071 _ACEOF
18072 if ac_fn_c_try_link "$LINENO"
18073 then :
18074 case "$LIBEXT" in
18075 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18076 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'` ;;
18077 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18078 if ${ac_cv_lib_soname_krb5:+false} :
18079 then :
18080 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18081 fi ;;
18082 esac
18083 else $as_nop
18084 ac_cv_lib_soname_krb5=
18086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18087 conftest$ac_exeext conftest.$ac_ext
18088 LIBS=$ac_check_soname_save_LIBS
18090 if ${ac_cv_lib_soname_krb5:+false} :
18091 then :
18092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18093 printf "%s\n" "not found" >&6; }
18094 KRB5_CFLAGS=""
18095 else $as_nop
18096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18097 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18099 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18103 else
18104 KRB5_CFLAGS=""
18106 CPPFLAGS=$ac_save_CPPFLAGS
18109 if test "x$ac_cv_lib_soname_krb5" = "x"
18110 then :
18111 case "x$with_krb5" in
18112 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18113 xno) ;;
18114 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18115 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18116 esac
18119 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18121 if test "x$with_gssapi" != "xno"
18122 then
18123 rm -f conftest.err
18124 if ${GSSAPI_CFLAGS:+false} :
18125 then :
18126 if test ${PKG_CONFIG+y}
18127 then :
18128 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18131 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18132 if ${GSSAPI_LIBS:+false} :
18133 then :
18134 if test ${PKG_CONFIG+y}
18135 then :
18136 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18139 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18143 if test -s conftest.err; then
18144 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18145 cat conftest.err >&5
18147 rm -f conftest.err
18148 ac_save_CPPFLAGS=$CPPFLAGS
18149 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18150 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18151 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18152 then :
18153 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18156 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18157 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18158 then :
18159 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18163 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18164 then
18165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18166 printf %s "checking for -lgssapi_krb5... " >&6; }
18167 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18168 then :
18169 printf %s "(cached) " >&6
18170 else $as_nop
18171 ac_check_soname_save_LIBS=$LIBS
18172 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18176 /* Override any GCC internal prototype to avoid an error.
18177 Use char because int might match the return type of a GCC
18178 builtin and then its argument prototype would still apply. */
18179 char gss_init_sec_context ();
18181 main (void)
18183 return gss_init_sec_context ();
18185 return 0;
18187 _ACEOF
18188 if ac_fn_c_try_link "$LINENO"
18189 then :
18190 case "$LIBEXT" in
18191 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18192 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'` ;;
18193 *) 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'`
18194 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18195 then :
18196 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18197 fi ;;
18198 esac
18199 else $as_nop
18200 ac_cv_lib_soname_gssapi_krb5=
18202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18203 conftest$ac_exeext conftest.$ac_ext
18204 LIBS=$ac_check_soname_save_LIBS
18206 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18207 then :
18208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18209 printf "%s\n" "not found" >&6; }
18210 GSSAPI_CFLAGS=""
18211 else $as_nop
18212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18213 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18215 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18219 else
18220 GSSAPI_CFLAGS=""
18222 CPPFLAGS=$ac_save_CPPFLAGS
18225 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18226 then :
18227 case "x$with_gssapi" in
18228 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18229 xno) ;;
18230 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18231 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18232 esac
18236 if test "$ac_cv_header_libprocstat_h" = "yes"
18237 then
18238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18239 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18240 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18241 then :
18242 printf %s "(cached) " >&6
18243 else $as_nop
18244 ac_check_lib_save_LIBS=$LIBS
18245 LIBS="-lprocstat $LIBS"
18246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18247 /* end confdefs.h. */
18249 /* Override any GCC internal prototype to avoid an error.
18250 Use char because int might match the return type of a GCC
18251 builtin and then its argument prototype would still apply. */
18252 char procstat_open_sysctl ();
18254 main (void)
18256 return procstat_open_sysctl ();
18258 return 0;
18260 _ACEOF
18261 if ac_fn_c_try_link "$LINENO"
18262 then :
18263 ac_cv_lib_procstat_procstat_open_sysctl=yes
18264 else $as_nop
18265 ac_cv_lib_procstat_procstat_open_sysctl=no
18267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18268 conftest$ac_exeext conftest.$ac_ext
18269 LIBS=$ac_check_lib_save_LIBS
18271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18272 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18273 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18274 then :
18276 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18278 PROCSTAT_LIBS="-lprocstat"
18284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18285 printf %s "checking for -lodbc... " >&6; }
18286 if test ${ac_cv_lib_soname_odbc+y}
18287 then :
18288 printf %s "(cached) " >&6
18289 else $as_nop
18290 ac_check_soname_save_LIBS=$LIBS
18291 LIBS="-lodbc $LIBS"
18292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h. */
18295 /* Override any GCC internal prototype to avoid an error.
18296 Use char because int might match the return type of a GCC
18297 builtin and then its argument prototype would still apply. */
18298 char SQLConnect ();
18300 main (void)
18302 return SQLConnect ();
18304 return 0;
18306 _ACEOF
18307 if ac_fn_c_try_link "$LINENO"
18308 then :
18309 case "$LIBEXT" in
18310 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18311 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'` ;;
18312 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18313 if ${ac_cv_lib_soname_odbc:+false} :
18314 then :
18315 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18316 fi ;;
18317 esac
18318 else $as_nop
18319 ac_cv_lib_soname_odbc=
18321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18322 conftest$ac_exeext conftest.$ac_ext
18323 LIBS=$ac_check_soname_save_LIBS
18325 if ${ac_cv_lib_soname_odbc:+false} :
18326 then :
18327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18328 printf "%s\n" "not found" >&6; }
18329 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18331 else $as_nop
18332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18333 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18335 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18340 if test "x$with_netapi" != "xno"
18341 then
18342 rm -f conftest.err
18343 if ${NETAPI_CFLAGS:+false} :
18344 then :
18345 if test ${PKG_CONFIG+y}
18346 then :
18347 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18351 if ${NETAPI_LIBS:+false} :
18352 then :
18353 if test ${PKG_CONFIG+y}
18354 then :
18355 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18362 if test -s conftest.err; then
18363 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18364 cat conftest.err >&5
18366 rm -f conftest.err
18367 ac_save_CPPFLAGS=$CPPFLAGS
18368 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18370 printf %s "checking for -lnetapi... " >&6; }
18371 if test ${ac_cv_lib_soname_netapi+y}
18372 then :
18373 printf %s "(cached) " >&6
18374 else $as_nop
18375 ac_check_soname_save_LIBS=$LIBS
18376 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18378 /* end confdefs.h. */
18380 /* Override any GCC internal prototype to avoid an error.
18381 Use char because int might match the return type of a GCC
18382 builtin and then its argument prototype would still apply. */
18383 char libnetapi_init ();
18385 main (void)
18387 return libnetapi_init ();
18389 return 0;
18391 _ACEOF
18392 if ac_fn_c_try_link "$LINENO"
18393 then :
18394 case "$LIBEXT" in
18395 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18396 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'` ;;
18397 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18398 if ${ac_cv_lib_soname_netapi:+false} :
18399 then :
18400 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18401 fi ;;
18402 esac
18403 else $as_nop
18404 ac_cv_lib_soname_netapi=
18406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18407 conftest$ac_exeext conftest.$ac_ext
18408 LIBS=$ac_check_soname_save_LIBS
18410 if ${ac_cv_lib_soname_netapi:+false} :
18411 then :
18412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18413 printf "%s\n" "not found" >&6; }
18414 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18416 else $as_nop
18417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18418 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18420 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18424 CPPFLAGS=$ac_save_CPPFLAGS
18427 if test "x$ac_cv_lib_soname_netapi" = "x"
18428 then :
18429 case "x$with_netapi" in
18430 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18431 xno) ;;
18432 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18433 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18434 esac
18435 enable_netapi=${enable_netapi:-no}
18439 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18440 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18441 then
18442 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18445 if test "x$with_vulkan" != "xno"
18446 then
18447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18448 printf %s "checking for -lvulkan... " >&6; }
18449 if test ${ac_cv_lib_soname_vulkan+y}
18450 then :
18451 printf %s "(cached) " >&6
18452 else $as_nop
18453 ac_check_soname_save_LIBS=$LIBS
18454 LIBS="-lvulkan $LIBS"
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18458 /* Override any GCC internal prototype to avoid an error.
18459 Use char because int might match the return type of a GCC
18460 builtin and then its argument prototype would still apply. */
18461 char vkGetInstanceProcAddr ();
18463 main (void)
18465 return vkGetInstanceProcAddr ();
18467 return 0;
18469 _ACEOF
18470 if ac_fn_c_try_link "$LINENO"
18471 then :
18472 case "$LIBEXT" in
18473 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18474 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'` ;;
18475 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18476 if ${ac_cv_lib_soname_vulkan:+false} :
18477 then :
18478 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18479 fi ;;
18480 esac
18481 else $as_nop
18482 ac_cv_lib_soname_vulkan=
18484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18485 conftest$ac_exeext conftest.$ac_ext
18486 LIBS=$ac_check_soname_save_LIBS
18488 if ${ac_cv_lib_soname_vulkan:+false} :
18489 then :
18490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18491 printf "%s\n" "not found" >&6; }
18493 else $as_nop
18494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18495 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18497 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18501 if test "x$ac_cv_lib_soname_vulkan" = "x"
18502 then
18503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18504 printf %s "checking for -lMoltenVK... " >&6; }
18505 if test ${ac_cv_lib_soname_MoltenVK+y}
18506 then :
18507 printf %s "(cached) " >&6
18508 else $as_nop
18509 ac_check_soname_save_LIBS=$LIBS
18510 LIBS="-lMoltenVK $LIBS"
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18514 /* Override any GCC internal prototype to avoid an error.
18515 Use char because int might match the return type of a GCC
18516 builtin and then its argument prototype would still apply. */
18517 char vkGetInstanceProcAddr ();
18519 main (void)
18521 return vkGetInstanceProcAddr ();
18523 return 0;
18525 _ACEOF
18526 if ac_fn_c_try_link "$LINENO"
18527 then :
18528 case "$LIBEXT" in
18529 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18530 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'` ;;
18531 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18532 if ${ac_cv_lib_soname_MoltenVK:+false} :
18533 then :
18534 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18535 fi ;;
18536 esac
18537 else $as_nop
18538 ac_cv_lib_soname_MoltenVK=
18540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18541 conftest$ac_exeext conftest.$ac_ext
18542 LIBS=$ac_check_soname_save_LIBS
18544 if ${ac_cv_lib_soname_MoltenVK:+false} :
18545 then :
18546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18547 printf "%s\n" "not found" >&6; }
18549 else $as_nop
18550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18551 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18553 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18559 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18560 then :
18561 case "x$with_vulkan" in
18562 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18563 xno) ;;
18564 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18565 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18566 esac
18571 if test "x${GCC}" = "xyes"
18572 then
18573 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18575 saved_CFLAGS=$CFLAGS
18576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18577 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18578 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18579 then :
18580 printf %s "(cached) " >&6
18581 else $as_nop
18582 ac_wine_try_cflags_saved=$CFLAGS
18583 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18585 /* end confdefs.h. */
18586 int main(int argc, char **argv) { return 0; }
18587 _ACEOF
18588 if ac_fn_c_try_link "$LINENO"
18589 then :
18590 ac_cv_cflags__Werror_unknown_warning_option=yes
18591 else $as_nop
18592 ac_cv_cflags__Werror_unknown_warning_option=no
18594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18595 conftest$ac_exeext conftest.$ac_ext
18596 CFLAGS=$ac_wine_try_cflags_saved
18598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18599 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18600 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18601 then :
18602 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18605 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18606 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18607 then :
18608 printf %s "(cached) " >&6
18609 else $as_nop
18610 ac_wine_try_cflags_saved=$CFLAGS
18611 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18613 /* end confdefs.h. */
18614 int main(int argc, char **argv) { return 0; }
18615 _ACEOF
18616 if ac_fn_c_try_link "$LINENO"
18617 then :
18618 ac_cv_cflags__Werror_unused_command_line_argument=yes
18619 else $as_nop
18620 ac_cv_cflags__Werror_unused_command_line_argument=no
18622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18623 conftest$ac_exeext conftest.$ac_ext
18624 CFLAGS=$ac_wine_try_cflags_saved
18626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18627 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18628 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18629 then :
18630 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18633 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18634 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18635 then :
18636 printf %s "(cached) " >&6
18637 else $as_nop
18638 ac_wine_try_cflags_saved=$CFLAGS
18639 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18641 /* end confdefs.h. */
18642 int main(int argc, char **argv) { return 0; }
18643 _ACEOF
18644 if ac_fn_c_try_link "$LINENO"
18645 then :
18646 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18647 else $as_nop
18648 ac_cv_cflags__Werror_ignored_optimization_argument=no
18650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18651 conftest$ac_exeext conftest.$ac_ext
18652 CFLAGS=$ac_wine_try_cflags_saved
18654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18655 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18656 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18657 then :
18658 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18661 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18662 if test ${ac_cv_cflags__fcf_protection_none+y}
18663 then :
18664 printf %s "(cached) " >&6
18665 else $as_nop
18666 ac_wine_try_cflags_saved=$CFLAGS
18667 CFLAGS="$CFLAGS -fcf-protection=none"
18668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18669 /* end confdefs.h. */
18670 int main(int argc, char **argv) { return 0; }
18671 _ACEOF
18672 if ac_fn_c_try_link "$LINENO"
18673 then :
18674 ac_cv_cflags__fcf_protection_none=yes
18675 else $as_nop
18676 ac_cv_cflags__fcf_protection_none=no
18678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18679 conftest$ac_exeext conftest.$ac_ext
18680 CFLAGS=$ac_wine_try_cflags_saved
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18683 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18684 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18685 then :
18686 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18689 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18690 if test ${ac_cv_cflags__fno_stack_protector+y}
18691 then :
18692 printf %s "(cached) " >&6
18693 else $as_nop
18694 ac_wine_try_cflags_saved=$CFLAGS
18695 CFLAGS="$CFLAGS -fno-stack-protector"
18696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18697 /* end confdefs.h. */
18698 int main(int argc, char **argv) { return 0; }
18699 _ACEOF
18700 if ac_fn_c_try_link "$LINENO"
18701 then :
18702 ac_cv_cflags__fno_stack_protector=yes
18703 else $as_nop
18704 ac_cv_cflags__fno_stack_protector=no
18706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18707 conftest$ac_exeext conftest.$ac_ext
18708 CFLAGS=$ac_wine_try_cflags_saved
18710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18711 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18712 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18713 then :
18714 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18717 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18718 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18719 then :
18720 printf %s "(cached) " >&6
18721 else $as_nop
18722 ac_wine_try_cflags_saved=$CFLAGS
18723 CFLAGS="$CFLAGS -fno-strict-aliasing"
18724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18725 /* end confdefs.h. */
18726 int main(int argc, char **argv) { return 0; }
18727 _ACEOF
18728 if ac_fn_c_try_link "$LINENO"
18729 then :
18730 ac_cv_cflags__fno_strict_aliasing=yes
18731 else $as_nop
18732 ac_cv_cflags__fno_strict_aliasing=no
18734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18735 conftest$ac_exeext conftest.$ac_ext
18736 CFLAGS=$ac_wine_try_cflags_saved
18738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18739 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18740 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18741 then :
18742 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18745 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18746 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18747 then :
18748 printf %s "(cached) " >&6
18749 else $as_nop
18750 ac_wine_try_cflags_saved=$CFLAGS
18751 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18753 /* end confdefs.h. */
18754 int main(int argc, char **argv) { return 0; }
18755 _ACEOF
18756 if ac_fn_c_try_link "$LINENO"
18757 then :
18758 ac_cv_cflags__Wdeclaration_after_statement=yes
18759 else $as_nop
18760 ac_cv_cflags__Wdeclaration_after_statement=no
18762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18763 conftest$ac_exeext conftest.$ac_ext
18764 CFLAGS=$ac_wine_try_cflags_saved
18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18767 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18768 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18769 then :
18770 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18773 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18774 if test ${ac_cv_cflags__Wempty_body+y}
18775 then :
18776 printf %s "(cached) " >&6
18777 else $as_nop
18778 ac_wine_try_cflags_saved=$CFLAGS
18779 CFLAGS="$CFLAGS -Wempty-body"
18780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18781 /* end confdefs.h. */
18782 int main(int argc, char **argv) { return 0; }
18783 _ACEOF
18784 if ac_fn_c_try_link "$LINENO"
18785 then :
18786 ac_cv_cflags__Wempty_body=yes
18787 else $as_nop
18788 ac_cv_cflags__Wempty_body=no
18790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18791 conftest$ac_exeext conftest.$ac_ext
18792 CFLAGS=$ac_wine_try_cflags_saved
18794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18795 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18796 if test "x$ac_cv_cflags__Wempty_body" = xyes
18797 then :
18798 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18801 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18802 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18803 then :
18804 printf %s "(cached) " >&6
18805 else $as_nop
18806 ac_wine_try_cflags_saved=$CFLAGS
18807 CFLAGS="$CFLAGS -Wignored-qualifiers"
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18810 int main(int argc, char **argv) { return 0; }
18811 _ACEOF
18812 if ac_fn_c_try_link "$LINENO"
18813 then :
18814 ac_cv_cflags__Wignored_qualifiers=yes
18815 else $as_nop
18816 ac_cv_cflags__Wignored_qualifiers=no
18818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18819 conftest$ac_exeext conftest.$ac_ext
18820 CFLAGS=$ac_wine_try_cflags_saved
18822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18823 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18824 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18825 then :
18826 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18829 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18830 if test ${ac_cv_cflags__Winit_self+y}
18831 then :
18832 printf %s "(cached) " >&6
18833 else $as_nop
18834 ac_wine_try_cflags_saved=$CFLAGS
18835 CFLAGS="$CFLAGS -Winit-self"
18836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18838 int main(int argc, char **argv) { return 0; }
18839 _ACEOF
18840 if ac_fn_c_try_link "$LINENO"
18841 then :
18842 ac_cv_cflags__Winit_self=yes
18843 else $as_nop
18844 ac_cv_cflags__Winit_self=no
18846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18847 conftest$ac_exeext conftest.$ac_ext
18848 CFLAGS=$ac_wine_try_cflags_saved
18850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18851 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18852 if test "x$ac_cv_cflags__Winit_self" = xyes
18853 then :
18854 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18857 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18858 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18859 then :
18860 printf %s "(cached) " >&6
18861 else $as_nop
18862 ac_wine_try_cflags_saved=$CFLAGS
18863 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18866 int main(int argc, char **argv) { return 0; }
18867 _ACEOF
18868 if ac_fn_c_try_link "$LINENO"
18869 then :
18870 ac_cv_cflags__Wpacked_not_aligned=yes
18871 else $as_nop
18872 ac_cv_cflags__Wpacked_not_aligned=no
18874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18875 conftest$ac_exeext conftest.$ac_ext
18876 CFLAGS=$ac_wine_try_cflags_saved
18878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18879 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18880 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18881 then :
18882 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18885 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18886 if test ${ac_cv_cflags__Wpragma_pack+y}
18887 then :
18888 printf %s "(cached) " >&6
18889 else $as_nop
18890 ac_wine_try_cflags_saved=$CFLAGS
18891 CFLAGS="$CFLAGS -Wpragma-pack"
18892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18893 /* end confdefs.h. */
18894 int main(int argc, char **argv) { return 0; }
18895 _ACEOF
18896 if ac_fn_c_try_link "$LINENO"
18897 then :
18898 ac_cv_cflags__Wpragma_pack=yes
18899 else $as_nop
18900 ac_cv_cflags__Wpragma_pack=no
18902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18903 conftest$ac_exeext conftest.$ac_ext
18904 CFLAGS=$ac_wine_try_cflags_saved
18906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18907 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18908 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18909 then :
18910 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18913 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18914 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18915 then :
18916 printf %s "(cached) " >&6
18917 else $as_nop
18918 ac_wine_try_cflags_saved=$CFLAGS
18919 CFLAGS="$CFLAGS -Wshift-overflow=2"
18920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18922 int main(int argc, char **argv) { return 0; }
18923 _ACEOF
18924 if ac_fn_c_try_link "$LINENO"
18925 then :
18926 ac_cv_cflags__Wshift_overflow_2=yes
18927 else $as_nop
18928 ac_cv_cflags__Wshift_overflow_2=no
18930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18931 conftest$ac_exeext conftest.$ac_ext
18932 CFLAGS=$ac_wine_try_cflags_saved
18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18935 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18936 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18937 then :
18938 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18941 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18942 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18943 then :
18944 printf %s "(cached) " >&6
18945 else $as_nop
18946 ac_wine_try_cflags_saved=$CFLAGS
18947 CFLAGS="$CFLAGS -Wstrict-prototypes"
18948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18949 /* end confdefs.h. */
18950 int main(int argc, char **argv) { return 0; }
18951 _ACEOF
18952 if ac_fn_c_try_link "$LINENO"
18953 then :
18954 ac_cv_cflags__Wstrict_prototypes=yes
18955 else $as_nop
18956 ac_cv_cflags__Wstrict_prototypes=no
18958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18959 conftest$ac_exeext conftest.$ac_ext
18960 CFLAGS=$ac_wine_try_cflags_saved
18962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18963 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18964 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18965 then :
18966 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18969 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18970 if test ${ac_cv_cflags__Wtype_limits+y}
18971 then :
18972 printf %s "(cached) " >&6
18973 else $as_nop
18974 ac_wine_try_cflags_saved=$CFLAGS
18975 CFLAGS="$CFLAGS -Wtype-limits"
18976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18977 /* end confdefs.h. */
18978 int main(int argc, char **argv) { return 0; }
18979 _ACEOF
18980 if ac_fn_c_try_link "$LINENO"
18981 then :
18982 ac_cv_cflags__Wtype_limits=yes
18983 else $as_nop
18984 ac_cv_cflags__Wtype_limits=no
18986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18987 conftest$ac_exeext conftest.$ac_ext
18988 CFLAGS=$ac_wine_try_cflags_saved
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18991 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18992 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18993 then :
18994 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18997 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18998 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18999 then :
19000 printf %s "(cached) " >&6
19001 else $as_nop
19002 ac_wine_try_cflags_saved=$CFLAGS
19003 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19005 /* end confdefs.h. */
19006 int main(int argc, char **argv) { return 0; }
19007 _ACEOF
19008 if ac_fn_c_try_link "$LINENO"
19009 then :
19010 ac_cv_cflags__Wunused_but_set_parameter=yes
19011 else $as_nop
19012 ac_cv_cflags__Wunused_but_set_parameter=no
19014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19015 conftest$ac_exeext conftest.$ac_ext
19016 CFLAGS=$ac_wine_try_cflags_saved
19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19019 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19020 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19021 then :
19022 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19025 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19026 if test ${ac_cv_cflags__Wvla+y}
19027 then :
19028 printf %s "(cached) " >&6
19029 else $as_nop
19030 ac_wine_try_cflags_saved=$CFLAGS
19031 CFLAGS="$CFLAGS -Wvla"
19032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19033 /* end confdefs.h. */
19034 int main(int argc, char **argv) { return 0; }
19035 _ACEOF
19036 if ac_fn_c_try_link "$LINENO"
19037 then :
19038 ac_cv_cflags__Wvla=yes
19039 else $as_nop
19040 ac_cv_cflags__Wvla=no
19042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19043 conftest$ac_exeext conftest.$ac_ext
19044 CFLAGS=$ac_wine_try_cflags_saved
19046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19047 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19048 if test "x$ac_cv_cflags__Wvla" = xyes
19049 then :
19050 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19053 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19054 if test ${ac_cv_cflags__Wwrite_strings+y}
19055 then :
19056 printf %s "(cached) " >&6
19057 else $as_nop
19058 ac_wine_try_cflags_saved=$CFLAGS
19059 CFLAGS="$CFLAGS -Wwrite-strings"
19060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19061 /* end confdefs.h. */
19062 int main(int argc, char **argv) { return 0; }
19063 _ACEOF
19064 if ac_fn_c_try_link "$LINENO"
19065 then :
19066 ac_cv_cflags__Wwrite_strings=yes
19067 else $as_nop
19068 ac_cv_cflags__Wwrite_strings=no
19070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19071 conftest$ac_exeext conftest.$ac_ext
19072 CFLAGS=$ac_wine_try_cflags_saved
19074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19075 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19076 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19077 then :
19078 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19082 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19083 if test ${ac_cv_cflags__Wpointer_arith+y}
19084 then :
19085 printf %s "(cached) " >&6
19086 else $as_nop
19087 ac_wine_try_cflags_saved=$CFLAGS
19088 CFLAGS="$CFLAGS -Wpointer-arith"
19089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19090 /* end confdefs.h. */
19091 int main(int argc, char **argv) { return 0; }
19092 _ACEOF
19093 if ac_fn_c_try_link "$LINENO"
19094 then :
19095 ac_cv_cflags__Wpointer_arith=yes
19096 else $as_nop
19097 ac_cv_cflags__Wpointer_arith=no
19099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19100 conftest$ac_exeext conftest.$ac_ext
19101 CFLAGS=$ac_wine_try_cflags_saved
19103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19104 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19105 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19106 then :
19107 saved_string_h_CFLAGS=$CFLAGS
19108 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19110 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19111 if test ${ac_cv_c_string_h_warnings+y}
19112 then :
19113 printf %s "(cached) " >&6
19114 else $as_nop
19115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19116 /* end confdefs.h. */
19117 #include <string.h>
19119 main (void)
19123 return 0;
19125 _ACEOF
19126 if ac_fn_c_try_compile "$LINENO"
19127 then :
19128 ac_cv_c_string_h_warnings=no
19129 else $as_nop
19130 ac_cv_c_string_h_warnings=yes
19132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19135 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19136 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19137 CFLAGS=$saved_string_h_CFLAGS
19140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19141 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19142 if test ${ac_cv_cflags__Wlogical_op+y}
19143 then :
19144 printf %s "(cached) " >&6
19145 else $as_nop
19146 ac_wine_try_cflags_saved=$CFLAGS
19147 CFLAGS="$CFLAGS -Wlogical-op"
19148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19149 /* end confdefs.h. */
19150 int main(int argc, char **argv) { return 0; }
19151 _ACEOF
19152 if ac_fn_c_try_link "$LINENO"
19153 then :
19154 ac_cv_cflags__Wlogical_op=yes
19155 else $as_nop
19156 ac_cv_cflags__Wlogical_op=no
19158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19159 conftest$ac_exeext conftest.$ac_ext
19160 CFLAGS=$ac_wine_try_cflags_saved
19162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19163 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19164 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19165 then :
19166 saved_string_h_CFLAGS=$CFLAGS
19167 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19169 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19170 if test ${ac_cv_c_logicalop_noisy+y}
19171 then :
19172 printf %s "(cached) " >&6
19173 else $as_nop
19174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19175 /* end confdefs.h. */
19176 #include <string.h>
19177 char*f(const char *h,char n) {return strchr(h,n);}
19179 main (void)
19183 return 0;
19185 _ACEOF
19186 if ac_fn_c_try_compile "$LINENO"
19187 then :
19188 ac_cv_c_logicalop_noisy=no
19189 else $as_nop
19190 ac_cv_c_logicalop_noisy=yes
19192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19195 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19196 CFLAGS=$saved_string_h_CFLAGS
19197 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19201 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19202 if test ${wine_cv_64bit_compare_swap+y}
19203 then :
19204 printf %s "(cached) " >&6
19205 else $as_nop
19206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19207 /* end confdefs.h. */
19208 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19209 #error no
19210 #endif
19212 main (void)
19216 return 0;
19218 _ACEOF
19219 if ac_fn_c_try_compile "$LINENO"
19220 then :
19221 wine_cv_64bit_compare_swap="none needed"
19222 else $as_nop
19223 case $host_cpu in
19224 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19225 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19226 *) wine_cv_64bit_compare_swap="unknown" ;;
19227 esac
19228 if test "x$wine_cv_64bit_compare_swap" != xunknown
19229 then
19230 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19232 /* end confdefs.h. */
19233 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19234 #error no
19235 #endif
19237 main (void)
19241 return 0;
19243 _ACEOF
19244 if ac_fn_c_try_compile "$LINENO"
19245 then :
19247 else $as_nop
19248 wine_cv_64bit_compare_swap="unknown"
19250 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19251 CFLAGS=$saved_CFLAGS
19254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19257 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19258 case "$wine_cv_64bit_compare_swap" in
19259 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19260 "none needed") ;;
19261 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19262 esac
19264 ac_debug_format_seen=""
19265 for ac_flag in $CFLAGS; do
19266 case $ac_flag in
19267 -gdwarf*) ac_debug_format_seen=yes ;;
19268 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19269 esac
19270 done
19271 if test "x$ac_debug_format_seen" = xdefault
19272 then
19273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19274 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19275 if test ${ac_cv_cflags__gdwarf_4+y}
19276 then :
19277 printf %s "(cached) " >&6
19278 else $as_nop
19279 ac_wine_try_cflags_saved=$CFLAGS
19280 CFLAGS="$CFLAGS -gdwarf-4"
19281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19282 /* end confdefs.h. */
19283 int main(int argc, char **argv) { return 0; }
19284 _ACEOF
19285 if ac_fn_c_try_link "$LINENO"
19286 then :
19287 ac_cv_cflags__gdwarf_4=yes
19288 else $as_nop
19289 ac_cv_cflags__gdwarf_4=no
19291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19292 conftest$ac_exeext conftest.$ac_ext
19293 CFLAGS=$ac_wine_try_cflags_saved
19295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19296 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19297 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19298 then :
19299 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19303 MSVCRTFLAGS=""
19305 case $host_os in
19306 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19307 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19308 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19309 then :
19310 printf %s "(cached) " >&6
19311 else $as_nop
19312 ac_wine_try_cflags_saved=$CFLAGS
19313 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19315 /* end confdefs.h. */
19316 int main(int argc, char **argv) { return 0; }
19317 _ACEOF
19318 if ac_fn_c_try_link "$LINENO"
19319 then :
19320 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19321 else $as_nop
19322 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19325 conftest$ac_exeext conftest.$ac_ext
19326 CFLAGS=$ac_wine_try_cflags_saved
19328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19329 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19330 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19331 then :
19332 DELAYLOADFLAG="-Wl,-delayload,"
19334 fi ;;
19335 *) MSVCRTFLAGS="-D_WIN32"
19336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19337 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19338 if test ${ac_cv_cflags__fno_builtin+y}
19339 then :
19340 printf %s "(cached) " >&6
19341 else $as_nop
19342 ac_wine_try_cflags_saved=$CFLAGS
19343 CFLAGS="$CFLAGS -fno-builtin"
19344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19345 /* end confdefs.h. */
19346 int main(int argc, char **argv) { return 0; }
19347 _ACEOF
19348 if ac_fn_c_try_link "$LINENO"
19349 then :
19350 ac_cv_cflags__fno_builtin=yes
19351 else $as_nop
19352 ac_cv_cflags__fno_builtin=no
19354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19355 conftest$ac_exeext conftest.$ac_ext
19356 CFLAGS=$ac_wine_try_cflags_saved
19358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19359 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19360 if test "x$ac_cv_cflags__fno_builtin" = xyes
19361 then :
19362 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19365 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19366 if test ${ac_cv_cflags__fshort_wchar+y}
19367 then :
19368 printf %s "(cached) " >&6
19369 else $as_nop
19370 ac_wine_try_cflags_saved=$CFLAGS
19371 CFLAGS="$CFLAGS -fshort-wchar"
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19374 int main(int argc, char **argv) { return 0; }
19375 _ACEOF
19376 if ac_fn_c_try_link "$LINENO"
19377 then :
19378 ac_cv_cflags__fshort_wchar=yes
19379 else $as_nop
19380 ac_cv_cflags__fshort_wchar=no
19382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19383 conftest$ac_exeext conftest.$ac_ext
19384 CFLAGS=$ac_wine_try_cflags_saved
19386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19387 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19388 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19389 then :
19390 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19393 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19394 if test ${ac_cv_cflags__fvisibility_hidden+y}
19395 then :
19396 printf %s "(cached) " >&6
19397 else $as_nop
19398 ac_wine_try_cflags_saved=$CFLAGS
19399 CFLAGS="$CFLAGS -fvisibility=hidden"
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19402 int main(int argc, char **argv) { return 0; }
19403 _ACEOF
19404 if ac_fn_c_try_link "$LINENO"
19405 then :
19406 ac_cv_cflags__fvisibility_hidden=yes
19407 else $as_nop
19408 ac_cv_cflags__fvisibility_hidden=no
19410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19411 conftest$ac_exeext conftest.$ac_ext
19412 CFLAGS=$ac_wine_try_cflags_saved
19414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19415 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19416 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19417 then :
19418 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19421 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19422 if test ${ac_cv_cflags__Wno_format+y}
19423 then :
19424 printf %s "(cached) " >&6
19425 else $as_nop
19426 ac_wine_try_cflags_saved=$CFLAGS
19427 CFLAGS="$CFLAGS -Wno-format"
19428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19429 /* end confdefs.h. */
19430 int main(int argc, char **argv) { return 0; }
19431 _ACEOF
19432 if ac_fn_c_try_link "$LINENO"
19433 then :
19434 ac_cv_cflags__Wno_format=yes
19435 else $as_nop
19436 ac_cv_cflags__Wno_format=no
19438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19439 conftest$ac_exeext conftest.$ac_ext
19440 CFLAGS=$ac_wine_try_cflags_saved
19442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19443 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19444 if test "x$ac_cv_cflags__Wno_format" = xyes
19445 then :
19446 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19447 fi ;;
19448 esac
19450 case $host_cpu in
19451 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19452 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19453 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19454 then :
19455 printf %s "(cached) " >&6
19456 else $as_nop
19457 ac_wine_try_cflags_saved=$CFLAGS
19458 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19460 /* end confdefs.h. */
19461 int main(int argc, char **argv) { return 0; }
19462 _ACEOF
19463 if ac_fn_c_try_link "$LINENO"
19464 then :
19465 ac_cv_cflags__fno_omit_frame_pointer=yes
19466 else $as_nop
19467 ac_cv_cflags__fno_omit_frame_pointer=no
19469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19470 conftest$ac_exeext conftest.$ac_ext
19471 CFLAGS=$ac_wine_try_cflags_saved
19473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19474 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19475 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19476 then :
19477 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19478 fi ;;
19479 *x86_64*)
19480 case $host_os in
19481 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19482 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19483 if test ${ac_cv_cflags__Wno_format+y}
19484 then :
19485 printf %s "(cached) " >&6
19486 else $as_nop
19487 ac_wine_try_cflags_saved=$CFLAGS
19488 CFLAGS="$CFLAGS -Wno-format"
19489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19490 /* end confdefs.h. */
19491 int main(int argc, char **argv) { return 0; }
19492 _ACEOF
19493 if ac_fn_c_try_link "$LINENO"
19494 then :
19495 ac_cv_cflags__Wno_format=yes
19496 else $as_nop
19497 ac_cv_cflags__Wno_format=no
19499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19500 conftest$ac_exeext conftest.$ac_ext
19501 CFLAGS=$ac_wine_try_cflags_saved
19503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19504 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19505 if test "x$ac_cv_cflags__Wno_format" = xyes
19506 then :
19507 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19508 fi ;;
19509 *) if test -z "$PE_ARCHS"
19510 then
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19512 printf %s "checking for working -mabi=ms... " >&6; }
19513 if test ${ac_cv_mabi_ms+y}
19514 then :
19515 printf %s "(cached) " >&6
19516 else $as_nop
19517 CFLAGS="$CFLAGS -mabi=ms"
19518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h. */
19520 #include <stdarg.h>
19521 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19523 main (void)
19527 return 0;
19529 _ACEOF
19530 if ac_fn_c_try_compile "$LINENO"
19531 then :
19532 ac_cv_mabi_ms=yes
19533 else $as_nop
19534 ac_cv_mabi_ms=no
19536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19537 CFLAGS=$saved_CFLAGS
19539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19540 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19541 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
19543 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19544 esac ;;
19545 arm*)
19546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19547 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19548 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19549 then :
19550 printf %s "(cached) " >&6
19551 else $as_nop
19552 ac_wine_try_cflags_saved=$CFLAGS
19553 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19555 /* end confdefs.h. */
19556 int main(int argc, char **argv) { return 0; }
19557 _ACEOF
19558 if ac_fn_c_try_link "$LINENO"
19559 then :
19560 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19561 else $as_nop
19562 ac_cv_cflags__Wincompatible_function_pointer_types=no
19564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19565 conftest$ac_exeext conftest.$ac_ext
19566 CFLAGS=$ac_wine_try_cflags_saved
19568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19569 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19570 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19571 then :
19572 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19573 fi ;;
19574 esac
19576 CFLAGS=$saved_CFLAGS
19578 if test "x$enable_werror" = "xyes"
19579 then
19580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19581 printf %s "checking whether the compiler supports -Werror... " >&6; }
19582 if test ${ac_cv_cflags__Werror+y}
19583 then :
19584 printf %s "(cached) " >&6
19585 else $as_nop
19586 ac_wine_try_cflags_saved=$CFLAGS
19587 CFLAGS="$CFLAGS -Werror"
19588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19589 /* end confdefs.h. */
19590 int main(int argc, char **argv) { return 0; }
19591 _ACEOF
19592 if ac_fn_c_try_link "$LINENO"
19593 then :
19594 ac_cv_cflags__Werror=yes
19595 else $as_nop
19596 ac_cv_cflags__Werror=no
19598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19599 conftest$ac_exeext conftest.$ac_ext
19600 CFLAGS=$ac_wine_try_cflags_saved
19602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19603 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19604 if test "x$ac_cv_cflags__Werror" = xyes
19605 then :
19606 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19609 if test "x$enable_build_id" = "xyes"
19610 then
19611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19612 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19613 if test ${ac_cv_cflags__Wl___build_id+y}
19614 then :
19615 printf %s "(cached) " >&6
19616 else $as_nop
19617 ac_wine_try_cflags_saved=$CFLAGS
19618 CFLAGS="$CFLAGS -Wl,--build-id"
19619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19620 /* end confdefs.h. */
19621 int main(int argc, char **argv) { return 0; }
19622 _ACEOF
19623 if ac_fn_c_try_link "$LINENO"
19624 then :
19625 ac_cv_cflags__Wl___build_id=yes
19626 else $as_nop
19627 ac_cv_cflags__Wl___build_id=no
19629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19630 conftest$ac_exeext conftest.$ac_ext
19631 CFLAGS=$ac_wine_try_cflags_saved
19633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19634 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19635 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19636 then :
19637 CFLAGS="$CFLAGS -Wl,--build-id"
19638 LDFLAGS="$LDFLAGS -Wl,--build-id"
19644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19645 printf %s "checking for the need to disable Fortify... " >&6; }
19646 if test ${ac_cv_c_fortify_enabled+y}
19647 then :
19648 printf %s "(cached) " >&6
19649 else $as_nop
19650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19651 /* end confdefs.h. */
19652 #include <string.h>
19654 main (void)
19656 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19657 #error Fortify enabled
19658 #endif
19660 return 0;
19662 _ACEOF
19663 if ac_fn_c_try_compile "$LINENO"
19664 then :
19665 ac_cv_c_fortify_enabled=no
19666 else $as_nop
19667 ac_cv_c_fortify_enabled=yes
19669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19672 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19673 if test "$ac_cv_c_fortify_enabled" = yes
19674 then
19675 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19680 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19681 if test ${ac_cv_c_cfi_support+y}
19682 then :
19683 printf %s "(cached) " >&6
19684 else $as_nop
19685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19686 /* end confdefs.h. */
19687 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19689 main (void)
19693 return 0;
19695 _ACEOF
19696 if ac_fn_c_try_compile "$LINENO"
19697 then :
19698 ac_cv_c_cfi_support="yes"
19699 else $as_nop
19700 ac_cv_c_cfi_support="no"
19702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19705 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19706 if test "$ac_cv_c_cfi_support" = "yes"
19707 then
19708 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19709 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19710 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19711 elif test $HOST_ARCH = x86_64
19712 then
19713 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19717 case "$HOST_ARCH,$PE_ARCHS" in
19718 x86_64,*i386*) wine_binary="wine" ;;
19719 x86_64,*) wine_binary="wine64" ;;
19720 *) wine_binary="wine" ;;
19721 esac
19722 WINELOADER_PROGRAMS="$wine_binary"
19725 case $host_os in
19726 linux*)
19727 case $host_cpu in
19728 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19729 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19730 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19732 esac
19734 darwin*|macosx*)
19735 if test "$wine_can_build_preloader" = "yes"
19736 then
19737 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19738 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19741 esac
19744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19745 printf %s "checking for library containing dlopen... " >&6; }
19746 if test ${ac_cv_search_dlopen+y}
19747 then :
19748 printf %s "(cached) " >&6
19749 else $as_nop
19750 ac_func_search_save_LIBS=$LIBS
19751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19752 /* end confdefs.h. */
19754 /* Override any GCC internal prototype to avoid an error.
19755 Use char because int might match the return type of a GCC
19756 builtin and then its argument prototype would still apply. */
19757 char dlopen ();
19759 main (void)
19761 return dlopen ();
19763 return 0;
19765 _ACEOF
19766 for ac_lib in '' dl
19768 if test -z "$ac_lib"; then
19769 ac_res="none required"
19770 else
19771 ac_res=-l$ac_lib
19772 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19774 if ac_fn_c_try_link "$LINENO"
19775 then :
19776 ac_cv_search_dlopen=$ac_res
19778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19779 conftest$ac_exeext
19780 if test ${ac_cv_search_dlopen+y}
19781 then :
19782 break
19784 done
19785 if test ${ac_cv_search_dlopen+y}
19786 then :
19788 else $as_nop
19789 ac_cv_search_dlopen=no
19791 rm conftest.$ac_ext
19792 LIBS=$ac_func_search_save_LIBS
19794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19795 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19796 ac_res=$ac_cv_search_dlopen
19797 if test "$ac_res" != no
19798 then :
19799 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19805 printf %s "checking for library containing gethostbyname... " >&6; }
19806 if test ${ac_cv_search_gethostbyname+y}
19807 then :
19808 printf %s "(cached) " >&6
19809 else $as_nop
19810 ac_func_search_save_LIBS=$LIBS
19811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19812 /* end confdefs.h. */
19814 /* Override any GCC internal prototype to avoid an error.
19815 Use char because int might match the return type of a GCC
19816 builtin and then its argument prototype would still apply. */
19817 char gethostbyname ();
19819 main (void)
19821 return gethostbyname ();
19823 return 0;
19825 _ACEOF
19826 for ac_lib in '' nsl
19828 if test -z "$ac_lib"; then
19829 ac_res="none required"
19830 else
19831 ac_res=-l$ac_lib
19832 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19834 if ac_fn_c_try_link "$LINENO"
19835 then :
19836 ac_cv_search_gethostbyname=$ac_res
19838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19839 conftest$ac_exeext
19840 if test ${ac_cv_search_gethostbyname+y}
19841 then :
19842 break
19844 done
19845 if test ${ac_cv_search_gethostbyname+y}
19846 then :
19848 else $as_nop
19849 ac_cv_search_gethostbyname=no
19851 rm conftest.$ac_ext
19852 LIBS=$ac_func_search_save_LIBS
19854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19855 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19856 ac_res=$ac_cv_search_gethostbyname
19857 if test "$ac_res" != no
19858 then :
19859 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19865 printf %s "checking for library containing connect... " >&6; }
19866 if test ${ac_cv_search_connect+y}
19867 then :
19868 printf %s "(cached) " >&6
19869 else $as_nop
19870 ac_func_search_save_LIBS=$LIBS
19871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19872 /* end confdefs.h. */
19874 /* Override any GCC internal prototype to avoid an error.
19875 Use char because int might match the return type of a GCC
19876 builtin and then its argument prototype would still apply. */
19877 char connect ();
19879 main (void)
19881 return connect ();
19883 return 0;
19885 _ACEOF
19886 for ac_lib in '' socket
19888 if test -z "$ac_lib"; then
19889 ac_res="none required"
19890 else
19891 ac_res=-l$ac_lib
19892 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19894 if ac_fn_c_try_link "$LINENO"
19895 then :
19896 ac_cv_search_connect=$ac_res
19898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19899 conftest$ac_exeext
19900 if test ${ac_cv_search_connect+y}
19901 then :
19902 break
19904 done
19905 if test ${ac_cv_search_connect+y}
19906 then :
19908 else $as_nop
19909 ac_cv_search_connect=no
19911 rm conftest.$ac_ext
19912 LIBS=$ac_func_search_save_LIBS
19914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19915 printf "%s\n" "$ac_cv_search_connect" >&6; }
19916 ac_res=$ac_cv_search_connect
19917 if test "$ac_res" != no
19918 then :
19919 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19925 printf %s "checking for library containing inet_aton... " >&6; }
19926 if test ${ac_cv_search_inet_aton+y}
19927 then :
19928 printf %s "(cached) " >&6
19929 else $as_nop
19930 ac_func_search_save_LIBS=$LIBS
19931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19932 /* end confdefs.h. */
19934 /* Override any GCC internal prototype to avoid an error.
19935 Use char because int might match the return type of a GCC
19936 builtin and then its argument prototype would still apply. */
19937 char inet_aton ();
19939 main (void)
19941 return inet_aton ();
19943 return 0;
19945 _ACEOF
19946 for ac_lib in '' resolv
19948 if test -z "$ac_lib"; then
19949 ac_res="none required"
19950 else
19951 ac_res=-l$ac_lib
19952 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19954 if ac_fn_c_try_link "$LINENO"
19955 then :
19956 ac_cv_search_inet_aton=$ac_res
19958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19959 conftest$ac_exeext
19960 if test ${ac_cv_search_inet_aton+y}
19961 then :
19962 break
19964 done
19965 if test ${ac_cv_search_inet_aton+y}
19966 then :
19968 else $as_nop
19969 ac_cv_search_inet_aton=no
19971 rm conftest.$ac_ext
19972 LIBS=$ac_func_search_save_LIBS
19974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19975 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19976 ac_res=$ac_cv_search_inet_aton
19977 if test "$ac_res" != no
19978 then :
19979 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19984 ac_save_CFLAGS="$CFLAGS"
19985 CFLAGS="$CFLAGS $BUILTINFLAG"
19986 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19987 if test "x$ac_cv_func_dladdr1" = xyes
19988 then :
19989 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19992 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19993 if test "x$ac_cv_func_dlinfo" = xyes
19994 then :
19995 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19998 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19999 if test "x$ac_cv_func_epoll_create" = xyes
20000 then :
20001 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20004 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20005 if test "x$ac_cv_func_fstatfs" = xyes
20006 then :
20007 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20010 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20011 if test "x$ac_cv_func_futimens" = xyes
20012 then :
20013 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20016 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20017 if test "x$ac_cv_func_futimes" = xyes
20018 then :
20019 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20022 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20023 if test "x$ac_cv_func_futimesat" = xyes
20024 then :
20025 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20028 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20029 if test "x$ac_cv_func_getaddrinfo" = xyes
20030 then :
20031 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20034 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20035 if test "x$ac_cv_func_getattrlist" = xyes
20036 then :
20037 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20040 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20041 if test "x$ac_cv_func_getauxval" = xyes
20042 then :
20043 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20046 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20047 if test "x$ac_cv_func_getifaddrs" = xyes
20048 then :
20049 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20052 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20053 if test "x$ac_cv_func_getrandom" = xyes
20054 then :
20055 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20058 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20059 if test "x$ac_cv_func_kqueue" = xyes
20060 then :
20061 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20064 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20065 if test "x$ac_cv_func_mach_continuous_time" = xyes
20066 then :
20067 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20070 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20071 if test "x$ac_cv_func_pipe2" = xyes
20072 then :
20073 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20076 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20077 if test "x$ac_cv_func_port_create" = xyes
20078 then :
20079 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20082 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20083 if test "x$ac_cv_func_posix_fadvise" = xyes
20084 then :
20085 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20088 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20089 if test "x$ac_cv_func_posix_fallocate" = xyes
20090 then :
20091 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20094 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20095 if test "x$ac_cv_func_prctl" = xyes
20096 then :
20097 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20100 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20101 if test "x$ac_cv_func_proc_pidinfo" = xyes
20102 then :
20103 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20106 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20107 if test "x$ac_cv_func_sched_yield" = xyes
20108 then :
20109 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20112 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20113 if test "x$ac_cv_func_setproctitle" = xyes
20114 then :
20115 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20118 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20119 if test "x$ac_cv_func_setprogname" = xyes
20120 then :
20121 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20124 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20125 if test "x$ac_cv_func_sigprocmask" = xyes
20126 then :
20127 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20130 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20131 if test "x$ac_cv_func_sysinfo" = xyes
20132 then :
20133 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20136 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20137 if test "x$ac_cv_func_tcdrain" = xyes
20138 then :
20139 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20142 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20143 if test "x$ac_cv_func_thr_kill2" = xyes
20144 then :
20145 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20149 CFLAGS="$ac_save_CFLAGS"
20151 case $host_os in
20152 darwin*|macosx*) ;;
20153 *) ac_save_LIBS=$LIBS
20154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20155 printf %s "checking for library containing clock_gettime... " >&6; }
20156 if test ${ac_cv_search_clock_gettime+y}
20157 then :
20158 printf %s "(cached) " >&6
20159 else $as_nop
20160 ac_func_search_save_LIBS=$LIBS
20161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20162 /* end confdefs.h. */
20164 /* Override any GCC internal prototype to avoid an error.
20165 Use char because int might match the return type of a GCC
20166 builtin and then its argument prototype would still apply. */
20167 char clock_gettime ();
20169 main (void)
20171 return clock_gettime ();
20173 return 0;
20175 _ACEOF
20176 for ac_lib in '' rt
20178 if test -z "$ac_lib"; then
20179 ac_res="none required"
20180 else
20181 ac_res=-l$ac_lib
20182 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20184 if ac_fn_c_try_link "$LINENO"
20185 then :
20186 ac_cv_search_clock_gettime=$ac_res
20188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20189 conftest$ac_exeext
20190 if test ${ac_cv_search_clock_gettime+y}
20191 then :
20192 break
20194 done
20195 if test ${ac_cv_search_clock_gettime+y}
20196 then :
20198 else $as_nop
20199 ac_cv_search_clock_gettime=no
20201 rm conftest.$ac_ext
20202 LIBS=$ac_func_search_save_LIBS
20204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20205 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20206 ac_res=$ac_cv_search_clock_gettime
20207 if test "$ac_res" != no
20208 then :
20209 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20211 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20213 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20217 LIBS=$ac_save_LIBS
20219 esac
20221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20222 printf %s "checking for sched_setaffinity... " >&6; }
20223 if test ${wine_cv_have_sched_setaffinity+y}
20224 then :
20225 printf %s "(cached) " >&6
20226 else $as_nop
20227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20228 /* end confdefs.h. */
20229 #include <sched.h>
20231 main (void)
20233 sched_setaffinity(0, 0, 0);
20235 return 0;
20237 _ACEOF
20238 if ac_fn_c_try_link "$LINENO"
20239 then :
20240 wine_cv_have_sched_setaffinity=yes
20241 else $as_nop
20242 wine_cv_have_sched_setaffinity=no
20244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20245 conftest$ac_exeext conftest.$ac_ext
20247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20248 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20249 if test "$wine_cv_have_sched_setaffinity" = "yes"
20250 then
20252 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20258 printf %s "checking for inline... " >&6; }
20259 if test ${ac_cv_c_inline+y}
20260 then :
20261 printf %s "(cached) " >&6
20262 else $as_nop
20263 ac_cv_c_inline=no
20264 for ac_kw in inline __inline__ __inline; do
20265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20266 /* end confdefs.h. */
20267 #ifndef __cplusplus
20268 typedef int foo_t;
20269 static $ac_kw foo_t static_foo (void) {return 0; }
20270 $ac_kw foo_t foo (void) {return 0; }
20271 #endif
20273 _ACEOF
20274 if ac_fn_c_try_compile "$LINENO"
20275 then :
20276 ac_cv_c_inline=$ac_kw
20278 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20279 test "$ac_cv_c_inline" != no && break
20280 done
20283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20284 printf "%s\n" "$ac_cv_c_inline" >&6; }
20286 case $ac_cv_c_inline in
20287 inline | yes) ;;
20289 case $ac_cv_c_inline in
20290 no) ac_val=;;
20291 *) ac_val=$ac_cv_c_inline;;
20292 esac
20293 cat >>confdefs.h <<_ACEOF
20294 #ifndef __cplusplus
20295 #define inline $ac_val
20296 #endif
20297 _ACEOF
20299 esac
20301 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20303 if test "x$ac_cv_type_request_sense" = xyes
20304 then :
20306 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20312 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20313 #include <sys/socket.h>
20314 #ifdef HAVE_SYS_SOCKETVAR_H
20315 #include <sys/socketvar.h>
20316 #endif
20317 #ifdef HAVE_NET_ROUTE_H
20318 #include <net/route.h>
20319 #endif
20320 #ifdef HAVE_NETINET_IN_H
20321 #include <netinet/in.h>
20322 #endif
20323 #ifdef HAVE_NETINET_IN_SYSTM_H
20324 #include <netinet/in_systm.h>
20325 #endif
20326 #ifdef HAVE_NETINET_IP_H
20327 #include <netinet/ip.h>
20328 #endif
20329 #ifdef HAVE_NETINET_IN_PCB_H
20330 #include <netinet/in_pcb.h>
20331 #endif
20333 if test "x$ac_cv_type_struct_xinpgen" = xyes
20334 then :
20336 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20343 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20344 if test ${wine_cv_linux_gethostbyname_r_6+y}
20345 then :
20346 printf %s "(cached) " >&6
20347 else $as_nop
20348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20349 /* end confdefs.h. */
20350 #include <netdb.h>
20352 main (void)
20355 char *name=0;
20356 struct hostent he;
20357 struct hostent *result;
20358 char *buf=0;
20359 int bufsize=0;
20360 int errnr;
20361 char *addr=0;
20362 int addrlen=0;
20363 int addrtype=0;
20364 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20365 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20368 return 0;
20370 _ACEOF
20371 if ac_fn_c_try_link "$LINENO"
20372 then :
20373 wine_cv_linux_gethostbyname_r_6=yes
20374 else $as_nop
20375 wine_cv_linux_gethostbyname_r_6=no
20378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20379 conftest$ac_exeext conftest.$ac_ext
20382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20383 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20384 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20385 then
20387 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20391 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20392 #include <sys/socket.h>
20393 #ifdef HAVE_SYS_UN_H
20394 # include <sys/un.h>
20395 #endif
20397 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20398 then :
20400 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20404 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20405 #include <sys/socket.h>
20406 #ifdef HAVE_SYS_UN_H
20407 # include <sys/un.h>
20408 #endif
20410 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20411 then :
20413 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20419 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20420 #ifdef HAVE_SCSI_SG_H
20421 #include <scsi/sg.h>
20422 #endif
20424 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20425 then :
20427 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20431 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>
20432 #ifdef HAVE_SCSI_SG_H
20433 #include <scsi/sg.h>
20434 #endif
20436 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20437 then :
20439 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20445 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20447 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20448 then :
20450 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20456 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20457 #ifdef HAVE_SYS_MTIO_H
20458 #include <sys/mtio.h>
20459 #endif
20461 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20462 then :
20464 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20468 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20469 #ifdef HAVE_SYS_MTIO_H
20470 #include <sys/mtio.h>
20471 #endif
20473 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20474 then :
20476 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20480 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20481 #ifdef HAVE_SYS_MTIO_H
20482 #include <sys/mtio.h>
20483 #endif
20485 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20486 then :
20488 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20494 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20495 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20496 then :
20498 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20502 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20503 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20504 then :
20506 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20510 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20511 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20512 then :
20514 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20518 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20519 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20520 then :
20522 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20526 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20527 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20528 then :
20530 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20534 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20535 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20536 then :
20538 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20542 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20543 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20544 then :
20546 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20550 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20551 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20552 then :
20554 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20558 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20559 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20560 then :
20562 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20566 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20567 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20568 then :
20570 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20574 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20575 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20576 then :
20578 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20584 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>
20585 #ifdef HAVE_NETINET_IN_H
20586 #include <netinet/in.h>
20587 #endif
20589 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20590 then :
20592 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20598 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
20599 #include <resolv.h>
20600 #endif
20602 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20603 then :
20605 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20611 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20612 #include <netinet/in.h>
20613 #endif
20615 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20616 then :
20618 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20624 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20625 #ifdef HAVE_SYS_SOCKETVAR_H
20626 #include <sys/socketvar.h>
20627 #endif
20628 #ifdef HAVE_NETINET_IN_H
20629 #include <netinet/in.h>
20630 #endif
20631 #ifdef HAVE_NETINET_IP_VAR_H
20632 #include <netinet/ip_var.h>
20633 #endif
20635 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20636 then :
20638 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20644 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
20645 #include <netinet/ip_var.h>
20646 #endif
20648 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20649 then :
20651 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20657 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20658 #ifdef HAVE_SYS_SOCKETVAR_H
20659 #include <sys/socketvar.h>
20660 #endif
20661 #ifdef HAVE_NETINET_IN_H
20662 #include <netinet/in.h>
20663 #endif
20664 #ifdef HAVE_NETINET6_IP6_VAR_H
20665 #include <netinet6/ip6_var.h>
20666 #endif
20668 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20669 then :
20671 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20677 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20678 #ifdef HAVE_SYS_SOCKETVAR_H
20679 #include <sys/socketvar.h>
20680 #endif
20681 #ifdef HAVE_NETINET_IN_H
20682 #include <netinet/in.h>
20683 #endif
20684 #ifdef HAVE_NETINET_IP_H
20685 #include <netinet/ip.h>
20686 #endif
20687 #ifdef HAVE_NETINET_IP_ICMP_H
20688 #include <netinet/ip_icmp.h>
20689 #endif
20690 #ifdef HAVE_NETINET_ICMP_VAR_H
20691 #include <netinet/icmp_var.h>
20692 #endif
20694 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20695 then :
20697 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20703 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20704 #ifdef HAVE_SYS_SOCKETVAR_H
20705 #include <sys/socketvar.h>
20706 #endif
20707 #ifdef HAVE_NETINET_IN_H
20708 #include <netinet/in.h>
20709 #endif
20710 #ifdef HAVE_NETINET_ICMP6_H
20711 #include <netinet/icmp6.h>
20712 #endif
20714 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20715 then :
20717 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20723 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20724 #ifdef HAVE_SYS_SOCKETVAR_H
20725 #include <sys/socketvar.h>
20726 #endif
20727 #ifdef HAVE_NETINET_IN_H
20728 #include <netinet/in.h>
20729 #endif
20730 #ifdef HAVE_NETINET_TCP_H
20731 #include <netinet/tcp.h>
20732 #endif
20733 #ifdef HAVE_NETINET_TCP_VAR_H
20734 #include <netinet/tcp_var.h>
20735 #endif
20737 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20738 then :
20740 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20746 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
20747 #include <netinet/tcp_var.h>
20748 #endif
20750 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20751 then :
20753 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20759 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20760 #ifdef HAVE_NETINET_IN_H
20761 #include <netinet/in.h>
20762 #endif
20763 #ifdef HAVE_NETINET_IP_VAR_H
20764 #include <netinet/ip_var.h>
20765 #endif
20766 #ifdef HAVE_NETINET_UDP_H
20767 #include <netinet/udp.h>
20768 #endif
20769 #ifdef HAVE_NETINET_UDP_VAR_H
20770 #include <netinet/udp_var.h>
20771 #endif
20773 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20774 then :
20776 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20782 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20783 #ifdef HAVE_NET_IF_H
20784 # include <net/if.h>
20785 #endif
20787 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20788 then :
20790 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20796 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20797 # include <sys/sysinfo.h>
20798 #endif
20800 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20801 then :
20803 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20807 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20808 # include <sys/sysinfo.h>
20809 #endif
20811 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20812 then :
20814 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20820 LIBS="$ac_save_LIBS"
20822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20823 printf %s "checking for __builtin_popcount... " >&6; }
20824 if test ${ac_cv_have___builtin_popcount+y}
20825 then :
20826 printf %s "(cached) " >&6
20827 else $as_nop
20828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20829 /* end confdefs.h. */
20832 main (void)
20834 return __builtin_popcount(1)
20836 return 0;
20838 _ACEOF
20839 if ac_fn_c_try_link "$LINENO"
20840 then :
20841 ac_cv_have___builtin_popcount="yes"
20842 else $as_nop
20843 ac_cv_have___builtin_popcount="no"
20845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20846 conftest$ac_exeext conftest.$ac_ext
20848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20849 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20850 if test "$ac_cv_have___builtin_popcount" = "yes"
20851 then
20853 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20858 printf %s "checking for __clear_cache... " >&6; }
20859 if test ${ac_cv_have___clear_cache+y}
20860 then :
20861 printf %s "(cached) " >&6
20862 else $as_nop
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20867 main (void)
20869 __clear_cache((void*)0, (void*)0); return 0;
20871 return 0;
20873 _ACEOF
20874 if ac_fn_c_try_link "$LINENO"
20875 then :
20876 ac_cv_have___clear_cache="yes"
20877 else $as_nop
20878 ac_cv_have___clear_cache="no"
20880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20881 conftest$ac_exeext conftest.$ac_ext
20883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20884 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20885 if test "$ac_cv_have___clear_cache" = "yes"
20886 then
20888 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20893 case $host_cpu in
20894 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20895 printf %s "checking whether we need to define __i386__... " >&6; }
20896 if test ${ac_cv_cpp_def___i386__+y}
20897 then :
20898 printf %s "(cached) " >&6
20899 else $as_nop
20900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20901 /* end confdefs.h. */
20902 #ifndef __i386__
20904 #endif
20905 _ACEOF
20906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20907 $EGREP "yes" >/dev/null 2>&1
20908 then :
20909 ac_cv_cpp_def___i386__=yes
20910 else $as_nop
20911 ac_cv_cpp_def___i386__=no
20913 rm -rf conftest*
20916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20917 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20918 if test "x$ac_cv_cpp_def___i386__" = xyes
20919 then :
20920 CFLAGS="$CFLAGS -D__i386__"
20921 LINTFLAGS="$LINTFLAGS -D__i386__"
20922 fi ;;
20923 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20924 printf %s "checking whether we need to define __x86_64__... " >&6; }
20925 if test ${ac_cv_cpp_def___x86_64__+y}
20926 then :
20927 printf %s "(cached) " >&6
20928 else $as_nop
20929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20930 /* end confdefs.h. */
20931 #ifndef __x86_64__
20933 #endif
20934 _ACEOF
20935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20936 $EGREP "yes" >/dev/null 2>&1
20937 then :
20938 ac_cv_cpp_def___x86_64__=yes
20939 else $as_nop
20940 ac_cv_cpp_def___x86_64__=no
20942 rm -rf conftest*
20945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20946 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20947 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20948 then :
20949 CFLAGS="$CFLAGS -D__x86_64__"
20950 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20951 fi ;;
20952 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20953 printf %s "checking whether we need to define __sparc64__... " >&6; }
20954 if test ${ac_cv_cpp_def___sparc64__+y}
20955 then :
20956 printf %s "(cached) " >&6
20957 else $as_nop
20958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20959 /* end confdefs.h. */
20960 #ifndef __sparc64__
20962 #endif
20963 _ACEOF
20964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20965 $EGREP "yes" >/dev/null 2>&1
20966 then :
20967 ac_cv_cpp_def___sparc64__=yes
20968 else $as_nop
20969 ac_cv_cpp_def___sparc64__=no
20971 rm -rf conftest*
20974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20975 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20976 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20977 then :
20978 CFLAGS="$CFLAGS -D__sparc64__"
20979 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20980 fi ;;
20981 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20982 printf %s "checking whether we need to define __sparc__... " >&6; }
20983 if test ${ac_cv_cpp_def___sparc__+y}
20984 then :
20985 printf %s "(cached) " >&6
20986 else $as_nop
20987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h. */
20989 #ifndef __sparc__
20991 #endif
20992 _ACEOF
20993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20994 $EGREP "yes" >/dev/null 2>&1
20995 then :
20996 ac_cv_cpp_def___sparc__=yes
20997 else $as_nop
20998 ac_cv_cpp_def___sparc__=no
21000 rm -rf conftest*
21003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21004 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21005 if test "x$ac_cv_cpp_def___sparc__" = xyes
21006 then :
21007 CFLAGS="$CFLAGS -D__sparc__"
21008 LINTFLAGS="$LINTFLAGS -D__sparc__"
21009 fi ;;
21010 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21011 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21012 if test ${ac_cv_cpp_def___powerpc64__+y}
21013 then :
21014 printf %s "(cached) " >&6
21015 else $as_nop
21016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21017 /* end confdefs.h. */
21018 #ifndef __powerpc64__
21020 #endif
21021 _ACEOF
21022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21023 $EGREP "yes" >/dev/null 2>&1
21024 then :
21025 ac_cv_cpp_def___powerpc64__=yes
21026 else $as_nop
21027 ac_cv_cpp_def___powerpc64__=no
21029 rm -rf conftest*
21032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21033 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21034 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21035 then :
21036 CFLAGS="$CFLAGS -D__powerpc64__"
21037 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21038 fi ;;
21039 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21040 printf %s "checking whether we need to define __powerpc__... " >&6; }
21041 if test ${ac_cv_cpp_def___powerpc__+y}
21042 then :
21043 printf %s "(cached) " >&6
21044 else $as_nop
21045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21046 /* end confdefs.h. */
21047 #ifndef __powerpc__
21049 #endif
21050 _ACEOF
21051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21052 $EGREP "yes" >/dev/null 2>&1
21053 then :
21054 ac_cv_cpp_def___powerpc__=yes
21055 else $as_nop
21056 ac_cv_cpp_def___powerpc__=no
21058 rm -rf conftest*
21061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21062 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21063 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21064 then :
21065 CFLAGS="$CFLAGS -D__powerpc__"
21066 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21067 fi ;;
21068 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21069 printf %s "checking whether we need to define __aarch64__... " >&6; }
21070 if test ${ac_cv_cpp_def___aarch64__+y}
21071 then :
21072 printf %s "(cached) " >&6
21073 else $as_nop
21074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21075 /* end confdefs.h. */
21076 #ifndef __aarch64__
21078 #endif
21079 _ACEOF
21080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21081 $EGREP "yes" >/dev/null 2>&1
21082 then :
21083 ac_cv_cpp_def___aarch64__=yes
21084 else $as_nop
21085 ac_cv_cpp_def___aarch64__=no
21087 rm -rf conftest*
21090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21091 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21092 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21093 then :
21094 CFLAGS="$CFLAGS -D__aarch64__"
21095 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21096 fi ;;
21097 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21098 printf %s "checking whether we need to define __arm__... " >&6; }
21099 if test ${ac_cv_cpp_def___arm__+y}
21100 then :
21101 printf %s "(cached) " >&6
21102 else $as_nop
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21105 #ifndef __arm__
21107 #endif
21108 _ACEOF
21109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21110 $EGREP "yes" >/dev/null 2>&1
21111 then :
21112 ac_cv_cpp_def___arm__=yes
21113 else $as_nop
21114 ac_cv_cpp_def___arm__=no
21116 rm -rf conftest*
21119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21120 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21121 if test "x$ac_cv_cpp_def___arm__" = xyes
21122 then :
21123 CFLAGS="$CFLAGS -D__arm__"
21124 LINTFLAGS="$LINTFLAGS -D__arm__"
21125 fi ;;
21126 esac
21128 case $host_vendor in
21129 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21130 printf %s "checking whether we need to define __sun__... " >&6; }
21131 if test ${ac_cv_cpp_def___sun__+y}
21132 then :
21133 printf %s "(cached) " >&6
21134 else $as_nop
21135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21136 /* end confdefs.h. */
21137 #ifndef __sun__
21139 #endif
21140 _ACEOF
21141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21142 $EGREP "yes" >/dev/null 2>&1
21143 then :
21144 ac_cv_cpp_def___sun__=yes
21145 else $as_nop
21146 ac_cv_cpp_def___sun__=no
21148 rm -rf conftest*
21151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21152 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21153 if test "x$ac_cv_cpp_def___sun__" = xyes
21154 then :
21155 CFLAGS="$CFLAGS -D__sun__"
21156 LINTFLAGS="$LINTFLAGS -D__sun__"
21157 fi ;;
21158 esac
21164 ac_config_commands="$ac_config_commands include/stamp-h"
21166 printf %s "creating Makefile rules..." >&6
21168 makedep_flags=""
21169 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21171 wine_srcdir=
21172 test "$srcdir" = . || wine_srcdir="$srcdir/"
21174 ac_config_links="$ac_config_links wine:tools/winewrapper"
21175 wine_fn_config_symlink wine
21176 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21177 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21178 wine_fn_config_symlink wine64
21181 wine_fn_config_makefile dlls/acledit enable_acledit
21182 wine_fn_config_makefile dlls/aclui enable_aclui
21183 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21184 wine_fn_config_makefile dlls/activeds enable_activeds
21185 wine_fn_config_makefile dlls/activeds/tests enable_tests
21186 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21187 wine_fn_config_makefile dlls/adsldp enable_adsldp
21188 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21189 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21190 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21191 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21192 wine_fn_config_makefile dlls/advpack enable_advpack
21193 wine_fn_config_makefile dlls/advpack/tests enable_tests
21194 wine_fn_config_makefile dlls/amsi enable_amsi
21195 wine_fn_config_makefile dlls/amstream enable_amstream
21196 wine_fn_config_makefile dlls/amstream/tests enable_tests
21197 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21198 wine_fn_config_makefile dlls/apphelp enable_apphelp
21199 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21200 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21201 wine_fn_config_makefile dlls/atl enable_atl
21202 wine_fn_config_makefile dlls/atl/tests enable_tests
21203 wine_fn_config_makefile dlls/atl100 enable_atl100
21204 wine_fn_config_makefile dlls/atl100/tests enable_tests
21205 wine_fn_config_makefile dlls/atl110 enable_atl110
21206 wine_fn_config_makefile dlls/atl110/tests enable_tests
21207 wine_fn_config_makefile dlls/atl80 enable_atl80
21208 wine_fn_config_makefile dlls/atl80/tests enable_tests
21209 wine_fn_config_makefile dlls/atl90 enable_atl90
21210 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21211 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21212 wine_fn_config_makefile dlls/atmlib enable_atmlib
21213 wine_fn_config_makefile dlls/authz enable_authz
21214 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21215 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21216 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21217 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21218 wine_fn_config_makefile dlls/avrt enable_avrt
21219 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21220 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21221 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21222 wine_fn_config_makefile dlls/browseui enable_browseui
21223 wine_fn_config_makefile dlls/browseui/tests enable_tests
21224 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21225 wine_fn_config_makefile dlls/cabinet enable_cabinet
21226 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21227 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21228 wine_fn_config_makefile dlls/cards enable_cards
21229 wine_fn_config_makefile dlls/cdosys enable_cdosys
21230 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21231 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21232 wine_fn_config_makefile dlls/clusapi enable_clusapi
21233 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21234 wine_fn_config_makefile dlls/combase enable_combase
21235 wine_fn_config_makefile dlls/combase/tests enable_tests
21236 wine_fn_config_makefile dlls/comcat enable_comcat
21237 wine_fn_config_makefile dlls/comcat/tests enable_tests
21238 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21239 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21240 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21241 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21242 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21243 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21244 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21245 wine_fn_config_makefile dlls/compstui enable_compstui
21246 wine_fn_config_makefile dlls/compstui/tests enable_tests
21247 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21248 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21249 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21250 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21251 wine_fn_config_makefile dlls/connect enable_connect
21252 wine_fn_config_makefile dlls/credui enable_credui
21253 wine_fn_config_makefile dlls/credui/tests enable_tests
21254 wine_fn_config_makefile dlls/crtdll enable_crtdll
21255 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21256 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21257 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21258 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21259 wine_fn_config_makefile dlls/cryptext enable_cryptext
21260 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21261 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21262 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21263 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21264 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21265 wine_fn_config_makefile dlls/cryptui enable_cryptui
21266 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21267 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21268 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21269 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21270 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21271 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21272 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21273 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21274 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21275 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21276 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21277 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21278 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21279 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21280 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21281 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21282 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21283 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21284 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21285 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21286 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21287 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21288 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21289 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21290 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21291 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21292 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21293 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21294 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21295 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21296 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21297 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21298 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21299 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21300 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21301 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21302 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21303 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21304 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21305 wine_fn_config_makefile dlls/d3dim enable_d3dim
21306 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21307 wine_fn_config_makefile dlls/d3drm enable_d3drm
21308 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21309 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21310 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21311 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21312 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21313 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21314 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21315 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21316 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21317 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21318 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21319 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21320 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21321 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21322 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21323 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21324 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21325 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21326 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21327 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21328 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21329 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21330 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21331 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21332 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21333 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21334 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21335 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21336 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21337 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21338 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21339 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21340 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21341 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21342 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21343 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21344 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21345 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21346 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21347 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21348 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21349 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21350 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21351 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21352 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21353 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21354 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21355 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21356 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21357 wine_fn_config_makefile dlls/davclnt enable_davclnt
21358 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21359 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21360 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21361 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21362 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21363 wine_fn_config_makefile dlls/dcomp enable_dcomp
21364 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21365 wine_fn_config_makefile dlls/ddraw enable_ddraw
21366 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21367 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21368 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21369 wine_fn_config_makefile dlls/devenum enable_devenum
21370 wine_fn_config_makefile dlls/devenum/tests enable_tests
21371 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21372 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21373 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21374 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21375 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21376 wine_fn_config_makefile dlls/difxapi enable_difxapi
21377 wine_fn_config_makefile dlls/dinput enable_dinput
21378 wine_fn_config_makefile dlls/dinput/tests enable_tests
21379 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21380 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21381 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21382 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21383 wine_fn_config_makefile dlls/dispex enable_dispex
21384 wine_fn_config_makefile dlls/dispex/tests enable_tests
21385 wine_fn_config_makefile dlls/display.drv16 enable_win16
21386 wine_fn_config_makefile dlls/dmband enable_dmband
21387 wine_fn_config_makefile dlls/dmband/tests enable_tests
21388 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21389 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21390 wine_fn_config_makefile dlls/dmime enable_dmime
21391 wine_fn_config_makefile dlls/dmime/tests enable_tests
21392 wine_fn_config_makefile dlls/dmloader enable_dmloader
21393 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21394 wine_fn_config_makefile dlls/dmscript enable_dmscript
21395 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21396 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21397 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21398 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21399 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21400 wine_fn_config_makefile dlls/dmusic enable_dmusic
21401 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21402 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21403 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21404 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21405 wine_fn_config_makefile dlls/dplay enable_dplay
21406 wine_fn_config_makefile dlls/dplayx enable_dplayx
21407 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21408 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21409 wine_fn_config_makefile dlls/dpnet enable_dpnet
21410 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21411 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21412 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21413 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21414 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21415 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21416 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21417 wine_fn_config_makefile dlls/drmclien enable_drmclien
21418 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21419 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21420 wine_fn_config_makefile dlls/dsound enable_dsound
21421 wine_fn_config_makefile dlls/dsound/tests enable_tests
21422 wine_fn_config_makefile dlls/dsquery enable_dsquery
21423 wine_fn_config_makefile dlls/dssenh enable_dssenh
21424 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21425 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21426 wine_fn_config_makefile dlls/dswave enable_dswave
21427 wine_fn_config_makefile dlls/dswave/tests enable_tests
21428 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21429 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21430 wine_fn_config_makefile dlls/dwrite enable_dwrite
21431 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21432 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21433 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21434 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21435 wine_fn_config_makefile dlls/dxgi enable_dxgi
21436 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21437 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21438 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21439 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21440 wine_fn_config_makefile dlls/esent enable_esent
21441 wine_fn_config_makefile dlls/evr enable_evr
21442 wine_fn_config_makefile dlls/evr/tests enable_tests
21443 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21444 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21445 wine_fn_config_makefile dlls/faultrep enable_faultrep
21446 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21447 wine_fn_config_makefile dlls/feclient enable_feclient
21448 wine_fn_config_makefile dlls/fltlib enable_fltlib
21449 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21450 wine_fn_config_makefile dlls/fntcache enable_fntcache
21451 wine_fn_config_makefile dlls/fontsub enable_fontsub
21452 wine_fn_config_makefile dlls/fusion enable_fusion
21453 wine_fn_config_makefile dlls/fusion/tests enable_tests
21454 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21455 wine_fn_config_makefile dlls/gameux enable_gameux
21456 wine_fn_config_makefile dlls/gameux/tests enable_tests
21457 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21458 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21459 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21460 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21461 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21462 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21463 wine_fn_config_makefile dlls/glu32 enable_glu32
21464 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21465 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21466 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21467 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21468 wine_fn_config_makefile dlls/hal enable_hal
21469 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21470 wine_fn_config_makefile dlls/hid enable_hid
21471 wine_fn_config_makefile dlls/hid/tests enable_tests
21472 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21473 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21474 wine_fn_config_makefile dlls/hlink enable_hlink
21475 wine_fn_config_makefile dlls/hlink/tests enable_tests
21476 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21477 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21478 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21479 wine_fn_config_makefile dlls/http.sys enable_http_sys
21480 wine_fn_config_makefile dlls/httpapi enable_httpapi
21481 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21482 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21483 wine_fn_config_makefile dlls/iccvid enable_iccvid
21484 wine_fn_config_makefile dlls/icmp enable_icmp
21485 wine_fn_config_makefile dlls/ieframe enable_ieframe
21486 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21487 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21488 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21489 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21490 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21491 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21492 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21493 wine_fn_config_makefile dlls/imm32 enable_imm32
21494 wine_fn_config_makefile dlls/imm32/tests enable_tests
21495 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21496 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21497 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21498 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21499 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21500 wine_fn_config_makefile dlls/infosoft enable_infosoft
21501 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21502 wine_fn_config_makefile dlls/initpki enable_initpki
21503 wine_fn_config_makefile dlls/inkobj enable_inkobj
21504 wine_fn_config_makefile dlls/inseng enable_inseng
21505 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21506 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21507 wine_fn_config_makefile dlls/iprop enable_iprop
21508 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21509 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21510 wine_fn_config_makefile dlls/itircl enable_itircl
21511 wine_fn_config_makefile dlls/itss enable_itss
21512 wine_fn_config_makefile dlls/itss/tests enable_tests
21513 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21514 wine_fn_config_makefile dlls/jscript enable_jscript
21515 wine_fn_config_makefile dlls/jscript/tests enable_tests
21516 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21517 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21518 wine_fn_config_makefile dlls/kerberos enable_kerberos
21519 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21520 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21521 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21522 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21523 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21524 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21525 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21526 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21527 wine_fn_config_makefile dlls/ksuser enable_ksuser
21528 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21529 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21530 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21531 wine_fn_config_makefile dlls/loadperf enable_loadperf
21532 wine_fn_config_makefile dlls/localspl enable_localspl
21533 wine_fn_config_makefile dlls/localspl/tests enable_tests
21534 wine_fn_config_makefile dlls/localui enable_localui
21535 wine_fn_config_makefile dlls/localui/tests enable_tests
21536 wine_fn_config_makefile dlls/lz32 enable_lz32
21537 wine_fn_config_makefile dlls/lz32/tests enable_tests
21538 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21539 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21540 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21541 wine_fn_config_makefile dlls/mapistub enable_mapistub
21542 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21543 wine_fn_config_makefile dlls/mcicda enable_mcicda
21544 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21545 wine_fn_config_makefile dlls/mciseq enable_mciseq
21546 wine_fn_config_makefile dlls/mciwave enable_mciwave
21547 wine_fn_config_makefile dlls/mf enable_mf
21548 wine_fn_config_makefile dlls/mf/tests enable_tests
21549 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21550 wine_fn_config_makefile dlls/mferror enable_mferror
21551 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21552 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21553 wine_fn_config_makefile dlls/mfplat enable_mfplat
21554 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21555 wine_fn_config_makefile dlls/mfplay enable_mfplay
21556 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21557 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21558 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21559 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21560 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21561 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21562 wine_fn_config_makefile dlls/midimap enable_midimap
21563 wine_fn_config_makefile dlls/mlang enable_mlang
21564 wine_fn_config_makefile dlls/mlang/tests enable_tests
21565 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21566 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21567 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21568 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21569 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21570 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21571 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21572 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21573 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21574 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21575 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21576 wine_fn_config_makefile dlls/mpr enable_mpr
21577 wine_fn_config_makefile dlls/mpr/tests enable_tests
21578 wine_fn_config_makefile dlls/mprapi enable_mprapi
21579 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21580 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21581 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21582 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21583 wine_fn_config_makefile dlls/msado15 enable_msado15
21584 wine_fn_config_makefile dlls/msado15/tests enable_tests
21585 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21586 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21587 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21588 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21589 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21590 wine_fn_config_makefile dlls/mscms enable_mscms
21591 wine_fn_config_makefile dlls/mscms/tests enable_tests
21592 wine_fn_config_makefile dlls/mscoree enable_mscoree
21593 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21594 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21595 wine_fn_config_makefile dlls/msctf enable_msctf
21596 wine_fn_config_makefile dlls/msctf/tests enable_tests
21597 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21598 wine_fn_config_makefile dlls/msctfp enable_msctfp
21599 wine_fn_config_makefile dlls/msdaps enable_msdaps
21600 wine_fn_config_makefile dlls/msdasql enable_msdasql
21601 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21602 wine_fn_config_makefile dlls/msdelta enable_msdelta
21603 wine_fn_config_makefile dlls/msdmo enable_msdmo
21604 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21605 wine_fn_config_makefile dlls/msdrm enable_msdrm
21606 wine_fn_config_makefile dlls/msftedit enable_msftedit
21607 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21608 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21609 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21610 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21611 wine_fn_config_makefile dlls/mshtml enable_mshtml
21612 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21613 wine_fn_config_makefile dlls/msi enable_msi
21614 wine_fn_config_makefile dlls/msi/tests enable_tests
21615 wine_fn_config_makefile dlls/msident enable_msident
21616 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21617 wine_fn_config_makefile dlls/msimsg enable_msimsg
21618 wine_fn_config_makefile dlls/msimtf enable_msimtf
21619 wine_fn_config_makefile dlls/msisip enable_msisip
21620 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21621 wine_fn_config_makefile dlls/msls31 enable_msls31
21622 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21623 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21624 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21625 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21626 wine_fn_config_makefile dlls/msports enable_msports
21627 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21628 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21629 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21630 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21631 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21632 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21633 wine_fn_config_makefile dlls/mstask enable_mstask
21634 wine_fn_config_makefile dlls/mstask/tests enable_tests
21635 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21636 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21637 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21638 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21639 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21640 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21641 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21642 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21643 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21644 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21645 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21646 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21647 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21648 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21649 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21650 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21651 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21652 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21653 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21654 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21655 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21656 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21657 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21658 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21659 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21660 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21661 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21662 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21663 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21664 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21665 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21666 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21667 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21668 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21669 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21670 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21671 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21672 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21673 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21674 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21675 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21676 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21677 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21678 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21679 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21680 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21681 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21682 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21683 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21684 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21685 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21686 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21687 wine_fn_config_makefile dlls/mswsock enable_mswsock
21688 wine_fn_config_makefile dlls/msxml enable_msxml
21689 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21690 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21691 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21692 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21693 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21694 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21695 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21696 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21697 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21698 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21699 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21700 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21701 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21702 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21703 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21704 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21705 wine_fn_config_makefile dlls/netprofm enable_netprofm
21706 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21707 wine_fn_config_makefile dlls/netutils enable_netutils
21708 wine_fn_config_makefile dlls/newdev enable_newdev
21709 wine_fn_config_makefile dlls/ninput enable_ninput
21710 wine_fn_config_makefile dlls/ninput/tests enable_tests
21711 wine_fn_config_makefile dlls/normaliz enable_normaliz
21712 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21713 wine_fn_config_makefile dlls/npptools enable_npptools
21714 wine_fn_config_makefile dlls/nsi enable_nsi
21715 wine_fn_config_makefile dlls/nsi/tests enable_tests
21716 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21717 wine_fn_config_makefile dlls/ntdll enable_ntdll
21718 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21719 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21720 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21721 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21722 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21723 wine_fn_config_makefile dlls/ntprint enable_ntprint
21724 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21725 wine_fn_config_makefile dlls/objsel enable_objsel
21726 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21727 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21728 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21729 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21730 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21731 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21732 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21733 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21734 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21735 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21736 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21737 wine_fn_config_makefile dlls/ole32 enable_ole32
21738 wine_fn_config_makefile dlls/ole32/tests enable_tests
21739 wine_fn_config_makefile dlls/oleacc enable_oleacc
21740 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21741 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21742 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21743 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21744 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21745 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21746 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21747 wine_fn_config_makefile dlls/oledlg enable_oledlg
21748 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21749 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21750 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21751 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21752 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21753 wine_fn_config_makefile dlls/opcservices enable_opcservices
21754 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21755 wine_fn_config_makefile dlls/opencl enable_opencl
21756 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21757 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21758 wine_fn_config_makefile dlls/packager enable_packager
21759 wine_fn_config_makefile dlls/packager/tests enable_tests
21760 wine_fn_config_makefile dlls/pdh enable_pdh
21761 wine_fn_config_makefile dlls/pdh/tests enable_tests
21762 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21763 wine_fn_config_makefile dlls/pidgen enable_pidgen
21764 wine_fn_config_makefile dlls/powrprof enable_powrprof
21765 wine_fn_config_makefile dlls/printui enable_printui
21766 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21767 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21768 wine_fn_config_makefile dlls/propsys enable_propsys
21769 wine_fn_config_makefile dlls/propsys/tests enable_tests
21770 wine_fn_config_makefile dlls/psapi enable_psapi
21771 wine_fn_config_makefile dlls/psapi/tests enable_tests
21772 wine_fn_config_makefile dlls/pstorec enable_pstorec
21773 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21774 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21775 wine_fn_config_makefile dlls/qasf enable_qasf
21776 wine_fn_config_makefile dlls/qasf/tests enable_tests
21777 wine_fn_config_makefile dlls/qcap enable_qcap
21778 wine_fn_config_makefile dlls/qcap/tests enable_tests
21779 wine_fn_config_makefile dlls/qdvd enable_qdvd
21780 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21781 wine_fn_config_makefile dlls/qedit enable_qedit
21782 wine_fn_config_makefile dlls/qedit/tests enable_tests
21783 wine_fn_config_makefile dlls/qmgr enable_qmgr
21784 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21785 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21786 wine_fn_config_makefile dlls/quartz enable_quartz
21787 wine_fn_config_makefile dlls/quartz/tests enable_tests
21788 wine_fn_config_makefile dlls/query enable_query
21789 wine_fn_config_makefile dlls/qwave enable_qwave
21790 wine_fn_config_makefile dlls/qwave/tests enable_tests
21791 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21792 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21793 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21794 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21795 wine_fn_config_makefile dlls/regapi enable_regapi
21796 wine_fn_config_makefile dlls/resutils enable_resutils
21797 wine_fn_config_makefile dlls/riched20 enable_riched20
21798 wine_fn_config_makefile dlls/riched20/tests enable_tests
21799 wine_fn_config_makefile dlls/riched32 enable_riched32
21800 wine_fn_config_makefile dlls/riched32/tests enable_tests
21801 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21802 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21803 wine_fn_config_makefile dlls/rsabase enable_rsabase
21804 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21805 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21806 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21807 wine_fn_config_makefile dlls/rtutils enable_rtutils
21808 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21809 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21810 wine_fn_config_makefile dlls/samlib enable_samlib
21811 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21812 wine_fn_config_makefile dlls/sapi enable_sapi
21813 wine_fn_config_makefile dlls/sapi/tests enable_tests
21814 wine_fn_config_makefile dlls/sas enable_sas
21815 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21816 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21817 wine_fn_config_makefile dlls/sccbase enable_sccbase
21818 wine_fn_config_makefile dlls/schannel enable_schannel
21819 wine_fn_config_makefile dlls/schannel/tests enable_tests
21820 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21821 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21822 wine_fn_config_makefile dlls/scrobj enable_scrobj
21823 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21824 wine_fn_config_makefile dlls/scrrun enable_scrrun
21825 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21826 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21827 wine_fn_config_makefile dlls/sechost enable_sechost
21828 wine_fn_config_makefile dlls/secur32 enable_secur32
21829 wine_fn_config_makefile dlls/secur32/tests enable_tests
21830 wine_fn_config_makefile dlls/security enable_security
21831 wine_fn_config_makefile dlls/sensapi enable_sensapi
21832 wine_fn_config_makefile dlls/serialui enable_serialui
21833 wine_fn_config_makefile dlls/serialui/tests enable_tests
21834 wine_fn_config_makefile dlls/setupapi enable_setupapi
21835 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21836 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21837 wine_fn_config_makefile dlls/sfc enable_sfc
21838 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21839 wine_fn_config_makefile dlls/shcore enable_shcore
21840 wine_fn_config_makefile dlls/shcore/tests enable_tests
21841 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21842 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21843 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21844 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21845 wine_fn_config_makefile dlls/shell32 enable_shell32
21846 wine_fn_config_makefile dlls/shell32/tests enable_tests
21847 wine_fn_config_makefile dlls/shfolder enable_shfolder
21848 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21849 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21850 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21851 wine_fn_config_makefile dlls/slc enable_slc
21852 wine_fn_config_makefile dlls/slc/tests enable_tests
21853 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21854 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21855 wine_fn_config_makefile dlls/softpub enable_softpub
21856 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21857 wine_fn_config_makefile dlls/spoolss enable_spoolss
21858 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21859 wine_fn_config_makefile dlls/sppc enable_sppc
21860 wine_fn_config_makefile dlls/srclient enable_srclient
21861 wine_fn_config_makefile dlls/srvcli enable_srvcli
21862 wine_fn_config_makefile dlls/sspicli enable_sspicli
21863 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21864 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21865 wine_fn_config_makefile dlls/sti enable_sti
21866 wine_fn_config_makefile dlls/sti/tests enable_tests
21867 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21868 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21869 wine_fn_config_makefile dlls/strmdll enable_strmdll
21870 wine_fn_config_makefile dlls/svrapi enable_svrapi
21871 wine_fn_config_makefile dlls/sxs enable_sxs
21872 wine_fn_config_makefile dlls/sxs/tests enable_tests
21873 wine_fn_config_makefile dlls/system.drv16 enable_win16
21874 wine_fn_config_makefile dlls/t2embed enable_t2embed
21875 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21876 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21877 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21878 wine_fn_config_makefile dlls/taskschd enable_taskschd
21879 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21880 wine_fn_config_makefile dlls/tbs enable_tbs
21881 wine_fn_config_makefile dlls/tdh enable_tdh
21882 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21883 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21884 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21885 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21886 wine_fn_config_makefile dlls/traffic enable_traffic
21887 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21888 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21889 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21890 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21891 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21892 wine_fn_config_makefile dlls/tzres enable_tzres
21893 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21894 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21895 wine_fn_config_makefile dlls/uianimation enable_uianimation
21896 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21897 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21898 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21899 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21900 wine_fn_config_makefile dlls/unicows enable_unicows
21901 wine_fn_config_makefile dlls/updspapi enable_updspapi
21902 wine_fn_config_makefile dlls/url enable_url
21903 wine_fn_config_makefile dlls/urlmon enable_urlmon
21904 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21905 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21906 wine_fn_config_makefile dlls/user.exe16 enable_win16
21907 wine_fn_config_makefile dlls/user32 enable_user32
21908 wine_fn_config_makefile dlls/user32/tests enable_tests
21909 wine_fn_config_makefile dlls/userenv enable_userenv
21910 wine_fn_config_makefile dlls/userenv/tests enable_tests
21911 wine_fn_config_makefile dlls/usp10 enable_usp10
21912 wine_fn_config_makefile dlls/usp10/tests enable_tests
21913 wine_fn_config_makefile dlls/utildll enable_utildll
21914 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21915 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21916 wine_fn_config_makefile dlls/vbscript enable_vbscript
21917 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21918 wine_fn_config_makefile dlls/vcomp enable_vcomp
21919 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21920 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21921 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21922 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21923 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21924 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21925 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21926 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21927 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21928 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21929 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21930 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21931 wine_fn_config_makefile dlls/version enable_version
21932 wine_fn_config_makefile dlls/version/tests enable_tests
21933 wine_fn_config_makefile dlls/vga enable_vga
21934 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21935 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21936 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21937 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21938 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21939 wine_fn_config_makefile dlls/vssapi enable_vssapi
21940 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21941 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21942 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21943 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21944 wine_fn_config_makefile dlls/w32skrnl enable_win16
21945 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21946 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21947 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21948 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21949 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21950 wine_fn_config_makefile dlls/wdscore enable_wdscore
21951 wine_fn_config_makefile dlls/webservices enable_webservices
21952 wine_fn_config_makefile dlls/webservices/tests enable_tests
21953 wine_fn_config_makefile dlls/websocket enable_websocket
21954 wine_fn_config_makefile dlls/wer enable_wer
21955 wine_fn_config_makefile dlls/wer/tests enable_tests
21956 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21957 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21958 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21959 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21960 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21961 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21962 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21963 wine_fn_config_makefile dlls/win32u enable_win32u
21964 wine_fn_config_makefile dlls/win32u/tests enable_tests
21965 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21966 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21967 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21968 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21969 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21970 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21971 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21972 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21973 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21974 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21975 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21976 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21977 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21978 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21979 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21980 wine_fn_config_makefile dlls/windows.media enable_windows_media
21981 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21982 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21983 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21984 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21985 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21986 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21987 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21988 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21989 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21990 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21991 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21992 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21993 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21994 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21995 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21996 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21997 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21998 wine_fn_config_makefile dlls/wined3d enable_wined3d
21999 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22000 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22001 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22002 wine_fn_config_makefile dlls/winemapi enable_winemapi
22003 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22004 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22005 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22006 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22007 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22008 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22009 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22010 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22011 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22012 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22013 wine_fn_config_makefile dlls/wing32 enable_wing32
22014 wine_fn_config_makefile dlls/winhttp enable_winhttp
22015 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22016 wine_fn_config_makefile dlls/wininet enable_wininet
22017 wine_fn_config_makefile dlls/wininet/tests enable_tests
22018 wine_fn_config_makefile dlls/winmm enable_winmm
22019 wine_fn_config_makefile dlls/winmm/tests enable_tests
22020 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22021 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22022 wine_fn_config_makefile dlls/winprint enable_winprint
22023 wine_fn_config_makefile dlls/winscard enable_winscard
22024 wine_fn_config_makefile dlls/winscard/tests enable_tests
22025 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22026 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22027 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22028 wine_fn_config_makefile dlls/winsta enable_winsta
22029 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22030 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22031 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22032 wine_fn_config_makefile dlls/wintrust enable_wintrust
22033 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22034 wine_fn_config_makefile dlls/wintypes enable_wintypes
22035 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22036 wine_fn_config_makefile dlls/winusb enable_winusb
22037 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22038 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22039 wine_fn_config_makefile dlls/wlanui enable_wlanui
22040 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22041 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22042 wine_fn_config_makefile dlls/wmasf enable_wmasf
22043 wine_fn_config_makefile dlls/wmi enable_wmi
22044 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22045 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22046 wine_fn_config_makefile dlls/wmp enable_wmp
22047 wine_fn_config_makefile dlls/wmp/tests enable_tests
22048 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22049 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22050 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22051 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22052 wine_fn_config_makefile dlls/wofutil enable_wofutil
22053 wine_fn_config_makefile dlls/wow32 enable_win16
22054 wine_fn_config_makefile dlls/wow64 enable_wow64
22055 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22056 wine_fn_config_makefile dlls/wow64win enable_wow64win
22057 wine_fn_config_makefile dlls/wpc enable_wpc
22058 wine_fn_config_makefile dlls/wpc/tests enable_tests
22059 wine_fn_config_makefile dlls/wpcap enable_wpcap
22060 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22061 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22062 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22063 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22064 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22065 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22066 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22067 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22068 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22069 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22070 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22071 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22072 wine_fn_config_makefile dlls/wuapi enable_wuapi
22073 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22074 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22075 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22076 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22077 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22078 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22079 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22080 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22081 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22082 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22083 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22084 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22085 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22086 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22087 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22088 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22089 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22090 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22091 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22092 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22093 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22094 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22095 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22096 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22097 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22098 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22099 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22100 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22101 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22102 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22103 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22104 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22105 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22106 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22107 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22108 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22109 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22110 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22111 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22112 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22113 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22114 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22115 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22116 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22117 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22118 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22119 wine_fn_config_makefile dlls/xmllite enable_xmllite
22120 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22121 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22122 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22123 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22124 wine_fn_config_makefile fonts enable_fonts
22125 wine_fn_config_makefile include enable_include
22126 wine_fn_config_makefile libs/adsiid enable_adsiid
22127 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22128 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22129 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22130 wine_fn_config_makefile libs/dxguid enable_dxguid
22131 wine_fn_config_makefile libs/faudio enable_faudio
22132 wine_fn_config_makefile libs/gsm enable_gsm
22133 wine_fn_config_makefile libs/jpeg enable_jpeg
22134 wine_fn_config_makefile libs/jxr enable_jxr
22135 wine_fn_config_makefile libs/lcms2 enable_lcms2
22136 wine_fn_config_makefile libs/ldap enable_ldap
22137 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22138 wine_fn_config_makefile libs/mpg123 enable_mpg123
22139 wine_fn_config_makefile libs/musl enable_musl
22140 wine_fn_config_makefile libs/png enable_png
22141 wine_fn_config_makefile libs/strmbase enable_strmbase
22142 wine_fn_config_makefile libs/strmiids enable_strmiids
22143 wine_fn_config_makefile libs/tiff enable_tiff
22144 wine_fn_config_makefile libs/uuid enable_uuid
22145 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22146 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22147 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22148 wine_fn_config_makefile libs/xml2 enable_xml2
22149 wine_fn_config_makefile libs/xslt enable_xslt
22150 wine_fn_config_makefile libs/zlib enable_zlib
22151 wine_fn_config_makefile libs/zydis enable_zydis
22152 wine_fn_config_makefile loader enable_loader
22153 wine_fn_config_makefile nls enable_nls
22154 wine_fn_config_makefile po enable_po
22155 wine_fn_config_makefile programs/arp enable_arp
22156 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22157 wine_fn_config_makefile programs/attrib enable_attrib
22158 wine_fn_config_makefile programs/cabarc enable_cabarc
22159 wine_fn_config_makefile programs/cacls enable_cacls
22160 wine_fn_config_makefile programs/certutil enable_certutil
22161 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22162 wine_fn_config_makefile programs/clock enable_clock
22163 wine_fn_config_makefile programs/cmd enable_cmd
22164 wine_fn_config_makefile programs/cmd/tests enable_tests
22165 wine_fn_config_makefile programs/conhost enable_conhost
22166 wine_fn_config_makefile programs/conhost/tests enable_tests
22167 wine_fn_config_makefile programs/control enable_control
22168 wine_fn_config_makefile programs/cscript enable_cscript
22169 wine_fn_config_makefile programs/dism enable_dism
22170 wine_fn_config_makefile programs/dllhost enable_dllhost
22171 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22172 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22173 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22174 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22175 wine_fn_config_makefile programs/eject enable_eject
22176 wine_fn_config_makefile programs/expand enable_expand
22177 wine_fn_config_makefile programs/explorer enable_explorer
22178 wine_fn_config_makefile programs/explorer/tests enable_tests
22179 wine_fn_config_makefile programs/extrac32 enable_extrac32
22180 wine_fn_config_makefile programs/fc enable_fc
22181 wine_fn_config_makefile programs/find enable_find
22182 wine_fn_config_makefile programs/find/tests enable_tests
22183 wine_fn_config_makefile programs/findstr enable_findstr
22184 wine_fn_config_makefile programs/findstr/tests enable_tests
22185 wine_fn_config_makefile programs/fsutil enable_fsutil
22186 wine_fn_config_makefile programs/fsutil/tests enable_tests
22187 wine_fn_config_makefile programs/hh enable_hh
22188 wine_fn_config_makefile programs/hostname enable_hostname
22189 wine_fn_config_makefile programs/icacls enable_icacls
22190 wine_fn_config_makefile programs/icinfo enable_icinfo
22191 wine_fn_config_makefile programs/iexplore enable_iexplore
22192 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22193 wine_fn_config_makefile programs/lodctr enable_lodctr
22194 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22195 wine_fn_config_makefile programs/mshta enable_mshta
22196 wine_fn_config_makefile programs/msidb enable_msidb
22197 wine_fn_config_makefile programs/msiexec enable_msiexec
22198 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22199 wine_fn_config_makefile programs/net enable_net
22200 wine_fn_config_makefile programs/netsh enable_netsh
22201 wine_fn_config_makefile programs/netstat enable_netstat
22202 wine_fn_config_makefile programs/ngen enable_ngen
22203 wine_fn_config_makefile programs/notepad enable_notepad
22204 wine_fn_config_makefile programs/oleview enable_oleview
22205 wine_fn_config_makefile programs/ping enable_ping
22206 wine_fn_config_makefile programs/plugplay enable_plugplay
22207 wine_fn_config_makefile programs/pnputil enable_pnputil
22208 wine_fn_config_makefile programs/powershell enable_powershell
22209 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22210 wine_fn_config_makefile programs/progman enable_progman
22211 wine_fn_config_makefile programs/reg enable_reg
22212 wine_fn_config_makefile programs/reg/tests enable_tests
22213 wine_fn_config_makefile programs/regasm enable_regasm
22214 wine_fn_config_makefile programs/regedit enable_regedit
22215 wine_fn_config_makefile programs/regedit/tests enable_tests
22216 wine_fn_config_makefile programs/regini enable_regini
22217 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22218 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22219 wine_fn_config_makefile programs/robocopy enable_robocopy
22220 wine_fn_config_makefile programs/rpcss enable_rpcss
22221 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22222 wine_fn_config_makefile programs/rundll32 enable_rundll32
22223 wine_fn_config_makefile programs/sc enable_sc
22224 wine_fn_config_makefile programs/sc/tests enable_tests
22225 wine_fn_config_makefile programs/schtasks enable_schtasks
22226 wine_fn_config_makefile programs/schtasks/tests enable_tests
22227 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22228 wine_fn_config_makefile programs/secedit enable_secedit
22229 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22230 wine_fn_config_makefile programs/services enable_services
22231 wine_fn_config_makefile programs/services/tests enable_tests
22232 wine_fn_config_makefile programs/setx enable_setx
22233 wine_fn_config_makefile programs/shutdown enable_shutdown
22234 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22235 wine_fn_config_makefile programs/start enable_start
22236 wine_fn_config_makefile programs/subst enable_subst
22237 wine_fn_config_makefile programs/svchost enable_svchost
22238 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22239 wine_fn_config_makefile programs/taskkill enable_taskkill
22240 wine_fn_config_makefile programs/tasklist enable_tasklist
22241 wine_fn_config_makefile programs/tasklist/tests enable_tests
22242 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22243 wine_fn_config_makefile programs/termsv enable_termsv
22244 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22245 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22246 wine_fn_config_makefile programs/view enable_view
22247 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22248 wine_fn_config_makefile programs/where enable_where
22249 wine_fn_config_makefile programs/whoami enable_whoami
22250 wine_fn_config_makefile programs/wineboot enable_wineboot
22251 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22252 wine_fn_config_makefile programs/winecfg enable_winecfg
22253 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22254 wine_fn_config_makefile programs/winedbg enable_winedbg
22255 wine_fn_config_makefile programs/winedevice enable_winedevice
22256 wine_fn_config_makefile programs/winefile enable_winefile
22257 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22258 wine_fn_config_makefile programs/winemine enable_winemine
22259 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22260 wine_fn_config_makefile programs/winepath enable_winepath
22261 wine_fn_config_makefile programs/winetest enable_winetest
22262 wine_fn_config_makefile programs/winevdm enable_win16
22263 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22264 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22265 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22266 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22267 wine_fn_config_makefile programs/winver enable_winver
22268 wine_fn_config_makefile programs/wmic enable_wmic
22269 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22270 wine_fn_config_makefile programs/wordpad enable_wordpad
22271 wine_fn_config_makefile programs/write enable_write
22272 wine_fn_config_makefile programs/wscript enable_wscript
22273 wine_fn_config_makefile programs/wscript/tests enable_tests
22274 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22275 wine_fn_config_makefile programs/wusa enable_wusa
22276 wine_fn_config_makefile programs/xcopy enable_xcopy
22277 wine_fn_config_makefile programs/xcopy/tests enable_tests
22278 wine_fn_config_makefile server enable_server
22279 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22280 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22281 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22282 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22283 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22284 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22285 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22286 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22287 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22290 as_fn_append CONFIGURE_TARGETS " TAGS"
22291 as_fn_append CONFIGURE_TARGETS " tags"
22292 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22293 as_fn_append CONFIGURE_TARGETS " config.log"
22294 as_fn_append CONFIGURE_TARGETS " config.status"
22295 as_fn_append CONFIGURE_TARGETS " include/config.h"
22296 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22297 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22299 if test "x$enable_tools" != xno
22300 then
22301 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22302 ac_config_commands="$ac_config_commands tools/makedep"
22306 ac_config_commands="$ac_config_commands Makefile"
22310 SHELL=/bin/sh
22313 as_fn_append wine_rules "
22314 all: wine
22315 @echo \"Wine build complete.\"
22316 .INIT: Makefile
22317 .MAKEFILEDEPS:
22318 all: Makefile
22319 Makefile: config.status \$(MAKEDEP)
22320 @./config.status Makefile
22321 depend: \$(MAKEDEP)
22322 \$(MAKEDEP)$makedep_flags"
22325 as_fn_append wine_rules "
22326 config.status: ${wine_srcdir}configure
22327 @./config.status --recheck
22328 include/config.h: include/stamp-h
22329 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22330 @./config.status include/config.h include/stamp-h"
22332 if test "x$enable_maintainer_mode" = xyes
22333 then
22334 as_fn_append wine_rules "
22335 configure: configure.ac aclocal.m4
22336 autoconf --warnings=all
22337 include/config.h.in: include/stamp-h.in
22338 include/stamp-h.in: configure.ac aclocal.m4
22339 autoheader --warnings=all
22340 @echo timestamp > \$@"
22343 if test "x$enable_tools" != xno
22344 then
22345 as_fn_append wine_rules "
22346 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22347 @./config.status tools/makedep
22348 Makefile: tools/makedep$ac_exeext"
22349 else
22350 as_fn_append wine_rules "
22351 \$(MAKEDEP):
22352 @echo \"You need to run make in $toolsdir first\" && false"
22356 if test -n "$with_wine64"
22357 then
22358 case "$with_wine64" in
22359 /*) reldir="" ;;
22360 *) reldir="../" ;;
22361 esac
22362 rm -f fonts server 2>/dev/null
22363 as_fn_append wine_rules "
22364 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22365 loader/wine64 loader/wine64-preloader:
22366 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22367 $with_wine64/loader/wine:
22368 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22369 $with_wine64/loader/wine-preloader:
22370 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22371 clean::
22372 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22373 else
22374 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22375 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22376 fonts \
22377 loader/wine.inf \
22378 nls \
22379 programs/msidb/msidb \
22380 programs/msiexec/msiexec \
22381 programs/notepad/notepad \
22382 programs/regedit/regedit \
22383 programs/regsvr32/regsvr32 \
22384 programs/wineboot/wineboot \
22385 programs/winecfg/winecfg \
22386 programs/wineconsole/wineconsole \
22387 programs/winedbg/winedbg \
22388 programs/winefile/winefile \
22389 programs/winemine/winemine \
22390 programs/winepath/winepath \
22391 server/wineserver"
22393 case $host_os in
22394 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22395 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22396 esac
22400 as_fn_append wine_rules "
22401 distclean:: clean
22402 rm -rf autom4te.cache
22403 maintainer-clean::
22404 rm -f configure include/config.h.in"
22407 as_fn_append wine_rules "
22408 dlls/ntdll/unix/version.c: dummy
22409 @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)
22410 programs/winetest/build.rc: dummy
22411 @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)
22412 programs/winetest/build.nfo:
22413 @-\$(CC) -v 2>\$@
22414 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
22415 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22416 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22419 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22421 as_fn_append wine_rules "
22422 TAGS etags:
22423 rm -f TAGS
22424 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22425 tags ctags:
22426 rm -f tags
22427 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22428 dummy:
22429 .PHONY: depend dummy install-manpages"
22431 printf "%s\n" " done" >&6
22432 cat >confcache <<\_ACEOF
22433 # This file is a shell script that caches the results of configure
22434 # tests run on this system so they can be shared between configure
22435 # scripts and configure runs, see configure's option --config-cache.
22436 # It is not useful on other systems. If it contains results you don't
22437 # want to keep, you may remove or edit it.
22439 # config.status only pays attention to the cache file if you give it
22440 # the --recheck option to rerun configure.
22442 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22443 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22444 # following values.
22446 _ACEOF
22448 # The following way of writing the cache mishandles newlines in values,
22449 # but we know of no workaround that is simple, portable, and efficient.
22450 # So, we kill variables containing newlines.
22451 # Ultrix sh set writes to stderr and can't be redirected directly,
22452 # and sets the high bit in the cache file unless we assign to the vars.
22454 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22455 eval ac_val=\$$ac_var
22456 case $ac_val in #(
22457 *${as_nl}*)
22458 case $ac_var in #(
22459 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22460 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22461 esac
22462 case $ac_var in #(
22463 _ | IFS | as_nl) ;; #(
22464 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22465 *) { eval $ac_var=; unset $ac_var;} ;;
22466 esac ;;
22467 esac
22468 done
22470 (set) 2>&1 |
22471 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22472 *${as_nl}ac_space=\ *)
22473 # `set' does not quote correctly, so add quotes: double-quote
22474 # substitution turns \\\\ into \\, and sed turns \\ into \.
22475 sed -n \
22476 "s/'/'\\\\''/g;
22477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22478 ;; #(
22480 # `set' quotes correctly as required by POSIX, so do not add quotes.
22481 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22483 esac |
22484 sort
22486 sed '
22487 /^ac_cv_env_/b end
22488 t clear
22489 :clear
22490 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22491 t end
22492 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22493 :end' >>confcache
22494 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22495 if test -w "$cache_file"; then
22496 if test "x$cache_file" != "x/dev/null"; then
22497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22498 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22499 if test ! -f "$cache_file" || test -h "$cache_file"; then
22500 cat confcache >"$cache_file"
22501 else
22502 case $cache_file in #(
22503 */* | ?:*)
22504 mv -f confcache "$cache_file"$$ &&
22505 mv -f "$cache_file"$$ "$cache_file" ;; #(
22507 mv -f confcache "$cache_file" ;;
22508 esac
22511 else
22512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22513 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22516 rm -f confcache
22518 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22519 # Let make expand exec_prefix.
22520 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22522 DEFS=-DHAVE_CONFIG_H
22524 ac_libobjs=
22525 ac_ltlibobjs=
22527 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22528 # 1. Remove the extension, and $U if already installed.
22529 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22530 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22531 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22532 # will be set to the directory where LIBOBJS objects are built.
22533 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22534 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22535 done
22536 LIBOBJS=$ac_libobjs
22538 LTLIBOBJS=$ac_ltlibobjs
22542 : "${CONFIG_STATUS=./config.status}"
22543 ac_write_fail=0
22544 ac_clean_files_save=$ac_clean_files
22545 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22547 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22548 as_write_fail=0
22549 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22550 #! $SHELL
22551 # Generated by $as_me.
22552 # Run this file to recreate the current configuration.
22553 # Compiler output produced by configure, useful for debugging
22554 # configure, is in config.log if it exists.
22556 debug=false
22557 ac_cs_recheck=false
22558 ac_cs_silent=false
22560 SHELL=\${CONFIG_SHELL-$SHELL}
22561 export SHELL
22562 _ASEOF
22563 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22564 ## -------------------- ##
22565 ## M4sh Initialization. ##
22566 ## -------------------- ##
22568 # Be more Bourne compatible
22569 DUALCASE=1; export DUALCASE # for MKS sh
22570 as_nop=:
22571 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22572 then :
22573 emulate sh
22574 NULLCMD=:
22575 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22576 # is contrary to our usage. Disable this feature.
22577 alias -g '${1+"$@"}'='"$@"'
22578 setopt NO_GLOB_SUBST
22579 else $as_nop
22580 case `(set -o) 2>/dev/null` in #(
22581 *posix*) :
22582 set -o posix ;; #(
22583 *) :
22585 esac
22590 # Reset variables that may have inherited troublesome values from
22591 # the environment.
22593 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22594 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22595 # side effect of setting IFS to empty, thus disabling word splitting.)
22596 # Quoting is to prevent editors from complaining about space-tab.
22597 as_nl='
22599 export as_nl
22600 IFS=" "" $as_nl"
22602 PS1='$ '
22603 PS2='> '
22604 PS4='+ '
22606 # Ensure predictable behavior from utilities with locale-dependent output.
22607 LC_ALL=C
22608 export LC_ALL
22609 LANGUAGE=C
22610 export LANGUAGE
22612 # We cannot yet rely on "unset" to work, but we need these variables
22613 # to be unset--not just set to an empty or harmless value--now, to
22614 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22615 # also avoids known problems related to "unset" and subshell syntax
22616 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22617 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22618 do eval test \${$as_var+y} \
22619 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22620 done
22622 # Ensure that fds 0, 1, and 2 are open.
22623 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22624 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22625 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22627 # The user is always right.
22628 if ${PATH_SEPARATOR+false} :; then
22629 PATH_SEPARATOR=:
22630 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22631 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22632 PATH_SEPARATOR=';'
22637 # Find who we are. Look in the path if we contain no directory separator.
22638 as_myself=
22639 case $0 in #((
22640 *[\\/]* ) as_myself=$0 ;;
22641 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22642 for as_dir in $PATH
22644 IFS=$as_save_IFS
22645 case $as_dir in #(((
22646 '') as_dir=./ ;;
22647 */) ;;
22648 *) as_dir=$as_dir/ ;;
22649 esac
22650 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22651 done
22652 IFS=$as_save_IFS
22655 esac
22656 # We did not find ourselves, most probably we were run as `sh COMMAND'
22657 # in which case we are not to be found in the path.
22658 if test "x$as_myself" = x; then
22659 as_myself=$0
22661 if test ! -f "$as_myself"; then
22662 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22663 exit 1
22668 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22669 # ----------------------------------------
22670 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22671 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22672 # script with STATUS, using 1 if that was 0.
22673 as_fn_error ()
22675 as_status=$1; test $as_status -eq 0 && as_status=1
22676 if test "$4"; then
22677 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22680 printf "%s\n" "$as_me: error: $2" >&2
22681 as_fn_exit $as_status
22682 } # as_fn_error
22686 # as_fn_set_status STATUS
22687 # -----------------------
22688 # Set $? to STATUS, without forking.
22689 as_fn_set_status ()
22691 return $1
22692 } # as_fn_set_status
22694 # as_fn_exit STATUS
22695 # -----------------
22696 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22697 as_fn_exit ()
22699 set +e
22700 as_fn_set_status $1
22701 exit $1
22702 } # as_fn_exit
22704 # as_fn_unset VAR
22705 # ---------------
22706 # Portably unset VAR.
22707 as_fn_unset ()
22709 { eval $1=; unset $1;}
22711 as_unset=as_fn_unset
22713 # as_fn_append VAR VALUE
22714 # ----------------------
22715 # Append the text in VALUE to the end of the definition contained in VAR. Take
22716 # advantage of any shell optimizations that allow amortized linear growth over
22717 # repeated appends, instead of the typical quadratic growth present in naive
22718 # implementations.
22719 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22720 then :
22721 eval 'as_fn_append ()
22723 eval $1+=\$2
22725 else $as_nop
22726 as_fn_append ()
22728 eval $1=\$$1\$2
22730 fi # as_fn_append
22732 # as_fn_arith ARG...
22733 # ------------------
22734 # Perform arithmetic evaluation on the ARGs, and store the result in the
22735 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22736 # must be portable across $(()) and expr.
22737 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22738 then :
22739 eval 'as_fn_arith ()
22741 as_val=$(( $* ))
22743 else $as_nop
22744 as_fn_arith ()
22746 as_val=`expr "$@" || test $? -eq 1`
22748 fi # as_fn_arith
22751 if expr a : '\(a\)' >/dev/null 2>&1 &&
22752 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22753 as_expr=expr
22754 else
22755 as_expr=false
22758 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22759 as_basename=basename
22760 else
22761 as_basename=false
22764 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22765 as_dirname=dirname
22766 else
22767 as_dirname=false
22770 as_me=`$as_basename -- "$0" ||
22771 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22772 X"$0" : 'X\(//\)$' \| \
22773 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22774 printf "%s\n" X/"$0" |
22775 sed '/^.*\/\([^/][^/]*\)\/*$/{
22776 s//\1/
22779 /^X\/\(\/\/\)$/{
22780 s//\1/
22783 /^X\/\(\/\).*/{
22784 s//\1/
22787 s/.*/./; q'`
22789 # Avoid depending upon Character Ranges.
22790 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22791 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22792 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22793 as_cr_digits='0123456789'
22794 as_cr_alnum=$as_cr_Letters$as_cr_digits
22797 # Determine whether it's possible to make 'echo' print without a newline.
22798 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22799 # for compatibility with existing Makefiles.
22800 ECHO_C= ECHO_N= ECHO_T=
22801 case `echo -n x` in #(((((
22802 -n*)
22803 case `echo 'xy\c'` in
22804 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22805 xy) ECHO_C='\c';;
22806 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22807 ECHO_T=' ';;
22808 esac;;
22810 ECHO_N='-n';;
22811 esac
22813 # For backward compatibility with old third-party macros, we provide
22814 # the shell variables $as_echo and $as_echo_n. New code should use
22815 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22816 as_echo='printf %s\n'
22817 as_echo_n='printf %s'
22819 rm -f conf$$ conf$$.exe conf$$.file
22820 if test -d conf$$.dir; then
22821 rm -f conf$$.dir/conf$$.file
22822 else
22823 rm -f conf$$.dir
22824 mkdir conf$$.dir 2>/dev/null
22826 if (echo >conf$$.file) 2>/dev/null; then
22827 if ln -s conf$$.file conf$$ 2>/dev/null; then
22828 as_ln_s='ln -s'
22829 # ... but there are two gotchas:
22830 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22831 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22832 # In both cases, we have to default to `cp -pR'.
22833 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22834 as_ln_s='cp -pR'
22835 elif ln conf$$.file conf$$ 2>/dev/null; then
22836 as_ln_s=ln
22837 else
22838 as_ln_s='cp -pR'
22840 else
22841 as_ln_s='cp -pR'
22843 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22844 rmdir conf$$.dir 2>/dev/null
22847 # as_fn_mkdir_p
22848 # -------------
22849 # Create "$as_dir" as a directory, including parents if necessary.
22850 as_fn_mkdir_p ()
22853 case $as_dir in #(
22854 -*) as_dir=./$as_dir;;
22855 esac
22856 test -d "$as_dir" || eval $as_mkdir_p || {
22857 as_dirs=
22858 while :; do
22859 case $as_dir in #(
22860 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22861 *) as_qdir=$as_dir;;
22862 esac
22863 as_dirs="'$as_qdir' $as_dirs"
22864 as_dir=`$as_dirname -- "$as_dir" ||
22865 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22866 X"$as_dir" : 'X\(//\)[^/]' \| \
22867 X"$as_dir" : 'X\(//\)$' \| \
22868 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22869 printf "%s\n" X"$as_dir" |
22870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22871 s//\1/
22874 /^X\(\/\/\)[^/].*/{
22875 s//\1/
22878 /^X\(\/\/\)$/{
22879 s//\1/
22882 /^X\(\/\).*/{
22883 s//\1/
22886 s/.*/./; q'`
22887 test -d "$as_dir" && break
22888 done
22889 test -z "$as_dirs" || eval "mkdir $as_dirs"
22890 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22893 } # as_fn_mkdir_p
22894 if mkdir -p . 2>/dev/null; then
22895 as_mkdir_p='mkdir -p "$as_dir"'
22896 else
22897 test -d ./-p && rmdir ./-p
22898 as_mkdir_p=false
22902 # as_fn_executable_p FILE
22903 # -----------------------
22904 # Test if FILE is an executable regular file.
22905 as_fn_executable_p ()
22907 test -f "$1" && test -x "$1"
22908 } # as_fn_executable_p
22909 as_test_x='test -x'
22910 as_executable_p=as_fn_executable_p
22912 # Sed expression to map a string onto a valid CPP name.
22913 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22915 # Sed expression to map a string onto a valid variable name.
22916 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22919 exec 6>&1
22920 ## ----------------------------------- ##
22921 ## Main body of $CONFIG_STATUS script. ##
22922 ## ----------------------------------- ##
22923 _ASEOF
22924 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22927 # Save the log message, to keep $0 and so on meaningful, and to
22928 # report actual input values of CONFIG_FILES etc. instead of their
22929 # values after options handling.
22930 ac_log="
22931 This file was extended by Wine $as_me 8.11, which was
22932 generated by GNU Autoconf 2.71. Invocation command line was
22934 CONFIG_FILES = $CONFIG_FILES
22935 CONFIG_HEADERS = $CONFIG_HEADERS
22936 CONFIG_LINKS = $CONFIG_LINKS
22937 CONFIG_COMMANDS = $CONFIG_COMMANDS
22938 $ $0 $@
22940 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22943 _ACEOF
22946 case $ac_config_headers in *"
22947 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22948 esac
22951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22952 # Files that config.status was made for.
22953 config_headers="$ac_config_headers"
22954 config_links="$ac_config_links"
22955 config_commands="$ac_config_commands"
22957 _ACEOF
22959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22960 ac_cs_usage="\
22961 \`$as_me' instantiates files and other configuration actions
22962 from templates according to the current configuration. Unless the files
22963 and actions are specified as TAGs, all are instantiated by default.
22965 Usage: $0 [OPTION]... [TAG]...
22967 -h, --help print this help, then exit
22968 -V, --version print version number and configuration settings, then exit
22969 --config print configuration, then exit
22970 -q, --quiet, --silent
22971 do not print progress messages
22972 -d, --debug don't remove temporary files
22973 --recheck update $as_me by reconfiguring in the same conditions
22974 --header=FILE[:TEMPLATE]
22975 instantiate the configuration header FILE
22977 Configuration headers:
22978 $config_headers
22980 Configuration links:
22981 $config_links
22983 Configuration commands:
22984 $config_commands
22986 Report bugs to <wine-devel@winehq.org>.
22987 Wine home page: <https://www.winehq.org>."
22989 _ACEOF
22990 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22991 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22993 ac_cs_config='$ac_cs_config_escaped'
22994 ac_cs_version="\\
22995 Wine config.status 8.11
22996 configured by $0, generated by GNU Autoconf 2.71,
22997 with options \\"\$ac_cs_config\\"
22999 Copyright (C) 2021 Free Software Foundation, Inc.
23000 This config.status script is free software; the Free Software Foundation
23001 gives unlimited permission to copy, distribute and modify it."
23003 ac_pwd='$ac_pwd'
23004 srcdir='$srcdir'
23005 test -n "\$AWK" || AWK=awk
23006 _ACEOF
23008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23009 # The default lists apply if the user does not specify any file.
23010 ac_need_defaults=:
23011 while test $# != 0
23013 case $1 in
23014 --*=?*)
23015 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23016 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23017 ac_shift=:
23019 --*=)
23020 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23021 ac_optarg=
23022 ac_shift=:
23025 ac_option=$1
23026 ac_optarg=$2
23027 ac_shift=shift
23029 esac
23031 case $ac_option in
23032 # Handling of the options.
23033 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23034 ac_cs_recheck=: ;;
23035 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23036 printf "%s\n" "$ac_cs_version"; exit ;;
23037 --config | --confi | --conf | --con | --co | --c )
23038 printf "%s\n" "$ac_cs_config"; exit ;;
23039 --debug | --debu | --deb | --de | --d | -d )
23040 debug=: ;;
23041 --header | --heade | --head | --hea )
23042 $ac_shift
23043 case $ac_optarg in
23044 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23045 esac
23046 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23047 ac_need_defaults=false;;
23048 --he | --h)
23049 # Conflict between --help and --header
23050 as_fn_error $? "ambiguous option: \`$1'
23051 Try \`$0 --help' for more information.";;
23052 --help | --hel | -h )
23053 printf "%s\n" "$ac_cs_usage"; exit ;;
23054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23055 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23056 ac_cs_silent=: ;;
23058 # This is an error.
23059 -*) as_fn_error $? "unrecognized option: \`$1'
23060 Try \`$0 --help' for more information." ;;
23062 *) as_fn_append ac_config_targets " $1"
23063 ac_need_defaults=false ;;
23065 esac
23066 shift
23067 done
23069 ac_configure_extra_args=
23071 if $ac_cs_silent; then
23072 exec 6>/dev/null
23073 ac_configure_extra_args="$ac_configure_extra_args --silent"
23076 _ACEOF
23077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23078 if \$ac_cs_recheck; then
23079 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23080 shift
23081 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23082 CONFIG_SHELL='$SHELL'
23083 export CONFIG_SHELL
23084 exec "\$@"
23087 _ACEOF
23088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23089 exec 5>>config.log
23091 echo
23092 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23093 ## Running $as_me. ##
23094 _ASBOX
23095 printf "%s\n" "$ac_log"
23096 } >&5
23098 _ACEOF
23099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23101 # INIT-COMMANDS
23103 wine_fn_output_makedep ()
23105 as_dir=tools; as_fn_mkdir_p
23106 $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
23108 wine_fn_output_makefile ()
23110 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23111 # This Makefile understands the following targets:
23113 # all (default): build wine
23114 # clean: remove all intermediate files
23115 # distclean: also remove all files created by configure
23116 # test: run tests
23117 # testclean: clean test results to force running all tests again
23118 # install-lib: install libraries needed to run applications
23119 # install-dev: install development environment
23120 # install: install everything
23121 # uninstall: uninstall everything
23122 # ctags: create a tags file for vim and others.
23123 # etags: create a TAGS file for Emacs.
23125 SHELL = $SHELL
23126 PATH_SEPARATOR = $PATH_SEPARATOR
23127 PACKAGE_NAME = $PACKAGE_NAME
23128 PACKAGE_TARNAME = $PACKAGE_TARNAME
23129 PACKAGE_VERSION = $PACKAGE_VERSION
23130 PACKAGE_STRING = $PACKAGE_STRING
23131 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23132 PACKAGE_URL = $PACKAGE_URL
23133 exec_prefix = $exec_prefix
23134 prefix = $prefix
23135 program_transform_name = $program_transform_name
23136 bindir = $bindir
23137 sbindir = $sbindir
23138 libexecdir = $libexecdir
23139 datarootdir = $datarootdir
23140 datadir = $datadir
23141 sysconfdir = $sysconfdir
23142 sharedstatedir = $sharedstatedir
23143 localstatedir = $localstatedir
23144 runstatedir = $runstatedir
23145 includedir = $includedir
23146 oldincludedir = $oldincludedir
23147 docdir = $docdir
23148 infodir = $infodir
23149 htmldir = $htmldir
23150 dvidir = $dvidir
23151 pdfdir = $pdfdir
23152 psdir = $psdir
23153 libdir = $libdir
23154 localedir = $localedir
23155 mandir = $mandir
23156 DEFS = $DEFS
23157 ECHO_C = $ECHO_C
23158 ECHO_N = $ECHO_N
23159 ECHO_T = $ECHO_T
23160 LIBS = $LIBS
23161 build_alias = $build_alias
23162 host_alias = $host_alias
23163 target_alias = $target_alias
23164 system_dllpath = $system_dllpath
23165 build = $build
23166 build_cpu = $build_cpu
23167 build_vendor = $build_vendor
23168 build_os = $build_os
23169 host = $host
23170 host_cpu = $host_cpu
23171 host_vendor = $host_vendor
23172 host_os = $host_os
23173 dlldir = $dlldir
23174 fontdir = $fontdir
23175 nlsdir = $nlsdir
23176 srcdir = $srcdir
23177 SET_MAKE = $SET_MAKE
23178 CC = $CC
23179 CFLAGS = $CFLAGS
23180 LDFLAGS = $LDFLAGS
23181 CPPFLAGS = $CPPFLAGS
23182 ac_ct_CC = $ac_ct_CC
23183 EXEEXT = $EXEEXT
23184 OBJEXT = $OBJEXT
23185 CXX = $CXX
23186 CXXFLAGS = $CXXFLAGS
23187 ac_ct_CXX = $ac_ct_CXX
23188 CPPBIN = $CPPBIN
23189 LD = $LD
23190 TARGETFLAGS = $TARGETFLAGS
23191 toolsext = $toolsext
23192 HOST_ARCH = $HOST_ARCH
23193 aarch64_CC = $aarch64_CC
23194 aarch64_CFLAGS = $aarch64_CFLAGS
23195 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23196 aarch64_LDFLAGS = $aarch64_LDFLAGS
23197 aarch64_DEBUG = $aarch64_DEBUG
23198 aarch64_TARGET = $aarch64_TARGET
23199 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23200 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23201 arm_CC = $arm_CC
23202 arm_CFLAGS = $arm_CFLAGS
23203 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23204 arm_LDFLAGS = $arm_LDFLAGS
23205 arm_DEBUG = $arm_DEBUG
23206 arm_TARGET = $arm_TARGET
23207 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23208 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23209 i386_CC = $i386_CC
23210 i386_CFLAGS = $i386_CFLAGS
23211 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23212 i386_LDFLAGS = $i386_LDFLAGS
23213 i386_DEBUG = $i386_DEBUG
23214 i386_TARGET = $i386_TARGET
23215 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23216 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23217 x86_64_CC = $x86_64_CC
23218 x86_64_CFLAGS = $x86_64_CFLAGS
23219 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23220 x86_64_LDFLAGS = $x86_64_LDFLAGS
23221 x86_64_DEBUG = $x86_64_DEBUG
23222 x86_64_TARGET = $x86_64_TARGET
23223 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23224 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23225 toolsdir = $toolsdir
23226 MAKEDEP = $MAKEDEP
23227 RUNTESTFLAGS = $RUNTESTFLAGS
23228 SED_CMD = $SED_CMD
23229 FLEX = $FLEX
23230 BISON = $BISON
23231 AR = $AR
23232 ac_ct_AR = $ac_ct_AR
23233 STRIP = $STRIP
23234 RANLIB = $RANLIB
23235 LN_S = $LN_S
23236 GREP = $GREP
23237 EGREP = $EGREP
23238 LDCONFIG = $LDCONFIG
23239 MSGFMT = $MSGFMT
23240 PKG_CONFIG = $PKG_CONFIG
23241 FONTFORGE = $FONTFORGE
23242 RSVG = $RSVG
23243 CONVERT = $CONVERT
23244 ICOTOOL = $ICOTOOL
23245 I386_LIBS = $I386_LIBS
23246 OPENGL_LIBS = $OPENGL_LIBS
23247 DLLFLAGS = $DLLFLAGS
23248 LDDLLFLAGS = $LDDLLFLAGS
23249 LDEXECFLAGS = $LDEXECFLAGS
23250 EXTRACFLAGS = $EXTRACFLAGS
23251 UNIXDLLFLAGS = $UNIXDLLFLAGS
23252 UNIXLDFLAGS = $UNIXLDFLAGS
23253 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23254 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23255 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23256 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23257 DLLEXT = $DLLEXT
23258 LDD = $LDD
23259 OTOOL = $OTOOL
23260 READELF = $READELF
23261 SUBDIRS = $SUBDIRS
23262 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23263 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23264 CARBON_LIBS = $CARBON_LIBS
23265 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23266 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23267 IOKIT_LIBS = $IOKIT_LIBS
23268 METAL_LIBS = $METAL_LIBS
23269 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23270 CORESERVICES_LIBS = $CORESERVICES_LIBS
23271 APPKIT_LIBS = $APPKIT_LIBS
23272 SECURITY_LIBS = $SECURITY_LIBS
23273 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23274 COREAUDIO_LIBS = $COREAUDIO_LIBS
23275 OPENCL_LIBS = $OPENCL_LIBS
23276 OBJC = $OBJC
23277 OBJCFLAGS = $OBJCFLAGS
23278 ac_ct_OBJC = $ac_ct_OBJC
23279 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23280 PE_ARCHS = $PE_ARCHS
23281 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23282 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23283 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23284 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23285 GSM_PE_LIBS = $GSM_PE_LIBS
23286 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23287 JPEG_PE_LIBS = $JPEG_PE_LIBS
23288 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23289 JXR_PE_LIBS = $JXR_PE_LIBS
23290 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23291 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23292 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23293 LDAP_PE_LIBS = $LDAP_PE_LIBS
23294 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23295 MPG123_PE_LIBS = $MPG123_PE_LIBS
23296 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23297 MUSL_PE_LIBS = $MUSL_PE_LIBS
23298 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23299 PNG_PE_LIBS = $PNG_PE_LIBS
23300 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23301 TIFF_PE_LIBS = $TIFF_PE_LIBS
23302 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23303 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23304 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23305 XML2_PE_LIBS = $XML2_PE_LIBS
23306 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23307 XSLT_PE_LIBS = $XSLT_PE_LIBS
23308 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23309 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23310 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23311 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23312 PTHREAD_LIBS = $PTHREAD_LIBS
23313 XMKMF = $XMKMF
23314 CPP = $CPP
23315 X_CFLAGS = $X_CFLAGS
23316 X_PRE_LIBS = $X_PRE_LIBS
23317 X_LIBS = $X_LIBS
23318 X_EXTRA_LIBS = $X_EXTRA_LIBS
23319 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23320 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23321 WAYLAND_SCANNER = $WAYLAND_SCANNER
23322 PCAP_LIBS = $PCAP_LIBS
23323 PCSCLITE_LIBS = $PCSCLITE_LIBS
23324 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23325 INOTIFY_LIBS = $INOTIFY_LIBS
23326 DBUS_CFLAGS = $DBUS_CFLAGS
23327 DBUS_LIBS = $DBUS_LIBS
23328 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23329 GNUTLS_LIBS = $GNUTLS_LIBS
23330 SANE_CFLAGS = $SANE_CFLAGS
23331 SANE_LIBS = $SANE_LIBS
23332 USB_CFLAGS = $USB_CFLAGS
23333 USB_LIBS = $USB_LIBS
23334 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23335 GPHOTO2_LIBS = $GPHOTO2_LIBS
23336 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23337 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23338 RESOLV_LIBS = $RESOLV_LIBS
23339 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23340 FREETYPE_LIBS = $FREETYPE_LIBS
23341 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23342 PULSE_CFLAGS = $PULSE_CFLAGS
23343 PULSE_LIBS = $PULSE_LIBS
23344 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23345 GSTREAMER_LIBS = $GSTREAMER_LIBS
23346 ALSA_LIBS = $ALSA_LIBS
23347 OSS4_CFLAGS = $OSS4_CFLAGS
23348 OSS4_LIBS = $OSS4_LIBS
23349 UDEV_CFLAGS = $UDEV_CFLAGS
23350 UDEV_LIBS = $UDEV_LIBS
23351 UNWIND_CFLAGS = $UNWIND_CFLAGS
23352 UNWIND_LIBS = $UNWIND_LIBS
23353 SDL2_CFLAGS = $SDL2_CFLAGS
23354 SDL2_LIBS = $SDL2_LIBS
23355 CAPI20_CFLAGS = $CAPI20_CFLAGS
23356 CAPI20_LIBS = $CAPI20_LIBS
23357 CUPS_CFLAGS = $CUPS_CFLAGS
23358 CUPS_LIBS = $CUPS_LIBS
23359 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23360 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23361 KRB5_CFLAGS = $KRB5_CFLAGS
23362 KRB5_LIBS = $KRB5_LIBS
23363 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23364 GSSAPI_LIBS = $GSSAPI_LIBS
23365 PROCSTAT_LIBS = $PROCSTAT_LIBS
23366 NETAPI_CFLAGS = $NETAPI_CFLAGS
23367 NETAPI_LIBS = $NETAPI_LIBS
23368 MSVCRTFLAGS = $MSVCRTFLAGS
23369 DELAYLOADFLAG = $DELAYLOADFLAG
23370 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23371 RT_LIBS = $RT_LIBS
23372 TAGSFLAGS = $TAGSFLAGS
23373 LIBOBJS = $LIBOBJS
23374 LTLIBOBJS = $LTLIBOBJS
23375 $SET_MAKE
23376 $wine_rules
23377 _WINE_EOF
23378 as_fn_error $? "could not create Makefile" "$LINENO" 5
23381 _ACEOF
23383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23385 # Handling of arguments.
23386 for ac_config_target in $ac_config_targets
23388 case $ac_config_target in
23389 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23390 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23391 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23392 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23393 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23394 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23396 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23397 esac
23398 done
23401 # If the user did not use the arguments to specify the items to instantiate,
23402 # then the envvar interface is used. Set only those that are not.
23403 # We use the long form for the default assignment because of an extremely
23404 # bizarre bug on SunOS 4.1.3.
23405 if $ac_need_defaults; then
23406 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23407 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23408 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23411 # Have a temporary directory for convenience. Make it in the build tree
23412 # simply because there is no reason against having it here, and in addition,
23413 # creating and moving files from /tmp can sometimes cause problems.
23414 # Hook for its removal unless debugging.
23415 # Note that there is a small window in which the directory will not be cleaned:
23416 # after its creation but before its name has been assigned to `$tmp'.
23417 $debug ||
23419 tmp= ac_tmp=
23420 trap 'exit_status=$?
23421 : "${ac_tmp:=$tmp}"
23422 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23424 trap 'as_fn_exit 1' 1 2 13 15
23426 # Create a (secure) tmp directory for tmp files.
23429 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23430 test -d "$tmp"
23431 } ||
23433 tmp=./conf$$-$RANDOM
23434 (umask 077 && mkdir "$tmp")
23435 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23436 ac_tmp=$tmp
23438 # Set up the scripts for CONFIG_HEADERS section.
23439 # No need to generate them if there are no CONFIG_HEADERS.
23440 # This happens for instance with `./config.status Makefile'.
23441 if test -n "$CONFIG_HEADERS"; then
23442 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23443 BEGIN {
23444 _ACEOF
23446 # Transform confdefs.h into an awk script `defines.awk', embedded as
23447 # here-document in config.status, that substitutes the proper values into
23448 # config.h.in to produce config.h.
23450 # Create a delimiter string that does not exist in confdefs.h, to ease
23451 # handling of long lines.
23452 ac_delim='%!_!# '
23453 for ac_last_try in false false :; do
23454 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23455 if test -z "$ac_tt"; then
23456 break
23457 elif $ac_last_try; then
23458 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23459 else
23460 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23462 done
23464 # For the awk script, D is an array of macro values keyed by name,
23465 # likewise P contains macro parameters if any. Preserve backslash
23466 # newline sequences.
23468 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23469 sed -n '
23470 s/.\{148\}/&'"$ac_delim"'/g
23471 t rset
23472 :rset
23473 s/^[ ]*#[ ]*define[ ][ ]*/ /
23474 t def
23476 :def
23477 s/\\$//
23478 t bsnl
23479 s/["\\]/\\&/g
23480 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23481 D["\1"]=" \3"/p
23482 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23484 :bsnl
23485 s/["\\]/\\&/g
23486 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23487 D["\1"]=" \3\\\\\\n"\\/p
23488 t cont
23489 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23490 t cont
23492 :cont
23494 s/.\{148\}/&'"$ac_delim"'/g
23495 t clear
23496 :clear
23497 s/\\$//
23498 t bsnlc
23499 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23501 :bsnlc
23502 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23503 b cont
23504 ' <confdefs.h | sed '
23505 s/'"$ac_delim"'/"\\\
23506 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23509 for (key in D) D_is_set[key] = 1
23510 FS = "\a"
23512 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23513 line = \$ 0
23514 split(line, arg, " ")
23515 if (arg[1] == "#") {
23516 defundef = arg[2]
23517 mac1 = arg[3]
23518 } else {
23519 defundef = substr(arg[1], 2)
23520 mac1 = arg[2]
23522 split(mac1, mac2, "(") #)
23523 macro = mac2[1]
23524 prefix = substr(line, 1, index(line, defundef) - 1)
23525 if (D_is_set[macro]) {
23526 # Preserve the white space surrounding the "#".
23527 print prefix "define", macro P[macro] D[macro]
23528 next
23529 } else {
23530 # Replace #undef with comments. This is necessary, for example,
23531 # in the case of _POSIX_SOURCE, which is predefined and required
23532 # on some systems where configure will not decide to define it.
23533 if (defundef == "undef") {
23534 print "/*", prefix defundef, macro, "*/"
23535 next
23539 { print }
23540 _ACAWK
23541 _ACEOF
23542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23543 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23544 fi # test -n "$CONFIG_HEADERS"
23547 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23548 shift
23549 for ac_tag
23551 case $ac_tag in
23552 :[FHLC]) ac_mode=$ac_tag; continue;;
23553 esac
23554 case $ac_mode$ac_tag in
23555 :[FHL]*:*);;
23556 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23557 :[FH]-) ac_tag=-:-;;
23558 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23559 esac
23560 ac_save_IFS=$IFS
23561 IFS=:
23562 set x $ac_tag
23563 IFS=$ac_save_IFS
23564 shift
23565 ac_file=$1
23566 shift
23568 case $ac_mode in
23569 :L) ac_source=$1;;
23570 :[FH])
23571 ac_file_inputs=
23572 for ac_f
23574 case $ac_f in
23575 -) ac_f="$ac_tmp/stdin";;
23576 *) # Look for the file first in the build tree, then in the source tree
23577 # (if the path is not absolute). The absolute path cannot be DOS-style,
23578 # because $ac_f cannot contain `:'.
23579 test -f "$ac_f" ||
23580 case $ac_f in
23581 [\\/$]*) false;;
23582 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23583 esac ||
23584 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23585 esac
23586 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23587 as_fn_append ac_file_inputs " '$ac_f'"
23588 done
23590 # Let's still pretend it is `configure' which instantiates (i.e., don't
23591 # use $as_me), people would be surprised to read:
23592 # /* config.h. Generated by config.status. */
23593 configure_input='Generated from '`
23594 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23595 `' by configure.'
23596 if test x"$ac_file" != x-; then
23597 configure_input="$ac_file. $configure_input"
23598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23599 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23601 # Neutralize special characters interpreted by sed in replacement strings.
23602 case $configure_input in #(
23603 *\&* | *\|* | *\\* )
23604 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23605 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23606 *) ac_sed_conf_input=$configure_input;;
23607 esac
23609 case $ac_tag in
23610 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23611 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23612 esac
23614 esac
23616 ac_dir=`$as_dirname -- "$ac_file" ||
23617 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23618 X"$ac_file" : 'X\(//\)[^/]' \| \
23619 X"$ac_file" : 'X\(//\)$' \| \
23620 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23621 printf "%s\n" X"$ac_file" |
23622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23623 s//\1/
23626 /^X\(\/\/\)[^/].*/{
23627 s//\1/
23630 /^X\(\/\/\)$/{
23631 s//\1/
23634 /^X\(\/\).*/{
23635 s//\1/
23638 s/.*/./; q'`
23639 as_dir="$ac_dir"; as_fn_mkdir_p
23640 ac_builddir=.
23642 case "$ac_dir" in
23643 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23645 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23646 # A ".." for each directory in $ac_dir_suffix.
23647 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23648 case $ac_top_builddir_sub in
23649 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23650 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23651 esac ;;
23652 esac
23653 ac_abs_top_builddir=$ac_pwd
23654 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23655 # for backward compatibility:
23656 ac_top_builddir=$ac_top_build_prefix
23658 case $srcdir in
23659 .) # We are building in place.
23660 ac_srcdir=.
23661 ac_top_srcdir=$ac_top_builddir_sub
23662 ac_abs_top_srcdir=$ac_pwd ;;
23663 [\\/]* | ?:[\\/]* ) # Absolute name.
23664 ac_srcdir=$srcdir$ac_dir_suffix;
23665 ac_top_srcdir=$srcdir
23666 ac_abs_top_srcdir=$srcdir ;;
23667 *) # Relative name.
23668 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23669 ac_top_srcdir=$ac_top_build_prefix$srcdir
23670 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23671 esac
23672 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23675 case $ac_mode in
23679 # CONFIG_HEADER
23681 if test x"$ac_file" != x-; then
23683 printf "%s\n" "/* $configure_input */" >&1 \
23684 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23685 } >"$ac_tmp/config.h" \
23686 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23687 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23689 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23690 else
23691 rm -f "$ac_file"
23692 mv "$ac_tmp/config.h" "$ac_file" \
23693 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23695 else
23696 printf "%s\n" "/* $configure_input */" >&1 \
23697 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23698 || as_fn_error $? "could not create -" "$LINENO" 5
23703 # CONFIG_LINK
23706 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23708 else
23709 # Prefer the file from the source tree if names are identical.
23710 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23711 ac_source=$srcdir/$ac_source
23714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23715 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23717 if test ! -r "$ac_source"; then
23718 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23720 rm -f "$ac_file"
23722 # Try a relative symlink, then a hard link, then a copy.
23723 case $ac_source in
23724 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23725 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23726 esac
23727 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23728 ln "$ac_source" "$ac_file" 2>/dev/null ||
23729 cp -p "$ac_source" "$ac_file" ||
23730 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23733 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23734 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23736 esac
23739 case $ac_file$ac_mode in
23740 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23741 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23742 "Makefile":C) wine_fn_output_makefile Makefile ;;
23744 esac
23745 done # for ac_tag
23748 as_fn_exit 0
23749 _ACEOF
23750 ac_clean_files=$ac_clean_files_save
23752 test $ac_write_fail = 0 ||
23753 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23756 # configure is writing to config.log, and then calls config.status.
23757 # config.status does its own redirection, appending to config.log.
23758 # Unfortunately, on DOS this fails, as config.log is still kept open
23759 # by configure, so config.status won't be able to write to it; its
23760 # output is simply discarded. So we exec the FD to /dev/null,
23761 # effectively closing config.log, so it can be properly (re)opened and
23762 # appended to by config.status. When coming back to configure, we
23763 # need to make the FD available again.
23764 if test "$no_create" != yes; then
23765 ac_cs_success=:
23766 ac_config_status_args=
23767 test "$silent" = yes &&
23768 ac_config_status_args="$ac_config_status_args --quiet"
23769 exec 5>/dev/null
23770 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23771 exec 5>>config.log
23772 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23773 # would make configure fail if this is the last instruction.
23774 $ac_cs_success || as_fn_exit 1
23776 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23778 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23782 if test "$no_create" = "yes"
23783 then
23784 exit 0
23787 ac_save_IFS="$IFS"
23788 if test "x$wine_notices" != x; then
23789 echo >&6
23790 IFS="|"
23791 for msg in $wine_notices; do
23792 IFS="$ac_save_IFS"
23793 if ${msg:+false} :
23794 then :
23796 else $as_nop
23797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23798 printf "%s\n" "$as_me: $msg" >&6;}
23800 done
23802 IFS="|"
23803 for msg in $wine_warnings; do
23804 IFS="$ac_save_IFS"
23805 if ${msg:+false} :
23806 then :
23808 else $as_nop
23809 echo >&2
23810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23811 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23813 done
23814 IFS="$ac_save_IFS"
23816 printf "%s\n" "
23817 $as_me: Finished. Do '${ac_make}' to compile Wine.
23818 " >&6