fluidsynth: Use Wine debugging facility for traces.
[wine.git] / configure
blobb3b8a607087d50b447fa1e848e05ca28527c9f15
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.17.
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.17'
615 PACKAGE_STRING='Wine 8.17'
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 FLUIDSYNTH_PE_LIBS
744 FLUIDSYNTH_PE_CFLAGS
745 FAUDIO_PE_LIBS
746 FAUDIO_PE_CFLAGS
747 MINGW_PKG_CONFIG
748 PE_ARCHS
749 WINELOADER_DEPENDS
750 ac_ct_OBJC
751 OBJCFLAGS
752 OBJC
753 OPENCL_LIBS
754 COREAUDIO_LIBS
755 SYSTEMCONFIGURATION_LIBS
756 SECURITY_LIBS
757 APPKIT_LIBS
758 CORESERVICES_LIBS
759 APPLICATIONSERVICES_LIBS
760 METAL_LIBS
761 IOKIT_LIBS
762 DISKARBITRATION_LIBS
763 COREFOUNDATION_LIBS
764 CARBON_LIBS
765 CONFIGURE_TARGETS
766 DISABLED_SUBDIRS
767 SUBDIRS
768 READELF
769 OTOOL
771 DLLEXT
772 WINEPRELOADER_LDFLAGS
773 WINELOADER_LDFLAGS
774 TOP_INSTALL_DEV
775 TOP_INSTALL_LIB
776 UNIXLDFLAGS
777 UNIXDLLFLAGS
778 EXTRACFLAGS
779 LDEXECFLAGS
780 LDDLLFLAGS
781 DLLFLAGS
782 OPENGL_LIBS
783 I386_LIBS
784 ICOTOOL
785 CONVERT
786 RSVG
787 FONTFORGE
788 PKG_CONFIG
789 MSGFMT
790 LDCONFIG
791 EGREP
792 GREP
793 LN_S
794 RANLIB
795 STRIP
796 ac_ct_AR
798 BISON
799 FLEX
800 SED_CMD
801 RUNTESTFLAGS
802 MAKEDEP
803 toolsdir
804 x86_64_DISABLED_SUBDIRS
805 x86_64_DELAYLOADFLAG
806 x86_64_TARGET
807 x86_64_DEBUG
808 x86_64_LDFLAGS
809 x86_64_EXTRACFLAGS
810 x86_64_CFLAGS
811 x86_64_CC
812 i386_DISABLED_SUBDIRS
813 i386_DELAYLOADFLAG
814 i386_TARGET
815 i386_DEBUG
816 i386_LDFLAGS
817 i386_EXTRACFLAGS
818 i386_CFLAGS
819 i386_CC
820 arm_DISABLED_SUBDIRS
821 arm_DELAYLOADFLAG
822 arm_TARGET
823 arm_DEBUG
824 arm_LDFLAGS
825 arm_EXTRACFLAGS
826 arm_CFLAGS
827 arm_CC
828 aarch64_DISABLED_SUBDIRS
829 aarch64_DELAYLOADFLAG
830 aarch64_TARGET
831 aarch64_DEBUG
832 aarch64_LDFLAGS
833 aarch64_EXTRACFLAGS
834 aarch64_CFLAGS
835 aarch64_CC
836 HOST_ARCH
837 toolsext
838 TARGETFLAGS
840 CPPBIN
841 ac_ct_CXX
842 CXXFLAGS
844 OBJEXT
845 EXEEXT
846 ac_ct_CC
847 CPPFLAGS
848 LDFLAGS
849 CFLAGS
851 SET_MAKE
852 srcdir
853 nlsdir
854 fontdir
855 dlldir
856 host_os
857 host_vendor
858 host_cpu
859 host
860 build_os
861 build_vendor
862 build_cpu
863 build
864 system_dllpath
865 target_alias
866 host_alias
867 build_alias
868 LIBS
869 ECHO_T
870 ECHO_N
871 ECHO_C
872 DEFS
873 mandir
874 localedir
875 libdir
876 psdir
877 pdfdir
878 dvidir
879 htmldir
880 infodir
881 docdir
882 oldincludedir
883 includedir
884 runstatedir
885 localstatedir
886 sharedstatedir
887 sysconfdir
888 datadir
889 datarootdir
890 libexecdir
891 sbindir
892 bindir
893 program_transform_name
894 prefix
895 exec_prefix
896 PACKAGE_URL
897 PACKAGE_BUGREPORT
898 PACKAGE_STRING
899 PACKAGE_VERSION
900 PACKAGE_TARNAME
901 PACKAGE_NAME
902 PATH_SEPARATOR
903 SHELL'
904 ac_subst_files=''
905 ac_user_opts='
906 enable_option_checking
907 enable_archs
908 enable_win16
909 enable_win64
910 enable_tests
911 enable_build_id
912 enable_maintainer_mode
913 enable_silent_rules
914 enable_werror
915 with_alsa
916 with_capi
917 with_coreaudio
918 with_cups
919 with_dbus
920 with_float_abi
921 with_fontconfig
922 with_freetype
923 with_gettext
924 with_gettextpo
925 with_gphoto
926 with_gnutls
927 with_gssapi
928 with_gstreamer
929 with_inotify
930 with_krb5
931 with_mingw
932 with_netapi
933 with_opencl
934 with_opengl
935 with_osmesa
936 with_oss
937 with_pcap
938 with_pcsclite
939 with_pthread
940 with_pulse
941 with_sane
942 with_sdl
943 with_udev
944 with_unwind
945 with_usb
946 with_v4l2
947 with_vulkan
948 with_wayland
949 with_xcomposite
950 with_xcursor
951 with_xfixes
952 with_xinerama
953 with_xinput
954 with_xinput2
955 with_xrandr
956 with_xrender
957 with_xshape
958 with_xshm
959 with_xxf86vm
960 with_system_dllpath
961 with_wine_tools
962 with_wine64
963 enable_largefile
964 with_x
965 enable_acledit
966 enable_aclui
967 enable_activeds_tlb
968 enable_activeds
969 enable_actxprxy
970 enable_adsldp
971 enable_adsldpc
972 enable_advapi32
973 enable_advpack
974 enable_amsi
975 enable_amstream
976 enable_apisetschema
977 enable_apphelp
978 enable_appwiz_cpl
979 enable_appxdeploymentclient
980 enable_atl
981 enable_atl100
982 enable_atl110
983 enable_atl80
984 enable_atl90
985 enable_atlthunk
986 enable_atmlib
987 enable_authz
988 enable_avicap32
989 enable_avifil32
990 enable_avrt
991 enable_bcrypt
992 enable_bcryptprimitives
993 enable_bluetoothapis
994 enable_browseui
995 enable_bthprops_cpl
996 enable_cabinet
997 enable_capi2032
998 enable_cards
999 enable_cdosys
1000 enable_cfgmgr32
1001 enable_clusapi
1002 enable_cng_sys
1003 enable_combase
1004 enable_comcat
1005 enable_comctl32
1006 enable_comdlg32
1007 enable_compstui
1008 enable_comsvcs
1009 enable_concrt140
1010 enable_connect
1011 enable_credui
1012 enable_crtdll
1013 enable_crypt32
1014 enable_cryptdlg
1015 enable_cryptdll
1016 enable_cryptext
1017 enable_cryptnet
1018 enable_cryptowinrt
1019 enable_cryptsp
1020 enable_cryptui
1021 enable_ctapi32
1022 enable_ctl3d32
1023 enable_d2d1
1024 enable_d3d10
1025 enable_d3d10_1
1026 enable_d3d10core
1027 enable_d3d11
1028 enable_d3d12
1029 enable_d3d12core
1030 enable_d3d8
1031 enable_d3d8thk
1032 enable_d3d9
1033 enable_d3dcompiler_33
1034 enable_d3dcompiler_34
1035 enable_d3dcompiler_35
1036 enable_d3dcompiler_36
1037 enable_d3dcompiler_37
1038 enable_d3dcompiler_38
1039 enable_d3dcompiler_39
1040 enable_d3dcompiler_40
1041 enable_d3dcompiler_41
1042 enable_d3dcompiler_42
1043 enable_d3dcompiler_43
1044 enable_d3dcompiler_46
1045 enable_d3dcompiler_47
1046 enable_d3dim
1047 enable_d3dim700
1048 enable_d3drm
1049 enable_d3dx10_33
1050 enable_d3dx10_34
1051 enable_d3dx10_35
1052 enable_d3dx10_36
1053 enable_d3dx10_37
1054 enable_d3dx10_38
1055 enable_d3dx10_39
1056 enable_d3dx10_40
1057 enable_d3dx10_41
1058 enable_d3dx10_42
1059 enable_d3dx10_43
1060 enable_d3dx11_42
1061 enable_d3dx11_43
1062 enable_d3dx9_24
1063 enable_d3dx9_25
1064 enable_d3dx9_26
1065 enable_d3dx9_27
1066 enable_d3dx9_28
1067 enable_d3dx9_29
1068 enable_d3dx9_30
1069 enable_d3dx9_31
1070 enable_d3dx9_32
1071 enable_d3dx9_33
1072 enable_d3dx9_34
1073 enable_d3dx9_35
1074 enable_d3dx9_36
1075 enable_d3dx9_37
1076 enable_d3dx9_38
1077 enable_d3dx9_39
1078 enable_d3dx9_40
1079 enable_d3dx9_41
1080 enable_d3dx9_42
1081 enable_d3dx9_43
1082 enable_d3dxof
1083 enable_davclnt
1084 enable_dbgeng
1085 enable_dbghelp
1086 enable_dciman32
1087 enable_dcomp
1088 enable_ddraw
1089 enable_ddrawex
1090 enable_devenum
1091 enable_dhcpcsvc
1092 enable_dhcpcsvc6
1093 enable_dhtmled_ocx
1094 enable_diasymreader
1095 enable_difxapi
1096 enable_dinput
1097 enable_dinput8
1098 enable_directmanipulation
1099 enable_dispex
1100 enable_dmband
1101 enable_dmcompos
1102 enable_dmime
1103 enable_dmloader
1104 enable_dmscript
1105 enable_dmstyle
1106 enable_dmsynth
1107 enable_dmusic
1108 enable_dmusic32
1109 enable_dnsapi
1110 enable_dplay
1111 enable_dplayx
1112 enable_dpnaddr
1113 enable_dpnet
1114 enable_dpnhpast
1115 enable_dpnhupnp
1116 enable_dpnlobby
1117 enable_dpvoice
1118 enable_dpwsockx
1119 enable_drmclien
1120 enable_dsdmo
1121 enable_dsound
1122 enable_dsquery
1123 enable_dssenh
1124 enable_dsuiext
1125 enable_dswave
1126 enable_dwmapi
1127 enable_dwrite
1128 enable_dx8vb
1129 enable_dxcore
1130 enable_dxdiagn
1131 enable_dxgi
1132 enable_dxtrans
1133 enable_dxva2
1134 enable_esent
1135 enable_evr
1136 enable_explorerframe
1137 enable_faultrep
1138 enable_feclient
1139 enable_fltlib
1140 enable_fltmgr_sys
1141 enable_fntcache
1142 enable_fontsub
1143 enable_fusion
1144 enable_fwpuclnt
1145 enable_gameux
1146 enable_gamingtcui
1147 enable_gdi32
1148 enable_gdiplus
1149 enable_geolocation
1150 enable_glu32
1151 enable_gphoto2_ds
1152 enable_gpkcsp
1153 enable_graphicscapture
1154 enable_hal
1155 enable_hhctrl_ocx
1156 enable_hid
1157 enable_hidclass_sys
1158 enable_hidparse_sys
1159 enable_hlink
1160 enable_hnetcfg
1161 enable_hrtfapo
1162 enable_http_sys
1163 enable_httpapi
1164 enable_hvsimanagementapi
1165 enable_ia2comproxy
1166 enable_iccvid
1167 enable_icmp
1168 enable_ieframe
1169 enable_ieproxy
1170 enable_imaadp32_acm
1171 enable_imagehlp
1172 enable_imm32
1173 enable_inetcomm
1174 enable_inetcpl_cpl
1175 enable_inetmib1
1176 enable_infosoft
1177 enable_initpki
1178 enable_inkobj
1179 enable_inseng
1180 enable_iphlpapi
1181 enable_iprop
1182 enable_ir50_32
1183 enable_irprops_cpl
1184 enable_itircl
1185 enable_itss
1186 enable_joy_cpl
1187 enable_jscript
1188 enable_jsproxy
1189 enable_kerberos
1190 enable_kernel32
1191 enable_kernelbase
1192 enable_ksecdd_sys
1193 enable_ksproxy_ax
1194 enable_ksuser
1195 enable_ktmw32
1196 enable_l3codeca_acm
1197 enable_light_msstyles
1198 enable_loadperf
1199 enable_localspl
1200 enable_localui
1201 enable_lz32
1202 enable_magnification
1203 enable_mapi32
1204 enable_mapistub
1205 enable_mciavi32
1206 enable_mcicda
1207 enable_mciqtz32
1208 enable_mciseq
1209 enable_mciwave
1210 enable_mf
1211 enable_mf3216
1212 enable_mferror
1213 enable_mfmediaengine
1214 enable_mfplat
1215 enable_mfplay
1216 enable_mfreadwrite
1217 enable_mfsrcsnk
1218 enable_mgmtapi
1219 enable_midimap
1220 enable_mlang
1221 enable_mmcndmgr
1222 enable_mmdevapi
1223 enable_mountmgr_sys
1224 enable_mp3dmod
1225 enable_mpr
1226 enable_mprapi
1227 enable_msacm32_drv
1228 enable_msacm32
1229 enable_msado15
1230 enable_msadp32_acm
1231 enable_msasn1
1232 enable_msauddecmft
1233 enable_mscat32
1234 enable_mscms
1235 enable_mscoree
1236 enable_mscorwks
1237 enable_msctf
1238 enable_msctfmonitor
1239 enable_msctfp
1240 enable_msdaps
1241 enable_msdasql
1242 enable_msdelta
1243 enable_msdmo
1244 enable_msdrm
1245 enable_msftedit
1246 enable_msg711_acm
1247 enable_msgsm32_acm
1248 enable_mshtml_tlb
1249 enable_mshtml
1250 enable_msi
1251 enable_msident
1252 enable_msimg32
1253 enable_msimsg
1254 enable_msimtf
1255 enable_msisip
1256 enable_msisys_ocx
1257 enable_msls31
1258 enable_msmpeg2vdec
1259 enable_msnet32
1260 enable_mspatcha
1261 enable_msports
1262 enable_msrle32
1263 enable_msscript_ocx
1264 enable_mssign32
1265 enable_mssip32
1266 enable_mstask
1267 enable_msv1_0
1268 enable_msvcirt
1269 enable_msvcm80
1270 enable_msvcm90
1271 enable_msvcp100
1272 enable_msvcp110
1273 enable_msvcp120
1274 enable_msvcp120_app
1275 enable_msvcp140
1276 enable_msvcp140_1
1277 enable_msvcp140_2
1278 enable_msvcp140_atomic_wait
1279 enable_msvcp140_codecvt_ids
1280 enable_msvcp60
1281 enable_msvcp70
1282 enable_msvcp71
1283 enable_msvcp80
1284 enable_msvcp90
1285 enable_msvcp_win
1286 enable_msvcr100
1287 enable_msvcr110
1288 enable_msvcr120
1289 enable_msvcr120_app
1290 enable_msvcr70
1291 enable_msvcr71
1292 enable_msvcr80
1293 enable_msvcr90
1294 enable_msvcrt
1295 enable_msvcrt20
1296 enable_msvcrt40
1297 enable_msvcrtd
1298 enable_msvfw32
1299 enable_msvidc32
1300 enable_mswsock
1301 enable_msxml
1302 enable_msxml2
1303 enable_msxml3
1304 enable_msxml4
1305 enable_msxml6
1306 enable_mtxdm
1307 enable_ncrypt
1308 enable_nddeapi
1309 enable_ndis_sys
1310 enable_netapi32
1311 enable_netcfgx
1312 enable_netio_sys
1313 enable_netprofm
1314 enable_netutils
1315 enable_newdev
1316 enable_ninput
1317 enable_normaliz
1318 enable_npmshtml
1319 enable_npptools
1320 enable_nsi
1321 enable_nsiproxy_sys
1322 enable_ntdll
1323 enable_ntdsapi
1324 enable_ntoskrnl_exe
1325 enable_ntprint
1326 enable_objsel
1327 enable_odbc32
1328 enable_odbcbcp
1329 enable_odbccp32
1330 enable_odbccu32
1331 enable_ole32
1332 enable_oleacc
1333 enable_oleaut32
1334 enable_olecli32
1335 enable_oledb32
1336 enable_oledlg
1337 enable_olepro32
1338 enable_olesvr32
1339 enable_olethk32
1340 enable_opcservices
1341 enable_opencl
1342 enable_opengl32
1343 enable_packager
1344 enable_pdh
1345 enable_photometadatahandler
1346 enable_pidgen
1347 enable_powrprof
1348 enable_printui
1349 enable_prntvpt
1350 enable_propsys
1351 enable_psapi
1352 enable_pstorec
1353 enable_pwrshplugin
1354 enable_qasf
1355 enable_qcap
1356 enable_qdvd
1357 enable_qedit
1358 enable_qmgr
1359 enable_qmgrprxy
1360 enable_quartz
1361 enable_query
1362 enable_qwave
1363 enable_rasapi32
1364 enable_rasdlg
1365 enable_regapi
1366 enable_resutils
1367 enable_riched20
1368 enable_riched32
1369 enable_rpcrt4
1370 enable_rsabase
1371 enable_rsaenh
1372 enable_rstrtmgr
1373 enable_rtutils
1374 enable_rtworkq
1375 enable_samlib
1376 enable_sane_ds
1377 enable_sapi
1378 enable_sas
1379 enable_scarddlg
1380 enable_scardsvr
1381 enable_sccbase
1382 enable_schannel
1383 enable_schedsvc
1384 enable_scrobj
1385 enable_scrrun
1386 enable_scsiport_sys
1387 enable_sechost
1388 enable_secur32
1389 enable_security
1390 enable_sensapi
1391 enable_serialui
1392 enable_setupapi
1393 enable_sfc
1394 enable_sfc_os
1395 enable_shcore
1396 enable_shdoclc
1397 enable_shdocvw
1398 enable_shell32
1399 enable_shfolder
1400 enable_shlwapi
1401 enable_slbcsp
1402 enable_slc
1403 enable_snmpapi
1404 enable_softpub
1405 enable_spoolss
1406 enable_sppc
1407 enable_srclient
1408 enable_srvcli
1409 enable_srvsvc
1410 enable_sspicli
1411 enable_stdole2_tlb
1412 enable_stdole32_tlb
1413 enable_sti
1414 enable_strmdll
1415 enable_svrapi
1416 enable_sxs
1417 enable_t2embed
1418 enable_tapi32
1419 enable_taskschd
1420 enable_tbs
1421 enable_tdh
1422 enable_tdi_sys
1423 enable_threadpoolwinrt
1424 enable_traffic
1425 enable_twain_32
1426 enable_twinapi_appcore
1427 enable_tzres
1428 enable_ucrtbase
1429 enable_uianimation
1430 enable_uiautomationcore
1431 enable_uiribbon
1432 enable_unicows
1433 enable_updspapi
1434 enable_url
1435 enable_urlmon
1436 enable_usbd_sys
1437 enable_user32
1438 enable_userenv
1439 enable_usp10
1440 enable_utildll
1441 enable_uxtheme
1442 enable_vbscript
1443 enable_vcomp
1444 enable_vcomp100
1445 enable_vcomp110
1446 enable_vcomp120
1447 enable_vcomp140
1448 enable_vcomp90
1449 enable_vcruntime140
1450 enable_vcruntime140_1
1451 enable_vdmdbg
1452 enable_version
1453 enable_vga
1454 enable_virtdisk
1455 enable_vssapi
1456 enable_vulkan_1
1457 enable_wbemdisp
1458 enable_wbemprox
1459 enable_wdscore
1460 enable_webservices
1461 enable_websocket
1462 enable_wer
1463 enable_wevtapi
1464 enable_wevtsvc
1465 enable_wiaservc
1466 enable_wimgapi
1467 enable_win32u
1468 enable_windows_applicationmodel
1469 enable_windows_devices_bluetooth
1470 enable_windows_devices_enumeration
1471 enable_windows_devices_usb
1472 enable_windows_gaming_input
1473 enable_windows_gaming_ui_gamebar
1474 enable_windows_globalization
1475 enable_windows_media_devices
1476 enable_windows_media_mediacontrol
1477 enable_windows_media_speech
1478 enable_windows_media
1479 enable_windows_networking_hostname
1480 enable_windows_networking
1481 enable_windows_perception_stub
1482 enable_windows_storage_applicationdata
1483 enable_windows_system_profile_systemmanufacturers
1484 enable_windows_ui
1485 enable_windowscodecs
1486 enable_windowscodecsext
1487 enable_winealsa_drv
1488 enable_wineandroid_drv
1489 enable_winebus_sys
1490 enable_winecoreaudio_drv
1491 enable_winecrt0
1492 enable_wined3d
1493 enable_winegstreamer
1494 enable_winehid_sys
1495 enable_winemac_drv
1496 enable_winemapi
1497 enable_wineoss_drv
1498 enable_wineps_drv
1499 enable_winepulse_drv
1500 enable_wineusb_sys
1501 enable_winevulkan
1502 enable_winewayland_drv
1503 enable_winex11_drv
1504 enable_winexinput_sys
1505 enable_wing32
1506 enable_winhttp
1507 enable_wininet
1508 enable_winmm
1509 enable_winnls32
1510 enable_winprint
1511 enable_winscard
1512 enable_winspool_drv
1513 enable_winsta
1514 enable_wintab32
1515 enable_wintrust
1516 enable_wintypes
1517 enable_winusb
1518 enable_wlanapi
1519 enable_wlanui
1520 enable_wldap32
1521 enable_wldp
1522 enable_wmasf
1523 enable_wmi
1524 enable_wmiutils
1525 enable_wmp
1526 enable_wmphoto
1527 enable_wmvcore
1528 enable_wnaspi32
1529 enable_wofutil
1530 enable_wow64
1531 enable_wow64cpu
1532 enable_wow64win
1533 enable_wpc
1534 enable_wpcap
1535 enable_ws2_32
1536 enable_wsdapi
1537 enable_wshom_ocx
1538 enable_wsnmp32
1539 enable_wsock32
1540 enable_wtsapi32
1541 enable_wuapi
1542 enable_wuaueng
1543 enable_x3daudio1_0
1544 enable_x3daudio1_1
1545 enable_x3daudio1_2
1546 enable_x3daudio1_3
1547 enable_x3daudio1_4
1548 enable_x3daudio1_5
1549 enable_x3daudio1_6
1550 enable_x3daudio1_7
1551 enable_xactengine2_0
1552 enable_xactengine2_4
1553 enable_xactengine2_7
1554 enable_xactengine2_9
1555 enable_xactengine3_0
1556 enable_xactengine3_1
1557 enable_xactengine3_2
1558 enable_xactengine3_3
1559 enable_xactengine3_4
1560 enable_xactengine3_5
1561 enable_xactengine3_6
1562 enable_xactengine3_7
1563 enable_xapofx1_1
1564 enable_xapofx1_2
1565 enable_xapofx1_3
1566 enable_xapofx1_4
1567 enable_xapofx1_5
1568 enable_xaudio2_0
1569 enable_xaudio2_1
1570 enable_xaudio2_2
1571 enable_xaudio2_3
1572 enable_xaudio2_4
1573 enable_xaudio2_5
1574 enable_xaudio2_6
1575 enable_xaudio2_7
1576 enable_xaudio2_8
1577 enable_xaudio2_9
1578 enable_xinput1_1
1579 enable_xinput1_2
1580 enable_xinput1_3
1581 enable_xinput1_4
1582 enable_xinput9_1_0
1583 enable_xinputuap
1584 enable_xmllite
1585 enable_xolehlp
1586 enable_xpsprint
1587 enable_xpssvcs
1588 enable_fonts
1589 enable_include
1590 enable_adsiid
1591 enable_dmoguids
1592 enable_dxerr8
1593 enable_dxerr9
1594 enable_dxguid
1595 enable_faudio
1596 enable_fluidsynth
1597 enable_gsm
1598 enable_jpeg
1599 enable_jxr
1600 enable_lcms2
1601 enable_ldap
1602 enable_mfuuid
1603 enable_mpg123
1604 enable_musl
1605 enable_png
1606 enable_strmbase
1607 enable_strmiids
1608 enable_tiff
1609 enable_uuid
1610 enable_vkd3d
1611 enable_wbemuuid
1612 enable_wmcodecdspuuid
1613 enable_xml2
1614 enable_xslt
1615 enable_zlib
1616 enable_zydis
1617 enable_loader
1618 enable_nls
1619 enable_po
1620 enable_arp
1621 enable_aspnet_regiis
1622 enable_attrib
1623 enable_cabarc
1624 enable_cacls
1625 enable_certutil
1626 enable_chcp_com
1627 enable_clock
1628 enable_cmd
1629 enable_conhost
1630 enable_control
1631 enable_cscript
1632 enable_dism
1633 enable_dllhost
1634 enable_dplaysvr
1635 enable_dpnsvr
1636 enable_dpvsetup
1637 enable_dxdiag
1638 enable_eject
1639 enable_expand
1640 enable_explorer
1641 enable_extrac32
1642 enable_fc
1643 enable_find
1644 enable_findstr
1645 enable_fsutil
1646 enable_hh
1647 enable_hostname
1648 enable_icacls
1649 enable_icinfo
1650 enable_iexplore
1651 enable_ipconfig
1652 enable_klist
1653 enable_lodctr
1654 enable_mofcomp
1655 enable_mshta
1656 enable_msidb
1657 enable_msiexec
1658 enable_msinfo32
1659 enable_net
1660 enable_netsh
1661 enable_netstat
1662 enable_ngen
1663 enable_notepad
1664 enable_oleview
1665 enable_ping
1666 enable_plugplay
1667 enable_pnputil
1668 enable_powershell
1669 enable_presentationfontcache
1670 enable_progman
1671 enable_reg
1672 enable_regasm
1673 enable_regedit
1674 enable_regini
1675 enable_regsvcs
1676 enable_regsvr32
1677 enable_robocopy
1678 enable_rpcss
1679 enable_rundll32
1680 enable_sc
1681 enable_schtasks
1682 enable_sdbinst
1683 enable_secedit
1684 enable_servicemodelreg
1685 enable_services
1686 enable_setx
1687 enable_shutdown
1688 enable_spoolsv
1689 enable_start
1690 enable_subst
1691 enable_svchost
1692 enable_systeminfo
1693 enable_taskkill
1694 enable_tasklist
1695 enable_taskmgr
1696 enable_termsv
1697 enable_uninstaller
1698 enable_unlodctr
1699 enable_view
1700 enable_wevtutil
1701 enable_where
1702 enable_whoami
1703 enable_wineboot
1704 enable_winebrowser
1705 enable_winecfg
1706 enable_wineconsole
1707 enable_winedbg
1708 enable_winedevice
1709 enable_winefile
1710 enable_winemenubuilder
1711 enable_winemine
1712 enable_winemsibuilder
1713 enable_winepath
1714 enable_winetest
1715 enable_winhlp32
1716 enable_winmgmt
1717 enable_winver
1718 enable_wmic
1719 enable_wmplayer
1720 enable_wordpad
1721 enable_write
1722 enable_wscript
1723 enable_wuauserv
1724 enable_wusa
1725 enable_xcopy
1726 enable_server
1727 enable_tools
1728 enable_sfnt2fon
1729 enable_widl
1730 enable_winebuild
1731 enable_winedump
1732 enable_winegcc
1733 enable_winemaker
1734 enable_wmc
1735 enable_wrc
1737 ac_precious_vars='build_alias
1738 host_alias
1739 target_alias
1741 CFLAGS
1742 LDFLAGS
1743 LIBS
1744 CPPFLAGS
1746 CXXFLAGS
1748 OBJC
1749 OBJCFLAGS
1750 FAUDIO_PE_CFLAGS
1751 FAUDIO_PE_LIBS
1752 FLUIDSYNTH_PE_CFLAGS
1753 FLUIDSYNTH_PE_LIBS
1754 GSM_PE_CFLAGS
1755 GSM_PE_LIBS
1756 JPEG_PE_CFLAGS
1757 JPEG_PE_LIBS
1758 JXR_PE_CFLAGS
1759 JXR_PE_LIBS
1760 LCMS2_PE_CFLAGS
1761 LCMS2_PE_LIBS
1762 LDAP_PE_CFLAGS
1763 LDAP_PE_LIBS
1764 MPG123_PE_CFLAGS
1765 MPG123_PE_LIBS
1766 MUSL_PE_CFLAGS
1767 MUSL_PE_LIBS
1768 PNG_PE_CFLAGS
1769 PNG_PE_LIBS
1770 TIFF_PE_CFLAGS
1771 TIFF_PE_LIBS
1772 VKD3D_PE_CFLAGS
1773 VKD3D_PE_LIBS
1774 XML2_PE_CFLAGS
1775 XML2_PE_LIBS
1776 XSLT_PE_CFLAGS
1777 XSLT_PE_LIBS
1778 ZLIB_PE_CFLAGS
1779 ZLIB_PE_LIBS
1780 ZYDIS_PE_CFLAGS
1781 ZYDIS_PE_LIBS
1782 XMKMF
1784 WAYLAND_CLIENT_CFLAGS
1785 WAYLAND_CLIENT_LIBS
1786 INOTIFY_CFLAGS
1787 INOTIFY_LIBS
1788 DBUS_CFLAGS
1789 DBUS_LIBS
1790 GNUTLS_CFLAGS
1791 GNUTLS_LIBS
1792 SANE_CFLAGS
1793 SANE_LIBS
1794 USB_CFLAGS
1795 USB_LIBS
1796 GPHOTO2_CFLAGS
1797 GPHOTO2_LIBS
1798 GPHOTO2_PORT_CFLAGS
1799 GPHOTO2_PORT_LIBS
1800 FREETYPE_CFLAGS
1801 FREETYPE_LIBS
1802 PULSE_CFLAGS
1803 PULSE_LIBS
1804 GSTREAMER_CFLAGS
1805 GSTREAMER_LIBS
1806 UDEV_CFLAGS
1807 UDEV_LIBS
1808 UNWIND_CFLAGS
1809 UNWIND_LIBS
1810 SDL2_CFLAGS
1811 SDL2_LIBS
1812 CAPI20_CFLAGS
1813 CAPI20_LIBS
1814 CUPS_CFLAGS
1815 CUPS_LIBS
1816 FONTCONFIG_CFLAGS
1817 FONTCONFIG_LIBS
1818 KRB5_CFLAGS
1819 KRB5_LIBS
1820 GSSAPI_CFLAGS
1821 GSSAPI_LIBS
1822 NETAPI_CFLAGS
1823 NETAPI_LIBS'
1826 # Initialize some variables set by options.
1827 ac_init_help=
1828 ac_init_version=false
1829 ac_unrecognized_opts=
1830 ac_unrecognized_sep=
1831 # The variables have the same names as the options, with
1832 # dashes changed to underlines.
1833 cache_file=/dev/null
1834 exec_prefix=NONE
1835 no_create=
1836 no_recursion=
1837 prefix=NONE
1838 program_prefix=NONE
1839 program_suffix=NONE
1840 program_transform_name=s,x,x,
1841 silent=
1842 site=
1843 srcdir=
1844 verbose=
1845 x_includes=NONE
1846 x_libraries=NONE
1848 # Installation directory options.
1849 # These are left unexpanded so users can "make install exec_prefix=/foo"
1850 # and all the variables that are supposed to be based on exec_prefix
1851 # by default will actually change.
1852 # Use braces instead of parens because sh, perl, etc. also accept them.
1853 # (The list follows the same order as the GNU Coding Standards.)
1854 bindir='${exec_prefix}/bin'
1855 sbindir='${exec_prefix}/sbin'
1856 libexecdir='${exec_prefix}/libexec'
1857 datarootdir='${prefix}/share'
1858 datadir='${datarootdir}'
1859 sysconfdir='${prefix}/etc'
1860 sharedstatedir='${prefix}/com'
1861 localstatedir='${prefix}/var'
1862 runstatedir='${localstatedir}/run'
1863 includedir='${prefix}/include'
1864 oldincludedir='/usr/include'
1865 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1866 infodir='${datarootdir}/info'
1867 htmldir='${docdir}'
1868 dvidir='${docdir}'
1869 pdfdir='${docdir}'
1870 psdir='${docdir}'
1871 libdir='${exec_prefix}/lib'
1872 localedir='${datarootdir}/locale'
1873 mandir='${datarootdir}/man'
1875 ac_prev=
1876 ac_dashdash=
1877 for ac_option
1879 # If the previous option needs an argument, assign it.
1880 if test -n "$ac_prev"; then
1881 eval $ac_prev=\$ac_option
1882 ac_prev=
1883 continue
1886 case $ac_option in
1887 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1888 *=) ac_optarg= ;;
1889 *) ac_optarg=yes ;;
1890 esac
1892 case $ac_dashdash$ac_option in
1894 ac_dashdash=yes ;;
1896 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1897 ac_prev=bindir ;;
1898 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1899 bindir=$ac_optarg ;;
1901 -build | --build | --buil | --bui | --bu)
1902 ac_prev=build_alias ;;
1903 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1904 build_alias=$ac_optarg ;;
1906 -cache-file | --cache-file | --cache-fil | --cache-fi \
1907 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1908 ac_prev=cache_file ;;
1909 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1910 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1911 cache_file=$ac_optarg ;;
1913 --config-cache | -C)
1914 cache_file=config.cache ;;
1916 -datadir | --datadir | --datadi | --datad)
1917 ac_prev=datadir ;;
1918 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1919 datadir=$ac_optarg ;;
1921 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1922 | --dataroo | --dataro | --datar)
1923 ac_prev=datarootdir ;;
1924 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1925 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1926 datarootdir=$ac_optarg ;;
1928 -disable-* | --disable-*)
1929 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1930 # Reject names that are not valid shell variable names.
1931 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1932 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1933 ac_useropt_orig=$ac_useropt
1934 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1935 case $ac_user_opts in
1937 "enable_$ac_useropt"
1938 "*) ;;
1939 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1940 ac_unrecognized_sep=', ';;
1941 esac
1942 eval enable_$ac_useropt=no ;;
1944 -docdir | --docdir | --docdi | --doc | --do)
1945 ac_prev=docdir ;;
1946 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1947 docdir=$ac_optarg ;;
1949 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1950 ac_prev=dvidir ;;
1951 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1952 dvidir=$ac_optarg ;;
1954 -enable-* | --enable-*)
1955 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1956 # Reject names that are not valid shell variable names.
1957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1958 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1959 ac_useropt_orig=$ac_useropt
1960 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1961 case $ac_user_opts in
1963 "enable_$ac_useropt"
1964 "*) ;;
1965 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1966 ac_unrecognized_sep=', ';;
1967 esac
1968 eval enable_$ac_useropt=\$ac_optarg ;;
1970 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1971 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1972 | --exec | --exe | --ex)
1973 ac_prev=exec_prefix ;;
1974 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1975 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1976 | --exec=* | --exe=* | --ex=*)
1977 exec_prefix=$ac_optarg ;;
1979 -gas | --gas | --ga | --g)
1980 # Obsolete; use --with-gas.
1981 with_gas=yes ;;
1983 -help | --help | --hel | --he | -h)
1984 ac_init_help=long ;;
1985 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1986 ac_init_help=recursive ;;
1987 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1988 ac_init_help=short ;;
1990 -host | --host | --hos | --ho)
1991 ac_prev=host_alias ;;
1992 -host=* | --host=* | --hos=* | --ho=*)
1993 host_alias=$ac_optarg ;;
1995 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1996 ac_prev=htmldir ;;
1997 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1998 | --ht=*)
1999 htmldir=$ac_optarg ;;
2001 -includedir | --includedir | --includedi | --included | --include \
2002 | --includ | --inclu | --incl | --inc)
2003 ac_prev=includedir ;;
2004 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2005 | --includ=* | --inclu=* | --incl=* | --inc=*)
2006 includedir=$ac_optarg ;;
2008 -infodir | --infodir | --infodi | --infod | --info | --inf)
2009 ac_prev=infodir ;;
2010 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2011 infodir=$ac_optarg ;;
2013 -libdir | --libdir | --libdi | --libd)
2014 ac_prev=libdir ;;
2015 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2016 libdir=$ac_optarg ;;
2018 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2019 | --libexe | --libex | --libe)
2020 ac_prev=libexecdir ;;
2021 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2022 | --libexe=* | --libex=* | --libe=*)
2023 libexecdir=$ac_optarg ;;
2025 -localedir | --localedir | --localedi | --localed | --locale)
2026 ac_prev=localedir ;;
2027 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2028 localedir=$ac_optarg ;;
2030 -localstatedir | --localstatedir | --localstatedi | --localstated \
2031 | --localstate | --localstat | --localsta | --localst | --locals)
2032 ac_prev=localstatedir ;;
2033 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2034 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2035 localstatedir=$ac_optarg ;;
2037 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2038 ac_prev=mandir ;;
2039 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2040 mandir=$ac_optarg ;;
2042 -nfp | --nfp | --nf)
2043 # Obsolete; use --without-fp.
2044 with_fp=no ;;
2046 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2047 | --no-cr | --no-c | -n)
2048 no_create=yes ;;
2050 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2051 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2052 no_recursion=yes ;;
2054 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2055 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2056 | --oldin | --oldi | --old | --ol | --o)
2057 ac_prev=oldincludedir ;;
2058 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2059 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2060 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2061 oldincludedir=$ac_optarg ;;
2063 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2064 ac_prev=prefix ;;
2065 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2066 prefix=$ac_optarg ;;
2068 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2069 | --program-pre | --program-pr | --program-p)
2070 ac_prev=program_prefix ;;
2071 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2072 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2073 program_prefix=$ac_optarg ;;
2075 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2076 | --program-suf | --program-su | --program-s)
2077 ac_prev=program_suffix ;;
2078 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2079 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2080 program_suffix=$ac_optarg ;;
2082 -program-transform-name | --program-transform-name \
2083 | --program-transform-nam | --program-transform-na \
2084 | --program-transform-n | --program-transform- \
2085 | --program-transform | --program-transfor \
2086 | --program-transfo | --program-transf \
2087 | --program-trans | --program-tran \
2088 | --progr-tra | --program-tr | --program-t)
2089 ac_prev=program_transform_name ;;
2090 -program-transform-name=* | --program-transform-name=* \
2091 | --program-transform-nam=* | --program-transform-na=* \
2092 | --program-transform-n=* | --program-transform-=* \
2093 | --program-transform=* | --program-transfor=* \
2094 | --program-transfo=* | --program-transf=* \
2095 | --program-trans=* | --program-tran=* \
2096 | --progr-tra=* | --program-tr=* | --program-t=*)
2097 program_transform_name=$ac_optarg ;;
2099 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2100 ac_prev=pdfdir ;;
2101 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2102 pdfdir=$ac_optarg ;;
2104 -psdir | --psdir | --psdi | --psd | --ps)
2105 ac_prev=psdir ;;
2106 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2107 psdir=$ac_optarg ;;
2109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2110 | -silent | --silent | --silen | --sile | --sil)
2111 silent=yes ;;
2113 -runstatedir | --runstatedir | --runstatedi | --runstated \
2114 | --runstate | --runstat | --runsta | --runst | --runs \
2115 | --run | --ru | --r)
2116 ac_prev=runstatedir ;;
2117 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2118 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2119 | --run=* | --ru=* | --r=*)
2120 runstatedir=$ac_optarg ;;
2122 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2123 ac_prev=sbindir ;;
2124 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2125 | --sbi=* | --sb=*)
2126 sbindir=$ac_optarg ;;
2128 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2129 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2130 | --sharedst | --shareds | --shared | --share | --shar \
2131 | --sha | --sh)
2132 ac_prev=sharedstatedir ;;
2133 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2134 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2135 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2136 | --sha=* | --sh=*)
2137 sharedstatedir=$ac_optarg ;;
2139 -site | --site | --sit)
2140 ac_prev=site ;;
2141 -site=* | --site=* | --sit=*)
2142 site=$ac_optarg ;;
2144 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2145 ac_prev=srcdir ;;
2146 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2147 srcdir=$ac_optarg ;;
2149 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2150 | --syscon | --sysco | --sysc | --sys | --sy)
2151 ac_prev=sysconfdir ;;
2152 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2153 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2154 sysconfdir=$ac_optarg ;;
2156 -target | --target | --targe | --targ | --tar | --ta | --t)
2157 ac_prev=target_alias ;;
2158 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2159 target_alias=$ac_optarg ;;
2161 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2162 verbose=yes ;;
2164 -version | --version | --versio | --versi | --vers | -V)
2165 ac_init_version=: ;;
2167 -with-* | --with-*)
2168 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2169 # Reject names that are not valid shell variable names.
2170 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2171 as_fn_error $? "invalid package name: \`$ac_useropt'"
2172 ac_useropt_orig=$ac_useropt
2173 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2174 case $ac_user_opts in
2176 "with_$ac_useropt"
2177 "*) ;;
2178 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2179 ac_unrecognized_sep=', ';;
2180 esac
2181 eval with_$ac_useropt=\$ac_optarg ;;
2183 -without-* | --without-*)
2184 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2185 # Reject names that are not valid shell variable names.
2186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2187 as_fn_error $? "invalid package name: \`$ac_useropt'"
2188 ac_useropt_orig=$ac_useropt
2189 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2190 case $ac_user_opts in
2192 "with_$ac_useropt"
2193 "*) ;;
2194 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2195 ac_unrecognized_sep=', ';;
2196 esac
2197 eval with_$ac_useropt=no ;;
2199 --x)
2200 # Obsolete; use --with-x.
2201 with_x=yes ;;
2203 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2204 | --x-incl | --x-inc | --x-in | --x-i)
2205 ac_prev=x_includes ;;
2206 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2207 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2208 x_includes=$ac_optarg ;;
2210 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2211 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2212 ac_prev=x_libraries ;;
2213 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2214 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2215 x_libraries=$ac_optarg ;;
2217 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2218 Try \`$0 --help' for more information"
2221 *=*)
2222 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2223 # Reject names that are not valid shell variable names.
2224 case $ac_envvar in #(
2225 '' | [0-9]* | *[!_$as_cr_alnum]* )
2226 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2227 esac
2228 eval $ac_envvar=\$ac_optarg
2229 export $ac_envvar ;;
2232 # FIXME: should be removed in autoconf 3.0.
2233 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2234 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2235 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2236 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2239 esac
2240 done
2242 if test -n "$ac_prev"; then
2243 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2244 as_fn_error $? "missing argument to $ac_option"
2247 if test -n "$ac_unrecognized_opts"; then
2248 case $enable_option_checking in
2249 no) ;;
2250 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2251 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2252 esac
2255 # Check all directory arguments for consistency.
2256 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2257 datadir sysconfdir sharedstatedir localstatedir includedir \
2258 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2259 libdir localedir mandir runstatedir
2261 eval ac_val=\$$ac_var
2262 # Remove trailing slashes.
2263 case $ac_val in
2264 */ )
2265 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2266 eval $ac_var=\$ac_val;;
2267 esac
2268 # Be sure to have absolute directory names.
2269 case $ac_val in
2270 [\\/$]* | ?:[\\/]* ) continue;;
2271 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2272 esac
2273 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2274 done
2276 # There might be people who depend on the old broken behavior: `$host'
2277 # used to hold the argument of --host etc.
2278 # FIXME: To remove some day.
2279 build=$build_alias
2280 host=$host_alias
2281 target=$target_alias
2283 # FIXME: To remove some day.
2284 if test "x$host_alias" != x; then
2285 if test "x$build_alias" = x; then
2286 cross_compiling=maybe
2287 elif test "x$build_alias" != "x$host_alias"; then
2288 cross_compiling=yes
2292 ac_tool_prefix=
2293 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2295 test "$silent" = yes && exec 6>/dev/null
2298 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2299 ac_ls_di=`ls -di .` &&
2300 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2301 as_fn_error $? "working directory cannot be determined"
2302 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2303 as_fn_error $? "pwd does not report name of working directory"
2306 # Find the source files, if location was not specified.
2307 if test -z "$srcdir"; then
2308 ac_srcdir_defaulted=yes
2309 # Try the directory containing this script, then the parent directory.
2310 ac_confdir=`$as_dirname -- "$as_myself" ||
2311 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2312 X"$as_myself" : 'X\(//\)[^/]' \| \
2313 X"$as_myself" : 'X\(//\)$' \| \
2314 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2315 printf "%s\n" X"$as_myself" |
2316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2317 s//\1/
2320 /^X\(\/\/\)[^/].*/{
2321 s//\1/
2324 /^X\(\/\/\)$/{
2325 s//\1/
2328 /^X\(\/\).*/{
2329 s//\1/
2332 s/.*/./; q'`
2333 srcdir=$ac_confdir
2334 if test ! -r "$srcdir/$ac_unique_file"; then
2335 srcdir=..
2337 else
2338 ac_srcdir_defaulted=no
2340 if test ! -r "$srcdir/$ac_unique_file"; then
2341 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2342 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2344 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2345 ac_abs_confdir=`(
2346 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2347 pwd)`
2348 # When building in place, set srcdir=.
2349 if test "$ac_abs_confdir" = "$ac_pwd"; then
2350 srcdir=.
2352 # Remove unnecessary trailing slashes from srcdir.
2353 # Double slashes in file names in object file debugging info
2354 # mess up M-x gdb in Emacs.
2355 case $srcdir in
2356 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2357 esac
2358 for ac_var in $ac_precious_vars; do
2359 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2360 eval ac_env_${ac_var}_value=\$${ac_var}
2361 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2362 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2363 done
2366 # Report the --help message.
2368 if test "$ac_init_help" = "long"; then
2369 # Omit some internal or obsolete options to make the list less imposing.
2370 # This message is too long to be a string in the A/UX 3.1 sh.
2371 cat <<_ACEOF
2372 \`configure' configures Wine 8.17 to adapt to many kinds of systems.
2374 Usage: $0 [OPTION]... [VAR=VALUE]...
2376 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2377 VAR=VALUE. See below for descriptions of some of the useful variables.
2379 Defaults for the options are specified in brackets.
2381 Configuration:
2382 -h, --help display this help and exit
2383 --help=short display options specific to this package
2384 --help=recursive display the short help of all the included packages
2385 -V, --version display version information and exit
2386 -q, --quiet, --silent do not print \`checking ...' messages
2387 --cache-file=FILE cache test results in FILE [disabled]
2388 -C, --config-cache alias for \`--cache-file=config.cache'
2389 -n, --no-create do not create output files
2390 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2392 Installation directories:
2393 --prefix=PREFIX install architecture-independent files in PREFIX
2394 [$ac_default_prefix]
2395 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2396 [PREFIX]
2398 By default, \`make install' will install all the files in
2399 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2400 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2401 for instance \`--prefix=\$HOME'.
2403 For better control, use the options below.
2405 Fine tuning of the installation directories:
2406 --bindir=DIR user executables [EPREFIX/bin]
2407 --sbindir=DIR system admin executables [EPREFIX/sbin]
2408 --libexecdir=DIR program executables [EPREFIX/libexec]
2409 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2410 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2411 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2412 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2413 --libdir=DIR object code libraries [EPREFIX/lib]
2414 --includedir=DIR C header files [PREFIX/include]
2415 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2416 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2417 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2418 --infodir=DIR info documentation [DATAROOTDIR/info]
2419 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2420 --mandir=DIR man documentation [DATAROOTDIR/man]
2421 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2422 --htmldir=DIR html documentation [DOCDIR]
2423 --dvidir=DIR dvi documentation [DOCDIR]
2424 --pdfdir=DIR pdf documentation [DOCDIR]
2425 --psdir=DIR ps documentation [DOCDIR]
2426 _ACEOF
2428 cat <<\_ACEOF
2430 X features:
2431 --x-includes=DIR X include files are in DIR
2432 --x-libraries=DIR X library files are in DIR
2434 System types:
2435 --build=BUILD configure for building on BUILD [guessed]
2436 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2437 _ACEOF
2440 if test -n "$ac_init_help"; then
2441 case $ac_init_help in
2442 short | recursive ) echo "Configuration of Wine 8.17:";;
2443 esac
2444 cat <<\_ACEOF
2446 Optional Features:
2447 --disable-option-checking ignore unrecognized --enable/--with options
2448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2450 --enable-archs={i386,x86_64,arm,aarch64}
2451 enable multiple architectures for PE compilation
2452 --disable-win16 do not include Win16 support
2453 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2454 binaries)
2455 --disable-tests do not build the regression tests
2456 --enable-build-id include .buildid section in output objects
2457 --enable-maintainer-mode
2458 enable maintainer-specific build rules
2459 --enable-silent-rules use silent build rules (override: "make V=1")
2460 --enable-werror treat compilation warnings as errors
2461 --disable-largefile omit support for large files
2463 Optional Packages:
2464 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2465 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2466 --without-alsa do not use the Alsa sound support
2467 --without-capi do not use CAPI (ISDN support)
2468 --without-coreaudio do not use the CoreAudio sound support
2469 --without-cups do not use CUPS
2470 --without-dbus do not use DBus (dynamic device support)
2471 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2472 --without-fontconfig do not use fontconfig
2473 --without-freetype do not use the FreeType library
2474 --without-gettext do not use gettext
2475 --with-gettextpo use the GetTextPO library to rebuild po files
2476 --without-gphoto do not use gphoto (Digital Camera support)
2477 --without-gnutls do not use GnuTLS (schannel support)
2478 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2479 --without-gstreamer do not use GStreamer (codecs support)
2480 --without-inotify do not use inotify (filesystem change notifications)
2481 --without-krb5 do not use krb5 (Kerberos)
2482 --without-mingw do not use the MinGW cross-compiler
2483 --without-netapi do not use the Samba NetAPI library
2484 --without-opencl do not use OpenCL
2485 --without-opengl do not use OpenGL
2486 --without-osmesa do not use the OSMesa library
2487 --without-oss do not use the OSS sound support
2488 --without-pcap do not use the Packet Capture library
2489 --without-pcsclite do not use PCSC lite
2490 --without-pthread do not use the pthread library
2491 --without-pulse do not use PulseAudio sound support
2492 --without-sane do not use SANE (scanner support)
2493 --without-sdl do not use SDL
2494 --without-udev do not use udev (plug and play support)
2495 --without-unwind do not use the libunwind library (exception
2496 handling)
2497 --without-usb do not use the libusb library
2498 --without-v4l2 do not use v4l2 (video capture)
2499 --without-vulkan do not use Vulkan
2500 --without-wayland do not build the Wayland driver
2501 --without-xcomposite do not use the Xcomposite extension
2502 --without-xcursor do not use the Xcursor extension
2503 --without-xfixes do not use Xfixes for clipboard change notifications
2504 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2505 --without-xinput do not use the Xinput extension
2506 --without-xinput2 do not use the Xinput 2 extension
2507 --without-xrandr do not use Xrandr (multi-monitor support)
2508 --without-xrender do not use the Xrender extension
2509 --without-xshape do not use the Xshape extension
2510 --without-xshm do not use XShm (shared memory extension)
2511 --without-xxf86vm do not use XFree video mode extension
2512 --with-system-dllpath=PATH
2513 load external PE dependencies from colon-separated
2514 path PATH
2515 --with-wine-tools=DIR use Wine tools from directory DIR
2516 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2517 --with-x use the X Window System
2519 Some influential environment variables:
2520 CC C compiler command
2521 CFLAGS C compiler flags
2522 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2523 nonstandard directory <lib dir>
2524 LIBS libraries to pass to the linker, e.g. -l<library>
2525 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2526 you have headers in a nonstandard directory <include dir>
2527 CXX C++ compiler command
2528 CXXFLAGS C++ compiler flags
2529 OBJC Objective C compiler command
2530 OBJCFLAGS Objective C compiler flags
2531 FAUDIO_PE_CFLAGS
2532 C compiler flags for the PE faudio, overriding the bundled
2533 version
2534 FAUDIO_PE_LIBS
2535 Linker flags for the PE faudio, overriding the bundled version
2536 FLUIDSYNTH_PE_CFLAGS
2537 C compiler flags for the PE fluidsynth, overriding the bundled
2538 version
2539 FLUIDSYNTH_PE_LIBS
2540 Linker flags for the PE fluidsynth, overriding the bundled
2541 version
2542 GSM_PE_CFLAGS
2543 C compiler flags for the PE gsm, overriding the bundled version
2544 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2545 JPEG_PE_CFLAGS
2546 C compiler flags for the PE jpeg, overriding the bundled version
2547 JPEG_PE_LIBS
2548 Linker flags for the PE jpeg, overriding the bundled version
2549 JXR_PE_CFLAGS
2550 C compiler flags for the PE jxr, overriding the bundled version
2551 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2552 LCMS2_PE_CFLAGS
2553 C compiler flags for the PE lcms2, overriding the bundled
2554 version
2555 LCMS2_PE_LIBS
2556 Linker flags for the PE lcms2, overriding the bundled version
2557 LDAP_PE_CFLAGS
2558 C compiler flags for the PE ldap, overriding the bundled version
2559 LDAP_PE_LIBS
2560 Linker flags for the PE ldap, overriding the bundled version
2561 MPG123_PE_CFLAGS
2562 C compiler flags for the PE mpg123, overriding the bundled
2563 version
2564 MPG123_PE_LIBS
2565 Linker flags for the PE mpg123, overriding the bundled version
2566 MUSL_PE_CFLAGS
2567 C compiler flags for the PE musl, overriding the bundled version
2568 MUSL_PE_LIBS
2569 Linker flags for the PE musl, overriding the bundled version
2570 PNG_PE_CFLAGS
2571 C compiler flags for the PE png, overriding the bundled version
2572 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2573 TIFF_PE_CFLAGS
2574 C compiler flags for the PE tiff, overriding the bundled version
2575 TIFF_PE_LIBS
2576 Linker flags for the PE tiff, overriding the bundled version
2577 VKD3D_PE_CFLAGS
2578 C compiler flags for the PE vkd3d, overriding the bundled
2579 version
2580 VKD3D_PE_LIBS
2581 Linker flags for the PE vkd3d, overriding the bundled version
2582 XML2_PE_CFLAGS
2583 C compiler flags for the PE xml2, overriding the bundled version
2584 XML2_PE_LIBS
2585 Linker flags for the PE xml2, overriding the bundled version
2586 XSLT_PE_CFLAGS
2587 C compiler flags for the PE xslt, overriding the bundled version
2588 XSLT_PE_LIBS
2589 Linker flags for the PE xslt, overriding the bundled version
2590 ZLIB_PE_CFLAGS
2591 C compiler flags for the PE zlib, overriding the bundled version
2592 ZLIB_PE_LIBS
2593 Linker flags for the PE zlib, overriding the bundled version
2594 ZYDIS_PE_CFLAGS
2595 C compiler flags for the PE zydis, overriding the bundled
2596 version
2597 ZYDIS_PE_LIBS
2598 Linker flags for the PE zydis, overriding the bundled version
2599 XMKMF Path to xmkmf, Makefile generator for X Window System
2600 CPP C preprocessor
2601 WAYLAND_CLIENT_CFLAGS
2602 C compiler flags for wayland-client, overriding pkg-config
2603 WAYLAND_CLIENT_LIBS
2604 Linker flags for wayland-client, overriding pkg-config
2605 INOTIFY_CFLAGS
2606 C compiler flags for libinotify, overriding pkg-config
2607 INOTIFY_LIBS
2608 Linker flags for libinotify, overriding pkg-config
2609 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2610 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2611 GNUTLS_CFLAGS
2612 C compiler flags for gnutls, overriding pkg-config
2613 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2614 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2615 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2616 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2617 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2618 GPHOTO2_CFLAGS
2619 C compiler flags for libgphoto2, overriding pkg-config
2620 GPHOTO2_LIBS
2621 Linker flags for libgphoto2, overriding pkg-config
2622 GPHOTO2_PORT_CFLAGS
2623 C compiler flags for libgphoto2_port, overriding pkg-config
2624 GPHOTO2_PORT_LIBS
2625 Linker flags for libgphoto2_port, overriding pkg-config
2626 FREETYPE_CFLAGS
2627 C compiler flags for freetype2, overriding pkg-config
2628 FREETYPE_LIBS
2629 Linker flags for freetype2, overriding pkg-config
2630 PULSE_CFLAGS
2631 C compiler flags for libpulse, overriding pkg-config
2632 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2633 GSTREAMER_CFLAGS
2634 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2635 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2636 GSTREAMER_LIBS
2637 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2638 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2639 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2640 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2641 UNWIND_CFLAGS
2642 C compiler flags for libunwind, overriding pkg-config
2643 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2644 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2645 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2646 CAPI20_CFLAGS
2647 C compiler flags for capi20, overriding pkg-config
2648 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2649 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2650 CUPS_LIBS Linker flags for cups, overriding pkg-config
2651 FONTCONFIG_CFLAGS
2652 C compiler flags for fontconfig, overriding pkg-config
2653 FONTCONFIG_LIBS
2654 Linker flags for fontconfig, overriding pkg-config
2655 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2656 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2657 GSSAPI_CFLAGS
2658 C compiler flags for krb5-gssapi, overriding pkg-config
2659 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2660 NETAPI_CFLAGS
2661 C compiler flags for netapi, overriding pkg-config
2662 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2664 Use these variables to override the choices made by `configure' or to help
2665 it to find libraries and programs with nonstandard names/locations.
2667 Report bugs to <wine-devel@winehq.org>.
2668 Wine home page: <https://www.winehq.org>.
2669 _ACEOF
2670 ac_status=$?
2673 if test "$ac_init_help" = "recursive"; then
2674 # If there are subdirs, report their specific --help.
2675 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2676 test -d "$ac_dir" ||
2677 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2678 continue
2679 ac_builddir=.
2681 case "$ac_dir" in
2682 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2684 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2685 # A ".." for each directory in $ac_dir_suffix.
2686 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2687 case $ac_top_builddir_sub in
2688 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2689 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2690 esac ;;
2691 esac
2692 ac_abs_top_builddir=$ac_pwd
2693 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2694 # for backward compatibility:
2695 ac_top_builddir=$ac_top_build_prefix
2697 case $srcdir in
2698 .) # We are building in place.
2699 ac_srcdir=.
2700 ac_top_srcdir=$ac_top_builddir_sub
2701 ac_abs_top_srcdir=$ac_pwd ;;
2702 [\\/]* | ?:[\\/]* ) # Absolute name.
2703 ac_srcdir=$srcdir$ac_dir_suffix;
2704 ac_top_srcdir=$srcdir
2705 ac_abs_top_srcdir=$srcdir ;;
2706 *) # Relative name.
2707 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2708 ac_top_srcdir=$ac_top_build_prefix$srcdir
2709 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2710 esac
2711 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2713 cd "$ac_dir" || { ac_status=$?; continue; }
2714 # Check for configure.gnu first; this name is used for a wrapper for
2715 # Metaconfig's "Configure" on case-insensitive file systems.
2716 if test -f "$ac_srcdir/configure.gnu"; then
2717 echo &&
2718 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2719 elif test -f "$ac_srcdir/configure"; then
2720 echo &&
2721 $SHELL "$ac_srcdir/configure" --help=recursive
2722 else
2723 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2724 fi || ac_status=$?
2725 cd "$ac_pwd" || { ac_status=$?; break; }
2726 done
2729 test -n "$ac_init_help" && exit $ac_status
2730 if $ac_init_version; then
2731 cat <<\_ACEOF
2732 Wine configure 8.17
2733 generated by GNU Autoconf 2.71
2735 Copyright (C) 2021 Free Software Foundation, Inc.
2736 This configure script is free software; the Free Software Foundation
2737 gives unlimited permission to copy, distribute and modify it.
2738 _ACEOF
2739 exit
2742 ## ------------------------ ##
2743 ## Autoconf initialization. ##
2744 ## ------------------------ ##
2746 # ac_fn_c_try_compile LINENO
2747 # --------------------------
2748 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2749 ac_fn_c_try_compile ()
2751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2752 rm -f conftest.$ac_objext conftest.beam
2753 if { { ac_try="$ac_compile"
2754 case "(($ac_try" in
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2757 esac
2758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2759 printf "%s\n" "$ac_try_echo"; } >&5
2760 (eval "$ac_compile") 2>conftest.err
2761 ac_status=$?
2762 if test -s conftest.err; then
2763 grep -v '^ *+' conftest.err >conftest.er1
2764 cat conftest.er1 >&5
2765 mv -f conftest.er1 conftest.err
2767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2768 test $ac_status = 0; } && {
2769 test -z "$ac_c_werror_flag" ||
2770 test ! -s conftest.err
2771 } && test -s conftest.$ac_objext
2772 then :
2773 ac_retval=0
2774 else $as_nop
2775 printf "%s\n" "$as_me: failed program was:" >&5
2776 sed 's/^/| /' conftest.$ac_ext >&5
2778 ac_retval=1
2780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2781 as_fn_set_status $ac_retval
2783 } # ac_fn_c_try_compile
2785 # ac_fn_cxx_try_compile LINENO
2786 # ----------------------------
2787 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2788 ac_fn_cxx_try_compile ()
2790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2791 rm -f conftest.$ac_objext conftest.beam
2792 if { { ac_try="$ac_compile"
2793 case "(($ac_try" in
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2796 esac
2797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2798 printf "%s\n" "$ac_try_echo"; } >&5
2799 (eval "$ac_compile") 2>conftest.err
2800 ac_status=$?
2801 if test -s conftest.err; then
2802 grep -v '^ *+' conftest.err >conftest.er1
2803 cat conftest.er1 >&5
2804 mv -f conftest.er1 conftest.err
2806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; } && {
2808 test -z "$ac_cxx_werror_flag" ||
2809 test ! -s conftest.err
2810 } && test -s conftest.$ac_objext
2811 then :
2812 ac_retval=0
2813 else $as_nop
2814 printf "%s\n" "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2817 ac_retval=1
2819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2820 as_fn_set_status $ac_retval
2822 } # ac_fn_cxx_try_compile
2824 # ac_fn_c_try_link LINENO
2825 # -----------------------
2826 # Try to link conftest.$ac_ext, and return whether this succeeded.
2827 ac_fn_c_try_link ()
2829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2830 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2831 if { { ac_try="$ac_link"
2832 case "(($ac_try" in
2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2835 esac
2836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2837 printf "%s\n" "$ac_try_echo"; } >&5
2838 (eval "$ac_link") 2>conftest.err
2839 ac_status=$?
2840 if test -s conftest.err; then
2841 grep -v '^ *+' conftest.err >conftest.er1
2842 cat conftest.er1 >&5
2843 mv -f conftest.er1 conftest.err
2845 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2846 test $ac_status = 0; } && {
2847 test -z "$ac_c_werror_flag" ||
2848 test ! -s conftest.err
2849 } && test -s conftest$ac_exeext && {
2850 test "$cross_compiling" = yes ||
2851 test -x conftest$ac_exeext
2853 then :
2854 ac_retval=0
2855 else $as_nop
2856 printf "%s\n" "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.$ac_ext >&5
2859 ac_retval=1
2861 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2862 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2863 # interfere with the next link command; also delete a directory that is
2864 # left behind by Apple's compiler. We do this before executing the actions.
2865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2867 as_fn_set_status $ac_retval
2869 } # ac_fn_c_try_link
2871 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2872 # -------------------------------------------------------
2873 # Tests whether HEADER exists and can be compiled using the include files in
2874 # INCLUDES, setting the cache variable VAR accordingly.
2875 ac_fn_c_check_header_compile ()
2877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2879 printf %s "checking for $2... " >&6; }
2880 if eval test \${$3+y}
2881 then :
2882 printf %s "(cached) " >&6
2883 else $as_nop
2884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2887 #include <$2>
2888 _ACEOF
2889 if ac_fn_c_try_compile "$LINENO"
2890 then :
2891 eval "$3=yes"
2892 else $as_nop
2893 eval "$3=no"
2895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2897 eval ac_res=\$$3
2898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2899 printf "%s\n" "$ac_res" >&6; }
2900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 } # ac_fn_c_check_header_compile
2904 # ac_fn_objc_try_compile LINENO
2905 # -----------------------------
2906 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2907 ac_fn_objc_try_compile ()
2909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2910 rm -f conftest.$ac_objext conftest.beam
2911 if { { ac_try="$ac_compile"
2912 case "(($ac_try" in
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2915 esac
2916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2917 printf "%s\n" "$ac_try_echo"; } >&5
2918 (eval "$ac_compile") 2>conftest.err
2919 ac_status=$?
2920 if test -s conftest.err; then
2921 grep -v '^ *+' conftest.err >conftest.er1
2922 cat conftest.er1 >&5
2923 mv -f conftest.er1 conftest.err
2925 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2926 test $ac_status = 0; } && {
2927 test -z "$ac_objc_werror_flag" ||
2928 test ! -s conftest.err
2929 } && test -s conftest.$ac_objext
2930 then :
2931 ac_retval=0
2932 else $as_nop
2933 printf "%s\n" "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2936 ac_retval=1
2938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2939 as_fn_set_status $ac_retval
2941 } # ac_fn_objc_try_compile
2943 # ac_fn_c_check_func LINENO FUNC VAR
2944 # ----------------------------------
2945 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2946 ac_fn_c_check_func ()
2948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2950 printf %s "checking for $2... " >&6; }
2951 if eval test \${$3+y}
2952 then :
2953 printf %s "(cached) " >&6
2954 else $as_nop
2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956 /* end confdefs.h. */
2957 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2959 #define $2 innocuous_$2
2961 /* System header to define __stub macros and hopefully few prototypes,
2962 which can conflict with char $2 (); below. */
2964 #include <limits.h>
2965 #undef $2
2967 /* Override any GCC internal prototype to avoid an error.
2968 Use char because int might match the return type of a GCC
2969 builtin and then its argument prototype would still apply. */
2970 #ifdef __cplusplus
2971 extern "C"
2972 #endif
2973 char $2 ();
2974 /* The GNU C library defines this for functions which it implements
2975 to always fail with ENOSYS. Some functions are actually named
2976 something starting with __ and the normal name is an alias. */
2977 #if defined __stub_$2 || defined __stub___$2
2978 choke me
2979 #endif
2982 main (void)
2984 return $2 ();
2986 return 0;
2988 _ACEOF
2989 if ac_fn_c_try_link "$LINENO"
2990 then :
2991 eval "$3=yes"
2992 else $as_nop
2993 eval "$3=no"
2995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2996 conftest$ac_exeext conftest.$ac_ext
2998 eval ac_res=\$$3
2999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3000 printf "%s\n" "$ac_res" >&6; }
3001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3003 } # ac_fn_c_check_func
3005 # ac_fn_c_try_cpp LINENO
3006 # ----------------------
3007 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3008 ac_fn_c_try_cpp ()
3010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3011 if { { ac_try="$ac_cpp conftest.$ac_ext"
3012 case "(($ac_try" in
3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014 *) ac_try_echo=$ac_try;;
3015 esac
3016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3017 printf "%s\n" "$ac_try_echo"; } >&5
3018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3019 ac_status=$?
3020 if test -s conftest.err; then
3021 grep -v '^ *+' conftest.err >conftest.er1
3022 cat conftest.er1 >&5
3023 mv -f conftest.er1 conftest.err
3025 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3026 test $ac_status = 0; } > conftest.i && {
3027 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3028 test ! -s conftest.err
3030 then :
3031 ac_retval=0
3032 else $as_nop
3033 printf "%s\n" "$as_me: failed program was:" >&5
3034 sed 's/^/| /' conftest.$ac_ext >&5
3036 ac_retval=1
3038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3039 as_fn_set_status $ac_retval
3041 } # ac_fn_c_try_cpp
3043 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3044 # ----------------------------------------------------
3045 # Tries to find if the field MEMBER exists in type AGGR, after including
3046 # INCLUDES, setting cache variable VAR accordingly.
3047 ac_fn_c_check_member ()
3049 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3051 printf %s "checking for $2.$3... " >&6; }
3052 if eval test \${$4+y}
3053 then :
3054 printf %s "(cached) " >&6
3055 else $as_nop
3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3060 main (void)
3062 static $2 ac_aggr;
3063 if (ac_aggr.$3)
3064 return 0;
3066 return 0;
3068 _ACEOF
3069 if ac_fn_c_try_compile "$LINENO"
3070 then :
3071 eval "$4=yes"
3072 else $as_nop
3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3074 /* end confdefs.h. */
3077 main (void)
3079 static $2 ac_aggr;
3080 if (sizeof ac_aggr.$3)
3081 return 0;
3083 return 0;
3085 _ACEOF
3086 if ac_fn_c_try_compile "$LINENO"
3087 then :
3088 eval "$4=yes"
3089 else $as_nop
3090 eval "$4=no"
3092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3096 eval ac_res=\$$4
3097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3098 printf "%s\n" "$ac_res" >&6; }
3099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3101 } # ac_fn_c_check_member
3103 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3104 # -------------------------------------------
3105 # Tests whether TYPE exists after having included INCLUDES, setting cache
3106 # variable VAR accordingly.
3107 ac_fn_c_check_type ()
3109 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3111 printf %s "checking for $2... " >&6; }
3112 if eval test \${$3+y}
3113 then :
3114 printf %s "(cached) " >&6
3115 else $as_nop
3116 eval "$3=no"
3117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3121 main (void)
3123 if (sizeof ($2))
3124 return 0;
3126 return 0;
3128 _ACEOF
3129 if ac_fn_c_try_compile "$LINENO"
3130 then :
3131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3132 /* end confdefs.h. */
3135 main (void)
3137 if (sizeof (($2)))
3138 return 0;
3140 return 0;
3142 _ACEOF
3143 if ac_fn_c_try_compile "$LINENO"
3144 then :
3146 else $as_nop
3147 eval "$3=yes"
3149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3153 eval ac_res=\$$3
3154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3155 printf "%s\n" "$ac_res" >&6; }
3156 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3158 } # ac_fn_c_check_type
3159 ac_configure_args_raw=
3160 for ac_arg
3162 case $ac_arg in
3163 *\'*)
3164 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3165 esac
3166 as_fn_append ac_configure_args_raw " '$ac_arg'"
3167 done
3169 case $ac_configure_args_raw in
3170 *$as_nl*)
3171 ac_safe_unquote= ;;
3173 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3174 ac_unsafe_a="$ac_unsafe_z#~"
3175 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3176 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3177 esac
3179 cat >config.log <<_ACEOF
3180 This file contains any messages produced by compilers while
3181 running configure, to aid debugging if configure makes a mistake.
3183 It was created by Wine $as_me 8.17, which was
3184 generated by GNU Autoconf 2.71. Invocation command line was
3186 $ $0$ac_configure_args_raw
3188 _ACEOF
3189 exec 5>>config.log
3191 cat <<_ASUNAME
3192 ## --------- ##
3193 ## Platform. ##
3194 ## --------- ##
3196 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3197 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3198 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3199 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3200 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3202 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3203 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3205 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3206 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3207 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3208 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3209 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3210 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3211 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3213 _ASUNAME
3215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3216 for as_dir in $PATH
3218 IFS=$as_save_IFS
3219 case $as_dir in #(((
3220 '') as_dir=./ ;;
3221 */) ;;
3222 *) as_dir=$as_dir/ ;;
3223 esac
3224 printf "%s\n" "PATH: $as_dir"
3225 done
3226 IFS=$as_save_IFS
3228 } >&5
3230 cat >&5 <<_ACEOF
3233 ## ----------- ##
3234 ## Core tests. ##
3235 ## ----------- ##
3237 _ACEOF
3240 # Keep a trace of the command line.
3241 # Strip out --no-create and --no-recursion so they do not pile up.
3242 # Strip out --silent because we don't want to record it for future runs.
3243 # Also quote any args containing shell meta-characters.
3244 # Make two passes to allow for proper duplicate-argument suppression.
3245 ac_configure_args=
3246 ac_configure_args0=
3247 ac_configure_args1=
3248 ac_must_keep_next=false
3249 for ac_pass in 1 2
3251 for ac_arg
3253 case $ac_arg in
3254 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3255 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3256 | -silent | --silent | --silen | --sile | --sil)
3257 continue ;;
3258 *\'*)
3259 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3260 esac
3261 case $ac_pass in
3262 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3264 as_fn_append ac_configure_args1 " '$ac_arg'"
3265 if test $ac_must_keep_next = true; then
3266 ac_must_keep_next=false # Got value, back to normal.
3267 else
3268 case $ac_arg in
3269 *=* | --config-cache | -C | -disable-* | --disable-* \
3270 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3271 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3272 | -with-* | --with-* | -without-* | --without-* | --x)
3273 case "$ac_configure_args0 " in
3274 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3275 esac
3277 -* ) ac_must_keep_next=true ;;
3278 esac
3280 as_fn_append ac_configure_args " '$ac_arg'"
3282 esac
3283 done
3284 done
3285 { ac_configure_args0=; unset ac_configure_args0;}
3286 { ac_configure_args1=; unset ac_configure_args1;}
3288 # When interrupted or exit'd, cleanup temporary files, and complete
3289 # config.log. We remove comments because anyway the quotes in there
3290 # would cause problems or look ugly.
3291 # WARNING: Use '\'' to represent an apostrophe within the trap.
3292 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3293 trap 'exit_status=$?
3294 # Sanitize IFS.
3295 IFS=" "" $as_nl"
3296 # Save into config.log some information that might help in debugging.
3298 echo
3300 printf "%s\n" "## ---------------- ##
3301 ## Cache variables. ##
3302 ## ---------------- ##"
3303 echo
3304 # The following way of writing the cache mishandles newlines in values,
3306 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3307 eval ac_val=\$$ac_var
3308 case $ac_val in #(
3309 *${as_nl}*)
3310 case $ac_var in #(
3311 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3312 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3313 esac
3314 case $ac_var in #(
3315 _ | IFS | as_nl) ;; #(
3316 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3317 *) { eval $ac_var=; unset $ac_var;} ;;
3318 esac ;;
3319 esac
3320 done
3321 (set) 2>&1 |
3322 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3323 *${as_nl}ac_space=\ *)
3324 sed -n \
3325 "s/'\''/'\''\\\\'\'''\''/g;
3326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3327 ;; #(
3329 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3331 esac |
3332 sort
3334 echo
3336 printf "%s\n" "## ----------------- ##
3337 ## Output variables. ##
3338 ## ----------------- ##"
3339 echo
3340 for ac_var in $ac_subst_vars
3342 eval ac_val=\$$ac_var
3343 case $ac_val in
3344 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3345 esac
3346 printf "%s\n" "$ac_var='\''$ac_val'\''"
3347 done | sort
3348 echo
3350 if test -n "$ac_subst_files"; then
3351 printf "%s\n" "## ------------------- ##
3352 ## File substitutions. ##
3353 ## ------------------- ##"
3354 echo
3355 for ac_var in $ac_subst_files
3357 eval ac_val=\$$ac_var
3358 case $ac_val in
3359 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3360 esac
3361 printf "%s\n" "$ac_var='\''$ac_val'\''"
3362 done | sort
3363 echo
3366 if test -s confdefs.h; then
3367 printf "%s\n" "## ----------- ##
3368 ## confdefs.h. ##
3369 ## ----------- ##"
3370 echo
3371 cat confdefs.h
3372 echo
3374 test "$ac_signal" != 0 &&
3375 printf "%s\n" "$as_me: caught signal $ac_signal"
3376 printf "%s\n" "$as_me: exit $exit_status"
3377 } >&5
3378 rm -f core *.core core.conftest.* &&
3379 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3380 exit $exit_status
3382 for ac_signal in 1 2 13 15; do
3383 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3384 done
3385 ac_signal=0
3387 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3388 rm -f -r conftest* confdefs.h
3390 printf "%s\n" "/* confdefs.h */" > confdefs.h
3392 # Predefined preprocessor variables.
3394 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3396 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3398 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3400 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3402 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3404 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3407 # Let the site file select an alternate cache file if it wants to.
3408 # Prefer an explicitly selected file to automatically selected ones.
3409 if test -n "$CONFIG_SITE"; then
3410 ac_site_files="$CONFIG_SITE"
3411 elif test "x$prefix" != xNONE; then
3412 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3413 else
3414 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3417 for ac_site_file in $ac_site_files
3419 case $ac_site_file in #(
3420 */*) :
3421 ;; #(
3422 *) :
3423 ac_site_file=./$ac_site_file ;;
3424 esac
3425 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3427 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3428 sed 's/^/| /' "$ac_site_file" >&5
3429 . "$ac_site_file" \
3430 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3431 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3432 as_fn_error $? "failed to load site script $ac_site_file
3433 See \`config.log' for more details" "$LINENO" 5; }
3435 done
3437 if test -r "$cache_file"; then
3438 # Some versions of bash will fail to source /dev/null (special files
3439 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3440 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3442 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3443 case $cache_file in
3444 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3445 *) . "./$cache_file";;
3446 esac
3448 else
3449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3450 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3451 >$cache_file
3454 # Test code for whether the C compiler supports C89 (global declarations)
3455 ac_c_conftest_c89_globals='
3456 /* Does the compiler advertise C89 conformance?
3457 Do not test the value of __STDC__, because some compilers set it to 0
3458 while being otherwise adequately conformant. */
3459 #if !defined __STDC__
3460 # error "Compiler does not advertise C89 conformance"
3461 #endif
3463 #include <stddef.h>
3464 #include <stdarg.h>
3465 struct stat;
3466 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3467 struct buf { int x; };
3468 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3469 static char *e (p, i)
3470 char **p;
3471 int i;
3473 return p[i];
3475 static char *f (char * (*g) (char **, int), char **p, ...)
3477 char *s;
3478 va_list v;
3479 va_start (v,p);
3480 s = g (p, va_arg (v,int));
3481 va_end (v);
3482 return s;
3485 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3486 function prototypes and stuff, but not \xHH hex character constants.
3487 These do not provoke an error unfortunately, instead are silently treated
3488 as an "x". The following induces an error, until -std is added to get
3489 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3490 array size at least. It is necessary to write \x00 == 0 to get something
3491 that is true only with -std. */
3492 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3494 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3495 inside strings and character constants. */
3496 #define FOO(x) '\''x'\''
3497 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3499 int test (int i, double x);
3500 struct s1 {int (*f) (int a);};
3501 struct s2 {int (*f) (double a);};
3502 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3503 int, int);'
3505 # Test code for whether the C compiler supports C89 (body of main).
3506 ac_c_conftest_c89_main='
3507 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3510 # Test code for whether the C compiler supports C99 (global declarations)
3511 ac_c_conftest_c99_globals='
3512 // Does the compiler advertise C99 conformance?
3513 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3514 # error "Compiler does not advertise C99 conformance"
3515 #endif
3517 #include <stdbool.h>
3518 extern int puts (const char *);
3519 extern int printf (const char *, ...);
3520 extern int dprintf (int, const char *, ...);
3521 extern void *malloc (size_t);
3523 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3524 // dprintf is used instead of fprintf to avoid needing to declare
3525 // FILE and stderr.
3526 #define debug(...) dprintf (2, __VA_ARGS__)
3527 #define showlist(...) puts (#__VA_ARGS__)
3528 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3529 static void
3530 test_varargs_macros (void)
3532 int x = 1234;
3533 int y = 5678;
3534 debug ("Flag");
3535 debug ("X = %d\n", x);
3536 showlist (The first, second, and third items.);
3537 report (x>y, "x is %d but y is %d", x, y);
3540 // Check long long types.
3541 #define BIG64 18446744073709551615ull
3542 #define BIG32 4294967295ul
3543 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3544 #if !BIG_OK
3545 #error "your preprocessor is broken"
3546 #endif
3547 #if BIG_OK
3548 #else
3549 #error "your preprocessor is broken"
3550 #endif
3551 static long long int bignum = -9223372036854775807LL;
3552 static unsigned long long int ubignum = BIG64;
3554 struct incomplete_array
3556 int datasize;
3557 double data[];
3560 struct named_init {
3561 int number;
3562 const wchar_t *name;
3563 double average;
3566 typedef const char *ccp;
3568 static inline int
3569 test_restrict (ccp restrict text)
3571 // See if C++-style comments work.
3572 // Iterate through items via the restricted pointer.
3573 // Also check for declarations in for loops.
3574 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3575 continue;
3576 return 0;
3579 // Check varargs and va_copy.
3580 static bool
3581 test_varargs (const char *format, ...)
3583 va_list args;
3584 va_start (args, format);
3585 va_list args_copy;
3586 va_copy (args_copy, args);
3588 const char *str = "";
3589 int number = 0;
3590 float fnumber = 0;
3592 while (*format)
3594 switch (*format++)
3596 case '\''s'\'': // string
3597 str = va_arg (args_copy, const char *);
3598 break;
3599 case '\''d'\'': // int
3600 number = va_arg (args_copy, int);
3601 break;
3602 case '\''f'\'': // float
3603 fnumber = va_arg (args_copy, double);
3604 break;
3605 default:
3606 break;
3609 va_end (args_copy);
3610 va_end (args);
3612 return *str && number && fnumber;
3616 # Test code for whether the C compiler supports C99 (body of main).
3617 ac_c_conftest_c99_main='
3618 // Check bool.
3619 _Bool success = false;
3620 success |= (argc != 0);
3622 // Check restrict.
3623 if (test_restrict ("String literal") == 0)
3624 success = true;
3625 char *restrict newvar = "Another string";
3627 // Check varargs.
3628 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3629 test_varargs_macros ();
3631 // Check flexible array members.
3632 struct incomplete_array *ia =
3633 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3634 ia->datasize = 10;
3635 for (int i = 0; i < ia->datasize; ++i)
3636 ia->data[i] = i * 1.234;
3638 // Check named initializers.
3639 struct named_init ni = {
3640 .number = 34,
3641 .name = L"Test wide string",
3642 .average = 543.34343,
3645 ni.number = 58;
3647 int dynamic_array[ni.number];
3648 dynamic_array[0] = argv[0][0];
3649 dynamic_array[ni.number - 1] = 543;
3651 // work around unused variable warnings
3652 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3653 || dynamic_array[ni.number - 1] != 543);
3656 # Test code for whether the C compiler supports C11 (global declarations)
3657 ac_c_conftest_c11_globals='
3658 // Does the compiler advertise C11 conformance?
3659 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3660 # error "Compiler does not advertise C11 conformance"
3661 #endif
3663 // Check _Alignas.
3664 char _Alignas (double) aligned_as_double;
3665 char _Alignas (0) no_special_alignment;
3666 extern char aligned_as_int;
3667 char _Alignas (0) _Alignas (int) aligned_as_int;
3669 // Check _Alignof.
3670 enum
3672 int_alignment = _Alignof (int),
3673 int_array_alignment = _Alignof (int[100]),
3674 char_alignment = _Alignof (char)
3676 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3678 // Check _Noreturn.
3679 int _Noreturn does_not_return (void) { for (;;) continue; }
3681 // Check _Static_assert.
3682 struct test_static_assert
3684 int x;
3685 _Static_assert (sizeof (int) <= sizeof (long int),
3686 "_Static_assert does not work in struct");
3687 long int y;
3690 // Check UTF-8 literals.
3691 #define u8 syntax error!
3692 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3694 // Check duplicate typedefs.
3695 typedef long *long_ptr;
3696 typedef long int *long_ptr;
3697 typedef long_ptr long_ptr;
3699 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3700 struct anonymous
3702 union {
3703 struct { int i; int j; };
3704 struct { int k; long int l; } w;
3706 int m;
3707 } v1;
3710 # Test code for whether the C compiler supports C11 (body of main).
3711 ac_c_conftest_c11_main='
3712 _Static_assert ((offsetof (struct anonymous, i)
3713 == offsetof (struct anonymous, w.k)),
3714 "Anonymous union alignment botch");
3715 v1.i = 2;
3716 v1.w.k = 5;
3717 ok |= v1.i != 5;
3720 # Test code for whether the C compiler supports C11 (complete).
3721 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3722 ${ac_c_conftest_c99_globals}
3723 ${ac_c_conftest_c11_globals}
3726 main (int argc, char **argv)
3728 int ok = 0;
3729 ${ac_c_conftest_c89_main}
3730 ${ac_c_conftest_c99_main}
3731 ${ac_c_conftest_c11_main}
3732 return ok;
3736 # Test code for whether the C compiler supports C99 (complete).
3737 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3738 ${ac_c_conftest_c99_globals}
3741 main (int argc, char **argv)
3743 int ok = 0;
3744 ${ac_c_conftest_c89_main}
3745 ${ac_c_conftest_c99_main}
3746 return ok;
3750 # Test code for whether the C compiler supports C89 (complete).
3751 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3754 main (int argc, char **argv)
3756 int ok = 0;
3757 ${ac_c_conftest_c89_main}
3758 return ok;
3762 # Test code for whether the C++ compiler supports C++98 (global declarations)
3763 ac_cxx_conftest_cxx98_globals='
3764 // Does the compiler advertise C++98 conformance?
3765 #if !defined __cplusplus || __cplusplus < 199711L
3766 # error "Compiler does not advertise C++98 conformance"
3767 #endif
3769 // These inclusions are to reject old compilers that
3770 // lack the unsuffixed header files.
3771 #include <cstdlib>
3772 #include <exception>
3774 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3775 extern void assert (int);
3776 namespace std {
3777 extern int strcmp (const char *, const char *);
3780 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3781 using std::exception;
3782 using std::strcmp;
3784 namespace {
3786 void test_exception_syntax()
3788 try {
3789 throw "test";
3790 } catch (const char *s) {
3791 // Extra parentheses suppress a warning when building autoconf itself,
3792 // due to lint rules shared with more typical C programs.
3793 assert (!(strcmp) (s, "test"));
3797 template <typename T> struct test_template
3799 T const val;
3800 explicit test_template(T t) : val(t) {}
3801 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3804 } // anonymous namespace
3807 # Test code for whether the C++ compiler supports C++98 (body of main)
3808 ac_cxx_conftest_cxx98_main='
3809 assert (argc);
3810 assert (! argv[0]);
3812 test_exception_syntax ();
3813 test_template<double> tt (2.0);
3814 assert (tt.add (4) == 6.0);
3815 assert (true && !false);
3819 # Test code for whether the C++ compiler supports C++11 (global declarations)
3820 ac_cxx_conftest_cxx11_globals='
3821 // Does the compiler advertise C++ 2011 conformance?
3822 #if !defined __cplusplus || __cplusplus < 201103L
3823 # error "Compiler does not advertise C++11 conformance"
3824 #endif
3826 namespace cxx11test
3828 constexpr int get_val() { return 20; }
3830 struct testinit
3832 int i;
3833 double d;
3836 class delegate
3838 public:
3839 delegate(int n) : n(n) {}
3840 delegate(): delegate(2354) {}
3842 virtual int getval() { return this->n; };
3843 protected:
3844 int n;
3847 class overridden : public delegate
3849 public:
3850 overridden(int n): delegate(n) {}
3851 virtual int getval() override final { return this->n * 2; }
3854 class nocopy
3856 public:
3857 nocopy(int i): i(i) {}
3858 nocopy() = default;
3859 nocopy(const nocopy&) = delete;
3860 nocopy & operator=(const nocopy&) = delete;
3861 private:
3862 int i;
3865 // for testing lambda expressions
3866 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3868 return f(v);
3871 // for testing variadic templates and trailing return types
3872 template <typename V> auto sum(V first) -> V
3874 return first;
3876 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3878 return first + sum(rest...);
3883 # Test code for whether the C++ compiler supports C++11 (body of main)
3884 ac_cxx_conftest_cxx11_main='
3886 // Test auto and decltype
3887 auto a1 = 6538;
3888 auto a2 = 48573953.4;
3889 auto a3 = "String literal";
3891 int total = 0;
3892 for (auto i = a3; *i; ++i) { total += *i; }
3894 decltype(a2) a4 = 34895.034;
3897 // Test constexpr
3898 short sa[cxx11test::get_val()] = { 0 };
3901 // Test initializer lists
3902 cxx11test::testinit il = { 4323, 435234.23544 };
3905 // Test range-based for
3906 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3907 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3908 for (auto &x : array) { x += 23; }
3911 // Test lambda expressions
3912 using cxx11test::eval;
3913 assert (eval ([](int x) { return x*2; }, 21) == 42);
3914 double d = 2.0;
3915 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3916 assert (d == 5.0);
3917 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3918 assert (d == 5.0);
3921 // Test use of variadic templates
3922 using cxx11test::sum;
3923 auto a = sum(1);
3924 auto b = sum(1, 2);
3925 auto c = sum(1.0, 2.0, 3.0);
3928 // Test constructor delegation
3929 cxx11test::delegate d1;
3930 cxx11test::delegate d2();
3931 cxx11test::delegate d3(45);
3934 // Test override and final
3935 cxx11test::overridden o1(55464);
3938 // Test nullptr
3939 char *c = nullptr;
3942 // Test template brackets
3943 test_template<::test_template<int>> v(test_template<int>(12));
3946 // Unicode literals
3947 char const *utf8 = u8"UTF-8 string \u2500";
3948 char16_t const *utf16 = u"UTF-8 string \u2500";
3949 char32_t const *utf32 = U"UTF-32 string \u2500";
3953 # Test code for whether the C compiler supports C++11 (complete).
3954 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3955 ${ac_cxx_conftest_cxx11_globals}
3958 main (int argc, char **argv)
3960 int ok = 0;
3961 ${ac_cxx_conftest_cxx98_main}
3962 ${ac_cxx_conftest_cxx11_main}
3963 return ok;
3967 # Test code for whether the C compiler supports C++98 (complete).
3968 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3970 main (int argc, char **argv)
3972 int ok = 0;
3973 ${ac_cxx_conftest_cxx98_main}
3974 return ok;
3978 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3979 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3980 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3981 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3982 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3983 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3984 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3985 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3986 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3988 # Auxiliary files required by this configure script.
3989 ac_aux_files="config.guess config.sub"
3991 # Locations in which to look for auxiliary files.
3992 ac_aux_dir_candidates="${srcdir}/tools"
3994 # Search for a directory containing all of the required auxiliary files,
3995 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3996 # If we don't find one directory that contains all the files we need,
3997 # we report the set of missing files from the *first* directory in
3998 # $ac_aux_dir_candidates and give up.
3999 ac_missing_aux_files=""
4000 ac_first_candidate=:
4001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 as_found=false
4004 for as_dir in $ac_aux_dir_candidates
4006 IFS=$as_save_IFS
4007 case $as_dir in #(((
4008 '') as_dir=./ ;;
4009 */) ;;
4010 *) as_dir=$as_dir/ ;;
4011 esac
4012 as_found=:
4014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4015 ac_aux_dir_found=yes
4016 ac_install_sh=
4017 for ac_aux in $ac_aux_files
4019 # As a special case, if "install-sh" is required, that requirement
4020 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4021 # and $ac_install_sh is set appropriately for whichever one is found.
4022 if test x"$ac_aux" = x"install-sh"
4023 then
4024 if test -f "${as_dir}install-sh"; then
4025 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4026 ac_install_sh="${as_dir}install-sh -c"
4027 elif test -f "${as_dir}install.sh"; then
4028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4029 ac_install_sh="${as_dir}install.sh -c"
4030 elif test -f "${as_dir}shtool"; then
4031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4032 ac_install_sh="${as_dir}shtool install -c"
4033 else
4034 ac_aux_dir_found=no
4035 if $ac_first_candidate; then
4036 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4037 else
4038 break
4041 else
4042 if test -f "${as_dir}${ac_aux}"; then
4043 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4044 else
4045 ac_aux_dir_found=no
4046 if $ac_first_candidate; then
4047 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4048 else
4049 break
4053 done
4054 if test "$ac_aux_dir_found" = yes; then
4055 ac_aux_dir="$as_dir"
4056 break
4058 ac_first_candidate=false
4060 as_found=false
4061 done
4062 IFS=$as_save_IFS
4063 if $as_found
4064 then :
4066 else $as_nop
4067 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4071 # These three variables are undocumented and unsupported,
4072 # and are intended to be withdrawn in a future Autoconf release.
4073 # They can cause serious problems if a builder's source tree is in a directory
4074 # whose full name contains unusual characters.
4075 if test -f "${ac_aux_dir}config.guess"; then
4076 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4078 if test -f "${ac_aux_dir}config.sub"; then
4079 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4081 if test -f "$ac_aux_dir/configure"; then
4082 ac_configure="$SHELL ${ac_aux_dir}configure"
4085 # Check that the precious variables saved in the cache have kept the same
4086 # value.
4087 ac_cache_corrupted=false
4088 for ac_var in $ac_precious_vars; do
4089 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4090 eval ac_new_set=\$ac_env_${ac_var}_set
4091 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4092 eval ac_new_val=\$ac_env_${ac_var}_value
4093 case $ac_old_set,$ac_new_set in
4094 set,)
4095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4096 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4097 ac_cache_corrupted=: ;;
4098 ,set)
4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4100 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4101 ac_cache_corrupted=: ;;
4102 ,);;
4104 if test "x$ac_old_val" != "x$ac_new_val"; then
4105 # differences in whitespace do not lead to failure.
4106 ac_old_val_w=`echo x $ac_old_val`
4107 ac_new_val_w=`echo x $ac_new_val`
4108 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4110 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4111 ac_cache_corrupted=:
4112 else
4113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4114 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4115 eval $ac_var=\$ac_old_val
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4118 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4120 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4121 fi;;
4122 esac
4123 # Pass precious variables to config.status.
4124 if test "$ac_new_set" = set; then
4125 case $ac_new_val in
4126 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4127 *) ac_arg=$ac_var=$ac_new_val ;;
4128 esac
4129 case " $ac_configure_args " in
4130 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4131 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4132 esac
4134 done
4135 if $ac_cache_corrupted; then
4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4137 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4139 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4140 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4141 and start over" "$LINENO" 5
4143 ## -------------------- ##
4144 ## Main body of script. ##
4145 ## -------------------- ##
4147 ac_ext=c
4148 ac_cpp='$CPP $CPPFLAGS'
4149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4155 ac_config_headers="$ac_config_headers include/config.h"
4159 libwine_version="1.0"
4162 # Check whether --enable-archs was given.
4163 if test ${enable_archs+y}
4164 then :
4165 enableval=$enable_archs;
4168 # Check whether --enable-win16 was given.
4169 if test ${enable_win16+y}
4170 then :
4171 enableval=$enable_win16;
4174 # Check whether --enable-win64 was given.
4175 if test ${enable_win64+y}
4176 then :
4177 enableval=$enable_win64;
4180 # Check whether --enable-tests was given.
4181 if test ${enable_tests+y}
4182 then :
4183 enableval=$enable_tests;
4186 # Check whether --enable-build-id was given.
4187 if test ${enable_build_id+y}
4188 then :
4189 enableval=$enable_build_id;
4192 # Check whether --enable-maintainer-mode was given.
4193 if test ${enable_maintainer_mode+y}
4194 then :
4195 enableval=$enable_maintainer_mode;
4198 # Check whether --enable-silent-rules was given.
4199 if test ${enable_silent_rules+y}
4200 then :
4201 enableval=$enable_silent_rules;
4204 # Check whether --enable-werror was given.
4205 if test ${enable_werror+y}
4206 then :
4207 enableval=$enable_werror;
4212 # Check whether --with-alsa was given.
4213 if test ${with_alsa+y}
4214 then :
4215 withval=$with_alsa;
4219 # Check whether --with-capi was given.
4220 if test ${with_capi+y}
4221 then :
4222 withval=$with_capi;
4226 # Check whether --with-coreaudio was given.
4227 if test ${with_coreaudio+y}
4228 then :
4229 withval=$with_coreaudio;
4233 # Check whether --with-cups was given.
4234 if test ${with_cups+y}
4235 then :
4236 withval=$with_cups;
4240 # Check whether --with-dbus was given.
4241 if test ${with_dbus+y}
4242 then :
4243 withval=$with_dbus;
4247 # Check whether --with-float-abi was given.
4248 if test ${with_float_abi+y}
4249 then :
4250 withval=$with_float_abi;
4254 # Check whether --with-fontconfig was given.
4255 if test ${with_fontconfig+y}
4256 then :
4257 withval=$with_fontconfig;
4261 # Check whether --with-freetype was given.
4262 if test ${with_freetype+y}
4263 then :
4264 withval=$with_freetype;
4268 # Check whether --with-gettext was given.
4269 if test ${with_gettext+y}
4270 then :
4271 withval=$with_gettext;
4275 # Check whether --with-gettextpo was given.
4276 if test ${with_gettextpo+y}
4277 then :
4278 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4282 # Check whether --with-gphoto was given.
4283 if test ${with_gphoto+y}
4284 then :
4285 withval=$with_gphoto;
4289 # Check whether --with-gnutls was given.
4290 if test ${with_gnutls+y}
4291 then :
4292 withval=$with_gnutls;
4296 # Check whether --with-gssapi was given.
4297 if test ${with_gssapi+y}
4298 then :
4299 withval=$with_gssapi;
4303 # Check whether --with-gstreamer was given.
4304 if test ${with_gstreamer+y}
4305 then :
4306 withval=$with_gstreamer;
4310 # Check whether --with-inotify was given.
4311 if test ${with_inotify+y}
4312 then :
4313 withval=$with_inotify;
4317 # Check whether --with-krb5 was given.
4318 if test ${with_krb5+y}
4319 then :
4320 withval=$with_krb5;
4324 # Check whether --with-mingw was given.
4325 if test ${with_mingw+y}
4326 then :
4327 withval=$with_mingw;
4331 # Check whether --with-netapi was given.
4332 if test ${with_netapi+y}
4333 then :
4334 withval=$with_netapi;
4338 # Check whether --with-opencl was given.
4339 if test ${with_opencl+y}
4340 then :
4341 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4345 # Check whether --with-opengl was given.
4346 if test ${with_opengl+y}
4347 then :
4348 withval=$with_opengl;
4352 # Check whether --with-osmesa was given.
4353 if test ${with_osmesa+y}
4354 then :
4355 withval=$with_osmesa;
4359 # Check whether --with-oss was given.
4360 if test ${with_oss+y}
4361 then :
4362 withval=$with_oss;
4366 # Check whether --with-pcap was given.
4367 if test ${with_pcap+y}
4368 then :
4369 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4373 # Check whether --with-pcsclite was given.
4374 if test ${with_pcsclite+y}
4375 then :
4376 withval=$with_pcsclite;
4380 # Check whether --with-pthread was given.
4381 if test ${with_pthread+y}
4382 then :
4383 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4387 # Check whether --with-pulse was given.
4388 if test ${with_pulse+y}
4389 then :
4390 withval=$with_pulse;
4394 # Check whether --with-sane was given.
4395 if test ${with_sane+y}
4396 then :
4397 withval=$with_sane;
4401 # Check whether --with-sdl was given.
4402 if test ${with_sdl+y}
4403 then :
4404 withval=$with_sdl;
4408 # Check whether --with-udev was given.
4409 if test ${with_udev+y}
4410 then :
4411 withval=$with_udev;
4415 # Check whether --with-unwind was given.
4416 if test ${with_unwind+y}
4417 then :
4418 withval=$with_unwind;
4422 # Check whether --with-usb was given.
4423 if test ${with_usb+y}
4424 then :
4425 withval=$with_usb;
4429 # Check whether --with-v4l2 was given.
4430 if test ${with_v4l2+y}
4431 then :
4432 withval=$with_v4l2;
4436 # Check whether --with-vulkan was given.
4437 if test ${with_vulkan+y}
4438 then :
4439 withval=$with_vulkan;
4443 # Check whether --with-wayland was given.
4444 if test ${with_wayland+y}
4445 then :
4446 withval=$with_wayland;
4450 # Check whether --with-xcomposite was given.
4451 if test ${with_xcomposite+y}
4452 then :
4453 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4457 # Check whether --with-xcursor was given.
4458 if test ${with_xcursor+y}
4459 then :
4460 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4464 # Check whether --with-xfixes was given.
4465 if test ${with_xfixes+y}
4466 then :
4467 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4471 # Check whether --with-xinerama was given.
4472 if test ${with_xinerama+y}
4473 then :
4474 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4478 # Check whether --with-xinput was given.
4479 if test ${with_xinput+y}
4480 then :
4481 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4485 # Check whether --with-xinput2 was given.
4486 if test ${with_xinput2+y}
4487 then :
4488 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4492 # Check whether --with-xrandr was given.
4493 if test ${with_xrandr+y}
4494 then :
4495 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4499 # Check whether --with-xrender was given.
4500 if test ${with_xrender+y}
4501 then :
4502 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4506 # Check whether --with-xshape was given.
4507 if test ${with_xshape+y}
4508 then :
4509 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4513 # Check whether --with-xshm was given.
4514 if test ${with_xshm+y}
4515 then :
4516 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4520 # Check whether --with-xxf86vm was given.
4521 if test ${with_xxf86vm+y}
4522 then :
4523 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
4528 # Check whether --with-system-dllpath was given.
4529 if test ${with_system_dllpath+y}
4530 then :
4531 withval=$with_system_dllpath; system_dllpath=$withval
4536 # Check whether --with-wine-tools was given.
4537 if test ${with_wine_tools+y}
4538 then :
4539 withval=$with_wine_tools;
4543 # Check whether --with-wine64 was given.
4544 if test ${with_wine64+y}
4545 then :
4546 withval=$with_wine64;
4553 # Make sure we can run config.sub.
4554 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4555 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4558 printf %s "checking build system type... " >&6; }
4559 if test ${ac_cv_build+y}
4560 then :
4561 printf %s "(cached) " >&6
4562 else $as_nop
4563 ac_build_alias=$build_alias
4564 test "x$ac_build_alias" = x &&
4565 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4566 test "x$ac_build_alias" = x &&
4567 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4568 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4569 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4573 printf "%s\n" "$ac_cv_build" >&6; }
4574 case $ac_cv_build in
4575 *-*-*) ;;
4576 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4577 esac
4578 build=$ac_cv_build
4579 ac_save_IFS=$IFS; IFS='-'
4580 set x $ac_cv_build
4581 shift
4582 build_cpu=$1
4583 build_vendor=$2
4584 shift; shift
4585 # Remember, the first character of IFS is used to create $*,
4586 # except with old shells:
4587 build_os=$*
4588 IFS=$ac_save_IFS
4589 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4593 printf %s "checking host system type... " >&6; }
4594 if test ${ac_cv_host+y}
4595 then :
4596 printf %s "(cached) " >&6
4597 else $as_nop
4598 if test "x$host_alias" = x; then
4599 ac_cv_host=$ac_cv_build
4600 else
4601 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4602 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4607 printf "%s\n" "$ac_cv_host" >&6; }
4608 case $ac_cv_host in
4609 *-*-*) ;;
4610 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4611 esac
4612 host=$ac_cv_host
4613 ac_save_IFS=$IFS; IFS='-'
4614 set x $ac_cv_host
4615 shift
4616 host_cpu=$1
4617 host_vendor=$2
4618 shift; shift
4619 # Remember, the first character of IFS is used to create $*,
4620 # except with old shells:
4621 host_os=$*
4622 IFS=$ac_save_IFS
4623 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4627 dlldir=\${libdir}/wine
4629 fontdir=\${datadir}/wine/fonts
4631 nlsdir=\${datadir}/wine/nls
4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4637 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4638 set x ${MAKE-make}
4639 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4640 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4641 then :
4642 printf %s "(cached) " >&6
4643 else $as_nop
4644 cat >conftest.make <<\_ACEOF
4645 SHELL = /bin/sh
4646 all:
4647 @echo '@@@%%%=$(MAKE)=@@@%%%'
4648 _ACEOF
4649 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4650 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4651 *@@@%%%=?*=@@@%%%*)
4652 eval ac_cv_prog_make_${ac_make}_set=yes;;
4654 eval ac_cv_prog_make_${ac_make}_set=no;;
4655 esac
4656 rm -f conftest.make
4658 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4660 printf "%s\n" "yes" >&6; }
4661 SET_MAKE=
4662 else
4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664 printf "%s\n" "no" >&6; }
4665 SET_MAKE="MAKE=${MAKE-make}"
4677 ac_ext=c
4678 ac_cpp='$CPP $CPPFLAGS'
4679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4682 if test -n "$ac_tool_prefix"; then
4683 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4684 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4686 printf %s "checking for $ac_word... " >&6; }
4687 if test ${ac_cv_prog_CC+y}
4688 then :
4689 printf %s "(cached) " >&6
4690 else $as_nop
4691 if test -n "$CC"; then
4692 ac_cv_prog_CC="$CC" # Let the user override the test.
4693 else
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 for as_dir in $PATH
4697 IFS=$as_save_IFS
4698 case $as_dir in #(((
4699 '') as_dir=./ ;;
4700 */) ;;
4701 *) as_dir=$as_dir/ ;;
4702 esac
4703 for ac_exec_ext in '' $ac_executable_extensions; do
4704 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4705 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4707 break 2
4709 done
4710 done
4711 IFS=$as_save_IFS
4715 CC=$ac_cv_prog_CC
4716 if test -n "$CC"; then
4717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4718 printf "%s\n" "$CC" >&6; }
4719 else
4720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4721 printf "%s\n" "no" >&6; }
4726 if test -z "$ac_cv_prog_CC"; then
4727 ac_ct_CC=$CC
4728 # Extract the first word of "gcc", so it can be a program name with args.
4729 set dummy gcc; ac_word=$2
4730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4731 printf %s "checking for $ac_word... " >&6; }
4732 if test ${ac_cv_prog_ac_ct_CC+y}
4733 then :
4734 printf %s "(cached) " >&6
4735 else $as_nop
4736 if test -n "$ac_ct_CC"; then
4737 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4738 else
4739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740 for as_dir in $PATH
4742 IFS=$as_save_IFS
4743 case $as_dir in #(((
4744 '') as_dir=./ ;;
4745 */) ;;
4746 *) as_dir=$as_dir/ ;;
4747 esac
4748 for ac_exec_ext in '' $ac_executable_extensions; do
4749 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4750 ac_cv_prog_ac_ct_CC="gcc"
4751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4752 break 2
4754 done
4755 done
4756 IFS=$as_save_IFS
4760 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4761 if test -n "$ac_ct_CC"; then
4762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4763 printf "%s\n" "$ac_ct_CC" >&6; }
4764 else
4765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4766 printf "%s\n" "no" >&6; }
4769 if test "x$ac_ct_CC" = x; then
4770 CC=""
4771 else
4772 case $cross_compiling:$ac_tool_warned in
4773 yes:)
4774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4775 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4776 ac_tool_warned=yes ;;
4777 esac
4778 CC=$ac_ct_CC
4780 else
4781 CC="$ac_cv_prog_CC"
4784 if test -z "$CC"; then
4785 if test -n "$ac_tool_prefix"; then
4786 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4787 set dummy ${ac_tool_prefix}cc; ac_word=$2
4788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4789 printf %s "checking for $ac_word... " >&6; }
4790 if test ${ac_cv_prog_CC+y}
4791 then :
4792 printf %s "(cached) " >&6
4793 else $as_nop
4794 if test -n "$CC"; then
4795 ac_cv_prog_CC="$CC" # Let the user override the test.
4796 else
4797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4798 for as_dir in $PATH
4800 IFS=$as_save_IFS
4801 case $as_dir in #(((
4802 '') as_dir=./ ;;
4803 */) ;;
4804 *) as_dir=$as_dir/ ;;
4805 esac
4806 for ac_exec_ext in '' $ac_executable_extensions; do
4807 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4808 ac_cv_prog_CC="${ac_tool_prefix}cc"
4809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4810 break 2
4812 done
4813 done
4814 IFS=$as_save_IFS
4818 CC=$ac_cv_prog_CC
4819 if test -n "$CC"; then
4820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4821 printf "%s\n" "$CC" >&6; }
4822 else
4823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 printf "%s\n" "no" >&6; }
4830 if test -z "$CC"; then
4831 # Extract the first word of "cc", so it can be a program name with args.
4832 set dummy cc; ac_word=$2
4833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834 printf %s "checking for $ac_word... " >&6; }
4835 if test ${ac_cv_prog_CC+y}
4836 then :
4837 printf %s "(cached) " >&6
4838 else $as_nop
4839 if test -n "$CC"; then
4840 ac_cv_prog_CC="$CC" # Let the user override the test.
4841 else
4842 ac_prog_rejected=no
4843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4844 for as_dir in $PATH
4846 IFS=$as_save_IFS
4847 case $as_dir in #(((
4848 '') as_dir=./ ;;
4849 */) ;;
4850 *) as_dir=$as_dir/ ;;
4851 esac
4852 for ac_exec_ext in '' $ac_executable_extensions; do
4853 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4854 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4855 ac_prog_rejected=yes
4856 continue
4858 ac_cv_prog_CC="cc"
4859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4860 break 2
4862 done
4863 done
4864 IFS=$as_save_IFS
4866 if test $ac_prog_rejected = yes; then
4867 # We found a bogon in the path, so make sure we never use it.
4868 set dummy $ac_cv_prog_CC
4869 shift
4870 if test $# != 0; then
4871 # We chose a different compiler from the bogus one.
4872 # However, it has the same basename, so the bogon will be chosen
4873 # first if we set CC to just the basename; use the full file name.
4874 shift
4875 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4880 CC=$ac_cv_prog_CC
4881 if test -n "$CC"; then
4882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4883 printf "%s\n" "$CC" >&6; }
4884 else
4885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 printf "%s\n" "no" >&6; }
4891 if test -z "$CC"; then
4892 if test -n "$ac_tool_prefix"; then
4893 for ac_prog in cl.exe
4895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4896 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 printf %s "checking for $ac_word... " >&6; }
4899 if test ${ac_cv_prog_CC+y}
4900 then :
4901 printf %s "(cached) " >&6
4902 else $as_nop
4903 if test -n "$CC"; then
4904 ac_cv_prog_CC="$CC" # Let the user override the test.
4905 else
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 for as_dir in $PATH
4909 IFS=$as_save_IFS
4910 case $as_dir in #(((
4911 '') as_dir=./ ;;
4912 */) ;;
4913 *) as_dir=$as_dir/ ;;
4914 esac
4915 for ac_exec_ext in '' $ac_executable_extensions; do
4916 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4917 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4918 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4919 break 2
4921 done
4922 done
4923 IFS=$as_save_IFS
4927 CC=$ac_cv_prog_CC
4928 if test -n "$CC"; then
4929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4930 printf "%s\n" "$CC" >&6; }
4931 else
4932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 printf "%s\n" "no" >&6; }
4937 test -n "$CC" && break
4938 done
4940 if test -z "$CC"; then
4941 ac_ct_CC=$CC
4942 for ac_prog in cl.exe
4944 # Extract the first word of "$ac_prog", so it can be a program name with args.
4945 set dummy $ac_prog; ac_word=$2
4946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4947 printf %s "checking for $ac_word... " >&6; }
4948 if test ${ac_cv_prog_ac_ct_CC+y}
4949 then :
4950 printf %s "(cached) " >&6
4951 else $as_nop
4952 if test -n "$ac_ct_CC"; then
4953 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4954 else
4955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 for as_dir in $PATH
4958 IFS=$as_save_IFS
4959 case $as_dir in #(((
4960 '') as_dir=./ ;;
4961 */) ;;
4962 *) as_dir=$as_dir/ ;;
4963 esac
4964 for ac_exec_ext in '' $ac_executable_extensions; do
4965 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4966 ac_cv_prog_ac_ct_CC="$ac_prog"
4967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4968 break 2
4970 done
4971 done
4972 IFS=$as_save_IFS
4976 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4977 if test -n "$ac_ct_CC"; then
4978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4979 printf "%s\n" "$ac_ct_CC" >&6; }
4980 else
4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 printf "%s\n" "no" >&6; }
4986 test -n "$ac_ct_CC" && break
4987 done
4989 if test "x$ac_ct_CC" = x; then
4990 CC=""
4991 else
4992 case $cross_compiling:$ac_tool_warned in
4993 yes:)
4994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4995 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4996 ac_tool_warned=yes ;;
4997 esac
4998 CC=$ac_ct_CC
5003 if test -z "$CC"; then
5004 if test -n "$ac_tool_prefix"; then
5005 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5006 set dummy ${ac_tool_prefix}clang; ac_word=$2
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 printf %s "checking for $ac_word... " >&6; }
5009 if test ${ac_cv_prog_CC+y}
5010 then :
5011 printf %s "(cached) " >&6
5012 else $as_nop
5013 if test -n "$CC"; then
5014 ac_cv_prog_CC="$CC" # Let the user override the test.
5015 else
5016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017 for as_dir in $PATH
5019 IFS=$as_save_IFS
5020 case $as_dir in #(((
5021 '') as_dir=./ ;;
5022 */) ;;
5023 *) as_dir=$as_dir/ ;;
5024 esac
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_CC="${ac_tool_prefix}clang"
5028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5029 break 2
5031 done
5032 done
5033 IFS=$as_save_IFS
5037 CC=$ac_cv_prog_CC
5038 if test -n "$CC"; then
5039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5040 printf "%s\n" "$CC" >&6; }
5041 else
5042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 printf "%s\n" "no" >&6; }
5048 if test -z "$ac_cv_prog_CC"; then
5049 ac_ct_CC=$CC
5050 # Extract the first word of "clang", so it can be a program name with args.
5051 set dummy clang; ac_word=$2
5052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 printf %s "checking for $ac_word... " >&6; }
5054 if test ${ac_cv_prog_ac_ct_CC+y}
5055 then :
5056 printf %s "(cached) " >&6
5057 else $as_nop
5058 if test -n "$ac_ct_CC"; then
5059 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5064 IFS=$as_save_IFS
5065 case $as_dir in #(((
5066 '') as_dir=./ ;;
5067 */) ;;
5068 *) as_dir=$as_dir/ ;;
5069 esac
5070 for ac_exec_ext in '' $ac_executable_extensions; do
5071 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5072 ac_cv_prog_ac_ct_CC="clang"
5073 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5074 break 2
5076 done
5077 done
5078 IFS=$as_save_IFS
5082 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5083 if test -n "$ac_ct_CC"; then
5084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5085 printf "%s\n" "$ac_ct_CC" >&6; }
5086 else
5087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 printf "%s\n" "no" >&6; }
5091 if test "x$ac_ct_CC" = x; then
5092 CC=""
5093 else
5094 case $cross_compiling:$ac_tool_warned in
5095 yes:)
5096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5097 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5098 ac_tool_warned=yes ;;
5099 esac
5100 CC=$ac_ct_CC
5102 else
5103 CC="$ac_cv_prog_CC"
5109 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5110 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5111 as_fn_error $? "no acceptable C compiler found in \$PATH
5112 See \`config.log' for more details" "$LINENO" 5; }
5114 # Provide some information about the compiler.
5115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5116 set X $ac_compile
5117 ac_compiler=$2
5118 for ac_option in --version -v -V -qversion -version; do
5119 { { ac_try="$ac_compiler $ac_option >&5"
5120 case "(($ac_try" in
5121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5122 *) ac_try_echo=$ac_try;;
5123 esac
5124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5125 printf "%s\n" "$ac_try_echo"; } >&5
5126 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5127 ac_status=$?
5128 if test -s conftest.err; then
5129 sed '10a\
5130 ... rest of stderr output deleted ...
5131 10q' conftest.err >conftest.er1
5132 cat conftest.er1 >&5
5134 rm -f conftest.er1 conftest.err
5135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5136 test $ac_status = 0; }
5137 done
5139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5140 /* end confdefs.h. */
5143 main (void)
5147 return 0;
5149 _ACEOF
5150 ac_clean_files_save=$ac_clean_files
5151 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5152 # Try to create an executable without -o first, disregard a.out.
5153 # It will help us diagnose broken compilers, and finding out an intuition
5154 # of exeext.
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5156 printf %s "checking whether the C compiler works... " >&6; }
5157 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5159 # The possible output files:
5160 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5162 ac_rmfiles=
5163 for ac_file in $ac_files
5165 case $ac_file in
5166 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5167 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5168 esac
5169 done
5170 rm -f $ac_rmfiles
5172 if { { ac_try="$ac_link_default"
5173 case "(($ac_try" in
5174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5175 *) ac_try_echo=$ac_try;;
5176 esac
5177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5178 printf "%s\n" "$ac_try_echo"; } >&5
5179 (eval "$ac_link_default") 2>&5
5180 ac_status=$?
5181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5182 test $ac_status = 0; }
5183 then :
5184 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5185 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5186 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5187 # so that the user can short-circuit this test for compilers unknown to
5188 # Autoconf.
5189 for ac_file in $ac_files ''
5191 test -f "$ac_file" || continue
5192 case $ac_file in
5193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5195 [ab].out )
5196 # We found the default executable, but exeext='' is most
5197 # certainly right.
5198 break;;
5199 *.* )
5200 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5201 then :; else
5202 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5204 # We set ac_cv_exeext here because the later test for it is not
5205 # safe: cross compilers may not add the suffix if given an `-o'
5206 # argument, so we may need to know it at that point already.
5207 # Even if this section looks crufty: it has the advantage of
5208 # actually working.
5209 break;;
5211 break;;
5212 esac
5213 done
5214 test "$ac_cv_exeext" = no && ac_cv_exeext=
5216 else $as_nop
5217 ac_file=''
5219 if test -z "$ac_file"
5220 then :
5221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 printf "%s\n" "no" >&6; }
5223 printf "%s\n" "$as_me: failed program was:" >&5
5224 sed 's/^/| /' conftest.$ac_ext >&5
5226 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5227 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5228 as_fn_error 77 "C compiler cannot create executables
5229 See \`config.log' for more details" "$LINENO" 5; }
5230 else $as_nop
5231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5232 printf "%s\n" "yes" >&6; }
5234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5235 printf %s "checking for C compiler default output file name... " >&6; }
5236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5237 printf "%s\n" "$ac_file" >&6; }
5238 ac_exeext=$ac_cv_exeext
5240 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5241 ac_clean_files=$ac_clean_files_save
5242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5243 printf %s "checking for suffix of executables... " >&6; }
5244 if { { ac_try="$ac_link"
5245 case "(($ac_try" in
5246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5247 *) ac_try_echo=$ac_try;;
5248 esac
5249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5250 printf "%s\n" "$ac_try_echo"; } >&5
5251 (eval "$ac_link") 2>&5
5252 ac_status=$?
5253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5254 test $ac_status = 0; }
5255 then :
5256 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5257 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5258 # work properly (i.e., refer to `conftest.exe'), while it won't with
5259 # `rm'.
5260 for ac_file in conftest.exe conftest conftest.*; do
5261 test -f "$ac_file" || continue
5262 case $ac_file in
5263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5264 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5265 break;;
5266 * ) break;;
5267 esac
5268 done
5269 else $as_nop
5270 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5271 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5272 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5273 See \`config.log' for more details" "$LINENO" 5; }
5275 rm -f conftest conftest$ac_cv_exeext
5276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5277 printf "%s\n" "$ac_cv_exeext" >&6; }
5279 rm -f conftest.$ac_ext
5280 EXEEXT=$ac_cv_exeext
5281 ac_exeext=$EXEEXT
5282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5283 /* end confdefs.h. */
5284 #include <stdio.h>
5286 main (void)
5288 FILE *f = fopen ("conftest.out", "w");
5289 return ferror (f) || fclose (f) != 0;
5292 return 0;
5294 _ACEOF
5295 ac_clean_files="$ac_clean_files conftest.out"
5296 # Check that the compiler produces executables we can run. If not, either
5297 # the compiler is broken, or we cross compile.
5298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5299 printf %s "checking whether we are cross compiling... " >&6; }
5300 if test "$cross_compiling" != yes; then
5301 { { ac_try="$ac_link"
5302 case "(($ac_try" in
5303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5304 *) ac_try_echo=$ac_try;;
5305 esac
5306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5307 printf "%s\n" "$ac_try_echo"; } >&5
5308 (eval "$ac_link") 2>&5
5309 ac_status=$?
5310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5311 test $ac_status = 0; }
5312 if { ac_try='./conftest$ac_cv_exeext'
5313 { { case "(($ac_try" in
5314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5315 *) ac_try_echo=$ac_try;;
5316 esac
5317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5318 printf "%s\n" "$ac_try_echo"; } >&5
5319 (eval "$ac_try") 2>&5
5320 ac_status=$?
5321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5322 test $ac_status = 0; }; }; then
5323 cross_compiling=no
5324 else
5325 if test "$cross_compiling" = maybe; then
5326 cross_compiling=yes
5327 else
5328 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5329 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5330 as_fn_error 77 "cannot run C compiled programs.
5331 If you meant to cross compile, use \`--host'.
5332 See \`config.log' for more details" "$LINENO" 5; }
5336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5337 printf "%s\n" "$cross_compiling" >&6; }
5339 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5340 ac_clean_files=$ac_clean_files_save
5341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5342 printf %s "checking for suffix of object files... " >&6; }
5343 if test ${ac_cv_objext+y}
5344 then :
5345 printf %s "(cached) " >&6
5346 else $as_nop
5347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5348 /* end confdefs.h. */
5351 main (void)
5355 return 0;
5357 _ACEOF
5358 rm -f conftest.o conftest.obj
5359 if { { ac_try="$ac_compile"
5360 case "(($ac_try" in
5361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5362 *) ac_try_echo=$ac_try;;
5363 esac
5364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5365 printf "%s\n" "$ac_try_echo"; } >&5
5366 (eval "$ac_compile") 2>&5
5367 ac_status=$?
5368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5369 test $ac_status = 0; }
5370 then :
5371 for ac_file in conftest.o conftest.obj conftest.*; do
5372 test -f "$ac_file" || continue;
5373 case $ac_file in
5374 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5375 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5376 break;;
5377 esac
5378 done
5379 else $as_nop
5380 printf "%s\n" "$as_me: failed program was:" >&5
5381 sed 's/^/| /' conftest.$ac_ext >&5
5383 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5384 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5385 as_fn_error $? "cannot compute suffix of object files: cannot compile
5386 See \`config.log' for more details" "$LINENO" 5; }
5388 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5391 printf "%s\n" "$ac_cv_objext" >&6; }
5392 OBJEXT=$ac_cv_objext
5393 ac_objext=$OBJEXT
5394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5395 printf %s "checking whether the compiler supports GNU C... " >&6; }
5396 if test ${ac_cv_c_compiler_gnu+y}
5397 then :
5398 printf %s "(cached) " >&6
5399 else $as_nop
5400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5401 /* end confdefs.h. */
5404 main (void)
5406 #ifndef __GNUC__
5407 choke me
5408 #endif
5411 return 0;
5413 _ACEOF
5414 if ac_fn_c_try_compile "$LINENO"
5415 then :
5416 ac_compiler_gnu=yes
5417 else $as_nop
5418 ac_compiler_gnu=no
5420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5421 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5425 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5428 if test $ac_compiler_gnu = yes; then
5429 GCC=yes
5430 else
5431 GCC=
5433 ac_test_CFLAGS=${CFLAGS+y}
5434 ac_save_CFLAGS=$CFLAGS
5435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5436 printf %s "checking whether $CC accepts -g... " >&6; }
5437 if test ${ac_cv_prog_cc_g+y}
5438 then :
5439 printf %s "(cached) " >&6
5440 else $as_nop
5441 ac_save_c_werror_flag=$ac_c_werror_flag
5442 ac_c_werror_flag=yes
5443 ac_cv_prog_cc_g=no
5444 CFLAGS="-g"
5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446 /* end confdefs.h. */
5449 main (void)
5453 return 0;
5455 _ACEOF
5456 if ac_fn_c_try_compile "$LINENO"
5457 then :
5458 ac_cv_prog_cc_g=yes
5459 else $as_nop
5460 CFLAGS=""
5461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5462 /* end confdefs.h. */
5465 main (void)
5469 return 0;
5471 _ACEOF
5472 if ac_fn_c_try_compile "$LINENO"
5473 then :
5475 else $as_nop
5476 ac_c_werror_flag=$ac_save_c_werror_flag
5477 CFLAGS="-g"
5478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5479 /* end confdefs.h. */
5482 main (void)
5486 return 0;
5488 _ACEOF
5489 if ac_fn_c_try_compile "$LINENO"
5490 then :
5491 ac_cv_prog_cc_g=yes
5493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5498 ac_c_werror_flag=$ac_save_c_werror_flag
5500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5501 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5502 if test $ac_test_CFLAGS; then
5503 CFLAGS=$ac_save_CFLAGS
5504 elif test $ac_cv_prog_cc_g = yes; then
5505 if test "$GCC" = yes; then
5506 CFLAGS="-g -O2"
5507 else
5508 CFLAGS="-g"
5510 else
5511 if test "$GCC" = yes; then
5512 CFLAGS="-O2"
5513 else
5514 CFLAGS=
5517 ac_prog_cc_stdc=no
5518 if test x$ac_prog_cc_stdc = xno
5519 then :
5520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5521 printf %s "checking for $CC option to enable C11 features... " >&6; }
5522 if test ${ac_cv_prog_cc_c11+y}
5523 then :
5524 printf %s "(cached) " >&6
5525 else $as_nop
5526 ac_cv_prog_cc_c11=no
5527 ac_save_CC=$CC
5528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5529 /* end confdefs.h. */
5530 $ac_c_conftest_c11_program
5531 _ACEOF
5532 for ac_arg in '' -std=gnu11
5534 CC="$ac_save_CC $ac_arg"
5535 if ac_fn_c_try_compile "$LINENO"
5536 then :
5537 ac_cv_prog_cc_c11=$ac_arg
5539 rm -f core conftest.err conftest.$ac_objext conftest.beam
5540 test "x$ac_cv_prog_cc_c11" != "xno" && break
5541 done
5542 rm -f conftest.$ac_ext
5543 CC=$ac_save_CC
5546 if test "x$ac_cv_prog_cc_c11" = xno
5547 then :
5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5549 printf "%s\n" "unsupported" >&6; }
5550 else $as_nop
5551 if test "x$ac_cv_prog_cc_c11" = x
5552 then :
5553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5554 printf "%s\n" "none needed" >&6; }
5555 else $as_nop
5556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5557 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5558 CC="$CC $ac_cv_prog_cc_c11"
5560 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5561 ac_prog_cc_stdc=c11
5564 if test x$ac_prog_cc_stdc = xno
5565 then :
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5567 printf %s "checking for $CC option to enable C99 features... " >&6; }
5568 if test ${ac_cv_prog_cc_c99+y}
5569 then :
5570 printf %s "(cached) " >&6
5571 else $as_nop
5572 ac_cv_prog_cc_c99=no
5573 ac_save_CC=$CC
5574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5575 /* end confdefs.h. */
5576 $ac_c_conftest_c99_program
5577 _ACEOF
5578 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5580 CC="$ac_save_CC $ac_arg"
5581 if ac_fn_c_try_compile "$LINENO"
5582 then :
5583 ac_cv_prog_cc_c99=$ac_arg
5585 rm -f core conftest.err conftest.$ac_objext conftest.beam
5586 test "x$ac_cv_prog_cc_c99" != "xno" && break
5587 done
5588 rm -f conftest.$ac_ext
5589 CC=$ac_save_CC
5592 if test "x$ac_cv_prog_cc_c99" = xno
5593 then :
5594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5595 printf "%s\n" "unsupported" >&6; }
5596 else $as_nop
5597 if test "x$ac_cv_prog_cc_c99" = x
5598 then :
5599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5600 printf "%s\n" "none needed" >&6; }
5601 else $as_nop
5602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5603 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5604 CC="$CC $ac_cv_prog_cc_c99"
5606 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5607 ac_prog_cc_stdc=c99
5610 if test x$ac_prog_cc_stdc = xno
5611 then :
5612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5613 printf %s "checking for $CC option to enable C89 features... " >&6; }
5614 if test ${ac_cv_prog_cc_c89+y}
5615 then :
5616 printf %s "(cached) " >&6
5617 else $as_nop
5618 ac_cv_prog_cc_c89=no
5619 ac_save_CC=$CC
5620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5622 $ac_c_conftest_c89_program
5623 _ACEOF
5624 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5626 CC="$ac_save_CC $ac_arg"
5627 if ac_fn_c_try_compile "$LINENO"
5628 then :
5629 ac_cv_prog_cc_c89=$ac_arg
5631 rm -f core conftest.err conftest.$ac_objext conftest.beam
5632 test "x$ac_cv_prog_cc_c89" != "xno" && break
5633 done
5634 rm -f conftest.$ac_ext
5635 CC=$ac_save_CC
5638 if test "x$ac_cv_prog_cc_c89" = xno
5639 then :
5640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5641 printf "%s\n" "unsupported" >&6; }
5642 else $as_nop
5643 if test "x$ac_cv_prog_cc_c89" = x
5644 then :
5645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5646 printf "%s\n" "none needed" >&6; }
5647 else $as_nop
5648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5649 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5650 CC="$CC $ac_cv_prog_cc_c89"
5652 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5653 ac_prog_cc_stdc=c89
5657 ac_ext=c
5658 ac_cpp='$CPP $CPPFLAGS'
5659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5669 ac_ext=cpp
5670 ac_cpp='$CXXCPP $CPPFLAGS'
5671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5674 if test -z "$CXX"; then
5675 if test -n "$CCC"; then
5676 CXX=$CCC
5677 else
5678 if test -n "$ac_tool_prefix"; then
5679 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5681 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5682 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 printf %s "checking for $ac_word... " >&6; }
5685 if test ${ac_cv_prog_CXX+y}
5686 then :
5687 printf %s "(cached) " >&6
5688 else $as_nop
5689 if test -n "$CXX"; then
5690 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5691 else
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 for as_dir in $PATH
5695 IFS=$as_save_IFS
5696 case $as_dir in #(((
5697 '') as_dir=./ ;;
5698 */) ;;
5699 *) as_dir=$as_dir/ ;;
5700 esac
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5703 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5705 break 2
5707 done
5708 done
5709 IFS=$as_save_IFS
5713 CXX=$ac_cv_prog_CXX
5714 if test -n "$CXX"; then
5715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5716 printf "%s\n" "$CXX" >&6; }
5717 else
5718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 printf "%s\n" "no" >&6; }
5723 test -n "$CXX" && break
5724 done
5726 if test -z "$CXX"; then
5727 ac_ct_CXX=$CXX
5728 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5730 # Extract the first word of "$ac_prog", so it can be a program name with args.
5731 set dummy $ac_prog; ac_word=$2
5732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5733 printf %s "checking for $ac_word... " >&6; }
5734 if test ${ac_cv_prog_ac_ct_CXX+y}
5735 then :
5736 printf %s "(cached) " >&6
5737 else $as_nop
5738 if test -n "$ac_ct_CXX"; then
5739 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5740 else
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 for as_dir in $PATH
5744 IFS=$as_save_IFS
5745 case $as_dir in #(((
5746 '') as_dir=./ ;;
5747 */) ;;
5748 *) as_dir=$as_dir/ ;;
5749 esac
5750 for ac_exec_ext in '' $ac_executable_extensions; do
5751 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5752 ac_cv_prog_ac_ct_CXX="$ac_prog"
5753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5754 break 2
5756 done
5757 done
5758 IFS=$as_save_IFS
5762 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5763 if test -n "$ac_ct_CXX"; then
5764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5765 printf "%s\n" "$ac_ct_CXX" >&6; }
5766 else
5767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768 printf "%s\n" "no" >&6; }
5772 test -n "$ac_ct_CXX" && break
5773 done
5775 if test "x$ac_ct_CXX" = x; then
5776 CXX="g++"
5777 else
5778 case $cross_compiling:$ac_tool_warned in
5779 yes:)
5780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5781 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5782 ac_tool_warned=yes ;;
5783 esac
5784 CXX=$ac_ct_CXX
5790 # Provide some information about the compiler.
5791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5792 set X $ac_compile
5793 ac_compiler=$2
5794 for ac_option in --version -v -V -qversion; do
5795 { { ac_try="$ac_compiler $ac_option >&5"
5796 case "(($ac_try" in
5797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5798 *) ac_try_echo=$ac_try;;
5799 esac
5800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5801 printf "%s\n" "$ac_try_echo"; } >&5
5802 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5803 ac_status=$?
5804 if test -s conftest.err; then
5805 sed '10a\
5806 ... rest of stderr output deleted ...
5807 10q' conftest.err >conftest.er1
5808 cat conftest.er1 >&5
5810 rm -f conftest.er1 conftest.err
5811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5812 test $ac_status = 0; }
5813 done
5815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5816 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5817 if test ${ac_cv_cxx_compiler_gnu+y}
5818 then :
5819 printf %s "(cached) " >&6
5820 else $as_nop
5821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5822 /* end confdefs.h. */
5825 main (void)
5827 #ifndef __GNUC__
5828 choke me
5829 #endif
5832 return 0;
5834 _ACEOF
5835 if ac_fn_cxx_try_compile "$LINENO"
5836 then :
5837 ac_compiler_gnu=yes
5838 else $as_nop
5839 ac_compiler_gnu=no
5841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5842 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5846 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5849 if test $ac_compiler_gnu = yes; then
5850 GXX=yes
5851 else
5852 GXX=
5854 ac_test_CXXFLAGS=${CXXFLAGS+y}
5855 ac_save_CXXFLAGS=$CXXFLAGS
5856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5857 printf %s "checking whether $CXX accepts -g... " >&6; }
5858 if test ${ac_cv_prog_cxx_g+y}
5859 then :
5860 printf %s "(cached) " >&6
5861 else $as_nop
5862 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5863 ac_cxx_werror_flag=yes
5864 ac_cv_prog_cxx_g=no
5865 CXXFLAGS="-g"
5866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5870 main (void)
5874 return 0;
5876 _ACEOF
5877 if ac_fn_cxx_try_compile "$LINENO"
5878 then :
5879 ac_cv_prog_cxx_g=yes
5880 else $as_nop
5881 CXXFLAGS=""
5882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5883 /* end confdefs.h. */
5886 main (void)
5890 return 0;
5892 _ACEOF
5893 if ac_fn_cxx_try_compile "$LINENO"
5894 then :
5896 else $as_nop
5897 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5898 CXXFLAGS="-g"
5899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5900 /* end confdefs.h. */
5903 main (void)
5907 return 0;
5909 _ACEOF
5910 if ac_fn_cxx_try_compile "$LINENO"
5911 then :
5912 ac_cv_prog_cxx_g=yes
5914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5919 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5922 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5923 if test $ac_test_CXXFLAGS; then
5924 CXXFLAGS=$ac_save_CXXFLAGS
5925 elif test $ac_cv_prog_cxx_g = yes; then
5926 if test "$GXX" = yes; then
5927 CXXFLAGS="-g -O2"
5928 else
5929 CXXFLAGS="-g"
5931 else
5932 if test "$GXX" = yes; then
5933 CXXFLAGS="-O2"
5934 else
5935 CXXFLAGS=
5938 ac_prog_cxx_stdcxx=no
5939 if test x$ac_prog_cxx_stdcxx = xno
5940 then :
5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5942 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5943 if test ${ac_cv_prog_cxx_cxx11+y}
5944 then :
5945 printf %s "(cached) " >&6
5946 else $as_nop
5947 ac_cv_prog_cxx_cxx11=no
5948 ac_save_CXX=$CXX
5949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5950 /* end confdefs.h. */
5951 $ac_cxx_conftest_cxx11_program
5952 _ACEOF
5953 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5955 CXX="$ac_save_CXX $ac_arg"
5956 if ac_fn_cxx_try_compile "$LINENO"
5957 then :
5958 ac_cv_prog_cxx_cxx11=$ac_arg
5960 rm -f core conftest.err conftest.$ac_objext conftest.beam
5961 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5962 done
5963 rm -f conftest.$ac_ext
5964 CXX=$ac_save_CXX
5967 if test "x$ac_cv_prog_cxx_cxx11" = xno
5968 then :
5969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5970 printf "%s\n" "unsupported" >&6; }
5971 else $as_nop
5972 if test "x$ac_cv_prog_cxx_cxx11" = x
5973 then :
5974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5975 printf "%s\n" "none needed" >&6; }
5976 else $as_nop
5977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5978 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5979 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5981 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5982 ac_prog_cxx_stdcxx=cxx11
5985 if test x$ac_prog_cxx_stdcxx = xno
5986 then :
5987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5988 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5989 if test ${ac_cv_prog_cxx_cxx98+y}
5990 then :
5991 printf %s "(cached) " >&6
5992 else $as_nop
5993 ac_cv_prog_cxx_cxx98=no
5994 ac_save_CXX=$CXX
5995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5996 /* end confdefs.h. */
5997 $ac_cxx_conftest_cxx98_program
5998 _ACEOF
5999 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6001 CXX="$ac_save_CXX $ac_arg"
6002 if ac_fn_cxx_try_compile "$LINENO"
6003 then :
6004 ac_cv_prog_cxx_cxx98=$ac_arg
6006 rm -f core conftest.err conftest.$ac_objext conftest.beam
6007 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6008 done
6009 rm -f conftest.$ac_ext
6010 CXX=$ac_save_CXX
6013 if test "x$ac_cv_prog_cxx_cxx98" = xno
6014 then :
6015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6016 printf "%s\n" "unsupported" >&6; }
6017 else $as_nop
6018 if test "x$ac_cv_prog_cxx_cxx98" = x
6019 then :
6020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6021 printf "%s\n" "none needed" >&6; }
6022 else $as_nop
6023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6024 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6025 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6027 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6028 ac_prog_cxx_stdcxx=cxx98
6032 ac_ext=c
6033 ac_cpp='$CPP $CPPFLAGS'
6034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6038 if test -n "$ac_tool_prefix"; then
6039 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6040 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6042 printf %s "checking for $ac_word... " >&6; }
6043 if test ${ac_cv_prog_CPPBIN+y}
6044 then :
6045 printf %s "(cached) " >&6
6046 else $as_nop
6047 if test -n "$CPPBIN"; then
6048 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6049 else
6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051 for as_dir in $PATH
6053 IFS=$as_save_IFS
6054 case $as_dir in #(((
6055 '') as_dir=./ ;;
6056 */) ;;
6057 *) as_dir=$as_dir/ ;;
6058 esac
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6061 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6063 break 2
6065 done
6066 done
6067 IFS=$as_save_IFS
6071 CPPBIN=$ac_cv_prog_CPPBIN
6072 if test -n "$CPPBIN"; then
6073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6074 printf "%s\n" "$CPPBIN" >&6; }
6075 else
6076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6077 printf "%s\n" "no" >&6; }
6082 if test -z "$ac_cv_prog_CPPBIN"; then
6083 ac_ct_CPPBIN=$CPPBIN
6084 # Extract the first word of "cpp", so it can be a program name with args.
6085 set dummy cpp; ac_word=$2
6086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6087 printf %s "checking for $ac_word... " >&6; }
6088 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6089 then :
6090 printf %s "(cached) " >&6
6091 else $as_nop
6092 if test -n "$ac_ct_CPPBIN"; then
6093 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6094 else
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH
6098 IFS=$as_save_IFS
6099 case $as_dir in #(((
6100 '') as_dir=./ ;;
6101 */) ;;
6102 *) as_dir=$as_dir/ ;;
6103 esac
6104 for ac_exec_ext in '' $ac_executable_extensions; do
6105 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6106 ac_cv_prog_ac_ct_CPPBIN="cpp"
6107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6108 break 2
6110 done
6111 done
6112 IFS=$as_save_IFS
6116 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6117 if test -n "$ac_ct_CPPBIN"; then
6118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6119 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6120 else
6121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122 printf "%s\n" "no" >&6; }
6125 if test "x$ac_ct_CPPBIN" = x; then
6126 CPPBIN="cpp"
6127 else
6128 case $cross_compiling:$ac_tool_warned in
6129 yes:)
6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6131 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6132 ac_tool_warned=yes ;;
6133 esac
6134 CPPBIN=$ac_ct_CPPBIN
6136 else
6137 CPPBIN="$ac_cv_prog_CPPBIN"
6141 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6143 if test -n "$ac_tool_prefix"; then
6144 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6145 set dummy ${ac_tool_prefix}ld; ac_word=$2
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 printf %s "checking for $ac_word... " >&6; }
6148 if test ${ac_cv_prog_LD+y}
6149 then :
6150 printf %s "(cached) " >&6
6151 else $as_nop
6152 if test -n "$LD"; then
6153 ac_cv_prog_LD="$LD" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6158 IFS=$as_save_IFS
6159 case $as_dir in #(((
6160 '') as_dir=./ ;;
6161 */) ;;
6162 *) as_dir=$as_dir/ ;;
6163 esac
6164 for ac_exec_ext in '' $ac_executable_extensions; do
6165 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6166 ac_cv_prog_LD="${ac_tool_prefix}ld"
6167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6168 break 2
6170 done
6171 done
6172 IFS=$as_save_IFS
6176 LD=$ac_cv_prog_LD
6177 if test -n "$LD"; then
6178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6179 printf "%s\n" "$LD" >&6; }
6180 else
6181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 printf "%s\n" "no" >&6; }
6187 if test -z "$ac_cv_prog_LD"; then
6188 ac_ct_LD=$LD
6189 # Extract the first word of "ld", so it can be a program name with args.
6190 set dummy ld; ac_word=$2
6191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6192 printf %s "checking for $ac_word... " >&6; }
6193 if test ${ac_cv_prog_ac_ct_LD+y}
6194 then :
6195 printf %s "(cached) " >&6
6196 else $as_nop
6197 if test -n "$ac_ct_LD"; then
6198 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6199 else
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 for as_dir in $PATH
6203 IFS=$as_save_IFS
6204 case $as_dir in #(((
6205 '') as_dir=./ ;;
6206 */) ;;
6207 *) as_dir=$as_dir/ ;;
6208 esac
6209 for ac_exec_ext in '' $ac_executable_extensions; do
6210 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6211 ac_cv_prog_ac_ct_LD="ld"
6212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6213 break 2
6215 done
6216 done
6217 IFS=$as_save_IFS
6221 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6222 if test -n "$ac_ct_LD"; then
6223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6224 printf "%s\n" "$ac_ct_LD" >&6; }
6225 else
6226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227 printf "%s\n" "no" >&6; }
6230 if test "x$ac_ct_LD" = x; then
6231 LD=""
6232 else
6233 case $cross_compiling:$ac_tool_warned in
6234 yes:)
6235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6236 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6237 ac_tool_warned=yes ;;
6238 esac
6239 LD=$ac_ct_LD
6241 else
6242 LD="$ac_cv_prog_LD"
6246 case $host in
6247 *-darwin*)
6248 with_fontconfig=${with_fontconfig:-no}
6250 *-mingw32*|*-cygwin*)
6251 enable_win16=${enable_win16:-no}
6252 with_mingw=${with_mingw:-no}
6254 esac
6257 case $host in
6258 x86_64*|amd64*)
6259 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6260 then
6261 CC="$CC -m32"
6262 CXX="$CXX -m32"
6264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6265 printf %s "checking whether $CC works... " >&6; }
6266 if test ${wine_cv_cc_m32+y}
6267 then :
6268 printf %s "(cached) " >&6
6269 else $as_nop
6270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6271 /* end confdefs.h. */
6274 main (void)
6278 return 0;
6280 _ACEOF
6281 if ac_fn_c_try_link "$LINENO"
6282 then :
6283 wine_cv_cc_m32=yes
6284 else $as_nop
6285 wine_cv_cc_m32=no
6287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6288 conftest$ac_exeext conftest.$ac_ext
6290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6291 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6292 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
6293 host_cpu="i386"
6294 notice_platform="32-bit "
6295 TARGETFLAGS="$TARGETFLAGS -m32"
6296 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6297 export PKG_CONFIG_LIBDIR
6298 with_unwind=${with_unwind:-no}
6299 else
6300 CC="$CC -m64"
6301 CXX="$CXX -m64"
6302 host_cpu="x86_64"
6303 notice_platform="64-bit "
6304 TARGETFLAGS="$TARGETFLAGS -m64"
6307 arm*)
6308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6309 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6310 if test ${wine_cv_thumb2+y}
6311 then :
6312 printf %s "(cached) " >&6
6313 else $as_nop
6314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6315 /* end confdefs.h. */
6318 main (void)
6320 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6322 return 0;
6324 _ACEOF
6325 if ac_fn_c_try_link "$LINENO"
6326 then :
6327 wine_cv_thumb2=yes
6328 else $as_nop
6329 wine_cv_thumb2=no
6331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6332 conftest$ac_exeext conftest.$ac_ext
6334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6335 printf "%s\n" "$wine_cv_thumb2" >&6; }
6336 if test x"$wine_cv_thumb2" = xyes
6337 then
6338 CFLAGS="$CFLAGS -mthumb"
6339 TARGETFLAGS="$TARGETFLAGS -mthumb"
6340 else
6341 CFLAGS="$CFLAGS -marm"
6342 TARGETFLAGS="$TARGETFLAGS -marm"
6344 case $with_float_abi in
6345 soft|softfp|hard)
6346 float_abi=$with_float_abi ;;
6348 case $host_os in
6349 *eabihf)
6350 float_abi=hard ;;
6352 float_abi=softfp
6353 saved_CFLAGS=$CFLAGS
6354 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6356 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6357 if test ${wine_cv_float_abi+y}
6358 then :
6359 printf %s "(cached) " >&6
6360 else $as_nop
6361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6365 main (void)
6367 asm("vmrs r2,fpscr");
6369 return 0;
6371 _ACEOF
6372 if ac_fn_c_try_link "$LINENO"
6373 then :
6374 wine_cv_float_abi=yes
6375 else $as_nop
6376 wine_cv_float_abi=no
6378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6379 conftest$ac_exeext conftest.$ac_ext
6381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6382 printf "%s\n" "$wine_cv_float_abi" >&6; }
6383 if test $wine_cv_float_abi = no
6384 then
6385 float_abi=soft
6386 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6388 CFLAGS=$saved_CFLAGS
6389 esac
6391 esac
6392 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6393 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6395 i[3456789]86*)
6396 with_unwind=${with_unwind:-no}
6398 esac
6400 enable_win16=${enable_win16:-i386}
6401 enable_win64=${enable_win64:-no}
6402 enable_wow64=${enable_wow64:-aarch64,x86_64}
6403 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6404 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6406 enable_winetest=${enable_winetest:-$enable_tests}
6408 if test "x$enable_win64" = "xyes"
6409 then
6410 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6411 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6414 case $build_os in
6415 cygwin*|mingw32*) toolsext=".exe"
6417 *) toolsext=""
6419 esac
6421 HOST_ARCH=unknown
6422 case "$host_cpu" in
6423 aarch64*) HOST_ARCH=aarch64 ;;
6424 arm*) HOST_ARCH=arm ;;
6425 i[3456789]86*) HOST_ARCH=i386 ;;
6426 x86_64) HOST_ARCH=x86_64 ;;
6427 esac
6430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6431 printf %s "checking for the directory containing the Wine tools... " >&6; }
6432 if test ${wine_cv_toolsdir+y}
6433 then :
6434 printf %s "(cached) " >&6
6435 else $as_nop
6436 wine_cv_toolsdir="$with_wine_tools"
6437 if test -z "$with_wine_tools"; then
6438 if test "$cross_compiling" = "yes"; then
6439 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6440 elif test -n "$with_wine64"; then
6441 wine_cv_toolsdir="$with_wine64"
6445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6446 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6447 if test -z "$wine_cv_toolsdir"; then
6448 wine_makedep=tools/makedep$toolsext
6449 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6450 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6451 enable_tools=${enable_tools:-no}
6452 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6453 else
6454 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6456 toolsdir=$wine_cv_toolsdir
6458 MAKEDEP=$wine_makedep
6460 RUNTESTFLAGS="-q -P wine"
6462 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'"
6465 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6466 then
6467 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6470 for ac_prog in flex
6472 # Extract the first word of "$ac_prog", so it can be a program name with args.
6473 set dummy $ac_prog; ac_word=$2
6474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 printf %s "checking for $ac_word... " >&6; }
6476 if test ${ac_cv_prog_FLEX+y}
6477 then :
6478 printf %s "(cached) " >&6
6479 else $as_nop
6480 if test -n "$FLEX"; then
6481 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6482 else
6483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6484 for as_dir in $PATH
6486 IFS=$as_save_IFS
6487 case $as_dir in #(((
6488 '') as_dir=./ ;;
6489 */) ;;
6490 *) as_dir=$as_dir/ ;;
6491 esac
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6494 ac_cv_prog_FLEX="$ac_prog"
6495 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6496 break 2
6498 done
6499 done
6500 IFS=$as_save_IFS
6504 FLEX=$ac_cv_prog_FLEX
6505 if test -n "$FLEX"; then
6506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6507 printf "%s\n" "$FLEX" >&6; }
6508 else
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6510 printf "%s\n" "no" >&6; }
6514 test -n "$FLEX" && break
6515 done
6516 test -n "$FLEX" || FLEX="none"
6518 if test "$FLEX" = "none"
6519 then
6520 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6523 printf %s "checking whether flex is recent enough... " >&6; }
6524 if test ${wine_cv_recent_flex+y}
6525 then :
6526 printf %s "(cached) " >&6
6527 else $as_nop
6528 cat >conftest.l <<EOF
6529 %top{
6530 #include "prediluvian.h"
6534 if $FLEX -t conftest.l >/dev/null 2>&5
6535 then
6536 wine_cv_recent_flex=yes
6537 else
6538 wine_cv_recent_flex=no
6541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6542 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6543 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
6545 for ac_prog in bison
6547 # Extract the first word of "$ac_prog", so it can be a program name with args.
6548 set dummy $ac_prog; ac_word=$2
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550 printf %s "checking for $ac_word... " >&6; }
6551 if test ${ac_cv_prog_BISON+y}
6552 then :
6553 printf %s "(cached) " >&6
6554 else $as_nop
6555 if test -n "$BISON"; then
6556 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6557 else
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 for as_dir in $PATH
6561 IFS=$as_save_IFS
6562 case $as_dir in #(((
6563 '') as_dir=./ ;;
6564 */) ;;
6565 *) as_dir=$as_dir/ ;;
6566 esac
6567 for ac_exec_ext in '' $ac_executable_extensions; do
6568 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6569 ac_cv_prog_BISON="$ac_prog"
6570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6571 break 2
6573 done
6574 done
6575 IFS=$as_save_IFS
6579 BISON=$ac_cv_prog_BISON
6580 if test -n "$BISON"; then
6581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6582 printf "%s\n" "$BISON" >&6; }
6583 else
6584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6585 printf "%s\n" "no" >&6; }
6589 test -n "$BISON" && break
6590 done
6591 test -n "$BISON" || BISON="none"
6593 if test "$BISON" = "none"
6594 then
6595 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6598 printf %s "checking whether bison is recent enough... " >&6; }
6599 if test ${wine_cv_recent_bison+y}
6600 then :
6601 printf %s "(cached) " >&6
6602 else $as_nop
6603 cat >conftest.y <<EOF
6604 %define parse.error verbose
6606 empty: ;
6608 if $BISON conftest.y >/dev/null 2>&5
6609 then
6610 wine_cv_recent_bison=yes
6611 else
6612 wine_cv_recent_bison=no
6615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6616 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6617 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
6619 if test -n "$ac_tool_prefix"; then
6620 for ac_prog in ar gar
6622 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6623 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625 printf %s "checking for $ac_word... " >&6; }
6626 if test ${ac_cv_prog_AR+y}
6627 then :
6628 printf %s "(cached) " >&6
6629 else $as_nop
6630 if test -n "$AR"; then
6631 ac_cv_prog_AR="$AR" # Let the user override the test.
6632 else
6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6634 for as_dir in $PATH
6636 IFS=$as_save_IFS
6637 case $as_dir in #(((
6638 '') as_dir=./ ;;
6639 */) ;;
6640 *) as_dir=$as_dir/ ;;
6641 esac
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6646 break 2
6648 done
6649 done
6650 IFS=$as_save_IFS
6654 AR=$ac_cv_prog_AR
6655 if test -n "$AR"; then
6656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6657 printf "%s\n" "$AR" >&6; }
6658 else
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 printf "%s\n" "no" >&6; }
6664 test -n "$AR" && break
6665 done
6667 if test -z "$AR"; then
6668 ac_ct_AR=$AR
6669 for ac_prog in ar gar
6671 # Extract the first word of "$ac_prog", so it can be a program name with args.
6672 set dummy $ac_prog; ac_word=$2
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6674 printf %s "checking for $ac_word... " >&6; }
6675 if test ${ac_cv_prog_ac_ct_AR+y}
6676 then :
6677 printf %s "(cached) " >&6
6678 else $as_nop
6679 if test -n "$ac_ct_AR"; then
6680 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6681 else
6682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6683 for as_dir in $PATH
6685 IFS=$as_save_IFS
6686 case $as_dir in #(((
6687 '') as_dir=./ ;;
6688 */) ;;
6689 *) as_dir=$as_dir/ ;;
6690 esac
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6693 ac_cv_prog_ac_ct_AR="$ac_prog"
6694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6695 break 2
6697 done
6698 done
6699 IFS=$as_save_IFS
6703 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6704 if test -n "$ac_ct_AR"; then
6705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6706 printf "%s\n" "$ac_ct_AR" >&6; }
6707 else
6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 printf "%s\n" "no" >&6; }
6713 test -n "$ac_ct_AR" && break
6714 done
6716 if test "x$ac_ct_AR" = x; then
6717 AR="ar"
6718 else
6719 case $cross_compiling:$ac_tool_warned in
6720 yes:)
6721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6722 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6723 ac_tool_warned=yes ;;
6724 esac
6725 AR=$ac_ct_AR
6729 if test -n "$ac_tool_prefix"; then
6730 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6731 set dummy ${ac_tool_prefix}strip; ac_word=$2
6732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733 printf %s "checking for $ac_word... " >&6; }
6734 if test ${ac_cv_prog_STRIP+y}
6735 then :
6736 printf %s "(cached) " >&6
6737 else $as_nop
6738 if test -n "$STRIP"; then
6739 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6740 else
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 for as_dir in $PATH
6744 IFS=$as_save_IFS
6745 case $as_dir in #(((
6746 '') as_dir=./ ;;
6747 */) ;;
6748 *) as_dir=$as_dir/ ;;
6749 esac
6750 for ac_exec_ext in '' $ac_executable_extensions; do
6751 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6752 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6754 break 2
6756 done
6757 done
6758 IFS=$as_save_IFS
6762 STRIP=$ac_cv_prog_STRIP
6763 if test -n "$STRIP"; then
6764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6765 printf "%s\n" "$STRIP" >&6; }
6766 else
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 printf "%s\n" "no" >&6; }
6773 if test -z "$ac_cv_prog_STRIP"; then
6774 ac_ct_STRIP=$STRIP
6775 # Extract the first word of "strip", so it can be a program name with args.
6776 set dummy strip; ac_word=$2
6777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 printf %s "checking for $ac_word... " >&6; }
6779 if test ${ac_cv_prog_ac_ct_STRIP+y}
6780 then :
6781 printf %s "(cached) " >&6
6782 else $as_nop
6783 if test -n "$ac_ct_STRIP"; then
6784 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6785 else
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6787 for as_dir in $PATH
6789 IFS=$as_save_IFS
6790 case $as_dir in #(((
6791 '') as_dir=./ ;;
6792 */) ;;
6793 *) as_dir=$as_dir/ ;;
6794 esac
6795 for ac_exec_ext in '' $ac_executable_extensions; do
6796 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6797 ac_cv_prog_ac_ct_STRIP="strip"
6798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6799 break 2
6801 done
6802 done
6803 IFS=$as_save_IFS
6807 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6808 if test -n "$ac_ct_STRIP"; then
6809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6810 printf "%s\n" "$ac_ct_STRIP" >&6; }
6811 else
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813 printf "%s\n" "no" >&6; }
6816 if test "x$ac_ct_STRIP" = x; then
6817 STRIP="strip"
6818 else
6819 case $cross_compiling:$ac_tool_warned in
6820 yes:)
6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6822 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6823 ac_tool_warned=yes ;;
6824 esac
6825 STRIP=$ac_ct_STRIP
6827 else
6828 STRIP="$ac_cv_prog_STRIP"
6831 if test -n "$ac_tool_prefix"; then
6832 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6833 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6835 printf %s "checking for $ac_word... " >&6; }
6836 if test ${ac_cv_prog_RANLIB+y}
6837 then :
6838 printf %s "(cached) " >&6
6839 else $as_nop
6840 if test -n "$RANLIB"; then
6841 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6842 else
6843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844 for as_dir in $PATH
6846 IFS=$as_save_IFS
6847 case $as_dir in #(((
6848 '') as_dir=./ ;;
6849 */) ;;
6850 *) as_dir=$as_dir/ ;;
6851 esac
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6854 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6856 break 2
6858 done
6859 done
6860 IFS=$as_save_IFS
6864 RANLIB=$ac_cv_prog_RANLIB
6865 if test -n "$RANLIB"; then
6866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6867 printf "%s\n" "$RANLIB" >&6; }
6868 else
6869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6870 printf "%s\n" "no" >&6; }
6875 if test -z "$ac_cv_prog_RANLIB"; then
6876 ac_ct_RANLIB=$RANLIB
6877 # Extract the first word of "ranlib", so it can be a program name with args.
6878 set dummy ranlib; ac_word=$2
6879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880 printf %s "checking for $ac_word... " >&6; }
6881 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6882 then :
6883 printf %s "(cached) " >&6
6884 else $as_nop
6885 if test -n "$ac_ct_RANLIB"; then
6886 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6887 else
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889 for as_dir in $PATH
6891 IFS=$as_save_IFS
6892 case $as_dir in #(((
6893 '') as_dir=./ ;;
6894 */) ;;
6895 *) as_dir=$as_dir/ ;;
6896 esac
6897 for ac_exec_ext in '' $ac_executable_extensions; do
6898 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6899 ac_cv_prog_ac_ct_RANLIB="ranlib"
6900 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6901 break 2
6903 done
6904 done
6905 IFS=$as_save_IFS
6909 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6910 if test -n "$ac_ct_RANLIB"; then
6911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6912 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6913 else
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6915 printf "%s\n" "no" >&6; }
6918 if test "x$ac_ct_RANLIB" = x; then
6919 RANLIB=":"
6920 else
6921 case $cross_compiling:$ac_tool_warned in
6922 yes:)
6923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6924 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6925 ac_tool_warned=yes ;;
6926 esac
6927 RANLIB=$ac_ct_RANLIB
6929 else
6930 RANLIB="$ac_cv_prog_RANLIB"
6933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6934 printf %s "checking whether ln -s works... " >&6; }
6935 LN_S=$as_ln_s
6936 if test "$LN_S" = "ln -s"; then
6937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6938 printf "%s\n" "yes" >&6; }
6939 else
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6941 printf "%s\n" "no, using $LN_S" >&6; }
6944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6945 printf %s "checking for grep that handles long lines and -e... " >&6; }
6946 if test ${ac_cv_path_GREP+y}
6947 then :
6948 printf %s "(cached) " >&6
6949 else $as_nop
6950 if test -z "$GREP"; then
6951 ac_path_GREP_found=false
6952 # Loop through the user's path and test for each of PROGNAME-LIST
6953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6954 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6956 IFS=$as_save_IFS
6957 case $as_dir in #(((
6958 '') as_dir=./ ;;
6959 */) ;;
6960 *) as_dir=$as_dir/ ;;
6961 esac
6962 for ac_prog in grep ggrep
6964 for ac_exec_ext in '' $ac_executable_extensions; do
6965 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6966 as_fn_executable_p "$ac_path_GREP" || continue
6967 # Check for GNU ac_path_GREP and select it if it is found.
6968 # Check for GNU $ac_path_GREP
6969 case `"$ac_path_GREP" --version 2>&1` in
6970 *GNU*)
6971 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6973 ac_count=0
6974 printf %s 0123456789 >"conftest.in"
6975 while :
6977 cat "conftest.in" "conftest.in" >"conftest.tmp"
6978 mv "conftest.tmp" "conftest.in"
6979 cp "conftest.in" "conftest.nl"
6980 printf "%s\n" 'GREP' >> "conftest.nl"
6981 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6982 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6983 as_fn_arith $ac_count + 1 && ac_count=$as_val
6984 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6985 # Best one so far, save it but keep looking for a better one
6986 ac_cv_path_GREP="$ac_path_GREP"
6987 ac_path_GREP_max=$ac_count
6989 # 10*(2^10) chars as input seems more than enough
6990 test $ac_count -gt 10 && break
6991 done
6992 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6993 esac
6995 $ac_path_GREP_found && break 3
6996 done
6997 done
6998 done
6999 IFS=$as_save_IFS
7000 if test -z "$ac_cv_path_GREP"; then
7001 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7003 else
7004 ac_cv_path_GREP=$GREP
7008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7009 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7010 GREP="$ac_cv_path_GREP"
7013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7014 printf %s "checking for egrep... " >&6; }
7015 if test ${ac_cv_path_EGREP+y}
7016 then :
7017 printf %s "(cached) " >&6
7018 else $as_nop
7019 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7020 then ac_cv_path_EGREP="$GREP -E"
7021 else
7022 if test -z "$EGREP"; then
7023 ac_path_EGREP_found=false
7024 # Loop through the user's path and test for each of PROGNAME-LIST
7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7028 IFS=$as_save_IFS
7029 case $as_dir in #(((
7030 '') as_dir=./ ;;
7031 */) ;;
7032 *) as_dir=$as_dir/ ;;
7033 esac
7034 for ac_prog in egrep
7036 for ac_exec_ext in '' $ac_executable_extensions; do
7037 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7038 as_fn_executable_p "$ac_path_EGREP" || continue
7039 # Check for GNU ac_path_EGREP and select it if it is found.
7040 # Check for GNU $ac_path_EGREP
7041 case `"$ac_path_EGREP" --version 2>&1` in
7042 *GNU*)
7043 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7045 ac_count=0
7046 printf %s 0123456789 >"conftest.in"
7047 while :
7049 cat "conftest.in" "conftest.in" >"conftest.tmp"
7050 mv "conftest.tmp" "conftest.in"
7051 cp "conftest.in" "conftest.nl"
7052 printf "%s\n" 'EGREP' >> "conftest.nl"
7053 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7054 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7055 as_fn_arith $ac_count + 1 && ac_count=$as_val
7056 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7057 # Best one so far, save it but keep looking for a better one
7058 ac_cv_path_EGREP="$ac_path_EGREP"
7059 ac_path_EGREP_max=$ac_count
7061 # 10*(2^10) chars as input seems more than enough
7062 test $ac_count -gt 10 && break
7063 done
7064 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7065 esac
7067 $ac_path_EGREP_found && break 3
7068 done
7069 done
7070 done
7071 IFS=$as_save_IFS
7072 if test -z "$ac_cv_path_EGREP"; then
7073 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7075 else
7076 ac_cv_path_EGREP=$EGREP
7081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7082 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7083 EGREP="$ac_cv_path_EGREP"
7086 # Extract the first word of "ldconfig", so it can be a program name with args.
7087 set dummy ldconfig; ac_word=$2
7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 printf %s "checking for $ac_word... " >&6; }
7090 if test ${ac_cv_path_LDCONFIG+y}
7091 then :
7092 printf %s "(cached) " >&6
7093 else $as_nop
7094 case $LDCONFIG in
7095 [\\/]* | ?:[\\/]*)
7096 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 for as_dir in /sbin /usr/sbin $PATH
7102 IFS=$as_save_IFS
7103 case $as_dir in #(((
7104 '') as_dir=./ ;;
7105 */) ;;
7106 *) as_dir=$as_dir/ ;;
7107 esac
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7110 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7112 break 2
7114 done
7115 done
7116 IFS=$as_save_IFS
7118 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7120 esac
7122 LDCONFIG=$ac_cv_path_LDCONFIG
7123 if test -n "$LDCONFIG"; then
7124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7125 printf "%s\n" "$LDCONFIG" >&6; }
7126 else
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 printf "%s\n" "no" >&6; }
7132 for ac_prog in msgfmt
7134 # Extract the first word of "$ac_prog", so it can be a program name with args.
7135 set dummy $ac_prog; ac_word=$2
7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 printf %s "checking for $ac_word... " >&6; }
7138 if test ${ac_cv_prog_MSGFMT+y}
7139 then :
7140 printf %s "(cached) " >&6
7141 else $as_nop
7142 if test -n "$MSGFMT"; then
7143 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7144 else
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146 for as_dir in $PATH
7148 IFS=$as_save_IFS
7149 case $as_dir in #(((
7150 '') as_dir=./ ;;
7151 */) ;;
7152 *) as_dir=$as_dir/ ;;
7153 esac
7154 for ac_exec_ext in '' $ac_executable_extensions; do
7155 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7156 ac_cv_prog_MSGFMT="$ac_prog"
7157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7158 break 2
7160 done
7161 done
7162 IFS=$as_save_IFS
7166 MSGFMT=$ac_cv_prog_MSGFMT
7167 if test -n "$MSGFMT"; then
7168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7169 printf "%s\n" "$MSGFMT" >&6; }
7170 else
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 printf "%s\n" "no" >&6; }
7176 test -n "$MSGFMT" && break
7177 done
7178 test -n "$MSGFMT" || MSGFMT="false"
7180 if test ${ac_tool_prefix+y}
7181 then :
7182 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7183 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7185 printf %s "checking for $ac_word... " >&6; }
7186 if test ${ac_cv_prog_PKG_CONFIG+y}
7187 then :
7188 printf %s "(cached) " >&6
7189 else $as_nop
7190 if test -n "$PKG_CONFIG"; then
7191 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7192 else
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 for as_dir in $PATH
7196 IFS=$as_save_IFS
7197 case $as_dir in #(((
7198 '') as_dir=./ ;;
7199 */) ;;
7200 *) as_dir=$as_dir/ ;;
7201 esac
7202 for ac_exec_ext in '' $ac_executable_extensions; do
7203 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7204 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7206 break 2
7208 done
7209 done
7210 IFS=$as_save_IFS
7214 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7215 if test -n "$PKG_CONFIG"; then
7216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7217 printf "%s\n" "$PKG_CONFIG" >&6; }
7218 else
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7220 printf "%s\n" "no" >&6; }
7225 if ${ac_cv_prog_PKG_CONFIG:+false} :
7226 then :
7227 if test "x$cross_compiling" = xyes
7228 then :
7230 else $as_nop
7231 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7232 # Extract the first word of "pkg-config", so it can be a program name with args.
7233 set dummy pkg-config; ac_word=$2
7234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235 printf %s "checking for $ac_word... " >&6; }
7236 if test ${ac_cv_prog_PKG_CONFIG+y}
7237 then :
7238 printf %s "(cached) " >&6
7239 else $as_nop
7240 if test -n "$PKG_CONFIG"; then
7241 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7242 else
7243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7244 for as_dir in $PATH
7246 IFS=$as_save_IFS
7247 case $as_dir in #(((
7248 '') as_dir=./ ;;
7249 */) ;;
7250 *) as_dir=$as_dir/ ;;
7251 esac
7252 for ac_exec_ext in '' $ac_executable_extensions; do
7253 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7254 ac_cv_prog_PKG_CONFIG="pkg-config"
7255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7256 break 2
7258 done
7259 done
7260 IFS=$as_save_IFS
7264 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7265 if test -n "$PKG_CONFIG"; then
7266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7267 printf "%s\n" "$PKG_CONFIG" >&6; }
7268 else
7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7270 printf "%s\n" "no" >&6; }
7275 else $as_nop
7276 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7279 if test "x$enable_maintainer_mode" != "xyes"
7280 then
7281 FONTFORGE=""
7282 RSVG=""
7283 CONVERT=""
7284 ICOTOOL=""
7285 else
7286 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7287 for ac_prog in fontforge
7289 # Extract the first word of "$ac_prog", so it can be a program name with args.
7290 set dummy $ac_prog; ac_word=$2
7291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7292 printf %s "checking for $ac_word... " >&6; }
7293 if test ${ac_cv_prog_FONTFORGE+y}
7294 then :
7295 printf %s "(cached) " >&6
7296 else $as_nop
7297 if test -n "$FONTFORGE"; then
7298 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7299 else
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 for as_dir in $PATH
7303 IFS=$as_save_IFS
7304 case $as_dir in #(((
7305 '') as_dir=./ ;;
7306 */) ;;
7307 *) as_dir=$as_dir/ ;;
7308 esac
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7311 ac_cv_prog_FONTFORGE="$ac_prog"
7312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7313 break 2
7315 done
7316 done
7317 IFS=$as_save_IFS
7321 FONTFORGE=$ac_cv_prog_FONTFORGE
7322 if test -n "$FONTFORGE"; then
7323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7324 printf "%s\n" "$FONTFORGE" >&6; }
7325 else
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327 printf "%s\n" "no" >&6; }
7331 test -n "$FONTFORGE" && break
7332 done
7333 test -n "$FONTFORGE" || FONTFORGE="false"
7335 for ac_prog in rsvg-convert rsvg
7337 # Extract the first word of "$ac_prog", so it can be a program name with args.
7338 set dummy $ac_prog; ac_word=$2
7339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 printf %s "checking for $ac_word... " >&6; }
7341 if test ${ac_cv_prog_RSVG+y}
7342 then :
7343 printf %s "(cached) " >&6
7344 else $as_nop
7345 if test -n "$RSVG"; then
7346 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7351 IFS=$as_save_IFS
7352 case $as_dir in #(((
7353 '') as_dir=./ ;;
7354 */) ;;
7355 *) as_dir=$as_dir/ ;;
7356 esac
7357 for ac_exec_ext in '' $ac_executable_extensions; do
7358 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7359 ac_cv_prog_RSVG="$ac_prog"
7360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7361 break 2
7363 done
7364 done
7365 IFS=$as_save_IFS
7369 RSVG=$ac_cv_prog_RSVG
7370 if test -n "$RSVG"; then
7371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7372 printf "%s\n" "$RSVG" >&6; }
7373 else
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 printf "%s\n" "no" >&6; }
7379 test -n "$RSVG" && break
7380 done
7381 test -n "$RSVG" || RSVG="false"
7383 for ac_prog in convert
7385 # Extract the first word of "$ac_prog", so it can be a program name with args.
7386 set dummy $ac_prog; ac_word=$2
7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7388 printf %s "checking for $ac_word... " >&6; }
7389 if test ${ac_cv_prog_CONVERT+y}
7390 then :
7391 printf %s "(cached) " >&6
7392 else $as_nop
7393 if test -n "$CONVERT"; then
7394 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7395 else
7396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 for as_dir in $PATH
7399 IFS=$as_save_IFS
7400 case $as_dir in #(((
7401 '') as_dir=./ ;;
7402 */) ;;
7403 *) as_dir=$as_dir/ ;;
7404 esac
7405 for ac_exec_ext in '' $ac_executable_extensions; do
7406 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7407 ac_cv_prog_CONVERT="$ac_prog"
7408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7409 break 2
7411 done
7412 done
7413 IFS=$as_save_IFS
7417 CONVERT=$ac_cv_prog_CONVERT
7418 if test -n "$CONVERT"; then
7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7420 printf "%s\n" "$CONVERT" >&6; }
7421 else
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 printf "%s\n" "no" >&6; }
7427 test -n "$CONVERT" && break
7428 done
7429 test -n "$CONVERT" || CONVERT="false"
7431 for ac_prog in icotool
7433 # Extract the first word of "$ac_prog", so it can be a program name with args.
7434 set dummy $ac_prog; ac_word=$2
7435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 printf %s "checking for $ac_word... " >&6; }
7437 if test ${ac_cv_prog_ICOTOOL+y}
7438 then :
7439 printf %s "(cached) " >&6
7440 else $as_nop
7441 if test -n "$ICOTOOL"; then
7442 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7443 else
7444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445 for as_dir in $PATH
7447 IFS=$as_save_IFS
7448 case $as_dir in #(((
7449 '') as_dir=./ ;;
7450 */) ;;
7451 *) as_dir=$as_dir/ ;;
7452 esac
7453 for ac_exec_ext in '' $ac_executable_extensions; do
7454 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7455 ac_cv_prog_ICOTOOL="$ac_prog"
7456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7457 break 2
7459 done
7460 done
7461 IFS=$as_save_IFS
7465 ICOTOOL=$ac_cv_prog_ICOTOOL
7466 if test -n "$ICOTOOL"; then
7467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7468 printf "%s\n" "$ICOTOOL" >&6; }
7469 else
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471 printf "%s\n" "no" >&6; }
7475 test -n "$ICOTOOL" && break
7476 done
7477 test -n "$ICOTOOL" || ICOTOOL="false"
7479 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7480 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7482 if test "$CONVERT" = false
7483 then
7484 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7485 else
7486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7487 printf %s "checking for recent enough imagemagick... " >&6; }
7488 convert_version=`convert --version | head -n1`
7489 if test "x$convert_version" != "x"
7490 then
7491 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7492 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7493 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7494 then
7495 CONVERT=false
7498 if test "$CONVERT" = false
7499 then
7500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7501 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7502 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7503 else
7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7505 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7509 if test "$ICOTOOL" = false
7510 then
7511 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7512 else
7513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7514 printf %s "checking for recent enough icotool... " >&6; }
7515 icotool_version=`icotool --version | head -n1`
7516 if test "x$icotool_version" != "x"
7517 then
7518 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7519 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7520 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7521 then
7522 ICOTOOL=false
7523 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7526 if test "$ICOTOOL" = false
7527 then
7528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7529 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7530 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7531 else
7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7533 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7537 with_gettext=yes
7538 with_gettextpo=yes
7540 enable_werror=yes
7543 test "x$with_gettext" != xno || MSGFMT=false
7544 if test "$MSGFMT" != "false"
7545 then
7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7547 printf %s "checking whether msgfmt supports contexts... " >&6; }
7548 if test ${wine_cv_msgfmt_contexts+y}
7549 then :
7550 printf %s "(cached) " >&6
7551 else $as_nop
7552 cat >conftest.po <<EOF
7553 # comment
7554 msgctxt "ctxt"
7555 msgid "id"
7556 msgstr "str"
7558 if $MSGFMT -o /dev/null conftest.po 2>&5
7559 then
7560 wine_cv_msgfmt_contexts=yes
7561 else
7562 wine_cv_msgfmt_contexts=no
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7566 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7567 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7569 if test "$MSGFMT" = false
7570 then :
7571 case "x$with_gettext" in
7572 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7573 xno) ;;
7574 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7575 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7576 esac
7577 enable_po=${enable_po:-no}
7581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7582 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7583 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7584 then :
7585 printf %s "(cached) " >&6
7586 else $as_nop
7587 ac_check_lib_save_LIBS=$LIBS
7588 LIBS="-li386 $LIBS"
7589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7590 /* end confdefs.h. */
7592 /* Override any GCC internal prototype to avoid an error.
7593 Use char because int might match the return type of a GCC
7594 builtin and then its argument prototype would still apply. */
7595 char i386_set_ldt ();
7597 main (void)
7599 return i386_set_ldt ();
7601 return 0;
7603 _ACEOF
7604 if ac_fn_c_try_link "$LINENO"
7605 then :
7606 ac_cv_lib_i386_i386_set_ldt=yes
7607 else $as_nop
7608 ac_cv_lib_i386_i386_set_ldt=no
7610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7611 conftest$ac_exeext conftest.$ac_ext
7612 LIBS=$ac_check_lib_save_LIBS
7614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7615 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7616 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7617 then :
7618 I386_LIBS="-li386"
7623 OPENGL_LIBS=""
7627 # Check whether --enable-largefile was given.
7628 if test ${enable_largefile+y}
7629 then :
7630 enableval=$enable_largefile;
7633 if test "$enable_largefile" != no; then
7635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7636 printf %s "checking for special C compiler options needed for large files... " >&6; }
7637 if test ${ac_cv_sys_largefile_CC+y}
7638 then :
7639 printf %s "(cached) " >&6
7640 else $as_nop
7641 ac_cv_sys_largefile_CC=no
7642 if test "$GCC" != yes; then
7643 ac_save_CC=$CC
7644 while :; do
7645 # IRIX 6.2 and later do not support large files by default,
7646 # so use the C compiler's -n32 option if that helps.
7647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7648 /* end confdefs.h. */
7649 #include <sys/types.h>
7650 /* Check that off_t can represent 2**63 - 1 correctly.
7651 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7652 since some C++ compilers masquerading as C compilers
7653 incorrectly reject 9223372036854775807. */
7654 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7655 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7656 && LARGE_OFF_T % 2147483647 == 1)
7657 ? 1 : -1];
7659 main (void)
7663 return 0;
7665 _ACEOF
7666 if ac_fn_c_try_compile "$LINENO"
7667 then :
7668 break
7670 rm -f core conftest.err conftest.$ac_objext conftest.beam
7671 CC="$CC -n32"
7672 if ac_fn_c_try_compile "$LINENO"
7673 then :
7674 ac_cv_sys_largefile_CC=' -n32'; break
7676 rm -f core conftest.err conftest.$ac_objext conftest.beam
7677 break
7678 done
7679 CC=$ac_save_CC
7680 rm -f conftest.$ac_ext
7683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7684 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7685 if test "$ac_cv_sys_largefile_CC" != no; then
7686 CC=$CC$ac_cv_sys_largefile_CC
7689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7690 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7691 if test ${ac_cv_sys_file_offset_bits+y}
7692 then :
7693 printf %s "(cached) " >&6
7694 else $as_nop
7695 while :; do
7696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h. */
7698 #include <sys/types.h>
7699 /* Check that off_t can represent 2**63 - 1 correctly.
7700 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7701 since some C++ compilers masquerading as C compilers
7702 incorrectly reject 9223372036854775807. */
7703 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7704 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7705 && LARGE_OFF_T % 2147483647 == 1)
7706 ? 1 : -1];
7708 main (void)
7712 return 0;
7714 _ACEOF
7715 if ac_fn_c_try_compile "$LINENO"
7716 then :
7717 ac_cv_sys_file_offset_bits=no; break
7719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7721 /* end confdefs.h. */
7722 #define _FILE_OFFSET_BITS 64
7723 #include <sys/types.h>
7724 /* Check that off_t can represent 2**63 - 1 correctly.
7725 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7726 since some C++ compilers masquerading as C compilers
7727 incorrectly reject 9223372036854775807. */
7728 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7729 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7730 && LARGE_OFF_T % 2147483647 == 1)
7731 ? 1 : -1];
7733 main (void)
7737 return 0;
7739 _ACEOF
7740 if ac_fn_c_try_compile "$LINENO"
7741 then :
7742 ac_cv_sys_file_offset_bits=64; break
7744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7745 ac_cv_sys_file_offset_bits=unknown
7746 break
7747 done
7749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7750 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7751 case $ac_cv_sys_file_offset_bits in #(
7752 no | unknown) ;;
7754 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7756 esac
7757 rm -rf conftest*
7758 if test $ac_cv_sys_file_offset_bits = unknown; then
7759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7760 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7761 if test ${ac_cv_sys_large_files+y}
7762 then :
7763 printf %s "(cached) " >&6
7764 else $as_nop
7765 while :; do
7766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7767 /* end confdefs.h. */
7768 #include <sys/types.h>
7769 /* Check that off_t can represent 2**63 - 1 correctly.
7770 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7771 since some C++ compilers masquerading as C compilers
7772 incorrectly reject 9223372036854775807. */
7773 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7774 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7775 && LARGE_OFF_T % 2147483647 == 1)
7776 ? 1 : -1];
7778 main (void)
7782 return 0;
7784 _ACEOF
7785 if ac_fn_c_try_compile "$LINENO"
7786 then :
7787 ac_cv_sys_large_files=no; break
7789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7791 /* end confdefs.h. */
7792 #define _LARGE_FILES 1
7793 #include <sys/types.h>
7794 /* Check that off_t can represent 2**63 - 1 correctly.
7795 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7796 since some C++ compilers masquerading as C compilers
7797 incorrectly reject 9223372036854775807. */
7798 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7799 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7800 && LARGE_OFF_T % 2147483647 == 1)
7801 ? 1 : -1];
7803 main (void)
7807 return 0;
7809 _ACEOF
7810 if ac_fn_c_try_compile "$LINENO"
7811 then :
7812 ac_cv_sys_large_files=1; break
7814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7815 ac_cv_sys_large_files=unknown
7816 break
7817 done
7819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7820 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7821 case $ac_cv_sys_large_files in #(
7822 no | unknown) ;;
7824 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7826 esac
7827 rm -rf conftest*
7832 ac_header= ac_cache=
7833 for ac_item in $ac_header_c_list
7835 if test $ac_cache; then
7836 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7837 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7838 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7840 ac_header= ac_cache=
7841 elif test $ac_header; then
7842 ac_cache=$ac_item
7843 else
7844 ac_header=$ac_item
7846 done
7855 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7856 then :
7858 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7861 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_CL_cl_h" = xyes
7863 then :
7864 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_EGL_egl_h" = xyes
7869 then :
7870 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7875 then :
7876 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_arpa_inet_h" = xyes
7881 then :
7882 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7887 then :
7888 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_asm_types_h" = xyes
7893 then :
7894 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_asm_user_h" = xyes
7899 then :
7900 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_elf_h" = xyes
7905 then :
7906 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_float_h" = xyes
7911 then :
7912 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_gettext_po_h" = xyes
7917 then :
7918 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_libproc_h" = xyes
7923 then :
7924 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_link_h" = xyes
7929 then :
7930 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7935 then :
7936 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_linux_filter_h" = xyes
7941 then :
7942 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7947 then :
7948 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7953 then :
7954 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_input_h" = xyes
7959 then :
7960 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7965 then :
7966 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_linux_major_h" = xyes
7971 then :
7972 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_linux_param_h" = xyes
7977 then :
7978 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_linux_serial_h" = xyes
7983 then :
7984 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_linux_types_h" = xyes
7989 then :
7990 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7995 then :
7996 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_linux_wireless_h" = xyes
8001 then :
8002 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_lwp_h" = xyes
8007 then :
8008 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8013 then :
8014 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_mach_mach_h" = xyes
8019 then :
8020 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_machine_cpu_h" = xyes
8025 then :
8026 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8031 then :
8032 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_mntent_h" = xyes
8037 then :
8038 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_netdb_h" = xyes
8043 then :
8044 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_netinet_in_h" = xyes
8049 then :
8050 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8055 then :
8056 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8061 then :
8062 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8067 then :
8068 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8073 then :
8074 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_port_h" = xyes
8079 then :
8080 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_pthread_h" = xyes
8085 then :
8086 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_pwd_h" = xyes
8091 then :
8092 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_sched_h" = xyes
8097 then :
8098 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8103 then :
8104 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8109 then :
8110 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_scsi_sg_h" = xyes
8115 then :
8116 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_stdint_h" = xyes
8121 then :
8122 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_sys_attr_h" = xyes
8127 then :
8128 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_sys_auxv_h" = xyes
8133 then :
8134 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_sys_cdio_h" = xyes
8139 then :
8140 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_epoll_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_event_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_extattr_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_filio_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_ipc_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_link_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_modem_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_mtio_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_param_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_prctl_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_queue_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_random_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_resource_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_shm_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_signal_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_sockio_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_strtio_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_syscall_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_times_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_uio_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_user_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_sys_utsname_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_sys_vnode_h" = xyes
8307 then :
8308 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_sys_xattr_h" = xyes
8313 then :
8314 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_syscall_h" = xyes
8319 then :
8320 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8323 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8324 if test "x$ac_cv_header_utime_h" = xyes
8325 then :
8326 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8331 then :
8332 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8335 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8337 then :
8338 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8342 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8343 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8344 then :
8346 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8350 if test $ac_cv_header_sys_mkdev_h = no; then
8351 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8352 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8353 then :
8355 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8361 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8362 if test ${ac_cv_header_stat_broken+y}
8363 then :
8364 printf %s "(cached) " >&6
8365 else $as_nop
8366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367 /* end confdefs.h. */
8368 #include <sys/types.h>
8369 #include <sys/stat.h>
8371 #if defined S_ISBLK && defined S_IFDIR
8372 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8373 #endif
8375 #if defined S_ISBLK && defined S_IFCHR
8376 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8377 #endif
8379 #if defined S_ISLNK && defined S_IFREG
8380 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8381 #endif
8383 #if defined S_ISSOCK && defined S_IFREG
8384 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8385 #endif
8387 _ACEOF
8388 if ac_fn_c_try_compile "$LINENO"
8389 then :
8390 ac_cv_header_stat_broken=no
8391 else $as_nop
8392 ac_cv_header_stat_broken=yes
8394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8397 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8398 if test $ac_cv_header_stat_broken = yes; then
8400 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8406 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8407 #ifdef HAVE_SYS_PARAM_H
8408 # include <sys/param.h>
8409 #endif
8411 if test "x$ac_cv_header_sys_conf_h" = xyes
8412 then :
8413 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8416 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8417 #ifdef HAVE_SYS_PARAM_H
8418 # include <sys/param.h>
8419 #endif
8421 if test "x$ac_cv_header_sys_mount_h" = xyes
8422 then :
8423 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8426 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8427 #ifdef HAVE_SYS_PARAM_H
8428 # include <sys/param.h>
8429 #endif
8431 if test "x$ac_cv_header_sys_statfs_h" = xyes
8432 then :
8433 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8436 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8437 #ifdef HAVE_SYS_PARAM_H
8438 # include <sys/param.h>
8439 #endif
8441 if test "x$ac_cv_header_sys_user_h" = xyes
8442 then :
8443 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8446 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8447 #ifdef HAVE_SYS_PARAM_H
8448 # include <sys/param.h>
8449 #endif
8451 if test "x$ac_cv_header_sys_vfs_h" = xyes
8452 then :
8453 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8458 saved_sysctl_h_CFLAGS=$CFLAGS
8459 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8460 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8461 #ifdef HAVE_SYS_PARAM_H
8462 # include <sys/param.h>
8463 #endif
8465 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8466 then :
8467 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8471 CFLAGS=$saved_sysctl_h_CFLAGS
8473 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8474 #include <sys/socket.h>
8475 #ifdef HAVE_SYS_SOCKETVAR_H
8476 # include <sys/socketvar.h>
8477 #endif
8478 #ifdef HAVE_NET_ROUTE_H
8479 # include <net/route.h>
8480 #endif
8481 #ifdef HAVE_NETINET_IN_H
8482 # include <netinet/in.h>
8483 #endif
8484 #ifdef HAVE_NETINET_IN_SYSTM_H
8485 # include <netinet/in_systm.h>
8486 #endif
8487 #ifdef HAVE_NET_IF_H
8488 # include <net/if.h>
8489 #endif
8490 #ifdef HAVE_NETINET_IP_H
8491 # include <netinet/ip.h>
8492 #endif
8494 if test "x$ac_cv_header_netinet_ip_h" = xyes
8495 then :
8496 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8499 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8500 #include <sys/socket.h>
8501 #ifdef HAVE_SYS_SOCKETVAR_H
8502 # include <sys/socketvar.h>
8503 #endif
8504 #ifdef HAVE_NET_ROUTE_H
8505 # include <net/route.h>
8506 #endif
8507 #ifdef HAVE_NETINET_IN_H
8508 # include <netinet/in.h>
8509 #endif
8510 #ifdef HAVE_NETINET_IN_SYSTM_H
8511 # include <netinet/in_systm.h>
8512 #endif
8513 #ifdef HAVE_NET_IF_H
8514 # include <net/if.h>
8515 #endif
8516 #ifdef HAVE_NETINET_IP_H
8517 # include <netinet/ip.h>
8518 #endif
8520 if test "x$ac_cv_header_net_if_h" = xyes
8521 then :
8522 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8525 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8526 #include <sys/socket.h>
8527 #ifdef HAVE_SYS_SOCKETVAR_H
8528 # include <sys/socketvar.h>
8529 #endif
8530 #ifdef HAVE_NET_ROUTE_H
8531 # include <net/route.h>
8532 #endif
8533 #ifdef HAVE_NETINET_IN_H
8534 # include <netinet/in.h>
8535 #endif
8536 #ifdef HAVE_NETINET_IN_SYSTM_H
8537 # include <netinet/in_systm.h>
8538 #endif
8539 #ifdef HAVE_NET_IF_H
8540 # include <net/if.h>
8541 #endif
8542 #ifdef HAVE_NETINET_IP_H
8543 # include <netinet/ip.h>
8544 #endif
8546 if test "x$ac_cv_header_net_if_arp_h" = xyes
8547 then :
8548 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8551 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8552 #include <sys/socket.h>
8553 #ifdef HAVE_SYS_SOCKETVAR_H
8554 # include <sys/socketvar.h>
8555 #endif
8556 #ifdef HAVE_NET_ROUTE_H
8557 # include <net/route.h>
8558 #endif
8559 #ifdef HAVE_NETINET_IN_H
8560 # include <netinet/in.h>
8561 #endif
8562 #ifdef HAVE_NETINET_IN_SYSTM_H
8563 # include <netinet/in_systm.h>
8564 #endif
8565 #ifdef HAVE_NET_IF_H
8566 # include <net/if.h>
8567 #endif
8568 #ifdef HAVE_NETINET_IP_H
8569 # include <netinet/ip.h>
8570 #endif
8572 if test "x$ac_cv_header_net_if_dl_h" = xyes
8573 then :
8574 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8577 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8578 #include <sys/socket.h>
8579 #ifdef HAVE_SYS_SOCKETVAR_H
8580 # include <sys/socketvar.h>
8581 #endif
8582 #ifdef HAVE_NET_ROUTE_H
8583 # include <net/route.h>
8584 #endif
8585 #ifdef HAVE_NETINET_IN_H
8586 # include <netinet/in.h>
8587 #endif
8588 #ifdef HAVE_NETINET_IN_SYSTM_H
8589 # include <netinet/in_systm.h>
8590 #endif
8591 #ifdef HAVE_NET_IF_H
8592 # include <net/if.h>
8593 #endif
8594 #ifdef HAVE_NETINET_IP_H
8595 # include <netinet/ip.h>
8596 #endif
8598 if test "x$ac_cv_header_net_if_types_h" = xyes
8599 then :
8600 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8603 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8604 #include <sys/socket.h>
8605 #ifdef HAVE_SYS_SOCKETVAR_H
8606 # include <sys/socketvar.h>
8607 #endif
8608 #ifdef HAVE_NET_ROUTE_H
8609 # include <net/route.h>
8610 #endif
8611 #ifdef HAVE_NETINET_IN_H
8612 # include <netinet/in.h>
8613 #endif
8614 #ifdef HAVE_NETINET_IN_SYSTM_H
8615 # include <netinet/in_systm.h>
8616 #endif
8617 #ifdef HAVE_NET_IF_H
8618 # include <net/if.h>
8619 #endif
8620 #ifdef HAVE_NETINET_IP_H
8621 # include <netinet/ip.h>
8622 #endif
8624 if test "x$ac_cv_header_net_route_h" = xyes
8625 then :
8626 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8629 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8630 #include <sys/socket.h>
8631 #ifdef HAVE_SYS_SOCKETVAR_H
8632 # include <sys/socketvar.h>
8633 #endif
8634 #ifdef HAVE_NET_ROUTE_H
8635 # include <net/route.h>
8636 #endif
8637 #ifdef HAVE_NETINET_IN_H
8638 # include <netinet/in.h>
8639 #endif
8640 #ifdef HAVE_NETINET_IN_SYSTM_H
8641 # include <netinet/in_systm.h>
8642 #endif
8643 #ifdef HAVE_NET_IF_H
8644 # include <net/if.h>
8645 #endif
8646 #ifdef HAVE_NETINET_IP_H
8647 # include <netinet/ip.h>
8648 #endif
8650 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8651 then :
8652 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8655 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8656 #include <sys/socket.h>
8657 #ifdef HAVE_SYS_SOCKETVAR_H
8658 # include <sys/socketvar.h>
8659 #endif
8660 #ifdef HAVE_NET_ROUTE_H
8661 # include <net/route.h>
8662 #endif
8663 #ifdef HAVE_NETINET_IN_H
8664 # include <netinet/in.h>
8665 #endif
8666 #ifdef HAVE_NETINET_IN_SYSTM_H
8667 # include <netinet/in_systm.h>
8668 #endif
8669 #ifdef HAVE_NET_IF_H
8670 # include <net/if.h>
8671 #endif
8672 #ifdef HAVE_NETINET_IP_H
8673 # include <netinet/ip.h>
8674 #endif
8676 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8677 then :
8678 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8681 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8682 #include <sys/socket.h>
8683 #ifdef HAVE_SYS_SOCKETVAR_H
8684 # include <sys/socketvar.h>
8685 #endif
8686 #ifdef HAVE_NET_ROUTE_H
8687 # include <net/route.h>
8688 #endif
8689 #ifdef HAVE_NETINET_IN_H
8690 # include <netinet/in.h>
8691 #endif
8692 #ifdef HAVE_NETINET_IN_SYSTM_H
8693 # include <netinet/in_systm.h>
8694 #endif
8695 #ifdef HAVE_NET_IF_H
8696 # include <net/if.h>
8697 #endif
8698 #ifdef HAVE_NETINET_IP_H
8699 # include <netinet/ip.h>
8700 #endif
8702 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8703 then :
8704 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8707 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8708 #include <sys/socket.h>
8709 #ifdef HAVE_SYS_SOCKETVAR_H
8710 # include <sys/socketvar.h>
8711 #endif
8712 #ifdef HAVE_NET_ROUTE_H
8713 # include <net/route.h>
8714 #endif
8715 #ifdef HAVE_NETINET_IN_H
8716 # include <netinet/in.h>
8717 #endif
8718 #ifdef HAVE_NETINET_IN_SYSTM_H
8719 # include <netinet/in_systm.h>
8720 #endif
8721 #ifdef HAVE_NET_IF_H
8722 # include <net/if.h>
8723 #endif
8724 #ifdef HAVE_NETINET_IP_H
8725 # include <netinet/ip.h>
8726 #endif
8728 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8729 then :
8730 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8733 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8734 #include <sys/socket.h>
8735 #ifdef HAVE_SYS_SOCKETVAR_H
8736 # include <sys/socketvar.h>
8737 #endif
8738 #ifdef HAVE_NET_ROUTE_H
8739 # include <net/route.h>
8740 #endif
8741 #ifdef HAVE_NETINET_IN_H
8742 # include <netinet/in.h>
8743 #endif
8744 #ifdef HAVE_NETINET_IN_SYSTM_H
8745 # include <netinet/in_systm.h>
8746 #endif
8747 #ifdef HAVE_NET_IF_H
8748 # include <net/if.h>
8749 #endif
8750 #ifdef HAVE_NETINET_IP_H
8751 # include <netinet/ip.h>
8752 #endif
8754 if test "x$ac_cv_header_netinet_udp_h" = xyes
8755 then :
8756 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8759 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8760 #include <sys/socket.h>
8761 #ifdef HAVE_SYS_SOCKETVAR_H
8762 # include <sys/socketvar.h>
8763 #endif
8764 #ifdef HAVE_NET_ROUTE_H
8765 # include <net/route.h>
8766 #endif
8767 #ifdef HAVE_NETINET_IN_H
8768 # include <netinet/in.h>
8769 #endif
8770 #ifdef HAVE_NETINET_IN_SYSTM_H
8771 # include <netinet/in_systm.h>
8772 #endif
8773 #ifdef HAVE_NET_IF_H
8774 # include <net/if.h>
8775 #endif
8776 #ifdef HAVE_NETINET_IP_H
8777 # include <netinet/ip.h>
8778 #endif
8780 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8781 then :
8782 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8785 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8786 #include <sys/socket.h>
8787 #ifdef HAVE_SYS_SOCKETVAR_H
8788 # include <sys/socketvar.h>
8789 #endif
8790 #ifdef HAVE_NET_ROUTE_H
8791 # include <net/route.h>
8792 #endif
8793 #ifdef HAVE_NETINET_IN_H
8794 # include <netinet/in.h>
8795 #endif
8796 #ifdef HAVE_NETINET_IN_SYSTM_H
8797 # include <netinet/in_systm.h>
8798 #endif
8799 #ifdef HAVE_NET_IF_H
8800 # include <net/if.h>
8801 #endif
8802 #ifdef HAVE_NETINET_IP_H
8803 # include <netinet/ip.h>
8804 #endif
8806 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8807 then :
8808 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8811 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8812 #include <sys/socket.h>
8813 #ifdef HAVE_SYS_SOCKETVAR_H
8814 # include <sys/socketvar.h>
8815 #endif
8816 #ifdef HAVE_NET_ROUTE_H
8817 # include <net/route.h>
8818 #endif
8819 #ifdef HAVE_NETINET_IN_H
8820 # include <netinet/in.h>
8821 #endif
8822 #ifdef HAVE_NETINET_IN_SYSTM_H
8823 # include <netinet/in_systm.h>
8824 #endif
8825 #ifdef HAVE_NET_IF_H
8826 # include <net/if.h>
8827 #endif
8828 #ifdef HAVE_NETINET_IP_H
8829 # include <netinet/ip.h>
8830 #endif
8832 if test "x$ac_cv_header_sys_un_h" = xyes
8833 then :
8834 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8839 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8840 #include <sys/socket.h>
8841 #ifdef HAVE_SYS_SOCKETVAR_H
8842 # include <sys/socketvar.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IN_H
8845 # include <netinet/in.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IN_SYSTM_H
8848 # include <netinet/in_systm.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IP_H
8851 # include <netinet/ip.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IP_VAR_H
8854 # include <netinet/ip_var.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IP_ICMP_H
8857 # include <netinet/ip_icmp.h>
8858 #endif
8859 #ifdef HAVE_NETINET_UDP_H
8860 # include <netinet/udp.h>
8861 #endif
8862 #ifdef HAVE_NETINET_TCP_H
8863 # include <netinet/tcp.h>
8864 #endif
8866 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8867 then :
8868 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8871 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8872 #include <sys/socket.h>
8873 #ifdef HAVE_SYS_SOCKETVAR_H
8874 # include <sys/socketvar.h>
8875 #endif
8876 #ifdef HAVE_NETINET_IN_H
8877 # include <netinet/in.h>
8878 #endif
8879 #ifdef HAVE_NETINET_IN_SYSTM_H
8880 # include <netinet/in_systm.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IP_H
8883 # include <netinet/ip.h>
8884 #endif
8885 #ifdef HAVE_NETINET_IP_VAR_H
8886 # include <netinet/ip_var.h>
8887 #endif
8888 #ifdef HAVE_NETINET_IP_ICMP_H
8889 # include <netinet/ip_icmp.h>
8890 #endif
8891 #ifdef HAVE_NETINET_UDP_H
8892 # include <netinet/udp.h>
8893 #endif
8894 #ifdef HAVE_NETINET_TCP_H
8895 # include <netinet/tcp.h>
8896 #endif
8898 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8899 then :
8900 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8903 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8904 #include <sys/socket.h>
8905 #ifdef HAVE_SYS_SOCKETVAR_H
8906 # include <sys/socketvar.h>
8907 #endif
8908 #ifdef HAVE_NETINET_IN_H
8909 # include <netinet/in.h>
8910 #endif
8911 #ifdef HAVE_NETINET_IN_SYSTM_H
8912 # include <netinet/in_systm.h>
8913 #endif
8914 #ifdef HAVE_NETINET_IP_H
8915 # include <netinet/ip.h>
8916 #endif
8917 #ifdef HAVE_NETINET_IP_VAR_H
8918 # include <netinet/ip_var.h>
8919 #endif
8920 #ifdef HAVE_NETINET_IP_ICMP_H
8921 # include <netinet/ip_icmp.h>
8922 #endif
8923 #ifdef HAVE_NETINET_UDP_H
8924 # include <netinet/udp.h>
8925 #endif
8926 #ifdef HAVE_NETINET_TCP_H
8927 # include <netinet/tcp.h>
8928 #endif
8930 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8931 then :
8932 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8935 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8936 #include <sys/socket.h>
8937 #ifdef HAVE_SYS_SOCKETVAR_H
8938 # include <sys/socketvar.h>
8939 #endif
8940 #ifdef HAVE_NETINET_IN_H
8941 # include <netinet/in.h>
8942 #endif
8943 #ifdef HAVE_NETINET_IN_SYSTM_H
8944 # include <netinet/in_systm.h>
8945 #endif
8946 #ifdef HAVE_NETINET_IP_H
8947 # include <netinet/ip.h>
8948 #endif
8949 #ifdef HAVE_NETINET_IP_VAR_H
8950 # include <netinet/ip_var.h>
8951 #endif
8952 #ifdef HAVE_NETINET_IP_ICMP_H
8953 # include <netinet/ip_icmp.h>
8954 #endif
8955 #ifdef HAVE_NETINET_UDP_H
8956 # include <netinet/udp.h>
8957 #endif
8958 #ifdef HAVE_NETINET_TCP_H
8959 # include <netinet/tcp.h>
8960 #endif
8962 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8963 then :
8964 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8969 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8970 #include <sys/socket.h>
8971 #ifdef HAVE_ASM_TYPES_H
8972 # include <asm/types.h>
8973 #endif
8974 #ifdef HAVE_LINUX_TYPES_H
8975 # include <linux/types.h>
8976 #endif
8978 if test "x$ac_cv_header_linux_ipx_h" = xyes
8979 then :
8980 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8983 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8984 #include <sys/socket.h>
8985 #ifdef HAVE_ASM_TYPES_H
8986 # include <asm/types.h>
8987 #endif
8988 #ifdef HAVE_LINUX_TYPES_H
8989 # include <linux/types.h>
8990 #endif
8992 if test "x$ac_cv_header_linux_irda_h" = xyes
8993 then :
8994 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8997 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8998 #include <sys/socket.h>
8999 #ifdef HAVE_ASM_TYPES_H
9000 # include <asm/types.h>
9001 #endif
9002 #ifdef HAVE_LINUX_TYPES_H
9003 # include <linux/types.h>
9004 #endif
9006 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9007 then :
9008 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9013 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9014 #include <sys/socket.h>
9015 #ifdef HAVE_NETINET_IN_H
9016 # include <netinet/in.h>
9017 #endif
9018 #ifdef HAVE_ARPA_NAMESER_H
9019 # include <arpa/nameser.h>
9020 #endif
9022 if test "x$ac_cv_header_resolv_h" = xyes
9023 then :
9024 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9029 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9031 if test "x$ac_cv_header_ifaddrs_h" = xyes
9032 then :
9033 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9038 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9040 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9041 then :
9042 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9047 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9048 #ifdef HAVE_SYS_UCONTEXT_H
9049 #include <sys/ucontext.h>
9050 #endif
9052 if test "x$ac_cv_header_sys_thr_h" = xyes
9053 then :
9054 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9059 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9060 #include <pthread.h>
9061 #endif
9063 if test "x$ac_cv_header_pthread_np_h" = xyes
9064 then :
9065 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9070 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9071 #include <sys/types.h>
9072 #ifdef HAVE_ASM_TYPES_H
9073 #include <asm/types.h>
9074 #endif
9076 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9077 then :
9078 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9083 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9084 #include <sys/param.h>
9085 #endif
9086 #include <sys/socket.h>
9087 #ifdef HAVE_SYS_QUEUE_H
9088 #include <sys/queue.h>
9089 #endif
9091 if test "x$ac_cv_header_libprocstat_h" = xyes
9092 then :
9093 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9098 if test "x$ac_cv_header_sys_xattr_h" = xyes
9099 then
9100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9101 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9102 if test ${wine_cv_xattr_extra_args+y}
9103 then :
9104 printf %s "(cached) " >&6
9105 else $as_nop
9106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9107 /* end confdefs.h. */
9108 #include <sys/xattr.h>
9110 main (void)
9112 getxattr("", "", "", 0, 0, 0);
9114 return 0;
9116 _ACEOF
9117 if ac_fn_c_try_compile "$LINENO"
9118 then :
9119 wine_cv_xattr_extra_args=yes
9120 else $as_nop
9121 wine_cv_xattr_extra_args=no
9123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9126 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9127 test $wine_cv_xattr_extra_args != yes ||
9128 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9133 DLLFLAGS=""
9135 LDDLLFLAGS=""
9137 LDEXECFLAGS=""
9139 EXTRACFLAGS=""
9141 UNIXDLLFLAGS="-fPIC"
9143 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9145 TOP_INSTALL_LIB=""
9147 TOP_INSTALL_DEV=""
9149 WINELOADER_LDFLAGS=""
9151 WINEPRELOADER_LDFLAGS=""
9153 DLLEXT=".so"
9155 LIBEXT="so"
9156 # Extract the first word of "ldd", so it can be a program name with args.
9157 set dummy ldd; ac_word=$2
9158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9159 printf %s "checking for $ac_word... " >&6; }
9160 if test ${ac_cv_path_LDD+y}
9161 then :
9162 printf %s "(cached) " >&6
9163 else $as_nop
9164 case $LDD in
9165 [\\/]* | ?:[\\/]*)
9166 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9170 as_dummy="/sbin:/usr/sbin:$PATH"
9171 for as_dir in $as_dummy
9173 IFS=$as_save_IFS
9174 case $as_dir in #(((
9175 '') as_dir=./ ;;
9176 */) ;;
9177 *) as_dir=$as_dir/ ;;
9178 esac
9179 for ac_exec_ext in '' $ac_executable_extensions; do
9180 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9181 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9183 break 2
9185 done
9186 done
9187 IFS=$as_save_IFS
9189 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9191 esac
9193 LDD=$ac_cv_path_LDD
9194 if test -n "$LDD"; then
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9196 printf "%s\n" "$LDD" >&6; }
9197 else
9198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9199 printf "%s\n" "no" >&6; }
9203 if test -n "$ac_tool_prefix"; then
9204 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9205 set dummy ${ac_tool_prefix}otool; ac_word=$2
9206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9207 printf %s "checking for $ac_word... " >&6; }
9208 if test ${ac_cv_prog_OTOOL+y}
9209 then :
9210 printf %s "(cached) " >&6
9211 else $as_nop
9212 if test -n "$OTOOL"; then
9213 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9214 else
9215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9216 for as_dir in $PATH
9218 IFS=$as_save_IFS
9219 case $as_dir in #(((
9220 '') as_dir=./ ;;
9221 */) ;;
9222 *) as_dir=$as_dir/ ;;
9223 esac
9224 for ac_exec_ext in '' $ac_executable_extensions; do
9225 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9226 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9228 break 2
9230 done
9231 done
9232 IFS=$as_save_IFS
9236 OTOOL=$ac_cv_prog_OTOOL
9237 if test -n "$OTOOL"; then
9238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9239 printf "%s\n" "$OTOOL" >&6; }
9240 else
9241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9242 printf "%s\n" "no" >&6; }
9247 if test -z "$ac_cv_prog_OTOOL"; then
9248 ac_ct_OTOOL=$OTOOL
9249 # Extract the first word of "otool", so it can be a program name with args.
9250 set dummy otool; ac_word=$2
9251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9252 printf %s "checking for $ac_word... " >&6; }
9253 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9254 then :
9255 printf %s "(cached) " >&6
9256 else $as_nop
9257 if test -n "$ac_ct_OTOOL"; then
9258 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9259 else
9260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9261 for as_dir in $PATH
9263 IFS=$as_save_IFS
9264 case $as_dir in #(((
9265 '') as_dir=./ ;;
9266 */) ;;
9267 *) as_dir=$as_dir/ ;;
9268 esac
9269 for ac_exec_ext in '' $ac_executable_extensions; do
9270 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9271 ac_cv_prog_ac_ct_OTOOL="otool"
9272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9273 break 2
9275 done
9276 done
9277 IFS=$as_save_IFS
9281 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9282 if test -n "$ac_ct_OTOOL"; then
9283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9284 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9285 else
9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9287 printf "%s\n" "no" >&6; }
9290 if test "x$ac_ct_OTOOL" = x; then
9291 OTOOL="otool"
9292 else
9293 case $cross_compiling:$ac_tool_warned in
9294 yes:)
9295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9296 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9297 ac_tool_warned=yes ;;
9298 esac
9299 OTOOL=$ac_ct_OTOOL
9301 else
9302 OTOOL="$ac_cv_prog_OTOOL"
9305 if test -n "$ac_tool_prefix"; then
9306 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9307 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9309 printf %s "checking for $ac_word... " >&6; }
9310 if test ${ac_cv_prog_READELF+y}
9311 then :
9312 printf %s "(cached) " >&6
9313 else $as_nop
9314 if test -n "$READELF"; then
9315 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9316 else
9317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9318 for as_dir in $PATH
9320 IFS=$as_save_IFS
9321 case $as_dir in #(((
9322 '') as_dir=./ ;;
9323 */) ;;
9324 *) as_dir=$as_dir/ ;;
9325 esac
9326 for ac_exec_ext in '' $ac_executable_extensions; do
9327 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9328 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9330 break 2
9332 done
9333 done
9334 IFS=$as_save_IFS
9338 READELF=$ac_cv_prog_READELF
9339 if test -n "$READELF"; then
9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9341 printf "%s\n" "$READELF" >&6; }
9342 else
9343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9344 printf "%s\n" "no" >&6; }
9349 if test -z "$ac_cv_prog_READELF"; then
9350 ac_ct_READELF=$READELF
9351 # Extract the first word of "readelf", so it can be a program name with args.
9352 set dummy readelf; ac_word=$2
9353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9354 printf %s "checking for $ac_word... " >&6; }
9355 if test ${ac_cv_prog_ac_ct_READELF+y}
9356 then :
9357 printf %s "(cached) " >&6
9358 else $as_nop
9359 if test -n "$ac_ct_READELF"; then
9360 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9361 else
9362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9363 for as_dir in $PATH
9365 IFS=$as_save_IFS
9366 case $as_dir in #(((
9367 '') as_dir=./ ;;
9368 */) ;;
9369 *) as_dir=$as_dir/ ;;
9370 esac
9371 for ac_exec_ext in '' $ac_executable_extensions; do
9372 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9373 ac_cv_prog_ac_ct_READELF="readelf"
9374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9375 break 2
9377 done
9378 done
9379 IFS=$as_save_IFS
9383 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9384 if test -n "$ac_ct_READELF"; then
9385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9386 printf "%s\n" "$ac_ct_READELF" >&6; }
9387 else
9388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9389 printf "%s\n" "no" >&6; }
9392 if test "x$ac_ct_READELF" = x; then
9393 READELF="true"
9394 else
9395 case $cross_compiling:$ac_tool_warned in
9396 yes:)
9397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9398 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9399 ac_tool_warned=yes ;;
9400 esac
9401 READELF=$ac_ct_READELF
9403 else
9404 READELF="$ac_cv_prog_READELF"
9407 wine_rules="all:"
9408 SUBDIRS=""
9410 DISABLED_SUBDIRS=""
9412 CONFIGURE_TARGETS=""
9415 wine_fn_config_makefile ()
9417 as_fn_append SUBDIRS " \\$as_nl $1"
9418 eval enable=\$$2
9419 case "$enable" in
9420 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9421 *aarch64*|*arm*|*i386*|*x86_64*)
9422 if test -n "$PE_ARCHS"
9423 then
9424 for i in $PE_ARCHS
9426 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9427 done
9428 else
9429 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9430 fi;;
9431 esac
9434 wine_fn_config_symlink ()
9436 ac_links=$@
9437 as_fn_append wine_rules "
9438 $ac_links:
9439 @./config.status \$@"
9440 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9443 case $host_os in
9444 cygwin*|mingw32*)
9445 LIBEXT="dll"
9446 DLLEXT=""
9447 EXTRACFLAGS="-D__WINE_PE_BUILD"
9448 case $host_cpu in
9449 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9450 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9451 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9452 then :
9453 printf %s "(cached) " >&6
9454 else $as_nop
9455 ac_wine_try_cflags_saved=$CFLAGS
9456 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9459 int main(int argc, char **argv) { return 0; }
9460 _ACEOF
9461 if ac_fn_c_try_link "$LINENO"
9462 then :
9463 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9464 else $as_nop
9465 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9468 conftest$ac_exeext conftest.$ac_ext
9469 CFLAGS=$ac_wine_try_cflags_saved
9471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9472 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9473 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9474 then :
9475 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9476 fi ;;
9477 esac
9478 enable_loader=${enable_loader:-no}
9479 enable_server=${enable_server:-no}
9480 with_x=${with_x:-no}
9481 with_pthread=${with_pthread:-no}
9484 darwin*|macosx*)
9485 LIBEXT="dylib"
9486 DLLFLAGS="$DLLFLAGS -fPIC"
9487 LDDLLFLAGS="-fPIC"
9488 enable_winemac_drv=${enable_winemac_drv:-yes}
9489 CARBON_LIBS="-framework Carbon"
9491 COREFOUNDATION_LIBS="-framework CoreFoundation"
9493 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9495 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9497 METAL_LIBS="-framework Metal"
9499 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9501 CORESERVICES_LIBS="-framework CoreServices"
9503 APPKIT_LIBS="-framework AppKit"
9505 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9507 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9510 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9512 case $host_cpu in
9513 *i[3456]86*|*x86_64*) wine_can_build_preloader=yes ;;
9514 *) wine_can_build_preloader=no ;;
9515 esac
9517 if test "$wine_can_build_preloader" = "yes"
9518 then
9519 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -mmacosx-version-min=10.7 -Wl,-no_new_main,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9521 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9522 if test ${ac_cv_cflags__Wl__no_pie+y}
9523 then :
9524 printf %s "(cached) " >&6
9525 else $as_nop
9526 ac_wine_try_cflags_saved=$CFLAGS
9527 CFLAGS="$CFLAGS -Wl,-no_pie"
9528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9529 /* end confdefs.h. */
9530 int main(int argc, char **argv) { return 0; }
9531 _ACEOF
9532 if ac_fn_c_try_link "$LINENO"
9533 then :
9534 ac_cv_cflags__Wl__no_pie=yes
9535 else $as_nop
9536 ac_cv_cflags__Wl__no_pie=no
9538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9539 conftest$ac_exeext conftest.$ac_ext
9540 CFLAGS=$ac_wine_try_cflags_saved
9542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9543 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9544 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9545 then :
9546 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9548 case $host_cpu in
9549 *i[3456]86*)
9550 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9552 *x86_64*)
9553 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9555 esac
9556 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9557 else
9558 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9561 if test "x$with_coreaudio" != "xno";
9562 then
9563 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9565 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9567 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9568 then
9569 OPENCL_LIBS="-framework OpenCL"
9571 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9575 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9576 ac_ext=m
9577 ac_cpp='$OBJCPP $CPPFLAGS'
9578 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9579 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9580 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9582 ac_ext=m
9583 ac_cpp='$OBJCPP $CPPFLAGS'
9584 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9585 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9586 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9587 if test -n "$ac_tool_prefix"; then
9588 for ac_prog in gcc objcc objc cc CC clang
9590 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9591 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9593 printf %s "checking for $ac_word... " >&6; }
9594 if test ${ac_cv_prog_OBJC+y}
9595 then :
9596 printf %s "(cached) " >&6
9597 else $as_nop
9598 if test -n "$OBJC"; then
9599 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9600 else
9601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9602 for as_dir in $PATH
9604 IFS=$as_save_IFS
9605 case $as_dir in #(((
9606 '') as_dir=./ ;;
9607 */) ;;
9608 *) as_dir=$as_dir/ ;;
9609 esac
9610 for ac_exec_ext in '' $ac_executable_extensions; do
9611 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9612 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9614 break 2
9616 done
9617 done
9618 IFS=$as_save_IFS
9622 OBJC=$ac_cv_prog_OBJC
9623 if test -n "$OBJC"; then
9624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9625 printf "%s\n" "$OBJC" >&6; }
9626 else
9627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9628 printf "%s\n" "no" >&6; }
9632 test -n "$OBJC" && break
9633 done
9635 if test -z "$OBJC"; then
9636 ac_ct_OBJC=$OBJC
9637 for ac_prog in gcc objcc objc cc CC clang
9639 # Extract the first word of "$ac_prog", so it can be a program name with args.
9640 set dummy $ac_prog; ac_word=$2
9641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9642 printf %s "checking for $ac_word... " >&6; }
9643 if test ${ac_cv_prog_ac_ct_OBJC+y}
9644 then :
9645 printf %s "(cached) " >&6
9646 else $as_nop
9647 if test -n "$ac_ct_OBJC"; then
9648 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9649 else
9650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9651 for as_dir in $PATH
9653 IFS=$as_save_IFS
9654 case $as_dir in #(((
9655 '') as_dir=./ ;;
9656 */) ;;
9657 *) as_dir=$as_dir/ ;;
9658 esac
9659 for ac_exec_ext in '' $ac_executable_extensions; do
9660 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9661 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9663 break 2
9665 done
9666 done
9667 IFS=$as_save_IFS
9671 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9672 if test -n "$ac_ct_OBJC"; then
9673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9674 printf "%s\n" "$ac_ct_OBJC" >&6; }
9675 else
9676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9677 printf "%s\n" "no" >&6; }
9681 test -n "$ac_ct_OBJC" && break
9682 done
9684 if test "x$ac_ct_OBJC" = x; then
9685 OBJC="gcc"
9686 else
9687 case $cross_compiling:$ac_tool_warned in
9688 yes:)
9689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9690 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9691 ac_tool_warned=yes ;;
9692 esac
9693 OBJC=$ac_ct_OBJC
9697 # Provide some information about the compiler.
9698 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9699 set X $ac_compile
9700 ac_compiler=$2
9701 for ac_option in --version -v -V -qversion; do
9702 { { ac_try="$ac_compiler $ac_option >&5"
9703 case "(($ac_try" in
9704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9705 *) ac_try_echo=$ac_try;;
9706 esac
9707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9708 printf "%s\n" "$ac_try_echo"; } >&5
9709 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9710 ac_status=$?
9711 if test -s conftest.err; then
9712 sed '10a\
9713 ... rest of stderr output deleted ...
9714 10q' conftest.err >conftest.er1
9715 cat conftest.er1 >&5
9717 rm -f conftest.er1 conftest.err
9718 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9719 test $ac_status = 0; }
9720 done
9722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9723 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9724 if test ${ac_cv_objc_compiler_gnu+y}
9725 then :
9726 printf %s "(cached) " >&6
9727 else $as_nop
9728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9729 /* end confdefs.h. */
9732 main (void)
9734 #ifndef __GNUC__
9735 choke me
9736 #endif
9739 return 0;
9741 _ACEOF
9742 if ac_fn_objc_try_compile "$LINENO"
9743 then :
9744 ac_compiler_gnu=yes
9745 else $as_nop
9746 ac_compiler_gnu=no
9748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9749 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9753 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9754 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9756 if test $ac_compiler_gnu = yes; then
9757 GOBJC=yes
9758 else
9759 GOBJC=
9761 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9762 ac_save_OBJCFLAGS=$OBJCFLAGS
9763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9764 printf %s "checking whether $OBJC accepts -g... " >&6; }
9765 if test ${ac_cv_prog_objc_g+y}
9766 then :
9767 printf %s "(cached) " >&6
9768 else $as_nop
9769 ac_save_objc_werror_flag=$ac_objc_werror_flag
9770 ac_objc_werror_flag=yes
9771 ac_cv_prog_objc_g=no
9772 OBJCFLAGS="-g"
9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9774 /* end confdefs.h. */
9777 main (void)
9781 return 0;
9783 _ACEOF
9784 if ac_fn_objc_try_compile "$LINENO"
9785 then :
9786 ac_cv_prog_objc_g=yes
9787 else $as_nop
9788 OBJCFLAGS=""
9789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9790 /* end confdefs.h. */
9793 main (void)
9797 return 0;
9799 _ACEOF
9800 if ac_fn_objc_try_compile "$LINENO"
9801 then :
9803 else $as_nop
9804 ac_objc_werror_flag=$ac_save_objc_werror_flag
9805 OBJCFLAGS="-g"
9806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9807 /* end confdefs.h. */
9810 main (void)
9814 return 0;
9816 _ACEOF
9817 if ac_fn_objc_try_compile "$LINENO"
9818 then :
9819 ac_cv_prog_objc_g=yes
9821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9826 ac_objc_werror_flag=$ac_save_objc_werror_flag
9828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9829 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9830 if test $ac_test_OBJCFLAGS; then
9831 OBJCFLAGS=$ac_save_OBJCFLAGS
9832 elif test $ac_cv_prog_objc_g = yes; then
9833 if test "$GOBJC" = yes; then
9834 OBJCFLAGS="-g -O2"
9835 else
9836 OBJCFLAGS="-g"
9838 else
9839 if test "$GOBJC" = yes; then
9840 OBJCFLAGS="-O2"
9841 else
9842 OBJCFLAGS=
9845 ac_ext=m
9846 ac_cpp='$OBJCPP $CPPFLAGS'
9847 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9848 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9849 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9854 #include <Metal/Metal.h>
9856 main (void)
9858 id<MTLDevice> device; device.registryID;
9860 return 0;
9862 _ACEOF
9863 if ac_fn_objc_try_compile "$LINENO"
9864 then :
9865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9866 printf "%s\n" "yes" >&6; }
9868 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9870 else $as_nop
9871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9872 printf "%s\n" "no" >&6; }
9874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9875 ac_ext=c
9876 ac_cpp='$CPP $CPPFLAGS'
9877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9882 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9883 WINELOADER_DEPENDS="wine_info.plist"
9887 linux-android*)
9889 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9891 DLLFLAGS="$DLLFLAGS -fPIC"
9892 LDDLLFLAGS="-fPIC"
9893 LDEXECFLAGS="-Wl,-pie"
9894 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9896 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9897 if test ${ac_cv_cflags__Wl__z_defs+y}
9898 then :
9899 printf %s "(cached) " >&6
9900 else $as_nop
9901 ac_wine_try_cflags_saved=$CFLAGS
9902 CFLAGS="$CFLAGS -Wl,-z,defs"
9903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9905 int main(int argc, char **argv) { return 0; }
9906 _ACEOF
9907 if ac_fn_c_try_link "$LINENO"
9908 then :
9909 ac_cv_cflags__Wl__z_defs=yes
9910 else $as_nop
9911 ac_cv_cflags__Wl__z_defs=no
9913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9914 conftest$ac_exeext conftest.$ac_ext
9915 CFLAGS=$ac_wine_try_cflags_saved
9917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9918 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9919 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9920 then :
9921 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9924 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9925 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9926 then :
9927 printf %s "(cached) " >&6
9928 else $as_nop
9929 ac_wine_try_cflags_saved=$CFLAGS
9930 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9932 /* end confdefs.h. */
9933 int main(int argc, char **argv) { return 0; }
9934 _ACEOF
9935 if ac_fn_c_try_link "$LINENO"
9936 then :
9937 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9938 else $as_nop
9939 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9942 conftest$ac_exeext conftest.$ac_ext
9943 CFLAGS=$ac_wine_try_cflags_saved
9945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9946 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9947 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9948 then :
9949 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9951 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9954 printf %s "checking for -lEGL... " >&6; }
9955 if test ${ac_cv_lib_soname_EGL+y}
9956 then :
9957 printf %s "(cached) " >&6
9958 else $as_nop
9959 ac_check_soname_save_LIBS=$LIBS
9960 LIBS="-lEGL $LIBS"
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9964 /* Override any GCC internal prototype to avoid an error.
9965 Use char because int might match the return type of a GCC
9966 builtin and then its argument prototype would still apply. */
9967 char eglGetProcAddress ();
9969 main (void)
9971 return eglGetProcAddress ();
9973 return 0;
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"
9977 then :
9978 case "$LIBEXT" in
9979 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9980 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'` ;;
9981 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9982 if ${ac_cv_lib_soname_EGL:+false} :
9983 then :
9984 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9985 fi ;;
9986 esac
9987 else $as_nop
9988 ac_cv_lib_soname_EGL=
9990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9991 conftest$ac_exeext conftest.$ac_ext
9992 LIBS=$ac_check_soname_save_LIBS
9994 if ${ac_cv_lib_soname_EGL:+false} :
9995 then :
9996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9997 printf "%s\n" "not found" >&6; }
9999 else $as_nop
10000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10001 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10003 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10008 printf %s "checking for -lGLESv2... " >&6; }
10009 if test ${ac_cv_lib_soname_GLESv2+y}
10010 then :
10011 printf %s "(cached) " >&6
10012 else $as_nop
10013 ac_check_soname_save_LIBS=$LIBS
10014 LIBS="-lGLESv2 $LIBS"
10015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10016 /* end confdefs.h. */
10018 /* Override any GCC internal prototype to avoid an error.
10019 Use char because int might match the return type of a GCC
10020 builtin and then its argument prototype would still apply. */
10021 char glFlush ();
10023 main (void)
10025 return glFlush ();
10027 return 0;
10029 _ACEOF
10030 if ac_fn_c_try_link "$LINENO"
10031 then :
10032 case "$LIBEXT" in
10033 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10034 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'` ;;
10035 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10036 if ${ac_cv_lib_soname_GLESv2:+false} :
10037 then :
10038 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10039 fi ;;
10040 esac
10041 else $as_nop
10042 ac_cv_lib_soname_GLESv2=
10044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10045 conftest$ac_exeext conftest.$ac_ext
10046 LIBS=$ac_check_soname_save_LIBS
10048 if ${ac_cv_lib_soname_GLESv2:+false} :
10049 then :
10050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10051 printf "%s\n" "not found" >&6; }
10053 else $as_nop
10054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10055 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10057 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10062 if test "x$exec_prefix" = xNONE
10063 then
10064 case $host_cpu in
10065 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10066 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10067 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10068 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10069 esac
10075 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10077 test "$ac_cv_sys_file_offset_bits" = 64 &&
10078 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10080 case $host_cpu in
10081 *i[3456789]86*)
10082 DLLFLAGS="$DLLFLAGS -fno-PIC"
10083 LDDLLFLAGS="-fno-PIC"
10084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10085 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10086 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10087 then :
10088 printf %s "(cached) " >&6
10089 else $as_nop
10090 ac_wine_try_cflags_saved=$CFLAGS
10091 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10093 /* end confdefs.h. */
10094 int main(int argc, char **argv) { return 0; }
10095 _ACEOF
10096 if ac_fn_c_try_link "$LINENO"
10097 then :
10098 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10099 else $as_nop
10100 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10103 conftest$ac_exeext conftest.$ac_ext
10104 CFLAGS=$ac_wine_try_cflags_saved
10106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10107 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10108 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10109 then :
10110 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10114 DLLFLAGS="$DLLFLAGS -fPIC"
10115 LDDLLFLAGS="-fPIC" ;;
10116 esac
10118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10119 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10120 if test ${ac_cv_wl_z_defs+y}
10121 then :
10122 printf %s "(cached) " >&6
10123 else $as_nop
10124 ac_save_CFLAGS="$CFLAGS"
10125 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10127 /* end confdefs.h. */
10128 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10129 _ACEOF
10130 if ac_fn_c_try_link "$LINENO"
10131 then :
10132 ac_cv_wl_z_defs=yes
10133 else $as_nop
10134 ac_cv_wl_z_defs=no
10136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10137 conftest$ac_exeext conftest.$ac_ext
10138 CFLAGS=$ac_save_CFLAGS
10140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10141 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10142 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10145 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10146 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10147 then :
10148 printf %s "(cached) " >&6
10149 else $as_nop
10150 ac_wine_try_cflags_saved=$CFLAGS
10151 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10154 int main(int argc, char **argv) { return 0; }
10155 _ACEOF
10156 if ac_fn_c_try_link "$LINENO"
10157 then :
10158 ac_cv_cflags__Wl___export_dynamic=yes
10159 else $as_nop
10160 ac_cv_cflags__Wl___export_dynamic=no
10162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10163 conftest$ac_exeext conftest.$ac_ext
10164 CFLAGS=$ac_wine_try_cflags_saved
10166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10167 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10168 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10169 then :
10170 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10172 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10174 case $host_os in
10175 linux*)
10176 as_fn_append WINELOADER_LDFLAGS " -pie"
10177 case $HOST_ARCH in
10178 i386|arm)
10179 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10182 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10183 if test ${ac_cv_cflags__static_pie+y}
10184 then :
10185 printf %s "(cached) " >&6
10186 else $as_nop
10187 ac_wine_try_cflags_saved=$CFLAGS
10188 CFLAGS="$CFLAGS -static-pie"
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10191 int main(int argc, char **argv) { return 0; }
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"
10194 then :
10195 ac_cv_cflags__static_pie=yes
10196 else $as_nop
10197 ac_cv_cflags__static_pie=no
10199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10200 conftest$ac_exeext conftest.$ac_ext
10201 CFLAGS=$ac_wine_try_cflags_saved
10203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10204 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10205 if test "x$ac_cv_cflags__static_pie" = xyes
10206 then :
10207 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10208 else $as_nop
10209 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10212 esac
10215 case $HOST_ARCH in
10216 i386|arm)
10217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10218 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10219 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10220 then :
10221 printf %s "(cached) " >&6
10222 else $as_nop
10223 ac_wine_try_cflags_saved=$CFLAGS
10224 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10226 /* end confdefs.h. */
10227 int main(int argc, char **argv) { return 0; }
10228 _ACEOF
10229 if ac_fn_c_try_link "$LINENO"
10230 then :
10231 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10232 else $as_nop
10233 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10236 conftest$ac_exeext conftest.$ac_ext
10237 CFLAGS=$ac_wine_try_cflags_saved
10239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10240 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10241 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10242 then :
10243 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10244 else $as_nop
10245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10246 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10247 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10248 then :
10249 printf %s "(cached) " >&6
10250 else $as_nop
10251 ac_wine_try_cflags_saved=$CFLAGS
10252 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10255 int main(int argc, char **argv) { return 0; }
10256 _ACEOF
10257 if ac_fn_c_try_link "$LINENO"
10258 then :
10259 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10260 else $as_nop
10261 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10264 conftest$ac_exeext conftest.$ac_ext
10265 CFLAGS=$ac_wine_try_cflags_saved
10267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10268 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10269 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10270 then :
10271 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10276 as_fn_append WINELOADER_LDFLAGS " -pie"
10278 esac
10280 esac
10282 esac
10284 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10285 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10286 enable_winemac_drv=${enable_winemac_drv:-no}
10288 PE_ARCHS=""
10290 cross_archs=
10291 if test ${enable_archs+y}
10292 then :
10293 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10294 ac_save_IFS=$IFS
10295 IFS=' ,'
10296 set x $enable_archs
10297 IFS=$ac_save_IFS
10298 shift
10299 for arch
10301 case $arch in
10302 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10303 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10304 esac
10305 done
10306 else $as_nop
10307 if test "x$with_mingw" != xno
10308 then
10309 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10313 for wine_arch in $cross_archs
10315 case "x$with_mingw" in
10316 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10317 esac
10318 if eval \${${wine_arch}_CC:+false} :
10319 then :
10320 case $wine_arch in
10321 aarch64)
10322 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10324 # Extract the first word of "$ac_prog", so it can be a program name with args.
10325 set dummy $ac_prog; ac_word=$2
10326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10327 printf %s "checking for $ac_word... " >&6; }
10328 if test ${ac_cv_prog_aarch64_CC+y}
10329 then :
10330 printf %s "(cached) " >&6
10331 else $as_nop
10332 if test -n "$aarch64_CC"; then
10333 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10334 else
10335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10336 for as_dir in $PATH
10338 IFS=$as_save_IFS
10339 case $as_dir in #(((
10340 '') as_dir=./ ;;
10341 */) ;;
10342 *) as_dir=$as_dir/ ;;
10343 esac
10344 for ac_exec_ext in '' $ac_executable_extensions; do
10345 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10346 ac_cv_prog_aarch64_CC="$ac_prog"
10347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10348 break 2
10350 done
10351 done
10352 IFS=$as_save_IFS
10356 aarch64_CC=$ac_cv_prog_aarch64_CC
10357 if test -n "$aarch64_CC"; then
10358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10359 printf "%s\n" "$aarch64_CC" >&6; }
10360 else
10361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10362 printf "%s\n" "no" >&6; }
10366 test -n "$aarch64_CC" && break
10367 done
10368 test -n "$aarch64_CC" || aarch64_CC="false"
10371 arm)
10372 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10374 # Extract the first word of "$ac_prog", so it can be a program name with args.
10375 set dummy $ac_prog; ac_word=$2
10376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10377 printf %s "checking for $ac_word... " >&6; }
10378 if test ${ac_cv_prog_arm_CC+y}
10379 then :
10380 printf %s "(cached) " >&6
10381 else $as_nop
10382 if test -n "$arm_CC"; then
10383 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10384 else
10385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10386 for as_dir in $PATH
10388 IFS=$as_save_IFS
10389 case $as_dir in #(((
10390 '') as_dir=./ ;;
10391 */) ;;
10392 *) as_dir=$as_dir/ ;;
10393 esac
10394 for ac_exec_ext in '' $ac_executable_extensions; do
10395 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10396 ac_cv_prog_arm_CC="$ac_prog"
10397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10398 break 2
10400 done
10401 done
10402 IFS=$as_save_IFS
10406 arm_CC=$ac_cv_prog_arm_CC
10407 if test -n "$arm_CC"; then
10408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10409 printf "%s\n" "$arm_CC" >&6; }
10410 else
10411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10412 printf "%s\n" "no" >&6; }
10416 test -n "$arm_CC" && break
10417 done
10418 test -n "$arm_CC" || arm_CC="false"
10421 i386)
10422 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 "
10423 for ac_prog in $ac_prefix_list clang
10425 # Extract the first word of "$ac_prog", so it can be a program name with args.
10426 set dummy $ac_prog; ac_word=$2
10427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10428 printf %s "checking for $ac_word... " >&6; }
10429 if test ${ac_cv_prog_i386_CC+y}
10430 then :
10431 printf %s "(cached) " >&6
10432 else $as_nop
10433 if test -n "$i386_CC"; then
10434 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10435 else
10436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10437 for as_dir in $PATH
10439 IFS=$as_save_IFS
10440 case $as_dir in #(((
10441 '') as_dir=./ ;;
10442 */) ;;
10443 *) as_dir=$as_dir/ ;;
10444 esac
10445 for ac_exec_ext in '' $ac_executable_extensions; do
10446 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10447 ac_cv_prog_i386_CC="$ac_prog"
10448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10449 break 2
10451 done
10452 done
10453 IFS=$as_save_IFS
10457 i386_CC=$ac_cv_prog_i386_CC
10458 if test -n "$i386_CC"; then
10459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10460 printf "%s\n" "$i386_CC" >&6; }
10461 else
10462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10463 printf "%s\n" "no" >&6; }
10467 test -n "$i386_CC" && break
10468 done
10469 test -n "$i386_CC" || i386_CC="false"
10472 x86_64)
10473 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10474 for ac_prog in $ac_prefix_list clang
10476 # Extract the first word of "$ac_prog", so it can be a program name with args.
10477 set dummy $ac_prog; ac_word=$2
10478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10479 printf %s "checking for $ac_word... " >&6; }
10480 if test ${ac_cv_prog_x86_64_CC+y}
10481 then :
10482 printf %s "(cached) " >&6
10483 else $as_nop
10484 if test -n "$x86_64_CC"; then
10485 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10486 else
10487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10488 for as_dir in $PATH
10490 IFS=$as_save_IFS
10491 case $as_dir in #(((
10492 '') as_dir=./ ;;
10493 */) ;;
10494 *) as_dir=$as_dir/ ;;
10495 esac
10496 for ac_exec_ext in '' $ac_executable_extensions; do
10497 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10498 ac_cv_prog_x86_64_CC="$ac_prog"
10499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10500 break 2
10502 done
10503 done
10504 IFS=$as_save_IFS
10508 x86_64_CC=$ac_cv_prog_x86_64_CC
10509 if test -n "$x86_64_CC"; then
10510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10511 printf "%s\n" "$x86_64_CC" >&6; }
10512 else
10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10514 printf "%s\n" "no" >&6; }
10518 test -n "$x86_64_CC" && break
10519 done
10520 test -n "$x86_64_CC" || x86_64_CC="false"
10523 esac
10526 saved_CC=$CC
10527 saved_CFLAGS=$CFLAGS
10528 saved_LDFLAGS=$LDFLAGS
10530 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10531 LDFLAGS=$CROSSLDFLAGS
10532 eval CC=\$${wine_arch}_CC
10533 eval ${wine_arch}_CFLAGS=\$CFLAGS
10534 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10535 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10537 target=""
10538 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10540 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10541 then :
10543 else $as_nop
10544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10545 printf %s "checking whether $CC works... " >&6; }
10546 if eval test \${$as_wine_cv_crosscc+y}
10547 then :
10548 printf %s "(cached) " >&6
10549 else $as_nop
10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10554 main (void)
10558 return 0;
10560 _ACEOF
10561 if ac_fn_c_try_compile "$LINENO"
10562 then :
10563 eval "$as_wine_cv_crosscc=yes"
10564 else $as_nop
10565 eval "$as_wine_cv_crosscc=no"
10567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10569 eval ac_res=\$$as_wine_cv_crosscc
10570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10571 printf "%s\n" "$ac_res" >&6; }
10573 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10574 then :
10575 set x $CC
10576 shift
10577 while test $# -ge 1
10579 case "$1" in
10580 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10581 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10582 esac
10583 shift
10584 done
10586 llvm_target=$target
10587 if test -z "$llvm_target"
10588 then
10589 case $wine_arch in
10590 i386) llvm_target=i686-windows ;;
10591 arm) llvm_target=armv7-windows ;;
10592 *) llvm_target=$wine_arch-windows ;;
10593 esac
10595 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10596 case $llvm_target in
10597 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10598 esac
10599 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10601 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10602 if eval test \${$as_ac_var+y}
10603 then :
10604 printf %s "(cached) " >&6
10605 else $as_nop
10606 ac_wine_try_cflags_saved=$CFLAGS
10607 ac_wine_try_cflags_saved_exeext=$ac_exeext
10608 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10609 ac_exeext=".exe"
10610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10611 /* end confdefs.h. */
10612 int __cdecl mainCRTStartup(void) { return 0; }
10613 _ACEOF
10614 if ac_fn_c_try_link "$LINENO"
10615 then :
10616 eval "$as_ac_var=yes"
10617 else $as_nop
10618 eval "$as_ac_var=no"
10620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10621 conftest$ac_exeext conftest.$ac_ext
10622 CFLAGS=$ac_wine_try_cflags_saved
10623 ac_exeext=$ac_wine_try_cflags_saved_exeext
10625 eval ac_res=\$$as_ac_var
10626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10627 printf "%s\n" "$ac_res" >&6; }
10628 if eval test \"x\$"$as_ac_var"\" = x"yes"
10629 then :
10630 target=$llvm_target
10631 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10632 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10633 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10634 fi }
10635 eval "${wine_arch}_TARGET=\$target"
10639 if test -z "$target"
10640 then
10641 if test ${enable_archs+y}
10642 then :
10643 as_fn_error $? "MinGW $wine_arch compiler not found.
10644 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10646 CC=$saved_CC
10647 CFLAGS=$saved_CFLAGS
10648 LDFLAGS=$saved_LDFLAGS
10649 continue
10652 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10655 printf %s "checking for $CC option to enable C99 features... " >&6; }
10656 if eval test \${$as_wine_cv_crosscc_c99+y}
10657 then :
10658 printf %s "(cached) " >&6
10659 else $as_nop
10660 eval "$as_wine_cv_crosscc_c99=no"
10661 for arg in '' '-std=gnu99' '-D__STDC__'
10663 test -z "$arg" || CC="$CC $arg"
10664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10665 /* end confdefs.h. */
10666 $ac_c_conftest_c99_program
10667 _ACEOF
10668 if ac_fn_c_try_compile "$LINENO"
10669 then :
10670 eval "$as_wine_cv_crosscc_c99=\$arg"
10671 else $as_nop
10672 eval "$as_wine_cv_crosscc_c99=no"
10674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10675 eval CC=\$${wine_arch}_CC
10676 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10677 then :
10679 else $as_nop
10680 break
10682 done
10685 eval res=\$$as_wine_cv_crosscc_c99
10687 case "x$res" in
10688 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10689 printf "%s\n" "none needed" >&6; } ;;
10690 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10691 printf "%s\n" "unsupported" >&6; }
10692 CC=$saved_CC
10693 CFLAGS=$saved_CFLAGS
10694 LDFLAGS=$saved_LDFLAGS
10695 if test ${enable_archs+y}
10696 then :
10697 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10698 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10700 continue
10702 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10703 printf "%s\n" "$res" >&6; }
10704 as_fn_append ${wine_arch}_CC " $res" ;;
10705 esac
10707 as_fn_append PE_ARCHS " $wine_arch"
10708 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10710 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10711 if eval test \${$as_ac_var+y}
10712 then :
10713 printf %s "(cached) " >&6
10714 else $as_nop
10715 ac_wine_try_cflags_saved=$CFLAGS
10716 ac_wine_try_cflags_saved_exeext=$ac_exeext
10717 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10718 ac_exeext=".exe"
10719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10720 /* end confdefs.h. */
10721 int __cdecl mainCRTStartup(void) { return 0; }
10722 _ACEOF
10723 if ac_fn_c_try_link "$LINENO"
10724 then :
10725 eval "$as_ac_var=yes"
10726 else $as_nop
10727 eval "$as_ac_var=no"
10729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10730 conftest$ac_exeext conftest.$ac_ext
10731 CFLAGS=$ac_wine_try_cflags_saved
10732 ac_exeext=$ac_wine_try_cflags_saved_exeext
10734 eval ac_res=\$$as_ac_var
10735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10736 printf "%s\n" "$ac_res" >&6; }
10737 if eval test \"x\$"$as_ac_var"\" = x"yes"
10738 then :
10739 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10740 fi }
10741 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10743 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10744 if eval test \${$as_ac_var+y}
10745 then :
10746 printf %s "(cached) " >&6
10747 else $as_nop
10748 ac_wine_try_cflags_saved=$CFLAGS
10749 ac_wine_try_cflags_saved_exeext=$ac_exeext
10750 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10751 ac_exeext=".exe"
10752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h. */
10754 int __cdecl mainCRTStartup(void) { return 0; }
10755 _ACEOF
10756 if ac_fn_c_try_link "$LINENO"
10757 then :
10758 eval "$as_ac_var=yes"
10759 else $as_nop
10760 eval "$as_ac_var=no"
10762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10763 conftest$ac_exeext conftest.$ac_ext
10764 CFLAGS=$ac_wine_try_cflags_saved
10765 ac_exeext=$ac_wine_try_cflags_saved_exeext
10767 eval ac_res=\$$as_ac_var
10768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10769 printf "%s\n" "$ac_res" >&6; }
10770 if eval test \"x\$"$as_ac_var"\" = x"yes"
10771 then :
10772 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10773 fi }
10774 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10776 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10777 if eval test \${$as_ac_var+y}
10778 then :
10779 printf %s "(cached) " >&6
10780 else $as_nop
10781 ac_wine_try_cflags_saved=$CFLAGS
10782 ac_wine_try_cflags_saved_exeext=$ac_exeext
10783 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10784 ac_exeext=".exe"
10785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10786 /* end confdefs.h. */
10787 int __cdecl mainCRTStartup(void) { return 0; }
10788 _ACEOF
10789 if ac_fn_c_try_link "$LINENO"
10790 then :
10791 eval "$as_ac_var=yes"
10792 else $as_nop
10793 eval "$as_ac_var=no"
10795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10796 conftest$ac_exeext conftest.$ac_ext
10797 CFLAGS=$ac_wine_try_cflags_saved
10798 ac_exeext=$ac_wine_try_cflags_saved_exeext
10800 eval ac_res=\$$as_ac_var
10801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10802 printf "%s\n" "$ac_res" >&6; }
10803 if eval test \"x\$"$as_ac_var"\" = x"yes"
10804 then :
10805 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10806 fi }
10807 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10809 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10810 if eval test \${$as_ac_var+y}
10811 then :
10812 printf %s "(cached) " >&6
10813 else $as_nop
10814 ac_wine_try_cflags_saved=$CFLAGS
10815 ac_wine_try_cflags_saved_exeext=$ac_exeext
10816 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10817 ac_exeext=".exe"
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10820 int __cdecl mainCRTStartup(void) { return 0; }
10821 _ACEOF
10822 if ac_fn_c_try_link "$LINENO"
10823 then :
10824 eval "$as_ac_var=yes"
10825 else $as_nop
10826 eval "$as_ac_var=no"
10828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10829 conftest$ac_exeext conftest.$ac_ext
10830 CFLAGS=$ac_wine_try_cflags_saved
10831 ac_exeext=$ac_wine_try_cflags_saved_exeext
10833 eval ac_res=\$$as_ac_var
10834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10835 printf "%s\n" "$ac_res" >&6; }
10836 if eval test \"x\$"$as_ac_var"\" = x"yes"
10837 then :
10838 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10839 fi }
10840 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10842 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10843 if eval test \${$as_ac_var+y}
10844 then :
10845 printf %s "(cached) " >&6
10846 else $as_nop
10847 ac_wine_try_cflags_saved=$CFLAGS
10848 ac_wine_try_cflags_saved_exeext=$ac_exeext
10849 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10850 ac_exeext=".exe"
10851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10852 /* end confdefs.h. */
10853 int __cdecl mainCRTStartup(void) { return 0; }
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"
10856 then :
10857 eval "$as_ac_var=yes"
10858 else $as_nop
10859 eval "$as_ac_var=no"
10861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10862 conftest$ac_exeext conftest.$ac_ext
10863 CFLAGS=$ac_wine_try_cflags_saved
10864 ac_exeext=$ac_wine_try_cflags_saved_exeext
10866 eval ac_res=\$$as_ac_var
10867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10868 printf "%s\n" "$ac_res" >&6; }
10869 if eval test \"x\$"$as_ac_var"\" = x"yes"
10870 then :
10871 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10872 fi }
10873 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10875 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10876 if eval test \${$as_ac_var+y}
10877 then :
10878 printf %s "(cached) " >&6
10879 else $as_nop
10880 ac_wine_try_cflags_saved=$CFLAGS
10881 ac_wine_try_cflags_saved_exeext=$ac_exeext
10882 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10883 ac_exeext=".exe"
10884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h. */
10886 int __cdecl mainCRTStartup(void) { return 0; }
10887 _ACEOF
10888 if ac_fn_c_try_link "$LINENO"
10889 then :
10890 eval "$as_ac_var=yes"
10891 else $as_nop
10892 eval "$as_ac_var=no"
10894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10895 conftest$ac_exeext conftest.$ac_ext
10896 CFLAGS=$ac_wine_try_cflags_saved
10897 ac_exeext=$ac_wine_try_cflags_saved_exeext
10899 eval ac_res=\$$as_ac_var
10900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10901 printf "%s\n" "$ac_res" >&6; }
10902 if eval test \"x\$"$as_ac_var"\" = x"yes"
10903 then :
10904 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10905 fi }
10906 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10908 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10909 if eval test \${$as_ac_var+y}
10910 then :
10911 printf %s "(cached) " >&6
10912 else $as_nop
10913 ac_wine_try_cflags_saved=$CFLAGS
10914 ac_wine_try_cflags_saved_exeext=$ac_exeext
10915 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10916 ac_exeext=".exe"
10917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10918 /* end confdefs.h. */
10919 int __cdecl mainCRTStartup(void) { return 0; }
10920 _ACEOF
10921 if ac_fn_c_try_link "$LINENO"
10922 then :
10923 eval "$as_ac_var=yes"
10924 else $as_nop
10925 eval "$as_ac_var=no"
10927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10928 conftest$ac_exeext conftest.$ac_ext
10929 CFLAGS=$ac_wine_try_cflags_saved
10930 ac_exeext=$ac_wine_try_cflags_saved_exeext
10932 eval ac_res=\$$as_ac_var
10933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10934 printf "%s\n" "$ac_res" >&6; }
10935 if eval test \"x\$"$as_ac_var"\" = x"yes"
10936 then :
10937 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10938 fi }
10939 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10941 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10942 if eval test \${$as_ac_var+y}
10943 then :
10944 printf %s "(cached) " >&6
10945 else $as_nop
10946 ac_wine_try_cflags_saved=$CFLAGS
10947 ac_wine_try_cflags_saved_exeext=$ac_exeext
10948 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10949 ac_exeext=".exe"
10950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10952 int __cdecl mainCRTStartup(void) { return 0; }
10953 _ACEOF
10954 if ac_fn_c_try_link "$LINENO"
10955 then :
10956 eval "$as_ac_var=yes"
10957 else $as_nop
10958 eval "$as_ac_var=no"
10960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10961 conftest$ac_exeext conftest.$ac_ext
10962 CFLAGS=$ac_wine_try_cflags_saved
10963 ac_exeext=$ac_wine_try_cflags_saved_exeext
10965 eval ac_res=\$$as_ac_var
10966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10967 printf "%s\n" "$ac_res" >&6; }
10968 if eval test \"x\$"$as_ac_var"\" = x"yes"
10969 then :
10970 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10971 fi }
10972 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10974 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10975 if eval test \${$as_ac_var+y}
10976 then :
10977 printf %s "(cached) " >&6
10978 else $as_nop
10979 ac_wine_try_cflags_saved=$CFLAGS
10980 ac_wine_try_cflags_saved_exeext=$ac_exeext
10981 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10982 ac_exeext=".exe"
10983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10984 /* end confdefs.h. */
10985 int __cdecl mainCRTStartup(void) { return 0; }
10986 _ACEOF
10987 if ac_fn_c_try_link "$LINENO"
10988 then :
10989 eval "$as_ac_var=yes"
10990 else $as_nop
10991 eval "$as_ac_var=no"
10993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10994 conftest$ac_exeext conftest.$ac_ext
10995 CFLAGS=$ac_wine_try_cflags_saved
10996 ac_exeext=$ac_wine_try_cflags_saved_exeext
10998 eval ac_res=\$$as_ac_var
10999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11000 printf "%s\n" "$ac_res" >&6; }
11001 if eval test \"x\$"$as_ac_var"\" = x"yes"
11002 then :
11003 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11004 fi }
11005 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11007 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11008 if eval test \${$as_ac_var+y}
11009 then :
11010 printf %s "(cached) " >&6
11011 else $as_nop
11012 ac_wine_try_cflags_saved=$CFLAGS
11013 ac_wine_try_cflags_saved_exeext=$ac_exeext
11014 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11015 ac_exeext=".exe"
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11018 int __cdecl mainCRTStartup(void) { return 0; }
11019 _ACEOF
11020 if ac_fn_c_try_link "$LINENO"
11021 then :
11022 eval "$as_ac_var=yes"
11023 else $as_nop
11024 eval "$as_ac_var=no"
11026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11027 conftest$ac_exeext conftest.$ac_ext
11028 CFLAGS=$ac_wine_try_cflags_saved
11029 ac_exeext=$ac_wine_try_cflags_saved_exeext
11031 eval ac_res=\$$as_ac_var
11032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11033 printf "%s\n" "$ac_res" >&6; }
11034 if eval test \"x\$"$as_ac_var"\" = x"yes"
11035 then :
11036 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11037 fi }
11038 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11040 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11041 if eval test \${$as_ac_var+y}
11042 then :
11043 printf %s "(cached) " >&6
11044 else $as_nop
11045 ac_wine_try_cflags_saved=$CFLAGS
11046 ac_wine_try_cflags_saved_exeext=$ac_exeext
11047 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11048 ac_exeext=".exe"
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11051 int __cdecl mainCRTStartup(void) { return 0; }
11052 _ACEOF
11053 if ac_fn_c_try_link "$LINENO"
11054 then :
11055 eval "$as_ac_var=yes"
11056 else $as_nop
11057 eval "$as_ac_var=no"
11059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11060 conftest$ac_exeext conftest.$ac_ext
11061 CFLAGS=$ac_wine_try_cflags_saved
11062 ac_exeext=$ac_wine_try_cflags_saved_exeext
11064 eval ac_res=\$$as_ac_var
11065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11066 printf "%s\n" "$ac_res" >&6; }
11067 if eval test \"x\$"$as_ac_var"\" = x"yes"
11068 then :
11069 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11070 fi }
11071 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11073 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11074 if eval test \${$as_ac_var+y}
11075 then :
11076 printf %s "(cached) " >&6
11077 else $as_nop
11078 ac_wine_try_cflags_saved=$CFLAGS
11079 ac_wine_try_cflags_saved_exeext=$ac_exeext
11080 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11081 ac_exeext=".exe"
11082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11083 /* end confdefs.h. */
11084 int __cdecl mainCRTStartup(void) { return 0; }
11085 _ACEOF
11086 if ac_fn_c_try_link "$LINENO"
11087 then :
11088 eval "$as_ac_var=yes"
11089 else $as_nop
11090 eval "$as_ac_var=no"
11092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11093 conftest$ac_exeext conftest.$ac_ext
11094 CFLAGS=$ac_wine_try_cflags_saved
11095 ac_exeext=$ac_wine_try_cflags_saved_exeext
11097 eval ac_res=\$$as_ac_var
11098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11099 printf "%s\n" "$ac_res" >&6; }
11100 if eval test \"x\$"$as_ac_var"\" = x"yes"
11101 then :
11102 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11103 fi }
11104 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11106 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11107 if eval test \${$as_ac_var+y}
11108 then :
11109 printf %s "(cached) " >&6
11110 else $as_nop
11111 ac_wine_try_cflags_saved=$CFLAGS
11112 ac_wine_try_cflags_saved_exeext=$ac_exeext
11113 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11114 ac_exeext=".exe"
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11117 int __cdecl mainCRTStartup(void) { return 0; }
11118 _ACEOF
11119 if ac_fn_c_try_link "$LINENO"
11120 then :
11121 eval "$as_ac_var=yes"
11122 else $as_nop
11123 eval "$as_ac_var=no"
11125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11126 conftest$ac_exeext conftest.$ac_ext
11127 CFLAGS=$ac_wine_try_cflags_saved
11128 ac_exeext=$ac_wine_try_cflags_saved_exeext
11130 eval ac_res=\$$as_ac_var
11131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11132 printf "%s\n" "$ac_res" >&6; }
11133 if eval test \"x\$"$as_ac_var"\" = x"yes"
11134 then :
11135 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11136 fi }
11137 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11139 printf %s "checking whether $CC supports -Wvla... " >&6; }
11140 if eval test \${$as_ac_var+y}
11141 then :
11142 printf %s "(cached) " >&6
11143 else $as_nop
11144 ac_wine_try_cflags_saved=$CFLAGS
11145 ac_wine_try_cflags_saved_exeext=$ac_exeext
11146 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11147 ac_exeext=".exe"
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11150 int __cdecl mainCRTStartup(void) { return 0; }
11151 _ACEOF
11152 if ac_fn_c_try_link "$LINENO"
11153 then :
11154 eval "$as_ac_var=yes"
11155 else $as_nop
11156 eval "$as_ac_var=no"
11158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11159 conftest$ac_exeext conftest.$ac_ext
11160 CFLAGS=$ac_wine_try_cflags_saved
11161 ac_exeext=$ac_wine_try_cflags_saved_exeext
11163 eval ac_res=\$$as_ac_var
11164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11165 printf "%s\n" "$ac_res" >&6; }
11166 if eval test \"x\$"$as_ac_var"\" = x"yes"
11167 then :
11168 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11169 fi }
11170 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11172 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11173 if eval test \${$as_ac_var+y}
11174 then :
11175 printf %s "(cached) " >&6
11176 else $as_nop
11177 ac_wine_try_cflags_saved=$CFLAGS
11178 ac_wine_try_cflags_saved_exeext=$ac_exeext
11179 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11180 ac_exeext=".exe"
11181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11182 /* end confdefs.h. */
11183 int __cdecl mainCRTStartup(void) { return 0; }
11184 _ACEOF
11185 if ac_fn_c_try_link "$LINENO"
11186 then :
11187 eval "$as_ac_var=yes"
11188 else $as_nop
11189 eval "$as_ac_var=no"
11191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11192 conftest$ac_exeext conftest.$ac_ext
11193 CFLAGS=$ac_wine_try_cflags_saved
11194 ac_exeext=$ac_wine_try_cflags_saved_exeext
11196 eval ac_res=\$$as_ac_var
11197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11198 printf "%s\n" "$ac_res" >&6; }
11199 if eval test \"x\$"$as_ac_var"\" = x"yes"
11200 then :
11201 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11202 fi }
11203 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11205 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11206 if eval test \${$as_ac_var+y}
11207 then :
11208 printf %s "(cached) " >&6
11209 else $as_nop
11210 ac_wine_try_cflags_saved=$CFLAGS
11211 ac_wine_try_cflags_saved_exeext=$ac_exeext
11212 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11213 ac_exeext=".exe"
11214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h. */
11216 int __cdecl mainCRTStartup(void) { return 0; }
11217 _ACEOF
11218 if ac_fn_c_try_link "$LINENO"
11219 then :
11220 eval "$as_ac_var=yes"
11221 else $as_nop
11222 eval "$as_ac_var=no"
11224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11225 conftest$ac_exeext conftest.$ac_ext
11226 CFLAGS=$ac_wine_try_cflags_saved
11227 ac_exeext=$ac_wine_try_cflags_saved_exeext
11229 eval ac_res=\$$as_ac_var
11230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11231 printf "%s\n" "$ac_res" >&6; }
11232 if eval test \"x\$"$as_ac_var"\" = x"yes"
11233 then :
11234 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11235 fi }
11236 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11238 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11239 if eval test \${$as_ac_var+y}
11240 then :
11241 printf %s "(cached) " >&6
11242 else $as_nop
11243 ac_wine_try_cflags_saved=$CFLAGS
11244 ac_wine_try_cflags_saved_exeext=$ac_exeext
11245 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11246 ac_exeext=".exe"
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11249 int __cdecl mainCRTStartup(void) { return 0; }
11250 _ACEOF
11251 if ac_fn_c_try_link "$LINENO"
11252 then :
11253 eval "$as_ac_var=yes"
11254 else $as_nop
11255 eval "$as_ac_var=no"
11257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11258 conftest$ac_exeext conftest.$ac_ext
11259 CFLAGS=$ac_wine_try_cflags_saved
11260 ac_exeext=$ac_wine_try_cflags_saved_exeext
11262 eval ac_res=\$$as_ac_var
11263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11264 printf "%s\n" "$ac_res" >&6; }
11265 if eval test \"x\$"$as_ac_var"\" = x"yes"
11266 then :
11267 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11268 fi }
11269 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11271 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11272 if eval test \${$as_ac_var+y}
11273 then :
11274 printf %s "(cached) " >&6
11275 else $as_nop
11276 ac_wine_try_cflags_saved=$CFLAGS
11277 ac_wine_try_cflags_saved_exeext=$ac_exeext
11278 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11279 ac_exeext=".exe"
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11282 int __cdecl mainCRTStartup(void) { return 0; }
11283 _ACEOF
11284 if ac_fn_c_try_link "$LINENO"
11285 then :
11286 eval "$as_ac_var=yes"
11287 else $as_nop
11288 eval "$as_ac_var=no"
11290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11291 conftest$ac_exeext conftest.$ac_ext
11292 CFLAGS=$ac_wine_try_cflags_saved
11293 ac_exeext=$ac_wine_try_cflags_saved_exeext
11295 eval ac_res=\$$as_ac_var
11296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11297 printf "%s\n" "$ac_res" >&6; }
11298 if eval test \"x\$"$as_ac_var"\" = x"yes"
11299 then :
11300 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11301 fi }
11303 case $wine_arch in
11304 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11306 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11307 if eval test \${$as_ac_var+y}
11308 then :
11309 printf %s "(cached) " >&6
11310 else $as_nop
11311 ac_wine_try_cflags_saved=$CFLAGS
11312 ac_wine_try_cflags_saved_exeext=$ac_exeext
11313 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11314 ac_exeext=".exe"
11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11317 int __cdecl mainCRTStartup(void) { return 0; }
11318 _ACEOF
11319 if ac_fn_c_try_link "$LINENO"
11320 then :
11321 eval "$as_ac_var=yes"
11322 else $as_nop
11323 eval "$as_ac_var=no"
11325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11326 conftest$ac_exeext conftest.$ac_ext
11327 CFLAGS=$ac_wine_try_cflags_saved
11328 ac_exeext=$ac_wine_try_cflags_saved_exeext
11330 eval ac_res=\$$as_ac_var
11331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11332 printf "%s\n" "$ac_res" >&6; }
11333 if eval test \"x\$"$as_ac_var"\" = x"yes"
11334 then :
11335 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11336 fi }
11337 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11339 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11340 if eval test \${$as_ac_var+y}
11341 then :
11342 printf %s "(cached) " >&6
11343 else $as_nop
11344 ac_wine_try_cflags_saved=$CFLAGS
11345 ac_wine_try_cflags_saved_exeext=$ac_exeext
11346 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11347 ac_exeext=".exe"
11348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11349 /* end confdefs.h. */
11350 int __cdecl mainCRTStartup(void) { return 0; }
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"
11353 then :
11354 eval "$as_ac_var=yes"
11355 else $as_nop
11356 eval "$as_ac_var=no"
11358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11359 conftest$ac_exeext conftest.$ac_ext
11360 CFLAGS=$ac_wine_try_cflags_saved
11361 ac_exeext=$ac_wine_try_cflags_saved_exeext
11363 eval ac_res=\$$as_ac_var
11364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11365 printf "%s\n" "$ac_res" >&6; }
11366 if eval test \"x\$"$as_ac_var"\" = x"yes"
11367 then :
11368 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11369 fi } ;;
11370 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11372 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11373 if eval test \${$as_ac_var+y}
11374 then :
11375 printf %s "(cached) " >&6
11376 else $as_nop
11377 ac_wine_try_cflags_saved=$CFLAGS
11378 ac_wine_try_cflags_saved_exeext=$ac_exeext
11379 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11380 ac_exeext=".exe"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11383 int __cdecl mainCRTStartup(void) { return 0; }
11384 _ACEOF
11385 if ac_fn_c_try_link "$LINENO"
11386 then :
11387 eval "$as_ac_var=yes"
11388 else $as_nop
11389 eval "$as_ac_var=no"
11391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11392 conftest$ac_exeext conftest.$ac_ext
11393 CFLAGS=$ac_wine_try_cflags_saved
11394 ac_exeext=$ac_wine_try_cflags_saved_exeext
11396 eval ac_res=\$$as_ac_var
11397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11398 printf "%s\n" "$ac_res" >&6; }
11399 if eval test \"x\$"$as_ac_var"\" = x"yes"
11400 then :
11401 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11402 fi }
11403 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11405 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11406 if eval test \${$as_ac_var+y}
11407 then :
11408 printf %s "(cached) " >&6
11409 else $as_nop
11410 ac_wine_try_cflags_saved=$CFLAGS
11411 ac_wine_try_cflags_saved_exeext=$ac_exeext
11412 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11413 ac_exeext=".exe"
11414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11415 /* end confdefs.h. */
11416 int __cdecl mainCRTStartup(void) { return 0; }
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"
11419 then :
11420 eval "$as_ac_var=yes"
11421 else $as_nop
11422 eval "$as_ac_var=no"
11424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11425 conftest$ac_exeext conftest.$ac_ext
11426 CFLAGS=$ac_wine_try_cflags_saved
11427 ac_exeext=$ac_wine_try_cflags_saved_exeext
11429 eval ac_res=\$$as_ac_var
11430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11431 printf "%s\n" "$ac_res" >&6; }
11432 if eval test \"x\$"$as_ac_var"\" = x"yes"
11433 then :
11434 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11435 fi }
11436 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11438 printf %s "checking whether $CC supports -mcx16... " >&6; }
11439 if eval test \${$as_ac_var+y}
11440 then :
11441 printf %s "(cached) " >&6
11442 else $as_nop
11443 ac_wine_try_cflags_saved=$CFLAGS
11444 ac_wine_try_cflags_saved_exeext=$ac_exeext
11445 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11446 ac_exeext=".exe"
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11449 int __cdecl mainCRTStartup(void) { return 0; }
11450 _ACEOF
11451 if ac_fn_c_try_link "$LINENO"
11452 then :
11453 eval "$as_ac_var=yes"
11454 else $as_nop
11455 eval "$as_ac_var=no"
11457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11458 conftest$ac_exeext conftest.$ac_ext
11459 CFLAGS=$ac_wine_try_cflags_saved
11460 ac_exeext=$ac_wine_try_cflags_saved_exeext
11462 eval ac_res=\$$as_ac_var
11463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11464 printf "%s\n" "$ac_res" >&6; }
11465 if eval test \"x\$"$as_ac_var"\" = x"yes"
11466 then :
11467 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11468 fi }
11469 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11471 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11472 if eval test \${$as_ac_var+y}
11473 then :
11474 printf %s "(cached) " >&6
11475 else $as_nop
11476 ac_wine_try_cflags_saved=$CFLAGS
11477 ac_wine_try_cflags_saved_exeext=$ac_exeext
11478 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11479 ac_exeext=".exe"
11480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11481 /* end confdefs.h. */
11482 int __cdecl mainCRTStartup(void) { return 0; }
11483 _ACEOF
11484 if ac_fn_c_try_link "$LINENO"
11485 then :
11486 eval "$as_ac_var=yes"
11487 else $as_nop
11488 eval "$as_ac_var=no"
11490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11491 conftest$ac_exeext conftest.$ac_ext
11492 CFLAGS=$ac_wine_try_cflags_saved
11493 ac_exeext=$ac_wine_try_cflags_saved_exeext
11495 eval ac_res=\$$as_ac_var
11496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11497 printf "%s\n" "$ac_res" >&6; }
11498 if eval test \"x\$"$as_ac_var"\" = x"yes"
11499 then :
11500 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11501 fi } ;;
11502 esac
11504 wine_crossdebug=$CROSSDEBUG
11505 if test -z "$wine_crossdebug"
11506 then
11507 for ac_flag in $CFLAGS; do
11508 case $ac_flag in
11509 -gdwarf*) wine_crossdebug=dwarf ;;
11510 -gcodeview) wine_crossdebug=pdb ;;
11511 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11512 esac
11513 done
11516 ac_debug_format_seen=""
11517 for ac_flag in $CFLAGS; do
11518 case $ac_flag in
11519 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11520 esac
11521 done
11522 if test "x$ac_debug_format_seen" = x
11523 then
11524 case $wine_crossdebug in
11525 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11527 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11528 if eval test \${$as_ac_var+y}
11529 then :
11530 printf %s "(cached) " >&6
11531 else $as_nop
11532 ac_wine_try_cflags_saved=$CFLAGS
11533 ac_wine_try_cflags_saved_exeext=$ac_exeext
11534 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11535 ac_exeext=".exe"
11536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11537 /* end confdefs.h. */
11538 int __cdecl mainCRTStartup(void) { return 0; }
11539 _ACEOF
11540 if ac_fn_c_try_link "$LINENO"
11541 then :
11542 eval "$as_ac_var=yes"
11543 else $as_nop
11544 eval "$as_ac_var=no"
11546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11547 conftest$ac_exeext conftest.$ac_ext
11548 CFLAGS=$ac_wine_try_cflags_saved
11549 ac_exeext=$ac_wine_try_cflags_saved_exeext
11551 eval ac_res=\$$as_ac_var
11552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11553 printf "%s\n" "$ac_res" >&6; }
11554 if eval test \"x\$"$as_ac_var"\" = x"yes"
11555 then :
11556 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11557 fi } ;;
11558 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11560 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11561 if eval test \${$as_ac_var+y}
11562 then :
11563 printf %s "(cached) " >&6
11564 else $as_nop
11565 ac_wine_try_cflags_saved=$CFLAGS
11566 ac_wine_try_cflags_saved_exeext=$ac_exeext
11567 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11568 ac_exeext=".exe"
11569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11571 int __cdecl mainCRTStartup(void) { return 0; }
11572 _ACEOF
11573 if ac_fn_c_try_link "$LINENO"
11574 then :
11575 eval "$as_ac_var=yes"
11576 else $as_nop
11577 eval "$as_ac_var=no"
11579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11580 conftest$ac_exeext conftest.$ac_ext
11581 CFLAGS=$ac_wine_try_cflags_saved
11582 ac_exeext=$ac_wine_try_cflags_saved_exeext
11584 eval ac_res=\$$as_ac_var
11585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11586 printf "%s\n" "$ac_res" >&6; }
11587 if eval test \"x\$"$as_ac_var"\" = x"yes"
11588 then :
11589 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11590 fi } ;;
11591 esac
11593 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11595 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11597 printf %s "checking whether $CC supports -Werror... " >&6; }
11598 if eval test \${$as_ac_var+y}
11599 then :
11600 printf %s "(cached) " >&6
11601 else $as_nop
11602 ac_wine_try_cflags_saved=$CFLAGS
11603 ac_wine_try_cflags_saved_exeext=$ac_exeext
11604 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11605 ac_exeext=".exe"
11606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11607 /* end confdefs.h. */
11608 int __cdecl mainCRTStartup(void) { return 0; }
11609 _ACEOF
11610 if ac_fn_c_try_link "$LINENO"
11611 then :
11612 eval "$as_ac_var=yes"
11613 else $as_nop
11614 eval "$as_ac_var=no"
11616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11617 conftest$ac_exeext conftest.$ac_ext
11618 CFLAGS=$ac_wine_try_cflags_saved
11619 ac_exeext=$ac_wine_try_cflags_saved_exeext
11621 eval ac_res=\$$as_ac_var
11622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11623 printf "%s\n" "$ac_res" >&6; }
11624 if eval test \"x\$"$as_ac_var"\" = x"yes"
11625 then :
11626 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11627 fi }
11628 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11630 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11631 if eval test \${$as_ac_var+y}
11632 then :
11633 printf %s "(cached) " >&6
11634 else $as_nop
11635 ac_wine_try_cflags_saved=$CFLAGS
11636 ac_wine_try_cflags_saved_exeext=$ac_exeext
11637 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11638 ac_exeext=".exe"
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11641 int __cdecl mainCRTStartup(void) { return 0; }
11642 _ACEOF
11643 if ac_fn_c_try_link "$LINENO"
11644 then :
11645 eval "$as_ac_var=yes"
11646 else $as_nop
11647 eval "$as_ac_var=no"
11649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11650 conftest$ac_exeext conftest.$ac_ext
11651 CFLAGS=$ac_wine_try_cflags_saved
11652 ac_exeext=$ac_wine_try_cflags_saved_exeext
11654 eval ac_res=\$$as_ac_var
11655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11656 printf "%s\n" "$ac_res" >&6; }
11657 if eval test \"x\$"$as_ac_var"\" = x"yes"
11658 then :
11659 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11660 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11661 fi }
11663 CC=$saved_CC
11664 CFLAGS=$saved_CFLAGS
11665 LDFLAGS=$saved_LDFLAGS
11666 done
11668 if test $HOST_ARCH = aarch64
11669 then
11670 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
11671 DLLEXT=""
11675 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11676 then
11677 case "$host_cpu" in
11678 i[3456789]86*)
11679 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11681 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11682 esac
11683 for ac_prog in $ac_prefix_list
11685 # Extract the first word of "$ac_prog", so it can be a program name with args.
11686 set dummy $ac_prog; ac_word=$2
11687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11688 printf %s "checking for $ac_word... " >&6; }
11689 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11690 then :
11691 printf %s "(cached) " >&6
11692 else $as_nop
11693 if test -n "$MINGW_PKG_CONFIG"; then
11694 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11695 else
11696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11697 for as_dir in $PATH
11699 IFS=$as_save_IFS
11700 case $as_dir in #(((
11701 '') as_dir=./ ;;
11702 */) ;;
11703 *) as_dir=$as_dir/ ;;
11704 esac
11705 for ac_exec_ext in '' $ac_executable_extensions; do
11706 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11707 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11709 break 2
11711 done
11712 done
11713 IFS=$as_save_IFS
11717 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11718 if test -n "$MINGW_PKG_CONFIG"; then
11719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11720 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11721 else
11722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11723 printf "%s\n" "no" >&6; }
11727 test -n "$MINGW_PKG_CONFIG" && break
11728 done
11729 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11731 if ${FAUDIO_PE_CFLAGS:+false} :
11732 then :
11733 if test ${MINGW_PKG_CONFIG+y}
11734 then :
11735 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11738 if ${FAUDIO_PE_LIBS:+false} :
11739 then :
11740 if test ${MINGW_PKG_CONFIG+y}
11741 then :
11742 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11745 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11746 ac_save_CPPFLAGS=$CPPFLAGS
11747 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11749 printf %s "checking for MinGW FAudio.h... " >&6; }
11750 if test ${ac_cv_mingw_header_FAudio_h+y}
11751 then :
11752 printf %s "(cached) " >&6
11753 else $as_nop
11754 ac_wine_check_headers_saved_cc=$CC
11755 ac_wine_check_headers_saved_exeext=$ac_exeext
11756 eval CC=\$${wine_arch}_CC
11757 ac_exeext=".exe"
11758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11759 /* end confdefs.h. */
11761 #include <FAudio.h>
11763 main (void)
11767 return 0;
11769 _ACEOF
11770 if ac_fn_c_try_compile "$LINENO"
11771 then :
11772 ac_cv_mingw_header_FAudio_h=yes
11773 else $as_nop
11774 ac_cv_mingw_header_FAudio_h=no
11776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11777 CC=$ac_wine_check_headers_saved_cc
11778 ac_exeext=$ac_wine_check_headers_saved_exeext
11780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11781 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11782 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11783 then :
11784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11785 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11786 if test ${ac_cv_mingw_lib_FAudio+y}
11787 then :
11788 printf %s "(cached) " >&6
11789 else $as_nop
11790 ac_wine_check_headers_saved_cc=$CC
11791 ac_wine_check_headers_saved_exeext=$ac_exeext
11792 ac_wine_check_headers_saved_libs=$LIBS
11793 eval CC=\$${wine_arch}_CC
11794 ac_exeext=".exe"
11795 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11797 /* end confdefs.h. */
11799 /* Override any GCC internal prototype to avoid an error.
11800 Use char because int might match the return type of a GCC
11801 builtin and then its argument prototype would still apply. */
11802 char FAudio_CommitOperationSet ();
11804 main (void)
11806 return FAudio_CommitOperationSet ();
11808 return 0;
11810 _ACEOF
11811 if ac_fn_c_try_link "$LINENO"
11812 then :
11813 ac_cv_mingw_lib_FAudio=yes
11814 else $as_nop
11815 ac_cv_mingw_lib_FAudio=no
11817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11818 conftest$ac_exeext conftest.$ac_ext
11819 CC=$ac_wine_check_headers_saved_cc
11820 ac_exeext=$ac_wine_check_headers_saved_exeext
11821 LIBS=$ac_wine_check_headers_saved_libs
11823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11824 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11825 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11826 then :
11828 else $as_nop
11829 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11831 else $as_nop
11832 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11834 CPPFLAGS=$ac_save_CPPFLAGS
11836 if test "x$FAUDIO_PE_LIBS" = "x"
11837 then
11838 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11841 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
11842 then :
11843 if test ${MINGW_PKG_CONFIG+y}
11844 then :
11845 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
11848 if ${FLUIDSYNTH_PE_LIBS:+false} :
11849 then :
11850 if test ${MINGW_PKG_CONFIG+y}
11851 then :
11852 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
11855 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
11856 ac_save_CPPFLAGS=$CPPFLAGS
11857 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
11858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
11859 printf %s "checking for MinGW fluidsynth.h... " >&6; }
11860 if test ${ac_cv_mingw_header_fluidsynth_h+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 eval CC=\$${wine_arch}_CC
11867 ac_exeext=".exe"
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11871 #include <fluidsynth.h>
11873 main (void)
11877 return 0;
11879 _ACEOF
11880 if ac_fn_c_try_compile "$LINENO"
11881 then :
11882 ac_cv_mingw_header_fluidsynth_h=yes
11883 else $as_nop
11884 ac_cv_mingw_header_fluidsynth_h=no
11886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11887 CC=$ac_wine_check_headers_saved_cc
11888 ac_exeext=$ac_wine_check_headers_saved_exeext
11890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
11891 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
11892 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
11893 then :
11894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
11895 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
11896 if test ${ac_cv_mingw_lib_fluidsynth+y}
11897 then :
11898 printf %s "(cached) " >&6
11899 else $as_nop
11900 ac_wine_check_headers_saved_cc=$CC
11901 ac_wine_check_headers_saved_exeext=$ac_exeext
11902 ac_wine_check_headers_saved_libs=$LIBS
11903 eval CC=\$${wine_arch}_CC
11904 ac_exeext=".exe"
11905 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
11906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11907 /* end confdefs.h. */
11909 /* Override any GCC internal prototype to avoid an error.
11910 Use char because int might match the return type of a GCC
11911 builtin and then its argument prototype would still apply. */
11912 char new_fluid_synth ();
11914 main (void)
11916 return new_fluid_synth ();
11918 return 0;
11920 _ACEOF
11921 if ac_fn_c_try_link "$LINENO"
11922 then :
11923 ac_cv_mingw_lib_fluidsynth=yes
11924 else $as_nop
11925 ac_cv_mingw_lib_fluidsynth=no
11927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11928 conftest$ac_exeext conftest.$ac_ext
11929 CC=$ac_wine_check_headers_saved_cc
11930 ac_exeext=$ac_wine_check_headers_saved_exeext
11931 LIBS=$ac_wine_check_headers_saved_libs
11933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
11934 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
11935 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
11936 then :
11938 else $as_nop
11939 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
11941 else $as_nop
11942 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
11944 CPPFLAGS=$ac_save_CPPFLAGS
11946 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
11947 then
11948 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
11951 if ${JPEG_PE_CFLAGS:+false} :
11952 then :
11953 if test ${MINGW_PKG_CONFIG+y}
11954 then :
11955 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11958 if ${JPEG_PE_LIBS:+false} :
11959 then :
11960 if test ${MINGW_PKG_CONFIG+y}
11961 then :
11962 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11966 ac_save_CPPFLAGS=$CPPFLAGS
11967 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11969 printf %s "checking for MinGW jpeglib.h... " >&6; }
11970 if test ${ac_cv_mingw_header_jpeglib_h+y}
11971 then :
11972 printf %s "(cached) " >&6
11973 else $as_nop
11974 ac_wine_check_headers_saved_cc=$CC
11975 ac_wine_check_headers_saved_exeext=$ac_exeext
11976 eval CC=\$${wine_arch}_CC
11977 ac_exeext=".exe"
11978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11979 /* end confdefs.h. */
11980 #include <stddef.h>
11981 #include <stdio.h>
11982 #include <jpeglib.h>
11984 main (void)
11988 return 0;
11990 _ACEOF
11991 if ac_fn_c_try_compile "$LINENO"
11992 then :
11993 ac_cv_mingw_header_jpeglib_h=yes
11994 else $as_nop
11995 ac_cv_mingw_header_jpeglib_h=no
11997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11998 CC=$ac_wine_check_headers_saved_cc
11999 ac_exeext=$ac_wine_check_headers_saved_exeext
12001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12002 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12003 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12004 then :
12005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12006 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12007 if test ${ac_cv_mingw_lib_jpeg+y}
12008 then :
12009 printf %s "(cached) " >&6
12010 else $as_nop
12011 ac_wine_check_headers_saved_cc=$CC
12012 ac_wine_check_headers_saved_exeext=$ac_exeext
12013 ac_wine_check_headers_saved_libs=$LIBS
12014 eval CC=\$${wine_arch}_CC
12015 ac_exeext=".exe"
12016 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12018 /* end confdefs.h. */
12020 /* Override any GCC internal prototype to avoid an error.
12021 Use char because int might match the return type of a GCC
12022 builtin and then its argument prototype would still apply. */
12023 char jpeg_start_decompress ();
12025 main (void)
12027 return jpeg_start_decompress ();
12029 return 0;
12031 _ACEOF
12032 if ac_fn_c_try_link "$LINENO"
12033 then :
12034 ac_cv_mingw_lib_jpeg=yes
12035 else $as_nop
12036 ac_cv_mingw_lib_jpeg=no
12038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12039 conftest$ac_exeext conftest.$ac_ext
12040 CC=$ac_wine_check_headers_saved_cc
12041 ac_exeext=$ac_wine_check_headers_saved_exeext
12042 LIBS=$ac_wine_check_headers_saved_libs
12044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12045 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12046 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12047 then :
12049 else $as_nop
12050 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12052 else $as_nop
12053 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12055 CPPFLAGS=$ac_save_CPPFLAGS
12057 if test "x$JPEG_PE_LIBS" = "x"
12058 then
12059 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12062 if ${LCMS2_PE_CFLAGS:+false} :
12063 then :
12064 if test ${MINGW_PKG_CONFIG+y}
12065 then :
12066 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12069 if ${LCMS2_PE_LIBS:+false} :
12070 then :
12071 if test ${MINGW_PKG_CONFIG+y}
12072 then :
12073 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12076 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12077 ac_save_CPPFLAGS=$CPPFLAGS
12078 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12080 printf %s "checking for MinGW lcms2.h... " >&6; }
12081 if test ${ac_cv_mingw_header_lcms2_h+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 eval CC=\$${wine_arch}_CC
12088 ac_exeext=".exe"
12089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12090 /* end confdefs.h. */
12092 #include <lcms2.h>
12094 main (void)
12098 return 0;
12100 _ACEOF
12101 if ac_fn_c_try_compile "$LINENO"
12102 then :
12103 ac_cv_mingw_header_lcms2_h=yes
12104 else $as_nop
12105 ac_cv_mingw_header_lcms2_h=no
12107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12108 CC=$ac_wine_check_headers_saved_cc
12109 ac_exeext=$ac_wine_check_headers_saved_exeext
12111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12112 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12113 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12114 then :
12115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12116 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12117 if test ${ac_cv_mingw_lib_lcms2+y}
12118 then :
12119 printf %s "(cached) " >&6
12120 else $as_nop
12121 ac_wine_check_headers_saved_cc=$CC
12122 ac_wine_check_headers_saved_exeext=$ac_exeext
12123 ac_wine_check_headers_saved_libs=$LIBS
12124 eval CC=\$${wine_arch}_CC
12125 ac_exeext=".exe"
12126 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12128 /* end confdefs.h. */
12130 /* Override any GCC internal prototype to avoid an error.
12131 Use char because int might match the return type of a GCC
12132 builtin and then its argument prototype would still apply. */
12133 char cmsOpenProfileFromFile ();
12135 main (void)
12137 return cmsOpenProfileFromFile ();
12139 return 0;
12141 _ACEOF
12142 if ac_fn_c_try_link "$LINENO"
12143 then :
12144 ac_cv_mingw_lib_lcms2=yes
12145 else $as_nop
12146 ac_cv_mingw_lib_lcms2=no
12148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12149 conftest$ac_exeext conftest.$ac_ext
12150 CC=$ac_wine_check_headers_saved_cc
12151 ac_exeext=$ac_wine_check_headers_saved_exeext
12152 LIBS=$ac_wine_check_headers_saved_libs
12154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12155 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12156 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12157 then :
12159 else $as_nop
12160 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12162 else $as_nop
12163 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12165 CPPFLAGS=$ac_save_CPPFLAGS
12167 if test "x$LCMS2_PE_LIBS" = "x"
12168 then
12169 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12172 if ${MPG123_PE_CFLAGS:+false} :
12173 then :
12174 if test ${MINGW_PKG_CONFIG+y}
12175 then :
12176 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12179 if ${MPG123_PE_LIBS:+false} :
12180 then :
12181 if test ${MINGW_PKG_CONFIG+y}
12182 then :
12183 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12186 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12187 ac_save_CPPFLAGS=$CPPFLAGS
12188 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12190 printf %s "checking for MinGW mpg123.h... " >&6; }
12191 if test ${ac_cv_mingw_header_mpg123_h+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 eval CC=\$${wine_arch}_CC
12198 ac_exeext=".exe"
12199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h. */
12202 #include <mpg123.h>
12204 main (void)
12208 return 0;
12210 _ACEOF
12211 if ac_fn_c_try_compile "$LINENO"
12212 then :
12213 ac_cv_mingw_header_mpg123_h=yes
12214 else $as_nop
12215 ac_cv_mingw_header_mpg123_h=no
12217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12218 CC=$ac_wine_check_headers_saved_cc
12219 ac_exeext=$ac_wine_check_headers_saved_exeext
12221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12222 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12223 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12224 then :
12225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12226 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12227 if test ${ac_cv_mingw_lib_mpg123+y}
12228 then :
12229 printf %s "(cached) " >&6
12230 else $as_nop
12231 ac_wine_check_headers_saved_cc=$CC
12232 ac_wine_check_headers_saved_exeext=$ac_exeext
12233 ac_wine_check_headers_saved_libs=$LIBS
12234 eval CC=\$${wine_arch}_CC
12235 ac_exeext=".exe"
12236 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12238 /* end confdefs.h. */
12240 /* Override any GCC internal prototype to avoid an error.
12241 Use char because int might match the return type of a GCC
12242 builtin and then its argument prototype would still apply. */
12243 char mpg123_feed ();
12245 main (void)
12247 return mpg123_feed ();
12249 return 0;
12251 _ACEOF
12252 if ac_fn_c_try_link "$LINENO"
12253 then :
12254 ac_cv_mingw_lib_mpg123=yes
12255 else $as_nop
12256 ac_cv_mingw_lib_mpg123=no
12258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12259 conftest$ac_exeext conftest.$ac_ext
12260 CC=$ac_wine_check_headers_saved_cc
12261 ac_exeext=$ac_wine_check_headers_saved_exeext
12262 LIBS=$ac_wine_check_headers_saved_libs
12264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12265 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12266 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12267 then :
12269 else $as_nop
12270 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12272 else $as_nop
12273 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12275 CPPFLAGS=$ac_save_CPPFLAGS
12277 if test "x$MPG123_PE_LIBS" = "x"
12278 then
12279 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12282 if ${PNG_PE_CFLAGS:+false} :
12283 then :
12284 if test ${MINGW_PKG_CONFIG+y}
12285 then :
12286 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12289 if ${PNG_PE_LIBS:+false} :
12290 then :
12291 if test ${MINGW_PKG_CONFIG+y}
12292 then :
12293 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12297 ac_save_CPPFLAGS=$CPPFLAGS
12298 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12300 printf %s "checking for MinGW png.h... " >&6; }
12301 if test ${ac_cv_mingw_header_png_h+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 eval CC=\$${wine_arch}_CC
12308 ac_exeext=".exe"
12309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h. */
12312 #include <png.h>
12314 main (void)
12318 return 0;
12320 _ACEOF
12321 if ac_fn_c_try_compile "$LINENO"
12322 then :
12323 ac_cv_mingw_header_png_h=yes
12324 else $as_nop
12325 ac_cv_mingw_header_png_h=no
12327 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12328 CC=$ac_wine_check_headers_saved_cc
12329 ac_exeext=$ac_wine_check_headers_saved_exeext
12331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12332 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12333 if test "x$ac_cv_mingw_header_png_h" = xyes
12334 then :
12335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12336 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12337 if test ${ac_cv_mingw_lib_png+y}
12338 then :
12339 printf %s "(cached) " >&6
12340 else $as_nop
12341 ac_wine_check_headers_saved_cc=$CC
12342 ac_wine_check_headers_saved_exeext=$ac_exeext
12343 ac_wine_check_headers_saved_libs=$LIBS
12344 eval CC=\$${wine_arch}_CC
12345 ac_exeext=".exe"
12346 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h. */
12350 /* Override any GCC internal prototype to avoid an error.
12351 Use char because int might match the return type of a GCC
12352 builtin and then its argument prototype would still apply. */
12353 char png_create_read_struct ();
12355 main (void)
12357 return png_create_read_struct ();
12359 return 0;
12361 _ACEOF
12362 if ac_fn_c_try_link "$LINENO"
12363 then :
12364 ac_cv_mingw_lib_png=yes
12365 else $as_nop
12366 ac_cv_mingw_lib_png=no
12368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12369 conftest$ac_exeext conftest.$ac_ext
12370 CC=$ac_wine_check_headers_saved_cc
12371 ac_exeext=$ac_wine_check_headers_saved_exeext
12372 LIBS=$ac_wine_check_headers_saved_libs
12374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12375 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12376 if test "x$ac_cv_mingw_lib_png" = xyes
12377 then :
12379 else $as_nop
12380 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12382 else $as_nop
12383 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12385 CPPFLAGS=$ac_save_CPPFLAGS
12387 if test "x$PNG_PE_LIBS" = "x"
12388 then
12389 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12392 if ${TIFF_PE_CFLAGS:+false} :
12393 then :
12394 if test ${MINGW_PKG_CONFIG+y}
12395 then :
12396 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12399 if ${TIFF_PE_LIBS:+false} :
12400 then :
12401 if test ${MINGW_PKG_CONFIG+y}
12402 then :
12403 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12407 ac_save_CPPFLAGS=$CPPFLAGS
12408 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12410 printf %s "checking for MinGW tiffio.h... " >&6; }
12411 if test ${ac_cv_mingw_header_tiffio_h+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 eval CC=\$${wine_arch}_CC
12418 ac_exeext=".exe"
12419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12422 #include <tiffio.h>
12424 main (void)
12428 return 0;
12430 _ACEOF
12431 if ac_fn_c_try_compile "$LINENO"
12432 then :
12433 ac_cv_mingw_header_tiffio_h=yes
12434 else $as_nop
12435 ac_cv_mingw_header_tiffio_h=no
12437 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12438 CC=$ac_wine_check_headers_saved_cc
12439 ac_exeext=$ac_wine_check_headers_saved_exeext
12441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12442 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12443 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12444 then :
12445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12446 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12447 if test ${ac_cv_mingw_lib_tiff+y}
12448 then :
12449 printf %s "(cached) " >&6
12450 else $as_nop
12451 ac_wine_check_headers_saved_cc=$CC
12452 ac_wine_check_headers_saved_exeext=$ac_exeext
12453 ac_wine_check_headers_saved_libs=$LIBS
12454 eval CC=\$${wine_arch}_CC
12455 ac_exeext=".exe"
12456 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12460 /* Override any GCC internal prototype to avoid an error.
12461 Use char because int might match the return type of a GCC
12462 builtin and then its argument prototype would still apply. */
12463 char TIFFClientOpen ();
12465 main (void)
12467 return TIFFClientOpen ();
12469 return 0;
12471 _ACEOF
12472 if ac_fn_c_try_link "$LINENO"
12473 then :
12474 ac_cv_mingw_lib_tiff=yes
12475 else $as_nop
12476 ac_cv_mingw_lib_tiff=no
12478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12479 conftest$ac_exeext conftest.$ac_ext
12480 CC=$ac_wine_check_headers_saved_cc
12481 ac_exeext=$ac_wine_check_headers_saved_exeext
12482 LIBS=$ac_wine_check_headers_saved_libs
12484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12485 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12486 if test "x$ac_cv_mingw_lib_tiff" = xyes
12487 then :
12489 else $as_nop
12490 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12492 else $as_nop
12493 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12495 CPPFLAGS=$ac_save_CPPFLAGS
12497 if test "x$TIFF_PE_LIBS" = "x"
12498 then
12499 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12502 if ${XML2_PE_CFLAGS:+false} :
12503 then :
12504 if test ${MINGW_PKG_CONFIG+y}
12505 then :
12506 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12509 if ${XML2_PE_LIBS:+false} :
12510 then :
12511 if test ${MINGW_PKG_CONFIG+y}
12512 then :
12513 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12516 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12517 ac_save_CPPFLAGS=$CPPFLAGS
12518 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12520 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12521 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12522 then :
12523 printf %s "(cached) " >&6
12524 else $as_nop
12525 ac_wine_check_headers_saved_cc=$CC
12526 ac_wine_check_headers_saved_exeext=$ac_exeext
12527 eval CC=\$${wine_arch}_CC
12528 ac_exeext=".exe"
12529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12530 /* end confdefs.h. */
12532 #include <libxml/parser.h>
12534 main (void)
12538 return 0;
12540 _ACEOF
12541 if ac_fn_c_try_compile "$LINENO"
12542 then :
12543 ac_cv_mingw_header_libxml_parser_h=yes
12544 else $as_nop
12545 ac_cv_mingw_header_libxml_parser_h=no
12547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12548 CC=$ac_wine_check_headers_saved_cc
12549 ac_exeext=$ac_wine_check_headers_saved_exeext
12551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12552 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12553 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12554 then :
12557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12558 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12559 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12560 then :
12561 printf %s "(cached) " >&6
12562 else $as_nop
12563 ac_wine_check_headers_saved_cc=$CC
12564 ac_wine_check_headers_saved_exeext=$ac_exeext
12565 eval CC=\$${wine_arch}_CC
12566 ac_exeext=".exe"
12567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12570 #include <libxml/xmlsave.h>
12572 main (void)
12576 return 0;
12578 _ACEOF
12579 if ac_fn_c_try_compile "$LINENO"
12580 then :
12581 ac_cv_mingw_header_libxml_xmlsave_h=yes
12582 else $as_nop
12583 ac_cv_mingw_header_libxml_xmlsave_h=no
12585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12586 CC=$ac_wine_check_headers_saved_cc
12587 ac_exeext=$ac_wine_check_headers_saved_exeext
12589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12590 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12591 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12592 then :
12595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12596 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12597 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12598 then :
12599 printf %s "(cached) " >&6
12600 else $as_nop
12601 ac_wine_check_headers_saved_cc=$CC
12602 ac_wine_check_headers_saved_exeext=$ac_exeext
12603 eval CC=\$${wine_arch}_CC
12604 ac_exeext=".exe"
12605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12606 /* end confdefs.h. */
12608 #include <libxml/SAX2.h>
12610 main (void)
12614 return 0;
12616 _ACEOF
12617 if ac_fn_c_try_compile "$LINENO"
12618 then :
12619 ac_cv_mingw_header_libxml_SAX2_h=yes
12620 else $as_nop
12621 ac_cv_mingw_header_libxml_SAX2_h=no
12623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12624 CC=$ac_wine_check_headers_saved_cc
12625 ac_exeext=$ac_wine_check_headers_saved_exeext
12627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12628 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12629 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12630 then :
12633 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"
12634 then
12635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12636 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12637 if test ${ac_cv_mingw_lib_xml2+y}
12638 then :
12639 printf %s "(cached) " >&6
12640 else $as_nop
12641 ac_wine_check_headers_saved_cc=$CC
12642 ac_wine_check_headers_saved_exeext=$ac_exeext
12643 ac_wine_check_headers_saved_libs=$LIBS
12644 eval CC=\$${wine_arch}_CC
12645 ac_exeext=".exe"
12646 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12648 /* end confdefs.h. */
12650 /* Override any GCC internal prototype to avoid an error.
12651 Use char because int might match the return type of a GCC
12652 builtin and then its argument prototype would still apply. */
12653 char xmlFirstElementChild ();
12655 main (void)
12657 return xmlFirstElementChild ();
12659 return 0;
12661 _ACEOF
12662 if ac_fn_c_try_link "$LINENO"
12663 then :
12664 ac_cv_mingw_lib_xml2=yes
12665 else $as_nop
12666 ac_cv_mingw_lib_xml2=no
12668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12669 conftest$ac_exeext conftest.$ac_ext
12670 CC=$ac_wine_check_headers_saved_cc
12671 ac_exeext=$ac_wine_check_headers_saved_exeext
12672 LIBS=$ac_wine_check_headers_saved_libs
12674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12675 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12676 if test "x$ac_cv_mingw_lib_xml2" = xyes
12677 then :
12679 else $as_nop
12680 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12682 else
12683 XML2_PE_CFLAGS=""
12684 XML2_PE_LIBS=""
12686 CPPFLAGS=$ac_save_CPPFLAGS
12688 if test "x$XML2_PE_LIBS" = "x"
12689 then
12690 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12693 if ${XSLT_PE_CFLAGS:+false} :
12694 then :
12695 if test ${MINGW_PKG_CONFIG+y}
12696 then :
12697 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12700 if ${XSLT_PE_LIBS:+false} :
12701 then :
12702 if test ${MINGW_PKG_CONFIG+y}
12703 then :
12704 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12707 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12708 ac_save_CPPFLAGS=$CPPFLAGS
12709 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12711 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12712 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12713 then :
12714 printf %s "(cached) " >&6
12715 else $as_nop
12716 ac_wine_check_headers_saved_cc=$CC
12717 ac_wine_check_headers_saved_exeext=$ac_exeext
12718 eval CC=\$${wine_arch}_CC
12719 ac_exeext=".exe"
12720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12723 #include <libxslt/pattern.h>
12725 main (void)
12729 return 0;
12731 _ACEOF
12732 if ac_fn_c_try_compile "$LINENO"
12733 then :
12734 ac_cv_mingw_header_libxslt_pattern_h=yes
12735 else $as_nop
12736 ac_cv_mingw_header_libxslt_pattern_h=no
12738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12739 CC=$ac_wine_check_headers_saved_cc
12740 ac_exeext=$ac_wine_check_headers_saved_exeext
12742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12743 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12744 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12745 then :
12748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12749 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12750 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12751 then :
12752 printf %s "(cached) " >&6
12753 else $as_nop
12754 ac_wine_check_headers_saved_cc=$CC
12755 ac_wine_check_headers_saved_exeext=$ac_exeext
12756 eval CC=\$${wine_arch}_CC
12757 ac_exeext=".exe"
12758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h. */
12761 #include <libxslt/transform.h>
12763 main (void)
12767 return 0;
12769 _ACEOF
12770 if ac_fn_c_try_compile "$LINENO"
12771 then :
12772 ac_cv_mingw_header_libxslt_transform_h=yes
12773 else $as_nop
12774 ac_cv_mingw_header_libxslt_transform_h=no
12776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12777 CC=$ac_wine_check_headers_saved_cc
12778 ac_exeext=$ac_wine_check_headers_saved_exeext
12780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12781 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12782 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12783 then :
12786 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12787 then
12788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12789 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12790 if test ${ac_cv_mingw_lib_xslt+y}
12791 then :
12792 printf %s "(cached) " >&6
12793 else $as_nop
12794 ac_wine_check_headers_saved_cc=$CC
12795 ac_wine_check_headers_saved_exeext=$ac_exeext
12796 ac_wine_check_headers_saved_libs=$LIBS
12797 eval CC=\$${wine_arch}_CC
12798 ac_exeext=".exe"
12799 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12801 /* end confdefs.h. */
12803 /* Override any GCC internal prototype to avoid an error.
12804 Use char because int might match the return type of a GCC
12805 builtin and then its argument prototype would still apply. */
12806 char xsltCompilePattern ();
12808 main (void)
12810 return xsltCompilePattern ();
12812 return 0;
12814 _ACEOF
12815 if ac_fn_c_try_link "$LINENO"
12816 then :
12817 ac_cv_mingw_lib_xslt=yes
12818 else $as_nop
12819 ac_cv_mingw_lib_xslt=no
12821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12822 conftest$ac_exeext conftest.$ac_ext
12823 CC=$ac_wine_check_headers_saved_cc
12824 ac_exeext=$ac_wine_check_headers_saved_exeext
12825 LIBS=$ac_wine_check_headers_saved_libs
12827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12828 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12829 if test "x$ac_cv_mingw_lib_xslt" = xyes
12830 then :
12832 else $as_nop
12833 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12835 else
12836 XSLT_PE_CFLAGS=""
12837 XSLT_PE_LIBS=""
12839 CPPFLAGS=$ac_save_CPPFLAGS
12841 if test "x$XSLT_PE_LIBS" = "x"
12842 then
12843 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12846 if ${VKD3D_PE_CFLAGS:+false} :
12847 then :
12848 if test ${MINGW_PKG_CONFIG+y}
12849 then :
12850 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12853 if ${VKD3D_PE_LIBS:+false} :
12854 then :
12855 if test ${MINGW_PKG_CONFIG+y}
12856 then :
12857 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12860 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12861 ac_save_CPPFLAGS=$CPPFLAGS
12862 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12864 printf %s "checking for MinGW vkd3d.h... " >&6; }
12865 if test ${ac_cv_mingw_header_vkd3d_h+y}
12866 then :
12867 printf %s "(cached) " >&6
12868 else $as_nop
12869 ac_wine_check_headers_saved_cc=$CC
12870 ac_wine_check_headers_saved_exeext=$ac_exeext
12871 eval CC=\$${wine_arch}_CC
12872 ac_exeext=".exe"
12873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h. */
12876 #include <vkd3d.h>
12878 main (void)
12882 return 0;
12884 _ACEOF
12885 if ac_fn_c_try_compile "$LINENO"
12886 then :
12887 ac_cv_mingw_header_vkd3d_h=yes
12888 else $as_nop
12889 ac_cv_mingw_header_vkd3d_h=no
12891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12892 CC=$ac_wine_check_headers_saved_cc
12893 ac_exeext=$ac_wine_check_headers_saved_exeext
12895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12896 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12897 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12898 then :
12901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12902 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12903 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12904 then :
12905 printf %s "(cached) " >&6
12906 else $as_nop
12907 ac_wine_check_headers_saved_cc=$CC
12908 ac_wine_check_headers_saved_exeext=$ac_exeext
12909 eval CC=\$${wine_arch}_CC
12910 ac_exeext=".exe"
12911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12914 #include <vkd3d_shader.h>
12916 main (void)
12920 return 0;
12922 _ACEOF
12923 if ac_fn_c_try_compile "$LINENO"
12924 then :
12925 ac_cv_mingw_header_vkd3d_shader_h=yes
12926 else $as_nop
12927 ac_cv_mingw_header_vkd3d_shader_h=no
12929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12930 CC=$ac_wine_check_headers_saved_cc
12931 ac_exeext=$ac_wine_check_headers_saved_exeext
12933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12934 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12935 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12936 then :
12939 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12940 then
12941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12942 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12943 if test ${ac_cv_mingw_lib_vkd3d+y}
12944 then :
12945 printf %s "(cached) " >&6
12946 else $as_nop
12947 ac_wine_check_headers_saved_cc=$CC
12948 ac_wine_check_headers_saved_exeext=$ac_exeext
12949 ac_wine_check_headers_saved_libs=$LIBS
12950 eval CC=\$${wine_arch}_CC
12951 ac_exeext=".exe"
12952 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12956 /* Override any GCC internal prototype to avoid an error.
12957 Use char because int might match the return type of a GCC
12958 builtin and then its argument prototype would still apply. */
12959 char vkd3d_set_log_callback ();
12961 main (void)
12963 return vkd3d_set_log_callback ();
12965 return 0;
12967 _ACEOF
12968 if ac_fn_c_try_link "$LINENO"
12969 then :
12970 ac_cv_mingw_lib_vkd3d=yes
12971 else $as_nop
12972 ac_cv_mingw_lib_vkd3d=no
12974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12975 conftest$ac_exeext conftest.$ac_ext
12976 CC=$ac_wine_check_headers_saved_cc
12977 ac_exeext=$ac_wine_check_headers_saved_exeext
12978 LIBS=$ac_wine_check_headers_saved_libs
12980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12981 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12982 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12983 then :
12985 else $as_nop
12988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12989 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12990 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12991 then :
12992 printf %s "(cached) " >&6
12993 else $as_nop
12994 ac_wine_check_headers_saved_cc=$CC
12995 ac_wine_check_headers_saved_exeext=$ac_exeext
12996 ac_wine_check_headers_saved_libs=$LIBS
12997 eval CC=\$${wine_arch}_CC
12998 ac_exeext=".exe"
12999 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13001 /* end confdefs.h. */
13003 /* Override any GCC internal prototype to avoid an error.
13004 Use char because int might match the return type of a GCC
13005 builtin and then its argument prototype would still apply. */
13006 char vkd3d_shader_serialize_dxbc ();
13008 main (void)
13010 return vkd3d_shader_serialize_dxbc ();
13012 return 0;
13014 _ACEOF
13015 if ac_fn_c_try_link "$LINENO"
13016 then :
13017 ac_cv_mingw_lib_vkd3d_shader=yes
13018 else $as_nop
13019 ac_cv_mingw_lib_vkd3d_shader=no
13021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13022 conftest$ac_exeext conftest.$ac_ext
13023 CC=$ac_wine_check_headers_saved_cc
13024 ac_exeext=$ac_wine_check_headers_saved_exeext
13025 LIBS=$ac_wine_check_headers_saved_libs
13027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13028 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13029 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13030 then :
13032 else $as_nop
13035 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13036 then
13037 VKD3D_PE_CFLAGS=""
13038 VKD3D_PE_LIBS=""
13040 else
13041 VKD3D_PE_CFLAGS=""
13042 VKD3D_PE_LIBS=""
13044 CPPFLAGS=$ac_save_CPPFLAGS
13046 if test "x$VKD3D_PE_LIBS" = "x"
13047 then
13048 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13051 if ${ZLIB_PE_CFLAGS:+false} :
13052 then :
13053 if test ${MINGW_PKG_CONFIG+y}
13054 then :
13055 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13058 if ${ZLIB_PE_LIBS:+false} :
13059 then :
13060 if test ${MINGW_PKG_CONFIG+y}
13061 then :
13062 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13065 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13066 ac_save_CPPFLAGS=$CPPFLAGS
13067 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13069 printf %s "checking for MinGW zlib.h... " >&6; }
13070 if test ${ac_cv_mingw_header_zlib_h+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 eval CC=\$${wine_arch}_CC
13077 ac_exeext=".exe"
13078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13079 /* end confdefs.h. */
13081 #include <zlib.h>
13083 main (void)
13087 return 0;
13089 _ACEOF
13090 if ac_fn_c_try_compile "$LINENO"
13091 then :
13092 ac_cv_mingw_header_zlib_h=yes
13093 else $as_nop
13094 ac_cv_mingw_header_zlib_h=no
13096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13097 CC=$ac_wine_check_headers_saved_cc
13098 ac_exeext=$ac_wine_check_headers_saved_exeext
13100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13101 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13102 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13103 then :
13104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13105 printf %s "checking for inflate in MinGW -lz... " >&6; }
13106 if test ${ac_cv_mingw_lib_z+y}
13107 then :
13108 printf %s "(cached) " >&6
13109 else $as_nop
13110 ac_wine_check_headers_saved_cc=$CC
13111 ac_wine_check_headers_saved_exeext=$ac_exeext
13112 ac_wine_check_headers_saved_libs=$LIBS
13113 eval CC=\$${wine_arch}_CC
13114 ac_exeext=".exe"
13115 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13119 /* Override any GCC internal prototype to avoid an error.
13120 Use char because int might match the return type of a GCC
13121 builtin and then its argument prototype would still apply. */
13122 char inflate ();
13124 main (void)
13126 return inflate ();
13128 return 0;
13130 _ACEOF
13131 if ac_fn_c_try_link "$LINENO"
13132 then :
13133 ac_cv_mingw_lib_z=yes
13134 else $as_nop
13135 ac_cv_mingw_lib_z=no
13137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13138 conftest$ac_exeext conftest.$ac_ext
13139 CC=$ac_wine_check_headers_saved_cc
13140 ac_exeext=$ac_wine_check_headers_saved_exeext
13141 LIBS=$ac_wine_check_headers_saved_libs
13143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13144 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13145 if test "x$ac_cv_mingw_lib_z" = xyes
13146 then :
13148 else $as_nop
13149 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13151 else $as_nop
13152 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13154 CPPFLAGS=$ac_save_CPPFLAGS
13156 if test "x$ZLIB_PE_LIBS" = "x"
13157 then
13158 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13162 if ${FAUDIO_PE_LIBS:+false} :
13163 then :
13164 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13165 if ${FAUDIO_PE_CFLAGS:+false} :
13166 then :
13167 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13168 else $as_nop
13169 enable_faudio=no
13171 else $as_nop
13172 enable_faudio=no
13174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13177 if ${FLUIDSYNTH_PE_LIBS:+false} :
13178 then :
13179 FLUIDSYNTH_PE_LIBS="fluidsynth"
13180 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13181 then :
13182 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13183 else $as_nop
13184 enable_fluidsynth=no
13186 else $as_nop
13187 enable_fluidsynth=no
13189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13192 if ${GSM_PE_LIBS:+false} :
13193 then :
13194 GSM_PE_LIBS=gsm
13195 if ${GSM_PE_CFLAGS:+false} :
13196 then :
13197 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13198 else $as_nop
13199 enable_gsm=no
13201 else $as_nop
13202 enable_gsm=no
13204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13207 if ${JPEG_PE_LIBS:+false} :
13208 then :
13209 JPEG_PE_LIBS=jpeg
13210 if ${JPEG_PE_CFLAGS:+false} :
13211 then :
13212 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13213 else $as_nop
13214 enable_jpeg=no
13216 else $as_nop
13217 enable_jpeg=no
13219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13222 if ${JXR_PE_LIBS:+false} :
13223 then :
13224 JXR_PE_LIBS=jxr
13225 if ${JXR_PE_CFLAGS:+false} :
13226 then :
13227 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13228 else $as_nop
13229 enable_jxr=no
13231 else $as_nop
13232 enable_jxr=no
13234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13237 if ${LCMS2_PE_LIBS:+false} :
13238 then :
13239 LCMS2_PE_LIBS=lcms2
13240 if ${LCMS2_PE_CFLAGS:+false} :
13241 then :
13242 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13243 else $as_nop
13244 enable_lcms2=no
13246 else $as_nop
13247 enable_lcms2=no
13249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13252 if ${LDAP_PE_LIBS:+false} :
13253 then :
13254 LDAP_PE_LIBS=ldap
13255 if ${LDAP_PE_CFLAGS:+false} :
13256 then :
13257 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13258 else $as_nop
13259 enable_ldap=no
13261 else $as_nop
13262 enable_ldap=no
13264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13267 if ${MPG123_PE_LIBS:+false} :
13268 then :
13269 MPG123_PE_LIBS=mpg123
13270 if ${MPG123_PE_CFLAGS:+false} :
13271 then :
13272 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13273 else $as_nop
13274 enable_mpg123=no
13276 else $as_nop
13277 enable_mpg123=no
13279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13282 if ${MUSL_PE_LIBS:+false} :
13283 then :
13284 MUSL_PE_LIBS=musl
13285 if ${MUSL_PE_CFLAGS:+false} :
13286 then :
13287 MUSL_PE_CFLAGS=
13288 else $as_nop
13289 enable_musl=no
13291 else $as_nop
13292 enable_musl=no
13294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13297 if ${PNG_PE_LIBS:+false} :
13298 then :
13299 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13300 if ${PNG_PE_CFLAGS:+false} :
13301 then :
13302 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13303 else $as_nop
13304 enable_png=no
13306 else $as_nop
13307 enable_png=no
13309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13312 if ${TIFF_PE_LIBS:+false} :
13313 then :
13314 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13315 if ${TIFF_PE_CFLAGS:+false} :
13316 then :
13317 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13318 else $as_nop
13319 enable_tiff=no
13321 else $as_nop
13322 enable_tiff=no
13324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13327 if ${VKD3D_PE_LIBS:+false} :
13328 then :
13329 VKD3D_PE_LIBS=vkd3d
13330 if ${VKD3D_PE_CFLAGS:+false} :
13331 then :
13332 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13333 else $as_nop
13334 enable_vkd3d=no
13336 else $as_nop
13337 enable_vkd3d=no
13339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13342 if ${XML2_PE_LIBS:+false} :
13343 then :
13344 XML2_PE_LIBS=xml2
13345 if ${XML2_PE_CFLAGS:+false} :
13346 then :
13347 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13348 else $as_nop
13349 enable_xml2=no
13351 else $as_nop
13352 enable_xml2=no
13354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13357 if ${XSLT_PE_LIBS:+false} :
13358 then :
13359 XSLT_PE_LIBS=xslt
13360 if ${XSLT_PE_CFLAGS:+false} :
13361 then :
13362 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13363 else $as_nop
13364 enable_xslt=no
13366 else $as_nop
13367 enable_xslt=no
13369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13372 if ${ZLIB_PE_LIBS:+false} :
13373 then :
13374 ZLIB_PE_LIBS=z
13375 if ${ZLIB_PE_CFLAGS:+false} :
13376 then :
13377 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13378 else $as_nop
13379 enable_zlib=no
13381 else $as_nop
13382 enable_zlib=no
13384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13387 if ${ZYDIS_PE_LIBS:+false} :
13388 then :
13389 ZYDIS_PE_LIBS=zydis
13390 if ${ZYDIS_PE_CFLAGS:+false} :
13391 then :
13392 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13393 else $as_nop
13394 enable_zydis=no
13396 else $as_nop
13397 enable_zydis=no
13399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13404 if test "$ac_cv_header_pthread_h" = "yes"
13405 then
13406 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13407 if test "x$ac_cv_func_pthread_create" = xyes
13408 then :
13410 else $as_nop
13411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13412 printf %s "checking for pthread_create in -lpthread... " >&6; }
13413 if test ${ac_cv_lib_pthread_pthread_create+y}
13414 then :
13415 printf %s "(cached) " >&6
13416 else $as_nop
13417 ac_check_lib_save_LIBS=$LIBS
13418 LIBS="-lpthread $LIBS"
13419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13420 /* end confdefs.h. */
13422 /* Override any GCC internal prototype to avoid an error.
13423 Use char because int might match the return type of a GCC
13424 builtin and then its argument prototype would still apply. */
13425 char pthread_create ();
13427 main (void)
13429 return pthread_create ();
13431 return 0;
13433 _ACEOF
13434 if ac_fn_c_try_link "$LINENO"
13435 then :
13436 ac_cv_lib_pthread_pthread_create=yes
13437 else $as_nop
13438 ac_cv_lib_pthread_pthread_create=no
13440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13441 conftest$ac_exeext conftest.$ac_ext
13442 LIBS=$ac_check_lib_save_LIBS
13444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13445 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13446 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13447 then :
13448 PTHREAD_LIBS="-lpthread"
13455 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13456 then :
13457 case "x$with_pthread" in
13458 xno) ;;
13459 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13460 Wine cannot support threads without libpthread.
13461 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13462 esac
13467 ac_ext=c
13468 ac_cpp='$CPP $CPPFLAGS'
13469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13473 printf %s "checking how to run the C preprocessor... " >&6; }
13474 # On Suns, sometimes $CPP names a directory.
13475 if test -n "$CPP" && test -d "$CPP"; then
13476 CPP=
13478 if test -z "$CPP"; then
13479 if test ${ac_cv_prog_CPP+y}
13480 then :
13481 printf %s "(cached) " >&6
13482 else $as_nop
13483 # Double quotes because $CC needs to be expanded
13484 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13486 ac_preproc_ok=false
13487 for ac_c_preproc_warn_flag in '' yes
13489 # Use a header file that comes with gcc, so configuring glibc
13490 # with a fresh cross-compiler works.
13491 # On the NeXT, cc -E runs the code through the compiler's parser,
13492 # not just through cpp. "Syntax error" is here to catch this case.
13493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13494 /* end confdefs.h. */
13495 #include <limits.h>
13496 Syntax error
13497 _ACEOF
13498 if ac_fn_c_try_cpp "$LINENO"
13499 then :
13501 else $as_nop
13502 # Broken: fails on valid input.
13503 continue
13505 rm -f conftest.err conftest.i conftest.$ac_ext
13507 # OK, works on sane cases. Now check whether nonexistent headers
13508 # can be detected and how.
13509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13510 /* end confdefs.h. */
13511 #include <ac_nonexistent.h>
13512 _ACEOF
13513 if ac_fn_c_try_cpp "$LINENO"
13514 then :
13515 # Broken: success on invalid input.
13516 continue
13517 else $as_nop
13518 # Passes both tests.
13519 ac_preproc_ok=:
13520 break
13522 rm -f conftest.err conftest.i conftest.$ac_ext
13524 done
13525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13526 rm -f conftest.i conftest.err conftest.$ac_ext
13527 if $ac_preproc_ok
13528 then :
13529 break
13532 done
13533 ac_cv_prog_CPP=$CPP
13536 CPP=$ac_cv_prog_CPP
13537 else
13538 ac_cv_prog_CPP=$CPP
13540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13541 printf "%s\n" "$CPP" >&6; }
13542 ac_preproc_ok=false
13543 for ac_c_preproc_warn_flag in '' yes
13545 # Use a header file that comes with gcc, so configuring glibc
13546 # with a fresh cross-compiler works.
13547 # On the NeXT, cc -E runs the code through the compiler's parser,
13548 # not just through cpp. "Syntax error" is here to catch this case.
13549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13550 /* end confdefs.h. */
13551 #include <limits.h>
13552 Syntax error
13553 _ACEOF
13554 if ac_fn_c_try_cpp "$LINENO"
13555 then :
13557 else $as_nop
13558 # Broken: fails on valid input.
13559 continue
13561 rm -f conftest.err conftest.i conftest.$ac_ext
13563 # OK, works on sane cases. Now check whether nonexistent headers
13564 # can be detected and how.
13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13567 #include <ac_nonexistent.h>
13568 _ACEOF
13569 if ac_fn_c_try_cpp "$LINENO"
13570 then :
13571 # Broken: success on invalid input.
13572 continue
13573 else $as_nop
13574 # Passes both tests.
13575 ac_preproc_ok=:
13576 break
13578 rm -f conftest.err conftest.i conftest.$ac_ext
13580 done
13581 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13582 rm -f conftest.i conftest.err conftest.$ac_ext
13583 if $ac_preproc_ok
13584 then :
13586 else $as_nop
13587 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13588 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13589 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13590 See \`config.log' for more details" "$LINENO" 5; }
13593 ac_ext=c
13594 ac_cpp='$CPP $CPPFLAGS'
13595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13601 printf %s "checking for X... " >&6; }
13604 # Check whether --with-x was given.
13605 if test ${with_x+y}
13606 then :
13607 withval=$with_x;
13610 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13611 if test "x$with_x" = xno; then
13612 # The user explicitly disabled X.
13613 have_x=disabled
13614 else
13615 case $x_includes,$x_libraries in #(
13616 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13617 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13618 then :
13619 printf %s "(cached) " >&6
13620 else $as_nop
13621 # One or both of the vars are not set, and there is no cached value.
13622 ac_x_includes=no
13623 ac_x_libraries=no
13624 # Do we need to do anything special at all?
13625 ac_save_LIBS=$LIBS
13626 LIBS="-lX11 $LIBS"
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13629 #include <X11/Xlib.h>
13631 main (void)
13633 XrmInitialize ()
13635 return 0;
13637 _ACEOF
13638 if ac_fn_c_try_link "$LINENO"
13639 then :
13640 # We can compile and link X programs with no special options.
13641 ac_x_includes=
13642 ac_x_libraries=
13644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13645 conftest$ac_exeext conftest.$ac_ext
13646 LIBS="$ac_save_LIBS"
13647 # If that didn't work, only try xmkmf and file system searches
13648 # for native compilation.
13649 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13650 then :
13651 rm -f -r conftest.dir
13652 if mkdir conftest.dir; then
13653 cd conftest.dir
13654 cat >Imakefile <<'_ACEOF'
13655 incroot:
13656 @echo incroot='${INCROOT}'
13657 usrlibdir:
13658 @echo usrlibdir='${USRLIBDIR}'
13659 libdir:
13660 @echo libdir='${LIBDIR}'
13661 _ACEOF
13662 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13663 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13664 for ac_var in incroot usrlibdir libdir; do
13665 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13666 done
13667 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13668 for ac_extension in a so sl dylib la dll; do
13669 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13670 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13671 ac_im_usrlibdir=$ac_im_libdir; break
13673 done
13674 # Screen out bogus values from the imake configuration. They are
13675 # bogus both because they are the default anyway, and because
13676 # using them would break gcc on systems where it needs fixed includes.
13677 case $ac_im_incroot in
13678 /usr/include) ac_x_includes= ;;
13679 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13680 esac
13681 case $ac_im_usrlibdir in
13682 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13683 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13684 esac
13686 cd ..
13687 rm -f -r conftest.dir
13690 # Standard set of common directories for X headers.
13691 # Check X11 before X11Rn because it is often a symlink to the current release.
13692 ac_x_header_dirs='
13693 /usr/X11/include
13694 /usr/X11R7/include
13695 /usr/X11R6/include
13696 /usr/X11R5/include
13697 /usr/X11R4/include
13699 /usr/include/X11
13700 /usr/include/X11R7
13701 /usr/include/X11R6
13702 /usr/include/X11R5
13703 /usr/include/X11R4
13705 /usr/local/X11/include
13706 /usr/local/X11R7/include
13707 /usr/local/X11R6/include
13708 /usr/local/X11R5/include
13709 /usr/local/X11R4/include
13711 /usr/local/include/X11
13712 /usr/local/include/X11R7
13713 /usr/local/include/X11R6
13714 /usr/local/include/X11R5
13715 /usr/local/include/X11R4
13717 /opt/X11/include
13719 /usr/X386/include
13720 /usr/x386/include
13721 /usr/XFree86/include/X11
13723 /usr/include
13724 /usr/local/include
13725 /usr/unsupported/include
13726 /usr/athena/include
13727 /usr/local/x11r5/include
13728 /usr/lpp/Xamples/include
13730 /usr/openwin/include
13731 /usr/openwin/share/include'
13733 if test "$ac_x_includes" = no; then
13734 # Guess where to find include files, by looking for Xlib.h.
13735 # First, try using that file with no special directory specified.
13736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13737 /* end confdefs.h. */
13738 #include <X11/Xlib.h>
13739 _ACEOF
13740 if ac_fn_c_try_cpp "$LINENO"
13741 then :
13742 # We can compile using X headers with no special include directory.
13743 ac_x_includes=
13744 else $as_nop
13745 for ac_dir in $ac_x_header_dirs; do
13746 if test -r "$ac_dir/X11/Xlib.h"; then
13747 ac_x_includes=$ac_dir
13748 break
13750 done
13752 rm -f conftest.err conftest.i conftest.$ac_ext
13753 fi # $ac_x_includes = no
13755 if test "$ac_x_libraries" = no; then
13756 # Check for the libraries.
13757 # See if we find them without any special options.
13758 # Don't add to $LIBS permanently.
13759 ac_save_LIBS=$LIBS
13760 LIBS="-lX11 $LIBS"
13761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13763 #include <X11/Xlib.h>
13765 main (void)
13767 XrmInitialize ()
13769 return 0;
13771 _ACEOF
13772 if ac_fn_c_try_link "$LINENO"
13773 then :
13774 LIBS=$ac_save_LIBS
13775 # We can link X programs with no special library path.
13776 ac_x_libraries=
13777 else $as_nop
13778 LIBS=$ac_save_LIBS
13779 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13781 # Don't even attempt the hair of trying to link an X program!
13782 for ac_extension in a so sl dylib la dll; do
13783 if test -r "$ac_dir/libX11.$ac_extension"; then
13784 ac_x_libraries=$ac_dir
13785 break 2
13787 done
13788 done
13790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13791 conftest$ac_exeext conftest.$ac_ext
13792 fi # $ac_x_libraries = no
13795 # Record the results.
13796 case $ac_x_includes,$ac_x_libraries in #(
13797 no,* | *,no | *\'*) :
13798 # Didn't find X, or a directory has "'" in its name.
13799 ac_cv_have_x="have_x=no" ;; #(
13800 *) :
13801 # Record where we found X for the cache.
13802 ac_cv_have_x="have_x=yes\
13803 ac_x_includes='$ac_x_includes'\
13804 ac_x_libraries='$ac_x_libraries'" ;;
13805 esac
13807 ;; #(
13808 *) have_x=yes;;
13809 esac
13810 eval "$ac_cv_have_x"
13811 fi # $with_x != no
13813 if test "$have_x" != yes; then
13814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13815 printf "%s\n" "$have_x" >&6; }
13816 no_x=yes
13817 else
13818 # If each of the values was on the command line, it overrides each guess.
13819 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13820 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13821 # Update the cache value to reflect the command line values.
13822 ac_cv_have_x="have_x=yes\
13823 ac_x_includes='$x_includes'\
13824 ac_x_libraries='$x_libraries'"
13825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13826 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13829 if test "$no_x" = yes; then
13830 # Not all programs may use this symbol, but it does not hurt to define it.
13832 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13834 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13835 else
13836 if test -n "$x_includes"; then
13837 X_CFLAGS="$X_CFLAGS -I$x_includes"
13840 # It would also be nice to do this for all -L options, not just this one.
13841 if test -n "$x_libraries"; then
13842 X_LIBS="$X_LIBS -L$x_libraries"
13843 # For Solaris; some versions of Sun CC require a space after -R and
13844 # others require no space. Words are not sufficient . . . .
13845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13846 printf %s "checking whether -R must be followed by a space... " >&6; }
13847 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13848 ac_xsave_c_werror_flag=$ac_c_werror_flag
13849 ac_c_werror_flag=yes
13850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13854 main (void)
13858 return 0;
13860 _ACEOF
13861 if ac_fn_c_try_link "$LINENO"
13862 then :
13863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13864 printf "%s\n" "no" >&6; }
13865 X_LIBS="$X_LIBS -R$x_libraries"
13866 else $as_nop
13867 LIBS="$ac_xsave_LIBS -R $x_libraries"
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13872 main (void)
13876 return 0;
13878 _ACEOF
13879 if ac_fn_c_try_link "$LINENO"
13880 then :
13881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13882 printf "%s\n" "yes" >&6; }
13883 X_LIBS="$X_LIBS -R $x_libraries"
13884 else $as_nop
13885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13886 printf "%s\n" "neither works" >&6; }
13888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13889 conftest$ac_exeext conftest.$ac_ext
13891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13892 conftest$ac_exeext conftest.$ac_ext
13893 ac_c_werror_flag=$ac_xsave_c_werror_flag
13894 LIBS=$ac_xsave_LIBS
13897 # Check for system-dependent libraries X programs must link with.
13898 # Do this before checking for the system-independent R6 libraries
13899 # (-lICE), since we may need -lsocket or whatever for X linking.
13901 if test "$ISC" = yes; then
13902 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13903 else
13904 # Martyn Johnson says this is needed for Ultrix, if the X
13905 # libraries were built with DECnet support. And Karl Berry says
13906 # the Alpha needs dnet_stub (dnet does not exist).
13907 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13909 /* end confdefs.h. */
13911 /* Override any GCC internal prototype to avoid an error.
13912 Use char because int might match the return type of a GCC
13913 builtin and then its argument prototype would still apply. */
13914 char XOpenDisplay ();
13916 main (void)
13918 return XOpenDisplay ();
13920 return 0;
13922 _ACEOF
13923 if ac_fn_c_try_link "$LINENO"
13924 then :
13926 else $as_nop
13927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13928 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13929 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13930 then :
13931 printf %s "(cached) " >&6
13932 else $as_nop
13933 ac_check_lib_save_LIBS=$LIBS
13934 LIBS="-ldnet $LIBS"
13935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13936 /* end confdefs.h. */
13938 /* Override any GCC internal prototype to avoid an error.
13939 Use char because int might match the return type of a GCC
13940 builtin and then its argument prototype would still apply. */
13941 char dnet_ntoa ();
13943 main (void)
13945 return dnet_ntoa ();
13947 return 0;
13949 _ACEOF
13950 if ac_fn_c_try_link "$LINENO"
13951 then :
13952 ac_cv_lib_dnet_dnet_ntoa=yes
13953 else $as_nop
13954 ac_cv_lib_dnet_dnet_ntoa=no
13956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13957 conftest$ac_exeext conftest.$ac_ext
13958 LIBS=$ac_check_lib_save_LIBS
13960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13961 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13962 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13963 then :
13964 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13967 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13969 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13970 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13971 then :
13972 printf %s "(cached) " >&6
13973 else $as_nop
13974 ac_check_lib_save_LIBS=$LIBS
13975 LIBS="-ldnet_stub $LIBS"
13976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13979 /* Override any GCC internal prototype to avoid an error.
13980 Use char because int might match the return type of a GCC
13981 builtin and then its argument prototype would still apply. */
13982 char dnet_ntoa ();
13984 main (void)
13986 return dnet_ntoa ();
13988 return 0;
13990 _ACEOF
13991 if ac_fn_c_try_link "$LINENO"
13992 then :
13993 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13994 else $as_nop
13995 ac_cv_lib_dnet_stub_dnet_ntoa=no
13997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13998 conftest$ac_exeext conftest.$ac_ext
13999 LIBS=$ac_check_lib_save_LIBS
14001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14002 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14003 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14004 then :
14005 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14011 conftest$ac_exeext conftest.$ac_ext
14012 LIBS="$ac_xsave_LIBS"
14014 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14015 # to get the SysV transport functions.
14016 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14017 # needs -lnsl.
14018 # The nsl library prevents programs from opening the X display
14019 # on Irix 5.2, according to T.E. Dickey.
14020 # The functions gethostbyname, getservbyname, and inet_addr are
14021 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14022 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14023 if test "x$ac_cv_func_gethostbyname" = xyes
14024 then :
14028 if test $ac_cv_func_gethostbyname = no; then
14029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14030 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14031 if test ${ac_cv_lib_nsl_gethostbyname+y}
14032 then :
14033 printf %s "(cached) " >&6
14034 else $as_nop
14035 ac_check_lib_save_LIBS=$LIBS
14036 LIBS="-lnsl $LIBS"
14037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14038 /* end confdefs.h. */
14040 /* Override any GCC internal prototype to avoid an error.
14041 Use char because int might match the return type of a GCC
14042 builtin and then its argument prototype would still apply. */
14043 char gethostbyname ();
14045 main (void)
14047 return gethostbyname ();
14049 return 0;
14051 _ACEOF
14052 if ac_fn_c_try_link "$LINENO"
14053 then :
14054 ac_cv_lib_nsl_gethostbyname=yes
14055 else $as_nop
14056 ac_cv_lib_nsl_gethostbyname=no
14058 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14059 conftest$ac_exeext conftest.$ac_ext
14060 LIBS=$ac_check_lib_save_LIBS
14062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14063 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14064 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14065 then :
14066 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14069 if test $ac_cv_lib_nsl_gethostbyname = no; then
14070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14071 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14072 if test ${ac_cv_lib_bsd_gethostbyname+y}
14073 then :
14074 printf %s "(cached) " >&6
14075 else $as_nop
14076 ac_check_lib_save_LIBS=$LIBS
14077 LIBS="-lbsd $LIBS"
14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14084 char gethostbyname ();
14086 main (void)
14088 return gethostbyname ();
14090 return 0;
14092 _ACEOF
14093 if ac_fn_c_try_link "$LINENO"
14094 then :
14095 ac_cv_lib_bsd_gethostbyname=yes
14096 else $as_nop
14097 ac_cv_lib_bsd_gethostbyname=no
14099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14100 conftest$ac_exeext conftest.$ac_ext
14101 LIBS=$ac_check_lib_save_LIBS
14103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14104 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14105 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14106 then :
14107 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14113 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14114 # socket/setsockopt and other routines are undefined under SCO ODT
14115 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14116 # on later versions), says Simon Leinen: it contains gethostby*
14117 # variants that don't use the name server (or something). -lsocket
14118 # must be given before -lnsl if both are needed. We assume that
14119 # if connect needs -lnsl, so does gethostbyname.
14120 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14121 if test "x$ac_cv_func_connect" = xyes
14122 then :
14126 if test $ac_cv_func_connect = no; then
14127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14128 printf %s "checking for connect in -lsocket... " >&6; }
14129 if test ${ac_cv_lib_socket_connect+y}
14130 then :
14131 printf %s "(cached) " >&6
14132 else $as_nop
14133 ac_check_lib_save_LIBS=$LIBS
14134 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14138 /* Override any GCC internal prototype to avoid an error.
14139 Use char because int might match the return type of a GCC
14140 builtin and then its argument prototype would still apply. */
14141 char connect ();
14143 main (void)
14145 return connect ();
14147 return 0;
14149 _ACEOF
14150 if ac_fn_c_try_link "$LINENO"
14151 then :
14152 ac_cv_lib_socket_connect=yes
14153 else $as_nop
14154 ac_cv_lib_socket_connect=no
14156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14157 conftest$ac_exeext conftest.$ac_ext
14158 LIBS=$ac_check_lib_save_LIBS
14160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14161 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14162 if test "x$ac_cv_lib_socket_connect" = xyes
14163 then :
14164 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14169 # Guillermo Gomez says -lposix is necessary on A/UX.
14170 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14171 if test "x$ac_cv_func_remove" = xyes
14172 then :
14176 if test $ac_cv_func_remove = no; then
14177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14178 printf %s "checking for remove in -lposix... " >&6; }
14179 if test ${ac_cv_lib_posix_remove+y}
14180 then :
14181 printf %s "(cached) " >&6
14182 else $as_nop
14183 ac_check_lib_save_LIBS=$LIBS
14184 LIBS="-lposix $LIBS"
14185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14188 /* Override any GCC internal prototype to avoid an error.
14189 Use char because int might match the return type of a GCC
14190 builtin and then its argument prototype would still apply. */
14191 char remove ();
14193 main (void)
14195 return remove ();
14197 return 0;
14199 _ACEOF
14200 if ac_fn_c_try_link "$LINENO"
14201 then :
14202 ac_cv_lib_posix_remove=yes
14203 else $as_nop
14204 ac_cv_lib_posix_remove=no
14206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14207 conftest$ac_exeext conftest.$ac_ext
14208 LIBS=$ac_check_lib_save_LIBS
14210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14211 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14212 if test "x$ac_cv_lib_posix_remove" = xyes
14213 then :
14214 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14219 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14220 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14221 if test "x$ac_cv_func_shmat" = xyes
14222 then :
14226 if test $ac_cv_func_shmat = no; then
14227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14228 printf %s "checking for shmat in -lipc... " >&6; }
14229 if test ${ac_cv_lib_ipc_shmat+y}
14230 then :
14231 printf %s "(cached) " >&6
14232 else $as_nop
14233 ac_check_lib_save_LIBS=$LIBS
14234 LIBS="-lipc $LIBS"
14235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14236 /* end confdefs.h. */
14238 /* Override any GCC internal prototype to avoid an error.
14239 Use char because int might match the return type of a GCC
14240 builtin and then its argument prototype would still apply. */
14241 char shmat ();
14243 main (void)
14245 return shmat ();
14247 return 0;
14249 _ACEOF
14250 if ac_fn_c_try_link "$LINENO"
14251 then :
14252 ac_cv_lib_ipc_shmat=yes
14253 else $as_nop
14254 ac_cv_lib_ipc_shmat=no
14256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14257 conftest$ac_exeext conftest.$ac_ext
14258 LIBS=$ac_check_lib_save_LIBS
14260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14261 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14262 if test "x$ac_cv_lib_ipc_shmat" = xyes
14263 then :
14264 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14270 # Check for libraries that X11R6 Xt/Xaw programs need.
14271 ac_save_LDFLAGS=$LDFLAGS
14272 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14273 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14274 # check for ICE first), but we must link in the order -lSM -lICE or
14275 # we get undefined symbols. So assume we have SM if we have ICE.
14276 # These have to be linked with before -lX11, unlike the other
14277 # libraries we check for below, so use a different variable.
14278 # John Interrante, Karl Berry
14279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14280 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14281 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14282 then :
14283 printf %s "(cached) " >&6
14284 else $as_nop
14285 ac_check_lib_save_LIBS=$LIBS
14286 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14288 /* end confdefs.h. */
14290 /* Override any GCC internal prototype to avoid an error.
14291 Use char because int might match the return type of a GCC
14292 builtin and then its argument prototype would still apply. */
14293 char IceConnectionNumber ();
14295 main (void)
14297 return IceConnectionNumber ();
14299 return 0;
14301 _ACEOF
14302 if ac_fn_c_try_link "$LINENO"
14303 then :
14304 ac_cv_lib_ICE_IceConnectionNumber=yes
14305 else $as_nop
14306 ac_cv_lib_ICE_IceConnectionNumber=no
14308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14309 conftest$ac_exeext conftest.$ac_ext
14310 LIBS=$ac_check_lib_save_LIBS
14312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14313 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14314 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14315 then :
14316 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14319 LDFLAGS=$ac_save_LDFLAGS
14324 if test "$have_x" = "yes"
14325 then
14326 ac_save_CPPFLAGS="$CPPFLAGS"
14327 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14330 printf %s "checking for -lX11... " >&6; }
14331 if test ${ac_cv_lib_soname_X11+y}
14332 then :
14333 printf %s "(cached) " >&6
14334 else $as_nop
14335 ac_check_soname_save_LIBS=$LIBS
14336 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14340 /* Override any GCC internal prototype to avoid an error.
14341 Use char because int might match the return type of a GCC
14342 builtin and then its argument prototype would still apply. */
14343 char XCreateWindow ();
14345 main (void)
14347 return XCreateWindow ();
14349 return 0;
14351 _ACEOF
14352 if ac_fn_c_try_link "$LINENO"
14353 then :
14354 case "$LIBEXT" in
14355 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14356 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'` ;;
14357 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14358 if ${ac_cv_lib_soname_X11:+false} :
14359 then :
14360 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14361 fi ;;
14362 esac
14363 else $as_nop
14364 ac_cv_lib_soname_X11=
14366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14367 conftest$ac_exeext conftest.$ac_ext
14368 LIBS=$ac_check_soname_save_LIBS
14370 if ${ac_cv_lib_soname_X11:+false} :
14371 then :
14372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14373 printf "%s\n" "not found" >&6; }
14375 else $as_nop
14376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14377 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14379 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14384 printf %s "checking for -lXext... " >&6; }
14385 if test ${ac_cv_lib_soname_Xext+y}
14386 then :
14387 printf %s "(cached) " >&6
14388 else $as_nop
14389 ac_check_soname_save_LIBS=$LIBS
14390 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14392 /* end confdefs.h. */
14394 /* Override any GCC internal prototype to avoid an error.
14395 Use char because int might match the return type of a GCC
14396 builtin and then its argument prototype would still apply. */
14397 char XextCreateExtension ();
14399 main (void)
14401 return XextCreateExtension ();
14403 return 0;
14405 _ACEOF
14406 if ac_fn_c_try_link "$LINENO"
14407 then :
14408 case "$LIBEXT" in
14409 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14410 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'` ;;
14411 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14412 if ${ac_cv_lib_soname_Xext:+false} :
14413 then :
14414 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14415 fi ;;
14416 esac
14417 else $as_nop
14418 ac_cv_lib_soname_Xext=
14420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14421 conftest$ac_exeext conftest.$ac_ext
14422 LIBS=$ac_check_soname_save_LIBS
14424 if ${ac_cv_lib_soname_Xext:+false} :
14425 then :
14426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14427 printf "%s\n" "not found" >&6; }
14429 else $as_nop
14430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14431 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14433 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14435 X_LIBS="$X_LIBS -lXext"
14437 X_LIBS="$X_LIBS -lX11"
14439 xlib_includes="#include <X11/Xlib.h>
14440 #include <X11/Xutil.h>"
14442 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14444 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14445 then :
14446 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14449 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14451 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14452 then :
14453 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14456 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14458 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14459 then :
14460 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14463 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14465 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14466 then :
14467 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14470 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14472 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14473 then :
14474 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14477 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14479 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14480 then :
14481 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14484 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14486 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14487 then :
14488 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14491 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14493 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14494 then :
14495 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14498 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14500 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14501 then :
14502 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14507 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14509 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14510 then :
14511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14512 printf %s "checking for -lXcursor... " >&6; }
14513 if test ${ac_cv_lib_soname_Xcursor+y}
14514 then :
14515 printf %s "(cached) " >&6
14516 else $as_nop
14517 ac_check_soname_save_LIBS=$LIBS
14518 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520 /* end confdefs.h. */
14522 /* Override any GCC internal prototype to avoid an error.
14523 Use char because int might match the return type of a GCC
14524 builtin and then its argument prototype would still apply. */
14525 char XcursorImageLoadCursor ();
14527 main (void)
14529 return XcursorImageLoadCursor ();
14531 return 0;
14533 _ACEOF
14534 if ac_fn_c_try_link "$LINENO"
14535 then :
14536 case "$LIBEXT" in
14537 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14538 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'` ;;
14539 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14540 if ${ac_cv_lib_soname_Xcursor:+false} :
14541 then :
14542 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14543 fi ;;
14544 esac
14545 else $as_nop
14546 ac_cv_lib_soname_Xcursor=
14548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14549 conftest$ac_exeext conftest.$ac_ext
14550 LIBS=$ac_check_soname_save_LIBS
14552 if ${ac_cv_lib_soname_Xcursor:+false} :
14553 then :
14554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14555 printf "%s\n" "not found" >&6; }
14557 else $as_nop
14558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14559 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14561 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14567 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14568 then :
14569 case "x$with_xcursor" in
14570 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14571 xno) ;;
14572 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14573 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14574 esac
14578 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14580 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14581 then :
14582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14583 printf %s "checking for -lXi... " >&6; }
14584 if test ${ac_cv_lib_soname_Xi+y}
14585 then :
14586 printf %s "(cached) " >&6
14587 else $as_nop
14588 ac_check_soname_save_LIBS=$LIBS
14589 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14593 /* Override any GCC internal prototype to avoid an error.
14594 Use char because int might match the return type of a GCC
14595 builtin and then its argument prototype would still apply. */
14596 char XOpenDevice ();
14598 main (void)
14600 return XOpenDevice ();
14602 return 0;
14604 _ACEOF
14605 if ac_fn_c_try_link "$LINENO"
14606 then :
14607 case "$LIBEXT" in
14608 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14609 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'` ;;
14610 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14611 if ${ac_cv_lib_soname_Xi:+false} :
14612 then :
14613 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14614 fi ;;
14615 esac
14616 else $as_nop
14617 ac_cv_lib_soname_Xi=
14619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14620 conftest$ac_exeext conftest.$ac_ext
14621 LIBS=$ac_check_soname_save_LIBS
14623 if ${ac_cv_lib_soname_Xi:+false} :
14624 then :
14625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14626 printf "%s\n" "not found" >&6; }
14628 else $as_nop
14629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14630 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14632 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14638 if test "x$ac_cv_lib_soname_Xi" = "x"
14639 then :
14640 case "x$with_xinput" in
14641 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14642 xno) ;;
14643 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14644 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14645 esac
14649 if test "x$ac_cv_lib_soname_Xi" != x
14650 then
14651 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14652 then :
14653 case "x$with_xinput2" in
14654 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14655 xno) ;;
14656 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14657 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14658 esac
14663 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14664 then
14665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14666 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14667 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14668 then :
14669 printf %s "(cached) " >&6
14670 else $as_nop
14671 ac_check_lib_save_LIBS=$LIBS
14672 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14674 /* end confdefs.h. */
14676 /* Override any GCC internal prototype to avoid an error.
14677 Use char because int might match the return type of a GCC
14678 builtin and then its argument prototype would still apply. */
14679 char XShmQueryExtension ();
14681 main (void)
14683 return XShmQueryExtension ();
14685 return 0;
14687 _ACEOF
14688 if ac_fn_c_try_link "$LINENO"
14689 then :
14690 ac_cv_lib_Xext_XShmQueryExtension=yes
14691 else $as_nop
14692 ac_cv_lib_Xext_XShmQueryExtension=no
14694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14695 conftest$ac_exeext conftest.$ac_ext
14696 LIBS=$ac_check_lib_save_LIBS
14698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14699 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14700 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14701 then :
14703 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14708 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14709 then :
14710 case "x$with_xshm" in
14711 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14712 xno) ;;
14713 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14714 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14715 esac
14719 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14720 then
14721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14722 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14723 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14724 then :
14725 printf %s "(cached) " >&6
14726 else $as_nop
14727 ac_check_lib_save_LIBS=$LIBS
14728 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14730 /* end confdefs.h. */
14732 /* Override any GCC internal prototype to avoid an error.
14733 Use char because int might match the return type of a GCC
14734 builtin and then its argument prototype would still apply. */
14735 char XShapeQueryExtension ();
14737 main (void)
14739 return XShapeQueryExtension ();
14741 return 0;
14743 _ACEOF
14744 if ac_fn_c_try_link "$LINENO"
14745 then :
14746 ac_cv_lib_Xext_XShapeQueryExtension=yes
14747 else $as_nop
14748 ac_cv_lib_Xext_XShapeQueryExtension=no
14750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14751 conftest$ac_exeext conftest.$ac_ext
14752 LIBS=$ac_check_lib_save_LIBS
14754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14755 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14756 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14757 then :
14759 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14764 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14765 then :
14766 case "x$with_xshape" in
14767 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14768 xno) ;;
14769 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14770 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14771 esac
14775 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14776 then
14777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14778 printf %s "checking for -lXxf86vm... " >&6; }
14779 if test ${ac_cv_lib_soname_Xxf86vm+y}
14780 then :
14781 printf %s "(cached) " >&6
14782 else $as_nop
14783 ac_check_soname_save_LIBS=$LIBS
14784 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14788 /* Override any GCC internal prototype to avoid an error.
14789 Use char because int might match the return type of a GCC
14790 builtin and then its argument prototype would still apply. */
14791 char XF86VidModeQueryExtension ();
14793 main (void)
14795 return XF86VidModeQueryExtension ();
14797 return 0;
14799 _ACEOF
14800 if ac_fn_c_try_link "$LINENO"
14801 then :
14802 case "$LIBEXT" in
14803 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14804 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'` ;;
14805 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14806 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14807 then :
14808 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14809 fi ;;
14810 esac
14811 else $as_nop
14812 ac_cv_lib_soname_Xxf86vm=
14814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14815 conftest$ac_exeext conftest.$ac_ext
14816 LIBS=$ac_check_soname_save_LIBS
14818 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14819 then :
14820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14821 printf "%s\n" "not found" >&6; }
14823 else $as_nop
14824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14825 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14827 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14832 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14833 then :
14834 case "x$with_xxf86vm" in
14835 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14836 xno) ;;
14837 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14838 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14839 esac
14843 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14844 then
14845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14846 printf %s "checking for -lXrender... " >&6; }
14847 if test ${ac_cv_lib_soname_Xrender+y}
14848 then :
14849 printf %s "(cached) " >&6
14850 else $as_nop
14851 ac_check_soname_save_LIBS=$LIBS
14852 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14854 /* end confdefs.h. */
14856 /* Override any GCC internal prototype to avoid an error.
14857 Use char because int might match the return type of a GCC
14858 builtin and then its argument prototype would still apply. */
14859 char XRenderQueryExtension ();
14861 main (void)
14863 return XRenderQueryExtension ();
14865 return 0;
14867 _ACEOF
14868 if ac_fn_c_try_link "$LINENO"
14869 then :
14870 case "$LIBEXT" in
14871 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14872 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'` ;;
14873 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14874 if ${ac_cv_lib_soname_Xrender:+false} :
14875 then :
14876 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14877 fi ;;
14878 esac
14879 else $as_nop
14880 ac_cv_lib_soname_Xrender=
14882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14883 conftest$ac_exeext conftest.$ac_ext
14884 LIBS=$ac_check_soname_save_LIBS
14886 if ${ac_cv_lib_soname_Xrender:+false} :
14887 then :
14888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14889 printf "%s\n" "not found" >&6; }
14891 else $as_nop
14892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14893 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14895 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14898 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14899 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14900 then :
14901 printf %s "(cached) " >&6
14902 else $as_nop
14903 ac_check_lib_save_LIBS=$LIBS
14904 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h. */
14908 /* Override any GCC internal prototype to avoid an error.
14909 Use char because int might match the return type of a GCC
14910 builtin and then its argument prototype would still apply. */
14911 char XRenderSetPictureTransform ();
14913 main (void)
14915 return XRenderSetPictureTransform ();
14917 return 0;
14919 _ACEOF
14920 if ac_fn_c_try_link "$LINENO"
14921 then :
14922 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14923 else $as_nop
14924 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14927 conftest$ac_exeext conftest.$ac_ext
14928 LIBS=$ac_check_lib_save_LIBS
14930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14931 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14932 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14933 then :
14935 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14940 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14941 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14942 then :
14943 printf %s "(cached) " >&6
14944 else $as_nop
14945 ac_check_lib_save_LIBS=$LIBS
14946 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14948 /* end confdefs.h. */
14950 /* Override any GCC internal prototype to avoid an error.
14951 Use char because int might match the return type of a GCC
14952 builtin and then its argument prototype would still apply. */
14953 char XRenderCreateLinearGradient ();
14955 main (void)
14957 return XRenderCreateLinearGradient ();
14959 return 0;
14961 _ACEOF
14962 if ac_fn_c_try_link "$LINENO"
14963 then :
14964 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14965 else $as_nop
14966 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14969 conftest$ac_exeext conftest.$ac_ext
14970 LIBS=$ac_check_lib_save_LIBS
14972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14973 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14974 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14975 then :
14977 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14984 if test "x$ac_cv_lib_soname_Xrender" = "x"
14985 then :
14986 case "x$with_xrender" in
14987 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14988 xno) ;;
14989 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14990 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14991 esac
14995 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14996 then
14997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14998 /* end confdefs.h. */
14999 #include <X11/Xlib.h>
15000 #include <X11/extensions/Xrandr.h>
15002 main (void)
15004 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15006 return 0;
15008 _ACEOF
15009 if ac_fn_c_try_compile "$LINENO"
15010 then :
15011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15012 printf %s "checking for -lXrandr... " >&6; }
15013 if test ${ac_cv_lib_soname_Xrandr+y}
15014 then :
15015 printf %s "(cached) " >&6
15016 else $as_nop
15017 ac_check_soname_save_LIBS=$LIBS
15018 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15020 /* end confdefs.h. */
15022 /* Override any GCC internal prototype to avoid an error.
15023 Use char because int might match the return type of a GCC
15024 builtin and then its argument prototype would still apply. */
15025 char XRRQueryExtension ();
15027 main (void)
15029 return XRRQueryExtension ();
15031 return 0;
15033 _ACEOF
15034 if ac_fn_c_try_link "$LINENO"
15035 then :
15036 case "$LIBEXT" in
15037 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15038 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'` ;;
15039 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15040 if ${ac_cv_lib_soname_Xrandr:+false} :
15041 then :
15042 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15043 fi ;;
15044 esac
15045 else $as_nop
15046 ac_cv_lib_soname_Xrandr=
15048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15049 conftest$ac_exeext conftest.$ac_ext
15050 LIBS=$ac_check_soname_save_LIBS
15052 if ${ac_cv_lib_soname_Xrandr:+false} :
15053 then :
15054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15055 printf "%s\n" "not found" >&6; }
15057 else $as_nop
15058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15059 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15061 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h. */
15065 #include <X11/Xlib.h>
15066 #include <X11/extensions/Xrandr.h>
15068 main (void)
15070 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15072 return 0;
15074 _ACEOF
15075 if ac_fn_c_try_compile "$LINENO"
15076 then :
15078 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15080 else $as_nop
15081 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15088 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15089 then :
15090 case "x$with_xrandr" in
15091 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15092 xno) ;;
15093 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15094 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15095 esac
15099 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15100 then
15101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15103 #include <X11/Xlib.h>
15104 #include <X11/extensions/Xfixes.h>
15106 main (void)
15108 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15110 return 0;
15112 _ACEOF
15113 if ac_fn_c_try_compile "$LINENO"
15114 then :
15115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15116 printf %s "checking for -lXfixes... " >&6; }
15117 if test ${ac_cv_lib_soname_Xfixes+y}
15118 then :
15119 printf %s "(cached) " >&6
15120 else $as_nop
15121 ac_check_soname_save_LIBS=$LIBS
15122 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15124 /* end confdefs.h. */
15126 /* Override any GCC internal prototype to avoid an error.
15127 Use char because int might match the return type of a GCC
15128 builtin and then its argument prototype would still apply. */
15129 char XFixesQueryVersion ();
15131 main (void)
15133 return XFixesQueryVersion ();
15135 return 0;
15137 _ACEOF
15138 if ac_fn_c_try_link "$LINENO"
15139 then :
15140 case "$LIBEXT" in
15141 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15142 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'` ;;
15143 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15144 if ${ac_cv_lib_soname_Xfixes:+false} :
15145 then :
15146 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15147 fi ;;
15148 esac
15149 else $as_nop
15150 ac_cv_lib_soname_Xfixes=
15152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15153 conftest$ac_exeext conftest.$ac_ext
15154 LIBS=$ac_check_soname_save_LIBS
15156 if ${ac_cv_lib_soname_Xfixes:+false} :
15157 then :
15158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15159 printf "%s\n" "not found" >&6; }
15161 else $as_nop
15162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15163 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15165 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15172 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15173 then :
15174 case "x$with_xfixes" in
15175 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15176 xno) ;;
15177 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15178 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15179 esac
15183 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15184 then
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15187 #include <X11/Xlib.h>
15188 #include <X11/extensions/Xinerama.h>
15190 main (void)
15192 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15194 return 0;
15196 _ACEOF
15197 if ac_fn_c_try_compile "$LINENO"
15198 then :
15199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15200 printf %s "checking for -lXinerama... " >&6; }
15201 if test ${ac_cv_lib_soname_Xinerama+y}
15202 then :
15203 printf %s "(cached) " >&6
15204 else $as_nop
15205 ac_check_soname_save_LIBS=$LIBS
15206 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h. */
15210 /* Override any GCC internal prototype to avoid an error.
15211 Use char because int might match the return type of a GCC
15212 builtin and then its argument prototype would still apply. */
15213 char XineramaQueryScreens ();
15215 main (void)
15217 return XineramaQueryScreens ();
15219 return 0;
15221 _ACEOF
15222 if ac_fn_c_try_link "$LINENO"
15223 then :
15224 case "$LIBEXT" in
15225 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15226 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'` ;;
15227 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15228 if ${ac_cv_lib_soname_Xinerama:+false} :
15229 then :
15230 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15231 fi ;;
15232 esac
15233 else $as_nop
15234 ac_cv_lib_soname_Xinerama=
15236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15237 conftest$ac_exeext conftest.$ac_ext
15238 LIBS=$ac_check_soname_save_LIBS
15240 if ${ac_cv_lib_soname_Xinerama:+false} :
15241 then :
15242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15243 printf "%s\n" "not found" >&6; }
15245 else $as_nop
15246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15247 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15249 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15256 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15257 then :
15258 case "x$with_xinerama" in
15259 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15260 xno) ;;
15261 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15262 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15263 esac
15267 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15269 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15270 then :
15271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15272 printf %s "checking for -lXcomposite... " >&6; }
15273 if test ${ac_cv_lib_soname_Xcomposite+y}
15274 then :
15275 printf %s "(cached) " >&6
15276 else $as_nop
15277 ac_check_soname_save_LIBS=$LIBS
15278 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15280 /* end confdefs.h. */
15282 /* Override any GCC internal prototype to avoid an error.
15283 Use char because int might match the return type of a GCC
15284 builtin and then its argument prototype would still apply. */
15285 char XCompositeRedirectWindow ();
15287 main (void)
15289 return XCompositeRedirectWindow ();
15291 return 0;
15293 _ACEOF
15294 if ac_fn_c_try_link "$LINENO"
15295 then :
15296 case "$LIBEXT" in
15297 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15298 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'` ;;
15299 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15300 if ${ac_cv_lib_soname_Xcomposite:+false} :
15301 then :
15302 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15303 fi ;;
15304 esac
15305 else $as_nop
15306 ac_cv_lib_soname_Xcomposite=
15308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15309 conftest$ac_exeext conftest.$ac_ext
15310 LIBS=$ac_check_soname_save_LIBS
15312 if ${ac_cv_lib_soname_Xcomposite:+false} :
15313 then :
15314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15315 printf "%s\n" "not found" >&6; }
15317 else $as_nop
15318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15319 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15321 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15327 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15328 then :
15329 case "x$with_xcomposite" in
15330 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15331 xno) ;;
15332 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15333 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15334 esac
15338 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15340 if test "x$ac_cv_member_XICCallback_callback" = xyes
15341 then :
15343 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15347 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15349 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15350 then :
15352 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15359 opengl_msg=""
15360 if test "x$with_opengl" != "xno"
15361 then
15362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15363 printf %s "checking for -lGL... " >&6; }
15364 if test ${ac_cv_lib_soname_GL+y}
15365 then :
15366 printf %s "(cached) " >&6
15367 else $as_nop
15368 ac_check_soname_save_LIBS=$LIBS
15369 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15373 /* Override any GCC internal prototype to avoid an error.
15374 Use char because int might match the return type of a GCC
15375 builtin and then its argument prototype would still apply. */
15376 char glXCreateContext ();
15378 main (void)
15380 return glXCreateContext ();
15382 return 0;
15384 _ACEOF
15385 if ac_fn_c_try_link "$LINENO"
15386 then :
15387 case "$LIBEXT" in
15388 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15389 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'` ;;
15390 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15391 if ${ac_cv_lib_soname_GL:+false} :
15392 then :
15393 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15394 fi ;;
15395 esac
15396 else $as_nop
15397 ac_cv_lib_soname_GL=
15399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15400 conftest$ac_exeext conftest.$ac_ext
15401 LIBS=$ac_check_soname_save_LIBS
15403 if ${ac_cv_lib_soname_GL:+false} :
15404 then :
15405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15406 printf "%s\n" "not found" >&6; }
15407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15408 printf %s "checking for -lGL... " >&6; }
15409 if test ${ac_cv_lib_soname_GL+y}
15410 then :
15411 printf %s "(cached) " >&6
15412 else $as_nop
15413 ac_check_soname_save_LIBS=$LIBS
15414 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"
15415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15416 /* end confdefs.h. */
15418 /* Override any GCC internal prototype to avoid an error.
15419 Use char because int might match the return type of a GCC
15420 builtin and then its argument prototype would still apply. */
15421 char glXCreateContext ();
15423 main (void)
15425 return glXCreateContext ();
15427 return 0;
15429 _ACEOF
15430 if ac_fn_c_try_link "$LINENO"
15431 then :
15432 case "$LIBEXT" in
15433 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15434 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'` ;;
15435 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15436 if ${ac_cv_lib_soname_GL:+false} :
15437 then :
15438 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15439 fi ;;
15440 esac
15441 else $as_nop
15442 ac_cv_lib_soname_GL=
15444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15445 conftest$ac_exeext conftest.$ac_ext
15446 LIBS=$ac_check_soname_save_LIBS
15448 if ${ac_cv_lib_soname_GL:+false} :
15449 then :
15450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15451 printf "%s\n" "not found" >&6; }
15452 if test -f /usr/X11R6/lib/libGL.a
15453 then
15454 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15455 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15456 else
15457 opengl_msg="No OpenGL library found on this system."
15459 else $as_nop
15460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15461 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15463 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15465 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"
15467 else $as_nop
15468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15469 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15471 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15473 OPENGL_LIBS="-lGL"
15475 if test "x$with_osmesa" != "xno"
15476 then
15477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15478 printf %s "checking for -lOSMesa... " >&6; }
15479 if test ${ac_cv_lib_soname_OSMesa+y}
15480 then :
15481 printf %s "(cached) " >&6
15482 else $as_nop
15483 ac_check_soname_save_LIBS=$LIBS
15484 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h. */
15488 /* Override any GCC internal prototype to avoid an error.
15489 Use char because int might match the return type of a GCC
15490 builtin and then its argument prototype would still apply. */
15491 char OSMesaGetProcAddress ();
15493 main (void)
15495 return OSMesaGetProcAddress ();
15497 return 0;
15499 _ACEOF
15500 if ac_fn_c_try_link "$LINENO"
15501 then :
15502 case "$LIBEXT" in
15503 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15504 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'` ;;
15505 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15506 if ${ac_cv_lib_soname_OSMesa:+false} :
15507 then :
15508 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15509 fi ;;
15510 esac
15511 else $as_nop
15512 ac_cv_lib_soname_OSMesa=
15514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15515 conftest$ac_exeext conftest.$ac_ext
15516 LIBS=$ac_check_soname_save_LIBS
15518 if ${ac_cv_lib_soname_OSMesa:+false} :
15519 then :
15520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15521 printf "%s\n" "not found" >&6; }
15523 else $as_nop
15524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15525 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15527 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15531 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15532 then :
15533 case "x$with_osmesa" in
15534 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15535 xno) ;;
15536 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15537 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15538 esac
15543 if test -n "$opengl_msg"
15544 then :
15545 case "x$with_opengl" in
15546 x) as_fn_append wine_warnings "|$opengl_msg
15547 OpenGL and Direct3D won't be supported." ;;
15548 xno) ;;
15549 *) as_fn_error $? "$opengl_msg
15550 OpenGL and Direct3D won't be supported.
15551 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15552 esac
15556 CPPFLAGS="$ac_save_CPPFLAGS"
15557 else
15558 X_CFLAGS=""
15559 X_LIBS=""
15562 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15563 then
15564 if test "x$X_LIBS" = "x"
15565 then :
15566 case "x$with_x" in
15567 xno) ;;
15568 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15569 without X support, which probably isn't what you want. You will need
15570 to install ${notice_platform}development packages of Xlib at the very least.
15571 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15572 esac
15573 enable_winex11_drv=${enable_winex11_drv:-no}
15575 else
15576 if test "x$X_LIBS" = "x"
15577 then :
15578 case "x$with_x" in
15579 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15580 xno) ;;
15581 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15582 This is an error since --with-x was requested." "$LINENO" 5 ;;
15583 esac
15584 enable_winex11_drv=${enable_winex11_drv:-no}
15588 if test "x$with_wayland" != "xno"
15589 then
15590 rm -f conftest.err
15591 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15592 then :
15593 if test ${PKG_CONFIG+y}
15594 then :
15595 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15599 if ${WAYLAND_CLIENT_LIBS:+false} :
15600 then :
15601 if test ${PKG_CONFIG+y}
15602 then :
15603 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15610 if test -s conftest.err; then
15611 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15612 cat conftest.err >&5
15614 rm -f conftest.err
15615 ac_save_CPPFLAGS=$CPPFLAGS
15616 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15617 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15618 if test "x$ac_cv_header_wayland_client_h" = xyes
15619 then :
15620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15621 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15622 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15623 then :
15624 printf %s "(cached) " >&6
15625 else $as_nop
15626 ac_check_lib_save_LIBS=$LIBS
15627 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15629 /* end confdefs.h. */
15631 /* Override any GCC internal prototype to avoid an error.
15632 Use char because int might match the return type of a GCC
15633 builtin and then its argument prototype would still apply. */
15634 char wl_display_connect ();
15636 main (void)
15638 return wl_display_connect ();
15640 return 0;
15642 _ACEOF
15643 if ac_fn_c_try_link "$LINENO"
15644 then :
15645 ac_cv_lib_wayland_client_wl_display_connect=yes
15646 else $as_nop
15647 ac_cv_lib_wayland_client_wl_display_connect=no
15649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15650 conftest$ac_exeext conftest.$ac_ext
15651 LIBS=$ac_check_lib_save_LIBS
15653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15654 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15655 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15656 then :
15657 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15658 set dummy wayland-scanner; ac_word=$2
15659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15660 printf %s "checking for $ac_word... " >&6; }
15661 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15662 then :
15663 printf %s "(cached) " >&6
15664 else $as_nop
15665 case $WAYLAND_SCANNER in
15666 [\\/]* | ?:[\\/]*)
15667 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15671 for as_dir in $PATH
15673 IFS=$as_save_IFS
15674 case $as_dir in #(((
15675 '') as_dir=./ ;;
15676 */) ;;
15677 *) as_dir=$as_dir/ ;;
15678 esac
15679 for ac_exec_ext in '' $ac_executable_extensions; do
15680 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15681 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15683 break 2
15685 done
15686 done
15687 IFS=$as_save_IFS
15689 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`"
15691 esac
15693 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15694 if test -n "$WAYLAND_SCANNER"; then
15695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15696 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15697 else
15698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15699 printf "%s\n" "no" >&6; }
15703 else $as_nop
15704 WAYLAND_CLIENT_LIBS=""
15709 CPPFLAGS=$ac_save_CPPFLAGS
15712 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15713 then :
15714 case "x$with_wayland" in
15715 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15716 xno) ;;
15717 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15718 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15719 esac
15720 enable_winewayland_drv=${enable_winewayland_drv:-no}
15723 if test "$ac_cv_header_CL_cl_h" = "yes"
15724 then
15725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15726 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15727 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15728 then :
15729 printf %s "(cached) " >&6
15730 else $as_nop
15731 ac_check_lib_save_LIBS=$LIBS
15732 LIBS="-lOpenCL $LIBS"
15733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15734 /* end confdefs.h. */
15736 /* Override any GCC internal prototype to avoid an error.
15737 Use char because int might match the return type of a GCC
15738 builtin and then its argument prototype would still apply. */
15739 char clGetPlatformInfo ();
15741 main (void)
15743 return clGetPlatformInfo ();
15745 return 0;
15747 _ACEOF
15748 if ac_fn_c_try_link "$LINENO"
15749 then :
15750 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15751 else $as_nop
15752 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15755 conftest$ac_exeext conftest.$ac_ext
15756 LIBS=$ac_check_lib_save_LIBS
15758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15759 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15760 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15761 then :
15762 OPENCL_LIBS="-lOpenCL"
15767 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15768 then :
15769 case "x$with_opencl" in
15770 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15771 xno) ;;
15772 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15773 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15774 esac
15775 enable_opencl=${enable_opencl:-no}
15778 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15779 then
15780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15781 printf %s "checking for pcap_init in -lpcap... " >&6; }
15782 if test ${ac_cv_lib_pcap_pcap_init+y}
15783 then :
15784 printf %s "(cached) " >&6
15785 else $as_nop
15786 ac_check_lib_save_LIBS=$LIBS
15787 LIBS="-lpcap $LIBS"
15788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15789 /* end confdefs.h. */
15791 /* Override any GCC internal prototype to avoid an error.
15792 Use char because int might match the return type of a GCC
15793 builtin and then its argument prototype would still apply. */
15794 char pcap_init ();
15796 main (void)
15798 return pcap_init ();
15800 return 0;
15802 _ACEOF
15803 if ac_fn_c_try_link "$LINENO"
15804 then :
15805 ac_cv_lib_pcap_pcap_init=yes
15806 else $as_nop
15807 ac_cv_lib_pcap_pcap_init=no
15809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15810 conftest$ac_exeext conftest.$ac_ext
15811 LIBS=$ac_check_lib_save_LIBS
15813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15814 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15815 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15816 then :
15817 PCAP_LIBS="-lpcap"
15822 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15823 then :
15824 case "x$with_pcap" in
15825 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15826 xno) ;;
15827 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15828 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15829 esac
15830 enable_wpcap=${enable_wpcap:-no}
15833 if test "x$with_pcsclite" != "xno"
15834 then
15835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15836 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15837 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15838 then :
15839 printf %s "(cached) " >&6
15840 else $as_nop
15841 ac_check_lib_save_LIBS=$LIBS
15842 LIBS="-lpcsclite $LIBS"
15843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15844 /* end confdefs.h. */
15846 /* Override any GCC internal prototype to avoid an error.
15847 Use char because int might match the return type of a GCC
15848 builtin and then its argument prototype would still apply. */
15849 char SCardEstablishContext ();
15851 main (void)
15853 return SCardEstablishContext ();
15855 return 0;
15857 _ACEOF
15858 if ac_fn_c_try_link "$LINENO"
15859 then :
15860 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15861 else $as_nop
15862 ac_cv_lib_pcsclite_SCardEstablishContext=no
15864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15865 conftest$ac_exeext conftest.$ac_ext
15866 LIBS=$ac_check_lib_save_LIBS
15868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15869 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15870 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15871 then :
15872 PCSCLITE_LIBS="-lpcsclite"
15874 else $as_nop
15875 case $host_os in
15876 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
15878 esac
15882 if test "x$PCSCLITE_LIBS" = x
15883 then :
15884 case "x$with_pcsclite" in
15885 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15886 xno) ;;
15887 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15888 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15889 esac
15890 enable_winscard=${enable_winscard:-no}
15893 if test "x$with_inotify" != "xno"
15894 then
15895 rm -f conftest.err
15896 if ${INOTIFY_CFLAGS:+false} :
15897 then :
15898 if test ${PKG_CONFIG+y}
15899 then :
15900 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15904 if ${INOTIFY_LIBS:+false} :
15905 then :
15906 if test ${PKG_CONFIG+y}
15907 then :
15908 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15913 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15915 if test -s conftest.err; then
15916 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15917 cat conftest.err >&5
15919 rm -f conftest.err
15920 ac_save_CPPFLAGS=$CPPFLAGS
15921 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15922 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15923 if test "x$ac_cv_header_sys_inotify_h" = xyes
15924 then :
15925 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15930 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15931 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15932 then :
15933 printf %s "(cached) " >&6
15934 else $as_nop
15935 ac_check_lib_save_LIBS=$LIBS
15936 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15940 /* Override any GCC internal prototype to avoid an error.
15941 Use char because int might match the return type of a GCC
15942 builtin and then its argument prototype would still apply. */
15943 char inotify_add_watch ();
15945 main (void)
15947 return inotify_add_watch ();
15949 return 0;
15951 _ACEOF
15952 if ac_fn_c_try_link "$LINENO"
15953 then :
15954 ac_cv_lib_inotify_inotify_add_watch=yes
15955 else $as_nop
15956 ac_cv_lib_inotify_inotify_add_watch=no
15958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15959 conftest$ac_exeext conftest.$ac_ext
15960 LIBS=$ac_check_lib_save_LIBS
15962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15963 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15964 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15965 then :
15967 else $as_nop
15968 INOTIFY_LIBS=""
15971 CPPFLAGS=$ac_save_CPPFLAGS
15974 if test "$ac_cv_header_sys_inotify_h" != "yes"
15975 then :
15976 case "x$with_inotify" in
15977 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15978 xno) ;;
15979 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15980 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15981 esac
15985 if test "x$with_dbus" != "xno"
15986 then
15987 rm -f conftest.err
15988 if ${DBUS_CFLAGS:+false} :
15989 then :
15990 if test ${PKG_CONFIG+y}
15991 then :
15992 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15996 if ${DBUS_LIBS:+false} :
15997 then :
15998 if test ${PKG_CONFIG+y}
15999 then :
16000 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16007 if test -s conftest.err; then
16008 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16009 cat conftest.err >&5
16011 rm -f conftest.err
16012 ac_save_CPPFLAGS=$CPPFLAGS
16013 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16014 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16015 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16016 then :
16017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16018 printf %s "checking for -ldbus-1... " >&6; }
16019 if test ${ac_cv_lib_soname_dbus_1+y}
16020 then :
16021 printf %s "(cached) " >&6
16022 else $as_nop
16023 ac_check_soname_save_LIBS=$LIBS
16024 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16026 /* end confdefs.h. */
16028 /* Override any GCC internal prototype to avoid an error.
16029 Use char because int might match the return type of a GCC
16030 builtin and then its argument prototype would still apply. */
16031 char dbus_connection_close ();
16033 main (void)
16035 return dbus_connection_close ();
16037 return 0;
16039 _ACEOF
16040 if ac_fn_c_try_link "$LINENO"
16041 then :
16042 case "$LIBEXT" in
16043 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16044 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'` ;;
16045 *) 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'`
16046 if ${ac_cv_lib_soname_dbus_1:+false} :
16047 then :
16048 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16049 fi ;;
16050 esac
16051 else $as_nop
16052 ac_cv_lib_soname_dbus_1=
16054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16055 conftest$ac_exeext conftest.$ac_ext
16056 LIBS=$ac_check_soname_save_LIBS
16058 if ${ac_cv_lib_soname_dbus_1:+false} :
16059 then :
16060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16061 printf "%s\n" "not found" >&6; }
16062 DBUS_CFLAGS=""
16063 else $as_nop
16064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16065 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16067 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16071 else $as_nop
16072 DBUS_CFLAGS=""
16075 CPPFLAGS=$ac_save_CPPFLAGS
16078 case $host_os in
16079 darwin*|macosx*) ;;
16080 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16081 then :
16082 case "x$with_dbus" in
16083 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16084 xno) ;;
16085 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16086 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16087 esac
16089 fi ;;
16090 esac
16092 if test "x$with_gnutls" != "xno"
16093 then
16094 rm -f conftest.err
16095 if ${GNUTLS_CFLAGS:+false} :
16096 then :
16097 if test ${PKG_CONFIG+y}
16098 then :
16099 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16103 if ${GNUTLS_LIBS:+false} :
16104 then :
16105 if test ${PKG_CONFIG+y}
16106 then :
16107 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16111 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16114 if test -s conftest.err; then
16115 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16116 cat conftest.err >&5
16118 rm -f conftest.err
16119 ac_save_CPPFLAGS=$CPPFLAGS
16120 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16121 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16122 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16123 then :
16124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16125 /* end confdefs.h. */
16126 #include <gnutls/gnutls.h>
16127 #include <gnutls/crypto.h>
16129 main (void)
16131 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16133 return 0;
16135 _ACEOF
16136 if ac_fn_c_try_compile "$LINENO"
16137 then :
16138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16139 printf %s "checking for -lgnutls... " >&6; }
16140 if test ${ac_cv_lib_soname_gnutls+y}
16141 then :
16142 printf %s "(cached) " >&6
16143 else $as_nop
16144 ac_check_soname_save_LIBS=$LIBS
16145 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16147 /* end confdefs.h. */
16149 /* Override any GCC internal prototype to avoid an error.
16150 Use char because int might match the return type of a GCC
16151 builtin and then its argument prototype would still apply. */
16152 char gnutls_global_init ();
16154 main (void)
16156 return gnutls_global_init ();
16158 return 0;
16160 _ACEOF
16161 if ac_fn_c_try_link "$LINENO"
16162 then :
16163 case "$LIBEXT" in
16164 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16165 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'` ;;
16166 *) 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'`
16167 if ${ac_cv_lib_soname_gnutls:+false} :
16168 then :
16169 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'`
16170 fi ;;
16171 esac
16172 else $as_nop
16173 ac_cv_lib_soname_gnutls=
16175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16176 conftest$ac_exeext conftest.$ac_ext
16177 LIBS=$ac_check_soname_save_LIBS
16179 if ${ac_cv_lib_soname_gnutls:+false} :
16180 then :
16181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16182 printf "%s\n" "not found" >&6; }
16183 GNUTLS_CFLAGS=""
16184 else $as_nop
16185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16186 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16188 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16192 ac_wine_check_funcs_save_LIBS="$LIBS"
16193 LIBS="$LIBS $GNUTLS_LIBS"
16195 for ac_func in gnutls_cipher_init
16196 do :
16197 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16198 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16199 then :
16200 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16202 else $as_nop
16203 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16206 done
16207 LIBS="$ac_wine_check_funcs_save_LIBS"
16209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16210 else $as_nop
16211 GNUTLS_CFLAGS=""
16214 CPPFLAGS=$ac_save_CPPFLAGS
16217 if test "x$ac_cv_lib_soname_gnutls" = "x"
16218 then :
16219 case "x$with_gnutls" in
16220 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16221 xno) ;;
16222 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16223 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16224 esac
16228 if test "x$with_sane" != "xno"
16229 then
16230 rm -f conftest.err
16231 if ${SANE_CFLAGS:+false} :
16232 then :
16233 if test ${PKG_CONFIG+y}
16234 then :
16235 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16238 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16239 if ${SANE_LIBS:+false} :
16240 then :
16241 if test ${PKG_CONFIG+y}
16242 then :
16243 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16246 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16250 if test -s conftest.err; then
16251 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16252 cat conftest.err >&5
16254 rm -f conftest.err
16255 ac_save_CPPFLAGS=$CPPFLAGS
16256 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16257 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16258 if test "x$ac_cv_header_sane_sane_h" = xyes
16259 then :
16260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16261 printf %s "checking for sane_init in -lsane... " >&6; }
16262 if test ${ac_cv_lib_sane_sane_init+y}
16263 then :
16264 printf %s "(cached) " >&6
16265 else $as_nop
16266 ac_check_lib_save_LIBS=$LIBS
16267 LIBS="-lsane $SANE_LIBS $LIBS"
16268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16269 /* end confdefs.h. */
16271 /* Override any GCC internal prototype to avoid an error.
16272 Use char because int might match the return type of a GCC
16273 builtin and then its argument prototype would still apply. */
16274 char sane_init ();
16276 main (void)
16278 return sane_init ();
16280 return 0;
16282 _ACEOF
16283 if ac_fn_c_try_link "$LINENO"
16284 then :
16285 ac_cv_lib_sane_sane_init=yes
16286 else $as_nop
16287 ac_cv_lib_sane_sane_init=no
16289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16290 conftest$ac_exeext conftest.$ac_ext
16291 LIBS=$ac_check_lib_save_LIBS
16293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16294 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16295 if test "x$ac_cv_lib_sane_sane_init" = xyes
16296 then :
16302 CPPFLAGS=$ac_save_CPPFLAGS
16305 if test "$ac_cv_lib_sane_sane_init" != "yes"
16306 then :
16307 case "x$with_sane" in
16308 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16309 xno) ;;
16310 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16311 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16312 esac
16313 enable_sane_ds=${enable_sane_ds:-no}
16316 if test "x$with_usb" != "xno"
16317 then
16318 rm -f conftest.err
16319 if ${USB_CFLAGS:+false} :
16320 then :
16321 if test ${PKG_CONFIG+y}
16322 then :
16323 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16327 if ${USB_LIBS:+false} :
16328 then :
16329 if test ${PKG_CONFIG+y}
16330 then :
16331 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16335 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16338 if test -s conftest.err; then
16339 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16340 cat conftest.err >&5
16342 rm -f conftest.err
16343 ac_save_CPPFLAGS=$CPPFLAGS
16344 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16345 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16346 if test "x$ac_cv_header_libusb_h" = xyes
16347 then :
16348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16349 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16350 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16351 then :
16352 printf %s "(cached) " >&6
16353 else $as_nop
16354 ac_check_lib_save_LIBS=$LIBS
16355 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16357 /* end confdefs.h. */
16359 /* Override any GCC internal prototype to avoid an error.
16360 Use char because int might match the return type of a GCC
16361 builtin and then its argument prototype would still apply. */
16362 char libusb_interrupt_event_handler ();
16364 main (void)
16366 return libusb_interrupt_event_handler ();
16368 return 0;
16370 _ACEOF
16371 if ac_fn_c_try_link "$LINENO"
16372 then :
16373 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16374 else $as_nop
16375 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16378 conftest$ac_exeext conftest.$ac_ext
16379 LIBS=$ac_check_lib_save_LIBS
16381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16382 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16383 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16384 then :
16386 else $as_nop
16387 USB_LIBS=""
16390 else $as_nop
16391 USB_LIBS=""
16394 CPPFLAGS=$ac_save_CPPFLAGS
16397 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16398 then :
16399 case "x$with_usb" in
16400 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16401 xno) ;;
16402 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16403 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16404 esac
16405 enable_wineusb_sys=${enable_wineusb_sys:-no}
16408 if test "x$with_v4l2" != "xno"
16409 then
16410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16411 printf %s "checking for -lv4l2... " >&6; }
16412 if test ${ac_cv_lib_soname_v4l2+y}
16413 then :
16414 printf %s "(cached) " >&6
16415 else $as_nop
16416 ac_check_soname_save_LIBS=$LIBS
16417 LIBS="-lv4l2 $LIBS"
16418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16421 /* Override any GCC internal prototype to avoid an error.
16422 Use char because int might match the return type of a GCC
16423 builtin and then its argument prototype would still apply. */
16424 char v4l2_open ();
16426 main (void)
16428 return v4l2_open ();
16430 return 0;
16432 _ACEOF
16433 if ac_fn_c_try_link "$LINENO"
16434 then :
16435 case "$LIBEXT" in
16436 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16437 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'` ;;
16438 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16439 if ${ac_cv_lib_soname_v4l2:+false} :
16440 then :
16441 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16442 fi ;;
16443 esac
16444 else $as_nop
16445 ac_cv_lib_soname_v4l2=
16447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16448 conftest$ac_exeext conftest.$ac_ext
16449 LIBS=$ac_check_soname_save_LIBS
16451 if ${ac_cv_lib_soname_v4l2:+false} :
16452 then :
16453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16454 printf "%s\n" "not found" >&6; }
16456 else $as_nop
16457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16458 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16460 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16465 if test "x$ac_cv_lib_soname_v4l2" = "x"
16466 then :
16467 case "x$with_v4l2" in
16468 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16469 xno) ;;
16470 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16471 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16472 esac
16476 if test "x$with_gphoto" != "xno"
16477 then
16478 rm -f conftest.err
16479 if ${GPHOTO2_CFLAGS:+false} :
16480 then :
16481 if test ${PKG_CONFIG+y}
16482 then :
16483 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16486 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16487 if ${GPHOTO2_LIBS:+false} :
16488 then :
16489 if test ${PKG_CONFIG+y}
16490 then :
16491 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16494 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16495 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16498 if test -s conftest.err; then
16499 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16500 cat conftest.err >&5
16502 rm -f conftest.err
16503 ac_save_CPPFLAGS=$CPPFLAGS
16504 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16505 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16506 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16507 then :
16508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16509 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16510 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16511 then :
16512 printf %s "(cached) " >&6
16513 else $as_nop
16514 ac_check_lib_save_LIBS=$LIBS
16515 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16517 /* end confdefs.h. */
16519 /* Override any GCC internal prototype to avoid an error.
16520 Use char because int might match the return type of a GCC
16521 builtin and then its argument prototype would still apply. */
16522 char gp_camera_new ();
16524 main (void)
16526 return gp_camera_new ();
16528 return 0;
16530 _ACEOF
16531 if ac_fn_c_try_link "$LINENO"
16532 then :
16533 ac_cv_lib_gphoto2_gp_camera_new=yes
16534 else $as_nop
16535 ac_cv_lib_gphoto2_gp_camera_new=no
16537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16538 conftest$ac_exeext conftest.$ac_ext
16539 LIBS=$ac_check_lib_save_LIBS
16541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16542 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16543 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16544 then :
16550 CPPFLAGS=$ac_save_CPPFLAGS
16552 rm -f conftest.err
16553 if ${GPHOTO2_PORT_CFLAGS:+false} :
16554 then :
16555 if test ${PKG_CONFIG+y}
16556 then :
16557 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16560 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16561 if ${GPHOTO2_PORT_LIBS:+false} :
16562 then :
16563 if test ${PKG_CONFIG+y}
16564 then :
16565 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16568 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16569 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16572 if test -s conftest.err; then
16573 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16574 cat conftest.err >&5
16576 rm -f conftest.err
16577 ac_save_CPPFLAGS=$CPPFLAGS
16578 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16579 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16580 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16581 then :
16582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16583 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16584 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16585 then :
16586 printf %s "(cached) " >&6
16587 else $as_nop
16588 ac_check_lib_save_LIBS=$LIBS
16589 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16593 /* Override any GCC internal prototype to avoid an error.
16594 Use char because int might match the return type of a GCC
16595 builtin and then its argument prototype would still apply. */
16596 char gp_port_info_list_new ();
16598 main (void)
16600 return gp_port_info_list_new ();
16602 return 0;
16604 _ACEOF
16605 if ac_fn_c_try_link "$LINENO"
16606 then :
16607 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16608 else $as_nop
16609 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16612 conftest$ac_exeext conftest.$ac_ext
16613 LIBS=$ac_check_lib_save_LIBS
16615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16616 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16617 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16618 then :
16620 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16622 else $as_nop
16623 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16626 else $as_nop
16627 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16630 CPPFLAGS=$ac_save_CPPFLAGS
16633 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16634 then :
16635 case "x$with_gphoto" in
16636 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16637 xno) ;;
16638 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16639 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16640 esac
16641 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16643 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16644 then :
16645 case "x$with_gphoto" in
16646 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16647 xno) ;;
16648 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16649 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16650 esac
16655 if test "$ac_cv_header_resolv_h" = "yes"
16656 then
16657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16658 printf %s "checking for resolver library... " >&6; }
16659 if test ${ac_cv_have_resolv+y}
16660 then :
16661 printf %s "(cached) " >&6
16662 else $as_nop
16663 ac_save_LIBS="$LIBS"
16664 for lib in '' -lresolv
16666 LIBS="$lib $ac_save_LIBS"
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16669 #ifdef HAVE_NETINET_IN_H
16670 #include <netinet/in.h>
16671 #endif
16672 #include <resolv.h>
16674 main (void)
16676 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16678 return 0;
16680 _ACEOF
16681 if ac_fn_c_try_link "$LINENO"
16682 then :
16683 ac_cv_have_resolv=${lib:-"none required"}
16684 else $as_nop
16685 ac_cv_have_resolv="not found"
16687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16688 conftest$ac_exeext conftest.$ac_ext
16689 test "x$ac_cv_have_resolv" = "xnot found" || break
16690 done
16691 LIBS="$ac_save_LIBS"
16693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16694 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16696 case "$ac_cv_have_resolv" in
16697 "not found") ;;
16698 "none required")
16700 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16703 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16705 RESOLV_LIBS=$ac_cv_have_resolv
16707 esac
16709 if test "x$ac_cv_have_resolv" != "xnot found"
16710 then
16711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16712 printf %s "checking for res_getservers... " >&6; }
16713 if test ${ac_cv_have_res_getservers+y}
16714 then :
16715 printf %s "(cached) " >&6
16716 else $as_nop
16717 ac_save_LIBS="$LIBS"
16718 LIBS="$RESOLV_LIBS $LIBS"
16719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16720 /* end confdefs.h. */
16721 #include <resolv.h>
16723 main (void)
16725 res_getservers(NULL, NULL, 0);
16727 return 0;
16729 _ACEOF
16730 if ac_fn_c_try_link "$LINENO"
16731 then :
16732 ac_cv_have_res_getservers=yes
16733 else $as_nop
16734 ac_cv_have_res_getservers=no
16736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16737 conftest$ac_exeext conftest.$ac_ext
16738 LIBS="$ac_save_LIBS"
16740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16741 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16742 if test "$ac_cv_have_res_getservers" = "yes"
16743 then
16745 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16751 if test "x$with_freetype" != "xno"
16752 then
16753 rm -f conftest.err
16754 if ${FREETYPE_CFLAGS:+false} :
16755 then :
16756 if test ${PKG_CONFIG+y}
16757 then :
16758 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16761 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16762 if ${FREETYPE_LIBS:+false} :
16763 then :
16764 if test ${PKG_CONFIG+y}
16765 then :
16766 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16769 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16770 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16773 if test -s conftest.err; then
16774 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16775 cat conftest.err >&5
16777 rm -f conftest.err
16778 ac_save_CPPFLAGS=$CPPFLAGS
16779 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16780 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16781 if test "x$ac_cv_header_ft2build_h" = xyes
16782 then :
16783 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16787 if test "$ac_cv_header_ft2build_h" = "yes"
16788 then
16789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16790 printf %s "checking for -lfreetype... " >&6; }
16791 if test ${ac_cv_lib_soname_freetype+y}
16792 then :
16793 printf %s "(cached) " >&6
16794 else $as_nop
16795 ac_check_soname_save_LIBS=$LIBS
16796 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16798 /* end confdefs.h. */
16800 /* Override any GCC internal prototype to avoid an error.
16801 Use char because int might match the return type of a GCC
16802 builtin and then its argument prototype would still apply. */
16803 char FT_Init_FreeType ();
16805 main (void)
16807 return FT_Init_FreeType ();
16809 return 0;
16811 _ACEOF
16812 if ac_fn_c_try_link "$LINENO"
16813 then :
16814 case "$LIBEXT" in
16815 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16816 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'` ;;
16817 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16818 if ${ac_cv_lib_soname_freetype:+false} :
16819 then :
16820 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16821 fi ;;
16822 esac
16823 else $as_nop
16824 ac_cv_lib_soname_freetype=
16826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16827 conftest$ac_exeext conftest.$ac_ext
16828 LIBS=$ac_check_soname_save_LIBS
16830 if ${ac_cv_lib_soname_freetype:+false} :
16831 then :
16832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16833 printf "%s\n" "not found" >&6; }
16834 FREETYPE_LIBS=""
16835 else $as_nop
16836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16837 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16839 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16842 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16844 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16845 #include FT_MODULE_H
16847 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16848 then :
16850 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16856 else
16857 FREETYPE_CFLAGS=""
16858 FREETYPE_LIBS=""
16860 CPPFLAGS=$ac_save_CPPFLAGS
16863 if test "x$ac_cv_lib_soname_freetype" = x
16864 then :
16865 case "x$with_freetype" in
16866 xno) ;;
16867 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16868 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16869 esac
16870 enable_fonts=${enable_fonts:-no}
16873 ac_wine_check_funcs_save_LIBS="$LIBS"
16874 LIBS="$LIBS $PTHREAD_LIBS"
16875 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16876 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16877 then :
16878 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16882 LIBS="$ac_wine_check_funcs_save_LIBS"
16884 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16885 then
16886 if test "$ac_cv_header_gettext_po_h" = "yes"
16887 then
16888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16889 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16890 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16891 then :
16892 printf %s "(cached) " >&6
16893 else $as_nop
16894 ac_check_lib_save_LIBS=$LIBS
16895 LIBS="-lgettextpo $LIBS"
16896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16897 /* end confdefs.h. */
16899 /* Override any GCC internal prototype to avoid an error.
16900 Use char because int might match the return type of a GCC
16901 builtin and then its argument prototype would still apply. */
16902 char po_message_msgctxt ();
16904 main (void)
16906 return po_message_msgctxt ();
16908 return 0;
16910 _ACEOF
16911 if ac_fn_c_try_link "$LINENO"
16912 then :
16913 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16914 else $as_nop
16915 ac_cv_lib_gettextpo_po_message_msgctxt=no
16917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16918 conftest$ac_exeext conftest.$ac_ext
16919 LIBS=$ac_check_lib_save_LIBS
16921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16922 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16923 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16924 then :
16926 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16928 GETTEXTPO_LIBS="-lgettextpo"
16933 if test "x$GETTEXTPO_LIBS" = "x"
16934 then :
16935 case "x$with_gettextpo" in
16936 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16937 xno) ;;
16938 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16939 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16940 esac
16943 if test "$srcdir" != .
16944 then :
16945 case "x$with_gettextpo" in
16946 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16947 xno) ;;
16948 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16949 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16950 esac
16955 if test "x$with_pulse" != "xno";
16956 then
16957 rm -f conftest.err
16958 if ${PULSE_CFLAGS:+false} :
16959 then :
16960 if test ${PKG_CONFIG+y}
16961 then :
16962 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16966 if ${PULSE_LIBS:+false} :
16967 then :
16968 if test ${PKG_CONFIG+y}
16969 then :
16970 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16977 if test -s conftest.err; then
16978 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16979 cat conftest.err >&5
16981 rm -f conftest.err
16982 ac_save_CPPFLAGS=$CPPFLAGS
16983 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16984 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16985 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16986 then :
16987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16988 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16989 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16990 then :
16991 printf %s "(cached) " >&6
16992 else $as_nop
16993 ac_check_lib_save_LIBS=$LIBS
16994 LIBS="-lpulse $PULSE_LIBS $LIBS"
16995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16996 /* end confdefs.h. */
16998 /* Override any GCC internal prototype to avoid an error.
16999 Use char because int might match the return type of a GCC
17000 builtin and then its argument prototype would still apply. */
17001 char pa_stream_is_corked ();
17003 main (void)
17005 return pa_stream_is_corked ();
17007 return 0;
17009 _ACEOF
17010 if ac_fn_c_try_link "$LINENO"
17011 then :
17012 ac_cv_lib_pulse_pa_stream_is_corked=yes
17013 else $as_nop
17014 ac_cv_lib_pulse_pa_stream_is_corked=no
17016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17017 conftest$ac_exeext conftest.$ac_ext
17018 LIBS=$ac_check_lib_save_LIBS
17020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17021 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17022 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17023 then :
17025 else $as_nop
17026 PULSE_LIBS=""
17029 else $as_nop
17030 PULSE_LIBS=""
17033 CPPFLAGS=$ac_save_CPPFLAGS
17036 if test -z "$PULSE_LIBS"
17037 then :
17038 case "x$with_pulse" in
17039 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17040 xno) ;;
17041 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17042 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17043 esac
17044 enable_winepulse_drv=${enable_winepulse_drv:-no}
17047 if test "x$with_gstreamer" != "xno"
17048 then
17049 rm -f conftest.err
17050 if ${GSTREAMER_CFLAGS:+false} :
17051 then :
17052 if test ${PKG_CONFIG+y}
17053 then :
17054 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17058 if ${GSTREAMER_LIBS:+false} :
17059 then :
17060 if test ${PKG_CONFIG+y}
17061 then :
17062 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17067 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
17068 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
17069 if test -s conftest.err; then
17070 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17071 cat conftest.err >&5
17073 rm -f conftest.err
17074 ac_save_CPPFLAGS=$CPPFLAGS
17075 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17076 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17077 if test "x$ac_cv_header_gst_gst_h" = xyes
17078 then :
17079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17080 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17082 /* end confdefs.h. */
17083 #include <gst/gst.h>
17085 main (void)
17087 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17089 return 0;
17091 _ACEOF
17092 if ac_fn_c_try_compile "$LINENO"
17093 then :
17094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17095 printf "%s\n" "yes" >&6; }
17096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17097 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17098 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17099 then :
17100 printf %s "(cached) " >&6
17101 else $as_nop
17102 ac_check_lib_save_LIBS=$LIBS
17103 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17105 /* end confdefs.h. */
17107 /* Override any GCC internal prototype to avoid an error.
17108 Use char because int might match the return type of a GCC
17109 builtin and then its argument prototype would still apply. */
17110 char gst_pad_new ();
17112 main (void)
17114 return gst_pad_new ();
17116 return 0;
17118 _ACEOF
17119 if ac_fn_c_try_link "$LINENO"
17120 then :
17121 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17122 else $as_nop
17123 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17126 conftest$ac_exeext conftest.$ac_ext
17127 LIBS=$ac_check_lib_save_LIBS
17129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17130 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17131 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17132 then :
17136 else $as_nop
17137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17138 printf "%s\n" "no" >&6; }
17139 ac_glib2_broken=yes
17140 enable_winegstreamer=${enable_winegstreamer:-no}
17141 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17146 CPPFLAGS=$ac_save_CPPFLAGS
17149 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17150 then :
17151 case "x$with_gstreamer" in
17152 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17153 xno) ;;
17154 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17155 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17156 esac
17157 enable_winegstreamer=${enable_winegstreamer:-no}
17160 ALSA_LIBS=""
17162 if test "x$with_alsa" != "xno"
17163 then
17164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17165 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17166 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17167 then :
17168 printf %s "(cached) " >&6
17169 else $as_nop
17170 ac_check_lib_save_LIBS=$LIBS
17171 LIBS="-lasound $LIBS"
17172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17175 /* Override any GCC internal prototype to avoid an error.
17176 Use char because int might match the return type of a GCC
17177 builtin and then its argument prototype would still apply. */
17178 char snd_pcm_hw_params_get_access_mask ();
17180 main (void)
17182 return snd_pcm_hw_params_get_access_mask ();
17184 return 0;
17186 _ACEOF
17187 if ac_fn_c_try_link "$LINENO"
17188 then :
17189 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17190 else $as_nop
17191 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17194 conftest$ac_exeext conftest.$ac_ext
17195 LIBS=$ac_check_lib_save_LIBS
17197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17198 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17199 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17200 then :
17201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17202 /* end confdefs.h. */
17203 #include <alsa/asoundlib.h>
17205 main (void)
17207 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17209 return 0;
17211 _ACEOF
17212 if ac_fn_c_try_compile "$LINENO"
17213 then :
17214 ALSA_LIBS="-lasound"
17216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17220 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17222 if test "x$with_oss" != xno
17223 then
17224 ac_save_CPPFLAGS="$CPPFLAGS"
17225 if test -f /etc/oss.conf
17226 then
17227 . /etc/oss.conf
17229 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17230 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17231 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17232 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17233 then :
17234 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17236 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17237 then :
17239 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17241 OSS4_CFLAGS="$ac_oss_incl"
17243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17244 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17245 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17246 then :
17247 printf %s "(cached) " >&6
17248 else $as_nop
17249 ac_check_lib_save_LIBS=$LIBS
17250 LIBS="-lossaudio $LIBS"
17251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17254 /* Override any GCC internal prototype to avoid an error.
17255 Use char because int might match the return type of a GCC
17256 builtin and then its argument prototype would still apply. */
17257 char _oss_ioctl ();
17259 main (void)
17261 return _oss_ioctl ();
17263 return 0;
17265 _ACEOF
17266 if ac_fn_c_try_link "$LINENO"
17267 then :
17268 ac_cv_lib_ossaudio__oss_ioctl=yes
17269 else $as_nop
17270 ac_cv_lib_ossaudio__oss_ioctl=no
17272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17273 conftest$ac_exeext conftest.$ac_ext
17274 LIBS=$ac_check_lib_save_LIBS
17276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17277 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17278 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17279 then :
17280 OSS4_LIBS="-lossaudio"
17288 CPPFLAGS="$ac_save_CPPFLAGS"
17290 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17291 then :
17292 case "x$with_oss" in
17293 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17294 xno) ;;
17295 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17296 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17297 esac
17298 enable_wineoss_drv=${enable_wineoss_drv:-no}
17301 if test "x$with_udev" != "xno"
17302 then
17303 rm -f conftest.err
17304 if ${UDEV_CFLAGS:+false} :
17305 then :
17306 if test ${PKG_CONFIG+y}
17307 then :
17308 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17312 if ${UDEV_LIBS:+false} :
17313 then :
17314 if test ${PKG_CONFIG+y}
17315 then :
17316 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17320 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17323 if test -s conftest.err; then
17324 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17325 cat conftest.err >&5
17327 rm -f conftest.err
17328 ac_save_CPPFLAGS=$CPPFLAGS
17329 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17330 for ac_header in libudev.h
17331 do :
17332 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17333 if test "x$ac_cv_header_libudev_h" = xyes
17334 then :
17335 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17337 printf %s "checking for udev_new in -ludev... " >&6; }
17338 if test ${ac_cv_lib_udev_udev_new+y}
17339 then :
17340 printf %s "(cached) " >&6
17341 else $as_nop
17342 ac_check_lib_save_LIBS=$LIBS
17343 LIBS="-ludev $UDEV_LIBS $LIBS"
17344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17345 /* end confdefs.h. */
17347 /* Override any GCC internal prototype to avoid an error.
17348 Use char because int might match the return type of a GCC
17349 builtin and then its argument prototype would still apply. */
17350 char udev_new ();
17352 main (void)
17354 return udev_new ();
17356 return 0;
17358 _ACEOF
17359 if ac_fn_c_try_link "$LINENO"
17360 then :
17361 ac_cv_lib_udev_udev_new=yes
17362 else $as_nop
17363 ac_cv_lib_udev_udev_new=no
17365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17366 conftest$ac_exeext conftest.$ac_ext
17367 LIBS=$ac_check_lib_save_LIBS
17369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17370 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17371 if test "x$ac_cv_lib_udev_udev_new" = xyes
17372 then :
17374 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17376 else $as_nop
17377 UDEV_LIBS=""
17380 else $as_nop
17381 UDEV_LIBS=""
17384 done
17385 CPPFLAGS=$ac_save_CPPFLAGS
17388 if test "x$UDEV_LIBS" = "x"
17389 then :
17390 case "x$with_udev" in
17391 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17392 xno) ;;
17393 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17394 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17395 esac
17399 if test "x$with_unwind" != xno
17400 then
17401 rm -f conftest.err
17402 if ${UNWIND_CFLAGS:+false} :
17403 then :
17404 if test ${PKG_CONFIG+y}
17405 then :
17406 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17410 if ${UNWIND_LIBS:+false} :
17411 then :
17412 if test ${PKG_CONFIG+y}
17413 then :
17414 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17418 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17421 if test -s conftest.err; then
17422 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17423 cat conftest.err >&5
17425 rm -f conftest.err
17426 ac_save_CPPFLAGS=$CPPFLAGS
17427 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17429 printf %s "checking for unw_step... " >&6; }
17430 if test ${wine_cv_have_unw_step+y}
17431 then :
17432 printf %s "(cached) " >&6
17433 else $as_nop
17434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17435 /* end confdefs.h. */
17436 #define UNW_LOCAL_ONLY
17437 #include <libunwind.h>
17439 main (void)
17441 unw_cursor_t cursor; unw_step( &cursor );
17443 return 0;
17445 _ACEOF
17446 if ac_fn_c_try_link "$LINENO"
17447 then :
17448 wine_cv_have_unw_step="yes"
17449 else $as_nop
17450 wine_cv_have_unw_step="no"
17452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17453 conftest$ac_exeext conftest.$ac_ext
17455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17456 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17457 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17458 then
17459 save_libs=$LIBS
17460 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17461 LIBS="$UNWIND_LIBS $LIBS"
17462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17463 printf %s "checking for unw_step in libunwind... " >&6; }
17464 if test ${wine_cv_have_libunwind_unw_step+y}
17465 then :
17466 printf %s "(cached) " >&6
17467 else $as_nop
17468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h. */
17470 #define UNW_LOCAL_ONLY
17471 #include <libunwind.h>
17473 main (void)
17475 unw_cursor_t cursor; unw_step( &cursor );
17477 return 0;
17479 _ACEOF
17480 if ac_fn_c_try_link "$LINENO"
17481 then :
17482 wine_cv_have_libunwind_unw_step="yes"
17483 else $as_nop
17484 wine_cv_have_libunwind_unw_step="no"
17486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17487 conftest$ac_exeext conftest.$ac_ext
17489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17490 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17491 LIBS=$save_libs
17493 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17494 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17495 then
17497 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17500 CPPFLAGS=$ac_save_CPPFLAGS
17503 case $host in
17504 aarch64*|*-darwin*)
17505 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17506 then :
17507 case "x$with_unwind" in
17508 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17509 xno) ;;
17510 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17511 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17512 esac
17514 fi ;;
17515 esac
17517 if test "x$with_sdl" != "xno"
17518 then
17519 rm -f conftest.err
17520 if ${SDL2_CFLAGS:+false} :
17521 then :
17522 if test ${PKG_CONFIG+y}
17523 then :
17524 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17528 if ${SDL2_LIBS:+false} :
17529 then :
17530 if test ${PKG_CONFIG+y}
17531 then :
17532 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17536 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17537 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17538 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17539 if test -s conftest.err; then
17540 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17541 cat conftest.err >&5
17543 rm -f conftest.err
17544 ac_save_CPPFLAGS=$CPPFLAGS
17545 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17546 for ac_header in SDL.h
17547 do :
17548 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17549 if test "x$ac_cv_header_SDL_h" = xyes
17550 then :
17551 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17553 printf %s "checking for -lSDL2... " >&6; }
17554 if test ${ac_cv_lib_soname_SDL2+y}
17555 then :
17556 printf %s "(cached) " >&6
17557 else $as_nop
17558 ac_check_soname_save_LIBS=$LIBS
17559 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17563 /* Override any GCC internal prototype to avoid an error.
17564 Use char because int might match the return type of a GCC
17565 builtin and then its argument prototype would still apply. */
17566 char SDL_Init ();
17568 main (void)
17570 return SDL_Init ();
17572 return 0;
17574 _ACEOF
17575 if ac_fn_c_try_link "$LINENO"
17576 then :
17577 case "$LIBEXT" in
17578 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17579 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'` ;;
17580 *) 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'`
17581 if ${ac_cv_lib_soname_SDL2:+false} :
17582 then :
17583 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17584 fi ;;
17585 esac
17586 else $as_nop
17587 ac_cv_lib_soname_SDL2=
17589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17590 conftest$ac_exeext conftest.$ac_ext
17591 LIBS=$ac_check_soname_save_LIBS
17593 if ${ac_cv_lib_soname_SDL2:+false} :
17594 then :
17595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17596 printf "%s\n" "not found" >&6; }
17598 else $as_nop
17599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17600 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17602 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17608 done
17609 CPPFLAGS=$ac_save_CPPFLAGS
17612 if test "x$ac_cv_lib_soname_SDL2" = "x"
17613 then :
17614 case "x$with_sdl" in
17615 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17616 xno) ;;
17617 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17618 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17619 esac
17623 if test "x$with_capi" != "xno"
17624 then
17625 rm -f conftest.err
17626 if ${CAPI20_CFLAGS:+false} :
17627 then :
17628 if test ${PKG_CONFIG+y}
17629 then :
17630 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17634 if ${CAPI20_LIBS:+false} :
17635 then :
17636 if test ${PKG_CONFIG+y}
17637 then :
17638 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17645 if test -s conftest.err; then
17646 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17647 cat conftest.err >&5
17649 rm -f conftest.err
17650 ac_save_CPPFLAGS=$CPPFLAGS
17651 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17652 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17654 if test "x$ac_cv_header_capi20_h" = xyes
17655 then :
17656 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17659 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17661 if test "x$ac_cv_header_linux_capi_h" = xyes
17662 then :
17663 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17667 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17668 then
17669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17670 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17671 if test ${ac_cv_lib_capi20_capi20_register+y}
17672 then :
17673 printf %s "(cached) " >&6
17674 else $as_nop
17675 ac_check_lib_save_LIBS=$LIBS
17676 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h. */
17680 /* Override any GCC internal prototype to avoid an error.
17681 Use char because int might match the return type of a GCC
17682 builtin and then its argument prototype would still apply. */
17683 char capi20_register ();
17685 main (void)
17687 return capi20_register ();
17689 return 0;
17691 _ACEOF
17692 if ac_fn_c_try_link "$LINENO"
17693 then :
17694 ac_cv_lib_capi20_capi20_register=yes
17695 else $as_nop
17696 ac_cv_lib_capi20_capi20_register=no
17698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17699 conftest$ac_exeext conftest.$ac_ext
17700 LIBS=$ac_check_lib_save_LIBS
17702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17703 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17704 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17705 then :
17707 else $as_nop
17708 CAPI20_LIBS=""
17712 CPPFLAGS=$ac_save_CPPFLAGS
17715 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17716 then :
17717 case "x$with_capi" in
17718 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17719 xno) ;;
17720 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17721 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17722 esac
17723 enable_capi2032=${enable_capi2032:-no}
17726 if test "x$with_cups" != "xno"
17727 then
17728 rm -f conftest.err
17729 if ${CUPS_CFLAGS:+false} :
17730 then :
17731 if test ${PKG_CONFIG+y}
17732 then :
17733 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17736 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17737 if ${CUPS_LIBS:+false} :
17738 then :
17739 if test ${PKG_CONFIG+y}
17740 then :
17741 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17744 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17745 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17748 if test -s conftest.err; then
17749 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17750 cat conftest.err >&5
17752 rm -f conftest.err
17753 ac_save_CPPFLAGS=$CPPFLAGS
17754 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17755 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17756 if test "x$ac_cv_header_cups_cups_h" = xyes
17757 then :
17758 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17761 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17762 if test "x$ac_cv_header_cups_ppd_h" = xyes
17763 then :
17764 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17768 if test "$ac_cv_header_cups_cups_h" = "yes"
17769 then
17770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17771 printf %s "checking for -lcups... " >&6; }
17772 if test ${ac_cv_lib_soname_cups+y}
17773 then :
17774 printf %s "(cached) " >&6
17775 else $as_nop
17776 ac_check_soname_save_LIBS=$LIBS
17777 LIBS="-lcups $CUPS_LIBS $LIBS"
17778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17779 /* end confdefs.h. */
17781 /* Override any GCC internal prototype to avoid an error.
17782 Use char because int might match the return type of a GCC
17783 builtin and then its argument prototype would still apply. */
17784 char cupsGetDefault ();
17786 main (void)
17788 return cupsGetDefault ();
17790 return 0;
17792 _ACEOF
17793 if ac_fn_c_try_link "$LINENO"
17794 then :
17795 case "$LIBEXT" in
17796 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17797 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'` ;;
17798 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17799 if ${ac_cv_lib_soname_cups:+false} :
17800 then :
17801 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17802 fi ;;
17803 esac
17804 else $as_nop
17805 ac_cv_lib_soname_cups=
17807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17808 conftest$ac_exeext conftest.$ac_ext
17809 LIBS=$ac_check_soname_save_LIBS
17811 if ${ac_cv_lib_soname_cups:+false} :
17812 then :
17813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17814 printf "%s\n" "not found" >&6; }
17815 CUPS_LIBS=""
17816 else $as_nop
17817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17818 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17820 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17824 else
17825 CUPS_CFLAGS=""
17826 CUPS_LIBS=""
17828 CPPFLAGS=$ac_save_CPPFLAGS
17831 if test "x$ac_cv_lib_soname_cups" = "x"
17832 then :
17833 case "x$with_cups" in
17834 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17835 xno) ;;
17836 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17837 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17838 esac
17842 if test "x$with_fontconfig" != "xno"
17843 then
17844 rm -f conftest.err
17845 if ${FONTCONFIG_CFLAGS:+false} :
17846 then :
17847 if test ${PKG_CONFIG+y}
17848 then :
17849 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17852 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17853 if ${FONTCONFIG_LIBS:+false} :
17854 then :
17855 if test ${PKG_CONFIG+y}
17856 then :
17857 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17860 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17864 if test -s conftest.err; then
17865 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17866 cat conftest.err >&5
17868 rm -f conftest.err
17869 ac_save_CPPFLAGS=$CPPFLAGS
17870 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17871 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17872 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17873 then :
17874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17875 printf %s "checking for -lfontconfig... " >&6; }
17876 if test ${ac_cv_lib_soname_fontconfig+y}
17877 then :
17878 printf %s "(cached) " >&6
17879 else $as_nop
17880 ac_check_soname_save_LIBS=$LIBS
17881 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17883 /* end confdefs.h. */
17885 /* Override any GCC internal prototype to avoid an error.
17886 Use char because int might match the return type of a GCC
17887 builtin and then its argument prototype would still apply. */
17888 char FcInit ();
17890 main (void)
17892 return FcInit ();
17894 return 0;
17896 _ACEOF
17897 if ac_fn_c_try_link "$LINENO"
17898 then :
17899 case "$LIBEXT" in
17900 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17901 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'` ;;
17902 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17903 if ${ac_cv_lib_soname_fontconfig:+false} :
17904 then :
17905 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17906 fi ;;
17907 esac
17908 else $as_nop
17909 ac_cv_lib_soname_fontconfig=
17911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17912 conftest$ac_exeext conftest.$ac_ext
17913 LIBS=$ac_check_soname_save_LIBS
17915 if ${ac_cv_lib_soname_fontconfig:+false} :
17916 then :
17917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17918 printf "%s\n" "not found" >&6; }
17919 FONTCONFIG_CFLAGS=""
17920 else $as_nop
17921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17922 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17924 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17928 else $as_nop
17929 FONTCONFIG_CFLAGS=""
17932 CPPFLAGS=$ac_save_CPPFLAGS
17935 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17936 then :
17937 case "x$with_fontconfig" in
17938 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17939 xno) ;;
17940 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17941 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17942 esac
17946 if test "x$with_krb5" != "xno"
17947 then
17948 rm -f conftest.err
17949 if ${KRB5_CFLAGS:+false} :
17950 then :
17951 if test ${PKG_CONFIG+y}
17952 then :
17953 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17956 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17957 if ${KRB5_LIBS:+false} :
17958 then :
17959 if test ${PKG_CONFIG+y}
17960 then :
17961 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17964 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17968 if test -s conftest.err; then
17969 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17970 cat conftest.err >&5
17972 rm -f conftest.err
17973 ac_save_CPPFLAGS=$CPPFLAGS
17974 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17975 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17976 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17977 then :
17978 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17982 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17983 then
17984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17985 printf %s "checking for -lkrb5... " >&6; }
17986 if test ${ac_cv_lib_soname_krb5+y}
17987 then :
17988 printf %s "(cached) " >&6
17989 else $as_nop
17990 ac_check_soname_save_LIBS=$LIBS
17991 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17993 /* end confdefs.h. */
17995 /* Override any GCC internal prototype to avoid an error.
17996 Use char because int might match the return type of a GCC
17997 builtin and then its argument prototype would still apply. */
17998 char krb5_is_config_principal ();
18000 main (void)
18002 return krb5_is_config_principal ();
18004 return 0;
18006 _ACEOF
18007 if ac_fn_c_try_link "$LINENO"
18008 then :
18009 case "$LIBEXT" in
18010 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18011 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'` ;;
18012 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18013 if ${ac_cv_lib_soname_krb5:+false} :
18014 then :
18015 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18016 fi ;;
18017 esac
18018 else $as_nop
18019 ac_cv_lib_soname_krb5=
18021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18022 conftest$ac_exeext conftest.$ac_ext
18023 LIBS=$ac_check_soname_save_LIBS
18025 if ${ac_cv_lib_soname_krb5:+false} :
18026 then :
18027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18028 printf "%s\n" "not found" >&6; }
18029 KRB5_CFLAGS=""
18030 else $as_nop
18031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18032 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18034 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18038 else
18039 KRB5_CFLAGS=""
18041 CPPFLAGS=$ac_save_CPPFLAGS
18044 if test "x$ac_cv_lib_soname_krb5" = "x"
18045 then :
18046 case "x$with_krb5" in
18047 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18048 xno) ;;
18049 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18050 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18051 esac
18054 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18056 if test "x$with_gssapi" != "xno"
18057 then
18058 rm -f conftest.err
18059 if ${GSSAPI_CFLAGS:+false} :
18060 then :
18061 if test ${PKG_CONFIG+y}
18062 then :
18063 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18066 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18067 if ${GSSAPI_LIBS:+false} :
18068 then :
18069 if test ${PKG_CONFIG+y}
18070 then :
18071 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18074 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18078 if test -s conftest.err; then
18079 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18080 cat conftest.err >&5
18082 rm -f conftest.err
18083 ac_save_CPPFLAGS=$CPPFLAGS
18084 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18085 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18086 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18087 then :
18088 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18091 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18092 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18093 then :
18094 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18098 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18099 then
18100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18101 printf %s "checking for -lgssapi_krb5... " >&6; }
18102 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18103 then :
18104 printf %s "(cached) " >&6
18105 else $as_nop
18106 ac_check_soname_save_LIBS=$LIBS
18107 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18109 /* end confdefs.h. */
18111 /* Override any GCC internal prototype to avoid an error.
18112 Use char because int might match the return type of a GCC
18113 builtin and then its argument prototype would still apply. */
18114 char gss_init_sec_context ();
18116 main (void)
18118 return gss_init_sec_context ();
18120 return 0;
18122 _ACEOF
18123 if ac_fn_c_try_link "$LINENO"
18124 then :
18125 case "$LIBEXT" in
18126 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18127 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'` ;;
18128 *) 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'`
18129 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18130 then :
18131 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18132 fi ;;
18133 esac
18134 else $as_nop
18135 ac_cv_lib_soname_gssapi_krb5=
18137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18138 conftest$ac_exeext conftest.$ac_ext
18139 LIBS=$ac_check_soname_save_LIBS
18141 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18142 then :
18143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18144 printf "%s\n" "not found" >&6; }
18145 GSSAPI_CFLAGS=""
18146 else $as_nop
18147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18148 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18150 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18154 else
18155 GSSAPI_CFLAGS=""
18157 CPPFLAGS=$ac_save_CPPFLAGS
18160 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18161 then :
18162 case "x$with_gssapi" in
18163 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18164 xno) ;;
18165 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18166 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18167 esac
18171 if test "$ac_cv_header_libprocstat_h" = "yes"
18172 then
18173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18174 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18175 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18176 then :
18177 printf %s "(cached) " >&6
18178 else $as_nop
18179 ac_check_lib_save_LIBS=$LIBS
18180 LIBS="-lprocstat $LIBS"
18181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18182 /* end confdefs.h. */
18184 /* Override any GCC internal prototype to avoid an error.
18185 Use char because int might match the return type of a GCC
18186 builtin and then its argument prototype would still apply. */
18187 char procstat_open_sysctl ();
18189 main (void)
18191 return procstat_open_sysctl ();
18193 return 0;
18195 _ACEOF
18196 if ac_fn_c_try_link "$LINENO"
18197 then :
18198 ac_cv_lib_procstat_procstat_open_sysctl=yes
18199 else $as_nop
18200 ac_cv_lib_procstat_procstat_open_sysctl=no
18202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18203 conftest$ac_exeext conftest.$ac_ext
18204 LIBS=$ac_check_lib_save_LIBS
18206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18207 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18208 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18209 then :
18211 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18213 PROCSTAT_LIBS="-lprocstat"
18219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18220 printf %s "checking for -lodbc... " >&6; }
18221 if test ${ac_cv_lib_soname_odbc+y}
18222 then :
18223 printf %s "(cached) " >&6
18224 else $as_nop
18225 ac_check_soname_save_LIBS=$LIBS
18226 LIBS="-lodbc $LIBS"
18227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18228 /* end confdefs.h. */
18230 /* Override any GCC internal prototype to avoid an error.
18231 Use char because int might match the return type of a GCC
18232 builtin and then its argument prototype would still apply. */
18233 char SQLConnect ();
18235 main (void)
18237 return SQLConnect ();
18239 return 0;
18241 _ACEOF
18242 if ac_fn_c_try_link "$LINENO"
18243 then :
18244 case "$LIBEXT" in
18245 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18246 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'` ;;
18247 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18248 if ${ac_cv_lib_soname_odbc:+false} :
18249 then :
18250 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18251 fi ;;
18252 esac
18253 else $as_nop
18254 ac_cv_lib_soname_odbc=
18256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18257 conftest$ac_exeext conftest.$ac_ext
18258 LIBS=$ac_check_soname_save_LIBS
18260 if ${ac_cv_lib_soname_odbc:+false} :
18261 then :
18262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18263 printf "%s\n" "not found" >&6; }
18264 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18266 else $as_nop
18267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18268 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18270 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18275 if test "x$with_netapi" != "xno"
18276 then
18277 rm -f conftest.err
18278 if ${NETAPI_CFLAGS:+false} :
18279 then :
18280 if test ${PKG_CONFIG+y}
18281 then :
18282 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18286 if ${NETAPI_LIBS:+false} :
18287 then :
18288 if test ${PKG_CONFIG+y}
18289 then :
18290 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18297 if test -s conftest.err; then
18298 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18299 cat conftest.err >&5
18301 rm -f conftest.err
18302 ac_save_CPPFLAGS=$CPPFLAGS
18303 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18305 printf %s "checking for -lnetapi... " >&6; }
18306 if test ${ac_cv_lib_soname_netapi+y}
18307 then :
18308 printf %s "(cached) " >&6
18309 else $as_nop
18310 ac_check_soname_save_LIBS=$LIBS
18311 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18313 /* end confdefs.h. */
18315 /* Override any GCC internal prototype to avoid an error.
18316 Use char because int might match the return type of a GCC
18317 builtin and then its argument prototype would still apply. */
18318 char libnetapi_init ();
18320 main (void)
18322 return libnetapi_init ();
18324 return 0;
18326 _ACEOF
18327 if ac_fn_c_try_link "$LINENO"
18328 then :
18329 case "$LIBEXT" in
18330 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18331 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'` ;;
18332 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18333 if ${ac_cv_lib_soname_netapi:+false} :
18334 then :
18335 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18336 fi ;;
18337 esac
18338 else $as_nop
18339 ac_cv_lib_soname_netapi=
18341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18342 conftest$ac_exeext conftest.$ac_ext
18343 LIBS=$ac_check_soname_save_LIBS
18345 if ${ac_cv_lib_soname_netapi:+false} :
18346 then :
18347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18348 printf "%s\n" "not found" >&6; }
18349 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18351 else $as_nop
18352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18353 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18355 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18359 CPPFLAGS=$ac_save_CPPFLAGS
18362 if test "x$ac_cv_lib_soname_netapi" = "x"
18363 then :
18364 case "x$with_netapi" in
18365 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18366 xno) ;;
18367 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18368 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18369 esac
18370 enable_netapi=${enable_netapi:-no}
18374 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18375 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18376 then
18377 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18380 if test "x$with_vulkan" != "xno"
18381 then
18382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18383 printf %s "checking for -lvulkan... " >&6; }
18384 if test ${ac_cv_lib_soname_vulkan+y}
18385 then :
18386 printf %s "(cached) " >&6
18387 else $as_nop
18388 ac_check_soname_save_LIBS=$LIBS
18389 LIBS="-lvulkan $LIBS"
18390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18393 /* Override any GCC internal prototype to avoid an error.
18394 Use char because int might match the return type of a GCC
18395 builtin and then its argument prototype would still apply. */
18396 char vkGetInstanceProcAddr ();
18398 main (void)
18400 return vkGetInstanceProcAddr ();
18402 return 0;
18404 _ACEOF
18405 if ac_fn_c_try_link "$LINENO"
18406 then :
18407 case "$LIBEXT" in
18408 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18409 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'` ;;
18410 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18411 if ${ac_cv_lib_soname_vulkan:+false} :
18412 then :
18413 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18414 fi ;;
18415 esac
18416 else $as_nop
18417 ac_cv_lib_soname_vulkan=
18419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18420 conftest$ac_exeext conftest.$ac_ext
18421 LIBS=$ac_check_soname_save_LIBS
18423 if ${ac_cv_lib_soname_vulkan:+false} :
18424 then :
18425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18426 printf "%s\n" "not found" >&6; }
18428 else $as_nop
18429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18430 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18432 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18436 if test "x$ac_cv_lib_soname_vulkan" = "x"
18437 then
18438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18439 printf %s "checking for -lMoltenVK... " >&6; }
18440 if test ${ac_cv_lib_soname_MoltenVK+y}
18441 then :
18442 printf %s "(cached) " >&6
18443 else $as_nop
18444 ac_check_soname_save_LIBS=$LIBS
18445 LIBS="-lMoltenVK $LIBS"
18446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18449 /* Override any GCC internal prototype to avoid an error.
18450 Use char because int might match the return type of a GCC
18451 builtin and then its argument prototype would still apply. */
18452 char vkGetInstanceProcAddr ();
18454 main (void)
18456 return vkGetInstanceProcAddr ();
18458 return 0;
18460 _ACEOF
18461 if ac_fn_c_try_link "$LINENO"
18462 then :
18463 case "$LIBEXT" in
18464 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18465 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'` ;;
18466 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18467 if ${ac_cv_lib_soname_MoltenVK:+false} :
18468 then :
18469 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18470 fi ;;
18471 esac
18472 else $as_nop
18473 ac_cv_lib_soname_MoltenVK=
18475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18476 conftest$ac_exeext conftest.$ac_ext
18477 LIBS=$ac_check_soname_save_LIBS
18479 if ${ac_cv_lib_soname_MoltenVK:+false} :
18480 then :
18481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18482 printf "%s\n" "not found" >&6; }
18484 else $as_nop
18485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18486 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18488 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18494 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18495 then :
18496 case "x$with_vulkan" in
18497 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18498 xno) ;;
18499 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18500 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18501 esac
18506 if test "x${GCC}" = "xyes"
18507 then
18508 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18510 saved_CFLAGS=$CFLAGS
18511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18512 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18513 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18514 then :
18515 printf %s "(cached) " >&6
18516 else $as_nop
18517 ac_wine_try_cflags_saved=$CFLAGS
18518 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h. */
18521 int main(int argc, char **argv) { return 0; }
18522 _ACEOF
18523 if ac_fn_c_try_link "$LINENO"
18524 then :
18525 ac_cv_cflags__Werror_unknown_warning_option=yes
18526 else $as_nop
18527 ac_cv_cflags__Werror_unknown_warning_option=no
18529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18530 conftest$ac_exeext conftest.$ac_ext
18531 CFLAGS=$ac_wine_try_cflags_saved
18533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18534 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18535 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18536 then :
18537 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18540 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18541 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18542 then :
18543 printf %s "(cached) " >&6
18544 else $as_nop
18545 ac_wine_try_cflags_saved=$CFLAGS
18546 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18548 /* end confdefs.h. */
18549 int main(int argc, char **argv) { return 0; }
18550 _ACEOF
18551 if ac_fn_c_try_link "$LINENO"
18552 then :
18553 ac_cv_cflags__Werror_unused_command_line_argument=yes
18554 else $as_nop
18555 ac_cv_cflags__Werror_unused_command_line_argument=no
18557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18558 conftest$ac_exeext conftest.$ac_ext
18559 CFLAGS=$ac_wine_try_cflags_saved
18561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18562 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18563 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18564 then :
18565 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18568 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18569 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18570 then :
18571 printf %s "(cached) " >&6
18572 else $as_nop
18573 ac_wine_try_cflags_saved=$CFLAGS
18574 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18576 /* end confdefs.h. */
18577 int main(int argc, char **argv) { return 0; }
18578 _ACEOF
18579 if ac_fn_c_try_link "$LINENO"
18580 then :
18581 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18582 else $as_nop
18583 ac_cv_cflags__Werror_ignored_optimization_argument=no
18585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18586 conftest$ac_exeext conftest.$ac_ext
18587 CFLAGS=$ac_wine_try_cflags_saved
18589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18590 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18591 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18592 then :
18593 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18596 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18597 if test ${ac_cv_cflags__fcf_protection_none+y}
18598 then :
18599 printf %s "(cached) " >&6
18600 else $as_nop
18601 ac_wine_try_cflags_saved=$CFLAGS
18602 CFLAGS="$CFLAGS -fcf-protection=none"
18603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18604 /* end confdefs.h. */
18605 int main(int argc, char **argv) { return 0; }
18606 _ACEOF
18607 if ac_fn_c_try_link "$LINENO"
18608 then :
18609 ac_cv_cflags__fcf_protection_none=yes
18610 else $as_nop
18611 ac_cv_cflags__fcf_protection_none=no
18613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18614 conftest$ac_exeext conftest.$ac_ext
18615 CFLAGS=$ac_wine_try_cflags_saved
18617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18618 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18619 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18620 then :
18621 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18624 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18625 if test ${ac_cv_cflags__fno_stack_protector+y}
18626 then :
18627 printf %s "(cached) " >&6
18628 else $as_nop
18629 ac_wine_try_cflags_saved=$CFLAGS
18630 CFLAGS="$CFLAGS -fno-stack-protector"
18631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18632 /* end confdefs.h. */
18633 int main(int argc, char **argv) { return 0; }
18634 _ACEOF
18635 if ac_fn_c_try_link "$LINENO"
18636 then :
18637 ac_cv_cflags__fno_stack_protector=yes
18638 else $as_nop
18639 ac_cv_cflags__fno_stack_protector=no
18641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18642 conftest$ac_exeext conftest.$ac_ext
18643 CFLAGS=$ac_wine_try_cflags_saved
18645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18646 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18647 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18648 then :
18649 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18652 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18653 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18654 then :
18655 printf %s "(cached) " >&6
18656 else $as_nop
18657 ac_wine_try_cflags_saved=$CFLAGS
18658 CFLAGS="$CFLAGS -fno-strict-aliasing"
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 int main(int argc, char **argv) { return 0; }
18662 _ACEOF
18663 if ac_fn_c_try_link "$LINENO"
18664 then :
18665 ac_cv_cflags__fno_strict_aliasing=yes
18666 else $as_nop
18667 ac_cv_cflags__fno_strict_aliasing=no
18669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18670 conftest$ac_exeext conftest.$ac_ext
18671 CFLAGS=$ac_wine_try_cflags_saved
18673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18674 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18675 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18676 then :
18677 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18680 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18681 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18682 then :
18683 printf %s "(cached) " >&6
18684 else $as_nop
18685 ac_wine_try_cflags_saved=$CFLAGS
18686 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18689 int main(int argc, char **argv) { return 0; }
18690 _ACEOF
18691 if ac_fn_c_try_link "$LINENO"
18692 then :
18693 ac_cv_cflags__Wdeclaration_after_statement=yes
18694 else $as_nop
18695 ac_cv_cflags__Wdeclaration_after_statement=no
18697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18698 conftest$ac_exeext conftest.$ac_ext
18699 CFLAGS=$ac_wine_try_cflags_saved
18701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18702 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18703 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18704 then :
18705 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18708 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18709 if test ${ac_cv_cflags__Wempty_body+y}
18710 then :
18711 printf %s "(cached) " >&6
18712 else $as_nop
18713 ac_wine_try_cflags_saved=$CFLAGS
18714 CFLAGS="$CFLAGS -Wempty-body"
18715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18716 /* end confdefs.h. */
18717 int main(int argc, char **argv) { return 0; }
18718 _ACEOF
18719 if ac_fn_c_try_link "$LINENO"
18720 then :
18721 ac_cv_cflags__Wempty_body=yes
18722 else $as_nop
18723 ac_cv_cflags__Wempty_body=no
18725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18726 conftest$ac_exeext conftest.$ac_ext
18727 CFLAGS=$ac_wine_try_cflags_saved
18729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18730 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18731 if test "x$ac_cv_cflags__Wempty_body" = xyes
18732 then :
18733 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18736 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18737 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18738 then :
18739 printf %s "(cached) " >&6
18740 else $as_nop
18741 ac_wine_try_cflags_saved=$CFLAGS
18742 CFLAGS="$CFLAGS -Wignored-qualifiers"
18743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18744 /* end confdefs.h. */
18745 int main(int argc, char **argv) { return 0; }
18746 _ACEOF
18747 if ac_fn_c_try_link "$LINENO"
18748 then :
18749 ac_cv_cflags__Wignored_qualifiers=yes
18750 else $as_nop
18751 ac_cv_cflags__Wignored_qualifiers=no
18753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18754 conftest$ac_exeext conftest.$ac_ext
18755 CFLAGS=$ac_wine_try_cflags_saved
18757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18758 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18759 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18760 then :
18761 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18764 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18765 if test ${ac_cv_cflags__Winit_self+y}
18766 then :
18767 printf %s "(cached) " >&6
18768 else $as_nop
18769 ac_wine_try_cflags_saved=$CFLAGS
18770 CFLAGS="$CFLAGS -Winit-self"
18771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18772 /* end confdefs.h. */
18773 int main(int argc, char **argv) { return 0; }
18774 _ACEOF
18775 if ac_fn_c_try_link "$LINENO"
18776 then :
18777 ac_cv_cflags__Winit_self=yes
18778 else $as_nop
18779 ac_cv_cflags__Winit_self=no
18781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18782 conftest$ac_exeext conftest.$ac_ext
18783 CFLAGS=$ac_wine_try_cflags_saved
18785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18786 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18787 if test "x$ac_cv_cflags__Winit_self" = xyes
18788 then :
18789 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18792 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18793 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18794 then :
18795 printf %s "(cached) " >&6
18796 else $as_nop
18797 ac_wine_try_cflags_saved=$CFLAGS
18798 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18801 int main(int argc, char **argv) { return 0; }
18802 _ACEOF
18803 if ac_fn_c_try_link "$LINENO"
18804 then :
18805 ac_cv_cflags__Wpacked_not_aligned=yes
18806 else $as_nop
18807 ac_cv_cflags__Wpacked_not_aligned=no
18809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18810 conftest$ac_exeext conftest.$ac_ext
18811 CFLAGS=$ac_wine_try_cflags_saved
18813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18814 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18815 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18816 then :
18817 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18820 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18821 if test ${ac_cv_cflags__Wpragma_pack+y}
18822 then :
18823 printf %s "(cached) " >&6
18824 else $as_nop
18825 ac_wine_try_cflags_saved=$CFLAGS
18826 CFLAGS="$CFLAGS -Wpragma-pack"
18827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18829 int main(int argc, char **argv) { return 0; }
18830 _ACEOF
18831 if ac_fn_c_try_link "$LINENO"
18832 then :
18833 ac_cv_cflags__Wpragma_pack=yes
18834 else $as_nop
18835 ac_cv_cflags__Wpragma_pack=no
18837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18838 conftest$ac_exeext conftest.$ac_ext
18839 CFLAGS=$ac_wine_try_cflags_saved
18841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18842 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18843 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18844 then :
18845 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18848 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18849 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18850 then :
18851 printf %s "(cached) " >&6
18852 else $as_nop
18853 ac_wine_try_cflags_saved=$CFLAGS
18854 CFLAGS="$CFLAGS -Wshift-overflow=2"
18855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18857 int main(int argc, char **argv) { return 0; }
18858 _ACEOF
18859 if ac_fn_c_try_link "$LINENO"
18860 then :
18861 ac_cv_cflags__Wshift_overflow_2=yes
18862 else $as_nop
18863 ac_cv_cflags__Wshift_overflow_2=no
18865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18866 conftest$ac_exeext conftest.$ac_ext
18867 CFLAGS=$ac_wine_try_cflags_saved
18869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18870 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18871 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18872 then :
18873 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18876 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18877 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18878 then :
18879 printf %s "(cached) " >&6
18880 else $as_nop
18881 ac_wine_try_cflags_saved=$CFLAGS
18882 CFLAGS="$CFLAGS -Wstrict-prototypes"
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 int main(int argc, char **argv) { return 0; }
18886 _ACEOF
18887 if ac_fn_c_try_link "$LINENO"
18888 then :
18889 ac_cv_cflags__Wstrict_prototypes=yes
18890 else $as_nop
18891 ac_cv_cflags__Wstrict_prototypes=no
18893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18894 conftest$ac_exeext conftest.$ac_ext
18895 CFLAGS=$ac_wine_try_cflags_saved
18897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18898 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18899 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18900 then :
18901 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18904 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18905 if test ${ac_cv_cflags__Wtype_limits+y}
18906 then :
18907 printf %s "(cached) " >&6
18908 else $as_nop
18909 ac_wine_try_cflags_saved=$CFLAGS
18910 CFLAGS="$CFLAGS -Wtype-limits"
18911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18912 /* end confdefs.h. */
18913 int main(int argc, char **argv) { return 0; }
18914 _ACEOF
18915 if ac_fn_c_try_link "$LINENO"
18916 then :
18917 ac_cv_cflags__Wtype_limits=yes
18918 else $as_nop
18919 ac_cv_cflags__Wtype_limits=no
18921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18922 conftest$ac_exeext conftest.$ac_ext
18923 CFLAGS=$ac_wine_try_cflags_saved
18925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18926 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18927 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18928 then :
18929 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18932 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18933 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18934 then :
18935 printf %s "(cached) " >&6
18936 else $as_nop
18937 ac_wine_try_cflags_saved=$CFLAGS
18938 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18941 int main(int argc, char **argv) { return 0; }
18942 _ACEOF
18943 if ac_fn_c_try_link "$LINENO"
18944 then :
18945 ac_cv_cflags__Wunused_but_set_parameter=yes
18946 else $as_nop
18947 ac_cv_cflags__Wunused_but_set_parameter=no
18949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18950 conftest$ac_exeext conftest.$ac_ext
18951 CFLAGS=$ac_wine_try_cflags_saved
18953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18954 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18955 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18956 then :
18957 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18960 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18961 if test ${ac_cv_cflags__Wvla+y}
18962 then :
18963 printf %s "(cached) " >&6
18964 else $as_nop
18965 ac_wine_try_cflags_saved=$CFLAGS
18966 CFLAGS="$CFLAGS -Wvla"
18967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h. */
18969 int main(int argc, char **argv) { return 0; }
18970 _ACEOF
18971 if ac_fn_c_try_link "$LINENO"
18972 then :
18973 ac_cv_cflags__Wvla=yes
18974 else $as_nop
18975 ac_cv_cflags__Wvla=no
18977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18978 conftest$ac_exeext conftest.$ac_ext
18979 CFLAGS=$ac_wine_try_cflags_saved
18981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18982 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18983 if test "x$ac_cv_cflags__Wvla" = xyes
18984 then :
18985 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18988 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18989 if test ${ac_cv_cflags__Wwrite_strings+y}
18990 then :
18991 printf %s "(cached) " >&6
18992 else $as_nop
18993 ac_wine_try_cflags_saved=$CFLAGS
18994 CFLAGS="$CFLAGS -Wwrite-strings"
18995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18996 /* end confdefs.h. */
18997 int main(int argc, char **argv) { return 0; }
18998 _ACEOF
18999 if ac_fn_c_try_link "$LINENO"
19000 then :
19001 ac_cv_cflags__Wwrite_strings=yes
19002 else $as_nop
19003 ac_cv_cflags__Wwrite_strings=no
19005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19006 conftest$ac_exeext conftest.$ac_ext
19007 CFLAGS=$ac_wine_try_cflags_saved
19009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19010 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19011 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19012 then :
19013 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19017 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19018 if test ${ac_cv_cflags__Wpointer_arith+y}
19019 then :
19020 printf %s "(cached) " >&6
19021 else $as_nop
19022 ac_wine_try_cflags_saved=$CFLAGS
19023 CFLAGS="$CFLAGS -Wpointer-arith"
19024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19025 /* end confdefs.h. */
19026 int main(int argc, char **argv) { return 0; }
19027 _ACEOF
19028 if ac_fn_c_try_link "$LINENO"
19029 then :
19030 ac_cv_cflags__Wpointer_arith=yes
19031 else $as_nop
19032 ac_cv_cflags__Wpointer_arith=no
19034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19035 conftest$ac_exeext conftest.$ac_ext
19036 CFLAGS=$ac_wine_try_cflags_saved
19038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19039 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19040 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19041 then :
19042 saved_string_h_CFLAGS=$CFLAGS
19043 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19045 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19046 if test ${ac_cv_c_string_h_warnings+y}
19047 then :
19048 printf %s "(cached) " >&6
19049 else $as_nop
19050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19051 /* end confdefs.h. */
19052 #include <string.h>
19054 main (void)
19058 return 0;
19060 _ACEOF
19061 if ac_fn_c_try_compile "$LINENO"
19062 then :
19063 ac_cv_c_string_h_warnings=no
19064 else $as_nop
19065 ac_cv_c_string_h_warnings=yes
19067 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19070 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19071 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19072 CFLAGS=$saved_string_h_CFLAGS
19075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19076 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19077 if test ${ac_cv_cflags__Wlogical_op+y}
19078 then :
19079 printf %s "(cached) " >&6
19080 else $as_nop
19081 ac_wine_try_cflags_saved=$CFLAGS
19082 CFLAGS="$CFLAGS -Wlogical-op"
19083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19084 /* end confdefs.h. */
19085 int main(int argc, char **argv) { return 0; }
19086 _ACEOF
19087 if ac_fn_c_try_link "$LINENO"
19088 then :
19089 ac_cv_cflags__Wlogical_op=yes
19090 else $as_nop
19091 ac_cv_cflags__Wlogical_op=no
19093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19094 conftest$ac_exeext conftest.$ac_ext
19095 CFLAGS=$ac_wine_try_cflags_saved
19097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19098 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19099 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19100 then :
19101 saved_string_h_CFLAGS=$CFLAGS
19102 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19104 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19105 if test ${ac_cv_c_logicalop_noisy+y}
19106 then :
19107 printf %s "(cached) " >&6
19108 else $as_nop
19109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19110 /* end confdefs.h. */
19111 #include <string.h>
19112 char*f(const char *h,char n) {return strchr(h,n);}
19114 main (void)
19118 return 0;
19120 _ACEOF
19121 if ac_fn_c_try_compile "$LINENO"
19122 then :
19123 ac_cv_c_logicalop_noisy=no
19124 else $as_nop
19125 ac_cv_c_logicalop_noisy=yes
19127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19130 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19131 CFLAGS=$saved_string_h_CFLAGS
19132 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19136 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19137 if test ${wine_cv_64bit_compare_swap+y}
19138 then :
19139 printf %s "(cached) " >&6
19140 else $as_nop
19141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19142 /* end confdefs.h. */
19143 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19144 #error no
19145 #endif
19147 main (void)
19151 return 0;
19153 _ACEOF
19154 if ac_fn_c_try_compile "$LINENO"
19155 then :
19156 wine_cv_64bit_compare_swap="none needed"
19157 else $as_nop
19158 case $host_cpu in
19159 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19160 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19161 *) wine_cv_64bit_compare_swap="unknown" ;;
19162 esac
19163 if test "x$wine_cv_64bit_compare_swap" != xunknown
19164 then
19165 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19167 /* end confdefs.h. */
19168 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19169 #error no
19170 #endif
19172 main (void)
19176 return 0;
19178 _ACEOF
19179 if ac_fn_c_try_compile "$LINENO"
19180 then :
19182 else $as_nop
19183 wine_cv_64bit_compare_swap="unknown"
19185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19186 CFLAGS=$saved_CFLAGS
19189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19192 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19193 case "$wine_cv_64bit_compare_swap" in
19194 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19195 "none needed") ;;
19196 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19197 esac
19199 ac_debug_format_seen=""
19200 for ac_flag in $CFLAGS; do
19201 case $ac_flag in
19202 -gdwarf*) ac_debug_format_seen=yes ;;
19203 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19204 esac
19205 done
19206 if test "x$ac_debug_format_seen" = xdefault
19207 then
19208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19209 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19210 if test ${ac_cv_cflags__gdwarf_4+y}
19211 then :
19212 printf %s "(cached) " >&6
19213 else $as_nop
19214 ac_wine_try_cflags_saved=$CFLAGS
19215 CFLAGS="$CFLAGS -gdwarf-4"
19216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19217 /* end confdefs.h. */
19218 int main(int argc, char **argv) { return 0; }
19219 _ACEOF
19220 if ac_fn_c_try_link "$LINENO"
19221 then :
19222 ac_cv_cflags__gdwarf_4=yes
19223 else $as_nop
19224 ac_cv_cflags__gdwarf_4=no
19226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19227 conftest$ac_exeext conftest.$ac_ext
19228 CFLAGS=$ac_wine_try_cflags_saved
19230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19231 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19232 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19233 then :
19234 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19238 MSVCRTFLAGS=""
19240 case $host_os in
19241 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19242 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19243 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19244 then :
19245 printf %s "(cached) " >&6
19246 else $as_nop
19247 ac_wine_try_cflags_saved=$CFLAGS
19248 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19250 /* end confdefs.h. */
19251 int main(int argc, char **argv) { return 0; }
19252 _ACEOF
19253 if ac_fn_c_try_link "$LINENO"
19254 then :
19255 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19256 else $as_nop
19257 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19260 conftest$ac_exeext conftest.$ac_ext
19261 CFLAGS=$ac_wine_try_cflags_saved
19263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19264 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19265 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19266 then :
19267 DELAYLOADFLAG="-Wl,-delayload,"
19269 fi ;;
19270 *) MSVCRTFLAGS="-D_WIN32"
19271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19272 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19273 if test ${ac_cv_cflags__fno_builtin+y}
19274 then :
19275 printf %s "(cached) " >&6
19276 else $as_nop
19277 ac_wine_try_cflags_saved=$CFLAGS
19278 CFLAGS="$CFLAGS -fno-builtin"
19279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19280 /* end confdefs.h. */
19281 int main(int argc, char **argv) { return 0; }
19282 _ACEOF
19283 if ac_fn_c_try_link "$LINENO"
19284 then :
19285 ac_cv_cflags__fno_builtin=yes
19286 else $as_nop
19287 ac_cv_cflags__fno_builtin=no
19289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19290 conftest$ac_exeext conftest.$ac_ext
19291 CFLAGS=$ac_wine_try_cflags_saved
19293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19294 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19295 if test "x$ac_cv_cflags__fno_builtin" = xyes
19296 then :
19297 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19300 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19301 if test ${ac_cv_cflags__fshort_wchar+y}
19302 then :
19303 printf %s "(cached) " >&6
19304 else $as_nop
19305 ac_wine_try_cflags_saved=$CFLAGS
19306 CFLAGS="$CFLAGS -fshort-wchar"
19307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19308 /* end confdefs.h. */
19309 int main(int argc, char **argv) { return 0; }
19310 _ACEOF
19311 if ac_fn_c_try_link "$LINENO"
19312 then :
19313 ac_cv_cflags__fshort_wchar=yes
19314 else $as_nop
19315 ac_cv_cflags__fshort_wchar=no
19317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19318 conftest$ac_exeext conftest.$ac_ext
19319 CFLAGS=$ac_wine_try_cflags_saved
19321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19322 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19323 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19324 then :
19325 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19328 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19329 if test ${ac_cv_cflags__fvisibility_hidden+y}
19330 then :
19331 printf %s "(cached) " >&6
19332 else $as_nop
19333 ac_wine_try_cflags_saved=$CFLAGS
19334 CFLAGS="$CFLAGS -fvisibility=hidden"
19335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19336 /* end confdefs.h. */
19337 int main(int argc, char **argv) { return 0; }
19338 _ACEOF
19339 if ac_fn_c_try_link "$LINENO"
19340 then :
19341 ac_cv_cflags__fvisibility_hidden=yes
19342 else $as_nop
19343 ac_cv_cflags__fvisibility_hidden=no
19345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19346 conftest$ac_exeext conftest.$ac_ext
19347 CFLAGS=$ac_wine_try_cflags_saved
19349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19350 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19351 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19352 then :
19353 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19356 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19357 if test ${ac_cv_cflags__Wno_format+y}
19358 then :
19359 printf %s "(cached) " >&6
19360 else $as_nop
19361 ac_wine_try_cflags_saved=$CFLAGS
19362 CFLAGS="$CFLAGS -Wno-format"
19363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19364 /* end confdefs.h. */
19365 int main(int argc, char **argv) { return 0; }
19366 _ACEOF
19367 if ac_fn_c_try_link "$LINENO"
19368 then :
19369 ac_cv_cflags__Wno_format=yes
19370 else $as_nop
19371 ac_cv_cflags__Wno_format=no
19373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19374 conftest$ac_exeext conftest.$ac_ext
19375 CFLAGS=$ac_wine_try_cflags_saved
19377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19378 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19379 if test "x$ac_cv_cflags__Wno_format" = xyes
19380 then :
19381 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19382 fi ;;
19383 esac
19385 case $host_cpu in
19386 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19387 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19388 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19389 then :
19390 printf %s "(cached) " >&6
19391 else $as_nop
19392 ac_wine_try_cflags_saved=$CFLAGS
19393 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19395 /* end confdefs.h. */
19396 int main(int argc, char **argv) { return 0; }
19397 _ACEOF
19398 if ac_fn_c_try_link "$LINENO"
19399 then :
19400 ac_cv_cflags__fno_omit_frame_pointer=yes
19401 else $as_nop
19402 ac_cv_cflags__fno_omit_frame_pointer=no
19404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19405 conftest$ac_exeext conftest.$ac_ext
19406 CFLAGS=$ac_wine_try_cflags_saved
19408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19409 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19410 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19411 then :
19412 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19413 fi ;;
19414 *x86_64*)
19415 case $host_os in
19416 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19417 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19418 if test ${ac_cv_cflags__Wno_format+y}
19419 then :
19420 printf %s "(cached) " >&6
19421 else $as_nop
19422 ac_wine_try_cflags_saved=$CFLAGS
19423 CFLAGS="$CFLAGS -Wno-format"
19424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19425 /* end confdefs.h. */
19426 int main(int argc, char **argv) { return 0; }
19427 _ACEOF
19428 if ac_fn_c_try_link "$LINENO"
19429 then :
19430 ac_cv_cflags__Wno_format=yes
19431 else $as_nop
19432 ac_cv_cflags__Wno_format=no
19434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19435 conftest$ac_exeext conftest.$ac_ext
19436 CFLAGS=$ac_wine_try_cflags_saved
19438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19439 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19440 if test "x$ac_cv_cflags__Wno_format" = xyes
19441 then :
19442 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19443 fi ;;
19444 *) if test -z "$PE_ARCHS"
19445 then
19446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19447 printf %s "checking for working -mabi=ms... " >&6; }
19448 if test ${ac_cv_mabi_ms+y}
19449 then :
19450 printf %s "(cached) " >&6
19451 else $as_nop
19452 CFLAGS="$CFLAGS -mabi=ms"
19453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19455 #include <stdarg.h>
19456 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19458 main (void)
19462 return 0;
19464 _ACEOF
19465 if ac_fn_c_try_compile "$LINENO"
19466 then :
19467 ac_cv_mabi_ms=yes
19468 else $as_nop
19469 ac_cv_mabi_ms=no
19471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19472 CFLAGS=$saved_CFLAGS
19474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19475 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19476 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
19478 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19479 esac ;;
19480 arm*)
19481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19482 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19483 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19484 then :
19485 printf %s "(cached) " >&6
19486 else $as_nop
19487 ac_wine_try_cflags_saved=$CFLAGS
19488 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
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__Wincompatible_function_pointer_types=yes
19496 else $as_nop
19497 ac_cv_cflags__Wincompatible_function_pointer_types=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__Wincompatible_function_pointer_types" >&5
19504 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19505 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19506 then :
19507 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19508 fi ;;
19509 esac
19511 CFLAGS=$saved_CFLAGS
19513 if test "x$enable_werror" = "xyes"
19514 then
19515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19516 printf %s "checking whether the compiler supports -Werror... " >&6; }
19517 if test ${ac_cv_cflags__Werror+y}
19518 then :
19519 printf %s "(cached) " >&6
19520 else $as_nop
19521 ac_wine_try_cflags_saved=$CFLAGS
19522 CFLAGS="$CFLAGS -Werror"
19523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19524 /* end confdefs.h. */
19525 int main(int argc, char **argv) { return 0; }
19526 _ACEOF
19527 if ac_fn_c_try_link "$LINENO"
19528 then :
19529 ac_cv_cflags__Werror=yes
19530 else $as_nop
19531 ac_cv_cflags__Werror=no
19533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19534 conftest$ac_exeext conftest.$ac_ext
19535 CFLAGS=$ac_wine_try_cflags_saved
19537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19538 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19539 if test "x$ac_cv_cflags__Werror" = xyes
19540 then :
19541 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19544 if test "x$enable_build_id" = "xyes"
19545 then
19546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19547 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19548 if test ${ac_cv_cflags__Wl___build_id+y}
19549 then :
19550 printf %s "(cached) " >&6
19551 else $as_nop
19552 ac_wine_try_cflags_saved=$CFLAGS
19553 CFLAGS="$CFLAGS -Wl,--build-id"
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__Wl___build_id=yes
19561 else $as_nop
19562 ac_cv_cflags__Wl___build_id=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__Wl___build_id" >&5
19569 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19570 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19571 then :
19572 CFLAGS="$CFLAGS -Wl,--build-id"
19573 LDFLAGS="$LDFLAGS -Wl,--build-id"
19579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19580 printf %s "checking for the need to disable Fortify... " >&6; }
19581 if test ${ac_cv_c_fortify_enabled+y}
19582 then :
19583 printf %s "(cached) " >&6
19584 else $as_nop
19585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19586 /* end confdefs.h. */
19587 #include <string.h>
19589 main (void)
19591 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19592 #error Fortify enabled
19593 #endif
19595 return 0;
19597 _ACEOF
19598 if ac_fn_c_try_compile "$LINENO"
19599 then :
19600 ac_cv_c_fortify_enabled=no
19601 else $as_nop
19602 ac_cv_c_fortify_enabled=yes
19604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19607 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19608 if test "$ac_cv_c_fortify_enabled" = yes
19609 then
19610 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19615 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19616 if test ${ac_cv_c_cfi_support+y}
19617 then :
19618 printf %s "(cached) " >&6
19619 else $as_nop
19620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19621 /* end confdefs.h. */
19622 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19624 main (void)
19628 return 0;
19630 _ACEOF
19631 if ac_fn_c_try_compile "$LINENO"
19632 then :
19633 ac_cv_c_cfi_support="yes"
19634 else $as_nop
19635 ac_cv_c_cfi_support="no"
19637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19640 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19641 if test "$ac_cv_c_cfi_support" = "yes"
19642 then
19643 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19644 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19645 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19646 elif test $HOST_ARCH = x86_64
19647 then
19648 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19652 case "$HOST_ARCH,$PE_ARCHS" in
19653 x86_64,*i386*) wine_binary="wine" ;;
19654 x86_64,*) wine_binary="wine64" ;;
19655 *) wine_binary="wine" ;;
19656 esac
19657 WINELOADER_PROGRAMS="$wine_binary"
19660 case $host_os in
19661 linux*)
19662 case $host_cpu in
19663 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19664 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19665 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19667 esac
19669 darwin*|macosx*)
19670 if test "$wine_can_build_preloader" = "yes"
19671 then
19672 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19673 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19676 esac
19679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19680 printf %s "checking for library containing dlopen... " >&6; }
19681 if test ${ac_cv_search_dlopen+y}
19682 then :
19683 printf %s "(cached) " >&6
19684 else $as_nop
19685 ac_func_search_save_LIBS=$LIBS
19686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19687 /* end confdefs.h. */
19689 /* Override any GCC internal prototype to avoid an error.
19690 Use char because int might match the return type of a GCC
19691 builtin and then its argument prototype would still apply. */
19692 char dlopen ();
19694 main (void)
19696 return dlopen ();
19698 return 0;
19700 _ACEOF
19701 for ac_lib in '' dl
19703 if test -z "$ac_lib"; then
19704 ac_res="none required"
19705 else
19706 ac_res=-l$ac_lib
19707 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19709 if ac_fn_c_try_link "$LINENO"
19710 then :
19711 ac_cv_search_dlopen=$ac_res
19713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19714 conftest$ac_exeext
19715 if test ${ac_cv_search_dlopen+y}
19716 then :
19717 break
19719 done
19720 if test ${ac_cv_search_dlopen+y}
19721 then :
19723 else $as_nop
19724 ac_cv_search_dlopen=no
19726 rm conftest.$ac_ext
19727 LIBS=$ac_func_search_save_LIBS
19729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19730 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19731 ac_res=$ac_cv_search_dlopen
19732 if test "$ac_res" != no
19733 then :
19734 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19740 printf %s "checking for library containing gethostbyname... " >&6; }
19741 if test ${ac_cv_search_gethostbyname+y}
19742 then :
19743 printf %s "(cached) " >&6
19744 else $as_nop
19745 ac_func_search_save_LIBS=$LIBS
19746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19747 /* end confdefs.h. */
19749 /* Override any GCC internal prototype to avoid an error.
19750 Use char because int might match the return type of a GCC
19751 builtin and then its argument prototype would still apply. */
19752 char gethostbyname ();
19754 main (void)
19756 return gethostbyname ();
19758 return 0;
19760 _ACEOF
19761 for ac_lib in '' nsl
19763 if test -z "$ac_lib"; then
19764 ac_res="none required"
19765 else
19766 ac_res=-l$ac_lib
19767 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19769 if ac_fn_c_try_link "$LINENO"
19770 then :
19771 ac_cv_search_gethostbyname=$ac_res
19773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19774 conftest$ac_exeext
19775 if test ${ac_cv_search_gethostbyname+y}
19776 then :
19777 break
19779 done
19780 if test ${ac_cv_search_gethostbyname+y}
19781 then :
19783 else $as_nop
19784 ac_cv_search_gethostbyname=no
19786 rm conftest.$ac_ext
19787 LIBS=$ac_func_search_save_LIBS
19789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19790 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19791 ac_res=$ac_cv_search_gethostbyname
19792 if test "$ac_res" != no
19793 then :
19794 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19800 printf %s "checking for library containing connect... " >&6; }
19801 if test ${ac_cv_search_connect+y}
19802 then :
19803 printf %s "(cached) " >&6
19804 else $as_nop
19805 ac_func_search_save_LIBS=$LIBS
19806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19807 /* end confdefs.h. */
19809 /* Override any GCC internal prototype to avoid an error.
19810 Use char because int might match the return type of a GCC
19811 builtin and then its argument prototype would still apply. */
19812 char connect ();
19814 main (void)
19816 return connect ();
19818 return 0;
19820 _ACEOF
19821 for ac_lib in '' socket
19823 if test -z "$ac_lib"; then
19824 ac_res="none required"
19825 else
19826 ac_res=-l$ac_lib
19827 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19829 if ac_fn_c_try_link "$LINENO"
19830 then :
19831 ac_cv_search_connect=$ac_res
19833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19834 conftest$ac_exeext
19835 if test ${ac_cv_search_connect+y}
19836 then :
19837 break
19839 done
19840 if test ${ac_cv_search_connect+y}
19841 then :
19843 else $as_nop
19844 ac_cv_search_connect=no
19846 rm conftest.$ac_ext
19847 LIBS=$ac_func_search_save_LIBS
19849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19850 printf "%s\n" "$ac_cv_search_connect" >&6; }
19851 ac_res=$ac_cv_search_connect
19852 if test "$ac_res" != no
19853 then :
19854 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19860 printf %s "checking for library containing inet_aton... " >&6; }
19861 if test ${ac_cv_search_inet_aton+y}
19862 then :
19863 printf %s "(cached) " >&6
19864 else $as_nop
19865 ac_func_search_save_LIBS=$LIBS
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19869 /* Override any GCC internal prototype to avoid an error.
19870 Use char because int might match the return type of a GCC
19871 builtin and then its argument prototype would still apply. */
19872 char inet_aton ();
19874 main (void)
19876 return inet_aton ();
19878 return 0;
19880 _ACEOF
19881 for ac_lib in '' resolv
19883 if test -z "$ac_lib"; then
19884 ac_res="none required"
19885 else
19886 ac_res=-l$ac_lib
19887 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19889 if ac_fn_c_try_link "$LINENO"
19890 then :
19891 ac_cv_search_inet_aton=$ac_res
19893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19894 conftest$ac_exeext
19895 if test ${ac_cv_search_inet_aton+y}
19896 then :
19897 break
19899 done
19900 if test ${ac_cv_search_inet_aton+y}
19901 then :
19903 else $as_nop
19904 ac_cv_search_inet_aton=no
19906 rm conftest.$ac_ext
19907 LIBS=$ac_func_search_save_LIBS
19909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19910 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19911 ac_res=$ac_cv_search_inet_aton
19912 if test "$ac_res" != no
19913 then :
19914 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19919 ac_save_CFLAGS="$CFLAGS"
19920 CFLAGS="$CFLAGS $BUILTINFLAG"
19921 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19922 if test "x$ac_cv_func_dladdr1" = xyes
19923 then :
19924 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19927 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19928 if test "x$ac_cv_func_dlinfo" = xyes
19929 then :
19930 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19933 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19934 if test "x$ac_cv_func_epoll_create" = xyes
19935 then :
19936 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19939 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19940 if test "x$ac_cv_func_fstatfs" = xyes
19941 then :
19942 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19945 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19946 if test "x$ac_cv_func_futimens" = xyes
19947 then :
19948 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19951 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19952 if test "x$ac_cv_func_futimes" = xyes
19953 then :
19954 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19957 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19958 if test "x$ac_cv_func_futimesat" = xyes
19959 then :
19960 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19963 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19964 if test "x$ac_cv_func_getaddrinfo" = xyes
19965 then :
19966 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19969 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19970 if test "x$ac_cv_func_getattrlist" = xyes
19971 then :
19972 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19975 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19976 if test "x$ac_cv_func_getauxval" = xyes
19977 then :
19978 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19981 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19982 if test "x$ac_cv_func_getifaddrs" = xyes
19983 then :
19984 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19987 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19988 if test "x$ac_cv_func_getrandom" = xyes
19989 then :
19990 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19993 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19994 if test "x$ac_cv_func_kqueue" = xyes
19995 then :
19996 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19999 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20000 if test "x$ac_cv_func_mach_continuous_time" = xyes
20001 then :
20002 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20005 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20006 if test "x$ac_cv_func_pipe2" = xyes
20007 then :
20008 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20011 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20012 if test "x$ac_cv_func_port_create" = xyes
20013 then :
20014 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20017 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20018 if test "x$ac_cv_func_posix_fadvise" = xyes
20019 then :
20020 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20023 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20024 if test "x$ac_cv_func_posix_fallocate" = xyes
20025 then :
20026 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20029 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20030 if test "x$ac_cv_func_prctl" = xyes
20031 then :
20032 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20035 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20036 if test "x$ac_cv_func_proc_pidinfo" = xyes
20037 then :
20038 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20041 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20042 if test "x$ac_cv_func_sched_yield" = xyes
20043 then :
20044 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20047 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20048 if test "x$ac_cv_func_setproctitle" = xyes
20049 then :
20050 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20053 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20054 if test "x$ac_cv_func_setprogname" = xyes
20055 then :
20056 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20059 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20060 if test "x$ac_cv_func_sigprocmask" = xyes
20061 then :
20062 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20065 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20066 if test "x$ac_cv_func_sysinfo" = xyes
20067 then :
20068 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20071 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20072 if test "x$ac_cv_func_tcdrain" = xyes
20073 then :
20074 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20077 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20078 if test "x$ac_cv_func_thr_kill2" = xyes
20079 then :
20080 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20084 CFLAGS="$ac_save_CFLAGS"
20086 case $host_os in
20087 darwin*|macosx*) ;;
20088 *) ac_save_LIBS=$LIBS
20089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20090 printf %s "checking for library containing clock_gettime... " >&6; }
20091 if test ${ac_cv_search_clock_gettime+y}
20092 then :
20093 printf %s "(cached) " >&6
20094 else $as_nop
20095 ac_func_search_save_LIBS=$LIBS
20096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20097 /* end confdefs.h. */
20099 /* Override any GCC internal prototype to avoid an error.
20100 Use char because int might match the return type of a GCC
20101 builtin and then its argument prototype would still apply. */
20102 char clock_gettime ();
20104 main (void)
20106 return clock_gettime ();
20108 return 0;
20110 _ACEOF
20111 for ac_lib in '' rt
20113 if test -z "$ac_lib"; then
20114 ac_res="none required"
20115 else
20116 ac_res=-l$ac_lib
20117 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20119 if ac_fn_c_try_link "$LINENO"
20120 then :
20121 ac_cv_search_clock_gettime=$ac_res
20123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20124 conftest$ac_exeext
20125 if test ${ac_cv_search_clock_gettime+y}
20126 then :
20127 break
20129 done
20130 if test ${ac_cv_search_clock_gettime+y}
20131 then :
20133 else $as_nop
20134 ac_cv_search_clock_gettime=no
20136 rm conftest.$ac_ext
20137 LIBS=$ac_func_search_save_LIBS
20139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20140 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20141 ac_res=$ac_cv_search_clock_gettime
20142 if test "$ac_res" != no
20143 then :
20144 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20146 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20148 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20152 LIBS=$ac_save_LIBS
20154 esac
20156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20157 printf %s "checking for sched_setaffinity... " >&6; }
20158 if test ${wine_cv_have_sched_setaffinity+y}
20159 then :
20160 printf %s "(cached) " >&6
20161 else $as_nop
20162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20163 /* end confdefs.h. */
20164 #include <sched.h>
20166 main (void)
20168 sched_setaffinity(0, 0, 0);
20170 return 0;
20172 _ACEOF
20173 if ac_fn_c_try_link "$LINENO"
20174 then :
20175 wine_cv_have_sched_setaffinity=yes
20176 else $as_nop
20177 wine_cv_have_sched_setaffinity=no
20179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20180 conftest$ac_exeext conftest.$ac_ext
20182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20183 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20184 if test "$wine_cv_have_sched_setaffinity" = "yes"
20185 then
20187 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20193 printf %s "checking for inline... " >&6; }
20194 if test ${ac_cv_c_inline+y}
20195 then :
20196 printf %s "(cached) " >&6
20197 else $as_nop
20198 ac_cv_c_inline=no
20199 for ac_kw in inline __inline__ __inline; do
20200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20201 /* end confdefs.h. */
20202 #ifndef __cplusplus
20203 typedef int foo_t;
20204 static $ac_kw foo_t static_foo (void) {return 0; }
20205 $ac_kw foo_t foo (void) {return 0; }
20206 #endif
20208 _ACEOF
20209 if ac_fn_c_try_compile "$LINENO"
20210 then :
20211 ac_cv_c_inline=$ac_kw
20213 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20214 test "$ac_cv_c_inline" != no && break
20215 done
20218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20219 printf "%s\n" "$ac_cv_c_inline" >&6; }
20221 case $ac_cv_c_inline in
20222 inline | yes) ;;
20224 case $ac_cv_c_inline in
20225 no) ac_val=;;
20226 *) ac_val=$ac_cv_c_inline;;
20227 esac
20228 cat >>confdefs.h <<_ACEOF
20229 #ifndef __cplusplus
20230 #define inline $ac_val
20231 #endif
20232 _ACEOF
20234 esac
20236 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20238 if test "x$ac_cv_type_request_sense" = xyes
20239 then :
20241 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20247 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20248 #include <sys/socket.h>
20249 #ifdef HAVE_SYS_SOCKETVAR_H
20250 #include <sys/socketvar.h>
20251 #endif
20252 #ifdef HAVE_NET_ROUTE_H
20253 #include <net/route.h>
20254 #endif
20255 #ifdef HAVE_NETINET_IN_H
20256 #include <netinet/in.h>
20257 #endif
20258 #ifdef HAVE_NETINET_IN_SYSTM_H
20259 #include <netinet/in_systm.h>
20260 #endif
20261 #ifdef HAVE_NETINET_IP_H
20262 #include <netinet/ip.h>
20263 #endif
20264 #ifdef HAVE_NETINET_IN_PCB_H
20265 #include <netinet/in_pcb.h>
20266 #endif
20268 if test "x$ac_cv_type_struct_xinpgen" = xyes
20269 then :
20271 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20278 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20279 if test ${wine_cv_linux_gethostbyname_r_6+y}
20280 then :
20281 printf %s "(cached) " >&6
20282 else $as_nop
20283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20284 /* end confdefs.h. */
20285 #include <netdb.h>
20287 main (void)
20290 char *name=0;
20291 struct hostent he;
20292 struct hostent *result;
20293 char *buf=0;
20294 int bufsize=0;
20295 int errnr;
20296 char *addr=0;
20297 int addrlen=0;
20298 int addrtype=0;
20299 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20300 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20303 return 0;
20305 _ACEOF
20306 if ac_fn_c_try_link "$LINENO"
20307 then :
20308 wine_cv_linux_gethostbyname_r_6=yes
20309 else $as_nop
20310 wine_cv_linux_gethostbyname_r_6=no
20313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20314 conftest$ac_exeext conftest.$ac_ext
20317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20318 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20319 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20320 then
20322 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20326 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20327 #include <sys/socket.h>
20328 #ifdef HAVE_SYS_UN_H
20329 # include <sys/un.h>
20330 #endif
20332 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20333 then :
20335 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20339 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20340 #include <sys/socket.h>
20341 #ifdef HAVE_SYS_UN_H
20342 # include <sys/un.h>
20343 #endif
20345 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20346 then :
20348 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20354 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20355 #ifdef HAVE_SCSI_SG_H
20356 #include <scsi/sg.h>
20357 #endif
20359 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20360 then :
20362 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20366 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>
20367 #ifdef HAVE_SCSI_SG_H
20368 #include <scsi/sg.h>
20369 #endif
20371 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20372 then :
20374 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20380 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20382 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20383 then :
20385 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20391 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20392 #ifdef HAVE_SYS_MTIO_H
20393 #include <sys/mtio.h>
20394 #endif
20396 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20397 then :
20399 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20403 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20404 #ifdef HAVE_SYS_MTIO_H
20405 #include <sys/mtio.h>
20406 #endif
20408 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20409 then :
20411 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20415 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20416 #ifdef HAVE_SYS_MTIO_H
20417 #include <sys/mtio.h>
20418 #endif
20420 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20421 then :
20423 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20429 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20430 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20431 then :
20433 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20437 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20438 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20439 then :
20441 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20445 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20446 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20447 then :
20449 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20453 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20454 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20455 then :
20457 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20461 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20462 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20463 then :
20465 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20469 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20470 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20471 then :
20473 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20477 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20478 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20479 then :
20481 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20485 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20486 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20487 then :
20489 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20493 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20494 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20495 then :
20497 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20501 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20502 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20503 then :
20505 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20509 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20510 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20511 then :
20513 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20519 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>
20520 #ifdef HAVE_NETINET_IN_H
20521 #include <netinet/in.h>
20522 #endif
20524 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20525 then :
20527 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20533 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
20534 #include <resolv.h>
20535 #endif
20537 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20538 then :
20540 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20546 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20547 #include <netinet/in.h>
20548 #endif
20550 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20551 then :
20553 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20559 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20560 #ifdef HAVE_SYS_SOCKETVAR_H
20561 #include <sys/socketvar.h>
20562 #endif
20563 #ifdef HAVE_NETINET_IN_H
20564 #include <netinet/in.h>
20565 #endif
20566 #ifdef HAVE_NETINET_IP_VAR_H
20567 #include <netinet/ip_var.h>
20568 #endif
20570 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20571 then :
20573 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20579 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
20580 #include <netinet/ip_var.h>
20581 #endif
20583 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20584 then :
20586 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20592 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20593 #ifdef HAVE_SYS_SOCKETVAR_H
20594 #include <sys/socketvar.h>
20595 #endif
20596 #ifdef HAVE_NETINET_IN_H
20597 #include <netinet/in.h>
20598 #endif
20599 #ifdef HAVE_NETINET6_IP6_VAR_H
20600 #include <netinet6/ip6_var.h>
20601 #endif
20603 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20604 then :
20606 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20612 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20613 #ifdef HAVE_SYS_SOCKETVAR_H
20614 #include <sys/socketvar.h>
20615 #endif
20616 #ifdef HAVE_NETINET_IN_H
20617 #include <netinet/in.h>
20618 #endif
20619 #ifdef HAVE_NETINET_IP_H
20620 #include <netinet/ip.h>
20621 #endif
20622 #ifdef HAVE_NETINET_IP_ICMP_H
20623 #include <netinet/ip_icmp.h>
20624 #endif
20625 #ifdef HAVE_NETINET_ICMP_VAR_H
20626 #include <netinet/icmp_var.h>
20627 #endif
20629 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20630 then :
20632 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20638 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20639 #ifdef HAVE_SYS_SOCKETVAR_H
20640 #include <sys/socketvar.h>
20641 #endif
20642 #ifdef HAVE_NETINET_IN_H
20643 #include <netinet/in.h>
20644 #endif
20645 #ifdef HAVE_NETINET_ICMP6_H
20646 #include <netinet/icmp6.h>
20647 #endif
20649 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20650 then :
20652 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20658 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20659 #ifdef HAVE_SYS_SOCKETVAR_H
20660 #include <sys/socketvar.h>
20661 #endif
20662 #ifdef HAVE_NETINET_IN_H
20663 #include <netinet/in.h>
20664 #endif
20665 #ifdef HAVE_NETINET_TCP_H
20666 #include <netinet/tcp.h>
20667 #endif
20668 #ifdef HAVE_NETINET_TCP_VAR_H
20669 #include <netinet/tcp_var.h>
20670 #endif
20672 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20673 then :
20675 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20681 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
20682 #include <netinet/tcp_var.h>
20683 #endif
20685 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20686 then :
20688 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20694 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20695 #ifdef HAVE_NETINET_IN_H
20696 #include <netinet/in.h>
20697 #endif
20698 #ifdef HAVE_NETINET_IP_VAR_H
20699 #include <netinet/ip_var.h>
20700 #endif
20701 #ifdef HAVE_NETINET_UDP_H
20702 #include <netinet/udp.h>
20703 #endif
20704 #ifdef HAVE_NETINET_UDP_VAR_H
20705 #include <netinet/udp_var.h>
20706 #endif
20708 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20709 then :
20711 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20717 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20718 #ifdef HAVE_NET_IF_H
20719 # include <net/if.h>
20720 #endif
20722 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20723 then :
20725 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20731 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20732 # include <sys/sysinfo.h>
20733 #endif
20735 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20736 then :
20738 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20742 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20743 # include <sys/sysinfo.h>
20744 #endif
20746 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20747 then :
20749 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20755 LIBS="$ac_save_LIBS"
20757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20758 printf %s "checking for __builtin_popcount... " >&6; }
20759 if test ${ac_cv_have___builtin_popcount+y}
20760 then :
20761 printf %s "(cached) " >&6
20762 else $as_nop
20763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20764 /* end confdefs.h. */
20767 main (void)
20769 return __builtin_popcount(1)
20771 return 0;
20773 _ACEOF
20774 if ac_fn_c_try_link "$LINENO"
20775 then :
20776 ac_cv_have___builtin_popcount="yes"
20777 else $as_nop
20778 ac_cv_have___builtin_popcount="no"
20780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20781 conftest$ac_exeext conftest.$ac_ext
20783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20784 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20785 if test "$ac_cv_have___builtin_popcount" = "yes"
20786 then
20788 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20793 printf %s "checking for __clear_cache... " >&6; }
20794 if test ${ac_cv_have___clear_cache+y}
20795 then :
20796 printf %s "(cached) " >&6
20797 else $as_nop
20798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20799 /* end confdefs.h. */
20802 main (void)
20804 __clear_cache((void*)0, (void*)0); return 0;
20806 return 0;
20808 _ACEOF
20809 if ac_fn_c_try_link "$LINENO"
20810 then :
20811 ac_cv_have___clear_cache="yes"
20812 else $as_nop
20813 ac_cv_have___clear_cache="no"
20815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20816 conftest$ac_exeext conftest.$ac_ext
20818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20819 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20820 if test "$ac_cv_have___clear_cache" = "yes"
20821 then
20823 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20828 case $host_cpu in
20829 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20830 printf %s "checking whether we need to define __i386__... " >&6; }
20831 if test ${ac_cv_cpp_def___i386__+y}
20832 then :
20833 printf %s "(cached) " >&6
20834 else $as_nop
20835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20836 /* end confdefs.h. */
20837 #ifndef __i386__
20839 #endif
20840 _ACEOF
20841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20842 $EGREP "yes" >/dev/null 2>&1
20843 then :
20844 ac_cv_cpp_def___i386__=yes
20845 else $as_nop
20846 ac_cv_cpp_def___i386__=no
20848 rm -rf conftest*
20851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20852 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20853 if test "x$ac_cv_cpp_def___i386__" = xyes
20854 then :
20855 CFLAGS="$CFLAGS -D__i386__"
20856 LINTFLAGS="$LINTFLAGS -D__i386__"
20857 fi ;;
20858 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20859 printf %s "checking whether we need to define __x86_64__... " >&6; }
20860 if test ${ac_cv_cpp_def___x86_64__+y}
20861 then :
20862 printf %s "(cached) " >&6
20863 else $as_nop
20864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20865 /* end confdefs.h. */
20866 #ifndef __x86_64__
20868 #endif
20869 _ACEOF
20870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20871 $EGREP "yes" >/dev/null 2>&1
20872 then :
20873 ac_cv_cpp_def___x86_64__=yes
20874 else $as_nop
20875 ac_cv_cpp_def___x86_64__=no
20877 rm -rf conftest*
20880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20881 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20882 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20883 then :
20884 CFLAGS="$CFLAGS -D__x86_64__"
20885 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20886 fi ;;
20887 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20888 printf %s "checking whether we need to define __sparc64__... " >&6; }
20889 if test ${ac_cv_cpp_def___sparc64__+y}
20890 then :
20891 printf %s "(cached) " >&6
20892 else $as_nop
20893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20894 /* end confdefs.h. */
20895 #ifndef __sparc64__
20897 #endif
20898 _ACEOF
20899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20900 $EGREP "yes" >/dev/null 2>&1
20901 then :
20902 ac_cv_cpp_def___sparc64__=yes
20903 else $as_nop
20904 ac_cv_cpp_def___sparc64__=no
20906 rm -rf conftest*
20909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20910 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20911 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20912 then :
20913 CFLAGS="$CFLAGS -D__sparc64__"
20914 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20915 fi ;;
20916 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20917 printf %s "checking whether we need to define __sparc__... " >&6; }
20918 if test ${ac_cv_cpp_def___sparc__+y}
20919 then :
20920 printf %s "(cached) " >&6
20921 else $as_nop
20922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h. */
20924 #ifndef __sparc__
20926 #endif
20927 _ACEOF
20928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20929 $EGREP "yes" >/dev/null 2>&1
20930 then :
20931 ac_cv_cpp_def___sparc__=yes
20932 else $as_nop
20933 ac_cv_cpp_def___sparc__=no
20935 rm -rf conftest*
20938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20939 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20940 if test "x$ac_cv_cpp_def___sparc__" = xyes
20941 then :
20942 CFLAGS="$CFLAGS -D__sparc__"
20943 LINTFLAGS="$LINTFLAGS -D__sparc__"
20944 fi ;;
20945 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20946 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20947 if test ${ac_cv_cpp_def___powerpc64__+y}
20948 then :
20949 printf %s "(cached) " >&6
20950 else $as_nop
20951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20952 /* end confdefs.h. */
20953 #ifndef __powerpc64__
20955 #endif
20956 _ACEOF
20957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20958 $EGREP "yes" >/dev/null 2>&1
20959 then :
20960 ac_cv_cpp_def___powerpc64__=yes
20961 else $as_nop
20962 ac_cv_cpp_def___powerpc64__=no
20964 rm -rf conftest*
20967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20968 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20969 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20970 then :
20971 CFLAGS="$CFLAGS -D__powerpc64__"
20972 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20973 fi ;;
20974 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20975 printf %s "checking whether we need to define __powerpc__... " >&6; }
20976 if test ${ac_cv_cpp_def___powerpc__+y}
20977 then :
20978 printf %s "(cached) " >&6
20979 else $as_nop
20980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20981 /* end confdefs.h. */
20982 #ifndef __powerpc__
20984 #endif
20985 _ACEOF
20986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20987 $EGREP "yes" >/dev/null 2>&1
20988 then :
20989 ac_cv_cpp_def___powerpc__=yes
20990 else $as_nop
20991 ac_cv_cpp_def___powerpc__=no
20993 rm -rf conftest*
20996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20997 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20998 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20999 then :
21000 CFLAGS="$CFLAGS -D__powerpc__"
21001 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21002 fi ;;
21003 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21004 printf %s "checking whether we need to define __aarch64__... " >&6; }
21005 if test ${ac_cv_cpp_def___aarch64__+y}
21006 then :
21007 printf %s "(cached) " >&6
21008 else $as_nop
21009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21010 /* end confdefs.h. */
21011 #ifndef __aarch64__
21013 #endif
21014 _ACEOF
21015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21016 $EGREP "yes" >/dev/null 2>&1
21017 then :
21018 ac_cv_cpp_def___aarch64__=yes
21019 else $as_nop
21020 ac_cv_cpp_def___aarch64__=no
21022 rm -rf conftest*
21025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21026 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21027 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21028 then :
21029 CFLAGS="$CFLAGS -D__aarch64__"
21030 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21031 fi ;;
21032 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21033 printf %s "checking whether we need to define __arm__... " >&6; }
21034 if test ${ac_cv_cpp_def___arm__+y}
21035 then :
21036 printf %s "(cached) " >&6
21037 else $as_nop
21038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21039 /* end confdefs.h. */
21040 #ifndef __arm__
21042 #endif
21043 _ACEOF
21044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21045 $EGREP "yes" >/dev/null 2>&1
21046 then :
21047 ac_cv_cpp_def___arm__=yes
21048 else $as_nop
21049 ac_cv_cpp_def___arm__=no
21051 rm -rf conftest*
21054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21055 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21056 if test "x$ac_cv_cpp_def___arm__" = xyes
21057 then :
21058 CFLAGS="$CFLAGS -D__arm__"
21059 LINTFLAGS="$LINTFLAGS -D__arm__"
21060 fi ;;
21061 esac
21063 case $host_vendor in
21064 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21065 printf %s "checking whether we need to define __sun__... " >&6; }
21066 if test ${ac_cv_cpp_def___sun__+y}
21067 then :
21068 printf %s "(cached) " >&6
21069 else $as_nop
21070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h. */
21072 #ifndef __sun__
21074 #endif
21075 _ACEOF
21076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21077 $EGREP "yes" >/dev/null 2>&1
21078 then :
21079 ac_cv_cpp_def___sun__=yes
21080 else $as_nop
21081 ac_cv_cpp_def___sun__=no
21083 rm -rf conftest*
21086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21087 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21088 if test "x$ac_cv_cpp_def___sun__" = xyes
21089 then :
21090 CFLAGS="$CFLAGS -D__sun__"
21091 LINTFLAGS="$LINTFLAGS -D__sun__"
21092 fi ;;
21093 esac
21099 ac_config_commands="$ac_config_commands include/stamp-h"
21101 printf %s "creating Makefile rules..." >&6
21103 makedep_flags=""
21104 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21106 wine_srcdir=
21107 test "$srcdir" = . || wine_srcdir="$srcdir/"
21109 ac_config_links="$ac_config_links wine:tools/winewrapper"
21110 wine_fn_config_symlink wine
21111 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21112 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21113 wine_fn_config_symlink wine64
21116 wine_fn_config_makefile dlls/acledit enable_acledit
21117 wine_fn_config_makefile dlls/aclui enable_aclui
21118 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21119 wine_fn_config_makefile dlls/activeds enable_activeds
21120 wine_fn_config_makefile dlls/activeds/tests enable_tests
21121 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21122 wine_fn_config_makefile dlls/adsldp enable_adsldp
21123 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21124 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21125 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21126 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21127 wine_fn_config_makefile dlls/advpack enable_advpack
21128 wine_fn_config_makefile dlls/advpack/tests enable_tests
21129 wine_fn_config_makefile dlls/amsi enable_amsi
21130 wine_fn_config_makefile dlls/amstream enable_amstream
21131 wine_fn_config_makefile dlls/amstream/tests enable_tests
21132 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21133 wine_fn_config_makefile dlls/apphelp enable_apphelp
21134 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21135 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21136 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21137 wine_fn_config_makefile dlls/atl enable_atl
21138 wine_fn_config_makefile dlls/atl/tests enable_tests
21139 wine_fn_config_makefile dlls/atl100 enable_atl100
21140 wine_fn_config_makefile dlls/atl100/tests enable_tests
21141 wine_fn_config_makefile dlls/atl110 enable_atl110
21142 wine_fn_config_makefile dlls/atl110/tests enable_tests
21143 wine_fn_config_makefile dlls/atl80 enable_atl80
21144 wine_fn_config_makefile dlls/atl80/tests enable_tests
21145 wine_fn_config_makefile dlls/atl90 enable_atl90
21146 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21147 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21148 wine_fn_config_makefile dlls/atmlib enable_atmlib
21149 wine_fn_config_makefile dlls/authz enable_authz
21150 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21151 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21152 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21153 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21154 wine_fn_config_makefile dlls/avrt enable_avrt
21155 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21156 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21157 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21158 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21159 wine_fn_config_makefile dlls/browseui enable_browseui
21160 wine_fn_config_makefile dlls/browseui/tests enable_tests
21161 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21162 wine_fn_config_makefile dlls/cabinet enable_cabinet
21163 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21164 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21165 wine_fn_config_makefile dlls/cards enable_cards
21166 wine_fn_config_makefile dlls/cdosys enable_cdosys
21167 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21168 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21169 wine_fn_config_makefile dlls/clusapi enable_clusapi
21170 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21171 wine_fn_config_makefile dlls/combase enable_combase
21172 wine_fn_config_makefile dlls/combase/tests enable_tests
21173 wine_fn_config_makefile dlls/comcat enable_comcat
21174 wine_fn_config_makefile dlls/comcat/tests enable_tests
21175 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21176 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21177 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21178 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21179 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21180 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21181 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21182 wine_fn_config_makefile dlls/compstui enable_compstui
21183 wine_fn_config_makefile dlls/compstui/tests enable_tests
21184 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21185 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21186 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21187 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21188 wine_fn_config_makefile dlls/connect enable_connect
21189 wine_fn_config_makefile dlls/credui enable_credui
21190 wine_fn_config_makefile dlls/credui/tests enable_tests
21191 wine_fn_config_makefile dlls/crtdll enable_crtdll
21192 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21193 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21194 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21195 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21196 wine_fn_config_makefile dlls/cryptext enable_cryptext
21197 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21198 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21199 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21200 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21201 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21202 wine_fn_config_makefile dlls/cryptui enable_cryptui
21203 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21204 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21205 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21206 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21207 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21208 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21209 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21210 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21211 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21212 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21213 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21214 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21215 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21216 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21217 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21218 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21219 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21220 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21221 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21222 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21223 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21224 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21225 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21226 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21227 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21228 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21229 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21230 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21231 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21232 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21233 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21234 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21235 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21236 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21237 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21238 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21239 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21240 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21241 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21242 wine_fn_config_makefile dlls/d3dim enable_d3dim
21243 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21244 wine_fn_config_makefile dlls/d3drm enable_d3drm
21245 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21246 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21247 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21248 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21249 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21250 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21251 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21252 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21253 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21254 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21255 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21256 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21257 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21258 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21259 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21260 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21261 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21262 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21263 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21264 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21265 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21266 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21267 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21268 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21269 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21270 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21271 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21272 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21273 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21274 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21275 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21276 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21277 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21278 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21279 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21280 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21281 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21282 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21283 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21284 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21285 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21286 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21287 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21288 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21289 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21290 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21291 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21292 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21293 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21294 wine_fn_config_makefile dlls/davclnt enable_davclnt
21295 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21296 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21297 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21298 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21299 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21300 wine_fn_config_makefile dlls/dcomp enable_dcomp
21301 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21302 wine_fn_config_makefile dlls/ddraw enable_ddraw
21303 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21304 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21305 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21306 wine_fn_config_makefile dlls/devenum enable_devenum
21307 wine_fn_config_makefile dlls/devenum/tests enable_tests
21308 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21309 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21310 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21311 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21312 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21313 wine_fn_config_makefile dlls/difxapi enable_difxapi
21314 wine_fn_config_makefile dlls/dinput enable_dinput
21315 wine_fn_config_makefile dlls/dinput/tests enable_tests
21316 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21317 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21318 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21319 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21320 wine_fn_config_makefile dlls/dispex enable_dispex
21321 wine_fn_config_makefile dlls/dispex/tests enable_tests
21322 wine_fn_config_makefile dlls/display.drv16 enable_win16
21323 wine_fn_config_makefile dlls/dmband enable_dmband
21324 wine_fn_config_makefile dlls/dmband/tests enable_tests
21325 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21326 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21327 wine_fn_config_makefile dlls/dmime enable_dmime
21328 wine_fn_config_makefile dlls/dmime/tests enable_tests
21329 wine_fn_config_makefile dlls/dmloader enable_dmloader
21330 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21331 wine_fn_config_makefile dlls/dmscript enable_dmscript
21332 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21333 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21334 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21335 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21336 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21337 wine_fn_config_makefile dlls/dmusic enable_dmusic
21338 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21339 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21340 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21341 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21342 wine_fn_config_makefile dlls/dplay enable_dplay
21343 wine_fn_config_makefile dlls/dplayx enable_dplayx
21344 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21345 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21346 wine_fn_config_makefile dlls/dpnet enable_dpnet
21347 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21348 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21349 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21350 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21351 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21352 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21353 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21354 wine_fn_config_makefile dlls/drmclien enable_drmclien
21355 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21356 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21357 wine_fn_config_makefile dlls/dsound enable_dsound
21358 wine_fn_config_makefile dlls/dsound/tests enable_tests
21359 wine_fn_config_makefile dlls/dsquery enable_dsquery
21360 wine_fn_config_makefile dlls/dssenh enable_dssenh
21361 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21362 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21363 wine_fn_config_makefile dlls/dswave enable_dswave
21364 wine_fn_config_makefile dlls/dswave/tests enable_tests
21365 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21366 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21367 wine_fn_config_makefile dlls/dwrite enable_dwrite
21368 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21369 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21370 wine_fn_config_makefile dlls/dxcore enable_dxcore
21371 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21372 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21373 wine_fn_config_makefile dlls/dxgi enable_dxgi
21374 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21375 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21376 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21377 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21378 wine_fn_config_makefile dlls/esent enable_esent
21379 wine_fn_config_makefile dlls/evr enable_evr
21380 wine_fn_config_makefile dlls/evr/tests enable_tests
21381 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21382 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21383 wine_fn_config_makefile dlls/faultrep enable_faultrep
21384 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21385 wine_fn_config_makefile dlls/feclient enable_feclient
21386 wine_fn_config_makefile dlls/fltlib enable_fltlib
21387 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21388 wine_fn_config_makefile dlls/fntcache enable_fntcache
21389 wine_fn_config_makefile dlls/fontsub enable_fontsub
21390 wine_fn_config_makefile dlls/fusion enable_fusion
21391 wine_fn_config_makefile dlls/fusion/tests enable_tests
21392 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21393 wine_fn_config_makefile dlls/gameux enable_gameux
21394 wine_fn_config_makefile dlls/gameux/tests enable_tests
21395 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21396 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21397 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21398 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21399 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21400 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21401 wine_fn_config_makefile dlls/geolocation enable_geolocation
21402 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21403 wine_fn_config_makefile dlls/glu32 enable_glu32
21404 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21405 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21406 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21407 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21408 wine_fn_config_makefile dlls/hal enable_hal
21409 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21410 wine_fn_config_makefile dlls/hid enable_hid
21411 wine_fn_config_makefile dlls/hid/tests enable_tests
21412 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21413 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21414 wine_fn_config_makefile dlls/hlink enable_hlink
21415 wine_fn_config_makefile dlls/hlink/tests enable_tests
21416 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21417 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21418 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21419 wine_fn_config_makefile dlls/http.sys enable_http_sys
21420 wine_fn_config_makefile dlls/httpapi enable_httpapi
21421 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21422 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21423 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21424 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21425 wine_fn_config_makefile dlls/iccvid enable_iccvid
21426 wine_fn_config_makefile dlls/icmp enable_icmp
21427 wine_fn_config_makefile dlls/ieframe enable_ieframe
21428 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21429 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21430 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21431 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21432 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21433 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21434 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21435 wine_fn_config_makefile dlls/imm32 enable_imm32
21436 wine_fn_config_makefile dlls/imm32/tests enable_tests
21437 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21438 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21439 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21440 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21441 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21442 wine_fn_config_makefile dlls/infosoft enable_infosoft
21443 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21444 wine_fn_config_makefile dlls/initpki enable_initpki
21445 wine_fn_config_makefile dlls/inkobj enable_inkobj
21446 wine_fn_config_makefile dlls/inseng enable_inseng
21447 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21448 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21449 wine_fn_config_makefile dlls/iprop enable_iprop
21450 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21451 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21452 wine_fn_config_makefile dlls/itircl enable_itircl
21453 wine_fn_config_makefile dlls/itss enable_itss
21454 wine_fn_config_makefile dlls/itss/tests enable_tests
21455 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21456 wine_fn_config_makefile dlls/jscript enable_jscript
21457 wine_fn_config_makefile dlls/jscript/tests enable_tests
21458 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21459 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21460 wine_fn_config_makefile dlls/kerberos enable_kerberos
21461 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21462 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21463 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21464 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21465 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21466 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21467 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21468 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21469 wine_fn_config_makefile dlls/ksuser enable_ksuser
21470 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21471 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21472 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21473 wine_fn_config_makefile dlls/loadperf enable_loadperf
21474 wine_fn_config_makefile dlls/localspl enable_localspl
21475 wine_fn_config_makefile dlls/localspl/tests enable_tests
21476 wine_fn_config_makefile dlls/localui enable_localui
21477 wine_fn_config_makefile dlls/localui/tests enable_tests
21478 wine_fn_config_makefile dlls/lz32 enable_lz32
21479 wine_fn_config_makefile dlls/lz32/tests enable_tests
21480 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21481 wine_fn_config_makefile dlls/magnification enable_magnification
21482 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21483 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21484 wine_fn_config_makefile dlls/mapistub enable_mapistub
21485 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21486 wine_fn_config_makefile dlls/mcicda enable_mcicda
21487 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21488 wine_fn_config_makefile dlls/mciseq enable_mciseq
21489 wine_fn_config_makefile dlls/mciwave enable_mciwave
21490 wine_fn_config_makefile dlls/mf enable_mf
21491 wine_fn_config_makefile dlls/mf/tests enable_tests
21492 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21493 wine_fn_config_makefile dlls/mferror enable_mferror
21494 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21495 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21496 wine_fn_config_makefile dlls/mfplat enable_mfplat
21497 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21498 wine_fn_config_makefile dlls/mfplay enable_mfplay
21499 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21500 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21501 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21502 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21503 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21504 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21505 wine_fn_config_makefile dlls/midimap enable_midimap
21506 wine_fn_config_makefile dlls/mlang enable_mlang
21507 wine_fn_config_makefile dlls/mlang/tests enable_tests
21508 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21509 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21510 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21511 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21512 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21513 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21514 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21515 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21516 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21517 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21518 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21519 wine_fn_config_makefile dlls/mpr enable_mpr
21520 wine_fn_config_makefile dlls/mpr/tests enable_tests
21521 wine_fn_config_makefile dlls/mprapi enable_mprapi
21522 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21523 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21524 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21525 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21526 wine_fn_config_makefile dlls/msado15 enable_msado15
21527 wine_fn_config_makefile dlls/msado15/tests enable_tests
21528 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21529 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21530 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21531 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21532 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21533 wine_fn_config_makefile dlls/mscms enable_mscms
21534 wine_fn_config_makefile dlls/mscms/tests enable_tests
21535 wine_fn_config_makefile dlls/mscoree enable_mscoree
21536 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21537 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21538 wine_fn_config_makefile dlls/msctf enable_msctf
21539 wine_fn_config_makefile dlls/msctf/tests enable_tests
21540 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21541 wine_fn_config_makefile dlls/msctfp enable_msctfp
21542 wine_fn_config_makefile dlls/msdaps enable_msdaps
21543 wine_fn_config_makefile dlls/msdasql enable_msdasql
21544 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21545 wine_fn_config_makefile dlls/msdelta enable_msdelta
21546 wine_fn_config_makefile dlls/msdmo enable_msdmo
21547 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21548 wine_fn_config_makefile dlls/msdrm enable_msdrm
21549 wine_fn_config_makefile dlls/msftedit enable_msftedit
21550 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21551 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21552 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21553 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21554 wine_fn_config_makefile dlls/mshtml enable_mshtml
21555 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21556 wine_fn_config_makefile dlls/msi enable_msi
21557 wine_fn_config_makefile dlls/msi/tests enable_tests
21558 wine_fn_config_makefile dlls/msident enable_msident
21559 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21560 wine_fn_config_makefile dlls/msimsg enable_msimsg
21561 wine_fn_config_makefile dlls/msimtf enable_msimtf
21562 wine_fn_config_makefile dlls/msisip enable_msisip
21563 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21564 wine_fn_config_makefile dlls/msls31 enable_msls31
21565 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21566 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21567 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21568 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21569 wine_fn_config_makefile dlls/msports enable_msports
21570 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21571 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21572 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21573 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21574 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21575 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21576 wine_fn_config_makefile dlls/mstask enable_mstask
21577 wine_fn_config_makefile dlls/mstask/tests enable_tests
21578 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21579 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21580 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21581 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21582 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21583 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21584 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21585 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21586 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21587 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21588 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21589 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21590 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21591 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21592 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21593 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21594 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21595 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21596 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21597 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21598 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21599 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21600 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21601 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21602 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21603 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21604 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21605 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21606 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21607 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21608 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21609 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21610 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21611 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21612 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21613 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21614 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21615 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21616 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21617 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21618 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21619 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21620 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21621 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21622 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21623 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21624 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21625 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21626 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21627 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21628 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21629 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21630 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21631 wine_fn_config_makefile dlls/mswsock enable_mswsock
21632 wine_fn_config_makefile dlls/msxml enable_msxml
21633 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21634 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21635 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21636 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21637 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21638 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21639 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21640 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21641 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21642 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21643 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21644 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21645 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21646 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21647 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21648 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21649 wine_fn_config_makefile dlls/netprofm enable_netprofm
21650 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21651 wine_fn_config_makefile dlls/netutils enable_netutils
21652 wine_fn_config_makefile dlls/newdev enable_newdev
21653 wine_fn_config_makefile dlls/ninput enable_ninput
21654 wine_fn_config_makefile dlls/ninput/tests enable_tests
21655 wine_fn_config_makefile dlls/normaliz enable_normaliz
21656 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21657 wine_fn_config_makefile dlls/npptools enable_npptools
21658 wine_fn_config_makefile dlls/nsi enable_nsi
21659 wine_fn_config_makefile dlls/nsi/tests enable_tests
21660 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21661 wine_fn_config_makefile dlls/ntdll enable_ntdll
21662 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21663 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21664 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21665 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21666 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21667 wine_fn_config_makefile dlls/ntprint enable_ntprint
21668 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21669 wine_fn_config_makefile dlls/objsel enable_objsel
21670 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21671 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21672 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21673 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21674 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21675 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21676 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21677 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21678 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21679 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21680 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21681 wine_fn_config_makefile dlls/ole32 enable_ole32
21682 wine_fn_config_makefile dlls/ole32/tests enable_tests
21683 wine_fn_config_makefile dlls/oleacc enable_oleacc
21684 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21685 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21686 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21687 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21688 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21689 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21690 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21691 wine_fn_config_makefile dlls/oledlg enable_oledlg
21692 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21693 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21694 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21695 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21696 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21697 wine_fn_config_makefile dlls/opcservices enable_opcservices
21698 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21699 wine_fn_config_makefile dlls/opencl enable_opencl
21700 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21701 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21702 wine_fn_config_makefile dlls/packager enable_packager
21703 wine_fn_config_makefile dlls/packager/tests enable_tests
21704 wine_fn_config_makefile dlls/pdh enable_pdh
21705 wine_fn_config_makefile dlls/pdh/tests enable_tests
21706 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21707 wine_fn_config_makefile dlls/pidgen enable_pidgen
21708 wine_fn_config_makefile dlls/powrprof enable_powrprof
21709 wine_fn_config_makefile dlls/printui enable_printui
21710 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21711 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21712 wine_fn_config_makefile dlls/propsys enable_propsys
21713 wine_fn_config_makefile dlls/propsys/tests enable_tests
21714 wine_fn_config_makefile dlls/psapi enable_psapi
21715 wine_fn_config_makefile dlls/psapi/tests enable_tests
21716 wine_fn_config_makefile dlls/pstorec enable_pstorec
21717 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21718 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21719 wine_fn_config_makefile dlls/qasf enable_qasf
21720 wine_fn_config_makefile dlls/qasf/tests enable_tests
21721 wine_fn_config_makefile dlls/qcap enable_qcap
21722 wine_fn_config_makefile dlls/qcap/tests enable_tests
21723 wine_fn_config_makefile dlls/qdvd enable_qdvd
21724 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21725 wine_fn_config_makefile dlls/qedit enable_qedit
21726 wine_fn_config_makefile dlls/qedit/tests enable_tests
21727 wine_fn_config_makefile dlls/qmgr enable_qmgr
21728 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21729 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21730 wine_fn_config_makefile dlls/quartz enable_quartz
21731 wine_fn_config_makefile dlls/quartz/tests enable_tests
21732 wine_fn_config_makefile dlls/query enable_query
21733 wine_fn_config_makefile dlls/qwave enable_qwave
21734 wine_fn_config_makefile dlls/qwave/tests enable_tests
21735 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21736 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21737 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21738 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21739 wine_fn_config_makefile dlls/regapi enable_regapi
21740 wine_fn_config_makefile dlls/resutils enable_resutils
21741 wine_fn_config_makefile dlls/riched20 enable_riched20
21742 wine_fn_config_makefile dlls/riched20/tests enable_tests
21743 wine_fn_config_makefile dlls/riched32 enable_riched32
21744 wine_fn_config_makefile dlls/riched32/tests enable_tests
21745 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21746 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21747 wine_fn_config_makefile dlls/rsabase enable_rsabase
21748 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21749 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21750 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21751 wine_fn_config_makefile dlls/rtutils enable_rtutils
21752 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21753 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21754 wine_fn_config_makefile dlls/samlib enable_samlib
21755 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21756 wine_fn_config_makefile dlls/sapi enable_sapi
21757 wine_fn_config_makefile dlls/sapi/tests enable_tests
21758 wine_fn_config_makefile dlls/sas enable_sas
21759 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21760 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21761 wine_fn_config_makefile dlls/sccbase enable_sccbase
21762 wine_fn_config_makefile dlls/schannel enable_schannel
21763 wine_fn_config_makefile dlls/schannel/tests enable_tests
21764 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21765 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21766 wine_fn_config_makefile dlls/scrobj enable_scrobj
21767 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21768 wine_fn_config_makefile dlls/scrrun enable_scrrun
21769 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21770 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21771 wine_fn_config_makefile dlls/sechost enable_sechost
21772 wine_fn_config_makefile dlls/secur32 enable_secur32
21773 wine_fn_config_makefile dlls/secur32/tests enable_tests
21774 wine_fn_config_makefile dlls/security enable_security
21775 wine_fn_config_makefile dlls/sensapi enable_sensapi
21776 wine_fn_config_makefile dlls/serialui enable_serialui
21777 wine_fn_config_makefile dlls/serialui/tests enable_tests
21778 wine_fn_config_makefile dlls/setupapi enable_setupapi
21779 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21780 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21781 wine_fn_config_makefile dlls/sfc enable_sfc
21782 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21783 wine_fn_config_makefile dlls/shcore enable_shcore
21784 wine_fn_config_makefile dlls/shcore/tests enable_tests
21785 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21786 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21787 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21788 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21789 wine_fn_config_makefile dlls/shell32 enable_shell32
21790 wine_fn_config_makefile dlls/shell32/tests enable_tests
21791 wine_fn_config_makefile dlls/shfolder enable_shfolder
21792 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21793 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21794 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21795 wine_fn_config_makefile dlls/slc enable_slc
21796 wine_fn_config_makefile dlls/slc/tests enable_tests
21797 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21798 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21799 wine_fn_config_makefile dlls/softpub enable_softpub
21800 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21801 wine_fn_config_makefile dlls/spoolss enable_spoolss
21802 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21803 wine_fn_config_makefile dlls/sppc enable_sppc
21804 wine_fn_config_makefile dlls/srclient enable_srclient
21805 wine_fn_config_makefile dlls/srvcli enable_srvcli
21806 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
21807 wine_fn_config_makefile dlls/sspicli enable_sspicli
21808 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21809 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21810 wine_fn_config_makefile dlls/sti enable_sti
21811 wine_fn_config_makefile dlls/sti/tests enable_tests
21812 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21813 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21814 wine_fn_config_makefile dlls/strmdll enable_strmdll
21815 wine_fn_config_makefile dlls/svrapi enable_svrapi
21816 wine_fn_config_makefile dlls/sxs enable_sxs
21817 wine_fn_config_makefile dlls/sxs/tests enable_tests
21818 wine_fn_config_makefile dlls/system.drv16 enable_win16
21819 wine_fn_config_makefile dlls/t2embed enable_t2embed
21820 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21821 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21822 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21823 wine_fn_config_makefile dlls/taskschd enable_taskschd
21824 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21825 wine_fn_config_makefile dlls/tbs enable_tbs
21826 wine_fn_config_makefile dlls/tdh enable_tdh
21827 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21828 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21829 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21830 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21831 wine_fn_config_makefile dlls/traffic enable_traffic
21832 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21833 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21834 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21835 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21836 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21837 wine_fn_config_makefile dlls/tzres enable_tzres
21838 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21839 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21840 wine_fn_config_makefile dlls/uianimation enable_uianimation
21841 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21842 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21843 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21844 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21845 wine_fn_config_makefile dlls/unicows enable_unicows
21846 wine_fn_config_makefile dlls/updspapi enable_updspapi
21847 wine_fn_config_makefile dlls/url enable_url
21848 wine_fn_config_makefile dlls/urlmon enable_urlmon
21849 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21850 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21851 wine_fn_config_makefile dlls/user.exe16 enable_win16
21852 wine_fn_config_makefile dlls/user32 enable_user32
21853 wine_fn_config_makefile dlls/user32/tests enable_tests
21854 wine_fn_config_makefile dlls/userenv enable_userenv
21855 wine_fn_config_makefile dlls/userenv/tests enable_tests
21856 wine_fn_config_makefile dlls/usp10 enable_usp10
21857 wine_fn_config_makefile dlls/usp10/tests enable_tests
21858 wine_fn_config_makefile dlls/utildll enable_utildll
21859 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21860 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21861 wine_fn_config_makefile dlls/vbscript enable_vbscript
21862 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21863 wine_fn_config_makefile dlls/vcomp enable_vcomp
21864 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21865 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21866 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21867 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21868 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21869 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21870 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21871 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21872 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21873 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21874 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21875 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21876 wine_fn_config_makefile dlls/version enable_version
21877 wine_fn_config_makefile dlls/version/tests enable_tests
21878 wine_fn_config_makefile dlls/vga enable_vga
21879 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21880 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21881 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21882 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21883 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21884 wine_fn_config_makefile dlls/vssapi enable_vssapi
21885 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21886 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21887 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21888 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21889 wine_fn_config_makefile dlls/w32skrnl enable_win16
21890 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21891 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21892 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21893 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21894 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21895 wine_fn_config_makefile dlls/wdscore enable_wdscore
21896 wine_fn_config_makefile dlls/webservices enable_webservices
21897 wine_fn_config_makefile dlls/webservices/tests enable_tests
21898 wine_fn_config_makefile dlls/websocket enable_websocket
21899 wine_fn_config_makefile dlls/wer enable_wer
21900 wine_fn_config_makefile dlls/wer/tests enable_tests
21901 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21902 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21903 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21904 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21905 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21906 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21907 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21908 wine_fn_config_makefile dlls/win32u enable_win32u
21909 wine_fn_config_makefile dlls/win32u/tests enable_tests
21910 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21911 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21912 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21913 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
21914 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
21915 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21916 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21917 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21918 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21919 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
21920 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
21921 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21922 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21923 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21924 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21925 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21926 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21927 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21928 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21929 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
21930 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
21931 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21932 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21933 wine_fn_config_makefile dlls/windows.media enable_windows_media
21934 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21935 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21936 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21937 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21938 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21939 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21940 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
21941 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
21942 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21943 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21944 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21945 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21946 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21947 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21948 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21949 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21950 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21951 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21952 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21953 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21954 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21955 wine_fn_config_makefile dlls/wined3d enable_wined3d
21956 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21957 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21958 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21959 wine_fn_config_makefile dlls/winemapi enable_winemapi
21960 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21961 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21962 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21963 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21964 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21965 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21966 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21967 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21968 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21969 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21970 wine_fn_config_makefile dlls/wing32 enable_wing32
21971 wine_fn_config_makefile dlls/winhttp enable_winhttp
21972 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21973 wine_fn_config_makefile dlls/wininet enable_wininet
21974 wine_fn_config_makefile dlls/wininet/tests enable_tests
21975 wine_fn_config_makefile dlls/winmm enable_winmm
21976 wine_fn_config_makefile dlls/winmm/tests enable_tests
21977 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21978 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21979 wine_fn_config_makefile dlls/winprint enable_winprint
21980 wine_fn_config_makefile dlls/winscard enable_winscard
21981 wine_fn_config_makefile dlls/winscard/tests enable_tests
21982 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21983 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21984 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21985 wine_fn_config_makefile dlls/winsta enable_winsta
21986 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21987 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21988 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21989 wine_fn_config_makefile dlls/wintrust enable_wintrust
21990 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21991 wine_fn_config_makefile dlls/wintypes enable_wintypes
21992 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21993 wine_fn_config_makefile dlls/winusb enable_winusb
21994 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21995 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21996 wine_fn_config_makefile dlls/wlanui enable_wlanui
21997 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21998 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21999 wine_fn_config_makefile dlls/wldp enable_wldp
22000 wine_fn_config_makefile dlls/wmasf enable_wmasf
22001 wine_fn_config_makefile dlls/wmi enable_wmi
22002 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22003 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22004 wine_fn_config_makefile dlls/wmp enable_wmp
22005 wine_fn_config_makefile dlls/wmp/tests enable_tests
22006 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22007 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22008 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22009 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22010 wine_fn_config_makefile dlls/wofutil enable_wofutil
22011 wine_fn_config_makefile dlls/wow32 enable_win16
22012 wine_fn_config_makefile dlls/wow64 enable_wow64
22013 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22014 wine_fn_config_makefile dlls/wow64win enable_wow64win
22015 wine_fn_config_makefile dlls/wpc enable_wpc
22016 wine_fn_config_makefile dlls/wpc/tests enable_tests
22017 wine_fn_config_makefile dlls/wpcap enable_wpcap
22018 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22019 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22020 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22021 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22022 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22023 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22024 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22025 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22026 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22027 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22028 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22029 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22030 wine_fn_config_makefile dlls/wuapi enable_wuapi
22031 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22032 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22033 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22034 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22035 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22036 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22037 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22038 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22039 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22040 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22041 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22042 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22043 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22044 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22045 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22046 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22047 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22048 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22049 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22050 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22051 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22052 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22053 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22054 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22055 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22056 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22057 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22058 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22059 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22060 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22061 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22062 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22063 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22064 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22065 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22066 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22067 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22068 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22069 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22070 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22071 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22072 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22073 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22074 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22075 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22076 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22077 wine_fn_config_makefile dlls/xmllite enable_xmllite
22078 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22079 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22080 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22081 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22082 wine_fn_config_makefile fonts enable_fonts
22083 wine_fn_config_makefile include enable_include
22084 wine_fn_config_makefile libs/adsiid enable_adsiid
22085 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22086 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22087 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22088 wine_fn_config_makefile libs/dxguid enable_dxguid
22089 wine_fn_config_makefile libs/faudio enable_faudio
22090 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22091 wine_fn_config_makefile libs/gsm enable_gsm
22092 wine_fn_config_makefile libs/jpeg enable_jpeg
22093 wine_fn_config_makefile libs/jxr enable_jxr
22094 wine_fn_config_makefile libs/lcms2 enable_lcms2
22095 wine_fn_config_makefile libs/ldap enable_ldap
22096 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22097 wine_fn_config_makefile libs/mpg123 enable_mpg123
22098 wine_fn_config_makefile libs/musl enable_musl
22099 wine_fn_config_makefile libs/png enable_png
22100 wine_fn_config_makefile libs/strmbase enable_strmbase
22101 wine_fn_config_makefile libs/strmiids enable_strmiids
22102 wine_fn_config_makefile libs/tiff enable_tiff
22103 wine_fn_config_makefile libs/uuid enable_uuid
22104 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22105 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22106 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22107 wine_fn_config_makefile libs/xml2 enable_xml2
22108 wine_fn_config_makefile libs/xslt enable_xslt
22109 wine_fn_config_makefile libs/zlib enable_zlib
22110 wine_fn_config_makefile libs/zydis enable_zydis
22111 wine_fn_config_makefile loader enable_loader
22112 wine_fn_config_makefile nls enable_nls
22113 wine_fn_config_makefile po enable_po
22114 wine_fn_config_makefile programs/arp enable_arp
22115 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22116 wine_fn_config_makefile programs/attrib enable_attrib
22117 wine_fn_config_makefile programs/cabarc enable_cabarc
22118 wine_fn_config_makefile programs/cacls enable_cacls
22119 wine_fn_config_makefile programs/certutil enable_certutil
22120 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22121 wine_fn_config_makefile programs/clock enable_clock
22122 wine_fn_config_makefile programs/cmd enable_cmd
22123 wine_fn_config_makefile programs/cmd/tests enable_tests
22124 wine_fn_config_makefile programs/conhost enable_conhost
22125 wine_fn_config_makefile programs/conhost/tests enable_tests
22126 wine_fn_config_makefile programs/control enable_control
22127 wine_fn_config_makefile programs/cscript enable_cscript
22128 wine_fn_config_makefile programs/dism enable_dism
22129 wine_fn_config_makefile programs/dllhost enable_dllhost
22130 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22131 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22132 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22133 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22134 wine_fn_config_makefile programs/eject enable_eject
22135 wine_fn_config_makefile programs/expand enable_expand
22136 wine_fn_config_makefile programs/explorer enable_explorer
22137 wine_fn_config_makefile programs/explorer/tests enable_tests
22138 wine_fn_config_makefile programs/extrac32 enable_extrac32
22139 wine_fn_config_makefile programs/fc enable_fc
22140 wine_fn_config_makefile programs/find enable_find
22141 wine_fn_config_makefile programs/find/tests enable_tests
22142 wine_fn_config_makefile programs/findstr enable_findstr
22143 wine_fn_config_makefile programs/findstr/tests enable_tests
22144 wine_fn_config_makefile programs/fsutil enable_fsutil
22145 wine_fn_config_makefile programs/fsutil/tests enable_tests
22146 wine_fn_config_makefile programs/hh enable_hh
22147 wine_fn_config_makefile programs/hostname enable_hostname
22148 wine_fn_config_makefile programs/icacls enable_icacls
22149 wine_fn_config_makefile programs/icinfo enable_icinfo
22150 wine_fn_config_makefile programs/iexplore enable_iexplore
22151 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22152 wine_fn_config_makefile programs/klist enable_klist
22153 wine_fn_config_makefile programs/lodctr enable_lodctr
22154 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22155 wine_fn_config_makefile programs/mshta enable_mshta
22156 wine_fn_config_makefile programs/msidb enable_msidb
22157 wine_fn_config_makefile programs/msiexec enable_msiexec
22158 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22159 wine_fn_config_makefile programs/net enable_net
22160 wine_fn_config_makefile programs/netsh enable_netsh
22161 wine_fn_config_makefile programs/netstat enable_netstat
22162 wine_fn_config_makefile programs/ngen enable_ngen
22163 wine_fn_config_makefile programs/notepad enable_notepad
22164 wine_fn_config_makefile programs/oleview enable_oleview
22165 wine_fn_config_makefile programs/ping enable_ping
22166 wine_fn_config_makefile programs/plugplay enable_plugplay
22167 wine_fn_config_makefile programs/pnputil enable_pnputil
22168 wine_fn_config_makefile programs/powershell enable_powershell
22169 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22170 wine_fn_config_makefile programs/progman enable_progman
22171 wine_fn_config_makefile programs/reg enable_reg
22172 wine_fn_config_makefile programs/reg/tests enable_tests
22173 wine_fn_config_makefile programs/regasm enable_regasm
22174 wine_fn_config_makefile programs/regedit enable_regedit
22175 wine_fn_config_makefile programs/regedit/tests enable_tests
22176 wine_fn_config_makefile programs/regini enable_regini
22177 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22178 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22179 wine_fn_config_makefile programs/robocopy enable_robocopy
22180 wine_fn_config_makefile programs/rpcss enable_rpcss
22181 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22182 wine_fn_config_makefile programs/rundll32 enable_rundll32
22183 wine_fn_config_makefile programs/sc enable_sc
22184 wine_fn_config_makefile programs/sc/tests enable_tests
22185 wine_fn_config_makefile programs/schtasks enable_schtasks
22186 wine_fn_config_makefile programs/schtasks/tests enable_tests
22187 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22188 wine_fn_config_makefile programs/secedit enable_secedit
22189 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22190 wine_fn_config_makefile programs/services enable_services
22191 wine_fn_config_makefile programs/services/tests enable_tests
22192 wine_fn_config_makefile programs/setx enable_setx
22193 wine_fn_config_makefile programs/shutdown enable_shutdown
22194 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22195 wine_fn_config_makefile programs/start enable_start
22196 wine_fn_config_makefile programs/subst enable_subst
22197 wine_fn_config_makefile programs/svchost enable_svchost
22198 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22199 wine_fn_config_makefile programs/taskkill enable_taskkill
22200 wine_fn_config_makefile programs/tasklist enable_tasklist
22201 wine_fn_config_makefile programs/tasklist/tests enable_tests
22202 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22203 wine_fn_config_makefile programs/termsv enable_termsv
22204 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22205 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22206 wine_fn_config_makefile programs/view enable_view
22207 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22208 wine_fn_config_makefile programs/where enable_where
22209 wine_fn_config_makefile programs/whoami enable_whoami
22210 wine_fn_config_makefile programs/wineboot enable_wineboot
22211 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22212 wine_fn_config_makefile programs/winecfg enable_winecfg
22213 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22214 wine_fn_config_makefile programs/winedbg enable_winedbg
22215 wine_fn_config_makefile programs/winedevice enable_winedevice
22216 wine_fn_config_makefile programs/winefile enable_winefile
22217 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22218 wine_fn_config_makefile programs/winemine enable_winemine
22219 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22220 wine_fn_config_makefile programs/winepath enable_winepath
22221 wine_fn_config_makefile programs/winetest enable_winetest
22222 wine_fn_config_makefile programs/winevdm enable_win16
22223 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22224 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22225 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22226 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22227 wine_fn_config_makefile programs/winver enable_winver
22228 wine_fn_config_makefile programs/wmic enable_wmic
22229 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22230 wine_fn_config_makefile programs/wordpad enable_wordpad
22231 wine_fn_config_makefile programs/write enable_write
22232 wine_fn_config_makefile programs/wscript enable_wscript
22233 wine_fn_config_makefile programs/wscript/tests enable_tests
22234 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22235 wine_fn_config_makefile programs/wusa enable_wusa
22236 wine_fn_config_makefile programs/xcopy enable_xcopy
22237 wine_fn_config_makefile programs/xcopy/tests enable_tests
22238 wine_fn_config_makefile server enable_server
22239 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22240 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22241 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22242 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22243 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22244 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22245 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22246 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22247 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22250 as_fn_append CONFIGURE_TARGETS " TAGS"
22251 as_fn_append CONFIGURE_TARGETS " tags"
22252 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22253 as_fn_append CONFIGURE_TARGETS " config.log"
22254 as_fn_append CONFIGURE_TARGETS " config.status"
22255 as_fn_append CONFIGURE_TARGETS " include/config.h"
22256 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22257 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22259 if test "x$enable_tools" != xno
22260 then
22261 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22262 ac_config_commands="$ac_config_commands tools/makedep"
22266 ac_config_commands="$ac_config_commands Makefile"
22270 SHELL=/bin/sh
22273 as_fn_append wine_rules "
22274 all: wine
22275 @echo \"Wine build complete.\"
22276 .INIT: Makefile
22277 .MAKEFILEDEPS:
22278 all: Makefile
22279 Makefile: config.status \$(MAKEDEP)
22280 @./config.status Makefile
22281 depend: \$(MAKEDEP)
22282 \$(MAKEDEP)$makedep_flags"
22285 as_fn_append wine_rules "
22286 config.status: ${wine_srcdir}configure
22287 @./config.status --recheck
22288 include/config.h: include/stamp-h
22289 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22290 @./config.status include/config.h include/stamp-h"
22292 if test "x$enable_maintainer_mode" = xyes
22293 then
22294 as_fn_append wine_rules "
22295 configure: configure.ac aclocal.m4
22296 autoconf --warnings=all
22297 include/config.h.in: include/stamp-h.in
22298 include/stamp-h.in: configure.ac aclocal.m4
22299 autoheader --warnings=all
22300 @echo timestamp > \$@"
22303 if test "x$enable_tools" != xno
22304 then
22305 as_fn_append wine_rules "
22306 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22307 @./config.status tools/makedep
22308 Makefile: tools/makedep$ac_exeext"
22309 else
22310 as_fn_append wine_rules "
22311 \$(MAKEDEP):
22312 @echo \"You need to run make in $toolsdir first\" && false"
22316 if test -n "$with_wine64"
22317 then
22318 case "$with_wine64" in
22319 /*) reldir="" ;;
22320 *) reldir="../" ;;
22321 esac
22322 rm -f fonts server 2>/dev/null
22323 as_fn_append wine_rules "
22324 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22325 loader/wine64 loader/wine64-preloader:
22326 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22327 $with_wine64/loader/wine:
22328 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22329 $with_wine64/loader/wine-preloader:
22330 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22331 clean::
22332 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22333 else
22334 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22335 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22336 fonts \
22337 loader/wine.inf \
22338 nls \
22339 programs/msidb/msidb \
22340 programs/msiexec/msiexec \
22341 programs/notepad/notepad \
22342 programs/regedit/regedit \
22343 programs/regsvr32/regsvr32 \
22344 programs/wineboot/wineboot \
22345 programs/winecfg/winecfg \
22346 programs/wineconsole/wineconsole \
22347 programs/winedbg/winedbg \
22348 programs/winefile/winefile \
22349 programs/winemine/winemine \
22350 programs/winepath/winepath \
22351 server/wineserver"
22353 case $host_os in
22354 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22355 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22356 esac
22360 as_fn_append wine_rules "
22361 distclean:: clean
22362 rm -rf autom4te.cache
22363 maintainer-clean::
22364 rm -f configure include/config.h.in"
22367 as_fn_append wine_rules "
22368 dlls/ntdll/unix/version.c: dummy
22369 @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)
22370 programs/winetest/build.rc: dummy
22371 @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)
22372 programs/winetest/build.nfo:
22373 @-\$(CC) -v 2>\$@
22374 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
22375 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22376 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22379 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22381 as_fn_append wine_rules "
22382 TAGS etags:
22383 rm -f TAGS
22384 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22385 tags ctags:
22386 rm -f tags
22387 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22388 dummy:
22389 .PHONY: depend dummy install-manpages"
22391 printf "%s\n" " done" >&6
22392 cat >confcache <<\_ACEOF
22393 # This file is a shell script that caches the results of configure
22394 # tests run on this system so they can be shared between configure
22395 # scripts and configure runs, see configure's option --config-cache.
22396 # It is not useful on other systems. If it contains results you don't
22397 # want to keep, you may remove or edit it.
22399 # config.status only pays attention to the cache file if you give it
22400 # the --recheck option to rerun configure.
22402 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22403 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22404 # following values.
22406 _ACEOF
22408 # The following way of writing the cache mishandles newlines in values,
22409 # but we know of no workaround that is simple, portable, and efficient.
22410 # So, we kill variables containing newlines.
22411 # Ultrix sh set writes to stderr and can't be redirected directly,
22412 # and sets the high bit in the cache file unless we assign to the vars.
22414 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22415 eval ac_val=\$$ac_var
22416 case $ac_val in #(
22417 *${as_nl}*)
22418 case $ac_var in #(
22419 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22420 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22421 esac
22422 case $ac_var in #(
22423 _ | IFS | as_nl) ;; #(
22424 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22425 *) { eval $ac_var=; unset $ac_var;} ;;
22426 esac ;;
22427 esac
22428 done
22430 (set) 2>&1 |
22431 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22432 *${as_nl}ac_space=\ *)
22433 # `set' does not quote correctly, so add quotes: double-quote
22434 # substitution turns \\\\ into \\, and sed turns \\ into \.
22435 sed -n \
22436 "s/'/'\\\\''/g;
22437 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22438 ;; #(
22440 # `set' quotes correctly as required by POSIX, so do not add quotes.
22441 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22443 esac |
22444 sort
22446 sed '
22447 /^ac_cv_env_/b end
22448 t clear
22449 :clear
22450 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22451 t end
22452 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22453 :end' >>confcache
22454 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22455 if test -w "$cache_file"; then
22456 if test "x$cache_file" != "x/dev/null"; then
22457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22458 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22459 if test ! -f "$cache_file" || test -h "$cache_file"; then
22460 cat confcache >"$cache_file"
22461 else
22462 case $cache_file in #(
22463 */* | ?:*)
22464 mv -f confcache "$cache_file"$$ &&
22465 mv -f "$cache_file"$$ "$cache_file" ;; #(
22467 mv -f confcache "$cache_file" ;;
22468 esac
22471 else
22472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22473 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22476 rm -f confcache
22478 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22479 # Let make expand exec_prefix.
22480 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22482 DEFS=-DHAVE_CONFIG_H
22484 ac_libobjs=
22485 ac_ltlibobjs=
22487 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22488 # 1. Remove the extension, and $U if already installed.
22489 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22490 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22491 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22492 # will be set to the directory where LIBOBJS objects are built.
22493 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22494 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22495 done
22496 LIBOBJS=$ac_libobjs
22498 LTLIBOBJS=$ac_ltlibobjs
22502 : "${CONFIG_STATUS=./config.status}"
22503 ac_write_fail=0
22504 ac_clean_files_save=$ac_clean_files
22505 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22507 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22508 as_write_fail=0
22509 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22510 #! $SHELL
22511 # Generated by $as_me.
22512 # Run this file to recreate the current configuration.
22513 # Compiler output produced by configure, useful for debugging
22514 # configure, is in config.log if it exists.
22516 debug=false
22517 ac_cs_recheck=false
22518 ac_cs_silent=false
22520 SHELL=\${CONFIG_SHELL-$SHELL}
22521 export SHELL
22522 _ASEOF
22523 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22524 ## -------------------- ##
22525 ## M4sh Initialization. ##
22526 ## -------------------- ##
22528 # Be more Bourne compatible
22529 DUALCASE=1; export DUALCASE # for MKS sh
22530 as_nop=:
22531 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22532 then :
22533 emulate sh
22534 NULLCMD=:
22535 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22536 # is contrary to our usage. Disable this feature.
22537 alias -g '${1+"$@"}'='"$@"'
22538 setopt NO_GLOB_SUBST
22539 else $as_nop
22540 case `(set -o) 2>/dev/null` in #(
22541 *posix*) :
22542 set -o posix ;; #(
22543 *) :
22545 esac
22550 # Reset variables that may have inherited troublesome values from
22551 # the environment.
22553 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22554 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22555 # side effect of setting IFS to empty, thus disabling word splitting.)
22556 # Quoting is to prevent editors from complaining about space-tab.
22557 as_nl='
22559 export as_nl
22560 IFS=" "" $as_nl"
22562 PS1='$ '
22563 PS2='> '
22564 PS4='+ '
22566 # Ensure predictable behavior from utilities with locale-dependent output.
22567 LC_ALL=C
22568 export LC_ALL
22569 LANGUAGE=C
22570 export LANGUAGE
22572 # We cannot yet rely on "unset" to work, but we need these variables
22573 # to be unset--not just set to an empty or harmless value--now, to
22574 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22575 # also avoids known problems related to "unset" and subshell syntax
22576 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22577 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22578 do eval test \${$as_var+y} \
22579 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22580 done
22582 # Ensure that fds 0, 1, and 2 are open.
22583 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22584 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22585 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22587 # The user is always right.
22588 if ${PATH_SEPARATOR+false} :; then
22589 PATH_SEPARATOR=:
22590 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22591 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22592 PATH_SEPARATOR=';'
22597 # Find who we are. Look in the path if we contain no directory separator.
22598 as_myself=
22599 case $0 in #((
22600 *[\\/]* ) as_myself=$0 ;;
22601 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22602 for as_dir in $PATH
22604 IFS=$as_save_IFS
22605 case $as_dir in #(((
22606 '') as_dir=./ ;;
22607 */) ;;
22608 *) as_dir=$as_dir/ ;;
22609 esac
22610 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22611 done
22612 IFS=$as_save_IFS
22615 esac
22616 # We did not find ourselves, most probably we were run as `sh COMMAND'
22617 # in which case we are not to be found in the path.
22618 if test "x$as_myself" = x; then
22619 as_myself=$0
22621 if test ! -f "$as_myself"; then
22622 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22623 exit 1
22628 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22629 # ----------------------------------------
22630 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22631 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22632 # script with STATUS, using 1 if that was 0.
22633 as_fn_error ()
22635 as_status=$1; test $as_status -eq 0 && as_status=1
22636 if test "$4"; then
22637 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22640 printf "%s\n" "$as_me: error: $2" >&2
22641 as_fn_exit $as_status
22642 } # as_fn_error
22646 # as_fn_set_status STATUS
22647 # -----------------------
22648 # Set $? to STATUS, without forking.
22649 as_fn_set_status ()
22651 return $1
22652 } # as_fn_set_status
22654 # as_fn_exit STATUS
22655 # -----------------
22656 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22657 as_fn_exit ()
22659 set +e
22660 as_fn_set_status $1
22661 exit $1
22662 } # as_fn_exit
22664 # as_fn_unset VAR
22665 # ---------------
22666 # Portably unset VAR.
22667 as_fn_unset ()
22669 { eval $1=; unset $1;}
22671 as_unset=as_fn_unset
22673 # as_fn_append VAR VALUE
22674 # ----------------------
22675 # Append the text in VALUE to the end of the definition contained in VAR. Take
22676 # advantage of any shell optimizations that allow amortized linear growth over
22677 # repeated appends, instead of the typical quadratic growth present in naive
22678 # implementations.
22679 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22680 then :
22681 eval 'as_fn_append ()
22683 eval $1+=\$2
22685 else $as_nop
22686 as_fn_append ()
22688 eval $1=\$$1\$2
22690 fi # as_fn_append
22692 # as_fn_arith ARG...
22693 # ------------------
22694 # Perform arithmetic evaluation on the ARGs, and store the result in the
22695 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22696 # must be portable across $(()) and expr.
22697 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22698 then :
22699 eval 'as_fn_arith ()
22701 as_val=$(( $* ))
22703 else $as_nop
22704 as_fn_arith ()
22706 as_val=`expr "$@" || test $? -eq 1`
22708 fi # as_fn_arith
22711 if expr a : '\(a\)' >/dev/null 2>&1 &&
22712 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22713 as_expr=expr
22714 else
22715 as_expr=false
22718 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22719 as_basename=basename
22720 else
22721 as_basename=false
22724 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22725 as_dirname=dirname
22726 else
22727 as_dirname=false
22730 as_me=`$as_basename -- "$0" ||
22731 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22732 X"$0" : 'X\(//\)$' \| \
22733 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22734 printf "%s\n" X/"$0" |
22735 sed '/^.*\/\([^/][^/]*\)\/*$/{
22736 s//\1/
22739 /^X\/\(\/\/\)$/{
22740 s//\1/
22743 /^X\/\(\/\).*/{
22744 s//\1/
22747 s/.*/./; q'`
22749 # Avoid depending upon Character Ranges.
22750 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22751 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22752 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22753 as_cr_digits='0123456789'
22754 as_cr_alnum=$as_cr_Letters$as_cr_digits
22757 # Determine whether it's possible to make 'echo' print without a newline.
22758 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22759 # for compatibility with existing Makefiles.
22760 ECHO_C= ECHO_N= ECHO_T=
22761 case `echo -n x` in #(((((
22762 -n*)
22763 case `echo 'xy\c'` in
22764 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22765 xy) ECHO_C='\c';;
22766 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22767 ECHO_T=' ';;
22768 esac;;
22770 ECHO_N='-n';;
22771 esac
22773 # For backward compatibility with old third-party macros, we provide
22774 # the shell variables $as_echo and $as_echo_n. New code should use
22775 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22776 as_echo='printf %s\n'
22777 as_echo_n='printf %s'
22779 rm -f conf$$ conf$$.exe conf$$.file
22780 if test -d conf$$.dir; then
22781 rm -f conf$$.dir/conf$$.file
22782 else
22783 rm -f conf$$.dir
22784 mkdir conf$$.dir 2>/dev/null
22786 if (echo >conf$$.file) 2>/dev/null; then
22787 if ln -s conf$$.file conf$$ 2>/dev/null; then
22788 as_ln_s='ln -s'
22789 # ... but there are two gotchas:
22790 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22791 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22792 # In both cases, we have to default to `cp -pR'.
22793 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22794 as_ln_s='cp -pR'
22795 elif ln conf$$.file conf$$ 2>/dev/null; then
22796 as_ln_s=ln
22797 else
22798 as_ln_s='cp -pR'
22800 else
22801 as_ln_s='cp -pR'
22803 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22804 rmdir conf$$.dir 2>/dev/null
22807 # as_fn_mkdir_p
22808 # -------------
22809 # Create "$as_dir" as a directory, including parents if necessary.
22810 as_fn_mkdir_p ()
22813 case $as_dir in #(
22814 -*) as_dir=./$as_dir;;
22815 esac
22816 test -d "$as_dir" || eval $as_mkdir_p || {
22817 as_dirs=
22818 while :; do
22819 case $as_dir in #(
22820 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22821 *) as_qdir=$as_dir;;
22822 esac
22823 as_dirs="'$as_qdir' $as_dirs"
22824 as_dir=`$as_dirname -- "$as_dir" ||
22825 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22826 X"$as_dir" : 'X\(//\)[^/]' \| \
22827 X"$as_dir" : 'X\(//\)$' \| \
22828 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22829 printf "%s\n" X"$as_dir" |
22830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22831 s//\1/
22834 /^X\(\/\/\)[^/].*/{
22835 s//\1/
22838 /^X\(\/\/\)$/{
22839 s//\1/
22842 /^X\(\/\).*/{
22843 s//\1/
22846 s/.*/./; q'`
22847 test -d "$as_dir" && break
22848 done
22849 test -z "$as_dirs" || eval "mkdir $as_dirs"
22850 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22853 } # as_fn_mkdir_p
22854 if mkdir -p . 2>/dev/null; then
22855 as_mkdir_p='mkdir -p "$as_dir"'
22856 else
22857 test -d ./-p && rmdir ./-p
22858 as_mkdir_p=false
22862 # as_fn_executable_p FILE
22863 # -----------------------
22864 # Test if FILE is an executable regular file.
22865 as_fn_executable_p ()
22867 test -f "$1" && test -x "$1"
22868 } # as_fn_executable_p
22869 as_test_x='test -x'
22870 as_executable_p=as_fn_executable_p
22872 # Sed expression to map a string onto a valid CPP name.
22873 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22875 # Sed expression to map a string onto a valid variable name.
22876 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22879 exec 6>&1
22880 ## ----------------------------------- ##
22881 ## Main body of $CONFIG_STATUS script. ##
22882 ## ----------------------------------- ##
22883 _ASEOF
22884 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22887 # Save the log message, to keep $0 and so on meaningful, and to
22888 # report actual input values of CONFIG_FILES etc. instead of their
22889 # values after options handling.
22890 ac_log="
22891 This file was extended by Wine $as_me 8.17, which was
22892 generated by GNU Autoconf 2.71. Invocation command line was
22894 CONFIG_FILES = $CONFIG_FILES
22895 CONFIG_HEADERS = $CONFIG_HEADERS
22896 CONFIG_LINKS = $CONFIG_LINKS
22897 CONFIG_COMMANDS = $CONFIG_COMMANDS
22898 $ $0 $@
22900 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22903 _ACEOF
22906 case $ac_config_headers in *"
22907 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22908 esac
22911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22912 # Files that config.status was made for.
22913 config_headers="$ac_config_headers"
22914 config_links="$ac_config_links"
22915 config_commands="$ac_config_commands"
22917 _ACEOF
22919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22920 ac_cs_usage="\
22921 \`$as_me' instantiates files and other configuration actions
22922 from templates according to the current configuration. Unless the files
22923 and actions are specified as TAGs, all are instantiated by default.
22925 Usage: $0 [OPTION]... [TAG]...
22927 -h, --help print this help, then exit
22928 -V, --version print version number and configuration settings, then exit
22929 --config print configuration, then exit
22930 -q, --quiet, --silent
22931 do not print progress messages
22932 -d, --debug don't remove temporary files
22933 --recheck update $as_me by reconfiguring in the same conditions
22934 --header=FILE[:TEMPLATE]
22935 instantiate the configuration header FILE
22937 Configuration headers:
22938 $config_headers
22940 Configuration links:
22941 $config_links
22943 Configuration commands:
22944 $config_commands
22946 Report bugs to <wine-devel@winehq.org>.
22947 Wine home page: <https://www.winehq.org>."
22949 _ACEOF
22950 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22951 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22953 ac_cs_config='$ac_cs_config_escaped'
22954 ac_cs_version="\\
22955 Wine config.status 8.17
22956 configured by $0, generated by GNU Autoconf 2.71,
22957 with options \\"\$ac_cs_config\\"
22959 Copyright (C) 2021 Free Software Foundation, Inc.
22960 This config.status script is free software; the Free Software Foundation
22961 gives unlimited permission to copy, distribute and modify it."
22963 ac_pwd='$ac_pwd'
22964 srcdir='$srcdir'
22965 test -n "\$AWK" || AWK=awk
22966 _ACEOF
22968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22969 # The default lists apply if the user does not specify any file.
22970 ac_need_defaults=:
22971 while test $# != 0
22973 case $1 in
22974 --*=?*)
22975 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22976 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22977 ac_shift=:
22979 --*=)
22980 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22981 ac_optarg=
22982 ac_shift=:
22985 ac_option=$1
22986 ac_optarg=$2
22987 ac_shift=shift
22989 esac
22991 case $ac_option in
22992 # Handling of the options.
22993 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22994 ac_cs_recheck=: ;;
22995 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22996 printf "%s\n" "$ac_cs_version"; exit ;;
22997 --config | --confi | --conf | --con | --co | --c )
22998 printf "%s\n" "$ac_cs_config"; exit ;;
22999 --debug | --debu | --deb | --de | --d | -d )
23000 debug=: ;;
23001 --header | --heade | --head | --hea )
23002 $ac_shift
23003 case $ac_optarg in
23004 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23005 esac
23006 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23007 ac_need_defaults=false;;
23008 --he | --h)
23009 # Conflict between --help and --header
23010 as_fn_error $? "ambiguous option: \`$1'
23011 Try \`$0 --help' for more information.";;
23012 --help | --hel | -h )
23013 printf "%s\n" "$ac_cs_usage"; exit ;;
23014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23015 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23016 ac_cs_silent=: ;;
23018 # This is an error.
23019 -*) as_fn_error $? "unrecognized option: \`$1'
23020 Try \`$0 --help' for more information." ;;
23022 *) as_fn_append ac_config_targets " $1"
23023 ac_need_defaults=false ;;
23025 esac
23026 shift
23027 done
23029 ac_configure_extra_args=
23031 if $ac_cs_silent; then
23032 exec 6>/dev/null
23033 ac_configure_extra_args="$ac_configure_extra_args --silent"
23036 _ACEOF
23037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23038 if \$ac_cs_recheck; then
23039 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23040 shift
23041 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23042 CONFIG_SHELL='$SHELL'
23043 export CONFIG_SHELL
23044 exec "\$@"
23047 _ACEOF
23048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23049 exec 5>>config.log
23051 echo
23052 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23053 ## Running $as_me. ##
23054 _ASBOX
23055 printf "%s\n" "$ac_log"
23056 } >&5
23058 _ACEOF
23059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23061 # INIT-COMMANDS
23063 wine_fn_output_makedep ()
23065 as_dir=tools; as_fn_mkdir_p
23066 $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
23068 wine_fn_output_makefile ()
23070 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23071 # This Makefile understands the following targets:
23073 # all (default): build wine
23074 # clean: remove all intermediate files
23075 # distclean: also remove all files created by configure
23076 # test: run tests
23077 # testclean: clean test results to force running all tests again
23078 # install-lib: install libraries needed to run applications
23079 # install-dev: install development environment
23080 # install: install everything
23081 # uninstall: uninstall everything
23082 # ctags: create a tags file for vim and others.
23083 # etags: create a TAGS file for Emacs.
23085 SHELL = $SHELL
23086 PATH_SEPARATOR = $PATH_SEPARATOR
23087 PACKAGE_NAME = $PACKAGE_NAME
23088 PACKAGE_TARNAME = $PACKAGE_TARNAME
23089 PACKAGE_VERSION = $PACKAGE_VERSION
23090 PACKAGE_STRING = $PACKAGE_STRING
23091 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23092 PACKAGE_URL = $PACKAGE_URL
23093 exec_prefix = $exec_prefix
23094 prefix = $prefix
23095 program_transform_name = $program_transform_name
23096 bindir = $bindir
23097 sbindir = $sbindir
23098 libexecdir = $libexecdir
23099 datarootdir = $datarootdir
23100 datadir = $datadir
23101 sysconfdir = $sysconfdir
23102 sharedstatedir = $sharedstatedir
23103 localstatedir = $localstatedir
23104 runstatedir = $runstatedir
23105 includedir = $includedir
23106 oldincludedir = $oldincludedir
23107 docdir = $docdir
23108 infodir = $infodir
23109 htmldir = $htmldir
23110 dvidir = $dvidir
23111 pdfdir = $pdfdir
23112 psdir = $psdir
23113 libdir = $libdir
23114 localedir = $localedir
23115 mandir = $mandir
23116 DEFS = $DEFS
23117 ECHO_C = $ECHO_C
23118 ECHO_N = $ECHO_N
23119 ECHO_T = $ECHO_T
23120 LIBS = $LIBS
23121 build_alias = $build_alias
23122 host_alias = $host_alias
23123 target_alias = $target_alias
23124 system_dllpath = $system_dllpath
23125 build = $build
23126 build_cpu = $build_cpu
23127 build_vendor = $build_vendor
23128 build_os = $build_os
23129 host = $host
23130 host_cpu = $host_cpu
23131 host_vendor = $host_vendor
23132 host_os = $host_os
23133 dlldir = $dlldir
23134 fontdir = $fontdir
23135 nlsdir = $nlsdir
23136 srcdir = $srcdir
23137 SET_MAKE = $SET_MAKE
23138 CC = $CC
23139 CFLAGS = $CFLAGS
23140 LDFLAGS = $LDFLAGS
23141 CPPFLAGS = $CPPFLAGS
23142 ac_ct_CC = $ac_ct_CC
23143 EXEEXT = $EXEEXT
23144 OBJEXT = $OBJEXT
23145 CXX = $CXX
23146 CXXFLAGS = $CXXFLAGS
23147 ac_ct_CXX = $ac_ct_CXX
23148 CPPBIN = $CPPBIN
23149 LD = $LD
23150 TARGETFLAGS = $TARGETFLAGS
23151 toolsext = $toolsext
23152 HOST_ARCH = $HOST_ARCH
23153 aarch64_CC = $aarch64_CC
23154 aarch64_CFLAGS = $aarch64_CFLAGS
23155 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23156 aarch64_LDFLAGS = $aarch64_LDFLAGS
23157 aarch64_DEBUG = $aarch64_DEBUG
23158 aarch64_TARGET = $aarch64_TARGET
23159 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23160 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23161 arm_CC = $arm_CC
23162 arm_CFLAGS = $arm_CFLAGS
23163 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23164 arm_LDFLAGS = $arm_LDFLAGS
23165 arm_DEBUG = $arm_DEBUG
23166 arm_TARGET = $arm_TARGET
23167 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23168 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23169 i386_CC = $i386_CC
23170 i386_CFLAGS = $i386_CFLAGS
23171 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23172 i386_LDFLAGS = $i386_LDFLAGS
23173 i386_DEBUG = $i386_DEBUG
23174 i386_TARGET = $i386_TARGET
23175 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23176 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23177 x86_64_CC = $x86_64_CC
23178 x86_64_CFLAGS = $x86_64_CFLAGS
23179 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23180 x86_64_LDFLAGS = $x86_64_LDFLAGS
23181 x86_64_DEBUG = $x86_64_DEBUG
23182 x86_64_TARGET = $x86_64_TARGET
23183 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23184 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23185 toolsdir = $toolsdir
23186 MAKEDEP = $MAKEDEP
23187 RUNTESTFLAGS = $RUNTESTFLAGS
23188 SED_CMD = $SED_CMD
23189 FLEX = $FLEX
23190 BISON = $BISON
23191 AR = $AR
23192 ac_ct_AR = $ac_ct_AR
23193 STRIP = $STRIP
23194 RANLIB = $RANLIB
23195 LN_S = $LN_S
23196 GREP = $GREP
23197 EGREP = $EGREP
23198 LDCONFIG = $LDCONFIG
23199 MSGFMT = $MSGFMT
23200 PKG_CONFIG = $PKG_CONFIG
23201 FONTFORGE = $FONTFORGE
23202 RSVG = $RSVG
23203 CONVERT = $CONVERT
23204 ICOTOOL = $ICOTOOL
23205 I386_LIBS = $I386_LIBS
23206 OPENGL_LIBS = $OPENGL_LIBS
23207 DLLFLAGS = $DLLFLAGS
23208 LDDLLFLAGS = $LDDLLFLAGS
23209 LDEXECFLAGS = $LDEXECFLAGS
23210 EXTRACFLAGS = $EXTRACFLAGS
23211 UNIXDLLFLAGS = $UNIXDLLFLAGS
23212 UNIXLDFLAGS = $UNIXLDFLAGS
23213 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23214 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23215 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23216 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23217 DLLEXT = $DLLEXT
23218 LDD = $LDD
23219 OTOOL = $OTOOL
23220 READELF = $READELF
23221 SUBDIRS = $SUBDIRS
23222 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23223 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23224 CARBON_LIBS = $CARBON_LIBS
23225 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23226 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23227 IOKIT_LIBS = $IOKIT_LIBS
23228 METAL_LIBS = $METAL_LIBS
23229 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23230 CORESERVICES_LIBS = $CORESERVICES_LIBS
23231 APPKIT_LIBS = $APPKIT_LIBS
23232 SECURITY_LIBS = $SECURITY_LIBS
23233 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23234 COREAUDIO_LIBS = $COREAUDIO_LIBS
23235 OPENCL_LIBS = $OPENCL_LIBS
23236 OBJC = $OBJC
23237 OBJCFLAGS = $OBJCFLAGS
23238 ac_ct_OBJC = $ac_ct_OBJC
23239 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23240 PE_ARCHS = $PE_ARCHS
23241 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23242 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23243 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23244 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23245 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23246 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23247 GSM_PE_LIBS = $GSM_PE_LIBS
23248 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23249 JPEG_PE_LIBS = $JPEG_PE_LIBS
23250 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23251 JXR_PE_LIBS = $JXR_PE_LIBS
23252 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23253 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23254 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23255 LDAP_PE_LIBS = $LDAP_PE_LIBS
23256 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23257 MPG123_PE_LIBS = $MPG123_PE_LIBS
23258 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23259 MUSL_PE_LIBS = $MUSL_PE_LIBS
23260 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23261 PNG_PE_LIBS = $PNG_PE_LIBS
23262 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23263 TIFF_PE_LIBS = $TIFF_PE_LIBS
23264 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23265 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23266 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23267 XML2_PE_LIBS = $XML2_PE_LIBS
23268 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23269 XSLT_PE_LIBS = $XSLT_PE_LIBS
23270 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23271 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23272 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23273 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23274 PTHREAD_LIBS = $PTHREAD_LIBS
23275 XMKMF = $XMKMF
23276 CPP = $CPP
23277 X_CFLAGS = $X_CFLAGS
23278 X_PRE_LIBS = $X_PRE_LIBS
23279 X_LIBS = $X_LIBS
23280 X_EXTRA_LIBS = $X_EXTRA_LIBS
23281 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23282 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23283 WAYLAND_SCANNER = $WAYLAND_SCANNER
23284 PCAP_LIBS = $PCAP_LIBS
23285 PCSCLITE_LIBS = $PCSCLITE_LIBS
23286 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23287 INOTIFY_LIBS = $INOTIFY_LIBS
23288 DBUS_CFLAGS = $DBUS_CFLAGS
23289 DBUS_LIBS = $DBUS_LIBS
23290 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23291 GNUTLS_LIBS = $GNUTLS_LIBS
23292 SANE_CFLAGS = $SANE_CFLAGS
23293 SANE_LIBS = $SANE_LIBS
23294 USB_CFLAGS = $USB_CFLAGS
23295 USB_LIBS = $USB_LIBS
23296 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23297 GPHOTO2_LIBS = $GPHOTO2_LIBS
23298 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23299 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23300 RESOLV_LIBS = $RESOLV_LIBS
23301 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23302 FREETYPE_LIBS = $FREETYPE_LIBS
23303 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23304 PULSE_CFLAGS = $PULSE_CFLAGS
23305 PULSE_LIBS = $PULSE_LIBS
23306 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23307 GSTREAMER_LIBS = $GSTREAMER_LIBS
23308 ALSA_LIBS = $ALSA_LIBS
23309 OSS4_CFLAGS = $OSS4_CFLAGS
23310 OSS4_LIBS = $OSS4_LIBS
23311 UDEV_CFLAGS = $UDEV_CFLAGS
23312 UDEV_LIBS = $UDEV_LIBS
23313 UNWIND_CFLAGS = $UNWIND_CFLAGS
23314 UNWIND_LIBS = $UNWIND_LIBS
23315 SDL2_CFLAGS = $SDL2_CFLAGS
23316 SDL2_LIBS = $SDL2_LIBS
23317 CAPI20_CFLAGS = $CAPI20_CFLAGS
23318 CAPI20_LIBS = $CAPI20_LIBS
23319 CUPS_CFLAGS = $CUPS_CFLAGS
23320 CUPS_LIBS = $CUPS_LIBS
23321 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23322 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23323 KRB5_CFLAGS = $KRB5_CFLAGS
23324 KRB5_LIBS = $KRB5_LIBS
23325 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23326 GSSAPI_LIBS = $GSSAPI_LIBS
23327 PROCSTAT_LIBS = $PROCSTAT_LIBS
23328 NETAPI_CFLAGS = $NETAPI_CFLAGS
23329 NETAPI_LIBS = $NETAPI_LIBS
23330 MSVCRTFLAGS = $MSVCRTFLAGS
23331 DELAYLOADFLAG = $DELAYLOADFLAG
23332 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23333 RT_LIBS = $RT_LIBS
23334 TAGSFLAGS = $TAGSFLAGS
23335 LIBOBJS = $LIBOBJS
23336 LTLIBOBJS = $LTLIBOBJS
23337 $SET_MAKE
23338 $wine_rules
23339 _WINE_EOF
23340 as_fn_error $? "could not create Makefile" "$LINENO" 5
23343 _ACEOF
23345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23347 # Handling of arguments.
23348 for ac_config_target in $ac_config_targets
23350 case $ac_config_target in
23351 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23352 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23353 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23354 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23355 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23356 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23358 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23359 esac
23360 done
23363 # If the user did not use the arguments to specify the items to instantiate,
23364 # then the envvar interface is used. Set only those that are not.
23365 # We use the long form for the default assignment because of an extremely
23366 # bizarre bug on SunOS 4.1.3.
23367 if $ac_need_defaults; then
23368 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23369 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23370 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23373 # Have a temporary directory for convenience. Make it in the build tree
23374 # simply because there is no reason against having it here, and in addition,
23375 # creating and moving files from /tmp can sometimes cause problems.
23376 # Hook for its removal unless debugging.
23377 # Note that there is a small window in which the directory will not be cleaned:
23378 # after its creation but before its name has been assigned to `$tmp'.
23379 $debug ||
23381 tmp= ac_tmp=
23382 trap 'exit_status=$?
23383 : "${ac_tmp:=$tmp}"
23384 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23386 trap 'as_fn_exit 1' 1 2 13 15
23388 # Create a (secure) tmp directory for tmp files.
23391 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23392 test -d "$tmp"
23393 } ||
23395 tmp=./conf$$-$RANDOM
23396 (umask 077 && mkdir "$tmp")
23397 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23398 ac_tmp=$tmp
23400 # Set up the scripts for CONFIG_HEADERS section.
23401 # No need to generate them if there are no CONFIG_HEADERS.
23402 # This happens for instance with `./config.status Makefile'.
23403 if test -n "$CONFIG_HEADERS"; then
23404 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23405 BEGIN {
23406 _ACEOF
23408 # Transform confdefs.h into an awk script `defines.awk', embedded as
23409 # here-document in config.status, that substitutes the proper values into
23410 # config.h.in to produce config.h.
23412 # Create a delimiter string that does not exist in confdefs.h, to ease
23413 # handling of long lines.
23414 ac_delim='%!_!# '
23415 for ac_last_try in false false :; do
23416 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23417 if test -z "$ac_tt"; then
23418 break
23419 elif $ac_last_try; then
23420 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23421 else
23422 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23424 done
23426 # For the awk script, D is an array of macro values keyed by name,
23427 # likewise P contains macro parameters if any. Preserve backslash
23428 # newline sequences.
23430 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23431 sed -n '
23432 s/.\{148\}/&'"$ac_delim"'/g
23433 t rset
23434 :rset
23435 s/^[ ]*#[ ]*define[ ][ ]*/ /
23436 t def
23438 :def
23439 s/\\$//
23440 t bsnl
23441 s/["\\]/\\&/g
23442 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23443 D["\1"]=" \3"/p
23444 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23446 :bsnl
23447 s/["\\]/\\&/g
23448 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23449 D["\1"]=" \3\\\\\\n"\\/p
23450 t cont
23451 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23452 t cont
23454 :cont
23456 s/.\{148\}/&'"$ac_delim"'/g
23457 t clear
23458 :clear
23459 s/\\$//
23460 t bsnlc
23461 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23463 :bsnlc
23464 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23465 b cont
23466 ' <confdefs.h | sed '
23467 s/'"$ac_delim"'/"\\\
23468 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23471 for (key in D) D_is_set[key] = 1
23472 FS = "\a"
23474 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23475 line = \$ 0
23476 split(line, arg, " ")
23477 if (arg[1] == "#") {
23478 defundef = arg[2]
23479 mac1 = arg[3]
23480 } else {
23481 defundef = substr(arg[1], 2)
23482 mac1 = arg[2]
23484 split(mac1, mac2, "(") #)
23485 macro = mac2[1]
23486 prefix = substr(line, 1, index(line, defundef) - 1)
23487 if (D_is_set[macro]) {
23488 # Preserve the white space surrounding the "#".
23489 print prefix "define", macro P[macro] D[macro]
23490 next
23491 } else {
23492 # Replace #undef with comments. This is necessary, for example,
23493 # in the case of _POSIX_SOURCE, which is predefined and required
23494 # on some systems where configure will not decide to define it.
23495 if (defundef == "undef") {
23496 print "/*", prefix defundef, macro, "*/"
23497 next
23501 { print }
23502 _ACAWK
23503 _ACEOF
23504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23505 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23506 fi # test -n "$CONFIG_HEADERS"
23509 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23510 shift
23511 for ac_tag
23513 case $ac_tag in
23514 :[FHLC]) ac_mode=$ac_tag; continue;;
23515 esac
23516 case $ac_mode$ac_tag in
23517 :[FHL]*:*);;
23518 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23519 :[FH]-) ac_tag=-:-;;
23520 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23521 esac
23522 ac_save_IFS=$IFS
23523 IFS=:
23524 set x $ac_tag
23525 IFS=$ac_save_IFS
23526 shift
23527 ac_file=$1
23528 shift
23530 case $ac_mode in
23531 :L) ac_source=$1;;
23532 :[FH])
23533 ac_file_inputs=
23534 for ac_f
23536 case $ac_f in
23537 -) ac_f="$ac_tmp/stdin";;
23538 *) # Look for the file first in the build tree, then in the source tree
23539 # (if the path is not absolute). The absolute path cannot be DOS-style,
23540 # because $ac_f cannot contain `:'.
23541 test -f "$ac_f" ||
23542 case $ac_f in
23543 [\\/$]*) false;;
23544 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23545 esac ||
23546 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23547 esac
23548 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23549 as_fn_append ac_file_inputs " '$ac_f'"
23550 done
23552 # Let's still pretend it is `configure' which instantiates (i.e., don't
23553 # use $as_me), people would be surprised to read:
23554 # /* config.h. Generated by config.status. */
23555 configure_input='Generated from '`
23556 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23557 `' by configure.'
23558 if test x"$ac_file" != x-; then
23559 configure_input="$ac_file. $configure_input"
23560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23561 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23563 # Neutralize special characters interpreted by sed in replacement strings.
23564 case $configure_input in #(
23565 *\&* | *\|* | *\\* )
23566 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23567 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23568 *) ac_sed_conf_input=$configure_input;;
23569 esac
23571 case $ac_tag in
23572 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23573 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23574 esac
23576 esac
23578 ac_dir=`$as_dirname -- "$ac_file" ||
23579 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23580 X"$ac_file" : 'X\(//\)[^/]' \| \
23581 X"$ac_file" : 'X\(//\)$' \| \
23582 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23583 printf "%s\n" X"$ac_file" |
23584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23585 s//\1/
23588 /^X\(\/\/\)[^/].*/{
23589 s//\1/
23592 /^X\(\/\/\)$/{
23593 s//\1/
23596 /^X\(\/\).*/{
23597 s//\1/
23600 s/.*/./; q'`
23601 as_dir="$ac_dir"; as_fn_mkdir_p
23602 ac_builddir=.
23604 case "$ac_dir" in
23605 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23607 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23608 # A ".." for each directory in $ac_dir_suffix.
23609 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23610 case $ac_top_builddir_sub in
23611 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23612 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23613 esac ;;
23614 esac
23615 ac_abs_top_builddir=$ac_pwd
23616 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23617 # for backward compatibility:
23618 ac_top_builddir=$ac_top_build_prefix
23620 case $srcdir in
23621 .) # We are building in place.
23622 ac_srcdir=.
23623 ac_top_srcdir=$ac_top_builddir_sub
23624 ac_abs_top_srcdir=$ac_pwd ;;
23625 [\\/]* | ?:[\\/]* ) # Absolute name.
23626 ac_srcdir=$srcdir$ac_dir_suffix;
23627 ac_top_srcdir=$srcdir
23628 ac_abs_top_srcdir=$srcdir ;;
23629 *) # Relative name.
23630 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23631 ac_top_srcdir=$ac_top_build_prefix$srcdir
23632 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23633 esac
23634 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23637 case $ac_mode in
23641 # CONFIG_HEADER
23643 if test x"$ac_file" != x-; then
23645 printf "%s\n" "/* $configure_input */" >&1 \
23646 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23647 } >"$ac_tmp/config.h" \
23648 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23649 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23651 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23652 else
23653 rm -f "$ac_file"
23654 mv "$ac_tmp/config.h" "$ac_file" \
23655 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23657 else
23658 printf "%s\n" "/* $configure_input */" >&1 \
23659 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23660 || as_fn_error $? "could not create -" "$LINENO" 5
23665 # CONFIG_LINK
23668 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23670 else
23671 # Prefer the file from the source tree if names are identical.
23672 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23673 ac_source=$srcdir/$ac_source
23676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23677 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23679 if test ! -r "$ac_source"; then
23680 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23682 rm -f "$ac_file"
23684 # Try a relative symlink, then a hard link, then a copy.
23685 case $ac_source in
23686 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23687 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23688 esac
23689 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23690 ln "$ac_source" "$ac_file" 2>/dev/null ||
23691 cp -p "$ac_source" "$ac_file" ||
23692 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23695 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23696 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23698 esac
23701 case $ac_file$ac_mode in
23702 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23703 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23704 "Makefile":C) wine_fn_output_makefile Makefile ;;
23706 esac
23707 done # for ac_tag
23710 as_fn_exit 0
23711 _ACEOF
23712 ac_clean_files=$ac_clean_files_save
23714 test $ac_write_fail = 0 ||
23715 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23718 # configure is writing to config.log, and then calls config.status.
23719 # config.status does its own redirection, appending to config.log.
23720 # Unfortunately, on DOS this fails, as config.log is still kept open
23721 # by configure, so config.status won't be able to write to it; its
23722 # output is simply discarded. So we exec the FD to /dev/null,
23723 # effectively closing config.log, so it can be properly (re)opened and
23724 # appended to by config.status. When coming back to configure, we
23725 # need to make the FD available again.
23726 if test "$no_create" != yes; then
23727 ac_cs_success=:
23728 ac_config_status_args=
23729 test "$silent" = yes &&
23730 ac_config_status_args="$ac_config_status_args --quiet"
23731 exec 5>/dev/null
23732 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23733 exec 5>>config.log
23734 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23735 # would make configure fail if this is the last instruction.
23736 $ac_cs_success || as_fn_exit 1
23738 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23740 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23744 if test "$no_create" = "yes"
23745 then
23746 exit 0
23749 ac_save_IFS="$IFS"
23750 if test "x$wine_notices" != x; then
23751 echo >&6
23752 IFS="|"
23753 for msg in $wine_notices; do
23754 IFS="$ac_save_IFS"
23755 if ${msg:+false} :
23756 then :
23758 else $as_nop
23759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23760 printf "%s\n" "$as_me: $msg" >&6;}
23762 done
23764 IFS="|"
23765 for msg in $wine_warnings; do
23766 IFS="$ac_save_IFS"
23767 if ${msg:+false} :
23768 then :
23770 else $as_nop
23771 echo >&2
23772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23773 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23775 done
23776 IFS="$ac_save_IFS"
23778 printf "%s\n" "
23779 $as_me: Finished. Do '${ac_make}' to compile Wine.
23780 " >&6