mmdevapi: Don't link to uuid.
[wine.git] / configure
blob4e021f19b5d03dce782146342720bd630e2774cc
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.12.
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.12'
615 PACKAGE_STRING='Wine 8.12'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 DLLEXT
770 WINEPRELOADER_LDFLAGS
771 WINELOADER_LDFLAGS
772 TOP_INSTALL_DEV
773 TOP_INSTALL_LIB
774 UNIXLDFLAGS
775 UNIXDLLFLAGS
776 EXTRACFLAGS
777 LDEXECFLAGS
778 LDDLLFLAGS
779 DLLFLAGS
780 OPENGL_LIBS
781 I386_LIBS
782 ICOTOOL
783 CONVERT
784 RSVG
785 FONTFORGE
786 PKG_CONFIG
787 MSGFMT
788 LDCONFIG
789 EGREP
790 GREP
791 LN_S
792 RANLIB
793 STRIP
794 ac_ct_AR
796 BISON
797 FLEX
798 SED_CMD
799 RUNTESTFLAGS
800 MAKEDEP
801 toolsdir
802 x86_64_DISABLED_SUBDIRS
803 x86_64_DELAYLOADFLAG
804 x86_64_TARGET
805 x86_64_DEBUG
806 x86_64_LDFLAGS
807 x86_64_EXTRACFLAGS
808 x86_64_CFLAGS
809 x86_64_CC
810 i386_DISABLED_SUBDIRS
811 i386_DELAYLOADFLAG
812 i386_TARGET
813 i386_DEBUG
814 i386_LDFLAGS
815 i386_EXTRACFLAGS
816 i386_CFLAGS
817 i386_CC
818 arm_DISABLED_SUBDIRS
819 arm_DELAYLOADFLAG
820 arm_TARGET
821 arm_DEBUG
822 arm_LDFLAGS
823 arm_EXTRACFLAGS
824 arm_CFLAGS
825 arm_CC
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
828 aarch64_TARGET
829 aarch64_DEBUG
830 aarch64_LDFLAGS
831 aarch64_EXTRACFLAGS
832 aarch64_CFLAGS
833 aarch64_CC
834 HOST_ARCH
835 toolsext
836 TARGETFLAGS
838 CPPBIN
839 ac_ct_CXX
840 CXXFLAGS
842 OBJEXT
843 EXEEXT
844 ac_ct_CC
845 CPPFLAGS
846 LDFLAGS
847 CFLAGS
849 SET_MAKE
850 srcdir
851 nlsdir
852 fontdir
853 dlldir
854 host_os
855 host_vendor
856 host_cpu
857 host
858 build_os
859 build_vendor
860 build_cpu
861 build
862 system_dllpath
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
900 PATH_SEPARATOR
901 SHELL'
902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_archs
906 enable_win16
907 enable_win64
908 enable_tests
909 enable_build_id
910 enable_maintainer_mode
911 enable_silent_rules
912 enable_werror
913 with_alsa
914 with_capi
915 with_coreaudio
916 with_cups
917 with_dbus
918 with_float_abi
919 with_fontconfig
920 with_freetype
921 with_gettext
922 with_gettextpo
923 with_gphoto
924 with_gnutls
925 with_gssapi
926 with_gstreamer
927 with_inotify
928 with_krb5
929 with_mingw
930 with_netapi
931 with_opencl
932 with_opengl
933 with_osmesa
934 with_oss
935 with_pcap
936 with_pcsclite
937 with_pthread
938 with_pulse
939 with_sane
940 with_sdl
941 with_udev
942 with_unwind
943 with_usb
944 with_v4l2
945 with_vulkan
946 with_wayland
947 with_xcomposite
948 with_xcursor
949 with_xfixes
950 with_xinerama
951 with_xinput
952 with_xinput2
953 with_xrandr
954 with_xrender
955 with_xshape
956 with_xshm
957 with_xxf86vm
958 with_system_dllpath
959 with_wine_tools
960 with_wine64
961 enable_largefile
962 with_x
963 enable_acledit
964 enable_aclui
965 enable_activeds_tlb
966 enable_activeds
967 enable_actxprxy
968 enable_adsldp
969 enable_adsldpc
970 enable_advapi32
971 enable_advpack
972 enable_amsi
973 enable_amstream
974 enable_apisetschema
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_atl
978 enable_atl100
979 enable_atl110
980 enable_atl80
981 enable_atl90
982 enable_atlthunk
983 enable_atmlib
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bcryptprimitives
990 enable_bluetoothapis
991 enable_browseui
992 enable_bthprops_cpl
993 enable_cabinet
994 enable_capi2032
995 enable_cards
996 enable_cdosys
997 enable_cfgmgr32
998 enable_clusapi
999 enable_cng_sys
1000 enable_combase
1001 enable_comcat
1002 enable_comctl32
1003 enable_comdlg32
1004 enable_compstui
1005 enable_comsvcs
1006 enable_concrt140
1007 enable_connect
1008 enable_credui
1009 enable_crtdll
1010 enable_crypt32
1011 enable_cryptdlg
1012 enable_cryptdll
1013 enable_cryptext
1014 enable_cryptnet
1015 enable_cryptowinrt
1016 enable_cryptsp
1017 enable_cryptui
1018 enable_ctapi32
1019 enable_ctl3d32
1020 enable_d2d1
1021 enable_d3d10
1022 enable_d3d10_1
1023 enable_d3d10core
1024 enable_d3d11
1025 enable_d3d12
1026 enable_d3d12core
1027 enable_d3d8
1028 enable_d3d8thk
1029 enable_d3d9
1030 enable_d3dcompiler_33
1031 enable_d3dcompiler_34
1032 enable_d3dcompiler_35
1033 enable_d3dcompiler_36
1034 enable_d3dcompiler_37
1035 enable_d3dcompiler_38
1036 enable_d3dcompiler_39
1037 enable_d3dcompiler_40
1038 enable_d3dcompiler_41
1039 enable_d3dcompiler_42
1040 enable_d3dcompiler_43
1041 enable_d3dcompiler_46
1042 enable_d3dcompiler_47
1043 enable_d3dim
1044 enable_d3dim700
1045 enable_d3drm
1046 enable_d3dx10_33
1047 enable_d3dx10_34
1048 enable_d3dx10_35
1049 enable_d3dx10_36
1050 enable_d3dx10_37
1051 enable_d3dx10_38
1052 enable_d3dx10_39
1053 enable_d3dx10_40
1054 enable_d3dx10_41
1055 enable_d3dx10_42
1056 enable_d3dx10_43
1057 enable_d3dx11_42
1058 enable_d3dx11_43
1059 enable_d3dx9_24
1060 enable_d3dx9_25
1061 enable_d3dx9_26
1062 enable_d3dx9_27
1063 enable_d3dx9_28
1064 enable_d3dx9_29
1065 enable_d3dx9_30
1066 enable_d3dx9_31
1067 enable_d3dx9_32
1068 enable_d3dx9_33
1069 enable_d3dx9_34
1070 enable_d3dx9_35
1071 enable_d3dx9_36
1072 enable_d3dx9_37
1073 enable_d3dx9_38
1074 enable_d3dx9_39
1075 enable_d3dx9_40
1076 enable_d3dx9_41
1077 enable_d3dx9_42
1078 enable_d3dx9_43
1079 enable_d3dxof
1080 enable_davclnt
1081 enable_dbgeng
1082 enable_dbghelp
1083 enable_dciman32
1084 enable_dcomp
1085 enable_ddraw
1086 enable_ddrawex
1087 enable_devenum
1088 enable_dhcpcsvc
1089 enable_dhcpcsvc6
1090 enable_dhtmled_ocx
1091 enable_diasymreader
1092 enable_difxapi
1093 enable_dinput
1094 enable_dinput8
1095 enable_directmanipulation
1096 enable_dispex
1097 enable_dmband
1098 enable_dmcompos
1099 enable_dmime
1100 enable_dmloader
1101 enable_dmscript
1102 enable_dmstyle
1103 enable_dmsynth
1104 enable_dmusic
1105 enable_dmusic32
1106 enable_dnsapi
1107 enable_dplay
1108 enable_dplayx
1109 enable_dpnaddr
1110 enable_dpnet
1111 enable_dpnhpast
1112 enable_dpnhupnp
1113 enable_dpnlobby
1114 enable_dpvoice
1115 enable_dpwsockx
1116 enable_drmclien
1117 enable_dsdmo
1118 enable_dsound
1119 enable_dsquery
1120 enable_dssenh
1121 enable_dsuiext
1122 enable_dswave
1123 enable_dwmapi
1124 enable_dwrite
1125 enable_dx8vb
1126 enable_dxdiagn
1127 enable_dxgi
1128 enable_dxtrans
1129 enable_dxva2
1130 enable_esent
1131 enable_evr
1132 enable_explorerframe
1133 enable_faultrep
1134 enable_feclient
1135 enable_fltlib
1136 enable_fltmgr_sys
1137 enable_fntcache
1138 enable_fontsub
1139 enable_fusion
1140 enable_fwpuclnt
1141 enable_gameux
1142 enable_gamingtcui
1143 enable_gdi32
1144 enable_gdiplus
1145 enable_geolocation
1146 enable_glu32
1147 enable_gphoto2_ds
1148 enable_gpkcsp
1149 enable_graphicscapture
1150 enable_hal
1151 enable_hhctrl_ocx
1152 enable_hid
1153 enable_hidclass_sys
1154 enable_hidparse_sys
1155 enable_hlink
1156 enable_hnetcfg
1157 enable_hrtfapo
1158 enable_http_sys
1159 enable_httpapi
1160 enable_ia2comproxy
1161 enable_iccvid
1162 enable_icmp
1163 enable_ieframe
1164 enable_ieproxy
1165 enable_imaadp32_acm
1166 enable_imagehlp
1167 enable_imm32
1168 enable_inetcomm
1169 enable_inetcpl_cpl
1170 enable_inetmib1
1171 enable_infosoft
1172 enable_initpki
1173 enable_inkobj
1174 enable_inseng
1175 enable_iphlpapi
1176 enable_iprop
1177 enable_ir50_32
1178 enable_irprops_cpl
1179 enable_itircl
1180 enable_itss
1181 enable_joy_cpl
1182 enable_jscript
1183 enable_jsproxy
1184 enable_kerberos
1185 enable_kernel32
1186 enable_kernelbase
1187 enable_ksecdd_sys
1188 enable_ksproxy_ax
1189 enable_ksuser
1190 enable_ktmw32
1191 enable_l3codeca_acm
1192 enable_light_msstyles
1193 enable_loadperf
1194 enable_localspl
1195 enable_localui
1196 enable_lz32
1197 enable_mapi32
1198 enable_mapistub
1199 enable_mciavi32
1200 enable_mcicda
1201 enable_mciqtz32
1202 enable_mciseq
1203 enable_mciwave
1204 enable_mf
1205 enable_mf3216
1206 enable_mferror
1207 enable_mfmediaengine
1208 enable_mfplat
1209 enable_mfplay
1210 enable_mfreadwrite
1211 enable_mfsrcsnk
1212 enable_mgmtapi
1213 enable_midimap
1214 enable_mlang
1215 enable_mmcndmgr
1216 enable_mmdevapi
1217 enable_mountmgr_sys
1218 enable_mp3dmod
1219 enable_mpr
1220 enable_mprapi
1221 enable_msacm32_drv
1222 enable_msacm32
1223 enable_msado15
1224 enable_msadp32_acm
1225 enable_msasn1
1226 enable_msauddecmft
1227 enable_mscat32
1228 enable_mscms
1229 enable_mscoree
1230 enable_mscorwks
1231 enable_msctf
1232 enable_msctfmonitor
1233 enable_msctfp
1234 enable_msdaps
1235 enable_msdasql
1236 enable_msdelta
1237 enable_msdmo
1238 enable_msdrm
1239 enable_msftedit
1240 enable_msg711_acm
1241 enable_msgsm32_acm
1242 enable_mshtml_tlb
1243 enable_mshtml
1244 enable_msi
1245 enable_msident
1246 enable_msimg32
1247 enable_msimsg
1248 enable_msimtf
1249 enable_msisip
1250 enable_msisys_ocx
1251 enable_msls31
1252 enable_msmpeg2vdec
1253 enable_msnet32
1254 enable_mspatcha
1255 enable_msports
1256 enable_msrle32
1257 enable_msscript_ocx
1258 enable_mssign32
1259 enable_mssip32
1260 enable_mstask
1261 enable_msv1_0
1262 enable_msvcirt
1263 enable_msvcm80
1264 enable_msvcm90
1265 enable_msvcp100
1266 enable_msvcp110
1267 enable_msvcp120
1268 enable_msvcp120_app
1269 enable_msvcp140
1270 enable_msvcp140_1
1271 enable_msvcp140_2
1272 enable_msvcp140_atomic_wait
1273 enable_msvcp60
1274 enable_msvcp70
1275 enable_msvcp71
1276 enable_msvcp80
1277 enable_msvcp90
1278 enable_msvcp_win
1279 enable_msvcr100
1280 enable_msvcr110
1281 enable_msvcr120
1282 enable_msvcr120_app
1283 enable_msvcr70
1284 enable_msvcr71
1285 enable_msvcr80
1286 enable_msvcr90
1287 enable_msvcrt
1288 enable_msvcrt20
1289 enable_msvcrt40
1290 enable_msvcrtd
1291 enable_msvfw32
1292 enable_msvidc32
1293 enable_mswsock
1294 enable_msxml
1295 enable_msxml2
1296 enable_msxml3
1297 enable_msxml4
1298 enable_msxml6
1299 enable_mtxdm
1300 enable_ncrypt
1301 enable_nddeapi
1302 enable_ndis_sys
1303 enable_netapi32
1304 enable_netcfgx
1305 enable_netio_sys
1306 enable_netprofm
1307 enable_netutils
1308 enable_newdev
1309 enable_ninput
1310 enable_normaliz
1311 enable_npmshtml
1312 enable_npptools
1313 enable_nsi
1314 enable_nsiproxy_sys
1315 enable_ntdll
1316 enable_ntdsapi
1317 enable_ntoskrnl_exe
1318 enable_ntprint
1319 enable_objsel
1320 enable_odbc32
1321 enable_odbcbcp
1322 enable_odbccp32
1323 enable_odbccu32
1324 enable_ole32
1325 enable_oleacc
1326 enable_oleaut32
1327 enable_olecli32
1328 enable_oledb32
1329 enable_oledlg
1330 enable_olepro32
1331 enable_olesvr32
1332 enable_olethk32
1333 enable_opcservices
1334 enable_opencl
1335 enable_opengl32
1336 enable_packager
1337 enable_pdh
1338 enable_photometadatahandler
1339 enable_pidgen
1340 enable_powrprof
1341 enable_printui
1342 enable_prntvpt
1343 enable_propsys
1344 enable_psapi
1345 enable_pstorec
1346 enable_pwrshplugin
1347 enable_qasf
1348 enable_qcap
1349 enable_qdvd
1350 enable_qedit
1351 enable_qmgr
1352 enable_qmgrprxy
1353 enable_quartz
1354 enable_query
1355 enable_qwave
1356 enable_rasapi32
1357 enable_rasdlg
1358 enable_regapi
1359 enable_resutils
1360 enable_riched20
1361 enable_riched32
1362 enable_rpcrt4
1363 enable_rsabase
1364 enable_rsaenh
1365 enable_rstrtmgr
1366 enable_rtutils
1367 enable_rtworkq
1368 enable_samlib
1369 enable_sane_ds
1370 enable_sapi
1371 enable_sas
1372 enable_scarddlg
1373 enable_scardsvr
1374 enable_sccbase
1375 enable_schannel
1376 enable_schedsvc
1377 enable_scrobj
1378 enable_scrrun
1379 enable_scsiport_sys
1380 enable_sechost
1381 enable_secur32
1382 enable_security
1383 enable_sensapi
1384 enable_serialui
1385 enable_setupapi
1386 enable_sfc
1387 enable_sfc_os
1388 enable_shcore
1389 enable_shdoclc
1390 enable_shdocvw
1391 enable_shell32
1392 enable_shfolder
1393 enable_shlwapi
1394 enable_slbcsp
1395 enable_slc
1396 enable_snmpapi
1397 enable_softpub
1398 enable_spoolss
1399 enable_sppc
1400 enable_srclient
1401 enable_srvcli
1402 enable_sspicli
1403 enable_stdole2_tlb
1404 enable_stdole32_tlb
1405 enable_sti
1406 enable_strmdll
1407 enable_svrapi
1408 enable_sxs
1409 enable_t2embed
1410 enable_tapi32
1411 enable_taskschd
1412 enable_tbs
1413 enable_tdh
1414 enable_tdi_sys
1415 enable_threadpoolwinrt
1416 enable_traffic
1417 enable_twain_32
1418 enable_twinapi_appcore
1419 enable_tzres
1420 enable_ucrtbase
1421 enable_uianimation
1422 enable_uiautomationcore
1423 enable_uiribbon
1424 enable_unicows
1425 enable_updspapi
1426 enable_url
1427 enable_urlmon
1428 enable_usbd_sys
1429 enable_user32
1430 enable_userenv
1431 enable_usp10
1432 enable_utildll
1433 enable_uxtheme
1434 enable_vbscript
1435 enable_vcomp
1436 enable_vcomp100
1437 enable_vcomp110
1438 enable_vcomp120
1439 enable_vcomp140
1440 enable_vcomp90
1441 enable_vcruntime140
1442 enable_vcruntime140_1
1443 enable_vdmdbg
1444 enable_version
1445 enable_vga
1446 enable_virtdisk
1447 enable_vssapi
1448 enable_vulkan_1
1449 enable_wbemdisp
1450 enable_wbemprox
1451 enable_wdscore
1452 enable_webservices
1453 enable_websocket
1454 enable_wer
1455 enable_wevtapi
1456 enable_wevtsvc
1457 enable_wiaservc
1458 enable_wimgapi
1459 enable_win32u
1460 enable_windows_devices_bluetooth
1461 enable_windows_devices_enumeration
1462 enable_windows_gaming_input
1463 enable_windows_gaming_ui_gamebar
1464 enable_windows_globalization
1465 enable_windows_media_devices
1466 enable_windows_media_speech
1467 enable_windows_media
1468 enable_windows_networking_hostname
1469 enable_windows_networking
1470 enable_windows_perception_stub
1471 enable_windows_system_profile_systemmanufacturers
1472 enable_windows_ui
1473 enable_windowscodecs
1474 enable_windowscodecsext
1475 enable_winealsa_drv
1476 enable_wineandroid_drv
1477 enable_winebus_sys
1478 enable_winecoreaudio_drv
1479 enable_winecrt0
1480 enable_wined3d
1481 enable_winegstreamer
1482 enable_winehid_sys
1483 enable_winemac_drv
1484 enable_winemapi
1485 enable_wineoss_drv
1486 enable_wineps_drv
1487 enable_winepulse_drv
1488 enable_wineusb_sys
1489 enable_winevulkan
1490 enable_winewayland_drv
1491 enable_winex11_drv
1492 enable_winexinput_sys
1493 enable_wing32
1494 enable_winhttp
1495 enable_wininet
1496 enable_winmm
1497 enable_winnls32
1498 enable_winprint
1499 enable_winscard
1500 enable_winspool_drv
1501 enable_winsta
1502 enable_wintab32
1503 enable_wintrust
1504 enable_wintypes
1505 enable_winusb
1506 enable_wlanapi
1507 enable_wlanui
1508 enable_wldap32
1509 enable_wmasf
1510 enable_wmi
1511 enable_wmiutils
1512 enable_wmp
1513 enable_wmphoto
1514 enable_wmvcore
1515 enable_wnaspi32
1516 enable_wofutil
1517 enable_wow64
1518 enable_wow64cpu
1519 enable_wow64win
1520 enable_wpc
1521 enable_wpcap
1522 enable_ws2_32
1523 enable_wsdapi
1524 enable_wshom_ocx
1525 enable_wsnmp32
1526 enable_wsock32
1527 enable_wtsapi32
1528 enable_wuapi
1529 enable_wuaueng
1530 enable_x3daudio1_0
1531 enable_x3daudio1_1
1532 enable_x3daudio1_2
1533 enable_x3daudio1_3
1534 enable_x3daudio1_4
1535 enable_x3daudio1_5
1536 enable_x3daudio1_6
1537 enable_x3daudio1_7
1538 enable_xactengine2_0
1539 enable_xactengine2_4
1540 enable_xactengine2_7
1541 enable_xactengine2_9
1542 enable_xactengine3_0
1543 enable_xactengine3_1
1544 enable_xactengine3_2
1545 enable_xactengine3_3
1546 enable_xactengine3_4
1547 enable_xactengine3_5
1548 enable_xactengine3_6
1549 enable_xactengine3_7
1550 enable_xapofx1_1
1551 enable_xapofx1_2
1552 enable_xapofx1_3
1553 enable_xapofx1_4
1554 enable_xapofx1_5
1555 enable_xaudio2_0
1556 enable_xaudio2_1
1557 enable_xaudio2_2
1558 enable_xaudio2_3
1559 enable_xaudio2_4
1560 enable_xaudio2_5
1561 enable_xaudio2_6
1562 enable_xaudio2_7
1563 enable_xaudio2_8
1564 enable_xaudio2_9
1565 enable_xinput1_1
1566 enable_xinput1_2
1567 enable_xinput1_3
1568 enable_xinput1_4
1569 enable_xinput9_1_0
1570 enable_xinputuap
1571 enable_xmllite
1572 enable_xolehlp
1573 enable_xpsprint
1574 enable_xpssvcs
1575 enable_fonts
1576 enable_include
1577 enable_adsiid
1578 enable_dmoguids
1579 enable_dxerr8
1580 enable_dxerr9
1581 enable_dxguid
1582 enable_faudio
1583 enable_gsm
1584 enable_jpeg
1585 enable_jxr
1586 enable_lcms2
1587 enable_ldap
1588 enable_mfuuid
1589 enable_mpg123
1590 enable_musl
1591 enable_png
1592 enable_strmbase
1593 enable_strmiids
1594 enable_tiff
1595 enable_uuid
1596 enable_vkd3d
1597 enable_wbemuuid
1598 enable_wmcodecdspuuid
1599 enable_xml2
1600 enable_xslt
1601 enable_zlib
1602 enable_zydis
1603 enable_loader
1604 enable_nls
1605 enable_po
1606 enable_arp
1607 enable_aspnet_regiis
1608 enable_attrib
1609 enable_cabarc
1610 enable_cacls
1611 enable_certutil
1612 enable_chcp_com
1613 enable_clock
1614 enable_cmd
1615 enable_conhost
1616 enable_control
1617 enable_cscript
1618 enable_dism
1619 enable_dllhost
1620 enable_dplaysvr
1621 enable_dpnsvr
1622 enable_dpvsetup
1623 enable_dxdiag
1624 enable_eject
1625 enable_expand
1626 enable_explorer
1627 enable_extrac32
1628 enable_fc
1629 enable_find
1630 enable_findstr
1631 enable_fsutil
1632 enable_hh
1633 enable_hostname
1634 enable_icacls
1635 enable_icinfo
1636 enable_iexplore
1637 enable_ipconfig
1638 enable_lodctr
1639 enable_mofcomp
1640 enable_mshta
1641 enable_msidb
1642 enable_msiexec
1643 enable_msinfo32
1644 enable_net
1645 enable_netsh
1646 enable_netstat
1647 enable_ngen
1648 enable_notepad
1649 enable_oleview
1650 enable_ping
1651 enable_plugplay
1652 enable_pnputil
1653 enable_powershell
1654 enable_presentationfontcache
1655 enable_progman
1656 enable_reg
1657 enable_regasm
1658 enable_regedit
1659 enable_regini
1660 enable_regsvcs
1661 enable_regsvr32
1662 enable_robocopy
1663 enable_rpcss
1664 enable_rundll32
1665 enable_sc
1666 enable_schtasks
1667 enable_sdbinst
1668 enable_secedit
1669 enable_servicemodelreg
1670 enable_services
1671 enable_setx
1672 enable_shutdown
1673 enable_spoolsv
1674 enable_start
1675 enable_subst
1676 enable_svchost
1677 enable_systeminfo
1678 enable_taskkill
1679 enable_tasklist
1680 enable_taskmgr
1681 enable_termsv
1682 enable_uninstaller
1683 enable_unlodctr
1684 enable_view
1685 enable_wevtutil
1686 enable_where
1687 enable_whoami
1688 enable_wineboot
1689 enable_winebrowser
1690 enable_winecfg
1691 enable_wineconsole
1692 enable_winedbg
1693 enable_winedevice
1694 enable_winefile
1695 enable_winemenubuilder
1696 enable_winemine
1697 enable_winemsibuilder
1698 enable_winepath
1699 enable_winetest
1700 enable_winhlp32
1701 enable_winmgmt
1702 enable_winver
1703 enable_wmic
1704 enable_wmplayer
1705 enable_wordpad
1706 enable_write
1707 enable_wscript
1708 enable_wuauserv
1709 enable_wusa
1710 enable_xcopy
1711 enable_server
1712 enable_tools
1713 enable_sfnt2fon
1714 enable_widl
1715 enable_winebuild
1716 enable_winedump
1717 enable_winegcc
1718 enable_winemaker
1719 enable_wmc
1720 enable_wrc
1722 ac_precious_vars='build_alias
1723 host_alias
1724 target_alias
1726 CFLAGS
1727 LDFLAGS
1728 LIBS
1729 CPPFLAGS
1731 CXXFLAGS
1733 OBJC
1734 OBJCFLAGS
1735 FAUDIO_PE_CFLAGS
1736 FAUDIO_PE_LIBS
1737 GSM_PE_CFLAGS
1738 GSM_PE_LIBS
1739 JPEG_PE_CFLAGS
1740 JPEG_PE_LIBS
1741 JXR_PE_CFLAGS
1742 JXR_PE_LIBS
1743 LCMS2_PE_CFLAGS
1744 LCMS2_PE_LIBS
1745 LDAP_PE_CFLAGS
1746 LDAP_PE_LIBS
1747 MPG123_PE_CFLAGS
1748 MPG123_PE_LIBS
1749 MUSL_PE_CFLAGS
1750 MUSL_PE_LIBS
1751 PNG_PE_CFLAGS
1752 PNG_PE_LIBS
1753 TIFF_PE_CFLAGS
1754 TIFF_PE_LIBS
1755 VKD3D_PE_CFLAGS
1756 VKD3D_PE_LIBS
1757 XML2_PE_CFLAGS
1758 XML2_PE_LIBS
1759 XSLT_PE_CFLAGS
1760 XSLT_PE_LIBS
1761 ZLIB_PE_CFLAGS
1762 ZLIB_PE_LIBS
1763 ZYDIS_PE_CFLAGS
1764 ZYDIS_PE_LIBS
1765 XMKMF
1767 WAYLAND_CLIENT_CFLAGS
1768 WAYLAND_CLIENT_LIBS
1769 INOTIFY_CFLAGS
1770 INOTIFY_LIBS
1771 DBUS_CFLAGS
1772 DBUS_LIBS
1773 GNUTLS_CFLAGS
1774 GNUTLS_LIBS
1775 SANE_CFLAGS
1776 SANE_LIBS
1777 USB_CFLAGS
1778 USB_LIBS
1779 GPHOTO2_CFLAGS
1780 GPHOTO2_LIBS
1781 GPHOTO2_PORT_CFLAGS
1782 GPHOTO2_PORT_LIBS
1783 FREETYPE_CFLAGS
1784 FREETYPE_LIBS
1785 PULSE_CFLAGS
1786 PULSE_LIBS
1787 GSTREAMER_CFLAGS
1788 GSTREAMER_LIBS
1789 UDEV_CFLAGS
1790 UDEV_LIBS
1791 UNWIND_CFLAGS
1792 UNWIND_LIBS
1793 SDL2_CFLAGS
1794 SDL2_LIBS
1795 CAPI20_CFLAGS
1796 CAPI20_LIBS
1797 CUPS_CFLAGS
1798 CUPS_LIBS
1799 FONTCONFIG_CFLAGS
1800 FONTCONFIG_LIBS
1801 KRB5_CFLAGS
1802 KRB5_LIBS
1803 GSSAPI_CFLAGS
1804 GSSAPI_LIBS
1805 NETAPI_CFLAGS
1806 NETAPI_LIBS'
1809 # Initialize some variables set by options.
1810 ac_init_help=
1811 ac_init_version=false
1812 ac_unrecognized_opts=
1813 ac_unrecognized_sep=
1814 # The variables have the same names as the options, with
1815 # dashes changed to underlines.
1816 cache_file=/dev/null
1817 exec_prefix=NONE
1818 no_create=
1819 no_recursion=
1820 prefix=NONE
1821 program_prefix=NONE
1822 program_suffix=NONE
1823 program_transform_name=s,x,x,
1824 silent=
1825 site=
1826 srcdir=
1827 verbose=
1828 x_includes=NONE
1829 x_libraries=NONE
1831 # Installation directory options.
1832 # These are left unexpanded so users can "make install exec_prefix=/foo"
1833 # and all the variables that are supposed to be based on exec_prefix
1834 # by default will actually change.
1835 # Use braces instead of parens because sh, perl, etc. also accept them.
1836 # (The list follows the same order as the GNU Coding Standards.)
1837 bindir='${exec_prefix}/bin'
1838 sbindir='${exec_prefix}/sbin'
1839 libexecdir='${exec_prefix}/libexec'
1840 datarootdir='${prefix}/share'
1841 datadir='${datarootdir}'
1842 sysconfdir='${prefix}/etc'
1843 sharedstatedir='${prefix}/com'
1844 localstatedir='${prefix}/var'
1845 runstatedir='${localstatedir}/run'
1846 includedir='${prefix}/include'
1847 oldincludedir='/usr/include'
1848 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1849 infodir='${datarootdir}/info'
1850 htmldir='${docdir}'
1851 dvidir='${docdir}'
1852 pdfdir='${docdir}'
1853 psdir='${docdir}'
1854 libdir='${exec_prefix}/lib'
1855 localedir='${datarootdir}/locale'
1856 mandir='${datarootdir}/man'
1858 ac_prev=
1859 ac_dashdash=
1860 for ac_option
1862 # If the previous option needs an argument, assign it.
1863 if test -n "$ac_prev"; then
1864 eval $ac_prev=\$ac_option
1865 ac_prev=
1866 continue
1869 case $ac_option in
1870 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1871 *=) ac_optarg= ;;
1872 *) ac_optarg=yes ;;
1873 esac
1875 case $ac_dashdash$ac_option in
1877 ac_dashdash=yes ;;
1879 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1880 ac_prev=bindir ;;
1881 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1882 bindir=$ac_optarg ;;
1884 -build | --build | --buil | --bui | --bu)
1885 ac_prev=build_alias ;;
1886 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1887 build_alias=$ac_optarg ;;
1889 -cache-file | --cache-file | --cache-fil | --cache-fi \
1890 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1891 ac_prev=cache_file ;;
1892 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1893 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1894 cache_file=$ac_optarg ;;
1896 --config-cache | -C)
1897 cache_file=config.cache ;;
1899 -datadir | --datadir | --datadi | --datad)
1900 ac_prev=datadir ;;
1901 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1902 datadir=$ac_optarg ;;
1904 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1905 | --dataroo | --dataro | --datar)
1906 ac_prev=datarootdir ;;
1907 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1908 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1909 datarootdir=$ac_optarg ;;
1911 -disable-* | --disable-*)
1912 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1913 # Reject names that are not valid shell variable names.
1914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1915 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1916 ac_useropt_orig=$ac_useropt
1917 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1918 case $ac_user_opts in
1920 "enable_$ac_useropt"
1921 "*) ;;
1922 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1923 ac_unrecognized_sep=', ';;
1924 esac
1925 eval enable_$ac_useropt=no ;;
1927 -docdir | --docdir | --docdi | --doc | --do)
1928 ac_prev=docdir ;;
1929 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1930 docdir=$ac_optarg ;;
1932 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1933 ac_prev=dvidir ;;
1934 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1935 dvidir=$ac_optarg ;;
1937 -enable-* | --enable-*)
1938 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1939 # Reject names that are not valid shell variable names.
1940 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1941 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1942 ac_useropt_orig=$ac_useropt
1943 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1944 case $ac_user_opts in
1946 "enable_$ac_useropt"
1947 "*) ;;
1948 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1949 ac_unrecognized_sep=', ';;
1950 esac
1951 eval enable_$ac_useropt=\$ac_optarg ;;
1953 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1954 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1955 | --exec | --exe | --ex)
1956 ac_prev=exec_prefix ;;
1957 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1958 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1959 | --exec=* | --exe=* | --ex=*)
1960 exec_prefix=$ac_optarg ;;
1962 -gas | --gas | --ga | --g)
1963 # Obsolete; use --with-gas.
1964 with_gas=yes ;;
1966 -help | --help | --hel | --he | -h)
1967 ac_init_help=long ;;
1968 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1969 ac_init_help=recursive ;;
1970 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1971 ac_init_help=short ;;
1973 -host | --host | --hos | --ho)
1974 ac_prev=host_alias ;;
1975 -host=* | --host=* | --hos=* | --ho=*)
1976 host_alias=$ac_optarg ;;
1978 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1979 ac_prev=htmldir ;;
1980 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1981 | --ht=*)
1982 htmldir=$ac_optarg ;;
1984 -includedir | --includedir | --includedi | --included | --include \
1985 | --includ | --inclu | --incl | --inc)
1986 ac_prev=includedir ;;
1987 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1988 | --includ=* | --inclu=* | --incl=* | --inc=*)
1989 includedir=$ac_optarg ;;
1991 -infodir | --infodir | --infodi | --infod | --info | --inf)
1992 ac_prev=infodir ;;
1993 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1994 infodir=$ac_optarg ;;
1996 -libdir | --libdir | --libdi | --libd)
1997 ac_prev=libdir ;;
1998 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1999 libdir=$ac_optarg ;;
2001 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2002 | --libexe | --libex | --libe)
2003 ac_prev=libexecdir ;;
2004 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2005 | --libexe=* | --libex=* | --libe=*)
2006 libexecdir=$ac_optarg ;;
2008 -localedir | --localedir | --localedi | --localed | --locale)
2009 ac_prev=localedir ;;
2010 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2011 localedir=$ac_optarg ;;
2013 -localstatedir | --localstatedir | --localstatedi | --localstated \
2014 | --localstate | --localstat | --localsta | --localst | --locals)
2015 ac_prev=localstatedir ;;
2016 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2017 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2018 localstatedir=$ac_optarg ;;
2020 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2021 ac_prev=mandir ;;
2022 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2023 mandir=$ac_optarg ;;
2025 -nfp | --nfp | --nf)
2026 # Obsolete; use --without-fp.
2027 with_fp=no ;;
2029 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2030 | --no-cr | --no-c | -n)
2031 no_create=yes ;;
2033 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2034 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2035 no_recursion=yes ;;
2037 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2038 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2039 | --oldin | --oldi | --old | --ol | --o)
2040 ac_prev=oldincludedir ;;
2041 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2042 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2043 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2044 oldincludedir=$ac_optarg ;;
2046 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2047 ac_prev=prefix ;;
2048 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2049 prefix=$ac_optarg ;;
2051 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2052 | --program-pre | --program-pr | --program-p)
2053 ac_prev=program_prefix ;;
2054 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2055 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2056 program_prefix=$ac_optarg ;;
2058 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2059 | --program-suf | --program-su | --program-s)
2060 ac_prev=program_suffix ;;
2061 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2062 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2063 program_suffix=$ac_optarg ;;
2065 -program-transform-name | --program-transform-name \
2066 | --program-transform-nam | --program-transform-na \
2067 | --program-transform-n | --program-transform- \
2068 | --program-transform | --program-transfor \
2069 | --program-transfo | --program-transf \
2070 | --program-trans | --program-tran \
2071 | --progr-tra | --program-tr | --program-t)
2072 ac_prev=program_transform_name ;;
2073 -program-transform-name=* | --program-transform-name=* \
2074 | --program-transform-nam=* | --program-transform-na=* \
2075 | --program-transform-n=* | --program-transform-=* \
2076 | --program-transform=* | --program-transfor=* \
2077 | --program-transfo=* | --program-transf=* \
2078 | --program-trans=* | --program-tran=* \
2079 | --progr-tra=* | --program-tr=* | --program-t=*)
2080 program_transform_name=$ac_optarg ;;
2082 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2083 ac_prev=pdfdir ;;
2084 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2085 pdfdir=$ac_optarg ;;
2087 -psdir | --psdir | --psdi | --psd | --ps)
2088 ac_prev=psdir ;;
2089 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2090 psdir=$ac_optarg ;;
2092 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2093 | -silent | --silent | --silen | --sile | --sil)
2094 silent=yes ;;
2096 -runstatedir | --runstatedir | --runstatedi | --runstated \
2097 | --runstate | --runstat | --runsta | --runst | --runs \
2098 | --run | --ru | --r)
2099 ac_prev=runstatedir ;;
2100 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2101 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2102 | --run=* | --ru=* | --r=*)
2103 runstatedir=$ac_optarg ;;
2105 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2106 ac_prev=sbindir ;;
2107 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2108 | --sbi=* | --sb=*)
2109 sbindir=$ac_optarg ;;
2111 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2112 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2113 | --sharedst | --shareds | --shared | --share | --shar \
2114 | --sha | --sh)
2115 ac_prev=sharedstatedir ;;
2116 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2117 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2118 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2119 | --sha=* | --sh=*)
2120 sharedstatedir=$ac_optarg ;;
2122 -site | --site | --sit)
2123 ac_prev=site ;;
2124 -site=* | --site=* | --sit=*)
2125 site=$ac_optarg ;;
2127 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2128 ac_prev=srcdir ;;
2129 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2130 srcdir=$ac_optarg ;;
2132 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2133 | --syscon | --sysco | --sysc | --sys | --sy)
2134 ac_prev=sysconfdir ;;
2135 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2136 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2137 sysconfdir=$ac_optarg ;;
2139 -target | --target | --targe | --targ | --tar | --ta | --t)
2140 ac_prev=target_alias ;;
2141 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2142 target_alias=$ac_optarg ;;
2144 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2145 verbose=yes ;;
2147 -version | --version | --versio | --versi | --vers | -V)
2148 ac_init_version=: ;;
2150 -with-* | --with-*)
2151 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2152 # Reject names that are not valid shell variable names.
2153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2154 as_fn_error $? "invalid package name: \`$ac_useropt'"
2155 ac_useropt_orig=$ac_useropt
2156 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2157 case $ac_user_opts in
2159 "with_$ac_useropt"
2160 "*) ;;
2161 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2162 ac_unrecognized_sep=', ';;
2163 esac
2164 eval with_$ac_useropt=\$ac_optarg ;;
2166 -without-* | --without-*)
2167 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2168 # Reject names that are not valid shell variable names.
2169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2170 as_fn_error $? "invalid package name: \`$ac_useropt'"
2171 ac_useropt_orig=$ac_useropt
2172 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2173 case $ac_user_opts in
2175 "with_$ac_useropt"
2176 "*) ;;
2177 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2178 ac_unrecognized_sep=', ';;
2179 esac
2180 eval with_$ac_useropt=no ;;
2182 --x)
2183 # Obsolete; use --with-x.
2184 with_x=yes ;;
2186 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2187 | --x-incl | --x-inc | --x-in | --x-i)
2188 ac_prev=x_includes ;;
2189 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2190 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2191 x_includes=$ac_optarg ;;
2193 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2194 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2195 ac_prev=x_libraries ;;
2196 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2197 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2198 x_libraries=$ac_optarg ;;
2200 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2201 Try \`$0 --help' for more information"
2204 *=*)
2205 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2206 # Reject names that are not valid shell variable names.
2207 case $ac_envvar in #(
2208 '' | [0-9]* | *[!_$as_cr_alnum]* )
2209 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2210 esac
2211 eval $ac_envvar=\$ac_optarg
2212 export $ac_envvar ;;
2215 # FIXME: should be removed in autoconf 3.0.
2216 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2217 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2218 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2219 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2222 esac
2223 done
2225 if test -n "$ac_prev"; then
2226 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2227 as_fn_error $? "missing argument to $ac_option"
2230 if test -n "$ac_unrecognized_opts"; then
2231 case $enable_option_checking in
2232 no) ;;
2233 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2234 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2235 esac
2238 # Check all directory arguments for consistency.
2239 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2240 datadir sysconfdir sharedstatedir localstatedir includedir \
2241 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2242 libdir localedir mandir runstatedir
2244 eval ac_val=\$$ac_var
2245 # Remove trailing slashes.
2246 case $ac_val in
2247 */ )
2248 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2249 eval $ac_var=\$ac_val;;
2250 esac
2251 # Be sure to have absolute directory names.
2252 case $ac_val in
2253 [\\/$]* | ?:[\\/]* ) continue;;
2254 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2255 esac
2256 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2257 done
2259 # There might be people who depend on the old broken behavior: `$host'
2260 # used to hold the argument of --host etc.
2261 # FIXME: To remove some day.
2262 build=$build_alias
2263 host=$host_alias
2264 target=$target_alias
2266 # FIXME: To remove some day.
2267 if test "x$host_alias" != x; then
2268 if test "x$build_alias" = x; then
2269 cross_compiling=maybe
2270 elif test "x$build_alias" != "x$host_alias"; then
2271 cross_compiling=yes
2275 ac_tool_prefix=
2276 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2278 test "$silent" = yes && exec 6>/dev/null
2281 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2282 ac_ls_di=`ls -di .` &&
2283 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2284 as_fn_error $? "working directory cannot be determined"
2285 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2286 as_fn_error $? "pwd does not report name of working directory"
2289 # Find the source files, if location was not specified.
2290 if test -z "$srcdir"; then
2291 ac_srcdir_defaulted=yes
2292 # Try the directory containing this script, then the parent directory.
2293 ac_confdir=`$as_dirname -- "$as_myself" ||
2294 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2295 X"$as_myself" : 'X\(//\)[^/]' \| \
2296 X"$as_myself" : 'X\(//\)$' \| \
2297 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2298 printf "%s\n" X"$as_myself" |
2299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2300 s//\1/
2303 /^X\(\/\/\)[^/].*/{
2304 s//\1/
2307 /^X\(\/\/\)$/{
2308 s//\1/
2311 /^X\(\/\).*/{
2312 s//\1/
2315 s/.*/./; q'`
2316 srcdir=$ac_confdir
2317 if test ! -r "$srcdir/$ac_unique_file"; then
2318 srcdir=..
2320 else
2321 ac_srcdir_defaulted=no
2323 if test ! -r "$srcdir/$ac_unique_file"; then
2324 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2325 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2327 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2328 ac_abs_confdir=`(
2329 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2330 pwd)`
2331 # When building in place, set srcdir=.
2332 if test "$ac_abs_confdir" = "$ac_pwd"; then
2333 srcdir=.
2335 # Remove unnecessary trailing slashes from srcdir.
2336 # Double slashes in file names in object file debugging info
2337 # mess up M-x gdb in Emacs.
2338 case $srcdir in
2339 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2340 esac
2341 for ac_var in $ac_precious_vars; do
2342 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2343 eval ac_env_${ac_var}_value=\$${ac_var}
2344 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2345 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2346 done
2349 # Report the --help message.
2351 if test "$ac_init_help" = "long"; then
2352 # Omit some internal or obsolete options to make the list less imposing.
2353 # This message is too long to be a string in the A/UX 3.1 sh.
2354 cat <<_ACEOF
2355 \`configure' configures Wine 8.12 to adapt to many kinds of systems.
2357 Usage: $0 [OPTION]... [VAR=VALUE]...
2359 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2360 VAR=VALUE. See below for descriptions of some of the useful variables.
2362 Defaults for the options are specified in brackets.
2364 Configuration:
2365 -h, --help display this help and exit
2366 --help=short display options specific to this package
2367 --help=recursive display the short help of all the included packages
2368 -V, --version display version information and exit
2369 -q, --quiet, --silent do not print \`checking ...' messages
2370 --cache-file=FILE cache test results in FILE [disabled]
2371 -C, --config-cache alias for \`--cache-file=config.cache'
2372 -n, --no-create do not create output files
2373 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2375 Installation directories:
2376 --prefix=PREFIX install architecture-independent files in PREFIX
2377 [$ac_default_prefix]
2378 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2379 [PREFIX]
2381 By default, \`make install' will install all the files in
2382 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2383 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2384 for instance \`--prefix=\$HOME'.
2386 For better control, use the options below.
2388 Fine tuning of the installation directories:
2389 --bindir=DIR user executables [EPREFIX/bin]
2390 --sbindir=DIR system admin executables [EPREFIX/sbin]
2391 --libexecdir=DIR program executables [EPREFIX/libexec]
2392 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2393 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2394 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2395 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2396 --libdir=DIR object code libraries [EPREFIX/lib]
2397 --includedir=DIR C header files [PREFIX/include]
2398 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2399 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2400 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2401 --infodir=DIR info documentation [DATAROOTDIR/info]
2402 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2403 --mandir=DIR man documentation [DATAROOTDIR/man]
2404 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2405 --htmldir=DIR html documentation [DOCDIR]
2406 --dvidir=DIR dvi documentation [DOCDIR]
2407 --pdfdir=DIR pdf documentation [DOCDIR]
2408 --psdir=DIR ps documentation [DOCDIR]
2409 _ACEOF
2411 cat <<\_ACEOF
2413 X features:
2414 --x-includes=DIR X include files are in DIR
2415 --x-libraries=DIR X library files are in DIR
2417 System types:
2418 --build=BUILD configure for building on BUILD [guessed]
2419 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2420 _ACEOF
2423 if test -n "$ac_init_help"; then
2424 case $ac_init_help in
2425 short | recursive ) echo "Configuration of Wine 8.12:";;
2426 esac
2427 cat <<\_ACEOF
2429 Optional Features:
2430 --disable-option-checking ignore unrecognized --enable/--with options
2431 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2432 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2433 --enable-archs={i386,x86_64,arm,aarch64}
2434 enable multiple architectures for PE compilation
2435 --disable-win16 do not include Win16 support
2436 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2437 binaries)
2438 --disable-tests do not build the regression tests
2439 --enable-build-id include .buildid section in output objects
2440 --enable-maintainer-mode
2441 enable maintainer-specific build rules
2442 --enable-silent-rules use silent build rules (override: "make V=1")
2443 --enable-werror treat compilation warnings as errors
2444 --disable-largefile omit support for large files
2446 Optional Packages:
2447 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2448 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2449 --without-alsa do not use the Alsa sound support
2450 --without-capi do not use CAPI (ISDN support)
2451 --without-coreaudio do not use the CoreAudio sound support
2452 --without-cups do not use CUPS
2453 --without-dbus do not use DBus (dynamic device support)
2454 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2455 --without-fontconfig do not use fontconfig
2456 --without-freetype do not use the FreeType library
2457 --without-gettext do not use gettext
2458 --with-gettextpo use the GetTextPO library to rebuild po files
2459 --without-gphoto do not use gphoto (Digital Camera support)
2460 --without-gnutls do not use GnuTLS (schannel support)
2461 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2462 --without-gstreamer do not use GStreamer (codecs support)
2463 --without-inotify do not use inotify (filesystem change notifications)
2464 --without-krb5 do not use krb5 (Kerberos)
2465 --without-mingw do not use the MinGW cross-compiler
2466 --without-netapi do not use the Samba NetAPI library
2467 --without-opencl do not use OpenCL
2468 --without-opengl do not use OpenGL
2469 --without-osmesa do not use the OSMesa library
2470 --without-oss do not use the OSS sound support
2471 --without-pcap do not use the Packet Capture library
2472 --without-pcsclite do not use PCSC lite
2473 --without-pthread do not use the pthread library
2474 --without-pulse do not use PulseAudio sound support
2475 --without-sane do not use SANE (scanner support)
2476 --without-sdl do not use SDL
2477 --without-udev do not use udev (plug and play support)
2478 --without-unwind do not use the libunwind library (exception
2479 handling)
2480 --without-usb do not use the libusb library
2481 --without-v4l2 do not use v4l2 (video capture)
2482 --without-vulkan do not use Vulkan
2483 --without-wayland do not build the Wayland driver
2484 --without-xcomposite do not use the Xcomposite extension
2485 --without-xcursor do not use the Xcursor extension
2486 --without-xfixes do not use Xfixes for clipboard change notifications
2487 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2488 --without-xinput do not use the Xinput extension
2489 --without-xinput2 do not use the Xinput 2 extension
2490 --without-xrandr do not use Xrandr (multi-monitor support)
2491 --without-xrender do not use the Xrender extension
2492 --without-xshape do not use the Xshape extension
2493 --without-xshm do not use XShm (shared memory extension)
2494 --without-xxf86vm do not use XFree video mode extension
2495 --with-system-dllpath=PATH
2496 load external PE dependencies from colon-separated
2497 path PATH
2498 --with-wine-tools=DIR use Wine tools from directory DIR
2499 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2500 --with-x use the X Window System
2502 Some influential environment variables:
2503 CC C compiler command
2504 CFLAGS C compiler flags
2505 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2506 nonstandard directory <lib dir>
2507 LIBS libraries to pass to the linker, e.g. -l<library>
2508 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2509 you have headers in a nonstandard directory <include dir>
2510 CXX C++ compiler command
2511 CXXFLAGS C++ compiler flags
2512 OBJC Objective C compiler command
2513 OBJCFLAGS Objective C compiler flags
2514 FAUDIO_PE_CFLAGS
2515 C compiler flags for the PE faudio, overriding the bundled
2516 version
2517 FAUDIO_PE_LIBS
2518 Linker flags for the PE faudio, overriding the bundled version
2519 GSM_PE_CFLAGS
2520 C compiler flags for the PE gsm, overriding the bundled version
2521 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2522 JPEG_PE_CFLAGS
2523 C compiler flags for the PE jpeg, overriding the bundled version
2524 JPEG_PE_LIBS
2525 Linker flags for the PE jpeg, overriding the bundled version
2526 JXR_PE_CFLAGS
2527 C compiler flags for the PE jxr, overriding the bundled version
2528 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2529 LCMS2_PE_CFLAGS
2530 C compiler flags for the PE lcms2, overriding the bundled
2531 version
2532 LCMS2_PE_LIBS
2533 Linker flags for the PE lcms2, overriding the bundled version
2534 LDAP_PE_CFLAGS
2535 C compiler flags for the PE ldap, overriding the bundled version
2536 LDAP_PE_LIBS
2537 Linker flags for the PE ldap, overriding the bundled version
2538 MPG123_PE_CFLAGS
2539 C compiler flags for the PE mpg123, overriding the bundled
2540 version
2541 MPG123_PE_LIBS
2542 Linker flags for the PE mpg123, overriding the bundled version
2543 MUSL_PE_CFLAGS
2544 C compiler flags for the PE musl, overriding the bundled version
2545 MUSL_PE_LIBS
2546 Linker flags for the PE musl, overriding the bundled version
2547 PNG_PE_CFLAGS
2548 C compiler flags for the PE png, overriding the bundled version
2549 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2550 TIFF_PE_CFLAGS
2551 C compiler flags for the PE tiff, overriding the bundled version
2552 TIFF_PE_LIBS
2553 Linker flags for the PE tiff, overriding the bundled version
2554 VKD3D_PE_CFLAGS
2555 C compiler flags for the PE vkd3d, overriding the bundled
2556 version
2557 VKD3D_PE_LIBS
2558 Linker flags for the PE vkd3d, overriding the bundled version
2559 XML2_PE_CFLAGS
2560 C compiler flags for the PE xml2, overriding the bundled version
2561 XML2_PE_LIBS
2562 Linker flags for the PE xml2, overriding the bundled version
2563 XSLT_PE_CFLAGS
2564 C compiler flags for the PE xslt, overriding the bundled version
2565 XSLT_PE_LIBS
2566 Linker flags for the PE xslt, overriding the bundled version
2567 ZLIB_PE_CFLAGS
2568 C compiler flags for the PE zlib, overriding the bundled version
2569 ZLIB_PE_LIBS
2570 Linker flags for the PE zlib, overriding the bundled version
2571 ZYDIS_PE_CFLAGS
2572 C compiler flags for the PE zydis, overriding the bundled
2573 version
2574 ZYDIS_PE_LIBS
2575 Linker flags for the PE zydis, overriding the bundled version
2576 XMKMF Path to xmkmf, Makefile generator for X Window System
2577 CPP C preprocessor
2578 WAYLAND_CLIENT_CFLAGS
2579 C compiler flags for wayland-client, overriding pkg-config
2580 WAYLAND_CLIENT_LIBS
2581 Linker flags for wayland-client, overriding pkg-config
2582 INOTIFY_CFLAGS
2583 C compiler flags for libinotify, overriding pkg-config
2584 INOTIFY_LIBS
2585 Linker flags for libinotify, overriding pkg-config
2586 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2587 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2588 GNUTLS_CFLAGS
2589 C compiler flags for gnutls, overriding pkg-config
2590 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2591 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2592 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2593 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2594 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2595 GPHOTO2_CFLAGS
2596 C compiler flags for libgphoto2, overriding pkg-config
2597 GPHOTO2_LIBS
2598 Linker flags for libgphoto2, overriding pkg-config
2599 GPHOTO2_PORT_CFLAGS
2600 C compiler flags for libgphoto2_port, overriding pkg-config
2601 GPHOTO2_PORT_LIBS
2602 Linker flags for libgphoto2_port, overriding pkg-config
2603 FREETYPE_CFLAGS
2604 C compiler flags for freetype2, overriding pkg-config
2605 FREETYPE_LIBS
2606 Linker flags for freetype2, overriding pkg-config
2607 PULSE_CFLAGS
2608 C compiler flags for libpulse, overriding pkg-config
2609 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2610 GSTREAMER_CFLAGS
2611 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2612 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2613 GSTREAMER_LIBS
2614 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2615 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2616 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2617 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2618 UNWIND_CFLAGS
2619 C compiler flags for libunwind, overriding pkg-config
2620 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2621 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2622 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2623 CAPI20_CFLAGS
2624 C compiler flags for capi20, overriding pkg-config
2625 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2626 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2627 CUPS_LIBS Linker flags for cups, overriding pkg-config
2628 FONTCONFIG_CFLAGS
2629 C compiler flags for fontconfig, overriding pkg-config
2630 FONTCONFIG_LIBS
2631 Linker flags for fontconfig, overriding pkg-config
2632 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2633 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2634 GSSAPI_CFLAGS
2635 C compiler flags for krb5-gssapi, overriding pkg-config
2636 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2637 NETAPI_CFLAGS
2638 C compiler flags for netapi, overriding pkg-config
2639 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2641 Use these variables to override the choices made by `configure' or to help
2642 it to find libraries and programs with nonstandard names/locations.
2644 Report bugs to <wine-devel@winehq.org>.
2645 Wine home page: <https://www.winehq.org>.
2646 _ACEOF
2647 ac_status=$?
2650 if test "$ac_init_help" = "recursive"; then
2651 # If there are subdirs, report their specific --help.
2652 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2653 test -d "$ac_dir" ||
2654 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2655 continue
2656 ac_builddir=.
2658 case "$ac_dir" in
2659 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2661 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2662 # A ".." for each directory in $ac_dir_suffix.
2663 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2664 case $ac_top_builddir_sub in
2665 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2666 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2667 esac ;;
2668 esac
2669 ac_abs_top_builddir=$ac_pwd
2670 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2671 # for backward compatibility:
2672 ac_top_builddir=$ac_top_build_prefix
2674 case $srcdir in
2675 .) # We are building in place.
2676 ac_srcdir=.
2677 ac_top_srcdir=$ac_top_builddir_sub
2678 ac_abs_top_srcdir=$ac_pwd ;;
2679 [\\/]* | ?:[\\/]* ) # Absolute name.
2680 ac_srcdir=$srcdir$ac_dir_suffix;
2681 ac_top_srcdir=$srcdir
2682 ac_abs_top_srcdir=$srcdir ;;
2683 *) # Relative name.
2684 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2685 ac_top_srcdir=$ac_top_build_prefix$srcdir
2686 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2687 esac
2688 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2690 cd "$ac_dir" || { ac_status=$?; continue; }
2691 # Check for configure.gnu first; this name is used for a wrapper for
2692 # Metaconfig's "Configure" on case-insensitive file systems.
2693 if test -f "$ac_srcdir/configure.gnu"; then
2694 echo &&
2695 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2696 elif test -f "$ac_srcdir/configure"; then
2697 echo &&
2698 $SHELL "$ac_srcdir/configure" --help=recursive
2699 else
2700 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2701 fi || ac_status=$?
2702 cd "$ac_pwd" || { ac_status=$?; break; }
2703 done
2706 test -n "$ac_init_help" && exit $ac_status
2707 if $ac_init_version; then
2708 cat <<\_ACEOF
2709 Wine configure 8.12
2710 generated by GNU Autoconf 2.71
2712 Copyright (C) 2021 Free Software Foundation, Inc.
2713 This configure script is free software; the Free Software Foundation
2714 gives unlimited permission to copy, distribute and modify it.
2715 _ACEOF
2716 exit
2719 ## ------------------------ ##
2720 ## Autoconf initialization. ##
2721 ## ------------------------ ##
2723 # ac_fn_c_try_compile LINENO
2724 # --------------------------
2725 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2726 ac_fn_c_try_compile ()
2728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2729 rm -f conftest.$ac_objext conftest.beam
2730 if { { ac_try="$ac_compile"
2731 case "(($ac_try" in
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2734 esac
2735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2736 printf "%s\n" "$ac_try_echo"; } >&5
2737 (eval "$ac_compile") 2>conftest.err
2738 ac_status=$?
2739 if test -s conftest.err; then
2740 grep -v '^ *+' conftest.err >conftest.er1
2741 cat conftest.er1 >&5
2742 mv -f conftest.er1 conftest.err
2744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745 test $ac_status = 0; } && {
2746 test -z "$ac_c_werror_flag" ||
2747 test ! -s conftest.err
2748 } && test -s conftest.$ac_objext
2749 then :
2750 ac_retval=0
2751 else $as_nop
2752 printf "%s\n" "$as_me: failed program was:" >&5
2753 sed 's/^/| /' conftest.$ac_ext >&5
2755 ac_retval=1
2757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2758 as_fn_set_status $ac_retval
2760 } # ac_fn_c_try_compile
2762 # ac_fn_cxx_try_compile LINENO
2763 # ----------------------------
2764 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2765 ac_fn_cxx_try_compile ()
2767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2768 rm -f conftest.$ac_objext conftest.beam
2769 if { { ac_try="$ac_compile"
2770 case "(($ac_try" in
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2773 esac
2774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2775 printf "%s\n" "$ac_try_echo"; } >&5
2776 (eval "$ac_compile") 2>conftest.err
2777 ac_status=$?
2778 if test -s conftest.err; then
2779 grep -v '^ *+' conftest.err >conftest.er1
2780 cat conftest.er1 >&5
2781 mv -f conftest.er1 conftest.err
2783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2784 test $ac_status = 0; } && {
2785 test -z "$ac_cxx_werror_flag" ||
2786 test ! -s conftest.err
2787 } && test -s conftest.$ac_objext
2788 then :
2789 ac_retval=0
2790 else $as_nop
2791 printf "%s\n" "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.$ac_ext >&5
2794 ac_retval=1
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2797 as_fn_set_status $ac_retval
2799 } # ac_fn_cxx_try_compile
2801 # ac_fn_c_try_link LINENO
2802 # -----------------------
2803 # Try to link conftest.$ac_ext, and return whether this succeeded.
2804 ac_fn_c_try_link ()
2806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2807 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2808 if { { ac_try="$ac_link"
2809 case "(($ac_try" in
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2812 esac
2813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2814 printf "%s\n" "$ac_try_echo"; } >&5
2815 (eval "$ac_link") 2>conftest.err
2816 ac_status=$?
2817 if test -s conftest.err; then
2818 grep -v '^ *+' conftest.err >conftest.er1
2819 cat conftest.er1 >&5
2820 mv -f conftest.er1 conftest.err
2822 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2823 test $ac_status = 0; } && {
2824 test -z "$ac_c_werror_flag" ||
2825 test ! -s conftest.err
2826 } && test -s conftest$ac_exeext && {
2827 test "$cross_compiling" = yes ||
2828 test -x conftest$ac_exeext
2830 then :
2831 ac_retval=0
2832 else $as_nop
2833 printf "%s\n" "$as_me: failed program was:" >&5
2834 sed 's/^/| /' conftest.$ac_ext >&5
2836 ac_retval=1
2838 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2839 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2840 # interfere with the next link command; also delete a directory that is
2841 # left behind by Apple's compiler. We do this before executing the actions.
2842 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2844 as_fn_set_status $ac_retval
2846 } # ac_fn_c_try_link
2848 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2849 # -------------------------------------------------------
2850 # Tests whether HEADER exists and can be compiled using the include files in
2851 # INCLUDES, setting the cache variable VAR accordingly.
2852 ac_fn_c_check_header_compile ()
2854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2856 printf %s "checking for $2... " >&6; }
2857 if eval test \${$3+y}
2858 then :
2859 printf %s "(cached) " >&6
2860 else $as_nop
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2864 #include <$2>
2865 _ACEOF
2866 if ac_fn_c_try_compile "$LINENO"
2867 then :
2868 eval "$3=yes"
2869 else $as_nop
2870 eval "$3=no"
2872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2874 eval ac_res=\$$3
2875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2876 printf "%s\n" "$ac_res" >&6; }
2877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2879 } # ac_fn_c_check_header_compile
2881 # ac_fn_objc_try_compile LINENO
2882 # -----------------------------
2883 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2884 ac_fn_objc_try_compile ()
2886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2887 rm -f conftest.$ac_objext conftest.beam
2888 if { { ac_try="$ac_compile"
2889 case "(($ac_try" in
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2892 esac
2893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2894 printf "%s\n" "$ac_try_echo"; } >&5
2895 (eval "$ac_compile") 2>conftest.err
2896 ac_status=$?
2897 if test -s conftest.err; then
2898 grep -v '^ *+' conftest.err >conftest.er1
2899 cat conftest.er1 >&5
2900 mv -f conftest.er1 conftest.err
2902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2903 test $ac_status = 0; } && {
2904 test -z "$ac_objc_werror_flag" ||
2905 test ! -s conftest.err
2906 } && test -s conftest.$ac_objext
2907 then :
2908 ac_retval=0
2909 else $as_nop
2910 printf "%s\n" "$as_me: failed program was:" >&5
2911 sed 's/^/| /' conftest.$ac_ext >&5
2913 ac_retval=1
2915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2916 as_fn_set_status $ac_retval
2918 } # ac_fn_objc_try_compile
2920 # ac_fn_c_check_func LINENO FUNC VAR
2921 # ----------------------------------
2922 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2923 ac_fn_c_check_func ()
2925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2927 printf %s "checking for $2... " >&6; }
2928 if eval test \${$3+y}
2929 then :
2930 printf %s "(cached) " >&6
2931 else $as_nop
2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2934 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2936 #define $2 innocuous_$2
2938 /* System header to define __stub macros and hopefully few prototypes,
2939 which can conflict with char $2 (); below. */
2941 #include <limits.h>
2942 #undef $2
2944 /* Override any GCC internal prototype to avoid an error.
2945 Use char because int might match the return type of a GCC
2946 builtin and then its argument prototype would still apply. */
2947 #ifdef __cplusplus
2948 extern "C"
2949 #endif
2950 char $2 ();
2951 /* The GNU C library defines this for functions which it implements
2952 to always fail with ENOSYS. Some functions are actually named
2953 something starting with __ and the normal name is an alias. */
2954 #if defined __stub_$2 || defined __stub___$2
2955 choke me
2956 #endif
2959 main (void)
2961 return $2 ();
2963 return 0;
2965 _ACEOF
2966 if ac_fn_c_try_link "$LINENO"
2967 then :
2968 eval "$3=yes"
2969 else $as_nop
2970 eval "$3=no"
2972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2973 conftest$ac_exeext conftest.$ac_ext
2975 eval ac_res=\$$3
2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2977 printf "%s\n" "$ac_res" >&6; }
2978 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2980 } # ac_fn_c_check_func
2982 # ac_fn_c_try_cpp LINENO
2983 # ----------------------
2984 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2985 ac_fn_c_try_cpp ()
2987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2988 if { { ac_try="$ac_cpp conftest.$ac_ext"
2989 case "(($ac_try" in
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2992 esac
2993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2994 printf "%s\n" "$ac_try_echo"; } >&5
2995 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2996 ac_status=$?
2997 if test -s conftest.err; then
2998 grep -v '^ *+' conftest.err >conftest.er1
2999 cat conftest.er1 >&5
3000 mv -f conftest.er1 conftest.err
3002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3003 test $ac_status = 0; } > conftest.i && {
3004 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3005 test ! -s conftest.err
3007 then :
3008 ac_retval=0
3009 else $as_nop
3010 printf "%s\n" "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3013 ac_retval=1
3015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3016 as_fn_set_status $ac_retval
3018 } # ac_fn_c_try_cpp
3020 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3021 # ----------------------------------------------------
3022 # Tries to find if the field MEMBER exists in type AGGR, after including
3023 # INCLUDES, setting cache variable VAR accordingly.
3024 ac_fn_c_check_member ()
3026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3028 printf %s "checking for $2.$3... " >&6; }
3029 if eval test \${$4+y}
3030 then :
3031 printf %s "(cached) " >&6
3032 else $as_nop
3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3037 main (void)
3039 static $2 ac_aggr;
3040 if (ac_aggr.$3)
3041 return 0;
3043 return 0;
3045 _ACEOF
3046 if ac_fn_c_try_compile "$LINENO"
3047 then :
3048 eval "$4=yes"
3049 else $as_nop
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3054 main (void)
3056 static $2 ac_aggr;
3057 if (sizeof ac_aggr.$3)
3058 return 0;
3060 return 0;
3062 _ACEOF
3063 if ac_fn_c_try_compile "$LINENO"
3064 then :
3065 eval "$4=yes"
3066 else $as_nop
3067 eval "$4=no"
3069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3073 eval ac_res=\$$4
3074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3075 printf "%s\n" "$ac_res" >&6; }
3076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3078 } # ac_fn_c_check_member
3080 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3081 # -------------------------------------------
3082 # Tests whether TYPE exists after having included INCLUDES, setting cache
3083 # variable VAR accordingly.
3084 ac_fn_c_check_type ()
3086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3088 printf %s "checking for $2... " >&6; }
3089 if eval test \${$3+y}
3090 then :
3091 printf %s "(cached) " >&6
3092 else $as_nop
3093 eval "$3=no"
3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3095 /* end confdefs.h. */
3098 main (void)
3100 if (sizeof ($2))
3101 return 0;
3103 return 0;
3105 _ACEOF
3106 if ac_fn_c_try_compile "$LINENO"
3107 then :
3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3112 main (void)
3114 if (sizeof (($2)))
3115 return 0;
3117 return 0;
3119 _ACEOF
3120 if ac_fn_c_try_compile "$LINENO"
3121 then :
3123 else $as_nop
3124 eval "$3=yes"
3126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3130 eval ac_res=\$$3
3131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3132 printf "%s\n" "$ac_res" >&6; }
3133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3135 } # ac_fn_c_check_type
3136 ac_configure_args_raw=
3137 for ac_arg
3139 case $ac_arg in
3140 *\'*)
3141 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3142 esac
3143 as_fn_append ac_configure_args_raw " '$ac_arg'"
3144 done
3146 case $ac_configure_args_raw in
3147 *$as_nl*)
3148 ac_safe_unquote= ;;
3150 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3151 ac_unsafe_a="$ac_unsafe_z#~"
3152 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3153 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3154 esac
3156 cat >config.log <<_ACEOF
3157 This file contains any messages produced by compilers while
3158 running configure, to aid debugging if configure makes a mistake.
3160 It was created by Wine $as_me 8.12, which was
3161 generated by GNU Autoconf 2.71. Invocation command line was
3163 $ $0$ac_configure_args_raw
3165 _ACEOF
3166 exec 5>>config.log
3168 cat <<_ASUNAME
3169 ## --------- ##
3170 ## Platform. ##
3171 ## --------- ##
3173 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3174 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3175 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3176 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3177 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3179 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3180 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3182 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3183 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3184 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3185 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3186 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3187 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3188 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3190 _ASUNAME
3192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3193 for as_dir in $PATH
3195 IFS=$as_save_IFS
3196 case $as_dir in #(((
3197 '') as_dir=./ ;;
3198 */) ;;
3199 *) as_dir=$as_dir/ ;;
3200 esac
3201 printf "%s\n" "PATH: $as_dir"
3202 done
3203 IFS=$as_save_IFS
3205 } >&5
3207 cat >&5 <<_ACEOF
3210 ## ----------- ##
3211 ## Core tests. ##
3212 ## ----------- ##
3214 _ACEOF
3217 # Keep a trace of the command line.
3218 # Strip out --no-create and --no-recursion so they do not pile up.
3219 # Strip out --silent because we don't want to record it for future runs.
3220 # Also quote any args containing shell meta-characters.
3221 # Make two passes to allow for proper duplicate-argument suppression.
3222 ac_configure_args=
3223 ac_configure_args0=
3224 ac_configure_args1=
3225 ac_must_keep_next=false
3226 for ac_pass in 1 2
3228 for ac_arg
3230 case $ac_arg in
3231 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3232 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3233 | -silent | --silent | --silen | --sile | --sil)
3234 continue ;;
3235 *\'*)
3236 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3237 esac
3238 case $ac_pass in
3239 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3241 as_fn_append ac_configure_args1 " '$ac_arg'"
3242 if test $ac_must_keep_next = true; then
3243 ac_must_keep_next=false # Got value, back to normal.
3244 else
3245 case $ac_arg in
3246 *=* | --config-cache | -C | -disable-* | --disable-* \
3247 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3248 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3249 | -with-* | --with-* | -without-* | --without-* | --x)
3250 case "$ac_configure_args0 " in
3251 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3252 esac
3254 -* ) ac_must_keep_next=true ;;
3255 esac
3257 as_fn_append ac_configure_args " '$ac_arg'"
3259 esac
3260 done
3261 done
3262 { ac_configure_args0=; unset ac_configure_args0;}
3263 { ac_configure_args1=; unset ac_configure_args1;}
3265 # When interrupted or exit'd, cleanup temporary files, and complete
3266 # config.log. We remove comments because anyway the quotes in there
3267 # would cause problems or look ugly.
3268 # WARNING: Use '\'' to represent an apostrophe within the trap.
3269 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3270 trap 'exit_status=$?
3271 # Sanitize IFS.
3272 IFS=" "" $as_nl"
3273 # Save into config.log some information that might help in debugging.
3275 echo
3277 printf "%s\n" "## ---------------- ##
3278 ## Cache variables. ##
3279 ## ---------------- ##"
3280 echo
3281 # The following way of writing the cache mishandles newlines in values,
3283 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3284 eval ac_val=\$$ac_var
3285 case $ac_val in #(
3286 *${as_nl}*)
3287 case $ac_var in #(
3288 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3289 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3290 esac
3291 case $ac_var in #(
3292 _ | IFS | as_nl) ;; #(
3293 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3294 *) { eval $ac_var=; unset $ac_var;} ;;
3295 esac ;;
3296 esac
3297 done
3298 (set) 2>&1 |
3299 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3300 *${as_nl}ac_space=\ *)
3301 sed -n \
3302 "s/'\''/'\''\\\\'\'''\''/g;
3303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3304 ;; #(
3306 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3308 esac |
3309 sort
3311 echo
3313 printf "%s\n" "## ----------------- ##
3314 ## Output variables. ##
3315 ## ----------------- ##"
3316 echo
3317 for ac_var in $ac_subst_vars
3319 eval ac_val=\$$ac_var
3320 case $ac_val in
3321 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3322 esac
3323 printf "%s\n" "$ac_var='\''$ac_val'\''"
3324 done | sort
3325 echo
3327 if test -n "$ac_subst_files"; then
3328 printf "%s\n" "## ------------------- ##
3329 ## File substitutions. ##
3330 ## ------------------- ##"
3331 echo
3332 for ac_var in $ac_subst_files
3334 eval ac_val=\$$ac_var
3335 case $ac_val in
3336 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3337 esac
3338 printf "%s\n" "$ac_var='\''$ac_val'\''"
3339 done | sort
3340 echo
3343 if test -s confdefs.h; then
3344 printf "%s\n" "## ----------- ##
3345 ## confdefs.h. ##
3346 ## ----------- ##"
3347 echo
3348 cat confdefs.h
3349 echo
3351 test "$ac_signal" != 0 &&
3352 printf "%s\n" "$as_me: caught signal $ac_signal"
3353 printf "%s\n" "$as_me: exit $exit_status"
3354 } >&5
3355 rm -f core *.core core.conftest.* &&
3356 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3357 exit $exit_status
3359 for ac_signal in 1 2 13 15; do
3360 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3361 done
3362 ac_signal=0
3364 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3365 rm -f -r conftest* confdefs.h
3367 printf "%s\n" "/* confdefs.h */" > confdefs.h
3369 # Predefined preprocessor variables.
3371 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3373 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3375 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3377 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3379 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3381 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3384 # Let the site file select an alternate cache file if it wants to.
3385 # Prefer an explicitly selected file to automatically selected ones.
3386 if test -n "$CONFIG_SITE"; then
3387 ac_site_files="$CONFIG_SITE"
3388 elif test "x$prefix" != xNONE; then
3389 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3390 else
3391 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3394 for ac_site_file in $ac_site_files
3396 case $ac_site_file in #(
3397 */*) :
3398 ;; #(
3399 *) :
3400 ac_site_file=./$ac_site_file ;;
3401 esac
3402 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3404 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3405 sed 's/^/| /' "$ac_site_file" >&5
3406 . "$ac_site_file" \
3407 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3408 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3409 as_fn_error $? "failed to load site script $ac_site_file
3410 See \`config.log' for more details" "$LINENO" 5; }
3412 done
3414 if test -r "$cache_file"; then
3415 # Some versions of bash will fail to source /dev/null (special files
3416 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3417 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3419 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3420 case $cache_file in
3421 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3422 *) . "./$cache_file";;
3423 esac
3425 else
3426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3427 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3428 >$cache_file
3431 # Test code for whether the C compiler supports C89 (global declarations)
3432 ac_c_conftest_c89_globals='
3433 /* Does the compiler advertise C89 conformance?
3434 Do not test the value of __STDC__, because some compilers set it to 0
3435 while being otherwise adequately conformant. */
3436 #if !defined __STDC__
3437 # error "Compiler does not advertise C89 conformance"
3438 #endif
3440 #include <stddef.h>
3441 #include <stdarg.h>
3442 struct stat;
3443 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3444 struct buf { int x; };
3445 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3446 static char *e (p, i)
3447 char **p;
3448 int i;
3450 return p[i];
3452 static char *f (char * (*g) (char **, int), char **p, ...)
3454 char *s;
3455 va_list v;
3456 va_start (v,p);
3457 s = g (p, va_arg (v,int));
3458 va_end (v);
3459 return s;
3462 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3463 function prototypes and stuff, but not \xHH hex character constants.
3464 These do not provoke an error unfortunately, instead are silently treated
3465 as an "x". The following induces an error, until -std is added to get
3466 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3467 array size at least. It is necessary to write \x00 == 0 to get something
3468 that is true only with -std. */
3469 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3471 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3472 inside strings and character constants. */
3473 #define FOO(x) '\''x'\''
3474 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3476 int test (int i, double x);
3477 struct s1 {int (*f) (int a);};
3478 struct s2 {int (*f) (double a);};
3479 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3480 int, int);'
3482 # Test code for whether the C compiler supports C89 (body of main).
3483 ac_c_conftest_c89_main='
3484 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3487 # Test code for whether the C compiler supports C99 (global declarations)
3488 ac_c_conftest_c99_globals='
3489 // Does the compiler advertise C99 conformance?
3490 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3491 # error "Compiler does not advertise C99 conformance"
3492 #endif
3494 #include <stdbool.h>
3495 extern int puts (const char *);
3496 extern int printf (const char *, ...);
3497 extern int dprintf (int, const char *, ...);
3498 extern void *malloc (size_t);
3500 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3501 // dprintf is used instead of fprintf to avoid needing to declare
3502 // FILE and stderr.
3503 #define debug(...) dprintf (2, __VA_ARGS__)
3504 #define showlist(...) puts (#__VA_ARGS__)
3505 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3506 static void
3507 test_varargs_macros (void)
3509 int x = 1234;
3510 int y = 5678;
3511 debug ("Flag");
3512 debug ("X = %d\n", x);
3513 showlist (The first, second, and third items.);
3514 report (x>y, "x is %d but y is %d", x, y);
3517 // Check long long types.
3518 #define BIG64 18446744073709551615ull
3519 #define BIG32 4294967295ul
3520 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3521 #if !BIG_OK
3522 #error "your preprocessor is broken"
3523 #endif
3524 #if BIG_OK
3525 #else
3526 #error "your preprocessor is broken"
3527 #endif
3528 static long long int bignum = -9223372036854775807LL;
3529 static unsigned long long int ubignum = BIG64;
3531 struct incomplete_array
3533 int datasize;
3534 double data[];
3537 struct named_init {
3538 int number;
3539 const wchar_t *name;
3540 double average;
3543 typedef const char *ccp;
3545 static inline int
3546 test_restrict (ccp restrict text)
3548 // See if C++-style comments work.
3549 // Iterate through items via the restricted pointer.
3550 // Also check for declarations in for loops.
3551 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3552 continue;
3553 return 0;
3556 // Check varargs and va_copy.
3557 static bool
3558 test_varargs (const char *format, ...)
3560 va_list args;
3561 va_start (args, format);
3562 va_list args_copy;
3563 va_copy (args_copy, args);
3565 const char *str = "";
3566 int number = 0;
3567 float fnumber = 0;
3569 while (*format)
3571 switch (*format++)
3573 case '\''s'\'': // string
3574 str = va_arg (args_copy, const char *);
3575 break;
3576 case '\''d'\'': // int
3577 number = va_arg (args_copy, int);
3578 break;
3579 case '\''f'\'': // float
3580 fnumber = va_arg (args_copy, double);
3581 break;
3582 default:
3583 break;
3586 va_end (args_copy);
3587 va_end (args);
3589 return *str && number && fnumber;
3593 # Test code for whether the C compiler supports C99 (body of main).
3594 ac_c_conftest_c99_main='
3595 // Check bool.
3596 _Bool success = false;
3597 success |= (argc != 0);
3599 // Check restrict.
3600 if (test_restrict ("String literal") == 0)
3601 success = true;
3602 char *restrict newvar = "Another string";
3604 // Check varargs.
3605 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3606 test_varargs_macros ();
3608 // Check flexible array members.
3609 struct incomplete_array *ia =
3610 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3611 ia->datasize = 10;
3612 for (int i = 0; i < ia->datasize; ++i)
3613 ia->data[i] = i * 1.234;
3615 // Check named initializers.
3616 struct named_init ni = {
3617 .number = 34,
3618 .name = L"Test wide string",
3619 .average = 543.34343,
3622 ni.number = 58;
3624 int dynamic_array[ni.number];
3625 dynamic_array[0] = argv[0][0];
3626 dynamic_array[ni.number - 1] = 543;
3628 // work around unused variable warnings
3629 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3630 || dynamic_array[ni.number - 1] != 543);
3633 # Test code for whether the C compiler supports C11 (global declarations)
3634 ac_c_conftest_c11_globals='
3635 // Does the compiler advertise C11 conformance?
3636 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3637 # error "Compiler does not advertise C11 conformance"
3638 #endif
3640 // Check _Alignas.
3641 char _Alignas (double) aligned_as_double;
3642 char _Alignas (0) no_special_alignment;
3643 extern char aligned_as_int;
3644 char _Alignas (0) _Alignas (int) aligned_as_int;
3646 // Check _Alignof.
3647 enum
3649 int_alignment = _Alignof (int),
3650 int_array_alignment = _Alignof (int[100]),
3651 char_alignment = _Alignof (char)
3653 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3655 // Check _Noreturn.
3656 int _Noreturn does_not_return (void) { for (;;) continue; }
3658 // Check _Static_assert.
3659 struct test_static_assert
3661 int x;
3662 _Static_assert (sizeof (int) <= sizeof (long int),
3663 "_Static_assert does not work in struct");
3664 long int y;
3667 // Check UTF-8 literals.
3668 #define u8 syntax error!
3669 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3671 // Check duplicate typedefs.
3672 typedef long *long_ptr;
3673 typedef long int *long_ptr;
3674 typedef long_ptr long_ptr;
3676 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3677 struct anonymous
3679 union {
3680 struct { int i; int j; };
3681 struct { int k; long int l; } w;
3683 int m;
3684 } v1;
3687 # Test code for whether the C compiler supports C11 (body of main).
3688 ac_c_conftest_c11_main='
3689 _Static_assert ((offsetof (struct anonymous, i)
3690 == offsetof (struct anonymous, w.k)),
3691 "Anonymous union alignment botch");
3692 v1.i = 2;
3693 v1.w.k = 5;
3694 ok |= v1.i != 5;
3697 # Test code for whether the C compiler supports C11 (complete).
3698 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3699 ${ac_c_conftest_c99_globals}
3700 ${ac_c_conftest_c11_globals}
3703 main (int argc, char **argv)
3705 int ok = 0;
3706 ${ac_c_conftest_c89_main}
3707 ${ac_c_conftest_c99_main}
3708 ${ac_c_conftest_c11_main}
3709 return ok;
3713 # Test code for whether the C compiler supports C99 (complete).
3714 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3715 ${ac_c_conftest_c99_globals}
3718 main (int argc, char **argv)
3720 int ok = 0;
3721 ${ac_c_conftest_c89_main}
3722 ${ac_c_conftest_c99_main}
3723 return ok;
3727 # Test code for whether the C compiler supports C89 (complete).
3728 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3731 main (int argc, char **argv)
3733 int ok = 0;
3734 ${ac_c_conftest_c89_main}
3735 return ok;
3739 # Test code for whether the C++ compiler supports C++98 (global declarations)
3740 ac_cxx_conftest_cxx98_globals='
3741 // Does the compiler advertise C++98 conformance?
3742 #if !defined __cplusplus || __cplusplus < 199711L
3743 # error "Compiler does not advertise C++98 conformance"
3744 #endif
3746 // These inclusions are to reject old compilers that
3747 // lack the unsuffixed header files.
3748 #include <cstdlib>
3749 #include <exception>
3751 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3752 extern void assert (int);
3753 namespace std {
3754 extern int strcmp (const char *, const char *);
3757 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3758 using std::exception;
3759 using std::strcmp;
3761 namespace {
3763 void test_exception_syntax()
3765 try {
3766 throw "test";
3767 } catch (const char *s) {
3768 // Extra parentheses suppress a warning when building autoconf itself,
3769 // due to lint rules shared with more typical C programs.
3770 assert (!(strcmp) (s, "test"));
3774 template <typename T> struct test_template
3776 T const val;
3777 explicit test_template(T t) : val(t) {}
3778 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3781 } // anonymous namespace
3784 # Test code for whether the C++ compiler supports C++98 (body of main)
3785 ac_cxx_conftest_cxx98_main='
3786 assert (argc);
3787 assert (! argv[0]);
3789 test_exception_syntax ();
3790 test_template<double> tt (2.0);
3791 assert (tt.add (4) == 6.0);
3792 assert (true && !false);
3796 # Test code for whether the C++ compiler supports C++11 (global declarations)
3797 ac_cxx_conftest_cxx11_globals='
3798 // Does the compiler advertise C++ 2011 conformance?
3799 #if !defined __cplusplus || __cplusplus < 201103L
3800 # error "Compiler does not advertise C++11 conformance"
3801 #endif
3803 namespace cxx11test
3805 constexpr int get_val() { return 20; }
3807 struct testinit
3809 int i;
3810 double d;
3813 class delegate
3815 public:
3816 delegate(int n) : n(n) {}
3817 delegate(): delegate(2354) {}
3819 virtual int getval() { return this->n; };
3820 protected:
3821 int n;
3824 class overridden : public delegate
3826 public:
3827 overridden(int n): delegate(n) {}
3828 virtual int getval() override final { return this->n * 2; }
3831 class nocopy
3833 public:
3834 nocopy(int i): i(i) {}
3835 nocopy() = default;
3836 nocopy(const nocopy&) = delete;
3837 nocopy & operator=(const nocopy&) = delete;
3838 private:
3839 int i;
3842 // for testing lambda expressions
3843 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3845 return f(v);
3848 // for testing variadic templates and trailing return types
3849 template <typename V> auto sum(V first) -> V
3851 return first;
3853 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3855 return first + sum(rest...);
3860 # Test code for whether the C++ compiler supports C++11 (body of main)
3861 ac_cxx_conftest_cxx11_main='
3863 // Test auto and decltype
3864 auto a1 = 6538;
3865 auto a2 = 48573953.4;
3866 auto a3 = "String literal";
3868 int total = 0;
3869 for (auto i = a3; *i; ++i) { total += *i; }
3871 decltype(a2) a4 = 34895.034;
3874 // Test constexpr
3875 short sa[cxx11test::get_val()] = { 0 };
3878 // Test initializer lists
3879 cxx11test::testinit il = { 4323, 435234.23544 };
3882 // Test range-based for
3883 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3884 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3885 for (auto &x : array) { x += 23; }
3888 // Test lambda expressions
3889 using cxx11test::eval;
3890 assert (eval ([](int x) { return x*2; }, 21) == 42);
3891 double d = 2.0;
3892 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3893 assert (d == 5.0);
3894 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3895 assert (d == 5.0);
3898 // Test use of variadic templates
3899 using cxx11test::sum;
3900 auto a = sum(1);
3901 auto b = sum(1, 2);
3902 auto c = sum(1.0, 2.0, 3.0);
3905 // Test constructor delegation
3906 cxx11test::delegate d1;
3907 cxx11test::delegate d2();
3908 cxx11test::delegate d3(45);
3911 // Test override and final
3912 cxx11test::overridden o1(55464);
3915 // Test nullptr
3916 char *c = nullptr;
3919 // Test template brackets
3920 test_template<::test_template<int>> v(test_template<int>(12));
3923 // Unicode literals
3924 char const *utf8 = u8"UTF-8 string \u2500";
3925 char16_t const *utf16 = u"UTF-8 string \u2500";
3926 char32_t const *utf32 = U"UTF-32 string \u2500";
3930 # Test code for whether the C compiler supports C++11 (complete).
3931 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3932 ${ac_cxx_conftest_cxx11_globals}
3935 main (int argc, char **argv)
3937 int ok = 0;
3938 ${ac_cxx_conftest_cxx98_main}
3939 ${ac_cxx_conftest_cxx11_main}
3940 return ok;
3944 # Test code for whether the C compiler supports C++98 (complete).
3945 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3947 main (int argc, char **argv)
3949 int ok = 0;
3950 ${ac_cxx_conftest_cxx98_main}
3951 return ok;
3955 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3956 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3957 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3958 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3959 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3960 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3961 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3962 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3963 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3965 # Auxiliary files required by this configure script.
3966 ac_aux_files="config.guess config.sub"
3968 # Locations in which to look for auxiliary files.
3969 ac_aux_dir_candidates="${srcdir}/tools"
3971 # Search for a directory containing all of the required auxiliary files,
3972 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3973 # If we don't find one directory that contains all the files we need,
3974 # we report the set of missing files from the *first* directory in
3975 # $ac_aux_dir_candidates and give up.
3976 ac_missing_aux_files=""
3977 ac_first_candidate=:
3978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3980 as_found=false
3981 for as_dir in $ac_aux_dir_candidates
3983 IFS=$as_save_IFS
3984 case $as_dir in #(((
3985 '') as_dir=./ ;;
3986 */) ;;
3987 *) as_dir=$as_dir/ ;;
3988 esac
3989 as_found=:
3991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3992 ac_aux_dir_found=yes
3993 ac_install_sh=
3994 for ac_aux in $ac_aux_files
3996 # As a special case, if "install-sh" is required, that requirement
3997 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3998 # and $ac_install_sh is set appropriately for whichever one is found.
3999 if test x"$ac_aux" = x"install-sh"
4000 then
4001 if test -f "${as_dir}install-sh"; then
4002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4003 ac_install_sh="${as_dir}install-sh -c"
4004 elif test -f "${as_dir}install.sh"; then
4005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4006 ac_install_sh="${as_dir}install.sh -c"
4007 elif test -f "${as_dir}shtool"; then
4008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4009 ac_install_sh="${as_dir}shtool install -c"
4010 else
4011 ac_aux_dir_found=no
4012 if $ac_first_candidate; then
4013 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4014 else
4015 break
4018 else
4019 if test -f "${as_dir}${ac_aux}"; then
4020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4021 else
4022 ac_aux_dir_found=no
4023 if $ac_first_candidate; then
4024 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4025 else
4026 break
4030 done
4031 if test "$ac_aux_dir_found" = yes; then
4032 ac_aux_dir="$as_dir"
4033 break
4035 ac_first_candidate=false
4037 as_found=false
4038 done
4039 IFS=$as_save_IFS
4040 if $as_found
4041 then :
4043 else $as_nop
4044 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4048 # These three variables are undocumented and unsupported,
4049 # and are intended to be withdrawn in a future Autoconf release.
4050 # They can cause serious problems if a builder's source tree is in a directory
4051 # whose full name contains unusual characters.
4052 if test -f "${ac_aux_dir}config.guess"; then
4053 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4055 if test -f "${ac_aux_dir}config.sub"; then
4056 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4058 if test -f "$ac_aux_dir/configure"; then
4059 ac_configure="$SHELL ${ac_aux_dir}configure"
4062 # Check that the precious variables saved in the cache have kept the same
4063 # value.
4064 ac_cache_corrupted=false
4065 for ac_var in $ac_precious_vars; do
4066 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4067 eval ac_new_set=\$ac_env_${ac_var}_set
4068 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4069 eval ac_new_val=\$ac_env_${ac_var}_value
4070 case $ac_old_set,$ac_new_set in
4071 set,)
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4073 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4074 ac_cache_corrupted=: ;;
4075 ,set)
4076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4077 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4078 ac_cache_corrupted=: ;;
4079 ,);;
4081 if test "x$ac_old_val" != "x$ac_new_val"; then
4082 # differences in whitespace do not lead to failure.
4083 ac_old_val_w=`echo x $ac_old_val`
4084 ac_new_val_w=`echo x $ac_new_val`
4085 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4087 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4088 ac_cache_corrupted=:
4089 else
4090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4091 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4092 eval $ac_var=\$ac_old_val
4094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4095 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4097 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4098 fi;;
4099 esac
4100 # Pass precious variables to config.status.
4101 if test "$ac_new_set" = set; then
4102 case $ac_new_val in
4103 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4104 *) ac_arg=$ac_var=$ac_new_val ;;
4105 esac
4106 case " $ac_configure_args " in
4107 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4108 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4109 esac
4111 done
4112 if $ac_cache_corrupted; then
4113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4114 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4116 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4117 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4118 and start over" "$LINENO" 5
4120 ## -------------------- ##
4121 ## Main body of script. ##
4122 ## -------------------- ##
4124 ac_ext=c
4125 ac_cpp='$CPP $CPPFLAGS'
4126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4132 ac_config_headers="$ac_config_headers include/config.h"
4136 libwine_version="1.0"
4139 # Check whether --enable-archs was given.
4140 if test ${enable_archs+y}
4141 then :
4142 enableval=$enable_archs;
4145 # Check whether --enable-win16 was given.
4146 if test ${enable_win16+y}
4147 then :
4148 enableval=$enable_win16;
4151 # Check whether --enable-win64 was given.
4152 if test ${enable_win64+y}
4153 then :
4154 enableval=$enable_win64;
4157 # Check whether --enable-tests was given.
4158 if test ${enable_tests+y}
4159 then :
4160 enableval=$enable_tests;
4163 # Check whether --enable-build-id was given.
4164 if test ${enable_build_id+y}
4165 then :
4166 enableval=$enable_build_id;
4169 # Check whether --enable-maintainer-mode was given.
4170 if test ${enable_maintainer_mode+y}
4171 then :
4172 enableval=$enable_maintainer_mode;
4175 # Check whether --enable-silent-rules was given.
4176 if test ${enable_silent_rules+y}
4177 then :
4178 enableval=$enable_silent_rules;
4181 # Check whether --enable-werror was given.
4182 if test ${enable_werror+y}
4183 then :
4184 enableval=$enable_werror;
4189 # Check whether --with-alsa was given.
4190 if test ${with_alsa+y}
4191 then :
4192 withval=$with_alsa;
4196 # Check whether --with-capi was given.
4197 if test ${with_capi+y}
4198 then :
4199 withval=$with_capi;
4203 # Check whether --with-coreaudio was given.
4204 if test ${with_coreaudio+y}
4205 then :
4206 withval=$with_coreaudio;
4210 # Check whether --with-cups was given.
4211 if test ${with_cups+y}
4212 then :
4213 withval=$with_cups;
4217 # Check whether --with-dbus was given.
4218 if test ${with_dbus+y}
4219 then :
4220 withval=$with_dbus;
4224 # Check whether --with-float-abi was given.
4225 if test ${with_float_abi+y}
4226 then :
4227 withval=$with_float_abi;
4231 # Check whether --with-fontconfig was given.
4232 if test ${with_fontconfig+y}
4233 then :
4234 withval=$with_fontconfig;
4238 # Check whether --with-freetype was given.
4239 if test ${with_freetype+y}
4240 then :
4241 withval=$with_freetype;
4245 # Check whether --with-gettext was given.
4246 if test ${with_gettext+y}
4247 then :
4248 withval=$with_gettext;
4252 # Check whether --with-gettextpo was given.
4253 if test ${with_gettextpo+y}
4254 then :
4255 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4259 # Check whether --with-gphoto was given.
4260 if test ${with_gphoto+y}
4261 then :
4262 withval=$with_gphoto;
4266 # Check whether --with-gnutls was given.
4267 if test ${with_gnutls+y}
4268 then :
4269 withval=$with_gnutls;
4273 # Check whether --with-gssapi was given.
4274 if test ${with_gssapi+y}
4275 then :
4276 withval=$with_gssapi;
4280 # Check whether --with-gstreamer was given.
4281 if test ${with_gstreamer+y}
4282 then :
4283 withval=$with_gstreamer;
4287 # Check whether --with-inotify was given.
4288 if test ${with_inotify+y}
4289 then :
4290 withval=$with_inotify;
4294 # Check whether --with-krb5 was given.
4295 if test ${with_krb5+y}
4296 then :
4297 withval=$with_krb5;
4301 # Check whether --with-mingw was given.
4302 if test ${with_mingw+y}
4303 then :
4304 withval=$with_mingw;
4308 # Check whether --with-netapi was given.
4309 if test ${with_netapi+y}
4310 then :
4311 withval=$with_netapi;
4315 # Check whether --with-opencl was given.
4316 if test ${with_opencl+y}
4317 then :
4318 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4322 # Check whether --with-opengl was given.
4323 if test ${with_opengl+y}
4324 then :
4325 withval=$with_opengl;
4329 # Check whether --with-osmesa was given.
4330 if test ${with_osmesa+y}
4331 then :
4332 withval=$with_osmesa;
4336 # Check whether --with-oss was given.
4337 if test ${with_oss+y}
4338 then :
4339 withval=$with_oss;
4343 # Check whether --with-pcap was given.
4344 if test ${with_pcap+y}
4345 then :
4346 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4350 # Check whether --with-pcsclite was given.
4351 if test ${with_pcsclite+y}
4352 then :
4353 withval=$with_pcsclite;
4357 # Check whether --with-pthread was given.
4358 if test ${with_pthread+y}
4359 then :
4360 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4364 # Check whether --with-pulse was given.
4365 if test ${with_pulse+y}
4366 then :
4367 withval=$with_pulse;
4371 # Check whether --with-sane was given.
4372 if test ${with_sane+y}
4373 then :
4374 withval=$with_sane;
4378 # Check whether --with-sdl was given.
4379 if test ${with_sdl+y}
4380 then :
4381 withval=$with_sdl;
4385 # Check whether --with-udev was given.
4386 if test ${with_udev+y}
4387 then :
4388 withval=$with_udev;
4392 # Check whether --with-unwind was given.
4393 if test ${with_unwind+y}
4394 then :
4395 withval=$with_unwind;
4399 # Check whether --with-usb was given.
4400 if test ${with_usb+y}
4401 then :
4402 withval=$with_usb;
4406 # Check whether --with-v4l2 was given.
4407 if test ${with_v4l2+y}
4408 then :
4409 withval=$with_v4l2;
4413 # Check whether --with-vulkan was given.
4414 if test ${with_vulkan+y}
4415 then :
4416 withval=$with_vulkan;
4420 # Check whether --with-wayland was given.
4421 if test ${with_wayland+y}
4422 then :
4423 withval=$with_wayland;
4427 # Check whether --with-xcomposite was given.
4428 if test ${with_xcomposite+y}
4429 then :
4430 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4434 # Check whether --with-xcursor was given.
4435 if test ${with_xcursor+y}
4436 then :
4437 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4441 # Check whether --with-xfixes was given.
4442 if test ${with_xfixes+y}
4443 then :
4444 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4448 # Check whether --with-xinerama was given.
4449 if test ${with_xinerama+y}
4450 then :
4451 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4455 # Check whether --with-xinput was given.
4456 if test ${with_xinput+y}
4457 then :
4458 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4462 # Check whether --with-xinput2 was given.
4463 if test ${with_xinput2+y}
4464 then :
4465 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4469 # Check whether --with-xrandr was given.
4470 if test ${with_xrandr+y}
4471 then :
4472 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4476 # Check whether --with-xrender was given.
4477 if test ${with_xrender+y}
4478 then :
4479 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4483 # Check whether --with-xshape was given.
4484 if test ${with_xshape+y}
4485 then :
4486 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4490 # Check whether --with-xshm was given.
4491 if test ${with_xshm+y}
4492 then :
4493 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4497 # Check whether --with-xxf86vm was given.
4498 if test ${with_xxf86vm+y}
4499 then :
4500 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
4505 # Check whether --with-system-dllpath was given.
4506 if test ${with_system_dllpath+y}
4507 then :
4508 withval=$with_system_dllpath; system_dllpath=$withval
4513 # Check whether --with-wine-tools was given.
4514 if test ${with_wine_tools+y}
4515 then :
4516 withval=$with_wine_tools;
4520 # Check whether --with-wine64 was given.
4521 if test ${with_wine64+y}
4522 then :
4523 withval=$with_wine64;
4530 # Make sure we can run config.sub.
4531 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4532 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4535 printf %s "checking build system type... " >&6; }
4536 if test ${ac_cv_build+y}
4537 then :
4538 printf %s "(cached) " >&6
4539 else $as_nop
4540 ac_build_alias=$build_alias
4541 test "x$ac_build_alias" = x &&
4542 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4543 test "x$ac_build_alias" = x &&
4544 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4545 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4546 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4550 printf "%s\n" "$ac_cv_build" >&6; }
4551 case $ac_cv_build in
4552 *-*-*) ;;
4553 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4554 esac
4555 build=$ac_cv_build
4556 ac_save_IFS=$IFS; IFS='-'
4557 set x $ac_cv_build
4558 shift
4559 build_cpu=$1
4560 build_vendor=$2
4561 shift; shift
4562 # Remember, the first character of IFS is used to create $*,
4563 # except with old shells:
4564 build_os=$*
4565 IFS=$ac_save_IFS
4566 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4570 printf %s "checking host system type... " >&6; }
4571 if test ${ac_cv_host+y}
4572 then :
4573 printf %s "(cached) " >&6
4574 else $as_nop
4575 if test "x$host_alias" = x; then
4576 ac_cv_host=$ac_cv_build
4577 else
4578 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4579 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4584 printf "%s\n" "$ac_cv_host" >&6; }
4585 case $ac_cv_host in
4586 *-*-*) ;;
4587 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4588 esac
4589 host=$ac_cv_host
4590 ac_save_IFS=$IFS; IFS='-'
4591 set x $ac_cv_host
4592 shift
4593 host_cpu=$1
4594 host_vendor=$2
4595 shift; shift
4596 # Remember, the first character of IFS is used to create $*,
4597 # except with old shells:
4598 host_os=$*
4599 IFS=$ac_save_IFS
4600 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4604 dlldir=\${libdir}/wine
4606 fontdir=\${datadir}/wine/fonts
4608 nlsdir=\${datadir}/wine/nls
4613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4614 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4615 set x ${MAKE-make}
4616 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4617 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4618 then :
4619 printf %s "(cached) " >&6
4620 else $as_nop
4621 cat >conftest.make <<\_ACEOF
4622 SHELL = /bin/sh
4623 all:
4624 @echo '@@@%%%=$(MAKE)=@@@%%%'
4625 _ACEOF
4626 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4627 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4628 *@@@%%%=?*=@@@%%%*)
4629 eval ac_cv_prog_make_${ac_make}_set=yes;;
4631 eval ac_cv_prog_make_${ac_make}_set=no;;
4632 esac
4633 rm -f conftest.make
4635 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4637 printf "%s\n" "yes" >&6; }
4638 SET_MAKE=
4639 else
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 printf "%s\n" "no" >&6; }
4642 SET_MAKE="MAKE=${MAKE-make}"
4654 ac_ext=c
4655 ac_cpp='$CPP $CPPFLAGS'
4656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4659 if test -n "$ac_tool_prefix"; then
4660 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4661 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663 printf %s "checking for $ac_word... " >&6; }
4664 if test ${ac_cv_prog_CC+y}
4665 then :
4666 printf %s "(cached) " >&6
4667 else $as_nop
4668 if test -n "$CC"; then
4669 ac_cv_prog_CC="$CC" # Let the user override the test.
4670 else
4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672 for as_dir in $PATH
4674 IFS=$as_save_IFS
4675 case $as_dir in #(((
4676 '') as_dir=./ ;;
4677 */) ;;
4678 *) as_dir=$as_dir/ ;;
4679 esac
4680 for ac_exec_ext in '' $ac_executable_extensions; do
4681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4682 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4684 break 2
4686 done
4687 done
4688 IFS=$as_save_IFS
4692 CC=$ac_cv_prog_CC
4693 if test -n "$CC"; then
4694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4695 printf "%s\n" "$CC" >&6; }
4696 else
4697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 printf "%s\n" "no" >&6; }
4703 if test -z "$ac_cv_prog_CC"; then
4704 ac_ct_CC=$CC
4705 # Extract the first word of "gcc", so it can be a program name with args.
4706 set dummy gcc; ac_word=$2
4707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4708 printf %s "checking for $ac_word... " >&6; }
4709 if test ${ac_cv_prog_ac_ct_CC+y}
4710 then :
4711 printf %s "(cached) " >&6
4712 else $as_nop
4713 if test -n "$ac_ct_CC"; then
4714 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4715 else
4716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717 for as_dir in $PATH
4719 IFS=$as_save_IFS
4720 case $as_dir in #(((
4721 '') as_dir=./ ;;
4722 */) ;;
4723 *) as_dir=$as_dir/ ;;
4724 esac
4725 for ac_exec_ext in '' $ac_executable_extensions; do
4726 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4727 ac_cv_prog_ac_ct_CC="gcc"
4728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4729 break 2
4731 done
4732 done
4733 IFS=$as_save_IFS
4737 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4738 if test -n "$ac_ct_CC"; then
4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4740 printf "%s\n" "$ac_ct_CC" >&6; }
4741 else
4742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 printf "%s\n" "no" >&6; }
4746 if test "x$ac_ct_CC" = x; then
4747 CC=""
4748 else
4749 case $cross_compiling:$ac_tool_warned in
4750 yes:)
4751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4752 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4753 ac_tool_warned=yes ;;
4754 esac
4755 CC=$ac_ct_CC
4757 else
4758 CC="$ac_cv_prog_CC"
4761 if test -z "$CC"; then
4762 if test -n "$ac_tool_prefix"; then
4763 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4764 set dummy ${ac_tool_prefix}cc; ac_word=$2
4765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766 printf %s "checking for $ac_word... " >&6; }
4767 if test ${ac_cv_prog_CC+y}
4768 then :
4769 printf %s "(cached) " >&6
4770 else $as_nop
4771 if test -n "$CC"; then
4772 ac_cv_prog_CC="$CC" # Let the user override the test.
4773 else
4774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4775 for as_dir in $PATH
4777 IFS=$as_save_IFS
4778 case $as_dir in #(((
4779 '') as_dir=./ ;;
4780 */) ;;
4781 *) as_dir=$as_dir/ ;;
4782 esac
4783 for ac_exec_ext in '' $ac_executable_extensions; do
4784 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4785 ac_cv_prog_CC="${ac_tool_prefix}cc"
4786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4787 break 2
4789 done
4790 done
4791 IFS=$as_save_IFS
4795 CC=$ac_cv_prog_CC
4796 if test -n "$CC"; then
4797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4798 printf "%s\n" "$CC" >&6; }
4799 else
4800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 printf "%s\n" "no" >&6; }
4807 if test -z "$CC"; then
4808 # Extract the first word of "cc", so it can be a program name with args.
4809 set dummy cc; ac_word=$2
4810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811 printf %s "checking for $ac_word... " >&6; }
4812 if test ${ac_cv_prog_CC+y}
4813 then :
4814 printf %s "(cached) " >&6
4815 else $as_nop
4816 if test -n "$CC"; then
4817 ac_cv_prog_CC="$CC" # Let the user override the test.
4818 else
4819 ac_prog_rejected=no
4820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4821 for as_dir in $PATH
4823 IFS=$as_save_IFS
4824 case $as_dir in #(((
4825 '') as_dir=./ ;;
4826 */) ;;
4827 *) as_dir=$as_dir/ ;;
4828 esac
4829 for ac_exec_ext in '' $ac_executable_extensions; do
4830 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4831 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4832 ac_prog_rejected=yes
4833 continue
4835 ac_cv_prog_CC="cc"
4836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4837 break 2
4839 done
4840 done
4841 IFS=$as_save_IFS
4843 if test $ac_prog_rejected = yes; then
4844 # We found a bogon in the path, so make sure we never use it.
4845 set dummy $ac_cv_prog_CC
4846 shift
4847 if test $# != 0; then
4848 # We chose a different compiler from the bogus one.
4849 # However, it has the same basename, so the bogon will be chosen
4850 # first if we set CC to just the basename; use the full file name.
4851 shift
4852 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4857 CC=$ac_cv_prog_CC
4858 if test -n "$CC"; then
4859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4860 printf "%s\n" "$CC" >&6; }
4861 else
4862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 printf "%s\n" "no" >&6; }
4868 if test -z "$CC"; then
4869 if test -n "$ac_tool_prefix"; then
4870 for ac_prog in cl.exe
4872 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4873 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 printf %s "checking for $ac_word... " >&6; }
4876 if test ${ac_cv_prog_CC+y}
4877 then :
4878 printf %s "(cached) " >&6
4879 else $as_nop
4880 if test -n "$CC"; then
4881 ac_cv_prog_CC="$CC" # Let the user override the test.
4882 else
4883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4884 for as_dir in $PATH
4886 IFS=$as_save_IFS
4887 case $as_dir in #(((
4888 '') as_dir=./ ;;
4889 */) ;;
4890 *) as_dir=$as_dir/ ;;
4891 esac
4892 for ac_exec_ext in '' $ac_executable_extensions; do
4893 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4894 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4895 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4896 break 2
4898 done
4899 done
4900 IFS=$as_save_IFS
4904 CC=$ac_cv_prog_CC
4905 if test -n "$CC"; then
4906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4907 printf "%s\n" "$CC" >&6; }
4908 else
4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4910 printf "%s\n" "no" >&6; }
4914 test -n "$CC" && break
4915 done
4917 if test -z "$CC"; then
4918 ac_ct_CC=$CC
4919 for ac_prog in cl.exe
4921 # Extract the first word of "$ac_prog", so it can be a program name with args.
4922 set dummy $ac_prog; ac_word=$2
4923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 printf %s "checking for $ac_word... " >&6; }
4925 if test ${ac_cv_prog_ac_ct_CC+y}
4926 then :
4927 printf %s "(cached) " >&6
4928 else $as_nop
4929 if test -n "$ac_ct_CC"; then
4930 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4931 else
4932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933 for as_dir in $PATH
4935 IFS=$as_save_IFS
4936 case $as_dir in #(((
4937 '') as_dir=./ ;;
4938 */) ;;
4939 *) as_dir=$as_dir/ ;;
4940 esac
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4943 ac_cv_prog_ac_ct_CC="$ac_prog"
4944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4945 break 2
4947 done
4948 done
4949 IFS=$as_save_IFS
4953 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4954 if test -n "$ac_ct_CC"; then
4955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4956 printf "%s\n" "$ac_ct_CC" >&6; }
4957 else
4958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 printf "%s\n" "no" >&6; }
4963 test -n "$ac_ct_CC" && break
4964 done
4966 if test "x$ac_ct_CC" = x; then
4967 CC=""
4968 else
4969 case $cross_compiling:$ac_tool_warned in
4970 yes:)
4971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4972 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4973 ac_tool_warned=yes ;;
4974 esac
4975 CC=$ac_ct_CC
4980 if test -z "$CC"; then
4981 if test -n "$ac_tool_prefix"; then
4982 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4983 set dummy ${ac_tool_prefix}clang; ac_word=$2
4984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 printf %s "checking for $ac_word... " >&6; }
4986 if test ${ac_cv_prog_CC+y}
4987 then :
4988 printf %s "(cached) " >&6
4989 else $as_nop
4990 if test -n "$CC"; then
4991 ac_cv_prog_CC="$CC" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4996 IFS=$as_save_IFS
4997 case $as_dir in #(((
4998 '') as_dir=./ ;;
4999 */) ;;
5000 *) as_dir=$as_dir/ ;;
5001 esac
5002 for ac_exec_ext in '' $ac_executable_extensions; do
5003 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5004 ac_cv_prog_CC="${ac_tool_prefix}clang"
5005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5006 break 2
5008 done
5009 done
5010 IFS=$as_save_IFS
5014 CC=$ac_cv_prog_CC
5015 if test -n "$CC"; then
5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5017 printf "%s\n" "$CC" >&6; }
5018 else
5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020 printf "%s\n" "no" >&6; }
5025 if test -z "$ac_cv_prog_CC"; then
5026 ac_ct_CC=$CC
5027 # Extract the first word of "clang", so it can be a program name with args.
5028 set dummy clang; ac_word=$2
5029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 printf %s "checking for $ac_word... " >&6; }
5031 if test ${ac_cv_prog_ac_ct_CC+y}
5032 then :
5033 printf %s "(cached) " >&6
5034 else $as_nop
5035 if test -n "$ac_ct_CC"; then
5036 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 case $as_dir in #(((
5043 '') as_dir=./ ;;
5044 */) ;;
5045 *) as_dir=$as_dir/ ;;
5046 esac
5047 for ac_exec_ext in '' $ac_executable_extensions; do
5048 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5049 ac_cv_prog_ac_ct_CC="clang"
5050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5051 break 2
5053 done
5054 done
5055 IFS=$as_save_IFS
5059 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5060 if test -n "$ac_ct_CC"; then
5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5062 printf "%s\n" "$ac_ct_CC" >&6; }
5063 else
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5065 printf "%s\n" "no" >&6; }
5068 if test "x$ac_ct_CC" = x; then
5069 CC=""
5070 else
5071 case $cross_compiling:$ac_tool_warned in
5072 yes:)
5073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5074 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5075 ac_tool_warned=yes ;;
5076 esac
5077 CC=$ac_ct_CC
5079 else
5080 CC="$ac_cv_prog_CC"
5086 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5087 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5088 as_fn_error $? "no acceptable C compiler found in \$PATH
5089 See \`config.log' for more details" "$LINENO" 5; }
5091 # Provide some information about the compiler.
5092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5093 set X $ac_compile
5094 ac_compiler=$2
5095 for ac_option in --version -v -V -qversion -version; do
5096 { { ac_try="$ac_compiler $ac_option >&5"
5097 case "(($ac_try" in
5098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5099 *) ac_try_echo=$ac_try;;
5100 esac
5101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5102 printf "%s\n" "$ac_try_echo"; } >&5
5103 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5104 ac_status=$?
5105 if test -s conftest.err; then
5106 sed '10a\
5107 ... rest of stderr output deleted ...
5108 10q' conftest.err >conftest.er1
5109 cat conftest.er1 >&5
5111 rm -f conftest.er1 conftest.err
5112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5113 test $ac_status = 0; }
5114 done
5116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117 /* end confdefs.h. */
5120 main (void)
5124 return 0;
5126 _ACEOF
5127 ac_clean_files_save=$ac_clean_files
5128 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5129 # Try to create an executable without -o first, disregard a.out.
5130 # It will help us diagnose broken compilers, and finding out an intuition
5131 # of exeext.
5132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5133 printf %s "checking whether the C compiler works... " >&6; }
5134 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5136 # The possible output files:
5137 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5139 ac_rmfiles=
5140 for ac_file in $ac_files
5142 case $ac_file in
5143 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5144 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5145 esac
5146 done
5147 rm -f $ac_rmfiles
5149 if { { ac_try="$ac_link_default"
5150 case "(($ac_try" in
5151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5152 *) ac_try_echo=$ac_try;;
5153 esac
5154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5155 printf "%s\n" "$ac_try_echo"; } >&5
5156 (eval "$ac_link_default") 2>&5
5157 ac_status=$?
5158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5159 test $ac_status = 0; }
5160 then :
5161 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5162 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5163 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5164 # so that the user can short-circuit this test for compilers unknown to
5165 # Autoconf.
5166 for ac_file in $ac_files ''
5168 test -f "$ac_file" || continue
5169 case $ac_file in
5170 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5172 [ab].out )
5173 # We found the default executable, but exeext='' is most
5174 # certainly right.
5175 break;;
5176 *.* )
5177 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5178 then :; else
5179 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5181 # We set ac_cv_exeext here because the later test for it is not
5182 # safe: cross compilers may not add the suffix if given an `-o'
5183 # argument, so we may need to know it at that point already.
5184 # Even if this section looks crufty: it has the advantage of
5185 # actually working.
5186 break;;
5188 break;;
5189 esac
5190 done
5191 test "$ac_cv_exeext" = no && ac_cv_exeext=
5193 else $as_nop
5194 ac_file=''
5196 if test -z "$ac_file"
5197 then :
5198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 printf "%s\n" "no" >&6; }
5200 printf "%s\n" "$as_me: failed program was:" >&5
5201 sed 's/^/| /' conftest.$ac_ext >&5
5203 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5204 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5205 as_fn_error 77 "C compiler cannot create executables
5206 See \`config.log' for more details" "$LINENO" 5; }
5207 else $as_nop
5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5209 printf "%s\n" "yes" >&6; }
5211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5212 printf %s "checking for C compiler default output file name... " >&6; }
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5214 printf "%s\n" "$ac_file" >&6; }
5215 ac_exeext=$ac_cv_exeext
5217 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5218 ac_clean_files=$ac_clean_files_save
5219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5220 printf %s "checking for suffix of executables... " >&6; }
5221 if { { ac_try="$ac_link"
5222 case "(($ac_try" in
5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5225 esac
5226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5227 printf "%s\n" "$ac_try_echo"; } >&5
5228 (eval "$ac_link") 2>&5
5229 ac_status=$?
5230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5231 test $ac_status = 0; }
5232 then :
5233 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5234 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5235 # work properly (i.e., refer to `conftest.exe'), while it won't with
5236 # `rm'.
5237 for ac_file in conftest.exe conftest conftest.*; do
5238 test -f "$ac_file" || continue
5239 case $ac_file in
5240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5241 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5242 break;;
5243 * ) break;;
5244 esac
5245 done
5246 else $as_nop
5247 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5248 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5249 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5250 See \`config.log' for more details" "$LINENO" 5; }
5252 rm -f conftest conftest$ac_cv_exeext
5253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5254 printf "%s\n" "$ac_cv_exeext" >&6; }
5256 rm -f conftest.$ac_ext
5257 EXEEXT=$ac_cv_exeext
5258 ac_exeext=$EXEEXT
5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5260 /* end confdefs.h. */
5261 #include <stdio.h>
5263 main (void)
5265 FILE *f = fopen ("conftest.out", "w");
5266 return ferror (f) || fclose (f) != 0;
5269 return 0;
5271 _ACEOF
5272 ac_clean_files="$ac_clean_files conftest.out"
5273 # Check that the compiler produces executables we can run. If not, either
5274 # the compiler is broken, or we cross compile.
5275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5276 printf %s "checking whether we are cross compiling... " >&6; }
5277 if test "$cross_compiling" != yes; then
5278 { { ac_try="$ac_link"
5279 case "(($ac_try" in
5280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5282 esac
5283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5284 printf "%s\n" "$ac_try_echo"; } >&5
5285 (eval "$ac_link") 2>&5
5286 ac_status=$?
5287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5288 test $ac_status = 0; }
5289 if { ac_try='./conftest$ac_cv_exeext'
5290 { { case "(($ac_try" in
5291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5292 *) ac_try_echo=$ac_try;;
5293 esac
5294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5295 printf "%s\n" "$ac_try_echo"; } >&5
5296 (eval "$ac_try") 2>&5
5297 ac_status=$?
5298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5299 test $ac_status = 0; }; }; then
5300 cross_compiling=no
5301 else
5302 if test "$cross_compiling" = maybe; then
5303 cross_compiling=yes
5304 else
5305 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5306 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5307 as_fn_error 77 "cannot run C compiled programs.
5308 If you meant to cross compile, use \`--host'.
5309 See \`config.log' for more details" "$LINENO" 5; }
5313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5314 printf "%s\n" "$cross_compiling" >&6; }
5316 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5317 ac_clean_files=$ac_clean_files_save
5318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5319 printf %s "checking for suffix of object files... " >&6; }
5320 if test ${ac_cv_objext+y}
5321 then :
5322 printf %s "(cached) " >&6
5323 else $as_nop
5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5328 main (void)
5332 return 0;
5334 _ACEOF
5335 rm -f conftest.o conftest.obj
5336 if { { ac_try="$ac_compile"
5337 case "(($ac_try" in
5338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5339 *) ac_try_echo=$ac_try;;
5340 esac
5341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5342 printf "%s\n" "$ac_try_echo"; } >&5
5343 (eval "$ac_compile") 2>&5
5344 ac_status=$?
5345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5346 test $ac_status = 0; }
5347 then :
5348 for ac_file in conftest.o conftest.obj conftest.*; do
5349 test -f "$ac_file" || continue;
5350 case $ac_file in
5351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5352 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5353 break;;
5354 esac
5355 done
5356 else $as_nop
5357 printf "%s\n" "$as_me: failed program was:" >&5
5358 sed 's/^/| /' conftest.$ac_ext >&5
5360 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5361 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5362 as_fn_error $? "cannot compute suffix of object files: cannot compile
5363 See \`config.log' for more details" "$LINENO" 5; }
5365 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5368 printf "%s\n" "$ac_cv_objext" >&6; }
5369 OBJEXT=$ac_cv_objext
5370 ac_objext=$OBJEXT
5371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5372 printf %s "checking whether the compiler supports GNU C... " >&6; }
5373 if test ${ac_cv_c_compiler_gnu+y}
5374 then :
5375 printf %s "(cached) " >&6
5376 else $as_nop
5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5381 main (void)
5383 #ifndef __GNUC__
5384 choke me
5385 #endif
5388 return 0;
5390 _ACEOF
5391 if ac_fn_c_try_compile "$LINENO"
5392 then :
5393 ac_compiler_gnu=yes
5394 else $as_nop
5395 ac_compiler_gnu=no
5397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5398 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5402 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5405 if test $ac_compiler_gnu = yes; then
5406 GCC=yes
5407 else
5408 GCC=
5410 ac_test_CFLAGS=${CFLAGS+y}
5411 ac_save_CFLAGS=$CFLAGS
5412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5413 printf %s "checking whether $CC accepts -g... " >&6; }
5414 if test ${ac_cv_prog_cc_g+y}
5415 then :
5416 printf %s "(cached) " >&6
5417 else $as_nop
5418 ac_save_c_werror_flag=$ac_c_werror_flag
5419 ac_c_werror_flag=yes
5420 ac_cv_prog_cc_g=no
5421 CFLAGS="-g"
5422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5426 main (void)
5430 return 0;
5432 _ACEOF
5433 if ac_fn_c_try_compile "$LINENO"
5434 then :
5435 ac_cv_prog_cc_g=yes
5436 else $as_nop
5437 CFLAGS=""
5438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5439 /* end confdefs.h. */
5442 main (void)
5446 return 0;
5448 _ACEOF
5449 if ac_fn_c_try_compile "$LINENO"
5450 then :
5452 else $as_nop
5453 ac_c_werror_flag=$ac_save_c_werror_flag
5454 CFLAGS="-g"
5455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5456 /* end confdefs.h. */
5459 main (void)
5463 return 0;
5465 _ACEOF
5466 if ac_fn_c_try_compile "$LINENO"
5467 then :
5468 ac_cv_prog_cc_g=yes
5470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5475 ac_c_werror_flag=$ac_save_c_werror_flag
5477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5478 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5479 if test $ac_test_CFLAGS; then
5480 CFLAGS=$ac_save_CFLAGS
5481 elif test $ac_cv_prog_cc_g = yes; then
5482 if test "$GCC" = yes; then
5483 CFLAGS="-g -O2"
5484 else
5485 CFLAGS="-g"
5487 else
5488 if test "$GCC" = yes; then
5489 CFLAGS="-O2"
5490 else
5491 CFLAGS=
5494 ac_prog_cc_stdc=no
5495 if test x$ac_prog_cc_stdc = xno
5496 then :
5497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5498 printf %s "checking for $CC option to enable C11 features... " >&6; }
5499 if test ${ac_cv_prog_cc_c11+y}
5500 then :
5501 printf %s "(cached) " >&6
5502 else $as_nop
5503 ac_cv_prog_cc_c11=no
5504 ac_save_CC=$CC
5505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5506 /* end confdefs.h. */
5507 $ac_c_conftest_c11_program
5508 _ACEOF
5509 for ac_arg in '' -std=gnu11
5511 CC="$ac_save_CC $ac_arg"
5512 if ac_fn_c_try_compile "$LINENO"
5513 then :
5514 ac_cv_prog_cc_c11=$ac_arg
5516 rm -f core conftest.err conftest.$ac_objext conftest.beam
5517 test "x$ac_cv_prog_cc_c11" != "xno" && break
5518 done
5519 rm -f conftest.$ac_ext
5520 CC=$ac_save_CC
5523 if test "x$ac_cv_prog_cc_c11" = xno
5524 then :
5525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5526 printf "%s\n" "unsupported" >&6; }
5527 else $as_nop
5528 if test "x$ac_cv_prog_cc_c11" = x
5529 then :
5530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5531 printf "%s\n" "none needed" >&6; }
5532 else $as_nop
5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5534 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5535 CC="$CC $ac_cv_prog_cc_c11"
5537 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5538 ac_prog_cc_stdc=c11
5541 if test x$ac_prog_cc_stdc = xno
5542 then :
5543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5544 printf %s "checking for $CC option to enable C99 features... " >&6; }
5545 if test ${ac_cv_prog_cc_c99+y}
5546 then :
5547 printf %s "(cached) " >&6
5548 else $as_nop
5549 ac_cv_prog_cc_c99=no
5550 ac_save_CC=$CC
5551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5552 /* end confdefs.h. */
5553 $ac_c_conftest_c99_program
5554 _ACEOF
5555 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5557 CC="$ac_save_CC $ac_arg"
5558 if ac_fn_c_try_compile "$LINENO"
5559 then :
5560 ac_cv_prog_cc_c99=$ac_arg
5562 rm -f core conftest.err conftest.$ac_objext conftest.beam
5563 test "x$ac_cv_prog_cc_c99" != "xno" && break
5564 done
5565 rm -f conftest.$ac_ext
5566 CC=$ac_save_CC
5569 if test "x$ac_cv_prog_cc_c99" = xno
5570 then :
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5572 printf "%s\n" "unsupported" >&6; }
5573 else $as_nop
5574 if test "x$ac_cv_prog_cc_c99" = x
5575 then :
5576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5577 printf "%s\n" "none needed" >&6; }
5578 else $as_nop
5579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5580 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5581 CC="$CC $ac_cv_prog_cc_c99"
5583 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5584 ac_prog_cc_stdc=c99
5587 if test x$ac_prog_cc_stdc = xno
5588 then :
5589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5590 printf %s "checking for $CC option to enable C89 features... " >&6; }
5591 if test ${ac_cv_prog_cc_c89+y}
5592 then :
5593 printf %s "(cached) " >&6
5594 else $as_nop
5595 ac_cv_prog_cc_c89=no
5596 ac_save_CC=$CC
5597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5598 /* end confdefs.h. */
5599 $ac_c_conftest_c89_program
5600 _ACEOF
5601 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5603 CC="$ac_save_CC $ac_arg"
5604 if ac_fn_c_try_compile "$LINENO"
5605 then :
5606 ac_cv_prog_cc_c89=$ac_arg
5608 rm -f core conftest.err conftest.$ac_objext conftest.beam
5609 test "x$ac_cv_prog_cc_c89" != "xno" && break
5610 done
5611 rm -f conftest.$ac_ext
5612 CC=$ac_save_CC
5615 if test "x$ac_cv_prog_cc_c89" = xno
5616 then :
5617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5618 printf "%s\n" "unsupported" >&6; }
5619 else $as_nop
5620 if test "x$ac_cv_prog_cc_c89" = x
5621 then :
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5623 printf "%s\n" "none needed" >&6; }
5624 else $as_nop
5625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5626 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5627 CC="$CC $ac_cv_prog_cc_c89"
5629 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5630 ac_prog_cc_stdc=c89
5634 ac_ext=c
5635 ac_cpp='$CPP $CPPFLAGS'
5636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5646 ac_ext=cpp
5647 ac_cpp='$CXXCPP $CPPFLAGS'
5648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5651 if test -z "$CXX"; then
5652 if test -n "$CCC"; then
5653 CXX=$CCC
5654 else
5655 if test -n "$ac_tool_prefix"; then
5656 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5658 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5659 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 printf %s "checking for $ac_word... " >&6; }
5662 if test ${ac_cv_prog_CXX+y}
5663 then :
5664 printf %s "(cached) " >&6
5665 else $as_nop
5666 if test -n "$CXX"; then
5667 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5668 else
5669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5670 for as_dir in $PATH
5672 IFS=$as_save_IFS
5673 case $as_dir in #(((
5674 '') as_dir=./ ;;
5675 */) ;;
5676 *) as_dir=$as_dir/ ;;
5677 esac
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5680 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5682 break 2
5684 done
5685 done
5686 IFS=$as_save_IFS
5690 CXX=$ac_cv_prog_CXX
5691 if test -n "$CXX"; then
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5693 printf "%s\n" "$CXX" >&6; }
5694 else
5695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 printf "%s\n" "no" >&6; }
5700 test -n "$CXX" && break
5701 done
5703 if test -z "$CXX"; then
5704 ac_ct_CXX=$CXX
5705 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5707 # Extract the first word of "$ac_prog", so it can be a program name with args.
5708 set dummy $ac_prog; ac_word=$2
5709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5710 printf %s "checking for $ac_word... " >&6; }
5711 if test ${ac_cv_prog_ac_ct_CXX+y}
5712 then :
5713 printf %s "(cached) " >&6
5714 else $as_nop
5715 if test -n "$ac_ct_CXX"; then
5716 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5717 else
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 for as_dir in $PATH
5721 IFS=$as_save_IFS
5722 case $as_dir in #(((
5723 '') as_dir=./ ;;
5724 */) ;;
5725 *) as_dir=$as_dir/ ;;
5726 esac
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5729 ac_cv_prog_ac_ct_CXX="$ac_prog"
5730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5731 break 2
5733 done
5734 done
5735 IFS=$as_save_IFS
5739 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5740 if test -n "$ac_ct_CXX"; then
5741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5742 printf "%s\n" "$ac_ct_CXX" >&6; }
5743 else
5744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 printf "%s\n" "no" >&6; }
5749 test -n "$ac_ct_CXX" && break
5750 done
5752 if test "x$ac_ct_CXX" = x; then
5753 CXX="g++"
5754 else
5755 case $cross_compiling:$ac_tool_warned in
5756 yes:)
5757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5758 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5759 ac_tool_warned=yes ;;
5760 esac
5761 CXX=$ac_ct_CXX
5767 # Provide some information about the compiler.
5768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5769 set X $ac_compile
5770 ac_compiler=$2
5771 for ac_option in --version -v -V -qversion; do
5772 { { ac_try="$ac_compiler $ac_option >&5"
5773 case "(($ac_try" in
5774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5775 *) ac_try_echo=$ac_try;;
5776 esac
5777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5778 printf "%s\n" "$ac_try_echo"; } >&5
5779 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5780 ac_status=$?
5781 if test -s conftest.err; then
5782 sed '10a\
5783 ... rest of stderr output deleted ...
5784 10q' conftest.err >conftest.er1
5785 cat conftest.er1 >&5
5787 rm -f conftest.er1 conftest.err
5788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5789 test $ac_status = 0; }
5790 done
5792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5793 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5794 if test ${ac_cv_cxx_compiler_gnu+y}
5795 then :
5796 printf %s "(cached) " >&6
5797 else $as_nop
5798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5799 /* end confdefs.h. */
5802 main (void)
5804 #ifndef __GNUC__
5805 choke me
5806 #endif
5809 return 0;
5811 _ACEOF
5812 if ac_fn_cxx_try_compile "$LINENO"
5813 then :
5814 ac_compiler_gnu=yes
5815 else $as_nop
5816 ac_compiler_gnu=no
5818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5819 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5823 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5826 if test $ac_compiler_gnu = yes; then
5827 GXX=yes
5828 else
5829 GXX=
5831 ac_test_CXXFLAGS=${CXXFLAGS+y}
5832 ac_save_CXXFLAGS=$CXXFLAGS
5833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5834 printf %s "checking whether $CXX accepts -g... " >&6; }
5835 if test ${ac_cv_prog_cxx_g+y}
5836 then :
5837 printf %s "(cached) " >&6
5838 else $as_nop
5839 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5840 ac_cxx_werror_flag=yes
5841 ac_cv_prog_cxx_g=no
5842 CXXFLAGS="-g"
5843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5844 /* end confdefs.h. */
5847 main (void)
5851 return 0;
5853 _ACEOF
5854 if ac_fn_cxx_try_compile "$LINENO"
5855 then :
5856 ac_cv_prog_cxx_g=yes
5857 else $as_nop
5858 CXXFLAGS=""
5859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5860 /* end confdefs.h. */
5863 main (void)
5867 return 0;
5869 _ACEOF
5870 if ac_fn_cxx_try_compile "$LINENO"
5871 then :
5873 else $as_nop
5874 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5875 CXXFLAGS="-g"
5876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5877 /* end confdefs.h. */
5880 main (void)
5884 return 0;
5886 _ACEOF
5887 if ac_fn_cxx_try_compile "$LINENO"
5888 then :
5889 ac_cv_prog_cxx_g=yes
5891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5896 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5899 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5900 if test $ac_test_CXXFLAGS; then
5901 CXXFLAGS=$ac_save_CXXFLAGS
5902 elif test $ac_cv_prog_cxx_g = yes; then
5903 if test "$GXX" = yes; then
5904 CXXFLAGS="-g -O2"
5905 else
5906 CXXFLAGS="-g"
5908 else
5909 if test "$GXX" = yes; then
5910 CXXFLAGS="-O2"
5911 else
5912 CXXFLAGS=
5915 ac_prog_cxx_stdcxx=no
5916 if test x$ac_prog_cxx_stdcxx = xno
5917 then :
5918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5919 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5920 if test ${ac_cv_prog_cxx_cxx11+y}
5921 then :
5922 printf %s "(cached) " >&6
5923 else $as_nop
5924 ac_cv_prog_cxx_cxx11=no
5925 ac_save_CXX=$CXX
5926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5927 /* end confdefs.h. */
5928 $ac_cxx_conftest_cxx11_program
5929 _ACEOF
5930 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5932 CXX="$ac_save_CXX $ac_arg"
5933 if ac_fn_cxx_try_compile "$LINENO"
5934 then :
5935 ac_cv_prog_cxx_cxx11=$ac_arg
5937 rm -f core conftest.err conftest.$ac_objext conftest.beam
5938 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5939 done
5940 rm -f conftest.$ac_ext
5941 CXX=$ac_save_CXX
5944 if test "x$ac_cv_prog_cxx_cxx11" = xno
5945 then :
5946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5947 printf "%s\n" "unsupported" >&6; }
5948 else $as_nop
5949 if test "x$ac_cv_prog_cxx_cxx11" = x
5950 then :
5951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5952 printf "%s\n" "none needed" >&6; }
5953 else $as_nop
5954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5955 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5956 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5958 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5959 ac_prog_cxx_stdcxx=cxx11
5962 if test x$ac_prog_cxx_stdcxx = xno
5963 then :
5964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5965 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5966 if test ${ac_cv_prog_cxx_cxx98+y}
5967 then :
5968 printf %s "(cached) " >&6
5969 else $as_nop
5970 ac_cv_prog_cxx_cxx98=no
5971 ac_save_CXX=$CXX
5972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5973 /* end confdefs.h. */
5974 $ac_cxx_conftest_cxx98_program
5975 _ACEOF
5976 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5978 CXX="$ac_save_CXX $ac_arg"
5979 if ac_fn_cxx_try_compile "$LINENO"
5980 then :
5981 ac_cv_prog_cxx_cxx98=$ac_arg
5983 rm -f core conftest.err conftest.$ac_objext conftest.beam
5984 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5985 done
5986 rm -f conftest.$ac_ext
5987 CXX=$ac_save_CXX
5990 if test "x$ac_cv_prog_cxx_cxx98" = xno
5991 then :
5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5993 printf "%s\n" "unsupported" >&6; }
5994 else $as_nop
5995 if test "x$ac_cv_prog_cxx_cxx98" = x
5996 then :
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5998 printf "%s\n" "none needed" >&6; }
5999 else $as_nop
6000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6001 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6002 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6004 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6005 ac_prog_cxx_stdcxx=cxx98
6009 ac_ext=c
6010 ac_cpp='$CPP $CPPFLAGS'
6011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6015 if test -n "$ac_tool_prefix"; then
6016 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6017 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6019 printf %s "checking for $ac_word... " >&6; }
6020 if test ${ac_cv_prog_CPPBIN+y}
6021 then :
6022 printf %s "(cached) " >&6
6023 else $as_nop
6024 if test -n "$CPPBIN"; then
6025 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6030 IFS=$as_save_IFS
6031 case $as_dir in #(((
6032 '') as_dir=./ ;;
6033 */) ;;
6034 *) as_dir=$as_dir/ ;;
6035 esac
6036 for ac_exec_ext in '' $ac_executable_extensions; do
6037 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6038 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6040 break 2
6042 done
6043 done
6044 IFS=$as_save_IFS
6048 CPPBIN=$ac_cv_prog_CPPBIN
6049 if test -n "$CPPBIN"; then
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6051 printf "%s\n" "$CPPBIN" >&6; }
6052 else
6053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6054 printf "%s\n" "no" >&6; }
6059 if test -z "$ac_cv_prog_CPPBIN"; then
6060 ac_ct_CPPBIN=$CPPBIN
6061 # Extract the first word of "cpp", so it can be a program name with args.
6062 set dummy cpp; ac_word=$2
6063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 printf %s "checking for $ac_word... " >&6; }
6065 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6066 then :
6067 printf %s "(cached) " >&6
6068 else $as_nop
6069 if test -n "$ac_ct_CPPBIN"; then
6070 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6071 else
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 for as_dir in $PATH
6075 IFS=$as_save_IFS
6076 case $as_dir in #(((
6077 '') as_dir=./ ;;
6078 */) ;;
6079 *) as_dir=$as_dir/ ;;
6080 esac
6081 for ac_exec_ext in '' $ac_executable_extensions; do
6082 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6083 ac_cv_prog_ac_ct_CPPBIN="cpp"
6084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6085 break 2
6087 done
6088 done
6089 IFS=$as_save_IFS
6093 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6094 if test -n "$ac_ct_CPPBIN"; then
6095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6096 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6097 else
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6099 printf "%s\n" "no" >&6; }
6102 if test "x$ac_ct_CPPBIN" = x; then
6103 CPPBIN="cpp"
6104 else
6105 case $cross_compiling:$ac_tool_warned in
6106 yes:)
6107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6108 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6109 ac_tool_warned=yes ;;
6110 esac
6111 CPPBIN=$ac_ct_CPPBIN
6113 else
6114 CPPBIN="$ac_cv_prog_CPPBIN"
6118 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6120 if test -n "$ac_tool_prefix"; then
6121 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6122 set dummy ${ac_tool_prefix}ld; ac_word=$2
6123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6124 printf %s "checking for $ac_word... " >&6; }
6125 if test ${ac_cv_prog_LD+y}
6126 then :
6127 printf %s "(cached) " >&6
6128 else $as_nop
6129 if test -n "$LD"; then
6130 ac_cv_prog_LD="$LD" # Let the user override the test.
6131 else
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH
6135 IFS=$as_save_IFS
6136 case $as_dir in #(((
6137 '') as_dir=./ ;;
6138 */) ;;
6139 *) as_dir=$as_dir/ ;;
6140 esac
6141 for ac_exec_ext in '' $ac_executable_extensions; do
6142 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6143 ac_cv_prog_LD="${ac_tool_prefix}ld"
6144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6145 break 2
6147 done
6148 done
6149 IFS=$as_save_IFS
6153 LD=$ac_cv_prog_LD
6154 if test -n "$LD"; then
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6156 printf "%s\n" "$LD" >&6; }
6157 else
6158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159 printf "%s\n" "no" >&6; }
6164 if test -z "$ac_cv_prog_LD"; then
6165 ac_ct_LD=$LD
6166 # Extract the first word of "ld", so it can be a program name with args.
6167 set dummy ld; ac_word=$2
6168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169 printf %s "checking for $ac_word... " >&6; }
6170 if test ${ac_cv_prog_ac_ct_LD+y}
6171 then :
6172 printf %s "(cached) " >&6
6173 else $as_nop
6174 if test -n "$ac_ct_LD"; then
6175 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6176 else
6177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6178 for as_dir in $PATH
6180 IFS=$as_save_IFS
6181 case $as_dir in #(((
6182 '') as_dir=./ ;;
6183 */) ;;
6184 *) as_dir=$as_dir/ ;;
6185 esac
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6188 ac_cv_prog_ac_ct_LD="ld"
6189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6190 break 2
6192 done
6193 done
6194 IFS=$as_save_IFS
6198 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6199 if test -n "$ac_ct_LD"; then
6200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6201 printf "%s\n" "$ac_ct_LD" >&6; }
6202 else
6203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6204 printf "%s\n" "no" >&6; }
6207 if test "x$ac_ct_LD" = x; then
6208 LD=""
6209 else
6210 case $cross_compiling:$ac_tool_warned in
6211 yes:)
6212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6213 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6214 ac_tool_warned=yes ;;
6215 esac
6216 LD=$ac_ct_LD
6218 else
6219 LD="$ac_cv_prog_LD"
6223 case $host in
6224 *-darwin*)
6225 with_fontconfig=${with_fontconfig:-no}
6227 *-mingw32*|*-cygwin*)
6228 enable_win16=${enable_win16:-no}
6229 with_mingw=${with_mingw:-no}
6231 esac
6234 case $host in
6235 x86_64*|amd64*)
6236 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6237 then
6238 CC="$CC -m32"
6239 CXX="$CXX -m32"
6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6242 printf %s "checking whether $CC works... " >&6; }
6243 if test ${wine_cv_cc_m32+y}
6244 then :
6245 printf %s "(cached) " >&6
6246 else $as_nop
6247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6251 main (void)
6255 return 0;
6257 _ACEOF
6258 if ac_fn_c_try_link "$LINENO"
6259 then :
6260 wine_cv_cc_m32=yes
6261 else $as_nop
6262 wine_cv_cc_m32=no
6264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6265 conftest$ac_exeext conftest.$ac_ext
6267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6268 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6269 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
6270 host_cpu="i386"
6271 notice_platform="32-bit "
6272 TARGETFLAGS="$TARGETFLAGS -m32"
6273 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6274 export PKG_CONFIG_LIBDIR
6275 with_unwind=${with_unwind:-no}
6276 else
6277 CC="$CC -m64"
6278 CXX="$CXX -m64"
6279 host_cpu="x86_64"
6280 notice_platform="64-bit "
6281 TARGETFLAGS="$TARGETFLAGS -m64"
6284 arm*)
6285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6286 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6287 if test ${wine_cv_thumb2+y}
6288 then :
6289 printf %s "(cached) " >&6
6290 else $as_nop
6291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6292 /* end confdefs.h. */
6295 main (void)
6297 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6299 return 0;
6301 _ACEOF
6302 if ac_fn_c_try_link "$LINENO"
6303 then :
6304 wine_cv_thumb2=yes
6305 else $as_nop
6306 wine_cv_thumb2=no
6308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6309 conftest$ac_exeext conftest.$ac_ext
6311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6312 printf "%s\n" "$wine_cv_thumb2" >&6; }
6313 if test x"$wine_cv_thumb2" = xyes
6314 then
6315 CFLAGS="$CFLAGS -mthumb"
6316 TARGETFLAGS="$TARGETFLAGS -mthumb"
6317 else
6318 CFLAGS="$CFLAGS -marm"
6319 TARGETFLAGS="$TARGETFLAGS -marm"
6321 case $with_float_abi in
6322 soft|softfp|hard)
6323 float_abi=$with_float_abi ;;
6325 case $host_os in
6326 *eabihf)
6327 float_abi=hard ;;
6329 float_abi=softfp
6330 saved_CFLAGS=$CFLAGS
6331 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6333 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6334 if test ${wine_cv_float_abi+y}
6335 then :
6336 printf %s "(cached) " >&6
6337 else $as_nop
6338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6342 main (void)
6344 asm("vmrs r2,fpscr");
6346 return 0;
6348 _ACEOF
6349 if ac_fn_c_try_link "$LINENO"
6350 then :
6351 wine_cv_float_abi=yes
6352 else $as_nop
6353 wine_cv_float_abi=no
6355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6356 conftest$ac_exeext conftest.$ac_ext
6358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6359 printf "%s\n" "$wine_cv_float_abi" >&6; }
6360 if test $wine_cv_float_abi = no
6361 then
6362 float_abi=soft
6363 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6365 CFLAGS=$saved_CFLAGS
6366 esac
6368 esac
6369 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6370 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6372 i[3456789]86*)
6373 with_unwind=${with_unwind:-no}
6375 esac
6377 enable_win16=${enable_win16:-i386}
6378 enable_win64=${enable_win64:-no}
6379 enable_wow64=${enable_wow64:-aarch64,x86_64}
6380 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6381 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6383 enable_winetest=${enable_winetest:-$enable_tests}
6385 if test "x$enable_win64" = "xyes"
6386 then
6387 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6388 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6391 case $build_os in
6392 cygwin*|mingw32*) toolsext=".exe"
6394 *) toolsext=""
6396 esac
6398 HOST_ARCH=unknown
6399 case "$host_cpu" in
6400 aarch64*) HOST_ARCH=aarch64 ;;
6401 arm*) HOST_ARCH=arm ;;
6402 i[3456789]86*) HOST_ARCH=i386 ;;
6403 x86_64) HOST_ARCH=x86_64 ;;
6404 esac
6407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6408 printf %s "checking for the directory containing the Wine tools... " >&6; }
6409 if test ${wine_cv_toolsdir+y}
6410 then :
6411 printf %s "(cached) " >&6
6412 else $as_nop
6413 wine_cv_toolsdir="$with_wine_tools"
6414 if test -z "$with_wine_tools"; then
6415 if test "$cross_compiling" = "yes"; then
6416 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6417 elif test -n "$with_wine64"; then
6418 wine_cv_toolsdir="$with_wine64"
6422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6423 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6424 if test -z "$wine_cv_toolsdir"; then
6425 wine_makedep=tools/makedep$toolsext
6426 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6427 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6428 enable_tools=${enable_tools:-no}
6429 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6430 else
6431 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6433 toolsdir=$wine_cv_toolsdir
6435 MAKEDEP=$wine_makedep
6437 RUNTESTFLAGS="-q -P wine"
6439 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'"
6442 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6443 then
6444 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6447 for ac_prog in flex
6449 # Extract the first word of "$ac_prog", so it can be a program name with args.
6450 set dummy $ac_prog; ac_word=$2
6451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452 printf %s "checking for $ac_word... " >&6; }
6453 if test ${ac_cv_prog_FLEX+y}
6454 then :
6455 printf %s "(cached) " >&6
6456 else $as_nop
6457 if test -n "$FLEX"; then
6458 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6459 else
6460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6461 for as_dir in $PATH
6463 IFS=$as_save_IFS
6464 case $as_dir in #(((
6465 '') as_dir=./ ;;
6466 */) ;;
6467 *) as_dir=$as_dir/ ;;
6468 esac
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6471 ac_cv_prog_FLEX="$ac_prog"
6472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6473 break 2
6475 done
6476 done
6477 IFS=$as_save_IFS
6481 FLEX=$ac_cv_prog_FLEX
6482 if test -n "$FLEX"; then
6483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6484 printf "%s\n" "$FLEX" >&6; }
6485 else
6486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 printf "%s\n" "no" >&6; }
6491 test -n "$FLEX" && break
6492 done
6493 test -n "$FLEX" || FLEX="none"
6495 if test "$FLEX" = "none"
6496 then
6497 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6500 printf %s "checking whether flex is recent enough... " >&6; }
6501 if test ${wine_cv_recent_flex+y}
6502 then :
6503 printf %s "(cached) " >&6
6504 else $as_nop
6505 cat >conftest.l <<EOF
6506 %top{
6507 #include "prediluvian.h"
6511 if $FLEX -t conftest.l >/dev/null 2>&5
6512 then
6513 wine_cv_recent_flex=yes
6514 else
6515 wine_cv_recent_flex=no
6518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6519 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6520 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
6522 for ac_prog in bison
6524 # Extract the first word of "$ac_prog", so it can be a program name with args.
6525 set dummy $ac_prog; ac_word=$2
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 printf %s "checking for $ac_word... " >&6; }
6528 if test ${ac_cv_prog_BISON+y}
6529 then :
6530 printf %s "(cached) " >&6
6531 else $as_nop
6532 if test -n "$BISON"; then
6533 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6534 else
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536 for as_dir in $PATH
6538 IFS=$as_save_IFS
6539 case $as_dir in #(((
6540 '') as_dir=./ ;;
6541 */) ;;
6542 *) as_dir=$as_dir/ ;;
6543 esac
6544 for ac_exec_ext in '' $ac_executable_extensions; do
6545 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6546 ac_cv_prog_BISON="$ac_prog"
6547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6548 break 2
6550 done
6551 done
6552 IFS=$as_save_IFS
6556 BISON=$ac_cv_prog_BISON
6557 if test -n "$BISON"; then
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6559 printf "%s\n" "$BISON" >&6; }
6560 else
6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 printf "%s\n" "no" >&6; }
6566 test -n "$BISON" && break
6567 done
6568 test -n "$BISON" || BISON="none"
6570 if test "$BISON" = "none"
6571 then
6572 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6575 printf %s "checking whether bison is recent enough... " >&6; }
6576 if test ${wine_cv_recent_bison+y}
6577 then :
6578 printf %s "(cached) " >&6
6579 else $as_nop
6580 cat >conftest.y <<EOF
6581 %define parse.error verbose
6583 empty: ;
6585 if $BISON conftest.y >/dev/null 2>&5
6586 then
6587 wine_cv_recent_bison=yes
6588 else
6589 wine_cv_recent_bison=no
6592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6593 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6594 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
6596 if test -n "$ac_tool_prefix"; then
6597 for ac_prog in ar gar
6599 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6600 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 printf %s "checking for $ac_word... " >&6; }
6603 if test ${ac_cv_prog_AR+y}
6604 then :
6605 printf %s "(cached) " >&6
6606 else $as_nop
6607 if test -n "$AR"; then
6608 ac_cv_prog_AR="$AR" # Let the user override the test.
6609 else
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 for as_dir in $PATH
6613 IFS=$as_save_IFS
6614 case $as_dir in #(((
6615 '') as_dir=./ ;;
6616 */) ;;
6617 *) as_dir=$as_dir/ ;;
6618 esac
6619 for ac_exec_ext in '' $ac_executable_extensions; do
6620 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6621 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6623 break 2
6625 done
6626 done
6627 IFS=$as_save_IFS
6631 AR=$ac_cv_prog_AR
6632 if test -n "$AR"; then
6633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6634 printf "%s\n" "$AR" >&6; }
6635 else
6636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637 printf "%s\n" "no" >&6; }
6641 test -n "$AR" && break
6642 done
6644 if test -z "$AR"; then
6645 ac_ct_AR=$AR
6646 for ac_prog in ar gar
6648 # Extract the first word of "$ac_prog", so it can be a program name with args.
6649 set dummy $ac_prog; ac_word=$2
6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 printf %s "checking for $ac_word... " >&6; }
6652 if test ${ac_cv_prog_ac_ct_AR+y}
6653 then :
6654 printf %s "(cached) " >&6
6655 else $as_nop
6656 if test -n "$ac_ct_AR"; then
6657 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6658 else
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6662 IFS=$as_save_IFS
6663 case $as_dir in #(((
6664 '') as_dir=./ ;;
6665 */) ;;
6666 *) as_dir=$as_dir/ ;;
6667 esac
6668 for ac_exec_ext in '' $ac_executable_extensions; do
6669 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6670 ac_cv_prog_ac_ct_AR="$ac_prog"
6671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6672 break 2
6674 done
6675 done
6676 IFS=$as_save_IFS
6680 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6681 if test -n "$ac_ct_AR"; then
6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6683 printf "%s\n" "$ac_ct_AR" >&6; }
6684 else
6685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686 printf "%s\n" "no" >&6; }
6690 test -n "$ac_ct_AR" && break
6691 done
6693 if test "x$ac_ct_AR" = x; then
6694 AR="ar"
6695 else
6696 case $cross_compiling:$ac_tool_warned in
6697 yes:)
6698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6699 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6700 ac_tool_warned=yes ;;
6701 esac
6702 AR=$ac_ct_AR
6706 if test -n "$ac_tool_prefix"; then
6707 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6708 set dummy ${ac_tool_prefix}strip; ac_word=$2
6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710 printf %s "checking for $ac_word... " >&6; }
6711 if test ${ac_cv_prog_STRIP+y}
6712 then :
6713 printf %s "(cached) " >&6
6714 else $as_nop
6715 if test -n "$STRIP"; then
6716 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6717 else
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6719 for as_dir in $PATH
6721 IFS=$as_save_IFS
6722 case $as_dir in #(((
6723 '') as_dir=./ ;;
6724 */) ;;
6725 *) as_dir=$as_dir/ ;;
6726 esac
6727 for ac_exec_ext in '' $ac_executable_extensions; do
6728 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6729 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6731 break 2
6733 done
6734 done
6735 IFS=$as_save_IFS
6739 STRIP=$ac_cv_prog_STRIP
6740 if test -n "$STRIP"; then
6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6742 printf "%s\n" "$STRIP" >&6; }
6743 else
6744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6745 printf "%s\n" "no" >&6; }
6750 if test -z "$ac_cv_prog_STRIP"; then
6751 ac_ct_STRIP=$STRIP
6752 # Extract the first word of "strip", so it can be a program name with args.
6753 set dummy strip; ac_word=$2
6754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 printf %s "checking for $ac_word... " >&6; }
6756 if test ${ac_cv_prog_ac_ct_STRIP+y}
6757 then :
6758 printf %s "(cached) " >&6
6759 else $as_nop
6760 if test -n "$ac_ct_STRIP"; then
6761 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6766 IFS=$as_save_IFS
6767 case $as_dir in #(((
6768 '') as_dir=./ ;;
6769 */) ;;
6770 *) as_dir=$as_dir/ ;;
6771 esac
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6774 ac_cv_prog_ac_ct_STRIP="strip"
6775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6776 break 2
6778 done
6779 done
6780 IFS=$as_save_IFS
6784 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6785 if test -n "$ac_ct_STRIP"; then
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6787 printf "%s\n" "$ac_ct_STRIP" >&6; }
6788 else
6789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 printf "%s\n" "no" >&6; }
6793 if test "x$ac_ct_STRIP" = x; then
6794 STRIP="strip"
6795 else
6796 case $cross_compiling:$ac_tool_warned in
6797 yes:)
6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned=yes ;;
6801 esac
6802 STRIP=$ac_ct_STRIP
6804 else
6805 STRIP="$ac_cv_prog_STRIP"
6808 if test -n "$ac_tool_prefix"; then
6809 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6810 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6812 printf %s "checking for $ac_word... " >&6; }
6813 if test ${ac_cv_prog_RANLIB+y}
6814 then :
6815 printf %s "(cached) " >&6
6816 else $as_nop
6817 if test -n "$RANLIB"; then
6818 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6819 else
6820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6821 for as_dir in $PATH
6823 IFS=$as_save_IFS
6824 case $as_dir in #(((
6825 '') as_dir=./ ;;
6826 */) ;;
6827 *) as_dir=$as_dir/ ;;
6828 esac
6829 for ac_exec_ext in '' $ac_executable_extensions; do
6830 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6831 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6833 break 2
6835 done
6836 done
6837 IFS=$as_save_IFS
6841 RANLIB=$ac_cv_prog_RANLIB
6842 if test -n "$RANLIB"; then
6843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6844 printf "%s\n" "$RANLIB" >&6; }
6845 else
6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 printf "%s\n" "no" >&6; }
6852 if test -z "$ac_cv_prog_RANLIB"; then
6853 ac_ct_RANLIB=$RANLIB
6854 # Extract the first word of "ranlib", so it can be a program name with args.
6855 set dummy ranlib; ac_word=$2
6856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857 printf %s "checking for $ac_word... " >&6; }
6858 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6859 then :
6860 printf %s "(cached) " >&6
6861 else $as_nop
6862 if test -n "$ac_ct_RANLIB"; then
6863 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6864 else
6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866 for as_dir in $PATH
6868 IFS=$as_save_IFS
6869 case $as_dir in #(((
6870 '') as_dir=./ ;;
6871 */) ;;
6872 *) as_dir=$as_dir/ ;;
6873 esac
6874 for ac_exec_ext in '' $ac_executable_extensions; do
6875 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6876 ac_cv_prog_ac_ct_RANLIB="ranlib"
6877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6878 break 2
6880 done
6881 done
6882 IFS=$as_save_IFS
6886 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6887 if test -n "$ac_ct_RANLIB"; then
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6889 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6890 else
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892 printf "%s\n" "no" >&6; }
6895 if test "x$ac_ct_RANLIB" = x; then
6896 RANLIB=":"
6897 else
6898 case $cross_compiling:$ac_tool_warned in
6899 yes:)
6900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6901 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6902 ac_tool_warned=yes ;;
6903 esac
6904 RANLIB=$ac_ct_RANLIB
6906 else
6907 RANLIB="$ac_cv_prog_RANLIB"
6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6911 printf %s "checking whether ln -s works... " >&6; }
6912 LN_S=$as_ln_s
6913 if test "$LN_S" = "ln -s"; then
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6915 printf "%s\n" "yes" >&6; }
6916 else
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6918 printf "%s\n" "no, using $LN_S" >&6; }
6921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6922 printf %s "checking for grep that handles long lines and -e... " >&6; }
6923 if test ${ac_cv_path_GREP+y}
6924 then :
6925 printf %s "(cached) " >&6
6926 else $as_nop
6927 if test -z "$GREP"; then
6928 ac_path_GREP_found=false
6929 # Loop through the user's path and test for each of PROGNAME-LIST
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6933 IFS=$as_save_IFS
6934 case $as_dir in #(((
6935 '') as_dir=./ ;;
6936 */) ;;
6937 *) as_dir=$as_dir/ ;;
6938 esac
6939 for ac_prog in grep ggrep
6941 for ac_exec_ext in '' $ac_executable_extensions; do
6942 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6943 as_fn_executable_p "$ac_path_GREP" || continue
6944 # Check for GNU ac_path_GREP and select it if it is found.
6945 # Check for GNU $ac_path_GREP
6946 case `"$ac_path_GREP" --version 2>&1` in
6947 *GNU*)
6948 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6950 ac_count=0
6951 printf %s 0123456789 >"conftest.in"
6952 while :
6954 cat "conftest.in" "conftest.in" >"conftest.tmp"
6955 mv "conftest.tmp" "conftest.in"
6956 cp "conftest.in" "conftest.nl"
6957 printf "%s\n" 'GREP' >> "conftest.nl"
6958 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6959 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6960 as_fn_arith $ac_count + 1 && ac_count=$as_val
6961 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6962 # Best one so far, save it but keep looking for a better one
6963 ac_cv_path_GREP="$ac_path_GREP"
6964 ac_path_GREP_max=$ac_count
6966 # 10*(2^10) chars as input seems more than enough
6967 test $ac_count -gt 10 && break
6968 done
6969 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6970 esac
6972 $ac_path_GREP_found && break 3
6973 done
6974 done
6975 done
6976 IFS=$as_save_IFS
6977 if test -z "$ac_cv_path_GREP"; then
6978 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6980 else
6981 ac_cv_path_GREP=$GREP
6985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6986 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6987 GREP="$ac_cv_path_GREP"
6990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6991 printf %s "checking for egrep... " >&6; }
6992 if test ${ac_cv_path_EGREP+y}
6993 then :
6994 printf %s "(cached) " >&6
6995 else $as_nop
6996 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6997 then ac_cv_path_EGREP="$GREP -E"
6998 else
6999 if test -z "$EGREP"; then
7000 ac_path_EGREP_found=false
7001 # Loop through the user's path and test for each of PROGNAME-LIST
7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7003 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7005 IFS=$as_save_IFS
7006 case $as_dir in #(((
7007 '') as_dir=./ ;;
7008 */) ;;
7009 *) as_dir=$as_dir/ ;;
7010 esac
7011 for ac_prog in egrep
7013 for ac_exec_ext in '' $ac_executable_extensions; do
7014 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7015 as_fn_executable_p "$ac_path_EGREP" || continue
7016 # Check for GNU ac_path_EGREP and select it if it is found.
7017 # Check for GNU $ac_path_EGREP
7018 case `"$ac_path_EGREP" --version 2>&1` in
7019 *GNU*)
7020 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7022 ac_count=0
7023 printf %s 0123456789 >"conftest.in"
7024 while :
7026 cat "conftest.in" "conftest.in" >"conftest.tmp"
7027 mv "conftest.tmp" "conftest.in"
7028 cp "conftest.in" "conftest.nl"
7029 printf "%s\n" 'EGREP' >> "conftest.nl"
7030 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7031 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7032 as_fn_arith $ac_count + 1 && ac_count=$as_val
7033 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7034 # Best one so far, save it but keep looking for a better one
7035 ac_cv_path_EGREP="$ac_path_EGREP"
7036 ac_path_EGREP_max=$ac_count
7038 # 10*(2^10) chars as input seems more than enough
7039 test $ac_count -gt 10 && break
7040 done
7041 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7042 esac
7044 $ac_path_EGREP_found && break 3
7045 done
7046 done
7047 done
7048 IFS=$as_save_IFS
7049 if test -z "$ac_cv_path_EGREP"; then
7050 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7052 else
7053 ac_cv_path_EGREP=$EGREP
7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7059 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7060 EGREP="$ac_cv_path_EGREP"
7063 # Extract the first word of "ldconfig", so it can be a program name with args.
7064 set dummy ldconfig; ac_word=$2
7065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 printf %s "checking for $ac_word... " >&6; }
7067 if test ${ac_cv_path_LDCONFIG+y}
7068 then :
7069 printf %s "(cached) " >&6
7070 else $as_nop
7071 case $LDCONFIG in
7072 [\\/]* | ?:[\\/]*)
7073 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 for as_dir in /sbin /usr/sbin $PATH
7079 IFS=$as_save_IFS
7080 case $as_dir in #(((
7081 '') as_dir=./ ;;
7082 */) ;;
7083 *) as_dir=$as_dir/ ;;
7084 esac
7085 for ac_exec_ext in '' $ac_executable_extensions; do
7086 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7087 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7089 break 2
7091 done
7092 done
7093 IFS=$as_save_IFS
7095 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7097 esac
7099 LDCONFIG=$ac_cv_path_LDCONFIG
7100 if test -n "$LDCONFIG"; then
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7102 printf "%s\n" "$LDCONFIG" >&6; }
7103 else
7104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7105 printf "%s\n" "no" >&6; }
7109 for ac_prog in msgfmt
7111 # Extract the first word of "$ac_prog", so it can be a program name with args.
7112 set dummy $ac_prog; ac_word=$2
7113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 printf %s "checking for $ac_word... " >&6; }
7115 if test ${ac_cv_prog_MSGFMT+y}
7116 then :
7117 printf %s "(cached) " >&6
7118 else $as_nop
7119 if test -n "$MSGFMT"; then
7120 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7121 else
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123 for as_dir in $PATH
7125 IFS=$as_save_IFS
7126 case $as_dir in #(((
7127 '') as_dir=./ ;;
7128 */) ;;
7129 *) as_dir=$as_dir/ ;;
7130 esac
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7133 ac_cv_prog_MSGFMT="$ac_prog"
7134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7135 break 2
7137 done
7138 done
7139 IFS=$as_save_IFS
7143 MSGFMT=$ac_cv_prog_MSGFMT
7144 if test -n "$MSGFMT"; then
7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7146 printf "%s\n" "$MSGFMT" >&6; }
7147 else
7148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149 printf "%s\n" "no" >&6; }
7153 test -n "$MSGFMT" && break
7154 done
7155 test -n "$MSGFMT" || MSGFMT="false"
7157 if test ${ac_tool_prefix+y}
7158 then :
7159 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7160 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7162 printf %s "checking for $ac_word... " >&6; }
7163 if test ${ac_cv_prog_PKG_CONFIG+y}
7164 then :
7165 printf %s "(cached) " >&6
7166 else $as_nop
7167 if test -n "$PKG_CONFIG"; then
7168 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7169 else
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7171 for as_dir in $PATH
7173 IFS=$as_save_IFS
7174 case $as_dir in #(((
7175 '') as_dir=./ ;;
7176 */) ;;
7177 *) as_dir=$as_dir/ ;;
7178 esac
7179 for ac_exec_ext in '' $ac_executable_extensions; do
7180 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7181 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7183 break 2
7185 done
7186 done
7187 IFS=$as_save_IFS
7191 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7192 if test -n "$PKG_CONFIG"; then
7193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7194 printf "%s\n" "$PKG_CONFIG" >&6; }
7195 else
7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7197 printf "%s\n" "no" >&6; }
7202 if ${ac_cv_prog_PKG_CONFIG:+false} :
7203 then :
7204 if test "x$cross_compiling" = xyes
7205 then :
7207 else $as_nop
7208 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7209 # Extract the first word of "pkg-config", so it can be a program name with args.
7210 set dummy pkg-config; ac_word=$2
7211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212 printf %s "checking for $ac_word... " >&6; }
7213 if test ${ac_cv_prog_PKG_CONFIG+y}
7214 then :
7215 printf %s "(cached) " >&6
7216 else $as_nop
7217 if test -n "$PKG_CONFIG"; then
7218 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7219 else
7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 for as_dir in $PATH
7223 IFS=$as_save_IFS
7224 case $as_dir in #(((
7225 '') as_dir=./ ;;
7226 */) ;;
7227 *) as_dir=$as_dir/ ;;
7228 esac
7229 for ac_exec_ext in '' $ac_executable_extensions; do
7230 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7231 ac_cv_prog_PKG_CONFIG="pkg-config"
7232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7233 break 2
7235 done
7236 done
7237 IFS=$as_save_IFS
7241 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7242 if test -n "$PKG_CONFIG"; then
7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7244 printf "%s\n" "$PKG_CONFIG" >&6; }
7245 else
7246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247 printf "%s\n" "no" >&6; }
7252 else $as_nop
7253 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7256 if test "x$enable_maintainer_mode" != "xyes"
7257 then
7258 FONTFORGE=""
7259 RSVG=""
7260 CONVERT=""
7261 ICOTOOL=""
7262 else
7263 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7264 for ac_prog in fontforge
7266 # Extract the first word of "$ac_prog", so it can be a program name with args.
7267 set dummy $ac_prog; ac_word=$2
7268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7269 printf %s "checking for $ac_word... " >&6; }
7270 if test ${ac_cv_prog_FONTFORGE+y}
7271 then :
7272 printf %s "(cached) " >&6
7273 else $as_nop
7274 if test -n "$FONTFORGE"; then
7275 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7276 else
7277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7278 for as_dir in $PATH
7280 IFS=$as_save_IFS
7281 case $as_dir in #(((
7282 '') as_dir=./ ;;
7283 */) ;;
7284 *) as_dir=$as_dir/ ;;
7285 esac
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7288 ac_cv_prog_FONTFORGE="$ac_prog"
7289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7290 break 2
7292 done
7293 done
7294 IFS=$as_save_IFS
7298 FONTFORGE=$ac_cv_prog_FONTFORGE
7299 if test -n "$FONTFORGE"; then
7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7301 printf "%s\n" "$FONTFORGE" >&6; }
7302 else
7303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 printf "%s\n" "no" >&6; }
7308 test -n "$FONTFORGE" && break
7309 done
7310 test -n "$FONTFORGE" || FONTFORGE="false"
7312 for ac_prog in rsvg-convert rsvg
7314 # Extract the first word of "$ac_prog", so it can be a program name with args.
7315 set dummy $ac_prog; ac_word=$2
7316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7317 printf %s "checking for $ac_word... " >&6; }
7318 if test ${ac_cv_prog_RSVG+y}
7319 then :
7320 printf %s "(cached) " >&6
7321 else $as_nop
7322 if test -n "$RSVG"; then
7323 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7324 else
7325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7326 for as_dir in $PATH
7328 IFS=$as_save_IFS
7329 case $as_dir in #(((
7330 '') as_dir=./ ;;
7331 */) ;;
7332 *) as_dir=$as_dir/ ;;
7333 esac
7334 for ac_exec_ext in '' $ac_executable_extensions; do
7335 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7336 ac_cv_prog_RSVG="$ac_prog"
7337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7338 break 2
7340 done
7341 done
7342 IFS=$as_save_IFS
7346 RSVG=$ac_cv_prog_RSVG
7347 if test -n "$RSVG"; then
7348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7349 printf "%s\n" "$RSVG" >&6; }
7350 else
7351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7352 printf "%s\n" "no" >&6; }
7356 test -n "$RSVG" && break
7357 done
7358 test -n "$RSVG" || RSVG="false"
7360 for ac_prog in convert
7362 # Extract the first word of "$ac_prog", so it can be a program name with args.
7363 set dummy $ac_prog; ac_word=$2
7364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 printf %s "checking for $ac_word... " >&6; }
7366 if test ${ac_cv_prog_CONVERT+y}
7367 then :
7368 printf %s "(cached) " >&6
7369 else $as_nop
7370 if test -n "$CONVERT"; then
7371 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7372 else
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 for as_dir in $PATH
7376 IFS=$as_save_IFS
7377 case $as_dir in #(((
7378 '') as_dir=./ ;;
7379 */) ;;
7380 *) as_dir=$as_dir/ ;;
7381 esac
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7384 ac_cv_prog_CONVERT="$ac_prog"
7385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7386 break 2
7388 done
7389 done
7390 IFS=$as_save_IFS
7394 CONVERT=$ac_cv_prog_CONVERT
7395 if test -n "$CONVERT"; then
7396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7397 printf "%s\n" "$CONVERT" >&6; }
7398 else
7399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 printf "%s\n" "no" >&6; }
7404 test -n "$CONVERT" && break
7405 done
7406 test -n "$CONVERT" || CONVERT="false"
7408 for ac_prog in icotool
7410 # Extract the first word of "$ac_prog", so it can be a program name with args.
7411 set dummy $ac_prog; ac_word=$2
7412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7413 printf %s "checking for $ac_word... " >&6; }
7414 if test ${ac_cv_prog_ICOTOOL+y}
7415 then :
7416 printf %s "(cached) " >&6
7417 else $as_nop
7418 if test -n "$ICOTOOL"; then
7419 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7420 else
7421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7422 for as_dir in $PATH
7424 IFS=$as_save_IFS
7425 case $as_dir in #(((
7426 '') as_dir=./ ;;
7427 */) ;;
7428 *) as_dir=$as_dir/ ;;
7429 esac
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7432 ac_cv_prog_ICOTOOL="$ac_prog"
7433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7434 break 2
7436 done
7437 done
7438 IFS=$as_save_IFS
7442 ICOTOOL=$ac_cv_prog_ICOTOOL
7443 if test -n "$ICOTOOL"; then
7444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7445 printf "%s\n" "$ICOTOOL" >&6; }
7446 else
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 printf "%s\n" "no" >&6; }
7452 test -n "$ICOTOOL" && break
7453 done
7454 test -n "$ICOTOOL" || ICOTOOL="false"
7456 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7457 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7459 if test "$CONVERT" = false
7460 then
7461 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7462 else
7463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7464 printf %s "checking for recent enough imagemagick... " >&6; }
7465 convert_version=`convert --version | head -n1`
7466 if test "x$convert_version" != "x"
7467 then
7468 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7469 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7470 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7471 then
7472 CONVERT=false
7475 if test "$CONVERT" = false
7476 then
7477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7478 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7479 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7480 else
7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7482 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7486 if test "$ICOTOOL" = false
7487 then
7488 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7489 else
7490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7491 printf %s "checking for recent enough icotool... " >&6; }
7492 icotool_version=`icotool --version | head -n1`
7493 if test "x$icotool_version" != "x"
7494 then
7495 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7496 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7497 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7498 then
7499 ICOTOOL=false
7500 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7503 if test "$ICOTOOL" = false
7504 then
7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7506 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7507 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7508 else
7509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7510 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7514 with_gettext=yes
7515 with_gettextpo=yes
7517 enable_werror=yes
7520 test "x$with_gettext" != xno || MSGFMT=false
7521 if test "$MSGFMT" != "false"
7522 then
7523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7524 printf %s "checking whether msgfmt supports contexts... " >&6; }
7525 if test ${wine_cv_msgfmt_contexts+y}
7526 then :
7527 printf %s "(cached) " >&6
7528 else $as_nop
7529 cat >conftest.po <<EOF
7530 # comment
7531 msgctxt "ctxt"
7532 msgid "id"
7533 msgstr "str"
7535 if $MSGFMT -o /dev/null conftest.po 2>&5
7536 then
7537 wine_cv_msgfmt_contexts=yes
7538 else
7539 wine_cv_msgfmt_contexts=no
7542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7543 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7544 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7546 if test "$MSGFMT" = false
7547 then :
7548 case "x$with_gettext" in
7549 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7550 xno) ;;
7551 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7552 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7553 esac
7554 enable_po=${enable_po:-no}
7558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7559 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7560 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7561 then :
7562 printf %s "(cached) " >&6
7563 else $as_nop
7564 ac_check_lib_save_LIBS=$LIBS
7565 LIBS="-li386 $LIBS"
7566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7567 /* end confdefs.h. */
7569 /* Override any GCC internal prototype to avoid an error.
7570 Use char because int might match the return type of a GCC
7571 builtin and then its argument prototype would still apply. */
7572 char i386_set_ldt ();
7574 main (void)
7576 return i386_set_ldt ();
7578 return 0;
7580 _ACEOF
7581 if ac_fn_c_try_link "$LINENO"
7582 then :
7583 ac_cv_lib_i386_i386_set_ldt=yes
7584 else $as_nop
7585 ac_cv_lib_i386_i386_set_ldt=no
7587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7588 conftest$ac_exeext conftest.$ac_ext
7589 LIBS=$ac_check_lib_save_LIBS
7591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7592 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7593 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7594 then :
7595 I386_LIBS="-li386"
7600 OPENGL_LIBS=""
7604 # Check whether --enable-largefile was given.
7605 if test ${enable_largefile+y}
7606 then :
7607 enableval=$enable_largefile;
7610 if test "$enable_largefile" != no; then
7612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7613 printf %s "checking for special C compiler options needed for large files... " >&6; }
7614 if test ${ac_cv_sys_largefile_CC+y}
7615 then :
7616 printf %s "(cached) " >&6
7617 else $as_nop
7618 ac_cv_sys_largefile_CC=no
7619 if test "$GCC" != yes; then
7620 ac_save_CC=$CC
7621 while :; do
7622 # IRIX 6.2 and later do not support large files by default,
7623 # so use the C compiler's -n32 option if that helps.
7624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7626 #include <sys/types.h>
7627 /* Check that off_t can represent 2**63 - 1 correctly.
7628 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7629 since some C++ compilers masquerading as C compilers
7630 incorrectly reject 9223372036854775807. */
7631 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7632 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7633 && LARGE_OFF_T % 2147483647 == 1)
7634 ? 1 : -1];
7636 main (void)
7640 return 0;
7642 _ACEOF
7643 if ac_fn_c_try_compile "$LINENO"
7644 then :
7645 break
7647 rm -f core conftest.err conftest.$ac_objext conftest.beam
7648 CC="$CC -n32"
7649 if ac_fn_c_try_compile "$LINENO"
7650 then :
7651 ac_cv_sys_largefile_CC=' -n32'; break
7653 rm -f core conftest.err conftest.$ac_objext conftest.beam
7654 break
7655 done
7656 CC=$ac_save_CC
7657 rm -f conftest.$ac_ext
7660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7661 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7662 if test "$ac_cv_sys_largefile_CC" != no; then
7663 CC=$CC$ac_cv_sys_largefile_CC
7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7667 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7668 if test ${ac_cv_sys_file_offset_bits+y}
7669 then :
7670 printf %s "(cached) " >&6
7671 else $as_nop
7672 while :; do
7673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7674 /* end confdefs.h. */
7675 #include <sys/types.h>
7676 /* Check that off_t can represent 2**63 - 1 correctly.
7677 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7678 since some C++ compilers masquerading as C compilers
7679 incorrectly reject 9223372036854775807. */
7680 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7681 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7682 && LARGE_OFF_T % 2147483647 == 1)
7683 ? 1 : -1];
7685 main (void)
7689 return 0;
7691 _ACEOF
7692 if ac_fn_c_try_compile "$LINENO"
7693 then :
7694 ac_cv_sys_file_offset_bits=no; break
7696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7699 #define _FILE_OFFSET_BITS 64
7700 #include <sys/types.h>
7701 /* Check that off_t can represent 2**63 - 1 correctly.
7702 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7703 since some C++ compilers masquerading as C compilers
7704 incorrectly reject 9223372036854775807. */
7705 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7706 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7707 && LARGE_OFF_T % 2147483647 == 1)
7708 ? 1 : -1];
7710 main (void)
7714 return 0;
7716 _ACEOF
7717 if ac_fn_c_try_compile "$LINENO"
7718 then :
7719 ac_cv_sys_file_offset_bits=64; break
7721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7722 ac_cv_sys_file_offset_bits=unknown
7723 break
7724 done
7726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7727 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7728 case $ac_cv_sys_file_offset_bits in #(
7729 no | unknown) ;;
7731 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7733 esac
7734 rm -rf conftest*
7735 if test $ac_cv_sys_file_offset_bits = unknown; then
7736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7737 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7738 if test ${ac_cv_sys_large_files+y}
7739 then :
7740 printf %s "(cached) " >&6
7741 else $as_nop
7742 while :; do
7743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7744 /* end confdefs.h. */
7745 #include <sys/types.h>
7746 /* Check that off_t can represent 2**63 - 1 correctly.
7747 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7748 since some C++ compilers masquerading as C compilers
7749 incorrectly reject 9223372036854775807. */
7750 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7751 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7752 && LARGE_OFF_T % 2147483647 == 1)
7753 ? 1 : -1];
7755 main (void)
7759 return 0;
7761 _ACEOF
7762 if ac_fn_c_try_compile "$LINENO"
7763 then :
7764 ac_cv_sys_large_files=no; break
7766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7768 /* end confdefs.h. */
7769 #define _LARGE_FILES 1
7770 #include <sys/types.h>
7771 /* Check that off_t can represent 2**63 - 1 correctly.
7772 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7773 since some C++ compilers masquerading as C compilers
7774 incorrectly reject 9223372036854775807. */
7775 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7776 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7777 && LARGE_OFF_T % 2147483647 == 1)
7778 ? 1 : -1];
7780 main (void)
7784 return 0;
7786 _ACEOF
7787 if ac_fn_c_try_compile "$LINENO"
7788 then :
7789 ac_cv_sys_large_files=1; break
7791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7792 ac_cv_sys_large_files=unknown
7793 break
7794 done
7796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7797 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7798 case $ac_cv_sys_large_files in #(
7799 no | unknown) ;;
7801 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7803 esac
7804 rm -rf conftest*
7809 ac_header= ac_cache=
7810 for ac_item in $ac_header_c_list
7812 if test $ac_cache; then
7813 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7814 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7815 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7817 ac_header= ac_cache=
7818 elif test $ac_header; then
7819 ac_cache=$ac_item
7820 else
7821 ac_header=$ac_item
7823 done
7832 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7833 then :
7835 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7838 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7839 if test "x$ac_cv_header_CL_cl_h" = xyes
7840 then :
7841 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7844 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7845 if test "x$ac_cv_header_EGL_egl_h" = xyes
7846 then :
7847 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7850 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7852 then :
7853 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_arpa_inet_h" = xyes
7858 then :
7859 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7864 then :
7865 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_asm_types_h" = xyes
7870 then :
7871 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_asm_user_h" = xyes
7876 then :
7877 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_elf_h" = xyes
7882 then :
7883 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_float_h" = xyes
7888 then :
7889 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_gettext_po_h" = xyes
7894 then :
7895 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_libproc_h" = xyes
7900 then :
7901 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_link_h" = xyes
7906 then :
7907 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7912 then :
7913 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_linux_filter_h" = xyes
7918 then :
7919 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7924 then :
7925 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7930 then :
7931 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_linux_input_h" = xyes
7936 then :
7937 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7942 then :
7943 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_linux_major_h" = xyes
7948 then :
7949 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_linux_param_h" = xyes
7954 then :
7955 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_linux_serial_h" = xyes
7960 then :
7961 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_linux_types_h" = xyes
7966 then :
7967 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7972 then :
7973 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_lwp_h" = xyes
7978 then :
7979 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7984 then :
7985 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_mach_mach_h" = xyes
7990 then :
7991 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_machine_cpu_h" = xyes
7996 then :
7997 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8002 then :
8003 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_mntent_h" = xyes
8008 then :
8009 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_netdb_h" = xyes
8014 then :
8015 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_netinet_in_h" = xyes
8020 then :
8021 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8026 then :
8027 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8032 then :
8033 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8038 then :
8039 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8044 then :
8045 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_port_h" = xyes
8050 then :
8051 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_pthread_h" = xyes
8056 then :
8057 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_pwd_h" = xyes
8062 then :
8063 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_sched_h" = xyes
8068 then :
8069 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8074 then :
8075 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8080 then :
8081 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_scsi_sg_h" = xyes
8086 then :
8087 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_stdint_h" = xyes
8092 then :
8093 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_sys_attr_h" = xyes
8098 then :
8099 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_sys_auxv_h" = xyes
8104 then :
8105 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_sys_cdio_h" = xyes
8110 then :
8111 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_sys_epoll_h" = xyes
8116 then :
8117 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_sys_event_h" = xyes
8122 then :
8123 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sys_extattr_h" = xyes
8128 then :
8129 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sys_filio_h" = xyes
8134 then :
8135 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sys_ipc_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_link_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_modem_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_mtio_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_param_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_prctl_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_queue_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_random_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_resource_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_shm_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_signal_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_sockio_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_strtio_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_syscall_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_times_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_uio_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_user_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_utsname_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_vnode_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_xattr_h" = xyes
8284 then :
8285 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_syscall_h" = xyes
8290 then :
8291 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_utime_h" = xyes
8296 then :
8297 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8302 then :
8303 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8308 then :
8309 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8315 then :
8317 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8321 if test $ac_cv_header_sys_mkdev_h = no; then
8322 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8324 then :
8326 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8332 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8333 if test ${ac_cv_header_stat_broken+y}
8334 then :
8335 printf %s "(cached) " >&6
8336 else $as_nop
8337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8338 /* end confdefs.h. */
8339 #include <sys/types.h>
8340 #include <sys/stat.h>
8342 #if defined S_ISBLK && defined S_IFDIR
8343 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8344 #endif
8346 #if defined S_ISBLK && defined S_IFCHR
8347 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8348 #endif
8350 #if defined S_ISLNK && defined S_IFREG
8351 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8352 #endif
8354 #if defined S_ISSOCK && defined S_IFREG
8355 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8356 #endif
8358 _ACEOF
8359 if ac_fn_c_try_compile "$LINENO"
8360 then :
8361 ac_cv_header_stat_broken=no
8362 else $as_nop
8363 ac_cv_header_stat_broken=yes
8365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8368 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8369 if test $ac_cv_header_stat_broken = yes; then
8371 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8377 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8378 #ifdef HAVE_SYS_PARAM_H
8379 # include <sys/param.h>
8380 #endif
8382 if test "x$ac_cv_header_sys_conf_h" = xyes
8383 then :
8384 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8387 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8388 #ifdef HAVE_SYS_PARAM_H
8389 # include <sys/param.h>
8390 #endif
8392 if test "x$ac_cv_header_sys_mount_h" = xyes
8393 then :
8394 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8397 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8398 #ifdef HAVE_SYS_PARAM_H
8399 # include <sys/param.h>
8400 #endif
8402 if test "x$ac_cv_header_sys_statfs_h" = xyes
8403 then :
8404 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8407 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8408 #ifdef HAVE_SYS_PARAM_H
8409 # include <sys/param.h>
8410 #endif
8412 if test "x$ac_cv_header_sys_user_h" = xyes
8413 then :
8414 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8417 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8418 #ifdef HAVE_SYS_PARAM_H
8419 # include <sys/param.h>
8420 #endif
8422 if test "x$ac_cv_header_sys_vfs_h" = xyes
8423 then :
8424 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8429 saved_sysctl_h_CFLAGS=$CFLAGS
8430 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8431 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8432 #ifdef HAVE_SYS_PARAM_H
8433 # include <sys/param.h>
8434 #endif
8436 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8437 then :
8438 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8442 CFLAGS=$saved_sysctl_h_CFLAGS
8444 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8445 #include <sys/socket.h>
8446 #ifdef HAVE_SYS_SOCKETVAR_H
8447 # include <sys/socketvar.h>
8448 #endif
8449 #ifdef HAVE_NET_ROUTE_H
8450 # include <net/route.h>
8451 #endif
8452 #ifdef HAVE_NETINET_IN_H
8453 # include <netinet/in.h>
8454 #endif
8455 #ifdef HAVE_NETINET_IN_SYSTM_H
8456 # include <netinet/in_systm.h>
8457 #endif
8458 #ifdef HAVE_NET_IF_H
8459 # include <net/if.h>
8460 #endif
8461 #ifdef HAVE_NETINET_IP_H
8462 # include <netinet/ip.h>
8463 #endif
8465 if test "x$ac_cv_header_netinet_ip_h" = xyes
8466 then :
8467 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8470 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8471 #include <sys/socket.h>
8472 #ifdef HAVE_SYS_SOCKETVAR_H
8473 # include <sys/socketvar.h>
8474 #endif
8475 #ifdef HAVE_NET_ROUTE_H
8476 # include <net/route.h>
8477 #endif
8478 #ifdef HAVE_NETINET_IN_H
8479 # include <netinet/in.h>
8480 #endif
8481 #ifdef HAVE_NETINET_IN_SYSTM_H
8482 # include <netinet/in_systm.h>
8483 #endif
8484 #ifdef HAVE_NET_IF_H
8485 # include <net/if.h>
8486 #endif
8487 #ifdef HAVE_NETINET_IP_H
8488 # include <netinet/ip.h>
8489 #endif
8491 if test "x$ac_cv_header_net_if_h" = xyes
8492 then :
8493 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8496 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8497 #include <sys/socket.h>
8498 #ifdef HAVE_SYS_SOCKETVAR_H
8499 # include <sys/socketvar.h>
8500 #endif
8501 #ifdef HAVE_NET_ROUTE_H
8502 # include <net/route.h>
8503 #endif
8504 #ifdef HAVE_NETINET_IN_H
8505 # include <netinet/in.h>
8506 #endif
8507 #ifdef HAVE_NETINET_IN_SYSTM_H
8508 # include <netinet/in_systm.h>
8509 #endif
8510 #ifdef HAVE_NET_IF_H
8511 # include <net/if.h>
8512 #endif
8513 #ifdef HAVE_NETINET_IP_H
8514 # include <netinet/ip.h>
8515 #endif
8517 if test "x$ac_cv_header_net_if_arp_h" = xyes
8518 then :
8519 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8522 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8523 #include <sys/socket.h>
8524 #ifdef HAVE_SYS_SOCKETVAR_H
8525 # include <sys/socketvar.h>
8526 #endif
8527 #ifdef HAVE_NET_ROUTE_H
8528 # include <net/route.h>
8529 #endif
8530 #ifdef HAVE_NETINET_IN_H
8531 # include <netinet/in.h>
8532 #endif
8533 #ifdef HAVE_NETINET_IN_SYSTM_H
8534 # include <netinet/in_systm.h>
8535 #endif
8536 #ifdef HAVE_NET_IF_H
8537 # include <net/if.h>
8538 #endif
8539 #ifdef HAVE_NETINET_IP_H
8540 # include <netinet/ip.h>
8541 #endif
8543 if test "x$ac_cv_header_net_if_dl_h" = xyes
8544 then :
8545 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8548 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8549 #include <sys/socket.h>
8550 #ifdef HAVE_SYS_SOCKETVAR_H
8551 # include <sys/socketvar.h>
8552 #endif
8553 #ifdef HAVE_NET_ROUTE_H
8554 # include <net/route.h>
8555 #endif
8556 #ifdef HAVE_NETINET_IN_H
8557 # include <netinet/in.h>
8558 #endif
8559 #ifdef HAVE_NETINET_IN_SYSTM_H
8560 # include <netinet/in_systm.h>
8561 #endif
8562 #ifdef HAVE_NET_IF_H
8563 # include <net/if.h>
8564 #endif
8565 #ifdef HAVE_NETINET_IP_H
8566 # include <netinet/ip.h>
8567 #endif
8569 if test "x$ac_cv_header_net_if_types_h" = xyes
8570 then :
8571 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8574 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8575 #include <sys/socket.h>
8576 #ifdef HAVE_SYS_SOCKETVAR_H
8577 # include <sys/socketvar.h>
8578 #endif
8579 #ifdef HAVE_NET_ROUTE_H
8580 # include <net/route.h>
8581 #endif
8582 #ifdef HAVE_NETINET_IN_H
8583 # include <netinet/in.h>
8584 #endif
8585 #ifdef HAVE_NETINET_IN_SYSTM_H
8586 # include <netinet/in_systm.h>
8587 #endif
8588 #ifdef HAVE_NET_IF_H
8589 # include <net/if.h>
8590 #endif
8591 #ifdef HAVE_NETINET_IP_H
8592 # include <netinet/ip.h>
8593 #endif
8595 if test "x$ac_cv_header_net_route_h" = xyes
8596 then :
8597 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8600 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8601 #include <sys/socket.h>
8602 #ifdef HAVE_SYS_SOCKETVAR_H
8603 # include <sys/socketvar.h>
8604 #endif
8605 #ifdef HAVE_NET_ROUTE_H
8606 # include <net/route.h>
8607 #endif
8608 #ifdef HAVE_NETINET_IN_H
8609 # include <netinet/in.h>
8610 #endif
8611 #ifdef HAVE_NETINET_IN_SYSTM_H
8612 # include <netinet/in_systm.h>
8613 #endif
8614 #ifdef HAVE_NET_IF_H
8615 # include <net/if.h>
8616 #endif
8617 #ifdef HAVE_NETINET_IP_H
8618 # include <netinet/ip.h>
8619 #endif
8621 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8622 then :
8623 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8626 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8627 #include <sys/socket.h>
8628 #ifdef HAVE_SYS_SOCKETVAR_H
8629 # include <sys/socketvar.h>
8630 #endif
8631 #ifdef HAVE_NET_ROUTE_H
8632 # include <net/route.h>
8633 #endif
8634 #ifdef HAVE_NETINET_IN_H
8635 # include <netinet/in.h>
8636 #endif
8637 #ifdef HAVE_NETINET_IN_SYSTM_H
8638 # include <netinet/in_systm.h>
8639 #endif
8640 #ifdef HAVE_NET_IF_H
8641 # include <net/if.h>
8642 #endif
8643 #ifdef HAVE_NETINET_IP_H
8644 # include <netinet/ip.h>
8645 #endif
8647 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8648 then :
8649 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8652 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8653 #include <sys/socket.h>
8654 #ifdef HAVE_SYS_SOCKETVAR_H
8655 # include <sys/socketvar.h>
8656 #endif
8657 #ifdef HAVE_NET_ROUTE_H
8658 # include <net/route.h>
8659 #endif
8660 #ifdef HAVE_NETINET_IN_H
8661 # include <netinet/in.h>
8662 #endif
8663 #ifdef HAVE_NETINET_IN_SYSTM_H
8664 # include <netinet/in_systm.h>
8665 #endif
8666 #ifdef HAVE_NET_IF_H
8667 # include <net/if.h>
8668 #endif
8669 #ifdef HAVE_NETINET_IP_H
8670 # include <netinet/ip.h>
8671 #endif
8673 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8674 then :
8675 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8678 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8679 #include <sys/socket.h>
8680 #ifdef HAVE_SYS_SOCKETVAR_H
8681 # include <sys/socketvar.h>
8682 #endif
8683 #ifdef HAVE_NET_ROUTE_H
8684 # include <net/route.h>
8685 #endif
8686 #ifdef HAVE_NETINET_IN_H
8687 # include <netinet/in.h>
8688 #endif
8689 #ifdef HAVE_NETINET_IN_SYSTM_H
8690 # include <netinet/in_systm.h>
8691 #endif
8692 #ifdef HAVE_NET_IF_H
8693 # include <net/if.h>
8694 #endif
8695 #ifdef HAVE_NETINET_IP_H
8696 # include <netinet/ip.h>
8697 #endif
8699 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8700 then :
8701 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8704 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8705 #include <sys/socket.h>
8706 #ifdef HAVE_SYS_SOCKETVAR_H
8707 # include <sys/socketvar.h>
8708 #endif
8709 #ifdef HAVE_NET_ROUTE_H
8710 # include <net/route.h>
8711 #endif
8712 #ifdef HAVE_NETINET_IN_H
8713 # include <netinet/in.h>
8714 #endif
8715 #ifdef HAVE_NETINET_IN_SYSTM_H
8716 # include <netinet/in_systm.h>
8717 #endif
8718 #ifdef HAVE_NET_IF_H
8719 # include <net/if.h>
8720 #endif
8721 #ifdef HAVE_NETINET_IP_H
8722 # include <netinet/ip.h>
8723 #endif
8725 if test "x$ac_cv_header_netinet_udp_h" = xyes
8726 then :
8727 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8730 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8731 #include <sys/socket.h>
8732 #ifdef HAVE_SYS_SOCKETVAR_H
8733 # include <sys/socketvar.h>
8734 #endif
8735 #ifdef HAVE_NET_ROUTE_H
8736 # include <net/route.h>
8737 #endif
8738 #ifdef HAVE_NETINET_IN_H
8739 # include <netinet/in.h>
8740 #endif
8741 #ifdef HAVE_NETINET_IN_SYSTM_H
8742 # include <netinet/in_systm.h>
8743 #endif
8744 #ifdef HAVE_NET_IF_H
8745 # include <net/if.h>
8746 #endif
8747 #ifdef HAVE_NETINET_IP_H
8748 # include <netinet/ip.h>
8749 #endif
8751 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8752 then :
8753 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8756 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8757 #include <sys/socket.h>
8758 #ifdef HAVE_SYS_SOCKETVAR_H
8759 # include <sys/socketvar.h>
8760 #endif
8761 #ifdef HAVE_NET_ROUTE_H
8762 # include <net/route.h>
8763 #endif
8764 #ifdef HAVE_NETINET_IN_H
8765 # include <netinet/in.h>
8766 #endif
8767 #ifdef HAVE_NETINET_IN_SYSTM_H
8768 # include <netinet/in_systm.h>
8769 #endif
8770 #ifdef HAVE_NET_IF_H
8771 # include <net/if.h>
8772 #endif
8773 #ifdef HAVE_NETINET_IP_H
8774 # include <netinet/ip.h>
8775 #endif
8777 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8778 then :
8779 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8782 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8783 #include <sys/socket.h>
8784 #ifdef HAVE_SYS_SOCKETVAR_H
8785 # include <sys/socketvar.h>
8786 #endif
8787 #ifdef HAVE_NET_ROUTE_H
8788 # include <net/route.h>
8789 #endif
8790 #ifdef HAVE_NETINET_IN_H
8791 # include <netinet/in.h>
8792 #endif
8793 #ifdef HAVE_NETINET_IN_SYSTM_H
8794 # include <netinet/in_systm.h>
8795 #endif
8796 #ifdef HAVE_NET_IF_H
8797 # include <net/if.h>
8798 #endif
8799 #ifdef HAVE_NETINET_IP_H
8800 # include <netinet/ip.h>
8801 #endif
8803 if test "x$ac_cv_header_sys_un_h" = xyes
8804 then :
8805 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8810 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8811 #include <sys/socket.h>
8812 #ifdef HAVE_SYS_SOCKETVAR_H
8813 # include <sys/socketvar.h>
8814 #endif
8815 #ifdef HAVE_NETINET_IN_H
8816 # include <netinet/in.h>
8817 #endif
8818 #ifdef HAVE_NETINET_IN_SYSTM_H
8819 # include <netinet/in_systm.h>
8820 #endif
8821 #ifdef HAVE_NETINET_IP_H
8822 # include <netinet/ip.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IP_VAR_H
8825 # include <netinet/ip_var.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IP_ICMP_H
8828 # include <netinet/ip_icmp.h>
8829 #endif
8830 #ifdef HAVE_NETINET_UDP_H
8831 # include <netinet/udp.h>
8832 #endif
8833 #ifdef HAVE_NETINET_TCP_H
8834 # include <netinet/tcp.h>
8835 #endif
8837 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8838 then :
8839 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8842 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8843 #include <sys/socket.h>
8844 #ifdef HAVE_SYS_SOCKETVAR_H
8845 # include <sys/socketvar.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IN_H
8848 # include <netinet/in.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IN_SYSTM_H
8851 # include <netinet/in_systm.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IP_H
8854 # include <netinet/ip.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IP_VAR_H
8857 # include <netinet/ip_var.h>
8858 #endif
8859 #ifdef HAVE_NETINET_IP_ICMP_H
8860 # include <netinet/ip_icmp.h>
8861 #endif
8862 #ifdef HAVE_NETINET_UDP_H
8863 # include <netinet/udp.h>
8864 #endif
8865 #ifdef HAVE_NETINET_TCP_H
8866 # include <netinet/tcp.h>
8867 #endif
8869 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8870 then :
8871 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8874 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8875 #include <sys/socket.h>
8876 #ifdef HAVE_SYS_SOCKETVAR_H
8877 # include <sys/socketvar.h>
8878 #endif
8879 #ifdef HAVE_NETINET_IN_H
8880 # include <netinet/in.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IN_SYSTM_H
8883 # include <netinet/in_systm.h>
8884 #endif
8885 #ifdef HAVE_NETINET_IP_H
8886 # include <netinet/ip.h>
8887 #endif
8888 #ifdef HAVE_NETINET_IP_VAR_H
8889 # include <netinet/ip_var.h>
8890 #endif
8891 #ifdef HAVE_NETINET_IP_ICMP_H
8892 # include <netinet/ip_icmp.h>
8893 #endif
8894 #ifdef HAVE_NETINET_UDP_H
8895 # include <netinet/udp.h>
8896 #endif
8897 #ifdef HAVE_NETINET_TCP_H
8898 # include <netinet/tcp.h>
8899 #endif
8901 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8902 then :
8903 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8906 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8907 #include <sys/socket.h>
8908 #ifdef HAVE_SYS_SOCKETVAR_H
8909 # include <sys/socketvar.h>
8910 #endif
8911 #ifdef HAVE_NETINET_IN_H
8912 # include <netinet/in.h>
8913 #endif
8914 #ifdef HAVE_NETINET_IN_SYSTM_H
8915 # include <netinet/in_systm.h>
8916 #endif
8917 #ifdef HAVE_NETINET_IP_H
8918 # include <netinet/ip.h>
8919 #endif
8920 #ifdef HAVE_NETINET_IP_VAR_H
8921 # include <netinet/ip_var.h>
8922 #endif
8923 #ifdef HAVE_NETINET_IP_ICMP_H
8924 # include <netinet/ip_icmp.h>
8925 #endif
8926 #ifdef HAVE_NETINET_UDP_H
8927 # include <netinet/udp.h>
8928 #endif
8929 #ifdef HAVE_NETINET_TCP_H
8930 # include <netinet/tcp.h>
8931 #endif
8933 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8934 then :
8935 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8940 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8941 #include <sys/socket.h>
8942 #ifdef HAVE_ASM_TYPES_H
8943 # include <asm/types.h>
8944 #endif
8945 #ifdef HAVE_LINUX_TYPES_H
8946 # include <linux/types.h>
8947 #endif
8949 if test "x$ac_cv_header_linux_ipx_h" = xyes
8950 then :
8951 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8954 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8955 #include <sys/socket.h>
8956 #ifdef HAVE_ASM_TYPES_H
8957 # include <asm/types.h>
8958 #endif
8959 #ifdef HAVE_LINUX_TYPES_H
8960 # include <linux/types.h>
8961 #endif
8963 if test "x$ac_cv_header_linux_irda_h" = xyes
8964 then :
8965 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8968 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8969 #include <sys/socket.h>
8970 #ifdef HAVE_ASM_TYPES_H
8971 # include <asm/types.h>
8972 #endif
8973 #ifdef HAVE_LINUX_TYPES_H
8974 # include <linux/types.h>
8975 #endif
8977 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8978 then :
8979 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8984 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8985 #include <sys/socket.h>
8986 #ifdef HAVE_NETINET_IN_H
8987 # include <netinet/in.h>
8988 #endif
8989 #ifdef HAVE_ARPA_NAMESER_H
8990 # include <arpa/nameser.h>
8991 #endif
8993 if test "x$ac_cv_header_resolv_h" = xyes
8994 then :
8995 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9000 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9002 if test "x$ac_cv_header_ifaddrs_h" = xyes
9003 then :
9004 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9009 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9011 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9012 then :
9013 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9018 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9019 #ifdef HAVE_SYS_UCONTEXT_H
9020 #include <sys/ucontext.h>
9021 #endif
9023 if test "x$ac_cv_header_sys_thr_h" = xyes
9024 then :
9025 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9030 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9031 #include <pthread.h>
9032 #endif
9034 if test "x$ac_cv_header_pthread_np_h" = xyes
9035 then :
9036 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9041 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9042 #include <sys/types.h>
9043 #ifdef HAVE_ASM_TYPES_H
9044 #include <asm/types.h>
9045 #endif
9047 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9048 then :
9049 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9054 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9055 #include <sys/param.h>
9056 #endif
9057 #include <sys/socket.h>
9058 #ifdef HAVE_SYS_QUEUE_H
9059 #include <sys/queue.h>
9060 #endif
9062 if test "x$ac_cv_header_libprocstat_h" = xyes
9063 then :
9064 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9069 if test "x$ac_cv_header_sys_xattr_h" = xyes
9070 then
9071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9072 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9073 if test ${wine_cv_xattr_extra_args+y}
9074 then :
9075 printf %s "(cached) " >&6
9076 else $as_nop
9077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9078 /* end confdefs.h. */
9079 #include <sys/xattr.h>
9081 main (void)
9083 getxattr("", "", "", 0, 0, 0);
9085 return 0;
9087 _ACEOF
9088 if ac_fn_c_try_compile "$LINENO"
9089 then :
9090 wine_cv_xattr_extra_args=yes
9091 else $as_nop
9092 wine_cv_xattr_extra_args=no
9094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9097 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9098 test $wine_cv_xattr_extra_args != yes ||
9099 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9104 DLLFLAGS=""
9106 LDDLLFLAGS=""
9108 LDEXECFLAGS=""
9110 EXTRACFLAGS=""
9112 UNIXDLLFLAGS="-fPIC"
9114 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9116 TOP_INSTALL_LIB=""
9118 TOP_INSTALL_DEV=""
9120 WINELOADER_LDFLAGS=""
9122 WINEPRELOADER_LDFLAGS=""
9124 DLLEXT=".so"
9126 LIBEXT="so"
9127 # Extract the first word of "ldd", so it can be a program name with args.
9128 set dummy ldd; ac_word=$2
9129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9130 printf %s "checking for $ac_word... " >&6; }
9131 if test ${ac_cv_path_LDD+y}
9132 then :
9133 printf %s "(cached) " >&6
9134 else $as_nop
9135 case $LDD in
9136 [\\/]* | ?:[\\/]*)
9137 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9141 as_dummy="/sbin:/usr/sbin:$PATH"
9142 for as_dir in $as_dummy
9144 IFS=$as_save_IFS
9145 case $as_dir in #(((
9146 '') as_dir=./ ;;
9147 */) ;;
9148 *) as_dir=$as_dir/ ;;
9149 esac
9150 for ac_exec_ext in '' $ac_executable_extensions; do
9151 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9152 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9154 break 2
9156 done
9157 done
9158 IFS=$as_save_IFS
9160 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9162 esac
9164 LDD=$ac_cv_path_LDD
9165 if test -n "$LDD"; then
9166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9167 printf "%s\n" "$LDD" >&6; }
9168 else
9169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9170 printf "%s\n" "no" >&6; }
9174 if test -n "$ac_tool_prefix"; then
9175 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9176 set dummy ${ac_tool_prefix}otool; ac_word=$2
9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9178 printf %s "checking for $ac_word... " >&6; }
9179 if test ${ac_cv_prog_OTOOL+y}
9180 then :
9181 printf %s "(cached) " >&6
9182 else $as_nop
9183 if test -n "$OTOOL"; then
9184 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9185 else
9186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9187 for as_dir in $PATH
9189 IFS=$as_save_IFS
9190 case $as_dir in #(((
9191 '') as_dir=./ ;;
9192 */) ;;
9193 *) as_dir=$as_dir/ ;;
9194 esac
9195 for ac_exec_ext in '' $ac_executable_extensions; do
9196 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9197 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9199 break 2
9201 done
9202 done
9203 IFS=$as_save_IFS
9207 OTOOL=$ac_cv_prog_OTOOL
9208 if test -n "$OTOOL"; then
9209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9210 printf "%s\n" "$OTOOL" >&6; }
9211 else
9212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9213 printf "%s\n" "no" >&6; }
9218 if test -z "$ac_cv_prog_OTOOL"; then
9219 ac_ct_OTOOL=$OTOOL
9220 # Extract the first word of "otool", so it can be a program name with args.
9221 set dummy otool; ac_word=$2
9222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9223 printf %s "checking for $ac_word... " >&6; }
9224 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9225 then :
9226 printf %s "(cached) " >&6
9227 else $as_nop
9228 if test -n "$ac_ct_OTOOL"; then
9229 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9230 else
9231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9232 for as_dir in $PATH
9234 IFS=$as_save_IFS
9235 case $as_dir in #(((
9236 '') as_dir=./ ;;
9237 */) ;;
9238 *) as_dir=$as_dir/ ;;
9239 esac
9240 for ac_exec_ext in '' $ac_executable_extensions; do
9241 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9242 ac_cv_prog_ac_ct_OTOOL="otool"
9243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9244 break 2
9246 done
9247 done
9248 IFS=$as_save_IFS
9252 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9253 if test -n "$ac_ct_OTOOL"; then
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9255 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9256 else
9257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9258 printf "%s\n" "no" >&6; }
9261 if test "x$ac_ct_OTOOL" = x; then
9262 OTOOL="otool"
9263 else
9264 case $cross_compiling:$ac_tool_warned in
9265 yes:)
9266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9267 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9268 ac_tool_warned=yes ;;
9269 esac
9270 OTOOL=$ac_ct_OTOOL
9272 else
9273 OTOOL="$ac_cv_prog_OTOOL"
9276 if test -n "$ac_tool_prefix"; then
9277 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9278 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9280 printf %s "checking for $ac_word... " >&6; }
9281 if test ${ac_cv_prog_READELF+y}
9282 then :
9283 printf %s "(cached) " >&6
9284 else $as_nop
9285 if test -n "$READELF"; then
9286 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9287 else
9288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9289 for as_dir in $PATH
9291 IFS=$as_save_IFS
9292 case $as_dir in #(((
9293 '') as_dir=./ ;;
9294 */) ;;
9295 *) as_dir=$as_dir/ ;;
9296 esac
9297 for ac_exec_ext in '' $ac_executable_extensions; do
9298 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9299 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9301 break 2
9303 done
9304 done
9305 IFS=$as_save_IFS
9309 READELF=$ac_cv_prog_READELF
9310 if test -n "$READELF"; then
9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9312 printf "%s\n" "$READELF" >&6; }
9313 else
9314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9315 printf "%s\n" "no" >&6; }
9320 if test -z "$ac_cv_prog_READELF"; then
9321 ac_ct_READELF=$READELF
9322 # Extract the first word of "readelf", so it can be a program name with args.
9323 set dummy readelf; ac_word=$2
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9325 printf %s "checking for $ac_word... " >&6; }
9326 if test ${ac_cv_prog_ac_ct_READELF+y}
9327 then :
9328 printf %s "(cached) " >&6
9329 else $as_nop
9330 if test -n "$ac_ct_READELF"; then
9331 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9332 else
9333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9334 for as_dir in $PATH
9336 IFS=$as_save_IFS
9337 case $as_dir in #(((
9338 '') as_dir=./ ;;
9339 */) ;;
9340 *) as_dir=$as_dir/ ;;
9341 esac
9342 for ac_exec_ext in '' $ac_executable_extensions; do
9343 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9344 ac_cv_prog_ac_ct_READELF="readelf"
9345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9346 break 2
9348 done
9349 done
9350 IFS=$as_save_IFS
9354 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9355 if test -n "$ac_ct_READELF"; then
9356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9357 printf "%s\n" "$ac_ct_READELF" >&6; }
9358 else
9359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9360 printf "%s\n" "no" >&6; }
9363 if test "x$ac_ct_READELF" = x; then
9364 READELF="true"
9365 else
9366 case $cross_compiling:$ac_tool_warned in
9367 yes:)
9368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9369 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9370 ac_tool_warned=yes ;;
9371 esac
9372 READELF=$ac_ct_READELF
9374 else
9375 READELF="$ac_cv_prog_READELF"
9378 wine_rules="all:"
9379 SUBDIRS=""
9381 DISABLED_SUBDIRS=""
9383 CONFIGURE_TARGETS=""
9386 wine_fn_config_makefile ()
9388 as_fn_append SUBDIRS " \\$as_nl $1"
9389 eval enable=\$$2
9390 case "$enable" in
9391 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9392 *aarch64*|*arm*|*i386*|*x86_64*)
9393 if test -n "$PE_ARCHS"
9394 then
9395 for i in $PE_ARCHS
9397 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9398 done
9399 else
9400 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9401 fi;;
9402 esac
9405 wine_fn_config_symlink ()
9407 ac_links=$@
9408 as_fn_append wine_rules "
9409 $ac_links:
9410 @./config.status \$@"
9411 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9414 case $host_os in
9415 cygwin*|mingw32*)
9416 LIBEXT="dll"
9417 DLLEXT=""
9418 EXTRACFLAGS="-D__WINE_PE_BUILD"
9419 case $host_cpu in
9420 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9421 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9422 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9423 then :
9424 printf %s "(cached) " >&6
9425 else $as_nop
9426 ac_wine_try_cflags_saved=$CFLAGS
9427 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9429 /* end confdefs.h. */
9430 int main(int argc, char **argv) { return 0; }
9431 _ACEOF
9432 if ac_fn_c_try_link "$LINENO"
9433 then :
9434 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9435 else $as_nop
9436 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9439 conftest$ac_exeext conftest.$ac_ext
9440 CFLAGS=$ac_wine_try_cflags_saved
9442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9443 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9444 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9445 then :
9446 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9447 fi ;;
9448 esac
9449 enable_loader=${enable_loader:-no}
9450 enable_server=${enable_server:-no}
9451 with_x=${with_x:-no}
9452 with_pthread=${with_pthread:-no}
9455 darwin*|macosx*)
9456 LIBEXT="dylib"
9457 DLLFLAGS="$DLLFLAGS -fPIC"
9458 LDDLLFLAGS="-fPIC"
9459 enable_winemac_drv=${enable_winemac_drv:-yes}
9460 CARBON_LIBS="-framework Carbon"
9462 COREFOUNDATION_LIBS="-framework CoreFoundation"
9464 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9466 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9468 METAL_LIBS="-framework Metal"
9470 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9472 CORESERVICES_LIBS="-framework CoreServices"
9474 APPKIT_LIBS="-framework AppKit"
9476 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9478 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9481 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9483 case $host_cpu in
9484 *i[3456]86*|*x86_64*) wine_can_build_preloader=yes ;;
9485 *) wine_can_build_preloader=no ;;
9486 esac
9488 if test "$wine_can_build_preloader" = "yes"
9489 then
9490 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"
9491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9492 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9493 if test ${ac_cv_cflags__Wl__no_pie+y}
9494 then :
9495 printf %s "(cached) " >&6
9496 else $as_nop
9497 ac_wine_try_cflags_saved=$CFLAGS
9498 CFLAGS="$CFLAGS -Wl,-no_pie"
9499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9500 /* end confdefs.h. */
9501 int main(int argc, char **argv) { return 0; }
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"
9504 then :
9505 ac_cv_cflags__Wl__no_pie=yes
9506 else $as_nop
9507 ac_cv_cflags__Wl__no_pie=no
9509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9510 conftest$ac_exeext conftest.$ac_ext
9511 CFLAGS=$ac_wine_try_cflags_saved
9513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9514 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9515 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9516 then :
9517 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9519 case $host_cpu in
9520 *i[3456]86*)
9521 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9523 *x86_64*)
9524 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9526 esac
9527 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9528 else
9529 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9532 if test "x$with_coreaudio" != "xno";
9533 then
9534 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9536 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9538 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9539 then
9540 OPENCL_LIBS="-framework OpenCL"
9542 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9546 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9547 ac_ext=m
9548 ac_cpp='$OBJCPP $CPPFLAGS'
9549 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9550 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9551 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9553 ac_ext=m
9554 ac_cpp='$OBJCPP $CPPFLAGS'
9555 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9556 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9557 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9558 if test -n "$ac_tool_prefix"; then
9559 for ac_prog in gcc objcc objc cc CC clang
9561 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9562 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9564 printf %s "checking for $ac_word... " >&6; }
9565 if test ${ac_cv_prog_OBJC+y}
9566 then :
9567 printf %s "(cached) " >&6
9568 else $as_nop
9569 if test -n "$OBJC"; then
9570 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9571 else
9572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9573 for as_dir in $PATH
9575 IFS=$as_save_IFS
9576 case $as_dir in #(((
9577 '') as_dir=./ ;;
9578 */) ;;
9579 *) as_dir=$as_dir/ ;;
9580 esac
9581 for ac_exec_ext in '' $ac_executable_extensions; do
9582 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9583 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9585 break 2
9587 done
9588 done
9589 IFS=$as_save_IFS
9593 OBJC=$ac_cv_prog_OBJC
9594 if test -n "$OBJC"; then
9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9596 printf "%s\n" "$OBJC" >&6; }
9597 else
9598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9599 printf "%s\n" "no" >&6; }
9603 test -n "$OBJC" && break
9604 done
9606 if test -z "$OBJC"; then
9607 ac_ct_OBJC=$OBJC
9608 for ac_prog in gcc objcc objc cc CC clang
9610 # Extract the first word of "$ac_prog", so it can be a program name with args.
9611 set dummy $ac_prog; ac_word=$2
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9613 printf %s "checking for $ac_word... " >&6; }
9614 if test ${ac_cv_prog_ac_ct_OBJC+y}
9615 then :
9616 printf %s "(cached) " >&6
9617 else $as_nop
9618 if test -n "$ac_ct_OBJC"; then
9619 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9620 else
9621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9622 for as_dir in $PATH
9624 IFS=$as_save_IFS
9625 case $as_dir in #(((
9626 '') as_dir=./ ;;
9627 */) ;;
9628 *) as_dir=$as_dir/ ;;
9629 esac
9630 for ac_exec_ext in '' $ac_executable_extensions; do
9631 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9632 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9634 break 2
9636 done
9637 done
9638 IFS=$as_save_IFS
9642 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9643 if test -n "$ac_ct_OBJC"; then
9644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9645 printf "%s\n" "$ac_ct_OBJC" >&6; }
9646 else
9647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9648 printf "%s\n" "no" >&6; }
9652 test -n "$ac_ct_OBJC" && break
9653 done
9655 if test "x$ac_ct_OBJC" = x; then
9656 OBJC="gcc"
9657 else
9658 case $cross_compiling:$ac_tool_warned in
9659 yes:)
9660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9661 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9662 ac_tool_warned=yes ;;
9663 esac
9664 OBJC=$ac_ct_OBJC
9668 # Provide some information about the compiler.
9669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9670 set X $ac_compile
9671 ac_compiler=$2
9672 for ac_option in --version -v -V -qversion; do
9673 { { ac_try="$ac_compiler $ac_option >&5"
9674 case "(($ac_try" in
9675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9676 *) ac_try_echo=$ac_try;;
9677 esac
9678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9679 printf "%s\n" "$ac_try_echo"; } >&5
9680 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9681 ac_status=$?
9682 if test -s conftest.err; then
9683 sed '10a\
9684 ... rest of stderr output deleted ...
9685 10q' conftest.err >conftest.er1
9686 cat conftest.er1 >&5
9688 rm -f conftest.er1 conftest.err
9689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9690 test $ac_status = 0; }
9691 done
9693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9694 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9695 if test ${ac_cv_objc_compiler_gnu+y}
9696 then :
9697 printf %s "(cached) " >&6
9698 else $as_nop
9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9703 main (void)
9705 #ifndef __GNUC__
9706 choke me
9707 #endif
9710 return 0;
9712 _ACEOF
9713 if ac_fn_objc_try_compile "$LINENO"
9714 then :
9715 ac_compiler_gnu=yes
9716 else $as_nop
9717 ac_compiler_gnu=no
9719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9720 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9724 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9725 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9727 if test $ac_compiler_gnu = yes; then
9728 GOBJC=yes
9729 else
9730 GOBJC=
9732 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9733 ac_save_OBJCFLAGS=$OBJCFLAGS
9734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9735 printf %s "checking whether $OBJC accepts -g... " >&6; }
9736 if test ${ac_cv_prog_objc_g+y}
9737 then :
9738 printf %s "(cached) " >&6
9739 else $as_nop
9740 ac_save_objc_werror_flag=$ac_objc_werror_flag
9741 ac_objc_werror_flag=yes
9742 ac_cv_prog_objc_g=no
9743 OBJCFLAGS="-g"
9744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9745 /* end confdefs.h. */
9748 main (void)
9752 return 0;
9754 _ACEOF
9755 if ac_fn_objc_try_compile "$LINENO"
9756 then :
9757 ac_cv_prog_objc_g=yes
9758 else $as_nop
9759 OBJCFLAGS=""
9760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9761 /* end confdefs.h. */
9764 main (void)
9768 return 0;
9770 _ACEOF
9771 if ac_fn_objc_try_compile "$LINENO"
9772 then :
9774 else $as_nop
9775 ac_objc_werror_flag=$ac_save_objc_werror_flag
9776 OBJCFLAGS="-g"
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9781 main (void)
9785 return 0;
9787 _ACEOF
9788 if ac_fn_objc_try_compile "$LINENO"
9789 then :
9790 ac_cv_prog_objc_g=yes
9792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9797 ac_objc_werror_flag=$ac_save_objc_werror_flag
9799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9800 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9801 if test $ac_test_OBJCFLAGS; then
9802 OBJCFLAGS=$ac_save_OBJCFLAGS
9803 elif test $ac_cv_prog_objc_g = yes; then
9804 if test "$GOBJC" = yes; then
9805 OBJCFLAGS="-g -O2"
9806 else
9807 OBJCFLAGS="-g"
9809 else
9810 if test "$GOBJC" = yes; then
9811 OBJCFLAGS="-O2"
9812 else
9813 OBJCFLAGS=
9816 ac_ext=m
9817 ac_cpp='$OBJCPP $CPPFLAGS'
9818 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9819 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9820 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9824 /* end confdefs.h. */
9825 #include <Metal/Metal.h>
9827 main (void)
9829 id<MTLDevice> device; device.registryID;
9831 return 0;
9833 _ACEOF
9834 if ac_fn_objc_try_compile "$LINENO"
9835 then :
9836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9837 printf "%s\n" "yes" >&6; }
9839 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9841 else $as_nop
9842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9843 printf "%s\n" "no" >&6; }
9845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9846 ac_ext=c
9847 ac_cpp='$CPP $CPPFLAGS'
9848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9853 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9854 WINELOADER_DEPENDS="wine_info.plist"
9858 linux-android*)
9860 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9862 DLLFLAGS="$DLLFLAGS -fPIC"
9863 LDDLLFLAGS="-fPIC"
9864 LDEXECFLAGS="-Wl,-pie"
9865 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9867 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9868 if test ${ac_cv_cflags__Wl__z_defs+y}
9869 then :
9870 printf %s "(cached) " >&6
9871 else $as_nop
9872 ac_wine_try_cflags_saved=$CFLAGS
9873 CFLAGS="$CFLAGS -Wl,-z,defs"
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9876 int main(int argc, char **argv) { return 0; }
9877 _ACEOF
9878 if ac_fn_c_try_link "$LINENO"
9879 then :
9880 ac_cv_cflags__Wl__z_defs=yes
9881 else $as_nop
9882 ac_cv_cflags__Wl__z_defs=no
9884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9885 conftest$ac_exeext conftest.$ac_ext
9886 CFLAGS=$ac_wine_try_cflags_saved
9888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9889 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9890 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9891 then :
9892 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9895 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9896 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9897 then :
9898 printf %s "(cached) " >&6
9899 else $as_nop
9900 ac_wine_try_cflags_saved=$CFLAGS
9901 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9903 /* end confdefs.h. */
9904 int main(int argc, char **argv) { return 0; }
9905 _ACEOF
9906 if ac_fn_c_try_link "$LINENO"
9907 then :
9908 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9909 else $as_nop
9910 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9913 conftest$ac_exeext conftest.$ac_ext
9914 CFLAGS=$ac_wine_try_cflags_saved
9916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9917 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9918 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9919 then :
9920 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9922 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9925 printf %s "checking for -lEGL... " >&6; }
9926 if test ${ac_cv_lib_soname_EGL+y}
9927 then :
9928 printf %s "(cached) " >&6
9929 else $as_nop
9930 ac_check_soname_save_LIBS=$LIBS
9931 LIBS="-lEGL $LIBS"
9932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9933 /* end confdefs.h. */
9935 /* Override any GCC internal prototype to avoid an error.
9936 Use char because int might match the return type of a GCC
9937 builtin and then its argument prototype would still apply. */
9938 char eglGetProcAddress ();
9940 main (void)
9942 return eglGetProcAddress ();
9944 return 0;
9946 _ACEOF
9947 if ac_fn_c_try_link "$LINENO"
9948 then :
9949 case "$LIBEXT" in
9950 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9951 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'` ;;
9952 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9953 if ${ac_cv_lib_soname_EGL:+false} :
9954 then :
9955 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9956 fi ;;
9957 esac
9958 else $as_nop
9959 ac_cv_lib_soname_EGL=
9961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9962 conftest$ac_exeext conftest.$ac_ext
9963 LIBS=$ac_check_soname_save_LIBS
9965 if ${ac_cv_lib_soname_EGL:+false} :
9966 then :
9967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9968 printf "%s\n" "not found" >&6; }
9970 else $as_nop
9971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9972 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9974 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9979 printf %s "checking for -lGLESv2... " >&6; }
9980 if test ${ac_cv_lib_soname_GLESv2+y}
9981 then :
9982 printf %s "(cached) " >&6
9983 else $as_nop
9984 ac_check_soname_save_LIBS=$LIBS
9985 LIBS="-lGLESv2 $LIBS"
9986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9989 /* Override any GCC internal prototype to avoid an error.
9990 Use char because int might match the return type of a GCC
9991 builtin and then its argument prototype would still apply. */
9992 char glFlush ();
9994 main (void)
9996 return glFlush ();
9998 return 0;
10000 _ACEOF
10001 if ac_fn_c_try_link "$LINENO"
10002 then :
10003 case "$LIBEXT" in
10004 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10005 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'` ;;
10006 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10007 if ${ac_cv_lib_soname_GLESv2:+false} :
10008 then :
10009 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10010 fi ;;
10011 esac
10012 else $as_nop
10013 ac_cv_lib_soname_GLESv2=
10015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10016 conftest$ac_exeext conftest.$ac_ext
10017 LIBS=$ac_check_soname_save_LIBS
10019 if ${ac_cv_lib_soname_GLESv2:+false} :
10020 then :
10021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10022 printf "%s\n" "not found" >&6; }
10024 else $as_nop
10025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10026 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10028 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10033 if test "x$exec_prefix" = xNONE
10034 then
10035 case $host_cpu in
10036 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10037 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10038 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10039 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10040 esac
10046 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10048 test "$ac_cv_sys_file_offset_bits" = 64 &&
10049 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10051 case $host_cpu in
10052 *i[3456789]86*)
10053 DLLFLAGS="$DLLFLAGS -fno-PIC"
10054 LDDLLFLAGS="-fno-PIC"
10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10056 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10057 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10058 then :
10059 printf %s "(cached) " >&6
10060 else $as_nop
10061 ac_wine_try_cflags_saved=$CFLAGS
10062 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10065 int main(int argc, char **argv) { return 0; }
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"
10068 then :
10069 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10070 else $as_nop
10071 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10074 conftest$ac_exeext conftest.$ac_ext
10075 CFLAGS=$ac_wine_try_cflags_saved
10077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10078 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10079 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10080 then :
10081 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10085 DLLFLAGS="$DLLFLAGS -fPIC"
10086 LDDLLFLAGS="-fPIC" ;;
10087 esac
10089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10090 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10091 if test ${ac_cv_cflags__Wl__z_defs+y}
10092 then :
10093 printf %s "(cached) " >&6
10094 else $as_nop
10095 ac_wine_try_cflags_saved=$CFLAGS
10096 CFLAGS="$CFLAGS -Wl,-z,defs"
10097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10098 /* end confdefs.h. */
10099 int main(int argc, char **argv) { return 0; }
10100 _ACEOF
10101 if ac_fn_c_try_link "$LINENO"
10102 then :
10103 ac_cv_cflags__Wl__z_defs=yes
10104 else $as_nop
10105 ac_cv_cflags__Wl__z_defs=no
10107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10108 conftest$ac_exeext conftest.$ac_ext
10109 CFLAGS=$ac_wine_try_cflags_saved
10111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10112 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10113 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10114 then :
10115 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10118 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10119 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10120 then :
10121 printf %s "(cached) " >&6
10122 else $as_nop
10123 ac_wine_try_cflags_saved=$CFLAGS
10124 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10127 int main(int argc, char **argv) { return 0; }
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"
10130 then :
10131 ac_cv_cflags__Wl___export_dynamic=yes
10132 else $as_nop
10133 ac_cv_cflags__Wl___export_dynamic=no
10135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10136 conftest$ac_exeext conftest.$ac_ext
10137 CFLAGS=$ac_wine_try_cflags_saved
10139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10140 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10141 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10142 then :
10143 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10145 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10147 case $host_os in
10148 linux*)
10149 as_fn_append WINELOADER_LDFLAGS " -pie"
10150 case $HOST_ARCH in
10151 i386|arm)
10152 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10155 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10156 if test ${ac_cv_cflags__static_pie+y}
10157 then :
10158 printf %s "(cached) " >&6
10159 else $as_nop
10160 ac_wine_try_cflags_saved=$CFLAGS
10161 CFLAGS="$CFLAGS -static-pie"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10164 int main(int argc, char **argv) { return 0; }
10165 _ACEOF
10166 if ac_fn_c_try_link "$LINENO"
10167 then :
10168 ac_cv_cflags__static_pie=yes
10169 else $as_nop
10170 ac_cv_cflags__static_pie=no
10172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10173 conftest$ac_exeext conftest.$ac_ext
10174 CFLAGS=$ac_wine_try_cflags_saved
10176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10177 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10178 if test "x$ac_cv_cflags__static_pie" = xyes
10179 then :
10180 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10181 else $as_nop
10182 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10185 esac
10188 case $HOST_ARCH in
10189 i386|arm)
10190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10191 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10192 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10193 then :
10194 printf %s "(cached) " >&6
10195 else $as_nop
10196 ac_wine_try_cflags_saved=$CFLAGS
10197 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10199 /* end confdefs.h. */
10200 int main(int argc, char **argv) { return 0; }
10201 _ACEOF
10202 if ac_fn_c_try_link "$LINENO"
10203 then :
10204 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10205 else $as_nop
10206 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10209 conftest$ac_exeext conftest.$ac_ext
10210 CFLAGS=$ac_wine_try_cflags_saved
10212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10213 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10214 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10215 then :
10216 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10217 else $as_nop
10218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10219 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10220 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10221 then :
10222 printf %s "(cached) " >&6
10223 else $as_nop
10224 ac_wine_try_cflags_saved=$CFLAGS
10225 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 /* end confdefs.h. */
10228 int main(int argc, char **argv) { return 0; }
10229 _ACEOF
10230 if ac_fn_c_try_link "$LINENO"
10231 then :
10232 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10233 else $as_nop
10234 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10237 conftest$ac_exeext conftest.$ac_ext
10238 CFLAGS=$ac_wine_try_cflags_saved
10240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10241 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10242 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10243 then :
10244 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10249 as_fn_append WINELOADER_LDFLAGS " -pie"
10251 esac
10253 esac
10255 esac
10257 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10258 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10259 enable_winemac_drv=${enable_winemac_drv:-no}
10261 PE_ARCHS=""
10263 cross_archs=
10264 if test ${enable_archs+y}
10265 then :
10266 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10267 ac_save_IFS=$IFS
10268 IFS=' ,'
10269 set x $enable_archs
10270 IFS=$ac_save_IFS
10271 shift
10272 for arch
10274 case $arch in
10275 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10276 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10277 esac
10278 done
10279 else $as_nop
10280 if test "x$with_mingw" != xno
10281 then
10282 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10286 for wine_arch in $cross_archs
10288 case "x$with_mingw" in
10289 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10290 esac
10291 if eval \${${wine_arch}_CC:+false} :
10292 then :
10293 case $wine_arch in
10294 aarch64)
10295 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10297 # Extract the first word of "$ac_prog", so it can be a program name with args.
10298 set dummy $ac_prog; ac_word=$2
10299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10300 printf %s "checking for $ac_word... " >&6; }
10301 if test ${ac_cv_prog_aarch64_CC+y}
10302 then :
10303 printf %s "(cached) " >&6
10304 else $as_nop
10305 if test -n "$aarch64_CC"; then
10306 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10307 else
10308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10309 for as_dir in $PATH
10311 IFS=$as_save_IFS
10312 case $as_dir in #(((
10313 '') as_dir=./ ;;
10314 */) ;;
10315 *) as_dir=$as_dir/ ;;
10316 esac
10317 for ac_exec_ext in '' $ac_executable_extensions; do
10318 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10319 ac_cv_prog_aarch64_CC="$ac_prog"
10320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10321 break 2
10323 done
10324 done
10325 IFS=$as_save_IFS
10329 aarch64_CC=$ac_cv_prog_aarch64_CC
10330 if test -n "$aarch64_CC"; then
10331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10332 printf "%s\n" "$aarch64_CC" >&6; }
10333 else
10334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10335 printf "%s\n" "no" >&6; }
10339 test -n "$aarch64_CC" && break
10340 done
10341 test -n "$aarch64_CC" || aarch64_CC="false"
10344 arm)
10345 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10347 # Extract the first word of "$ac_prog", so it can be a program name with args.
10348 set dummy $ac_prog; ac_word=$2
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10350 printf %s "checking for $ac_word... " >&6; }
10351 if test ${ac_cv_prog_arm_CC+y}
10352 then :
10353 printf %s "(cached) " >&6
10354 else $as_nop
10355 if test -n "$arm_CC"; then
10356 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10357 else
10358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10359 for as_dir in $PATH
10361 IFS=$as_save_IFS
10362 case $as_dir in #(((
10363 '') as_dir=./ ;;
10364 */) ;;
10365 *) as_dir=$as_dir/ ;;
10366 esac
10367 for ac_exec_ext in '' $ac_executable_extensions; do
10368 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10369 ac_cv_prog_arm_CC="$ac_prog"
10370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10371 break 2
10373 done
10374 done
10375 IFS=$as_save_IFS
10379 arm_CC=$ac_cv_prog_arm_CC
10380 if test -n "$arm_CC"; then
10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10382 printf "%s\n" "$arm_CC" >&6; }
10383 else
10384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10385 printf "%s\n" "no" >&6; }
10389 test -n "$arm_CC" && break
10390 done
10391 test -n "$arm_CC" || arm_CC="false"
10394 i386)
10395 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 "
10396 for ac_prog in $ac_prefix_list clang
10398 # Extract the first word of "$ac_prog", so it can be a program name with args.
10399 set dummy $ac_prog; ac_word=$2
10400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10401 printf %s "checking for $ac_word... " >&6; }
10402 if test ${ac_cv_prog_i386_CC+y}
10403 then :
10404 printf %s "(cached) " >&6
10405 else $as_nop
10406 if test -n "$i386_CC"; then
10407 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10408 else
10409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10410 for as_dir in $PATH
10412 IFS=$as_save_IFS
10413 case $as_dir in #(((
10414 '') as_dir=./ ;;
10415 */) ;;
10416 *) as_dir=$as_dir/ ;;
10417 esac
10418 for ac_exec_ext in '' $ac_executable_extensions; do
10419 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10420 ac_cv_prog_i386_CC="$ac_prog"
10421 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10422 break 2
10424 done
10425 done
10426 IFS=$as_save_IFS
10430 i386_CC=$ac_cv_prog_i386_CC
10431 if test -n "$i386_CC"; then
10432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10433 printf "%s\n" "$i386_CC" >&6; }
10434 else
10435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10436 printf "%s\n" "no" >&6; }
10440 test -n "$i386_CC" && break
10441 done
10442 test -n "$i386_CC" || i386_CC="false"
10445 x86_64)
10446 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10447 for ac_prog in $ac_prefix_list clang
10449 # Extract the first word of "$ac_prog", so it can be a program name with args.
10450 set dummy $ac_prog; ac_word=$2
10451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10452 printf %s "checking for $ac_word... " >&6; }
10453 if test ${ac_cv_prog_x86_64_CC+y}
10454 then :
10455 printf %s "(cached) " >&6
10456 else $as_nop
10457 if test -n "$x86_64_CC"; then
10458 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10459 else
10460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10461 for as_dir in $PATH
10463 IFS=$as_save_IFS
10464 case $as_dir in #(((
10465 '') as_dir=./ ;;
10466 */) ;;
10467 *) as_dir=$as_dir/ ;;
10468 esac
10469 for ac_exec_ext in '' $ac_executable_extensions; do
10470 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10471 ac_cv_prog_x86_64_CC="$ac_prog"
10472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10473 break 2
10475 done
10476 done
10477 IFS=$as_save_IFS
10481 x86_64_CC=$ac_cv_prog_x86_64_CC
10482 if test -n "$x86_64_CC"; then
10483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10484 printf "%s\n" "$x86_64_CC" >&6; }
10485 else
10486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10487 printf "%s\n" "no" >&6; }
10491 test -n "$x86_64_CC" && break
10492 done
10493 test -n "$x86_64_CC" || x86_64_CC="false"
10496 esac
10499 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10500 then :
10501 continue
10504 saved_CC=$CC
10505 saved_CFLAGS=$CFLAGS
10506 saved_LDFLAGS=$LDFLAGS
10508 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10509 LDFLAGS=$CROSSLDFLAGS
10510 eval CC=\$${wine_arch}_CC
10511 eval ${wine_arch}_CFLAGS=\$CFLAGS
10512 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10513 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10515 target=""
10516 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10519 printf %s "checking whether $CC works... " >&6; }
10520 if eval test \${$as_wine_cv_crosscc+y}
10521 then :
10522 printf %s "(cached) " >&6
10523 else $as_nop
10524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10528 main (void)
10532 return 0;
10534 _ACEOF
10535 if ac_fn_c_try_compile "$LINENO"
10536 then :
10537 eval "$as_wine_cv_crosscc=yes"
10538 else $as_nop
10539 eval "$as_wine_cv_crosscc=no"
10541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10543 eval ac_res=\$$as_wine_cv_crosscc
10544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10545 printf "%s\n" "$ac_res" >&6; }
10546 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10547 then :
10548 set x $CC
10549 shift
10550 while test $# -ge 1
10552 case "$1" in
10553 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10554 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10555 esac
10556 shift
10557 done
10559 llvm_target=$target
10560 if test -z "$llvm_target"
10561 then
10562 case $wine_arch in
10563 i386) llvm_target=i686-windows ;;
10564 arm) llvm_target=armv7-windows ;;
10565 *) llvm_target=$wine_arch-windows ;;
10566 esac
10568 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10569 case $llvm_target in
10570 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10571 esac
10572 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10574 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10575 if eval test \${$as_ac_var+y}
10576 then :
10577 printf %s "(cached) " >&6
10578 else $as_nop
10579 ac_wine_try_cflags_saved=$CFLAGS
10580 ac_wine_try_cflags_saved_exeext=$ac_exeext
10581 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10582 ac_exeext=".exe"
10583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10584 /* end confdefs.h. */
10585 int __cdecl mainCRTStartup(void) { return 0; }
10586 _ACEOF
10587 if ac_fn_c_try_link "$LINENO"
10588 then :
10589 eval "$as_ac_var=yes"
10590 else $as_nop
10591 eval "$as_ac_var=no"
10593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10594 conftest$ac_exeext conftest.$ac_ext
10595 CFLAGS=$ac_wine_try_cflags_saved
10596 ac_exeext=$ac_wine_try_cflags_saved_exeext
10598 eval ac_res=\$$as_ac_var
10599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10600 printf "%s\n" "$ac_res" >&6; }
10601 if eval test \"x\$"$as_ac_var"\" = x"yes"
10602 then :
10603 target=$llvm_target
10604 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10605 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10606 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10607 fi }
10608 eval "${wine_arch}_TARGET=\$target"
10612 if test -z "$target"
10613 then
10614 CC=$saved_CC
10615 CFLAGS=$saved_CFLAGS
10616 LDFLAGS=$saved_LDFLAGS
10617 continue
10620 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10623 printf %s "checking for $CC option to enable C99 features... " >&6; }
10624 if eval test \${$as_wine_cv_crosscc_c99+y}
10625 then :
10626 printf %s "(cached) " >&6
10627 else $as_nop
10628 eval "$as_wine_cv_crosscc_c99=no"
10629 for arg in '' '-std=gnu99' '-D__STDC__'
10631 test -z "$arg" || CC="$CC $arg"
10632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10633 /* end confdefs.h. */
10634 $ac_c_conftest_c99_program
10635 _ACEOF
10636 if ac_fn_c_try_compile "$LINENO"
10637 then :
10638 eval "$as_wine_cv_crosscc_c99=\$arg"
10639 else $as_nop
10640 eval "$as_wine_cv_crosscc_c99=no"
10642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10643 eval CC=\$${wine_arch}_CC
10644 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10645 then :
10647 else $as_nop
10648 break
10650 done
10653 eval res=\$$as_wine_cv_crosscc_c99
10655 case "x$res" in
10656 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10657 printf "%s\n" "none needed" >&6; } ;;
10658 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10659 printf "%s\n" "unsupported" >&6; }
10660 CC=$saved_CC
10661 CFLAGS=$saved_CFLAGS
10662 LDFLAGS=$saved_LDFLAGS
10663 continue
10665 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10666 printf "%s\n" "$res" >&6; }
10667 as_fn_append ${wine_arch}_CC " $res" ;;
10668 esac
10670 as_fn_append PE_ARCHS " $wine_arch"
10671 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10673 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10674 if eval test \${$as_ac_var+y}
10675 then :
10676 printf %s "(cached) " >&6
10677 else $as_nop
10678 ac_wine_try_cflags_saved=$CFLAGS
10679 ac_wine_try_cflags_saved_exeext=$ac_exeext
10680 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10681 ac_exeext=".exe"
10682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10684 int __cdecl mainCRTStartup(void) { return 0; }
10685 _ACEOF
10686 if ac_fn_c_try_link "$LINENO"
10687 then :
10688 eval "$as_ac_var=yes"
10689 else $as_nop
10690 eval "$as_ac_var=no"
10692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10693 conftest$ac_exeext conftest.$ac_ext
10694 CFLAGS=$ac_wine_try_cflags_saved
10695 ac_exeext=$ac_wine_try_cflags_saved_exeext
10697 eval ac_res=\$$as_ac_var
10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10699 printf "%s\n" "$ac_res" >&6; }
10700 if eval test \"x\$"$as_ac_var"\" = x"yes"
10701 then :
10702 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10703 fi }
10704 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10706 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10707 if eval test \${$as_ac_var+y}
10708 then :
10709 printf %s "(cached) " >&6
10710 else $as_nop
10711 ac_wine_try_cflags_saved=$CFLAGS
10712 ac_wine_try_cflags_saved_exeext=$ac_exeext
10713 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10714 ac_exeext=".exe"
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10717 int __cdecl mainCRTStartup(void) { return 0; }
10718 _ACEOF
10719 if ac_fn_c_try_link "$LINENO"
10720 then :
10721 eval "$as_ac_var=yes"
10722 else $as_nop
10723 eval "$as_ac_var=no"
10725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10726 conftest$ac_exeext conftest.$ac_ext
10727 CFLAGS=$ac_wine_try_cflags_saved
10728 ac_exeext=$ac_wine_try_cflags_saved_exeext
10730 eval ac_res=\$$as_ac_var
10731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10732 printf "%s\n" "$ac_res" >&6; }
10733 if eval test \"x\$"$as_ac_var"\" = x"yes"
10734 then :
10735 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10736 fi }
10737 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10739 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10740 if eval test \${$as_ac_var+y}
10741 then :
10742 printf %s "(cached) " >&6
10743 else $as_nop
10744 ac_wine_try_cflags_saved=$CFLAGS
10745 ac_wine_try_cflags_saved_exeext=$ac_exeext
10746 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10747 ac_exeext=".exe"
10748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10750 int __cdecl mainCRTStartup(void) { return 0; }
10751 _ACEOF
10752 if ac_fn_c_try_link "$LINENO"
10753 then :
10754 eval "$as_ac_var=yes"
10755 else $as_nop
10756 eval "$as_ac_var=no"
10758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10759 conftest$ac_exeext conftest.$ac_ext
10760 CFLAGS=$ac_wine_try_cflags_saved
10761 ac_exeext=$ac_wine_try_cflags_saved_exeext
10763 eval ac_res=\$$as_ac_var
10764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10765 printf "%s\n" "$ac_res" >&6; }
10766 if eval test \"x\$"$as_ac_var"\" = x"yes"
10767 then :
10768 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10769 fi }
10770 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10772 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10773 if eval test \${$as_ac_var+y}
10774 then :
10775 printf %s "(cached) " >&6
10776 else $as_nop
10777 ac_wine_try_cflags_saved=$CFLAGS
10778 ac_wine_try_cflags_saved_exeext=$ac_exeext
10779 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10780 ac_exeext=".exe"
10781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10782 /* end confdefs.h. */
10783 int __cdecl mainCRTStartup(void) { return 0; }
10784 _ACEOF
10785 if ac_fn_c_try_link "$LINENO"
10786 then :
10787 eval "$as_ac_var=yes"
10788 else $as_nop
10789 eval "$as_ac_var=no"
10791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10792 conftest$ac_exeext conftest.$ac_ext
10793 CFLAGS=$ac_wine_try_cflags_saved
10794 ac_exeext=$ac_wine_try_cflags_saved_exeext
10796 eval ac_res=\$$as_ac_var
10797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10798 printf "%s\n" "$ac_res" >&6; }
10799 if eval test \"x\$"$as_ac_var"\" = x"yes"
10800 then :
10801 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10802 fi }
10803 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10805 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10806 if eval test \${$as_ac_var+y}
10807 then :
10808 printf %s "(cached) " >&6
10809 else $as_nop
10810 ac_wine_try_cflags_saved=$CFLAGS
10811 ac_wine_try_cflags_saved_exeext=$ac_exeext
10812 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10813 ac_exeext=".exe"
10814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10815 /* end confdefs.h. */
10816 int __cdecl mainCRTStartup(void) { return 0; }
10817 _ACEOF
10818 if ac_fn_c_try_link "$LINENO"
10819 then :
10820 eval "$as_ac_var=yes"
10821 else $as_nop
10822 eval "$as_ac_var=no"
10824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10825 conftest$ac_exeext conftest.$ac_ext
10826 CFLAGS=$ac_wine_try_cflags_saved
10827 ac_exeext=$ac_wine_try_cflags_saved_exeext
10829 eval ac_res=\$$as_ac_var
10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10831 printf "%s\n" "$ac_res" >&6; }
10832 if eval test \"x\$"$as_ac_var"\" = x"yes"
10833 then :
10834 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10835 fi }
10836 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10838 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10839 if eval test \${$as_ac_var+y}
10840 then :
10841 printf %s "(cached) " >&6
10842 else $as_nop
10843 ac_wine_try_cflags_saved=$CFLAGS
10844 ac_wine_try_cflags_saved_exeext=$ac_exeext
10845 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10846 ac_exeext=".exe"
10847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10848 /* end confdefs.h. */
10849 int __cdecl mainCRTStartup(void) { return 0; }
10850 _ACEOF
10851 if ac_fn_c_try_link "$LINENO"
10852 then :
10853 eval "$as_ac_var=yes"
10854 else $as_nop
10855 eval "$as_ac_var=no"
10857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10858 conftest$ac_exeext conftest.$ac_ext
10859 CFLAGS=$ac_wine_try_cflags_saved
10860 ac_exeext=$ac_wine_try_cflags_saved_exeext
10862 eval ac_res=\$$as_ac_var
10863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10864 printf "%s\n" "$ac_res" >&6; }
10865 if eval test \"x\$"$as_ac_var"\" = x"yes"
10866 then :
10867 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10868 fi }
10869 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10871 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10872 if eval test \${$as_ac_var+y}
10873 then :
10874 printf %s "(cached) " >&6
10875 else $as_nop
10876 ac_wine_try_cflags_saved=$CFLAGS
10877 ac_wine_try_cflags_saved_exeext=$ac_exeext
10878 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10879 ac_exeext=".exe"
10880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10882 int __cdecl mainCRTStartup(void) { return 0; }
10883 _ACEOF
10884 if ac_fn_c_try_link "$LINENO"
10885 then :
10886 eval "$as_ac_var=yes"
10887 else $as_nop
10888 eval "$as_ac_var=no"
10890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10891 conftest$ac_exeext conftest.$ac_ext
10892 CFLAGS=$ac_wine_try_cflags_saved
10893 ac_exeext=$ac_wine_try_cflags_saved_exeext
10895 eval ac_res=\$$as_ac_var
10896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10897 printf "%s\n" "$ac_res" >&6; }
10898 if eval test \"x\$"$as_ac_var"\" = x"yes"
10899 then :
10900 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10901 fi }
10902 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10904 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10905 if eval test \${$as_ac_var+y}
10906 then :
10907 printf %s "(cached) " >&6
10908 else $as_nop
10909 ac_wine_try_cflags_saved=$CFLAGS
10910 ac_wine_try_cflags_saved_exeext=$ac_exeext
10911 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10912 ac_exeext=".exe"
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 /* end confdefs.h. */
10915 int __cdecl mainCRTStartup(void) { return 0; }
10916 _ACEOF
10917 if ac_fn_c_try_link "$LINENO"
10918 then :
10919 eval "$as_ac_var=yes"
10920 else $as_nop
10921 eval "$as_ac_var=no"
10923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10924 conftest$ac_exeext conftest.$ac_ext
10925 CFLAGS=$ac_wine_try_cflags_saved
10926 ac_exeext=$ac_wine_try_cflags_saved_exeext
10928 eval ac_res=\$$as_ac_var
10929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10930 printf "%s\n" "$ac_res" >&6; }
10931 if eval test \"x\$"$as_ac_var"\" = x"yes"
10932 then :
10933 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10934 fi }
10935 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10937 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10938 if eval test \${$as_ac_var+y}
10939 then :
10940 printf %s "(cached) " >&6
10941 else $as_nop
10942 ac_wine_try_cflags_saved=$CFLAGS
10943 ac_wine_try_cflags_saved_exeext=$ac_exeext
10944 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10945 ac_exeext=".exe"
10946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10948 int __cdecl mainCRTStartup(void) { return 0; }
10949 _ACEOF
10950 if ac_fn_c_try_link "$LINENO"
10951 then :
10952 eval "$as_ac_var=yes"
10953 else $as_nop
10954 eval "$as_ac_var=no"
10956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10957 conftest$ac_exeext conftest.$ac_ext
10958 CFLAGS=$ac_wine_try_cflags_saved
10959 ac_exeext=$ac_wine_try_cflags_saved_exeext
10961 eval ac_res=\$$as_ac_var
10962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10963 printf "%s\n" "$ac_res" >&6; }
10964 if eval test \"x\$"$as_ac_var"\" = x"yes"
10965 then :
10966 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10967 fi }
10968 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
10969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10970 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10971 if eval test \${$as_ac_var+y}
10972 then :
10973 printf %s "(cached) " >&6
10974 else $as_nop
10975 ac_wine_try_cflags_saved=$CFLAGS
10976 ac_wine_try_cflags_saved_exeext=$ac_exeext
10977 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
10978 ac_exeext=".exe"
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10981 int __cdecl mainCRTStartup(void) { return 0; }
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"
10984 then :
10985 eval "$as_ac_var=yes"
10986 else $as_nop
10987 eval "$as_ac_var=no"
10989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10990 conftest$ac_exeext conftest.$ac_ext
10991 CFLAGS=$ac_wine_try_cflags_saved
10992 ac_exeext=$ac_wine_try_cflags_saved_exeext
10994 eval ac_res=\$$as_ac_var
10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10996 printf "%s\n" "$ac_res" >&6; }
10997 if eval test \"x\$"$as_ac_var"\" = x"yes"
10998 then :
10999 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11000 fi }
11001 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11003 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11004 if eval test \${$as_ac_var+y}
11005 then :
11006 printf %s "(cached) " >&6
11007 else $as_nop
11008 ac_wine_try_cflags_saved=$CFLAGS
11009 ac_wine_try_cflags_saved_exeext=$ac_exeext
11010 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11011 ac_exeext=".exe"
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11014 int __cdecl mainCRTStartup(void) { return 0; }
11015 _ACEOF
11016 if ac_fn_c_try_link "$LINENO"
11017 then :
11018 eval "$as_ac_var=yes"
11019 else $as_nop
11020 eval "$as_ac_var=no"
11022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11023 conftest$ac_exeext conftest.$ac_ext
11024 CFLAGS=$ac_wine_try_cflags_saved
11025 ac_exeext=$ac_wine_try_cflags_saved_exeext
11027 eval ac_res=\$$as_ac_var
11028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11029 printf "%s\n" "$ac_res" >&6; }
11030 if eval test \"x\$"$as_ac_var"\" = x"yes"
11031 then :
11032 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11033 fi }
11034 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11036 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11037 if eval test \${$as_ac_var+y}
11038 then :
11039 printf %s "(cached) " >&6
11040 else $as_nop
11041 ac_wine_try_cflags_saved=$CFLAGS
11042 ac_wine_try_cflags_saved_exeext=$ac_exeext
11043 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11044 ac_exeext=".exe"
11045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11046 /* end confdefs.h. */
11047 int __cdecl mainCRTStartup(void) { return 0; }
11048 _ACEOF
11049 if ac_fn_c_try_link "$LINENO"
11050 then :
11051 eval "$as_ac_var=yes"
11052 else $as_nop
11053 eval "$as_ac_var=no"
11055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11056 conftest$ac_exeext conftest.$ac_ext
11057 CFLAGS=$ac_wine_try_cflags_saved
11058 ac_exeext=$ac_wine_try_cflags_saved_exeext
11060 eval ac_res=\$$as_ac_var
11061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11062 printf "%s\n" "$ac_res" >&6; }
11063 if eval test \"x\$"$as_ac_var"\" = x"yes"
11064 then :
11065 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11066 fi }
11067 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11069 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11070 if eval test \${$as_ac_var+y}
11071 then :
11072 printf %s "(cached) " >&6
11073 else $as_nop
11074 ac_wine_try_cflags_saved=$CFLAGS
11075 ac_wine_try_cflags_saved_exeext=$ac_exeext
11076 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11077 ac_exeext=".exe"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11080 int __cdecl mainCRTStartup(void) { return 0; }
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"
11083 then :
11084 eval "$as_ac_var=yes"
11085 else $as_nop
11086 eval "$as_ac_var=no"
11088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11089 conftest$ac_exeext conftest.$ac_ext
11090 CFLAGS=$ac_wine_try_cflags_saved
11091 ac_exeext=$ac_wine_try_cflags_saved_exeext
11093 eval ac_res=\$$as_ac_var
11094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11095 printf "%s\n" "$ac_res" >&6; }
11096 if eval test \"x\$"$as_ac_var"\" = x"yes"
11097 then :
11098 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11099 fi }
11100 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11102 printf %s "checking whether $CC supports -Wvla... " >&6; }
11103 if eval test \${$as_ac_var+y}
11104 then :
11105 printf %s "(cached) " >&6
11106 else $as_nop
11107 ac_wine_try_cflags_saved=$CFLAGS
11108 ac_wine_try_cflags_saved_exeext=$ac_exeext
11109 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11110 ac_exeext=".exe"
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h. */
11113 int __cdecl mainCRTStartup(void) { return 0; }
11114 _ACEOF
11115 if ac_fn_c_try_link "$LINENO"
11116 then :
11117 eval "$as_ac_var=yes"
11118 else $as_nop
11119 eval "$as_ac_var=no"
11121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11122 conftest$ac_exeext conftest.$ac_ext
11123 CFLAGS=$ac_wine_try_cflags_saved
11124 ac_exeext=$ac_wine_try_cflags_saved_exeext
11126 eval ac_res=\$$as_ac_var
11127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11128 printf "%s\n" "$ac_res" >&6; }
11129 if eval test \"x\$"$as_ac_var"\" = x"yes"
11130 then :
11131 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11132 fi }
11133 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11135 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11136 if eval test \${$as_ac_var+y}
11137 then :
11138 printf %s "(cached) " >&6
11139 else $as_nop
11140 ac_wine_try_cflags_saved=$CFLAGS
11141 ac_wine_try_cflags_saved_exeext=$ac_exeext
11142 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11143 ac_exeext=".exe"
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11146 int __cdecl mainCRTStartup(void) { return 0; }
11147 _ACEOF
11148 if ac_fn_c_try_link "$LINENO"
11149 then :
11150 eval "$as_ac_var=yes"
11151 else $as_nop
11152 eval "$as_ac_var=no"
11154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11155 conftest$ac_exeext conftest.$ac_ext
11156 CFLAGS=$ac_wine_try_cflags_saved
11157 ac_exeext=$ac_wine_try_cflags_saved_exeext
11159 eval ac_res=\$$as_ac_var
11160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11161 printf "%s\n" "$ac_res" >&6; }
11162 if eval test \"x\$"$as_ac_var"\" = x"yes"
11163 then :
11164 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11165 fi }
11166 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11168 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11169 if eval test \${$as_ac_var+y}
11170 then :
11171 printf %s "(cached) " >&6
11172 else $as_nop
11173 ac_wine_try_cflags_saved=$CFLAGS
11174 ac_wine_try_cflags_saved_exeext=$ac_exeext
11175 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11176 ac_exeext=".exe"
11177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11179 int __cdecl mainCRTStartup(void) { return 0; }
11180 _ACEOF
11181 if ac_fn_c_try_link "$LINENO"
11182 then :
11183 eval "$as_ac_var=yes"
11184 else $as_nop
11185 eval "$as_ac_var=no"
11187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11188 conftest$ac_exeext conftest.$ac_ext
11189 CFLAGS=$ac_wine_try_cflags_saved
11190 ac_exeext=$ac_wine_try_cflags_saved_exeext
11192 eval ac_res=\$$as_ac_var
11193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11194 printf "%s\n" "$ac_res" >&6; }
11195 if eval test \"x\$"$as_ac_var"\" = x"yes"
11196 then :
11197 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11198 fi }
11199 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11201 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11202 if eval test \${$as_ac_var+y}
11203 then :
11204 printf %s "(cached) " >&6
11205 else $as_nop
11206 ac_wine_try_cflags_saved=$CFLAGS
11207 ac_wine_try_cflags_saved_exeext=$ac_exeext
11208 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11209 ac_exeext=".exe"
11210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11212 int __cdecl mainCRTStartup(void) { return 0; }
11213 _ACEOF
11214 if ac_fn_c_try_link "$LINENO"
11215 then :
11216 eval "$as_ac_var=yes"
11217 else $as_nop
11218 eval "$as_ac_var=no"
11220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11221 conftest$ac_exeext conftest.$ac_ext
11222 CFLAGS=$ac_wine_try_cflags_saved
11223 ac_exeext=$ac_wine_try_cflags_saved_exeext
11225 eval ac_res=\$$as_ac_var
11226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11227 printf "%s\n" "$ac_res" >&6; }
11228 if eval test \"x\$"$as_ac_var"\" = x"yes"
11229 then :
11230 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11231 fi }
11232 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11234 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11235 if eval test \${$as_ac_var+y}
11236 then :
11237 printf %s "(cached) " >&6
11238 else $as_nop
11239 ac_wine_try_cflags_saved=$CFLAGS
11240 ac_wine_try_cflags_saved_exeext=$ac_exeext
11241 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11242 ac_exeext=".exe"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11245 int __cdecl mainCRTStartup(void) { return 0; }
11246 _ACEOF
11247 if ac_fn_c_try_link "$LINENO"
11248 then :
11249 eval "$as_ac_var=yes"
11250 else $as_nop
11251 eval "$as_ac_var=no"
11253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11254 conftest$ac_exeext conftest.$ac_ext
11255 CFLAGS=$ac_wine_try_cflags_saved
11256 ac_exeext=$ac_wine_try_cflags_saved_exeext
11258 eval ac_res=\$$as_ac_var
11259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11260 printf "%s\n" "$ac_res" >&6; }
11261 if eval test \"x\$"$as_ac_var"\" = x"yes"
11262 then :
11263 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11264 fi }
11266 case $wine_arch in
11267 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11269 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11270 if eval test \${$as_ac_var+y}
11271 then :
11272 printf %s "(cached) " >&6
11273 else $as_nop
11274 ac_wine_try_cflags_saved=$CFLAGS
11275 ac_wine_try_cflags_saved_exeext=$ac_exeext
11276 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11277 ac_exeext=".exe"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11280 int __cdecl mainCRTStartup(void) { return 0; }
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"
11283 then :
11284 eval "$as_ac_var=yes"
11285 else $as_nop
11286 eval "$as_ac_var=no"
11288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11289 conftest$ac_exeext conftest.$ac_ext
11290 CFLAGS=$ac_wine_try_cflags_saved
11291 ac_exeext=$ac_wine_try_cflags_saved_exeext
11293 eval ac_res=\$$as_ac_var
11294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11295 printf "%s\n" "$ac_res" >&6; }
11296 if eval test \"x\$"$as_ac_var"\" = x"yes"
11297 then :
11298 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11299 fi }
11300 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11302 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11303 if eval test \${$as_ac_var+y}
11304 then :
11305 printf %s "(cached) " >&6
11306 else $as_nop
11307 ac_wine_try_cflags_saved=$CFLAGS
11308 ac_wine_try_cflags_saved_exeext=$ac_exeext
11309 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11310 ac_exeext=".exe"
11311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11312 /* end confdefs.h. */
11313 int __cdecl mainCRTStartup(void) { return 0; }
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"
11316 then :
11317 eval "$as_ac_var=yes"
11318 else $as_nop
11319 eval "$as_ac_var=no"
11321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11322 conftest$ac_exeext conftest.$ac_ext
11323 CFLAGS=$ac_wine_try_cflags_saved
11324 ac_exeext=$ac_wine_try_cflags_saved_exeext
11326 eval ac_res=\$$as_ac_var
11327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11328 printf "%s\n" "$ac_res" >&6; }
11329 if eval test \"x\$"$as_ac_var"\" = x"yes"
11330 then :
11331 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11332 fi } ;;
11333 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11335 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11336 if eval test \${$as_ac_var+y}
11337 then :
11338 printf %s "(cached) " >&6
11339 else $as_nop
11340 ac_wine_try_cflags_saved=$CFLAGS
11341 ac_wine_try_cflags_saved_exeext=$ac_exeext
11342 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11343 ac_exeext=".exe"
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11346 int __cdecl mainCRTStartup(void) { return 0; }
11347 _ACEOF
11348 if ac_fn_c_try_link "$LINENO"
11349 then :
11350 eval "$as_ac_var=yes"
11351 else $as_nop
11352 eval "$as_ac_var=no"
11354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11355 conftest$ac_exeext conftest.$ac_ext
11356 CFLAGS=$ac_wine_try_cflags_saved
11357 ac_exeext=$ac_wine_try_cflags_saved_exeext
11359 eval ac_res=\$$as_ac_var
11360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11361 printf "%s\n" "$ac_res" >&6; }
11362 if eval test \"x\$"$as_ac_var"\" = x"yes"
11363 then :
11364 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11365 fi }
11366 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11368 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11369 if eval test \${$as_ac_var+y}
11370 then :
11371 printf %s "(cached) " >&6
11372 else $as_nop
11373 ac_wine_try_cflags_saved=$CFLAGS
11374 ac_wine_try_cflags_saved_exeext=$ac_exeext
11375 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11376 ac_exeext=".exe"
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11379 int __cdecl mainCRTStartup(void) { return 0; }
11380 _ACEOF
11381 if ac_fn_c_try_link "$LINENO"
11382 then :
11383 eval "$as_ac_var=yes"
11384 else $as_nop
11385 eval "$as_ac_var=no"
11387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11388 conftest$ac_exeext conftest.$ac_ext
11389 CFLAGS=$ac_wine_try_cflags_saved
11390 ac_exeext=$ac_wine_try_cflags_saved_exeext
11392 eval ac_res=\$$as_ac_var
11393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11394 printf "%s\n" "$ac_res" >&6; }
11395 if eval test \"x\$"$as_ac_var"\" = x"yes"
11396 then :
11397 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11398 fi }
11399 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11401 printf %s "checking whether $CC supports -mcx16... " >&6; }
11402 if eval test \${$as_ac_var+y}
11403 then :
11404 printf %s "(cached) " >&6
11405 else $as_nop
11406 ac_wine_try_cflags_saved=$CFLAGS
11407 ac_wine_try_cflags_saved_exeext=$ac_exeext
11408 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11409 ac_exeext=".exe"
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11412 int __cdecl mainCRTStartup(void) { return 0; }
11413 _ACEOF
11414 if ac_fn_c_try_link "$LINENO"
11415 then :
11416 eval "$as_ac_var=yes"
11417 else $as_nop
11418 eval "$as_ac_var=no"
11420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11421 conftest$ac_exeext conftest.$ac_ext
11422 CFLAGS=$ac_wine_try_cflags_saved
11423 ac_exeext=$ac_wine_try_cflags_saved_exeext
11425 eval ac_res=\$$as_ac_var
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11427 printf "%s\n" "$ac_res" >&6; }
11428 if eval test \"x\$"$as_ac_var"\" = x"yes"
11429 then :
11430 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11431 fi }
11432 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11434 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11435 if eval test \${$as_ac_var+y}
11436 then :
11437 printf %s "(cached) " >&6
11438 else $as_nop
11439 ac_wine_try_cflags_saved=$CFLAGS
11440 ac_wine_try_cflags_saved_exeext=$ac_exeext
11441 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11442 ac_exeext=".exe"
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11445 int __cdecl mainCRTStartup(void) { return 0; }
11446 _ACEOF
11447 if ac_fn_c_try_link "$LINENO"
11448 then :
11449 eval "$as_ac_var=yes"
11450 else $as_nop
11451 eval "$as_ac_var=no"
11453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11454 conftest$ac_exeext conftest.$ac_ext
11455 CFLAGS=$ac_wine_try_cflags_saved
11456 ac_exeext=$ac_wine_try_cflags_saved_exeext
11458 eval ac_res=\$$as_ac_var
11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11460 printf "%s\n" "$ac_res" >&6; }
11461 if eval test \"x\$"$as_ac_var"\" = x"yes"
11462 then :
11463 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11464 fi } ;;
11465 esac
11467 wine_crossdebug=$CROSSDEBUG
11468 if test -z "$wine_crossdebug"
11469 then
11470 for ac_flag in $CFLAGS; do
11471 case $ac_flag in
11472 -gdwarf*) wine_crossdebug=dwarf ;;
11473 -gcodeview) wine_crossdebug=pdb ;;
11474 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11475 esac
11476 done
11479 ac_debug_format_seen=""
11480 for ac_flag in $CFLAGS; do
11481 case $ac_flag in
11482 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11483 esac
11484 done
11485 if test "x$ac_debug_format_seen" = x
11486 then
11487 case $wine_crossdebug in
11488 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11490 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11491 if eval test \${$as_ac_var+y}
11492 then :
11493 printf %s "(cached) " >&6
11494 else $as_nop
11495 ac_wine_try_cflags_saved=$CFLAGS
11496 ac_wine_try_cflags_saved_exeext=$ac_exeext
11497 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11498 ac_exeext=".exe"
11499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11500 /* end confdefs.h. */
11501 int __cdecl mainCRTStartup(void) { return 0; }
11502 _ACEOF
11503 if ac_fn_c_try_link "$LINENO"
11504 then :
11505 eval "$as_ac_var=yes"
11506 else $as_nop
11507 eval "$as_ac_var=no"
11509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11510 conftest$ac_exeext conftest.$ac_ext
11511 CFLAGS=$ac_wine_try_cflags_saved
11512 ac_exeext=$ac_wine_try_cflags_saved_exeext
11514 eval ac_res=\$$as_ac_var
11515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11516 printf "%s\n" "$ac_res" >&6; }
11517 if eval test \"x\$"$as_ac_var"\" = x"yes"
11518 then :
11519 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11520 fi } ;;
11521 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11523 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11524 if eval test \${$as_ac_var+y}
11525 then :
11526 printf %s "(cached) " >&6
11527 else $as_nop
11528 ac_wine_try_cflags_saved=$CFLAGS
11529 ac_wine_try_cflags_saved_exeext=$ac_exeext
11530 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11531 ac_exeext=".exe"
11532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11534 int __cdecl mainCRTStartup(void) { return 0; }
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"
11537 then :
11538 eval "$as_ac_var=yes"
11539 else $as_nop
11540 eval "$as_ac_var=no"
11542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11543 conftest$ac_exeext conftest.$ac_ext
11544 CFLAGS=$ac_wine_try_cflags_saved
11545 ac_exeext=$ac_wine_try_cflags_saved_exeext
11547 eval ac_res=\$$as_ac_var
11548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11549 printf "%s\n" "$ac_res" >&6; }
11550 if eval test \"x\$"$as_ac_var"\" = x"yes"
11551 then :
11552 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11553 fi } ;;
11554 esac
11556 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11558 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11560 printf %s "checking whether $CC supports -Werror... " >&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 -Werror"
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 " -Werror"
11590 fi }
11591 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11593 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11594 if eval test \${$as_ac_var+y}
11595 then :
11596 printf %s "(cached) " >&6
11597 else $as_nop
11598 ac_wine_try_cflags_saved=$CFLAGS
11599 ac_wine_try_cflags_saved_exeext=$ac_exeext
11600 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11601 ac_exeext=".exe"
11602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h. */
11604 int __cdecl mainCRTStartup(void) { return 0; }
11605 _ACEOF
11606 if ac_fn_c_try_link "$LINENO"
11607 then :
11608 eval "$as_ac_var=yes"
11609 else $as_nop
11610 eval "$as_ac_var=no"
11612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11613 conftest$ac_exeext conftest.$ac_ext
11614 CFLAGS=$ac_wine_try_cflags_saved
11615 ac_exeext=$ac_wine_try_cflags_saved_exeext
11617 eval ac_res=\$$as_ac_var
11618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11619 printf "%s\n" "$ac_res" >&6; }
11620 if eval test \"x\$"$as_ac_var"\" = x"yes"
11621 then :
11622 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11623 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11624 fi }
11626 CC=$saved_CC
11627 CFLAGS=$saved_CFLAGS
11628 LDFLAGS=$saved_LDFLAGS
11629 done
11631 if test $HOST_ARCH = aarch64
11632 then
11633 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
11634 DLLEXT=""
11635 else
11636 if test "x$PE_ARCHS" = "x"
11637 then :
11638 case "x$with_mingw" in
11639 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11640 xno) ;;
11641 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11642 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11643 esac
11649 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11650 then
11651 case "$host_cpu" in
11652 i[3456789]86*)
11653 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11655 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11656 esac
11657 for ac_prog in $ac_prefix_list
11659 # Extract the first word of "$ac_prog", so it can be a program name with args.
11660 set dummy $ac_prog; ac_word=$2
11661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11662 printf %s "checking for $ac_word... " >&6; }
11663 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11664 then :
11665 printf %s "(cached) " >&6
11666 else $as_nop
11667 if test -n "$MINGW_PKG_CONFIG"; then
11668 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11669 else
11670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11671 for as_dir in $PATH
11673 IFS=$as_save_IFS
11674 case $as_dir in #(((
11675 '') as_dir=./ ;;
11676 */) ;;
11677 *) as_dir=$as_dir/ ;;
11678 esac
11679 for ac_exec_ext in '' $ac_executable_extensions; do
11680 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11681 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11683 break 2
11685 done
11686 done
11687 IFS=$as_save_IFS
11691 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11692 if test -n "$MINGW_PKG_CONFIG"; then
11693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11694 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11695 else
11696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11697 printf "%s\n" "no" >&6; }
11701 test -n "$MINGW_PKG_CONFIG" && break
11702 done
11703 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11705 if ${FAUDIO_PE_CFLAGS:+false} :
11706 then :
11707 if test ${MINGW_PKG_CONFIG+y}
11708 then :
11709 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11712 if ${FAUDIO_PE_LIBS:+false} :
11713 then :
11714 if test ${MINGW_PKG_CONFIG+y}
11715 then :
11716 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11719 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11720 ac_save_CPPFLAGS=$CPPFLAGS
11721 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11723 printf %s "checking for MinGW FAudio.h... " >&6; }
11724 if test ${ac_cv_mingw_header_FAudio_h+y}
11725 then :
11726 printf %s "(cached) " >&6
11727 else $as_nop
11728 ac_wine_check_headers_saved_cc=$CC
11729 ac_wine_check_headers_saved_exeext=$ac_exeext
11730 eval CC=\$${wine_arch}_CC
11731 ac_exeext=".exe"
11732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11733 /* end confdefs.h. */
11735 #include <FAudio.h>
11737 main (void)
11741 return 0;
11743 _ACEOF
11744 if ac_fn_c_try_compile "$LINENO"
11745 then :
11746 ac_cv_mingw_header_FAudio_h=yes
11747 else $as_nop
11748 ac_cv_mingw_header_FAudio_h=no
11750 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11751 CC=$ac_wine_check_headers_saved_cc
11752 ac_exeext=$ac_wine_check_headers_saved_exeext
11754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11755 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11756 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11757 then :
11758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11759 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11760 if test ${ac_cv_mingw_lib_FAudio+y}
11761 then :
11762 printf %s "(cached) " >&6
11763 else $as_nop
11764 ac_wine_check_headers_saved_cc=$CC
11765 ac_wine_check_headers_saved_exeext=$ac_exeext
11766 ac_wine_check_headers_saved_libs=$LIBS
11767 eval CC=\$${wine_arch}_CC
11768 ac_exeext=".exe"
11769 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11773 /* Override any GCC internal prototype to avoid an error.
11774 Use char because int might match the return type of a GCC
11775 builtin and then its argument prototype would still apply. */
11776 char FAudio_CommitOperationSet ();
11778 main (void)
11780 return FAudio_CommitOperationSet ();
11782 return 0;
11784 _ACEOF
11785 if ac_fn_c_try_link "$LINENO"
11786 then :
11787 ac_cv_mingw_lib_FAudio=yes
11788 else $as_nop
11789 ac_cv_mingw_lib_FAudio=no
11791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11792 conftest$ac_exeext conftest.$ac_ext
11793 CC=$ac_wine_check_headers_saved_cc
11794 ac_exeext=$ac_wine_check_headers_saved_exeext
11795 LIBS=$ac_wine_check_headers_saved_libs
11797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11798 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11799 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11800 then :
11802 else $as_nop
11803 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11805 else $as_nop
11806 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11808 CPPFLAGS=$ac_save_CPPFLAGS
11810 if test "x$FAUDIO_PE_LIBS" = "x"
11811 then
11812 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11815 if ${JPEG_PE_CFLAGS:+false} :
11816 then :
11817 if test ${MINGW_PKG_CONFIG+y}
11818 then :
11819 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11822 if ${JPEG_PE_LIBS:+false} :
11823 then :
11824 if test ${MINGW_PKG_CONFIG+y}
11825 then :
11826 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11830 ac_save_CPPFLAGS=$CPPFLAGS
11831 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11833 printf %s "checking for MinGW jpeglib.h... " >&6; }
11834 if test ${ac_cv_mingw_header_jpeglib_h+y}
11835 then :
11836 printf %s "(cached) " >&6
11837 else $as_nop
11838 ac_wine_check_headers_saved_cc=$CC
11839 ac_wine_check_headers_saved_exeext=$ac_exeext
11840 eval CC=\$${wine_arch}_CC
11841 ac_exeext=".exe"
11842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11843 /* end confdefs.h. */
11844 #include <stddef.h>
11845 #include <stdio.h>
11846 #include <jpeglib.h>
11848 main (void)
11852 return 0;
11854 _ACEOF
11855 if ac_fn_c_try_compile "$LINENO"
11856 then :
11857 ac_cv_mingw_header_jpeglib_h=yes
11858 else $as_nop
11859 ac_cv_mingw_header_jpeglib_h=no
11861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11862 CC=$ac_wine_check_headers_saved_cc
11863 ac_exeext=$ac_wine_check_headers_saved_exeext
11865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11866 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11867 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11868 then :
11869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11870 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11871 if test ${ac_cv_mingw_lib_jpeg+y}
11872 then :
11873 printf %s "(cached) " >&6
11874 else $as_nop
11875 ac_wine_check_headers_saved_cc=$CC
11876 ac_wine_check_headers_saved_exeext=$ac_exeext
11877 ac_wine_check_headers_saved_libs=$LIBS
11878 eval CC=\$${wine_arch}_CC
11879 ac_exeext=".exe"
11880 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11887 char jpeg_start_decompress ();
11889 main (void)
11891 return jpeg_start_decompress ();
11893 return 0;
11895 _ACEOF
11896 if ac_fn_c_try_link "$LINENO"
11897 then :
11898 ac_cv_mingw_lib_jpeg=yes
11899 else $as_nop
11900 ac_cv_mingw_lib_jpeg=no
11902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11903 conftest$ac_exeext conftest.$ac_ext
11904 CC=$ac_wine_check_headers_saved_cc
11905 ac_exeext=$ac_wine_check_headers_saved_exeext
11906 LIBS=$ac_wine_check_headers_saved_libs
11908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11909 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11910 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11911 then :
11913 else $as_nop
11914 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11916 else $as_nop
11917 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11919 CPPFLAGS=$ac_save_CPPFLAGS
11921 if test "x$JPEG_PE_LIBS" = "x"
11922 then
11923 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11926 if ${LCMS2_PE_CFLAGS:+false} :
11927 then :
11928 if test ${MINGW_PKG_CONFIG+y}
11929 then :
11930 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11933 if ${LCMS2_PE_LIBS:+false} :
11934 then :
11935 if test ${MINGW_PKG_CONFIG+y}
11936 then :
11937 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11940 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11941 ac_save_CPPFLAGS=$CPPFLAGS
11942 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11944 printf %s "checking for MinGW lcms2.h... " >&6; }
11945 if test ${ac_cv_mingw_header_lcms2_h+y}
11946 then :
11947 printf %s "(cached) " >&6
11948 else $as_nop
11949 ac_wine_check_headers_saved_cc=$CC
11950 ac_wine_check_headers_saved_exeext=$ac_exeext
11951 eval CC=\$${wine_arch}_CC
11952 ac_exeext=".exe"
11953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11954 /* end confdefs.h. */
11956 #include <lcms2.h>
11958 main (void)
11962 return 0;
11964 _ACEOF
11965 if ac_fn_c_try_compile "$LINENO"
11966 then :
11967 ac_cv_mingw_header_lcms2_h=yes
11968 else $as_nop
11969 ac_cv_mingw_header_lcms2_h=no
11971 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11972 CC=$ac_wine_check_headers_saved_cc
11973 ac_exeext=$ac_wine_check_headers_saved_exeext
11975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11976 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11977 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11978 then :
11979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11980 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11981 if test ${ac_cv_mingw_lib_lcms2+y}
11982 then :
11983 printf %s "(cached) " >&6
11984 else $as_nop
11985 ac_wine_check_headers_saved_cc=$CC
11986 ac_wine_check_headers_saved_exeext=$ac_exeext
11987 ac_wine_check_headers_saved_libs=$LIBS
11988 eval CC=\$${wine_arch}_CC
11989 ac_exeext=".exe"
11990 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
11991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11994 /* Override any GCC internal prototype to avoid an error.
11995 Use char because int might match the return type of a GCC
11996 builtin and then its argument prototype would still apply. */
11997 char cmsOpenProfileFromFile ();
11999 main (void)
12001 return cmsOpenProfileFromFile ();
12003 return 0;
12005 _ACEOF
12006 if ac_fn_c_try_link "$LINENO"
12007 then :
12008 ac_cv_mingw_lib_lcms2=yes
12009 else $as_nop
12010 ac_cv_mingw_lib_lcms2=no
12012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12013 conftest$ac_exeext conftest.$ac_ext
12014 CC=$ac_wine_check_headers_saved_cc
12015 ac_exeext=$ac_wine_check_headers_saved_exeext
12016 LIBS=$ac_wine_check_headers_saved_libs
12018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12019 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12020 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12021 then :
12023 else $as_nop
12024 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12026 else $as_nop
12027 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12029 CPPFLAGS=$ac_save_CPPFLAGS
12031 if test "x$LCMS2_PE_LIBS" = "x"
12032 then
12033 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12036 if ${MPG123_PE_CFLAGS:+false} :
12037 then :
12038 if test ${MINGW_PKG_CONFIG+y}
12039 then :
12040 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12043 if ${MPG123_PE_LIBS:+false} :
12044 then :
12045 if test ${MINGW_PKG_CONFIG+y}
12046 then :
12047 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12050 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12051 ac_save_CPPFLAGS=$CPPFLAGS
12052 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12054 printf %s "checking for MinGW mpg123.h... " >&6; }
12055 if test ${ac_cv_mingw_header_mpg123_h+y}
12056 then :
12057 printf %s "(cached) " >&6
12058 else $as_nop
12059 ac_wine_check_headers_saved_cc=$CC
12060 ac_wine_check_headers_saved_exeext=$ac_exeext
12061 eval CC=\$${wine_arch}_CC
12062 ac_exeext=".exe"
12063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12064 /* end confdefs.h. */
12066 #include <mpg123.h>
12068 main (void)
12072 return 0;
12074 _ACEOF
12075 if ac_fn_c_try_compile "$LINENO"
12076 then :
12077 ac_cv_mingw_header_mpg123_h=yes
12078 else $as_nop
12079 ac_cv_mingw_header_mpg123_h=no
12081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12082 CC=$ac_wine_check_headers_saved_cc
12083 ac_exeext=$ac_wine_check_headers_saved_exeext
12085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12086 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12087 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12088 then :
12089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12090 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12091 if test ${ac_cv_mingw_lib_mpg123+y}
12092 then :
12093 printf %s "(cached) " >&6
12094 else $as_nop
12095 ac_wine_check_headers_saved_cc=$CC
12096 ac_wine_check_headers_saved_exeext=$ac_exeext
12097 ac_wine_check_headers_saved_libs=$LIBS
12098 eval CC=\$${wine_arch}_CC
12099 ac_exeext=".exe"
12100 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12102 /* end confdefs.h. */
12104 /* Override any GCC internal prototype to avoid an error.
12105 Use char because int might match the return type of a GCC
12106 builtin and then its argument prototype would still apply. */
12107 char mpg123_feed ();
12109 main (void)
12111 return mpg123_feed ();
12113 return 0;
12115 _ACEOF
12116 if ac_fn_c_try_link "$LINENO"
12117 then :
12118 ac_cv_mingw_lib_mpg123=yes
12119 else $as_nop
12120 ac_cv_mingw_lib_mpg123=no
12122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12123 conftest$ac_exeext conftest.$ac_ext
12124 CC=$ac_wine_check_headers_saved_cc
12125 ac_exeext=$ac_wine_check_headers_saved_exeext
12126 LIBS=$ac_wine_check_headers_saved_libs
12128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12129 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12130 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12131 then :
12133 else $as_nop
12134 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12136 else $as_nop
12137 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12139 CPPFLAGS=$ac_save_CPPFLAGS
12141 if test "x$MPG123_PE_LIBS" = "x"
12142 then
12143 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12146 if ${PNG_PE_CFLAGS:+false} :
12147 then :
12148 if test ${MINGW_PKG_CONFIG+y}
12149 then :
12150 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12153 if ${PNG_PE_LIBS:+false} :
12154 then :
12155 if test ${MINGW_PKG_CONFIG+y}
12156 then :
12157 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12161 ac_save_CPPFLAGS=$CPPFLAGS
12162 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12164 printf %s "checking for MinGW png.h... " >&6; }
12165 if test ${ac_cv_mingw_header_png_h+y}
12166 then :
12167 printf %s "(cached) " >&6
12168 else $as_nop
12169 ac_wine_check_headers_saved_cc=$CC
12170 ac_wine_check_headers_saved_exeext=$ac_exeext
12171 eval CC=\$${wine_arch}_CC
12172 ac_exeext=".exe"
12173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12174 /* end confdefs.h. */
12176 #include <png.h>
12178 main (void)
12182 return 0;
12184 _ACEOF
12185 if ac_fn_c_try_compile "$LINENO"
12186 then :
12187 ac_cv_mingw_header_png_h=yes
12188 else $as_nop
12189 ac_cv_mingw_header_png_h=no
12191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12192 CC=$ac_wine_check_headers_saved_cc
12193 ac_exeext=$ac_wine_check_headers_saved_exeext
12195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12196 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12197 if test "x$ac_cv_mingw_header_png_h" = xyes
12198 then :
12199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12200 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12201 if test ${ac_cv_mingw_lib_png+y}
12202 then :
12203 printf %s "(cached) " >&6
12204 else $as_nop
12205 ac_wine_check_headers_saved_cc=$CC
12206 ac_wine_check_headers_saved_exeext=$ac_exeext
12207 ac_wine_check_headers_saved_libs=$LIBS
12208 eval CC=\$${wine_arch}_CC
12209 ac_exeext=".exe"
12210 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12214 /* Override any GCC internal prototype to avoid an error.
12215 Use char because int might match the return type of a GCC
12216 builtin and then its argument prototype would still apply. */
12217 char png_create_read_struct ();
12219 main (void)
12221 return png_create_read_struct ();
12223 return 0;
12225 _ACEOF
12226 if ac_fn_c_try_link "$LINENO"
12227 then :
12228 ac_cv_mingw_lib_png=yes
12229 else $as_nop
12230 ac_cv_mingw_lib_png=no
12232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12233 conftest$ac_exeext conftest.$ac_ext
12234 CC=$ac_wine_check_headers_saved_cc
12235 ac_exeext=$ac_wine_check_headers_saved_exeext
12236 LIBS=$ac_wine_check_headers_saved_libs
12238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12239 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12240 if test "x$ac_cv_mingw_lib_png" = xyes
12241 then :
12243 else $as_nop
12244 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12246 else $as_nop
12247 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12249 CPPFLAGS=$ac_save_CPPFLAGS
12251 if test "x$PNG_PE_LIBS" = "x"
12252 then
12253 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12256 if ${TIFF_PE_CFLAGS:+false} :
12257 then :
12258 if test ${MINGW_PKG_CONFIG+y}
12259 then :
12260 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12263 if ${TIFF_PE_LIBS:+false} :
12264 then :
12265 if test ${MINGW_PKG_CONFIG+y}
12266 then :
12267 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12271 ac_save_CPPFLAGS=$CPPFLAGS
12272 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12274 printf %s "checking for MinGW tiffio.h... " >&6; }
12275 if test ${ac_cv_mingw_header_tiffio_h+y}
12276 then :
12277 printf %s "(cached) " >&6
12278 else $as_nop
12279 ac_wine_check_headers_saved_cc=$CC
12280 ac_wine_check_headers_saved_exeext=$ac_exeext
12281 eval CC=\$${wine_arch}_CC
12282 ac_exeext=".exe"
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12286 #include <tiffio.h>
12288 main (void)
12292 return 0;
12294 _ACEOF
12295 if ac_fn_c_try_compile "$LINENO"
12296 then :
12297 ac_cv_mingw_header_tiffio_h=yes
12298 else $as_nop
12299 ac_cv_mingw_header_tiffio_h=no
12301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12302 CC=$ac_wine_check_headers_saved_cc
12303 ac_exeext=$ac_wine_check_headers_saved_exeext
12305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12306 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12307 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12308 then :
12309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12310 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12311 if test ${ac_cv_mingw_lib_tiff+y}
12312 then :
12313 printf %s "(cached) " >&6
12314 else $as_nop
12315 ac_wine_check_headers_saved_cc=$CC
12316 ac_wine_check_headers_saved_exeext=$ac_exeext
12317 ac_wine_check_headers_saved_libs=$LIBS
12318 eval CC=\$${wine_arch}_CC
12319 ac_exeext=".exe"
12320 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12327 char TIFFClientOpen ();
12329 main (void)
12331 return TIFFClientOpen ();
12333 return 0;
12335 _ACEOF
12336 if ac_fn_c_try_link "$LINENO"
12337 then :
12338 ac_cv_mingw_lib_tiff=yes
12339 else $as_nop
12340 ac_cv_mingw_lib_tiff=no
12342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12343 conftest$ac_exeext conftest.$ac_ext
12344 CC=$ac_wine_check_headers_saved_cc
12345 ac_exeext=$ac_wine_check_headers_saved_exeext
12346 LIBS=$ac_wine_check_headers_saved_libs
12348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12349 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12350 if test "x$ac_cv_mingw_lib_tiff" = xyes
12351 then :
12353 else $as_nop
12354 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12356 else $as_nop
12357 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12359 CPPFLAGS=$ac_save_CPPFLAGS
12361 if test "x$TIFF_PE_LIBS" = "x"
12362 then
12363 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12366 if ${XML2_PE_CFLAGS:+false} :
12367 then :
12368 if test ${MINGW_PKG_CONFIG+y}
12369 then :
12370 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12373 if ${XML2_PE_LIBS:+false} :
12374 then :
12375 if test ${MINGW_PKG_CONFIG+y}
12376 then :
12377 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12380 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12381 ac_save_CPPFLAGS=$CPPFLAGS
12382 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12384 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12385 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12386 then :
12387 printf %s "(cached) " >&6
12388 else $as_nop
12389 ac_wine_check_headers_saved_cc=$CC
12390 ac_wine_check_headers_saved_exeext=$ac_exeext
12391 eval CC=\$${wine_arch}_CC
12392 ac_exeext=".exe"
12393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12394 /* end confdefs.h. */
12396 #include <libxml/parser.h>
12398 main (void)
12402 return 0;
12404 _ACEOF
12405 if ac_fn_c_try_compile "$LINENO"
12406 then :
12407 ac_cv_mingw_header_libxml_parser_h=yes
12408 else $as_nop
12409 ac_cv_mingw_header_libxml_parser_h=no
12411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12412 CC=$ac_wine_check_headers_saved_cc
12413 ac_exeext=$ac_wine_check_headers_saved_exeext
12415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12416 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12417 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12418 then :
12421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12422 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12423 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12424 then :
12425 printf %s "(cached) " >&6
12426 else $as_nop
12427 ac_wine_check_headers_saved_cc=$CC
12428 ac_wine_check_headers_saved_exeext=$ac_exeext
12429 eval CC=\$${wine_arch}_CC
12430 ac_exeext=".exe"
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12434 #include <libxml/xmlsave.h>
12436 main (void)
12440 return 0;
12442 _ACEOF
12443 if ac_fn_c_try_compile "$LINENO"
12444 then :
12445 ac_cv_mingw_header_libxml_xmlsave_h=yes
12446 else $as_nop
12447 ac_cv_mingw_header_libxml_xmlsave_h=no
12449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12450 CC=$ac_wine_check_headers_saved_cc
12451 ac_exeext=$ac_wine_check_headers_saved_exeext
12453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12454 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12455 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12456 then :
12459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12460 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12461 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12462 then :
12463 printf %s "(cached) " >&6
12464 else $as_nop
12465 ac_wine_check_headers_saved_cc=$CC
12466 ac_wine_check_headers_saved_exeext=$ac_exeext
12467 eval CC=\$${wine_arch}_CC
12468 ac_exeext=".exe"
12469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12472 #include <libxml/SAX2.h>
12474 main (void)
12478 return 0;
12480 _ACEOF
12481 if ac_fn_c_try_compile "$LINENO"
12482 then :
12483 ac_cv_mingw_header_libxml_SAX2_h=yes
12484 else $as_nop
12485 ac_cv_mingw_header_libxml_SAX2_h=no
12487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12488 CC=$ac_wine_check_headers_saved_cc
12489 ac_exeext=$ac_wine_check_headers_saved_exeext
12491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12492 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12493 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12494 then :
12497 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"
12498 then
12499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12500 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12501 if test ${ac_cv_mingw_lib_xml2+y}
12502 then :
12503 printf %s "(cached) " >&6
12504 else $as_nop
12505 ac_wine_check_headers_saved_cc=$CC
12506 ac_wine_check_headers_saved_exeext=$ac_exeext
12507 ac_wine_check_headers_saved_libs=$LIBS
12508 eval CC=\$${wine_arch}_CC
12509 ac_exeext=".exe"
12510 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12512 /* end confdefs.h. */
12514 /* Override any GCC internal prototype to avoid an error.
12515 Use char because int might match the return type of a GCC
12516 builtin and then its argument prototype would still apply. */
12517 char xmlFirstElementChild ();
12519 main (void)
12521 return xmlFirstElementChild ();
12523 return 0;
12525 _ACEOF
12526 if ac_fn_c_try_link "$LINENO"
12527 then :
12528 ac_cv_mingw_lib_xml2=yes
12529 else $as_nop
12530 ac_cv_mingw_lib_xml2=no
12532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12533 conftest$ac_exeext conftest.$ac_ext
12534 CC=$ac_wine_check_headers_saved_cc
12535 ac_exeext=$ac_wine_check_headers_saved_exeext
12536 LIBS=$ac_wine_check_headers_saved_libs
12538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12539 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12540 if test "x$ac_cv_mingw_lib_xml2" = xyes
12541 then :
12543 else $as_nop
12544 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12546 else
12547 XML2_PE_CFLAGS=""
12548 XML2_PE_LIBS=""
12550 CPPFLAGS=$ac_save_CPPFLAGS
12552 if test "x$XML2_PE_LIBS" = "x"
12553 then
12554 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12557 if ${XSLT_PE_CFLAGS:+false} :
12558 then :
12559 if test ${MINGW_PKG_CONFIG+y}
12560 then :
12561 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12564 if ${XSLT_PE_LIBS:+false} :
12565 then :
12566 if test ${MINGW_PKG_CONFIG+y}
12567 then :
12568 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12571 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12572 ac_save_CPPFLAGS=$CPPFLAGS
12573 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12575 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12576 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12577 then :
12578 printf %s "(cached) " >&6
12579 else $as_nop
12580 ac_wine_check_headers_saved_cc=$CC
12581 ac_wine_check_headers_saved_exeext=$ac_exeext
12582 eval CC=\$${wine_arch}_CC
12583 ac_exeext=".exe"
12584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12585 /* end confdefs.h. */
12587 #include <libxslt/pattern.h>
12589 main (void)
12593 return 0;
12595 _ACEOF
12596 if ac_fn_c_try_compile "$LINENO"
12597 then :
12598 ac_cv_mingw_header_libxslt_pattern_h=yes
12599 else $as_nop
12600 ac_cv_mingw_header_libxslt_pattern_h=no
12602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12603 CC=$ac_wine_check_headers_saved_cc
12604 ac_exeext=$ac_wine_check_headers_saved_exeext
12606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12607 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12608 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12609 then :
12612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12613 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12614 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12615 then :
12616 printf %s "(cached) " >&6
12617 else $as_nop
12618 ac_wine_check_headers_saved_cc=$CC
12619 ac_wine_check_headers_saved_exeext=$ac_exeext
12620 eval CC=\$${wine_arch}_CC
12621 ac_exeext=".exe"
12622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12623 /* end confdefs.h. */
12625 #include <libxslt/transform.h>
12627 main (void)
12631 return 0;
12633 _ACEOF
12634 if ac_fn_c_try_compile "$LINENO"
12635 then :
12636 ac_cv_mingw_header_libxslt_transform_h=yes
12637 else $as_nop
12638 ac_cv_mingw_header_libxslt_transform_h=no
12640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12641 CC=$ac_wine_check_headers_saved_cc
12642 ac_exeext=$ac_wine_check_headers_saved_exeext
12644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12645 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12646 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12647 then :
12650 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12651 then
12652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12653 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12654 if test ${ac_cv_mingw_lib_xslt+y}
12655 then :
12656 printf %s "(cached) " >&6
12657 else $as_nop
12658 ac_wine_check_headers_saved_cc=$CC
12659 ac_wine_check_headers_saved_exeext=$ac_exeext
12660 ac_wine_check_headers_saved_libs=$LIBS
12661 eval CC=\$${wine_arch}_CC
12662 ac_exeext=".exe"
12663 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12667 /* Override any GCC internal prototype to avoid an error.
12668 Use char because int might match the return type of a GCC
12669 builtin and then its argument prototype would still apply. */
12670 char xsltCompilePattern ();
12672 main (void)
12674 return xsltCompilePattern ();
12676 return 0;
12678 _ACEOF
12679 if ac_fn_c_try_link "$LINENO"
12680 then :
12681 ac_cv_mingw_lib_xslt=yes
12682 else $as_nop
12683 ac_cv_mingw_lib_xslt=no
12685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12686 conftest$ac_exeext conftest.$ac_ext
12687 CC=$ac_wine_check_headers_saved_cc
12688 ac_exeext=$ac_wine_check_headers_saved_exeext
12689 LIBS=$ac_wine_check_headers_saved_libs
12691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12692 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12693 if test "x$ac_cv_mingw_lib_xslt" = xyes
12694 then :
12696 else $as_nop
12697 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12699 else
12700 XSLT_PE_CFLAGS=""
12701 XSLT_PE_LIBS=""
12703 CPPFLAGS=$ac_save_CPPFLAGS
12705 if test "x$XSLT_PE_LIBS" = "x"
12706 then
12707 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12710 if ${VKD3D_PE_CFLAGS:+false} :
12711 then :
12712 if test ${MINGW_PKG_CONFIG+y}
12713 then :
12714 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12717 if ${VKD3D_PE_LIBS:+false} :
12718 then :
12719 if test ${MINGW_PKG_CONFIG+y}
12720 then :
12721 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12724 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12725 ac_save_CPPFLAGS=$CPPFLAGS
12726 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12728 printf %s "checking for MinGW vkd3d.h... " >&6; }
12729 if test ${ac_cv_mingw_header_vkd3d_h+y}
12730 then :
12731 printf %s "(cached) " >&6
12732 else $as_nop
12733 ac_wine_check_headers_saved_cc=$CC
12734 ac_wine_check_headers_saved_exeext=$ac_exeext
12735 eval CC=\$${wine_arch}_CC
12736 ac_exeext=".exe"
12737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h. */
12740 #include <vkd3d.h>
12742 main (void)
12746 return 0;
12748 _ACEOF
12749 if ac_fn_c_try_compile "$LINENO"
12750 then :
12751 ac_cv_mingw_header_vkd3d_h=yes
12752 else $as_nop
12753 ac_cv_mingw_header_vkd3d_h=no
12755 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12756 CC=$ac_wine_check_headers_saved_cc
12757 ac_exeext=$ac_wine_check_headers_saved_exeext
12759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12760 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12761 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12762 then :
12765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12766 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12767 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12768 then :
12769 printf %s "(cached) " >&6
12770 else $as_nop
12771 ac_wine_check_headers_saved_cc=$CC
12772 ac_wine_check_headers_saved_exeext=$ac_exeext
12773 eval CC=\$${wine_arch}_CC
12774 ac_exeext=".exe"
12775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12778 #include <vkd3d_shader.h>
12780 main (void)
12784 return 0;
12786 _ACEOF
12787 if ac_fn_c_try_compile "$LINENO"
12788 then :
12789 ac_cv_mingw_header_vkd3d_shader_h=yes
12790 else $as_nop
12791 ac_cv_mingw_header_vkd3d_shader_h=no
12793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12794 CC=$ac_wine_check_headers_saved_cc
12795 ac_exeext=$ac_wine_check_headers_saved_exeext
12797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12798 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12799 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12800 then :
12803 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12804 then
12805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12806 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12807 if test ${ac_cv_mingw_lib_vkd3d+y}
12808 then :
12809 printf %s "(cached) " >&6
12810 else $as_nop
12811 ac_wine_check_headers_saved_cc=$CC
12812 ac_wine_check_headers_saved_exeext=$ac_exeext
12813 ac_wine_check_headers_saved_libs=$LIBS
12814 eval CC=\$${wine_arch}_CC
12815 ac_exeext=".exe"
12816 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12820 /* Override any GCC internal prototype to avoid an error.
12821 Use char because int might match the return type of a GCC
12822 builtin and then its argument prototype would still apply. */
12823 char vkd3d_set_log_callback ();
12825 main (void)
12827 return vkd3d_set_log_callback ();
12829 return 0;
12831 _ACEOF
12832 if ac_fn_c_try_link "$LINENO"
12833 then :
12834 ac_cv_mingw_lib_vkd3d=yes
12835 else $as_nop
12836 ac_cv_mingw_lib_vkd3d=no
12838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12839 conftest$ac_exeext conftest.$ac_ext
12840 CC=$ac_wine_check_headers_saved_cc
12841 ac_exeext=$ac_wine_check_headers_saved_exeext
12842 LIBS=$ac_wine_check_headers_saved_libs
12844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12845 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12846 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12847 then :
12849 else $as_nop
12852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12853 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12854 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12855 then :
12856 printf %s "(cached) " >&6
12857 else $as_nop
12858 ac_wine_check_headers_saved_cc=$CC
12859 ac_wine_check_headers_saved_exeext=$ac_exeext
12860 ac_wine_check_headers_saved_libs=$LIBS
12861 eval CC=\$${wine_arch}_CC
12862 ac_exeext=".exe"
12863 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 /* Override any GCC internal prototype to avoid an error.
12868 Use char because int might match the return type of a GCC
12869 builtin and then its argument prototype would still apply. */
12870 char vkd3d_shader_serialize_dxbc ();
12872 main (void)
12874 return vkd3d_shader_serialize_dxbc ();
12876 return 0;
12878 _ACEOF
12879 if ac_fn_c_try_link "$LINENO"
12880 then :
12881 ac_cv_mingw_lib_vkd3d_shader=yes
12882 else $as_nop
12883 ac_cv_mingw_lib_vkd3d_shader=no
12885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12886 conftest$ac_exeext conftest.$ac_ext
12887 CC=$ac_wine_check_headers_saved_cc
12888 ac_exeext=$ac_wine_check_headers_saved_exeext
12889 LIBS=$ac_wine_check_headers_saved_libs
12891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12892 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12893 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12894 then :
12896 else $as_nop
12899 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12900 then
12901 VKD3D_PE_CFLAGS=""
12902 VKD3D_PE_LIBS=""
12904 else
12905 VKD3D_PE_CFLAGS=""
12906 VKD3D_PE_LIBS=""
12908 CPPFLAGS=$ac_save_CPPFLAGS
12910 if test "x$VKD3D_PE_LIBS" = "x"
12911 then
12912 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12915 if ${ZLIB_PE_CFLAGS:+false} :
12916 then :
12917 if test ${MINGW_PKG_CONFIG+y}
12918 then :
12919 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12922 if ${ZLIB_PE_LIBS:+false} :
12923 then :
12924 if test ${MINGW_PKG_CONFIG+y}
12925 then :
12926 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12929 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12930 ac_save_CPPFLAGS=$CPPFLAGS
12931 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12933 printf %s "checking for MinGW zlib.h... " >&6; }
12934 if test ${ac_cv_mingw_header_zlib_h+y}
12935 then :
12936 printf %s "(cached) " >&6
12937 else $as_nop
12938 ac_wine_check_headers_saved_cc=$CC
12939 ac_wine_check_headers_saved_exeext=$ac_exeext
12940 eval CC=\$${wine_arch}_CC
12941 ac_exeext=".exe"
12942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12943 /* end confdefs.h. */
12945 #include <zlib.h>
12947 main (void)
12951 return 0;
12953 _ACEOF
12954 if ac_fn_c_try_compile "$LINENO"
12955 then :
12956 ac_cv_mingw_header_zlib_h=yes
12957 else $as_nop
12958 ac_cv_mingw_header_zlib_h=no
12960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12961 CC=$ac_wine_check_headers_saved_cc
12962 ac_exeext=$ac_wine_check_headers_saved_exeext
12964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12965 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12966 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12967 then :
12968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12969 printf %s "checking for inflate in MinGW -lz... " >&6; }
12970 if test ${ac_cv_mingw_lib_z+y}
12971 then :
12972 printf %s "(cached) " >&6
12973 else $as_nop
12974 ac_wine_check_headers_saved_cc=$CC
12975 ac_wine_check_headers_saved_exeext=$ac_exeext
12976 ac_wine_check_headers_saved_libs=$LIBS
12977 eval CC=\$${wine_arch}_CC
12978 ac_exeext=".exe"
12979 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12983 /* Override any GCC internal prototype to avoid an error.
12984 Use char because int might match the return type of a GCC
12985 builtin and then its argument prototype would still apply. */
12986 char inflate ();
12988 main (void)
12990 return inflate ();
12992 return 0;
12994 _ACEOF
12995 if ac_fn_c_try_link "$LINENO"
12996 then :
12997 ac_cv_mingw_lib_z=yes
12998 else $as_nop
12999 ac_cv_mingw_lib_z=no
13001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13002 conftest$ac_exeext conftest.$ac_ext
13003 CC=$ac_wine_check_headers_saved_cc
13004 ac_exeext=$ac_wine_check_headers_saved_exeext
13005 LIBS=$ac_wine_check_headers_saved_libs
13007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13008 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13009 if test "x$ac_cv_mingw_lib_z" = xyes
13010 then :
13012 else $as_nop
13013 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13015 else $as_nop
13016 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13018 CPPFLAGS=$ac_save_CPPFLAGS
13020 if test "x$ZLIB_PE_LIBS" = "x"
13021 then
13022 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13026 if ${FAUDIO_PE_LIBS:+false} :
13027 then :
13028 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13029 if ${FAUDIO_PE_CFLAGS:+false} :
13030 then :
13031 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13032 else $as_nop
13033 enable_faudio=no
13035 else $as_nop
13036 enable_faudio=no
13038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13041 if ${GSM_PE_LIBS:+false} :
13042 then :
13043 GSM_PE_LIBS=gsm
13044 if ${GSM_PE_CFLAGS:+false} :
13045 then :
13046 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13047 else $as_nop
13048 enable_gsm=no
13050 else $as_nop
13051 enable_gsm=no
13053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13056 if ${JPEG_PE_LIBS:+false} :
13057 then :
13058 JPEG_PE_LIBS=jpeg
13059 if ${JPEG_PE_CFLAGS:+false} :
13060 then :
13061 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13062 else $as_nop
13063 enable_jpeg=no
13065 else $as_nop
13066 enable_jpeg=no
13068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13071 if ${JXR_PE_LIBS:+false} :
13072 then :
13073 JXR_PE_LIBS=jxr
13074 if ${JXR_PE_CFLAGS:+false} :
13075 then :
13076 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13077 else $as_nop
13078 enable_jxr=no
13080 else $as_nop
13081 enable_jxr=no
13083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13086 if ${LCMS2_PE_LIBS:+false} :
13087 then :
13088 LCMS2_PE_LIBS=lcms2
13089 if ${LCMS2_PE_CFLAGS:+false} :
13090 then :
13091 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13092 else $as_nop
13093 enable_lcms2=no
13095 else $as_nop
13096 enable_lcms2=no
13098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13101 if ${LDAP_PE_LIBS:+false} :
13102 then :
13103 LDAP_PE_LIBS=ldap
13104 if ${LDAP_PE_CFLAGS:+false} :
13105 then :
13106 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13107 else $as_nop
13108 enable_ldap=no
13110 else $as_nop
13111 enable_ldap=no
13113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13116 if ${MPG123_PE_LIBS:+false} :
13117 then :
13118 MPG123_PE_LIBS=mpg123
13119 if ${MPG123_PE_CFLAGS:+false} :
13120 then :
13121 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13122 else $as_nop
13123 enable_mpg123=no
13125 else $as_nop
13126 enable_mpg123=no
13128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13131 if ${MUSL_PE_LIBS:+false} :
13132 then :
13133 MUSL_PE_LIBS=musl
13134 if ${MUSL_PE_CFLAGS:+false} :
13135 then :
13136 MUSL_PE_CFLAGS=
13137 else $as_nop
13138 enable_musl=no
13140 else $as_nop
13141 enable_musl=no
13143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13146 if ${PNG_PE_LIBS:+false} :
13147 then :
13148 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13149 if ${PNG_PE_CFLAGS:+false} :
13150 then :
13151 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13152 else $as_nop
13153 enable_png=no
13155 else $as_nop
13156 enable_png=no
13158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13161 if ${TIFF_PE_LIBS:+false} :
13162 then :
13163 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13164 if ${TIFF_PE_CFLAGS:+false} :
13165 then :
13166 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13167 else $as_nop
13168 enable_tiff=no
13170 else $as_nop
13171 enable_tiff=no
13173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13176 if ${VKD3D_PE_LIBS:+false} :
13177 then :
13178 VKD3D_PE_LIBS=vkd3d
13179 if ${VKD3D_PE_CFLAGS:+false} :
13180 then :
13181 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13182 else $as_nop
13183 enable_vkd3d=no
13185 else $as_nop
13186 enable_vkd3d=no
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13191 if ${XML2_PE_LIBS:+false} :
13192 then :
13193 XML2_PE_LIBS=xml2
13194 if ${XML2_PE_CFLAGS:+false} :
13195 then :
13196 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13197 else $as_nop
13198 enable_xml2=no
13200 else $as_nop
13201 enable_xml2=no
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13206 if ${XSLT_PE_LIBS:+false} :
13207 then :
13208 XSLT_PE_LIBS=xslt
13209 if ${XSLT_PE_CFLAGS:+false} :
13210 then :
13211 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13212 else $as_nop
13213 enable_xslt=no
13215 else $as_nop
13216 enable_xslt=no
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13221 if ${ZLIB_PE_LIBS:+false} :
13222 then :
13223 ZLIB_PE_LIBS=z
13224 if ${ZLIB_PE_CFLAGS:+false} :
13225 then :
13226 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13227 else $as_nop
13228 enable_zlib=no
13230 else $as_nop
13231 enable_zlib=no
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13236 if ${ZYDIS_PE_LIBS:+false} :
13237 then :
13238 ZYDIS_PE_LIBS=zydis
13239 if ${ZYDIS_PE_CFLAGS:+false} :
13240 then :
13241 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13242 else $as_nop
13243 enable_zydis=no
13245 else $as_nop
13246 enable_zydis=no
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13253 if test "$ac_cv_header_pthread_h" = "yes"
13254 then
13255 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13256 if test "x$ac_cv_func_pthread_create" = xyes
13257 then :
13259 else $as_nop
13260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13261 printf %s "checking for pthread_create in -lpthread... " >&6; }
13262 if test ${ac_cv_lib_pthread_pthread_create+y}
13263 then :
13264 printf %s "(cached) " >&6
13265 else $as_nop
13266 ac_check_lib_save_LIBS=$LIBS
13267 LIBS="-lpthread $LIBS"
13268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h. */
13271 /* Override any GCC internal prototype to avoid an error.
13272 Use char because int might match the return type of a GCC
13273 builtin and then its argument prototype would still apply. */
13274 char pthread_create ();
13276 main (void)
13278 return pthread_create ();
13280 return 0;
13282 _ACEOF
13283 if ac_fn_c_try_link "$LINENO"
13284 then :
13285 ac_cv_lib_pthread_pthread_create=yes
13286 else $as_nop
13287 ac_cv_lib_pthread_pthread_create=no
13289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13290 conftest$ac_exeext conftest.$ac_ext
13291 LIBS=$ac_check_lib_save_LIBS
13293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13294 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13295 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13296 then :
13297 PTHREAD_LIBS="-lpthread"
13304 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13305 then :
13306 case "x$with_pthread" in
13307 xno) ;;
13308 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13309 Wine cannot support threads without libpthread.
13310 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13311 esac
13316 ac_ext=c
13317 ac_cpp='$CPP $CPPFLAGS'
13318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13322 printf %s "checking how to run the C preprocessor... " >&6; }
13323 # On Suns, sometimes $CPP names a directory.
13324 if test -n "$CPP" && test -d "$CPP"; then
13325 CPP=
13327 if test -z "$CPP"; then
13328 if test ${ac_cv_prog_CPP+y}
13329 then :
13330 printf %s "(cached) " >&6
13331 else $as_nop
13332 # Double quotes because $CC needs to be expanded
13333 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13335 ac_preproc_ok=false
13336 for ac_c_preproc_warn_flag in '' yes
13338 # Use a header file that comes with gcc, so configuring glibc
13339 # with a fresh cross-compiler works.
13340 # On the NeXT, cc -E runs the code through the compiler's parser,
13341 # not just through cpp. "Syntax error" is here to catch this case.
13342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13343 /* end confdefs.h. */
13344 #include <limits.h>
13345 Syntax error
13346 _ACEOF
13347 if ac_fn_c_try_cpp "$LINENO"
13348 then :
13350 else $as_nop
13351 # Broken: fails on valid input.
13352 continue
13354 rm -f conftest.err conftest.i conftest.$ac_ext
13356 # OK, works on sane cases. Now check whether nonexistent headers
13357 # can be detected and how.
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h. */
13360 #include <ac_nonexistent.h>
13361 _ACEOF
13362 if ac_fn_c_try_cpp "$LINENO"
13363 then :
13364 # Broken: success on invalid input.
13365 continue
13366 else $as_nop
13367 # Passes both tests.
13368 ac_preproc_ok=:
13369 break
13371 rm -f conftest.err conftest.i conftest.$ac_ext
13373 done
13374 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13375 rm -f conftest.i conftest.err conftest.$ac_ext
13376 if $ac_preproc_ok
13377 then :
13378 break
13381 done
13382 ac_cv_prog_CPP=$CPP
13385 CPP=$ac_cv_prog_CPP
13386 else
13387 ac_cv_prog_CPP=$CPP
13389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13390 printf "%s\n" "$CPP" >&6; }
13391 ac_preproc_ok=false
13392 for ac_c_preproc_warn_flag in '' yes
13394 # Use a header file that comes with gcc, so configuring glibc
13395 # with a fresh cross-compiler works.
13396 # On the NeXT, cc -E runs the code through the compiler's parser,
13397 # not just through cpp. "Syntax error" is here to catch this case.
13398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13399 /* end confdefs.h. */
13400 #include <limits.h>
13401 Syntax error
13402 _ACEOF
13403 if ac_fn_c_try_cpp "$LINENO"
13404 then :
13406 else $as_nop
13407 # Broken: fails on valid input.
13408 continue
13410 rm -f conftest.err conftest.i conftest.$ac_ext
13412 # OK, works on sane cases. Now check whether nonexistent headers
13413 # can be detected and how.
13414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13415 /* end confdefs.h. */
13416 #include <ac_nonexistent.h>
13417 _ACEOF
13418 if ac_fn_c_try_cpp "$LINENO"
13419 then :
13420 # Broken: success on invalid input.
13421 continue
13422 else $as_nop
13423 # Passes both tests.
13424 ac_preproc_ok=:
13425 break
13427 rm -f conftest.err conftest.i conftest.$ac_ext
13429 done
13430 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13431 rm -f conftest.i conftest.err conftest.$ac_ext
13432 if $ac_preproc_ok
13433 then :
13435 else $as_nop
13436 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13437 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13438 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13439 See \`config.log' for more details" "$LINENO" 5; }
13442 ac_ext=c
13443 ac_cpp='$CPP $CPPFLAGS'
13444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13450 printf %s "checking for X... " >&6; }
13453 # Check whether --with-x was given.
13454 if test ${with_x+y}
13455 then :
13456 withval=$with_x;
13459 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13460 if test "x$with_x" = xno; then
13461 # The user explicitly disabled X.
13462 have_x=disabled
13463 else
13464 case $x_includes,$x_libraries in #(
13465 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13466 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13467 then :
13468 printf %s "(cached) " >&6
13469 else $as_nop
13470 # One or both of the vars are not set, and there is no cached value.
13471 ac_x_includes=no
13472 ac_x_libraries=no
13473 # Do we need to do anything special at all?
13474 ac_save_LIBS=$LIBS
13475 LIBS="-lX11 $LIBS"
13476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13477 /* end confdefs.h. */
13478 #include <X11/Xlib.h>
13480 main (void)
13482 XrmInitialize ()
13484 return 0;
13486 _ACEOF
13487 if ac_fn_c_try_link "$LINENO"
13488 then :
13489 # We can compile and link X programs with no special options.
13490 ac_x_includes=
13491 ac_x_libraries=
13493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13494 conftest$ac_exeext conftest.$ac_ext
13495 LIBS="$ac_save_LIBS"
13496 # If that didn't work, only try xmkmf and file system searches
13497 # for native compilation.
13498 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13499 then :
13500 rm -f -r conftest.dir
13501 if mkdir conftest.dir; then
13502 cd conftest.dir
13503 cat >Imakefile <<'_ACEOF'
13504 incroot:
13505 @echo incroot='${INCROOT}'
13506 usrlibdir:
13507 @echo usrlibdir='${USRLIBDIR}'
13508 libdir:
13509 @echo libdir='${LIBDIR}'
13510 _ACEOF
13511 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13512 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13513 for ac_var in incroot usrlibdir libdir; do
13514 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13515 done
13516 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13517 for ac_extension in a so sl dylib la dll; do
13518 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13519 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13520 ac_im_usrlibdir=$ac_im_libdir; break
13522 done
13523 # Screen out bogus values from the imake configuration. They are
13524 # bogus both because they are the default anyway, and because
13525 # using them would break gcc on systems where it needs fixed includes.
13526 case $ac_im_incroot in
13527 /usr/include) ac_x_includes= ;;
13528 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13529 esac
13530 case $ac_im_usrlibdir in
13531 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13532 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13533 esac
13535 cd ..
13536 rm -f -r conftest.dir
13539 # Standard set of common directories for X headers.
13540 # Check X11 before X11Rn because it is often a symlink to the current release.
13541 ac_x_header_dirs='
13542 /usr/X11/include
13543 /usr/X11R7/include
13544 /usr/X11R6/include
13545 /usr/X11R5/include
13546 /usr/X11R4/include
13548 /usr/include/X11
13549 /usr/include/X11R7
13550 /usr/include/X11R6
13551 /usr/include/X11R5
13552 /usr/include/X11R4
13554 /usr/local/X11/include
13555 /usr/local/X11R7/include
13556 /usr/local/X11R6/include
13557 /usr/local/X11R5/include
13558 /usr/local/X11R4/include
13560 /usr/local/include/X11
13561 /usr/local/include/X11R7
13562 /usr/local/include/X11R6
13563 /usr/local/include/X11R5
13564 /usr/local/include/X11R4
13566 /opt/X11/include
13568 /usr/X386/include
13569 /usr/x386/include
13570 /usr/XFree86/include/X11
13572 /usr/include
13573 /usr/local/include
13574 /usr/unsupported/include
13575 /usr/athena/include
13576 /usr/local/x11r5/include
13577 /usr/lpp/Xamples/include
13579 /usr/openwin/include
13580 /usr/openwin/share/include'
13582 if test "$ac_x_includes" = no; then
13583 # Guess where to find include files, by looking for Xlib.h.
13584 # First, try using that file with no special directory specified.
13585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13586 /* end confdefs.h. */
13587 #include <X11/Xlib.h>
13588 _ACEOF
13589 if ac_fn_c_try_cpp "$LINENO"
13590 then :
13591 # We can compile using X headers with no special include directory.
13592 ac_x_includes=
13593 else $as_nop
13594 for ac_dir in $ac_x_header_dirs; do
13595 if test -r "$ac_dir/X11/Xlib.h"; then
13596 ac_x_includes=$ac_dir
13597 break
13599 done
13601 rm -f conftest.err conftest.i conftest.$ac_ext
13602 fi # $ac_x_includes = no
13604 if test "$ac_x_libraries" = no; then
13605 # Check for the libraries.
13606 # See if we find them without any special options.
13607 # Don't add to $LIBS permanently.
13608 ac_save_LIBS=$LIBS
13609 LIBS="-lX11 $LIBS"
13610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13611 /* end confdefs.h. */
13612 #include <X11/Xlib.h>
13614 main (void)
13616 XrmInitialize ()
13618 return 0;
13620 _ACEOF
13621 if ac_fn_c_try_link "$LINENO"
13622 then :
13623 LIBS=$ac_save_LIBS
13624 # We can link X programs with no special library path.
13625 ac_x_libraries=
13626 else $as_nop
13627 LIBS=$ac_save_LIBS
13628 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13630 # Don't even attempt the hair of trying to link an X program!
13631 for ac_extension in a so sl dylib la dll; do
13632 if test -r "$ac_dir/libX11.$ac_extension"; then
13633 ac_x_libraries=$ac_dir
13634 break 2
13636 done
13637 done
13639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13640 conftest$ac_exeext conftest.$ac_ext
13641 fi # $ac_x_libraries = no
13644 # Record the results.
13645 case $ac_x_includes,$ac_x_libraries in #(
13646 no,* | *,no | *\'*) :
13647 # Didn't find X, or a directory has "'" in its name.
13648 ac_cv_have_x="have_x=no" ;; #(
13649 *) :
13650 # Record where we found X for the cache.
13651 ac_cv_have_x="have_x=yes\
13652 ac_x_includes='$ac_x_includes'\
13653 ac_x_libraries='$ac_x_libraries'" ;;
13654 esac
13656 ;; #(
13657 *) have_x=yes;;
13658 esac
13659 eval "$ac_cv_have_x"
13660 fi # $with_x != no
13662 if test "$have_x" != yes; then
13663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13664 printf "%s\n" "$have_x" >&6; }
13665 no_x=yes
13666 else
13667 # If each of the values was on the command line, it overrides each guess.
13668 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13669 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13670 # Update the cache value to reflect the command line values.
13671 ac_cv_have_x="have_x=yes\
13672 ac_x_includes='$x_includes'\
13673 ac_x_libraries='$x_libraries'"
13674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13675 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13678 if test "$no_x" = yes; then
13679 # Not all programs may use this symbol, but it does not hurt to define it.
13681 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13683 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13684 else
13685 if test -n "$x_includes"; then
13686 X_CFLAGS="$X_CFLAGS -I$x_includes"
13689 # It would also be nice to do this for all -L options, not just this one.
13690 if test -n "$x_libraries"; then
13691 X_LIBS="$X_LIBS -L$x_libraries"
13692 # For Solaris; some versions of Sun CC require a space after -R and
13693 # others require no space. Words are not sufficient . . . .
13694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13695 printf %s "checking whether -R must be followed by a space... " >&6; }
13696 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13697 ac_xsave_c_werror_flag=$ac_c_werror_flag
13698 ac_c_werror_flag=yes
13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13703 main (void)
13707 return 0;
13709 _ACEOF
13710 if ac_fn_c_try_link "$LINENO"
13711 then :
13712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13713 printf "%s\n" "no" >&6; }
13714 X_LIBS="$X_LIBS -R$x_libraries"
13715 else $as_nop
13716 LIBS="$ac_xsave_LIBS -R $x_libraries"
13717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13718 /* end confdefs.h. */
13721 main (void)
13725 return 0;
13727 _ACEOF
13728 if ac_fn_c_try_link "$LINENO"
13729 then :
13730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13731 printf "%s\n" "yes" >&6; }
13732 X_LIBS="$X_LIBS -R $x_libraries"
13733 else $as_nop
13734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13735 printf "%s\n" "neither works" >&6; }
13737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13738 conftest$ac_exeext conftest.$ac_ext
13740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13741 conftest$ac_exeext conftest.$ac_ext
13742 ac_c_werror_flag=$ac_xsave_c_werror_flag
13743 LIBS=$ac_xsave_LIBS
13746 # Check for system-dependent libraries X programs must link with.
13747 # Do this before checking for the system-independent R6 libraries
13748 # (-lICE), since we may need -lsocket or whatever for X linking.
13750 if test "$ISC" = yes; then
13751 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13752 else
13753 # Martyn Johnson says this is needed for Ultrix, if the X
13754 # libraries were built with DECnet support. And Karl Berry says
13755 # the Alpha needs dnet_stub (dnet does not exist).
13756 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13760 /* Override any GCC internal prototype to avoid an error.
13761 Use char because int might match the return type of a GCC
13762 builtin and then its argument prototype would still apply. */
13763 char XOpenDisplay ();
13765 main (void)
13767 return XOpenDisplay ();
13769 return 0;
13771 _ACEOF
13772 if ac_fn_c_try_link "$LINENO"
13773 then :
13775 else $as_nop
13776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13777 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13778 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13779 then :
13780 printf %s "(cached) " >&6
13781 else $as_nop
13782 ac_check_lib_save_LIBS=$LIBS
13783 LIBS="-ldnet $LIBS"
13784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13785 /* end confdefs.h. */
13787 /* Override any GCC internal prototype to avoid an error.
13788 Use char because int might match the return type of a GCC
13789 builtin and then its argument prototype would still apply. */
13790 char dnet_ntoa ();
13792 main (void)
13794 return dnet_ntoa ();
13796 return 0;
13798 _ACEOF
13799 if ac_fn_c_try_link "$LINENO"
13800 then :
13801 ac_cv_lib_dnet_dnet_ntoa=yes
13802 else $as_nop
13803 ac_cv_lib_dnet_dnet_ntoa=no
13805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13806 conftest$ac_exeext conftest.$ac_ext
13807 LIBS=$ac_check_lib_save_LIBS
13809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13810 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13811 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13812 then :
13813 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13816 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13818 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13819 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13820 then :
13821 printf %s "(cached) " >&6
13822 else $as_nop
13823 ac_check_lib_save_LIBS=$LIBS
13824 LIBS="-ldnet_stub $LIBS"
13825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13828 /* Override any GCC internal prototype to avoid an error.
13829 Use char because int might match the return type of a GCC
13830 builtin and then its argument prototype would still apply. */
13831 char dnet_ntoa ();
13833 main (void)
13835 return dnet_ntoa ();
13837 return 0;
13839 _ACEOF
13840 if ac_fn_c_try_link "$LINENO"
13841 then :
13842 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13843 else $as_nop
13844 ac_cv_lib_dnet_stub_dnet_ntoa=no
13846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13847 conftest$ac_exeext conftest.$ac_ext
13848 LIBS=$ac_check_lib_save_LIBS
13850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13851 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13852 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13853 then :
13854 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13860 conftest$ac_exeext conftest.$ac_ext
13861 LIBS="$ac_xsave_LIBS"
13863 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13864 # to get the SysV transport functions.
13865 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13866 # needs -lnsl.
13867 # The nsl library prevents programs from opening the X display
13868 # on Irix 5.2, according to T.E. Dickey.
13869 # The functions gethostbyname, getservbyname, and inet_addr are
13870 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13871 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13872 if test "x$ac_cv_func_gethostbyname" = xyes
13873 then :
13877 if test $ac_cv_func_gethostbyname = no; then
13878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13879 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13880 if test ${ac_cv_lib_nsl_gethostbyname+y}
13881 then :
13882 printf %s "(cached) " >&6
13883 else $as_nop
13884 ac_check_lib_save_LIBS=$LIBS
13885 LIBS="-lnsl $LIBS"
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13889 /* Override any GCC internal prototype to avoid an error.
13890 Use char because int might match the return type of a GCC
13891 builtin and then its argument prototype would still apply. */
13892 char gethostbyname ();
13894 main (void)
13896 return gethostbyname ();
13898 return 0;
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"
13902 then :
13903 ac_cv_lib_nsl_gethostbyname=yes
13904 else $as_nop
13905 ac_cv_lib_nsl_gethostbyname=no
13907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13908 conftest$ac_exeext conftest.$ac_ext
13909 LIBS=$ac_check_lib_save_LIBS
13911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13912 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13913 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13914 then :
13915 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13918 if test $ac_cv_lib_nsl_gethostbyname = no; then
13919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13920 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13921 if test ${ac_cv_lib_bsd_gethostbyname+y}
13922 then :
13923 printf %s "(cached) " >&6
13924 else $as_nop
13925 ac_check_lib_save_LIBS=$LIBS
13926 LIBS="-lbsd $LIBS"
13927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13928 /* end confdefs.h. */
13930 /* Override any GCC internal prototype to avoid an error.
13931 Use char because int might match the return type of a GCC
13932 builtin and then its argument prototype would still apply. */
13933 char gethostbyname ();
13935 main (void)
13937 return gethostbyname ();
13939 return 0;
13941 _ACEOF
13942 if ac_fn_c_try_link "$LINENO"
13943 then :
13944 ac_cv_lib_bsd_gethostbyname=yes
13945 else $as_nop
13946 ac_cv_lib_bsd_gethostbyname=no
13948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13949 conftest$ac_exeext conftest.$ac_ext
13950 LIBS=$ac_check_lib_save_LIBS
13952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13953 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13954 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13955 then :
13956 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13962 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13963 # socket/setsockopt and other routines are undefined under SCO ODT
13964 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13965 # on later versions), says Simon Leinen: it contains gethostby*
13966 # variants that don't use the name server (or something). -lsocket
13967 # must be given before -lnsl if both are needed. We assume that
13968 # if connect needs -lnsl, so does gethostbyname.
13969 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13970 if test "x$ac_cv_func_connect" = xyes
13971 then :
13975 if test $ac_cv_func_connect = no; then
13976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13977 printf %s "checking for connect in -lsocket... " >&6; }
13978 if test ${ac_cv_lib_socket_connect+y}
13979 then :
13980 printf %s "(cached) " >&6
13981 else $as_nop
13982 ac_check_lib_save_LIBS=$LIBS
13983 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13985 /* end confdefs.h. */
13987 /* Override any GCC internal prototype to avoid an error.
13988 Use char because int might match the return type of a GCC
13989 builtin and then its argument prototype would still apply. */
13990 char connect ();
13992 main (void)
13994 return connect ();
13996 return 0;
13998 _ACEOF
13999 if ac_fn_c_try_link "$LINENO"
14000 then :
14001 ac_cv_lib_socket_connect=yes
14002 else $as_nop
14003 ac_cv_lib_socket_connect=no
14005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14006 conftest$ac_exeext conftest.$ac_ext
14007 LIBS=$ac_check_lib_save_LIBS
14009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14010 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14011 if test "x$ac_cv_lib_socket_connect" = xyes
14012 then :
14013 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14018 # Guillermo Gomez says -lposix is necessary on A/UX.
14019 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14020 if test "x$ac_cv_func_remove" = xyes
14021 then :
14025 if test $ac_cv_func_remove = no; then
14026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14027 printf %s "checking for remove in -lposix... " >&6; }
14028 if test ${ac_cv_lib_posix_remove+y}
14029 then :
14030 printf %s "(cached) " >&6
14031 else $as_nop
14032 ac_check_lib_save_LIBS=$LIBS
14033 LIBS="-lposix $LIBS"
14034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14037 /* Override any GCC internal prototype to avoid an error.
14038 Use char because int might match the return type of a GCC
14039 builtin and then its argument prototype would still apply. */
14040 char remove ();
14042 main (void)
14044 return remove ();
14046 return 0;
14048 _ACEOF
14049 if ac_fn_c_try_link "$LINENO"
14050 then :
14051 ac_cv_lib_posix_remove=yes
14052 else $as_nop
14053 ac_cv_lib_posix_remove=no
14055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14056 conftest$ac_exeext conftest.$ac_ext
14057 LIBS=$ac_check_lib_save_LIBS
14059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14060 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14061 if test "x$ac_cv_lib_posix_remove" = xyes
14062 then :
14063 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14068 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14069 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14070 if test "x$ac_cv_func_shmat" = xyes
14071 then :
14075 if test $ac_cv_func_shmat = no; then
14076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14077 printf %s "checking for shmat in -lipc... " >&6; }
14078 if test ${ac_cv_lib_ipc_shmat+y}
14079 then :
14080 printf %s "(cached) " >&6
14081 else $as_nop
14082 ac_check_lib_save_LIBS=$LIBS
14083 LIBS="-lipc $LIBS"
14084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14085 /* end confdefs.h. */
14087 /* Override any GCC internal prototype to avoid an error.
14088 Use char because int might match the return type of a GCC
14089 builtin and then its argument prototype would still apply. */
14090 char shmat ();
14092 main (void)
14094 return shmat ();
14096 return 0;
14098 _ACEOF
14099 if ac_fn_c_try_link "$LINENO"
14100 then :
14101 ac_cv_lib_ipc_shmat=yes
14102 else $as_nop
14103 ac_cv_lib_ipc_shmat=no
14105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14106 conftest$ac_exeext conftest.$ac_ext
14107 LIBS=$ac_check_lib_save_LIBS
14109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14110 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14111 if test "x$ac_cv_lib_ipc_shmat" = xyes
14112 then :
14113 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14119 # Check for libraries that X11R6 Xt/Xaw programs need.
14120 ac_save_LDFLAGS=$LDFLAGS
14121 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14122 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14123 # check for ICE first), but we must link in the order -lSM -lICE or
14124 # we get undefined symbols. So assume we have SM if we have ICE.
14125 # These have to be linked with before -lX11, unlike the other
14126 # libraries we check for below, so use a different variable.
14127 # John Interrante, Karl Berry
14128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14129 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14130 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14131 then :
14132 printf %s "(cached) " >&6
14133 else $as_nop
14134 ac_check_lib_save_LIBS=$LIBS
14135 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14139 /* Override any GCC internal prototype to avoid an error.
14140 Use char because int might match the return type of a GCC
14141 builtin and then its argument prototype would still apply. */
14142 char IceConnectionNumber ();
14144 main (void)
14146 return IceConnectionNumber ();
14148 return 0;
14150 _ACEOF
14151 if ac_fn_c_try_link "$LINENO"
14152 then :
14153 ac_cv_lib_ICE_IceConnectionNumber=yes
14154 else $as_nop
14155 ac_cv_lib_ICE_IceConnectionNumber=no
14157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14158 conftest$ac_exeext conftest.$ac_ext
14159 LIBS=$ac_check_lib_save_LIBS
14161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14162 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14163 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14164 then :
14165 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14168 LDFLAGS=$ac_save_LDFLAGS
14173 if test "$have_x" = "yes"
14174 then
14175 ac_save_CPPFLAGS="$CPPFLAGS"
14176 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14179 printf %s "checking for -lX11... " >&6; }
14180 if test ${ac_cv_lib_soname_X11+y}
14181 then :
14182 printf %s "(cached) " >&6
14183 else $as_nop
14184 ac_check_soname_save_LIBS=$LIBS
14185 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14189 /* Override any GCC internal prototype to avoid an error.
14190 Use char because int might match the return type of a GCC
14191 builtin and then its argument prototype would still apply. */
14192 char XCreateWindow ();
14194 main (void)
14196 return XCreateWindow ();
14198 return 0;
14200 _ACEOF
14201 if ac_fn_c_try_link "$LINENO"
14202 then :
14203 case "$LIBEXT" in
14204 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14205 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'` ;;
14206 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14207 if ${ac_cv_lib_soname_X11:+false} :
14208 then :
14209 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14210 fi ;;
14211 esac
14212 else $as_nop
14213 ac_cv_lib_soname_X11=
14215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14216 conftest$ac_exeext conftest.$ac_ext
14217 LIBS=$ac_check_soname_save_LIBS
14219 if ${ac_cv_lib_soname_X11:+false} :
14220 then :
14221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14222 printf "%s\n" "not found" >&6; }
14224 else $as_nop
14225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14226 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14228 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14233 printf %s "checking for -lXext... " >&6; }
14234 if test ${ac_cv_lib_soname_Xext+y}
14235 then :
14236 printf %s "(cached) " >&6
14237 else $as_nop
14238 ac_check_soname_save_LIBS=$LIBS
14239 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14243 /* Override any GCC internal prototype to avoid an error.
14244 Use char because int might match the return type of a GCC
14245 builtin and then its argument prototype would still apply. */
14246 char XextCreateExtension ();
14248 main (void)
14250 return XextCreateExtension ();
14252 return 0;
14254 _ACEOF
14255 if ac_fn_c_try_link "$LINENO"
14256 then :
14257 case "$LIBEXT" in
14258 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14259 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'` ;;
14260 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14261 if ${ac_cv_lib_soname_Xext:+false} :
14262 then :
14263 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14264 fi ;;
14265 esac
14266 else $as_nop
14267 ac_cv_lib_soname_Xext=
14269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14270 conftest$ac_exeext conftest.$ac_ext
14271 LIBS=$ac_check_soname_save_LIBS
14273 if ${ac_cv_lib_soname_Xext:+false} :
14274 then :
14275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14276 printf "%s\n" "not found" >&6; }
14278 else $as_nop
14279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14280 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14282 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14284 X_LIBS="$X_LIBS -lXext"
14286 X_LIBS="$X_LIBS -lX11"
14288 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14289 # include <X11/Xlib.h>
14290 #endif
14291 #ifdef HAVE_X11_XUTIL_H
14292 # include <X11/Xutil.h>
14293 #endif
14295 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14296 then :
14297 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14300 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14301 # include <X11/Xlib.h>
14302 #endif
14303 #ifdef HAVE_X11_XUTIL_H
14304 # include <X11/Xutil.h>
14305 #endif
14307 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14308 then :
14309 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14312 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14313 # include <X11/Xlib.h>
14314 #endif
14315 #ifdef HAVE_X11_XUTIL_H
14316 # include <X11/Xutil.h>
14317 #endif
14319 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14320 then :
14321 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14324 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14325 # include <X11/Xlib.h>
14326 #endif
14327 #ifdef HAVE_X11_XUTIL_H
14328 # include <X11/Xutil.h>
14329 #endif
14331 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14332 then :
14333 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14336 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14337 # include <X11/Xlib.h>
14338 #endif
14339 #ifdef HAVE_X11_XUTIL_H
14340 # include <X11/Xutil.h>
14341 #endif
14343 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14344 then :
14345 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14348 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14349 # include <X11/Xlib.h>
14350 #endif
14351 #ifdef HAVE_X11_XUTIL_H
14352 # include <X11/Xutil.h>
14353 #endif
14355 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14356 then :
14357 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14360 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14361 # include <X11/Xlib.h>
14362 #endif
14363 #ifdef HAVE_X11_XUTIL_H
14364 # include <X11/Xutil.h>
14365 #endif
14367 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14368 then :
14369 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14372 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14373 # include <X11/Xlib.h>
14374 #endif
14375 #ifdef HAVE_X11_XUTIL_H
14376 # include <X11/Xutil.h>
14377 #endif
14379 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14380 then :
14381 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14384 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14385 # include <X11/Xlib.h>
14386 #endif
14387 #ifdef HAVE_X11_XUTIL_H
14388 # include <X11/Xutil.h>
14389 #endif
14391 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14392 then :
14393 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14396 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14397 # include <X11/Xlib.h>
14398 #endif
14399 #ifdef HAVE_X11_XUTIL_H
14400 # include <X11/Xutil.h>
14401 #endif
14403 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14404 then :
14405 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14408 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14409 # include <X11/Xlib.h>
14410 #endif
14411 #ifdef HAVE_X11_XUTIL_H
14412 # include <X11/Xutil.h>
14413 #endif
14415 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14416 then :
14417 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14420 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14421 # include <X11/Xlib.h>
14422 #endif
14423 #ifdef HAVE_X11_XUTIL_H
14424 # include <X11/Xutil.h>
14425 #endif
14427 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14428 then :
14429 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14432 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14433 # include <X11/Xlib.h>
14434 #endif
14435 #ifdef HAVE_X11_XUTIL_H
14436 # include <X11/Xutil.h>
14437 #endif
14439 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14440 then :
14441 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14444 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14445 # include <X11/Xlib.h>
14446 #endif
14447 #ifdef HAVE_X11_XUTIL_H
14448 # include <X11/Xutil.h>
14449 #endif
14451 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14452 then :
14453 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14456 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14457 # include <X11/Xlib.h>
14458 #endif
14459 #ifdef HAVE_X11_XUTIL_H
14460 # include <X11/Xutil.h>
14461 #endif
14463 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14464 then :
14465 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14470 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14471 then
14472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14473 printf %s "checking for -lXcursor... " >&6; }
14474 if test ${ac_cv_lib_soname_Xcursor+y}
14475 then :
14476 printf %s "(cached) " >&6
14477 else $as_nop
14478 ac_check_soname_save_LIBS=$LIBS
14479 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14481 /* end confdefs.h. */
14483 /* Override any GCC internal prototype to avoid an error.
14484 Use char because int might match the return type of a GCC
14485 builtin and then its argument prototype would still apply. */
14486 char XcursorImageLoadCursor ();
14488 main (void)
14490 return XcursorImageLoadCursor ();
14492 return 0;
14494 _ACEOF
14495 if ac_fn_c_try_link "$LINENO"
14496 then :
14497 case "$LIBEXT" in
14498 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14499 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'` ;;
14500 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14501 if ${ac_cv_lib_soname_Xcursor:+false} :
14502 then :
14503 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14504 fi ;;
14505 esac
14506 else $as_nop
14507 ac_cv_lib_soname_Xcursor=
14509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14510 conftest$ac_exeext conftest.$ac_ext
14511 LIBS=$ac_check_soname_save_LIBS
14513 if ${ac_cv_lib_soname_Xcursor:+false} :
14514 then :
14515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14516 printf "%s\n" "not found" >&6; }
14518 else $as_nop
14519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14520 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14522 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14527 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14528 then :
14529 case "x$with_xcursor" in
14530 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14531 xno) ;;
14532 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14533 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14534 esac
14538 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14539 then
14540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14541 printf %s "checking for -lXi... " >&6; }
14542 if test ${ac_cv_lib_soname_Xi+y}
14543 then :
14544 printf %s "(cached) " >&6
14545 else $as_nop
14546 ac_check_soname_save_LIBS=$LIBS
14547 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14551 /* Override any GCC internal prototype to avoid an error.
14552 Use char because int might match the return type of a GCC
14553 builtin and then its argument prototype would still apply. */
14554 char XOpenDevice ();
14556 main (void)
14558 return XOpenDevice ();
14560 return 0;
14562 _ACEOF
14563 if ac_fn_c_try_link "$LINENO"
14564 then :
14565 case "$LIBEXT" in
14566 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14567 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'` ;;
14568 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14569 if ${ac_cv_lib_soname_Xi:+false} :
14570 then :
14571 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14572 fi ;;
14573 esac
14574 else $as_nop
14575 ac_cv_lib_soname_Xi=
14577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14578 conftest$ac_exeext conftest.$ac_ext
14579 LIBS=$ac_check_soname_save_LIBS
14581 if ${ac_cv_lib_soname_Xi:+false} :
14582 then :
14583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14584 printf "%s\n" "not found" >&6; }
14586 else $as_nop
14587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14588 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14590 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14595 if test "x$ac_cv_lib_soname_Xi" = "x"
14596 then :
14597 case "x$with_xinput" in
14598 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14599 xno) ;;
14600 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14601 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14602 esac
14606 if test "x$ac_cv_lib_soname_Xi" != x
14607 then
14608 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14609 then :
14610 case "x$with_xinput2" in
14611 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14612 xno) ;;
14613 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14614 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14615 esac
14620 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14621 then
14622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14623 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14624 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14625 then :
14626 printf %s "(cached) " >&6
14627 else $as_nop
14628 ac_check_lib_save_LIBS=$LIBS
14629 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14631 /* end confdefs.h. */
14633 /* Override any GCC internal prototype to avoid an error.
14634 Use char because int might match the return type of a GCC
14635 builtin and then its argument prototype would still apply. */
14636 char XShmQueryExtension ();
14638 main (void)
14640 return XShmQueryExtension ();
14642 return 0;
14644 _ACEOF
14645 if ac_fn_c_try_link "$LINENO"
14646 then :
14647 ac_cv_lib_Xext_XShmQueryExtension=yes
14648 else $as_nop
14649 ac_cv_lib_Xext_XShmQueryExtension=no
14651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14652 conftest$ac_exeext conftest.$ac_ext
14653 LIBS=$ac_check_lib_save_LIBS
14655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14656 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14657 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14658 then :
14660 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14665 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14666 then :
14667 case "x$with_xshm" in
14668 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14669 xno) ;;
14670 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14671 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14672 esac
14676 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14677 then
14678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14679 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14680 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14681 then :
14682 printf %s "(cached) " >&6
14683 else $as_nop
14684 ac_check_lib_save_LIBS=$LIBS
14685 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14687 /* end confdefs.h. */
14689 /* Override any GCC internal prototype to avoid an error.
14690 Use char because int might match the return type of a GCC
14691 builtin and then its argument prototype would still apply. */
14692 char XShapeQueryExtension ();
14694 main (void)
14696 return XShapeQueryExtension ();
14698 return 0;
14700 _ACEOF
14701 if ac_fn_c_try_link "$LINENO"
14702 then :
14703 ac_cv_lib_Xext_XShapeQueryExtension=yes
14704 else $as_nop
14705 ac_cv_lib_Xext_XShapeQueryExtension=no
14707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14708 conftest$ac_exeext conftest.$ac_ext
14709 LIBS=$ac_check_lib_save_LIBS
14711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14712 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14713 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14714 then :
14716 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14721 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14722 then :
14723 case "x$with_xshape" in
14724 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14725 xno) ;;
14726 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14727 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14728 esac
14732 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14733 then
14734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14735 printf %s "checking for -lXxf86vm... " >&6; }
14736 if test ${ac_cv_lib_soname_Xxf86vm+y}
14737 then :
14738 printf %s "(cached) " >&6
14739 else $as_nop
14740 ac_check_soname_save_LIBS=$LIBS
14741 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14743 /* end confdefs.h. */
14745 /* Override any GCC internal prototype to avoid an error.
14746 Use char because int might match the return type of a GCC
14747 builtin and then its argument prototype would still apply. */
14748 char XF86VidModeQueryExtension ();
14750 main (void)
14752 return XF86VidModeQueryExtension ();
14754 return 0;
14756 _ACEOF
14757 if ac_fn_c_try_link "$LINENO"
14758 then :
14759 case "$LIBEXT" in
14760 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14761 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'` ;;
14762 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14763 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14764 then :
14765 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14766 fi ;;
14767 esac
14768 else $as_nop
14769 ac_cv_lib_soname_Xxf86vm=
14771 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14772 conftest$ac_exeext conftest.$ac_ext
14773 LIBS=$ac_check_soname_save_LIBS
14775 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14776 then :
14777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14778 printf "%s\n" "not found" >&6; }
14780 else $as_nop
14781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14782 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14784 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14789 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14790 then :
14791 case "x$with_xxf86vm" in
14792 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14793 xno) ;;
14794 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14795 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14796 esac
14800 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14801 then
14802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14803 printf %s "checking for -lXrender... " >&6; }
14804 if test ${ac_cv_lib_soname_Xrender+y}
14805 then :
14806 printf %s "(cached) " >&6
14807 else $as_nop
14808 ac_check_soname_save_LIBS=$LIBS
14809 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14811 /* end confdefs.h. */
14813 /* Override any GCC internal prototype to avoid an error.
14814 Use char because int might match the return type of a GCC
14815 builtin and then its argument prototype would still apply. */
14816 char XRenderQueryExtension ();
14818 main (void)
14820 return XRenderQueryExtension ();
14822 return 0;
14824 _ACEOF
14825 if ac_fn_c_try_link "$LINENO"
14826 then :
14827 case "$LIBEXT" in
14828 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14829 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'` ;;
14830 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14831 if ${ac_cv_lib_soname_Xrender:+false} :
14832 then :
14833 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14834 fi ;;
14835 esac
14836 else $as_nop
14837 ac_cv_lib_soname_Xrender=
14839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14840 conftest$ac_exeext conftest.$ac_ext
14841 LIBS=$ac_check_soname_save_LIBS
14843 if ${ac_cv_lib_soname_Xrender:+false} :
14844 then :
14845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14846 printf "%s\n" "not found" >&6; }
14848 else $as_nop
14849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14850 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14852 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14855 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14856 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14857 then :
14858 printf %s "(cached) " >&6
14859 else $as_nop
14860 ac_check_lib_save_LIBS=$LIBS
14861 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14863 /* end confdefs.h. */
14865 /* Override any GCC internal prototype to avoid an error.
14866 Use char because int might match the return type of a GCC
14867 builtin and then its argument prototype would still apply. */
14868 char XRenderSetPictureTransform ();
14870 main (void)
14872 return XRenderSetPictureTransform ();
14874 return 0;
14876 _ACEOF
14877 if ac_fn_c_try_link "$LINENO"
14878 then :
14879 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14880 else $as_nop
14881 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14884 conftest$ac_exeext conftest.$ac_ext
14885 LIBS=$ac_check_lib_save_LIBS
14887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14888 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14889 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14890 then :
14892 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14897 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14898 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14899 then :
14900 printf %s "(cached) " >&6
14901 else $as_nop
14902 ac_check_lib_save_LIBS=$LIBS
14903 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14907 /* Override any GCC internal prototype to avoid an error.
14908 Use char because int might match the return type of a GCC
14909 builtin and then its argument prototype would still apply. */
14910 char XRenderCreateLinearGradient ();
14912 main (void)
14914 return XRenderCreateLinearGradient ();
14916 return 0;
14918 _ACEOF
14919 if ac_fn_c_try_link "$LINENO"
14920 then :
14921 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14922 else $as_nop
14923 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14926 conftest$ac_exeext conftest.$ac_ext
14927 LIBS=$ac_check_lib_save_LIBS
14929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14930 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14931 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14932 then :
14934 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14941 if test "x$ac_cv_lib_soname_Xrender" = "x"
14942 then :
14943 case "x$with_xrender" in
14944 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14945 xno) ;;
14946 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14947 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14948 esac
14952 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14953 then
14954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14956 #include <X11/Xlib.h>
14957 #include <X11/extensions/Xrandr.h>
14959 main (void)
14961 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14963 return 0;
14965 _ACEOF
14966 if ac_fn_c_try_compile "$LINENO"
14967 then :
14968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14969 printf %s "checking for -lXrandr... " >&6; }
14970 if test ${ac_cv_lib_soname_Xrandr+y}
14971 then :
14972 printf %s "(cached) " >&6
14973 else $as_nop
14974 ac_check_soname_save_LIBS=$LIBS
14975 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14979 /* Override any GCC internal prototype to avoid an error.
14980 Use char because int might match the return type of a GCC
14981 builtin and then its argument prototype would still apply. */
14982 char XRRQueryExtension ();
14984 main (void)
14986 return XRRQueryExtension ();
14988 return 0;
14990 _ACEOF
14991 if ac_fn_c_try_link "$LINENO"
14992 then :
14993 case "$LIBEXT" in
14994 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14995 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'` ;;
14996 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14997 if ${ac_cv_lib_soname_Xrandr:+false} :
14998 then :
14999 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15000 fi ;;
15001 esac
15002 else $as_nop
15003 ac_cv_lib_soname_Xrandr=
15005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15006 conftest$ac_exeext conftest.$ac_ext
15007 LIBS=$ac_check_soname_save_LIBS
15009 if ${ac_cv_lib_soname_Xrandr:+false} :
15010 then :
15011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15012 printf "%s\n" "not found" >&6; }
15014 else $as_nop
15015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15016 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15018 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15022 #include <X11/Xlib.h>
15023 #include <X11/extensions/Xrandr.h>
15025 main (void)
15027 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15029 return 0;
15031 _ACEOF
15032 if ac_fn_c_try_compile "$LINENO"
15033 then :
15035 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15037 else $as_nop
15038 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15045 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15046 then :
15047 case "x$with_xrandr" in
15048 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15049 xno) ;;
15050 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15051 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15052 esac
15056 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15057 then
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15060 #include <X11/Xlib.h>
15061 #include <X11/extensions/Xfixes.h>
15063 main (void)
15065 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15067 return 0;
15069 _ACEOF
15070 if ac_fn_c_try_compile "$LINENO"
15071 then :
15072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15073 printf %s "checking for -lXfixes... " >&6; }
15074 if test ${ac_cv_lib_soname_Xfixes+y}
15075 then :
15076 printf %s "(cached) " >&6
15077 else $as_nop
15078 ac_check_soname_save_LIBS=$LIBS
15079 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15083 /* Override any GCC internal prototype to avoid an error.
15084 Use char because int might match the return type of a GCC
15085 builtin and then its argument prototype would still apply. */
15086 char XFixesQueryVersion ();
15088 main (void)
15090 return XFixesQueryVersion ();
15092 return 0;
15094 _ACEOF
15095 if ac_fn_c_try_link "$LINENO"
15096 then :
15097 case "$LIBEXT" in
15098 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15099 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'` ;;
15100 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15101 if ${ac_cv_lib_soname_Xfixes:+false} :
15102 then :
15103 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15104 fi ;;
15105 esac
15106 else $as_nop
15107 ac_cv_lib_soname_Xfixes=
15109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15110 conftest$ac_exeext conftest.$ac_ext
15111 LIBS=$ac_check_soname_save_LIBS
15113 if ${ac_cv_lib_soname_Xfixes:+false} :
15114 then :
15115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15116 printf "%s\n" "not found" >&6; }
15118 else $as_nop
15119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15120 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15122 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15129 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15130 then :
15131 case "x$with_xfixes" in
15132 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15133 xno) ;;
15134 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15135 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15136 esac
15140 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15141 then
15142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15144 #include <X11/Xlib.h>
15145 #include <X11/extensions/Xinerama.h>
15147 main (void)
15149 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15151 return 0;
15153 _ACEOF
15154 if ac_fn_c_try_compile "$LINENO"
15155 then :
15156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15157 printf %s "checking for -lXinerama... " >&6; }
15158 if test ${ac_cv_lib_soname_Xinerama+y}
15159 then :
15160 printf %s "(cached) " >&6
15161 else $as_nop
15162 ac_check_soname_save_LIBS=$LIBS
15163 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15167 /* Override any GCC internal prototype to avoid an error.
15168 Use char because int might match the return type of a GCC
15169 builtin and then its argument prototype would still apply. */
15170 char XineramaQueryScreens ();
15172 main (void)
15174 return XineramaQueryScreens ();
15176 return 0;
15178 _ACEOF
15179 if ac_fn_c_try_link "$LINENO"
15180 then :
15181 case "$LIBEXT" in
15182 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15183 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'` ;;
15184 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15185 if ${ac_cv_lib_soname_Xinerama:+false} :
15186 then :
15187 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15188 fi ;;
15189 esac
15190 else $as_nop
15191 ac_cv_lib_soname_Xinerama=
15193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15194 conftest$ac_exeext conftest.$ac_ext
15195 LIBS=$ac_check_soname_save_LIBS
15197 if ${ac_cv_lib_soname_Xinerama:+false} :
15198 then :
15199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15200 printf "%s\n" "not found" >&6; }
15202 else $as_nop
15203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15204 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15206 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15211 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15213 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15214 then :
15215 case "x$with_xinerama" in
15216 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15217 xno) ;;
15218 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15219 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15220 esac
15224 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15225 then
15226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15227 printf %s "checking for -lXcomposite... " >&6; }
15228 if test ${ac_cv_lib_soname_Xcomposite+y}
15229 then :
15230 printf %s "(cached) " >&6
15231 else $as_nop
15232 ac_check_soname_save_LIBS=$LIBS
15233 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15237 /* Override any GCC internal prototype to avoid an error.
15238 Use char because int might match the return type of a GCC
15239 builtin and then its argument prototype would still apply. */
15240 char XCompositeRedirectWindow ();
15242 main (void)
15244 return XCompositeRedirectWindow ();
15246 return 0;
15248 _ACEOF
15249 if ac_fn_c_try_link "$LINENO"
15250 then :
15251 case "$LIBEXT" in
15252 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15253 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'` ;;
15254 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15255 if ${ac_cv_lib_soname_Xcomposite:+false} :
15256 then :
15257 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15258 fi ;;
15259 esac
15260 else $as_nop
15261 ac_cv_lib_soname_Xcomposite=
15263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15264 conftest$ac_exeext conftest.$ac_ext
15265 LIBS=$ac_check_soname_save_LIBS
15267 if ${ac_cv_lib_soname_Xcomposite:+false} :
15268 then :
15269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15270 printf "%s\n" "not found" >&6; }
15272 else $as_nop
15273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15274 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15276 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15281 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15282 then :
15283 case "x$with_xcomposite" in
15284 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15285 xno) ;;
15286 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15287 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15288 esac
15292 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15293 #include <X11/Xlib.h>
15294 #endif
15296 if test "x$ac_cv_member_XICCallback_callback" = xyes
15297 then :
15299 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15303 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15304 #include <X11/Xlib.h>
15305 #endif
15307 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15308 then :
15310 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15317 opengl_msg=""
15318 if test "x$with_opengl" != "xno"
15319 then
15320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15321 printf %s "checking for -lGL... " >&6; }
15322 if test ${ac_cv_lib_soname_GL+y}
15323 then :
15324 printf %s "(cached) " >&6
15325 else $as_nop
15326 ac_check_soname_save_LIBS=$LIBS
15327 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15329 /* end confdefs.h. */
15331 /* Override any GCC internal prototype to avoid an error.
15332 Use char because int might match the return type of a GCC
15333 builtin and then its argument prototype would still apply. */
15334 char glXCreateContext ();
15336 main (void)
15338 return glXCreateContext ();
15340 return 0;
15342 _ACEOF
15343 if ac_fn_c_try_link "$LINENO"
15344 then :
15345 case "$LIBEXT" in
15346 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15347 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'` ;;
15348 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15349 if ${ac_cv_lib_soname_GL:+false} :
15350 then :
15351 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15352 fi ;;
15353 esac
15354 else $as_nop
15355 ac_cv_lib_soname_GL=
15357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15358 conftest$ac_exeext conftest.$ac_ext
15359 LIBS=$ac_check_soname_save_LIBS
15361 if ${ac_cv_lib_soname_GL:+false} :
15362 then :
15363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15364 printf "%s\n" "not found" >&6; }
15365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15366 printf %s "checking for -lGL... " >&6; }
15367 if test ${ac_cv_lib_soname_GL+y}
15368 then :
15369 printf %s "(cached) " >&6
15370 else $as_nop
15371 ac_check_soname_save_LIBS=$LIBS
15372 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"
15373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15374 /* end confdefs.h. */
15376 /* Override any GCC internal prototype to avoid an error.
15377 Use char because int might match the return type of a GCC
15378 builtin and then its argument prototype would still apply. */
15379 char glXCreateContext ();
15381 main (void)
15383 return glXCreateContext ();
15385 return 0;
15387 _ACEOF
15388 if ac_fn_c_try_link "$LINENO"
15389 then :
15390 case "$LIBEXT" in
15391 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15392 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'` ;;
15393 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15394 if ${ac_cv_lib_soname_GL:+false} :
15395 then :
15396 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15397 fi ;;
15398 esac
15399 else $as_nop
15400 ac_cv_lib_soname_GL=
15402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15403 conftest$ac_exeext conftest.$ac_ext
15404 LIBS=$ac_check_soname_save_LIBS
15406 if ${ac_cv_lib_soname_GL:+false} :
15407 then :
15408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15409 printf "%s\n" "not found" >&6; }
15410 if test -f /usr/X11R6/lib/libGL.a
15411 then
15412 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15413 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15414 else
15415 opengl_msg="No OpenGL library found on this system."
15417 else $as_nop
15418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15419 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15421 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15423 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"
15425 else $as_nop
15426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15427 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15429 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15431 OPENGL_LIBS="-lGL"
15433 if test "x$with_osmesa" != "xno"
15434 then
15435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15436 printf %s "checking for -lOSMesa... " >&6; }
15437 if test ${ac_cv_lib_soname_OSMesa+y}
15438 then :
15439 printf %s "(cached) " >&6
15440 else $as_nop
15441 ac_check_soname_save_LIBS=$LIBS
15442 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15444 /* end confdefs.h. */
15446 /* Override any GCC internal prototype to avoid an error.
15447 Use char because int might match the return type of a GCC
15448 builtin and then its argument prototype would still apply. */
15449 char OSMesaGetProcAddress ();
15451 main (void)
15453 return OSMesaGetProcAddress ();
15455 return 0;
15457 _ACEOF
15458 if ac_fn_c_try_link "$LINENO"
15459 then :
15460 case "$LIBEXT" in
15461 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15462 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'` ;;
15463 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15464 if ${ac_cv_lib_soname_OSMesa:+false} :
15465 then :
15466 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15467 fi ;;
15468 esac
15469 else $as_nop
15470 ac_cv_lib_soname_OSMesa=
15472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15473 conftest$ac_exeext conftest.$ac_ext
15474 LIBS=$ac_check_soname_save_LIBS
15476 if ${ac_cv_lib_soname_OSMesa:+false} :
15477 then :
15478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15479 printf "%s\n" "not found" >&6; }
15481 else $as_nop
15482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15483 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15485 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15489 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15490 then :
15491 case "x$with_osmesa" in
15492 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15493 xno) ;;
15494 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15495 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15496 esac
15501 if test -n "$opengl_msg"
15502 then :
15503 case "x$with_opengl" in
15504 x) as_fn_append wine_warnings "|$opengl_msg
15505 OpenGL and Direct3D won't be supported." ;;
15506 xno) ;;
15507 *) as_fn_error $? "$opengl_msg
15508 OpenGL and Direct3D won't be supported.
15509 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15510 esac
15514 CPPFLAGS="$ac_save_CPPFLAGS"
15515 else
15516 X_CFLAGS=""
15517 X_LIBS=""
15520 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15521 then
15522 if test "x$X_LIBS" = "x"
15523 then :
15524 case "x$with_x" in
15525 xno) ;;
15526 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15527 without X support, which probably isn't what you want. You will need
15528 to install ${notice_platform}development packages of Xlib at the very least.
15529 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15530 esac
15531 enable_winex11_drv=${enable_winex11_drv:-no}
15533 else
15534 if test "x$X_LIBS" = "x"
15535 then :
15536 case "x$with_x" in
15537 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15538 xno) ;;
15539 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15540 This is an error since --with-x was requested." "$LINENO" 5 ;;
15541 esac
15542 enable_winex11_drv=${enable_winex11_drv:-no}
15546 if test "x$with_wayland" != "xno"
15547 then
15548 rm -f conftest.err
15549 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15550 then :
15551 if test ${PKG_CONFIG+y}
15552 then :
15553 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15557 if ${WAYLAND_CLIENT_LIBS:+false} :
15558 then :
15559 if test ${PKG_CONFIG+y}
15560 then :
15561 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15566 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15567 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15568 if test -s conftest.err; then
15569 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15570 cat conftest.err >&5
15572 rm -f conftest.err
15573 ac_save_CPPFLAGS=$CPPFLAGS
15574 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15575 for ac_header in wayland-client.h
15576 do :
15577 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15578 if test "x$ac_cv_header_wayland_client_h" = xyes
15579 then :
15580 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15582 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15583 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15584 then :
15585 printf %s "(cached) " >&6
15586 else $as_nop
15587 ac_check_lib_save_LIBS=$LIBS
15588 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15590 /* end confdefs.h. */
15592 /* Override any GCC internal prototype to avoid an error.
15593 Use char because int might match the return type of a GCC
15594 builtin and then its argument prototype would still apply. */
15595 char wl_display_connect ();
15597 main (void)
15599 return wl_display_connect ();
15601 return 0;
15603 _ACEOF
15604 if ac_fn_c_try_link "$LINENO"
15605 then :
15606 ac_cv_lib_wayland_client_wl_display_connect=yes
15607 else $as_nop
15608 ac_cv_lib_wayland_client_wl_display_connect=no
15610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15611 conftest$ac_exeext conftest.$ac_ext
15612 LIBS=$ac_check_lib_save_LIBS
15614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15615 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15616 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15617 then :
15618 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15619 set dummy wayland-scanner; ac_word=$2
15620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15621 printf %s "checking for $ac_word... " >&6; }
15622 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15623 then :
15624 printf %s "(cached) " >&6
15625 else $as_nop
15626 case $WAYLAND_SCANNER in
15627 [\\/]* | ?:[\\/]*)
15628 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15632 for as_dir in $PATH
15634 IFS=$as_save_IFS
15635 case $as_dir in #(((
15636 '') as_dir=./ ;;
15637 */) ;;
15638 *) as_dir=$as_dir/ ;;
15639 esac
15640 for ac_exec_ext in '' $ac_executable_extensions; do
15641 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15642 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15644 break 2
15646 done
15647 done
15648 IFS=$as_save_IFS
15650 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`"
15652 esac
15654 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15655 if test -n "$WAYLAND_SCANNER"; then
15656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15657 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15658 else
15659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15660 printf "%s\n" "no" >&6; }
15664 else $as_nop
15665 WAYLAND_CLIENT_LIBS=""
15670 done
15671 CPPFLAGS=$ac_save_CPPFLAGS
15674 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15675 then :
15676 case "x$with_wayland" in
15677 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15678 xno) ;;
15679 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15680 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15681 esac
15682 enable_winewayland_drv=${enable_winewayland_drv:-no}
15685 if test "$ac_cv_header_CL_cl_h" = "yes"
15686 then
15687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15688 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15689 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15690 then :
15691 printf %s "(cached) " >&6
15692 else $as_nop
15693 ac_check_lib_save_LIBS=$LIBS
15694 LIBS="-lOpenCL $LIBS"
15695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15696 /* end confdefs.h. */
15698 /* Override any GCC internal prototype to avoid an error.
15699 Use char because int might match the return type of a GCC
15700 builtin and then its argument prototype would still apply. */
15701 char clGetPlatformInfo ();
15703 main (void)
15705 return clGetPlatformInfo ();
15707 return 0;
15709 _ACEOF
15710 if ac_fn_c_try_link "$LINENO"
15711 then :
15712 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15713 else $as_nop
15714 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15717 conftest$ac_exeext conftest.$ac_ext
15718 LIBS=$ac_check_lib_save_LIBS
15720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15721 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15722 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15723 then :
15724 OPENCL_LIBS="-lOpenCL"
15729 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15730 then :
15731 case "x$with_opencl" in
15732 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15733 xno) ;;
15734 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15735 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15736 esac
15737 enable_opencl=${enable_opencl:-no}
15740 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15741 then
15742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15743 printf %s "checking for pcap_init in -lpcap... " >&6; }
15744 if test ${ac_cv_lib_pcap_pcap_init+y}
15745 then :
15746 printf %s "(cached) " >&6
15747 else $as_nop
15748 ac_check_lib_save_LIBS=$LIBS
15749 LIBS="-lpcap $LIBS"
15750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15751 /* end confdefs.h. */
15753 /* Override any GCC internal prototype to avoid an error.
15754 Use char because int might match the return type of a GCC
15755 builtin and then its argument prototype would still apply. */
15756 char pcap_init ();
15758 main (void)
15760 return pcap_init ();
15762 return 0;
15764 _ACEOF
15765 if ac_fn_c_try_link "$LINENO"
15766 then :
15767 ac_cv_lib_pcap_pcap_init=yes
15768 else $as_nop
15769 ac_cv_lib_pcap_pcap_init=no
15771 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15772 conftest$ac_exeext conftest.$ac_ext
15773 LIBS=$ac_check_lib_save_LIBS
15775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15776 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15777 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15778 then :
15779 PCAP_LIBS="-lpcap"
15784 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15785 then :
15786 case "x$with_pcap" in
15787 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15788 xno) ;;
15789 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15790 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15791 esac
15792 enable_wpcap=${enable_wpcap:-no}
15795 if test "x$with_pcsclite" != "xno"
15796 then
15797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15798 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15799 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15800 then :
15801 printf %s "(cached) " >&6
15802 else $as_nop
15803 ac_check_lib_save_LIBS=$LIBS
15804 LIBS="-lpcsclite $LIBS"
15805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15808 /* Override any GCC internal prototype to avoid an error.
15809 Use char because int might match the return type of a GCC
15810 builtin and then its argument prototype would still apply. */
15811 char SCardEstablishContext ();
15813 main (void)
15815 return SCardEstablishContext ();
15817 return 0;
15819 _ACEOF
15820 if ac_fn_c_try_link "$LINENO"
15821 then :
15822 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15823 else $as_nop
15824 ac_cv_lib_pcsclite_SCardEstablishContext=no
15826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15827 conftest$ac_exeext conftest.$ac_ext
15828 LIBS=$ac_check_lib_save_LIBS
15830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15831 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15832 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15833 then :
15834 PCSCLITE_LIBS="-lpcsclite"
15839 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15840 then :
15841 case "x$with_pcsclite" in
15842 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15843 xno) ;;
15844 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15845 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15846 esac
15847 enable_winscard=${enable_winscard:-no}
15850 if test "x$with_inotify" != "xno"
15851 then
15852 rm -f conftest.err
15853 if ${INOTIFY_CFLAGS:+false} :
15854 then :
15855 if test ${PKG_CONFIG+y}
15856 then :
15857 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15861 if ${INOTIFY_LIBS:+false} :
15862 then :
15863 if test ${PKG_CONFIG+y}
15864 then :
15865 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15870 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15871 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15872 if test -s conftest.err; then
15873 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15874 cat conftest.err >&5
15876 rm -f conftest.err
15877 ac_save_CPPFLAGS=$CPPFLAGS
15878 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15879 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15880 if test "x$ac_cv_header_sys_inotify_h" = xyes
15881 then :
15882 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15887 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15888 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15889 then :
15890 printf %s "(cached) " >&6
15891 else $as_nop
15892 ac_check_lib_save_LIBS=$LIBS
15893 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15895 /* end confdefs.h. */
15897 /* Override any GCC internal prototype to avoid an error.
15898 Use char because int might match the return type of a GCC
15899 builtin and then its argument prototype would still apply. */
15900 char inotify_add_watch ();
15902 main (void)
15904 return inotify_add_watch ();
15906 return 0;
15908 _ACEOF
15909 if ac_fn_c_try_link "$LINENO"
15910 then :
15911 ac_cv_lib_inotify_inotify_add_watch=yes
15912 else $as_nop
15913 ac_cv_lib_inotify_inotify_add_watch=no
15915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15916 conftest$ac_exeext conftest.$ac_ext
15917 LIBS=$ac_check_lib_save_LIBS
15919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15920 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15921 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15922 then :
15924 else $as_nop
15925 INOTIFY_LIBS=""
15928 CPPFLAGS=$ac_save_CPPFLAGS
15931 if test "$ac_cv_header_sys_inotify_h" != "yes"
15932 then :
15933 case "x$with_inotify" in
15934 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15935 xno) ;;
15936 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15937 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15938 esac
15942 if test "x$with_dbus" != "xno"
15943 then
15944 rm -f conftest.err
15945 if ${DBUS_CFLAGS:+false} :
15946 then :
15947 if test ${PKG_CONFIG+y}
15948 then :
15949 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15953 if ${DBUS_LIBS:+false} :
15954 then :
15955 if test ${PKG_CONFIG+y}
15956 then :
15957 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15964 if test -s conftest.err; then
15965 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15966 cat conftest.err >&5
15968 rm -f conftest.err
15969 ac_save_CPPFLAGS=$CPPFLAGS
15970 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15971 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15972 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15973 then :
15974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15975 printf %s "checking for -ldbus-1... " >&6; }
15976 if test ${ac_cv_lib_soname_dbus_1+y}
15977 then :
15978 printf %s "(cached) " >&6
15979 else $as_nop
15980 ac_check_soname_save_LIBS=$LIBS
15981 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15983 /* end confdefs.h. */
15985 /* Override any GCC internal prototype to avoid an error.
15986 Use char because int might match the return type of a GCC
15987 builtin and then its argument prototype would still apply. */
15988 char dbus_connection_close ();
15990 main (void)
15992 return dbus_connection_close ();
15994 return 0;
15996 _ACEOF
15997 if ac_fn_c_try_link "$LINENO"
15998 then :
15999 case "$LIBEXT" in
16000 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16001 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'` ;;
16002 *) 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'`
16003 if ${ac_cv_lib_soname_dbus_1:+false} :
16004 then :
16005 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16006 fi ;;
16007 esac
16008 else $as_nop
16009 ac_cv_lib_soname_dbus_1=
16011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16012 conftest$ac_exeext conftest.$ac_ext
16013 LIBS=$ac_check_soname_save_LIBS
16015 if ${ac_cv_lib_soname_dbus_1:+false} :
16016 then :
16017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16018 printf "%s\n" "not found" >&6; }
16019 DBUS_CFLAGS=""
16020 else $as_nop
16021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16022 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16024 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16028 else $as_nop
16029 DBUS_CFLAGS=""
16032 CPPFLAGS=$ac_save_CPPFLAGS
16035 case $host_os in
16036 darwin*|macosx*) ;;
16037 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16038 then :
16039 case "x$with_dbus" in
16040 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16041 xno) ;;
16042 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16043 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16044 esac
16046 fi ;;
16047 esac
16049 if test "x$with_gnutls" != "xno"
16050 then
16051 rm -f conftest.err
16052 if ${GNUTLS_CFLAGS:+false} :
16053 then :
16054 if test ${PKG_CONFIG+y}
16055 then :
16056 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16060 if ${GNUTLS_LIBS:+false} :
16061 then :
16062 if test ${PKG_CONFIG+y}
16063 then :
16064 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16068 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16071 if test -s conftest.err; then
16072 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16073 cat conftest.err >&5
16075 rm -f conftest.err
16076 ac_save_CPPFLAGS=$CPPFLAGS
16077 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16078 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16079 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16080 then :
16081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16083 #include <gnutls/gnutls.h>
16084 #include <gnutls/crypto.h>
16086 main (void)
16088 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16090 return 0;
16092 _ACEOF
16093 if ac_fn_c_try_compile "$LINENO"
16094 then :
16095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16096 printf %s "checking for -lgnutls... " >&6; }
16097 if test ${ac_cv_lib_soname_gnutls+y}
16098 then :
16099 printf %s "(cached) " >&6
16100 else $as_nop
16101 ac_check_soname_save_LIBS=$LIBS
16102 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16104 /* end confdefs.h. */
16106 /* Override any GCC internal prototype to avoid an error.
16107 Use char because int might match the return type of a GCC
16108 builtin and then its argument prototype would still apply. */
16109 char gnutls_global_init ();
16111 main (void)
16113 return gnutls_global_init ();
16115 return 0;
16117 _ACEOF
16118 if ac_fn_c_try_link "$LINENO"
16119 then :
16120 case "$LIBEXT" in
16121 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16122 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'` ;;
16123 *) 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'`
16124 if ${ac_cv_lib_soname_gnutls:+false} :
16125 then :
16126 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'`
16127 fi ;;
16128 esac
16129 else $as_nop
16130 ac_cv_lib_soname_gnutls=
16132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16133 conftest$ac_exeext conftest.$ac_ext
16134 LIBS=$ac_check_soname_save_LIBS
16136 if ${ac_cv_lib_soname_gnutls:+false} :
16137 then :
16138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16139 printf "%s\n" "not found" >&6; }
16140 GNUTLS_CFLAGS=""
16141 else $as_nop
16142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16143 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16145 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16149 ac_wine_check_funcs_save_LIBS="$LIBS"
16150 LIBS="$LIBS $GNUTLS_LIBS"
16152 for ac_func in gnutls_cipher_init
16153 do :
16154 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16155 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16156 then :
16157 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16159 else $as_nop
16160 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16163 done
16164 LIBS="$ac_wine_check_funcs_save_LIBS"
16166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16167 else $as_nop
16168 GNUTLS_CFLAGS=""
16171 CPPFLAGS=$ac_save_CPPFLAGS
16174 if test "x$ac_cv_lib_soname_gnutls" = "x"
16175 then :
16176 case "x$with_gnutls" in
16177 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16178 xno) ;;
16179 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16180 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16181 esac
16185 if test "x$with_sane" != "xno"
16186 then
16187 rm -f conftest.err
16188 if ${SANE_CFLAGS:+false} :
16189 then :
16190 if test ${PKG_CONFIG+y}
16191 then :
16192 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16195 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16196 if ${SANE_LIBS:+false} :
16197 then :
16198 if test ${PKG_CONFIG+y}
16199 then :
16200 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16203 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16207 if test -s conftest.err; then
16208 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16209 cat conftest.err >&5
16211 rm -f conftest.err
16212 ac_save_CPPFLAGS=$CPPFLAGS
16213 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16214 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16215 if test "x$ac_cv_header_sane_sane_h" = xyes
16216 then :
16217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16218 printf %s "checking for sane_init in -lsane... " >&6; }
16219 if test ${ac_cv_lib_sane_sane_init+y}
16220 then :
16221 printf %s "(cached) " >&6
16222 else $as_nop
16223 ac_check_lib_save_LIBS=$LIBS
16224 LIBS="-lsane $SANE_LIBS $LIBS"
16225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16226 /* end confdefs.h. */
16228 /* Override any GCC internal prototype to avoid an error.
16229 Use char because int might match the return type of a GCC
16230 builtin and then its argument prototype would still apply. */
16231 char sane_init ();
16233 main (void)
16235 return sane_init ();
16237 return 0;
16239 _ACEOF
16240 if ac_fn_c_try_link "$LINENO"
16241 then :
16242 ac_cv_lib_sane_sane_init=yes
16243 else $as_nop
16244 ac_cv_lib_sane_sane_init=no
16246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16247 conftest$ac_exeext conftest.$ac_ext
16248 LIBS=$ac_check_lib_save_LIBS
16250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16251 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16252 if test "x$ac_cv_lib_sane_sane_init" = xyes
16253 then :
16259 CPPFLAGS=$ac_save_CPPFLAGS
16262 if test "$ac_cv_lib_sane_sane_init" != "yes"
16263 then :
16264 case "x$with_sane" in
16265 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16266 xno) ;;
16267 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16268 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16269 esac
16270 enable_sane_ds=${enable_sane_ds:-no}
16273 if test "x$with_usb" != "xno"
16274 then
16275 rm -f conftest.err
16276 if ${USB_CFLAGS:+false} :
16277 then :
16278 if test ${PKG_CONFIG+y}
16279 then :
16280 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16284 if ${USB_LIBS:+false} :
16285 then :
16286 if test ${PKG_CONFIG+y}
16287 then :
16288 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16292 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16295 if test -s conftest.err; then
16296 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16297 cat conftest.err >&5
16299 rm -f conftest.err
16300 ac_save_CPPFLAGS=$CPPFLAGS
16301 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16302 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16303 if test "x$ac_cv_header_libusb_h" = xyes
16304 then :
16305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16306 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16307 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16308 then :
16309 printf %s "(cached) " >&6
16310 else $as_nop
16311 ac_check_lib_save_LIBS=$LIBS
16312 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16314 /* end confdefs.h. */
16316 /* Override any GCC internal prototype to avoid an error.
16317 Use char because int might match the return type of a GCC
16318 builtin and then its argument prototype would still apply. */
16319 char libusb_interrupt_event_handler ();
16321 main (void)
16323 return libusb_interrupt_event_handler ();
16325 return 0;
16327 _ACEOF
16328 if ac_fn_c_try_link "$LINENO"
16329 then :
16330 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16331 else $as_nop
16332 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16335 conftest$ac_exeext conftest.$ac_ext
16336 LIBS=$ac_check_lib_save_LIBS
16338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16339 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16340 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16341 then :
16343 else $as_nop
16344 USB_LIBS=""
16347 else $as_nop
16348 USB_LIBS=""
16351 CPPFLAGS=$ac_save_CPPFLAGS
16354 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16355 then :
16356 case "x$with_usb" in
16357 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16358 xno) ;;
16359 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16360 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16361 esac
16362 enable_wineusb_sys=${enable_wineusb_sys:-no}
16365 if test "x$with_v4l2" != "xno"
16366 then
16367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16368 printf %s "checking for -lv4l2... " >&6; }
16369 if test ${ac_cv_lib_soname_v4l2+y}
16370 then :
16371 printf %s "(cached) " >&6
16372 else $as_nop
16373 ac_check_soname_save_LIBS=$LIBS
16374 LIBS="-lv4l2 $LIBS"
16375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16376 /* end confdefs.h. */
16378 /* Override any GCC internal prototype to avoid an error.
16379 Use char because int might match the return type of a GCC
16380 builtin and then its argument prototype would still apply. */
16381 char v4l2_open ();
16383 main (void)
16385 return v4l2_open ();
16387 return 0;
16389 _ACEOF
16390 if ac_fn_c_try_link "$LINENO"
16391 then :
16392 case "$LIBEXT" in
16393 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16394 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'` ;;
16395 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16396 if ${ac_cv_lib_soname_v4l2:+false} :
16397 then :
16398 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16399 fi ;;
16400 esac
16401 else $as_nop
16402 ac_cv_lib_soname_v4l2=
16404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16405 conftest$ac_exeext conftest.$ac_ext
16406 LIBS=$ac_check_soname_save_LIBS
16408 if ${ac_cv_lib_soname_v4l2:+false} :
16409 then :
16410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16411 printf "%s\n" "not found" >&6; }
16413 else $as_nop
16414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16415 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16417 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16422 if test "x$ac_cv_lib_soname_v4l2" = "x"
16423 then :
16424 case "x$with_v4l2" in
16425 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16426 xno) ;;
16427 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16428 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16429 esac
16433 if test "x$with_gphoto" != "xno"
16434 then
16435 rm -f conftest.err
16436 if ${GPHOTO2_CFLAGS:+false} :
16437 then :
16438 if test ${PKG_CONFIG+y}
16439 then :
16440 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16443 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16444 if ${GPHOTO2_LIBS:+false} :
16445 then :
16446 if test ${PKG_CONFIG+y}
16447 then :
16448 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16451 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16452 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16454 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16455 if test -s conftest.err; then
16456 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16457 cat conftest.err >&5
16459 rm -f conftest.err
16460 ac_save_CPPFLAGS=$CPPFLAGS
16461 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16462 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16463 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16464 then :
16465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16466 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16467 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16468 then :
16469 printf %s "(cached) " >&6
16470 else $as_nop
16471 ac_check_lib_save_LIBS=$LIBS
16472 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16474 /* end confdefs.h. */
16476 /* Override any GCC internal prototype to avoid an error.
16477 Use char because int might match the return type of a GCC
16478 builtin and then its argument prototype would still apply. */
16479 char gp_camera_new ();
16481 main (void)
16483 return gp_camera_new ();
16485 return 0;
16487 _ACEOF
16488 if ac_fn_c_try_link "$LINENO"
16489 then :
16490 ac_cv_lib_gphoto2_gp_camera_new=yes
16491 else $as_nop
16492 ac_cv_lib_gphoto2_gp_camera_new=no
16494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16495 conftest$ac_exeext conftest.$ac_ext
16496 LIBS=$ac_check_lib_save_LIBS
16498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16499 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16500 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16501 then :
16507 CPPFLAGS=$ac_save_CPPFLAGS
16509 rm -f conftest.err
16510 if ${GPHOTO2_PORT_CFLAGS:+false} :
16511 then :
16512 if test ${PKG_CONFIG+y}
16513 then :
16514 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16517 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16518 if ${GPHOTO2_PORT_LIBS:+false} :
16519 then :
16520 if test ${PKG_CONFIG+y}
16521 then :
16522 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16525 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16526 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16527 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16529 if test -s conftest.err; then
16530 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16531 cat conftest.err >&5
16533 rm -f conftest.err
16534 ac_save_CPPFLAGS=$CPPFLAGS
16535 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16536 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16537 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16538 then :
16539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16540 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16541 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16542 then :
16543 printf %s "(cached) " >&6
16544 else $as_nop
16545 ac_check_lib_save_LIBS=$LIBS
16546 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16548 /* end confdefs.h. */
16550 /* Override any GCC internal prototype to avoid an error.
16551 Use char because int might match the return type of a GCC
16552 builtin and then its argument prototype would still apply. */
16553 char gp_port_info_list_new ();
16555 main (void)
16557 return gp_port_info_list_new ();
16559 return 0;
16561 _ACEOF
16562 if ac_fn_c_try_link "$LINENO"
16563 then :
16564 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16565 else $as_nop
16566 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16569 conftest$ac_exeext conftest.$ac_ext
16570 LIBS=$ac_check_lib_save_LIBS
16572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16573 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16574 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16575 then :
16577 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16579 else $as_nop
16580 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16583 else $as_nop
16584 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16587 CPPFLAGS=$ac_save_CPPFLAGS
16590 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16591 then :
16592 case "x$with_gphoto" in
16593 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16594 xno) ;;
16595 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16596 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16597 esac
16598 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16600 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16601 then :
16602 case "x$with_gphoto" in
16603 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16604 xno) ;;
16605 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16606 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16607 esac
16612 if test "$ac_cv_header_resolv_h" = "yes"
16613 then
16614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16615 printf %s "checking for resolver library... " >&6; }
16616 if test ${ac_cv_have_resolv+y}
16617 then :
16618 printf %s "(cached) " >&6
16619 else $as_nop
16620 ac_save_LIBS="$LIBS"
16621 for lib in '' -lresolv
16623 LIBS="$lib $ac_save_LIBS"
16624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h. */
16626 #ifdef HAVE_NETINET_IN_H
16627 #include <netinet/in.h>
16628 #endif
16629 #include <resolv.h>
16631 main (void)
16633 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16635 return 0;
16637 _ACEOF
16638 if ac_fn_c_try_link "$LINENO"
16639 then :
16640 ac_cv_have_resolv=${lib:-"none required"}
16641 else $as_nop
16642 ac_cv_have_resolv="not found"
16644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16645 conftest$ac_exeext conftest.$ac_ext
16646 test "x$ac_cv_have_resolv" = "xnot found" || break
16647 done
16648 LIBS="$ac_save_LIBS"
16650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16651 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16653 case "$ac_cv_have_resolv" in
16654 "not found") ;;
16655 "none required")
16657 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16660 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16662 RESOLV_LIBS=$ac_cv_have_resolv
16664 esac
16666 if test "x$ac_cv_have_resolv" != "xnot found"
16667 then
16668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16669 printf %s "checking for res_getservers... " >&6; }
16670 if test ${ac_cv_have_res_getservers+y}
16671 then :
16672 printf %s "(cached) " >&6
16673 else $as_nop
16674 ac_save_LIBS="$LIBS"
16675 LIBS="$RESOLV_LIBS $LIBS"
16676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16677 /* end confdefs.h. */
16678 #include <resolv.h>
16680 main (void)
16682 res_getservers(NULL, NULL, 0);
16684 return 0;
16686 _ACEOF
16687 if ac_fn_c_try_link "$LINENO"
16688 then :
16689 ac_cv_have_res_getservers=yes
16690 else $as_nop
16691 ac_cv_have_res_getservers=no
16693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16694 conftest$ac_exeext conftest.$ac_ext
16695 LIBS="$ac_save_LIBS"
16697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16698 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16699 if test "$ac_cv_have_res_getservers" = "yes"
16700 then
16702 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16708 if test "x$with_freetype" != "xno"
16709 then
16710 rm -f conftest.err
16711 if ${FREETYPE_CFLAGS:+false} :
16712 then :
16713 if test ${PKG_CONFIG+y}
16714 then :
16715 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16718 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16719 if ${FREETYPE_LIBS:+false} :
16720 then :
16721 if test ${PKG_CONFIG+y}
16722 then :
16723 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16726 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16727 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16730 if test -s conftest.err; then
16731 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16732 cat conftest.err >&5
16734 rm -f conftest.err
16735 ac_save_CPPFLAGS=$CPPFLAGS
16736 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16737 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16738 if test "x$ac_cv_header_ft2build_h" = xyes
16739 then :
16740 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16744 if test "$ac_cv_header_ft2build_h" = "yes"
16745 then
16746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16747 printf %s "checking for -lfreetype... " >&6; }
16748 if test ${ac_cv_lib_soname_freetype+y}
16749 then :
16750 printf %s "(cached) " >&6
16751 else $as_nop
16752 ac_check_soname_save_LIBS=$LIBS
16753 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16755 /* end confdefs.h. */
16757 /* Override any GCC internal prototype to avoid an error.
16758 Use char because int might match the return type of a GCC
16759 builtin and then its argument prototype would still apply. */
16760 char FT_Init_FreeType ();
16762 main (void)
16764 return FT_Init_FreeType ();
16766 return 0;
16768 _ACEOF
16769 if ac_fn_c_try_link "$LINENO"
16770 then :
16771 case "$LIBEXT" in
16772 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16773 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'` ;;
16774 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16775 if ${ac_cv_lib_soname_freetype:+false} :
16776 then :
16777 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16778 fi ;;
16779 esac
16780 else $as_nop
16781 ac_cv_lib_soname_freetype=
16783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16784 conftest$ac_exeext conftest.$ac_ext
16785 LIBS=$ac_check_soname_save_LIBS
16787 if ${ac_cv_lib_soname_freetype:+false} :
16788 then :
16789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16790 printf "%s\n" "not found" >&6; }
16791 FREETYPE_LIBS=""
16792 else $as_nop
16793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16794 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16796 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16799 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16801 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16802 #include FT_MODULE_H
16804 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16805 then :
16807 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16813 else
16814 FREETYPE_CFLAGS=""
16815 FREETYPE_LIBS=""
16817 CPPFLAGS=$ac_save_CPPFLAGS
16820 if test "x$ac_cv_lib_soname_freetype" = x
16821 then :
16822 case "x$with_freetype" in
16823 xno) ;;
16824 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16825 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16826 esac
16827 enable_fonts=${enable_fonts:-no}
16830 ac_wine_check_funcs_save_LIBS="$LIBS"
16831 LIBS="$LIBS $PTHREAD_LIBS"
16832 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16833 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16834 then :
16835 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16839 LIBS="$ac_wine_check_funcs_save_LIBS"
16841 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16842 then
16843 if test "$ac_cv_header_gettext_po_h" = "yes"
16844 then
16845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16846 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16847 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16848 then :
16849 printf %s "(cached) " >&6
16850 else $as_nop
16851 ac_check_lib_save_LIBS=$LIBS
16852 LIBS="-lgettextpo $LIBS"
16853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16854 /* end confdefs.h. */
16856 /* Override any GCC internal prototype to avoid an error.
16857 Use char because int might match the return type of a GCC
16858 builtin and then its argument prototype would still apply. */
16859 char po_message_msgctxt ();
16861 main (void)
16863 return po_message_msgctxt ();
16865 return 0;
16867 _ACEOF
16868 if ac_fn_c_try_link "$LINENO"
16869 then :
16870 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16871 else $as_nop
16872 ac_cv_lib_gettextpo_po_message_msgctxt=no
16874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16875 conftest$ac_exeext conftest.$ac_ext
16876 LIBS=$ac_check_lib_save_LIBS
16878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16879 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16880 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16881 then :
16883 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16885 GETTEXTPO_LIBS="-lgettextpo"
16890 if test "x$GETTEXTPO_LIBS" = "x"
16891 then :
16892 case "x$with_gettextpo" in
16893 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16894 xno) ;;
16895 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16896 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16897 esac
16900 if test "$srcdir" != .
16901 then :
16902 case "x$with_gettextpo" in
16903 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16904 xno) ;;
16905 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16906 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16907 esac
16912 if test "x$with_pulse" != "xno";
16913 then
16914 rm -f conftest.err
16915 if ${PULSE_CFLAGS:+false} :
16916 then :
16917 if test ${PKG_CONFIG+y}
16918 then :
16919 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16923 if ${PULSE_LIBS:+false} :
16924 then :
16925 if test ${PKG_CONFIG+y}
16926 then :
16927 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16932 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16933 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16934 if test -s conftest.err; then
16935 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16936 cat conftest.err >&5
16938 rm -f conftest.err
16939 ac_save_CPPFLAGS=$CPPFLAGS
16940 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16941 for ac_header in pulse/pulseaudio.h
16942 do :
16943 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16944 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16945 then :
16946 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16948 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16949 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16950 then :
16951 printf %s "(cached) " >&6
16952 else $as_nop
16953 ac_check_lib_save_LIBS=$LIBS
16954 LIBS="-lpulse $PULSE_LIBS $LIBS"
16955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16956 /* end confdefs.h. */
16958 /* Override any GCC internal prototype to avoid an error.
16959 Use char because int might match the return type of a GCC
16960 builtin and then its argument prototype would still apply. */
16961 char pa_stream_is_corked ();
16963 main (void)
16965 return pa_stream_is_corked ();
16967 return 0;
16969 _ACEOF
16970 if ac_fn_c_try_link "$LINENO"
16971 then :
16972 ac_cv_lib_pulse_pa_stream_is_corked=yes
16973 else $as_nop
16974 ac_cv_lib_pulse_pa_stream_is_corked=no
16976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16977 conftest$ac_exeext conftest.$ac_ext
16978 LIBS=$ac_check_lib_save_LIBS
16980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16981 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16982 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16983 then :
16985 else $as_nop
16986 PULSE_LIBS=""
16989 else $as_nop
16990 PULSE_LIBS=""
16993 done
16994 CPPFLAGS=$ac_save_CPPFLAGS
16997 if test -z "$PULSE_LIBS"
16998 then :
16999 case "x$with_pulse" in
17000 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17001 xno) ;;
17002 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17003 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17004 esac
17005 enable_winepulse_drv=${enable_winepulse_drv:-no}
17008 if test "x$with_gstreamer" != "xno"
17009 then
17010 rm -f conftest.err
17011 if ${GSTREAMER_CFLAGS:+false} :
17012 then :
17013 if test ${PKG_CONFIG+y}
17014 then :
17015 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17019 if ${GSTREAMER_LIBS:+false} :
17020 then :
17021 if test ${PKG_CONFIG+y}
17022 then :
17023 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17028 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
17029 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
17030 if test -s conftest.err; then
17031 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17032 cat conftest.err >&5
17034 rm -f conftest.err
17035 ac_save_CPPFLAGS=$CPPFLAGS
17036 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17037 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17038 if test "x$ac_cv_header_gst_gst_h" = xyes
17039 then :
17040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17041 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h. */
17044 #include <gst/gst.h>
17046 main (void)
17048 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17050 return 0;
17052 _ACEOF
17053 if ac_fn_c_try_compile "$LINENO"
17054 then :
17055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17056 printf "%s\n" "yes" >&6; }
17057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17058 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17059 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17060 then :
17061 printf %s "(cached) " >&6
17062 else $as_nop
17063 ac_check_lib_save_LIBS=$LIBS
17064 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17066 /* end confdefs.h. */
17068 /* Override any GCC internal prototype to avoid an error.
17069 Use char because int might match the return type of a GCC
17070 builtin and then its argument prototype would still apply. */
17071 char gst_pad_new ();
17073 main (void)
17075 return gst_pad_new ();
17077 return 0;
17079 _ACEOF
17080 if ac_fn_c_try_link "$LINENO"
17081 then :
17082 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17083 else $as_nop
17084 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17087 conftest$ac_exeext conftest.$ac_ext
17088 LIBS=$ac_check_lib_save_LIBS
17090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17091 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17092 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17093 then :
17097 else $as_nop
17098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17099 printf "%s\n" "no" >&6; }
17100 ac_glib2_broken=yes
17101 enable_winegstreamer=${enable_winegstreamer:-no}
17102 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17104 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17107 CPPFLAGS=$ac_save_CPPFLAGS
17110 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17111 then :
17112 case "x$with_gstreamer" in
17113 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17114 xno) ;;
17115 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17116 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17117 esac
17118 enable_winegstreamer=${enable_winegstreamer:-no}
17121 ALSA_LIBS=""
17123 if test "x$with_alsa" != "xno"
17124 then
17125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17126 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17127 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17128 then :
17129 printf %s "(cached) " >&6
17130 else $as_nop
17131 ac_check_lib_save_LIBS=$LIBS
17132 LIBS="-lasound $LIBS"
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17136 /* Override any GCC internal prototype to avoid an error.
17137 Use char because int might match the return type of a GCC
17138 builtin and then its argument prototype would still apply. */
17139 char snd_pcm_hw_params_get_access_mask ();
17141 main (void)
17143 return snd_pcm_hw_params_get_access_mask ();
17145 return 0;
17147 _ACEOF
17148 if ac_fn_c_try_link "$LINENO"
17149 then :
17150 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17151 else $as_nop
17152 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17155 conftest$ac_exeext conftest.$ac_ext
17156 LIBS=$ac_check_lib_save_LIBS
17158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17159 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17160 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17161 then :
17162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17163 /* end confdefs.h. */
17164 #include <alsa/asoundlib.h>
17166 main (void)
17168 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17170 return 0;
17172 _ACEOF
17173 if ac_fn_c_try_compile "$LINENO"
17174 then :
17175 ALSA_LIBS="-lasound"
17177 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17181 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17183 if test "x$with_oss" != xno
17184 then
17185 ac_save_CPPFLAGS="$CPPFLAGS"
17186 if test -f /etc/oss.conf
17187 then
17188 . /etc/oss.conf
17190 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17191 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17192 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17193 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17194 then :
17195 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17197 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17198 then :
17200 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17202 OSS4_CFLAGS="$ac_oss_incl"
17204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17205 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17206 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17207 then :
17208 printf %s "(cached) " >&6
17209 else $as_nop
17210 ac_check_lib_save_LIBS=$LIBS
17211 LIBS="-lossaudio $LIBS"
17212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17213 /* end confdefs.h. */
17215 /* Override any GCC internal prototype to avoid an error.
17216 Use char because int might match the return type of a GCC
17217 builtin and then its argument prototype would still apply. */
17218 char _oss_ioctl ();
17220 main (void)
17222 return _oss_ioctl ();
17224 return 0;
17226 _ACEOF
17227 if ac_fn_c_try_link "$LINENO"
17228 then :
17229 ac_cv_lib_ossaudio__oss_ioctl=yes
17230 else $as_nop
17231 ac_cv_lib_ossaudio__oss_ioctl=no
17233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17234 conftest$ac_exeext conftest.$ac_ext
17235 LIBS=$ac_check_lib_save_LIBS
17237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17238 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17239 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17240 then :
17241 OSS4_LIBS="-lossaudio"
17249 CPPFLAGS="$ac_save_CPPFLAGS"
17251 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17252 then :
17253 case "x$with_oss" in
17254 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17255 xno) ;;
17256 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17257 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17258 esac
17259 enable_wineoss_drv=${enable_wineoss_drv:-no}
17262 if test "x$with_udev" != "xno"
17263 then
17264 rm -f conftest.err
17265 if ${UDEV_CFLAGS:+false} :
17266 then :
17267 if test ${PKG_CONFIG+y}
17268 then :
17269 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17273 if ${UDEV_LIBS:+false} :
17274 then :
17275 if test ${PKG_CONFIG+y}
17276 then :
17277 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17281 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17284 if test -s conftest.err; then
17285 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17286 cat conftest.err >&5
17288 rm -f conftest.err
17289 ac_save_CPPFLAGS=$CPPFLAGS
17290 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17291 for ac_header in libudev.h
17292 do :
17293 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17294 if test "x$ac_cv_header_libudev_h" = xyes
17295 then :
17296 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17298 printf %s "checking for udev_new in -ludev... " >&6; }
17299 if test ${ac_cv_lib_udev_udev_new+y}
17300 then :
17301 printf %s "(cached) " >&6
17302 else $as_nop
17303 ac_check_lib_save_LIBS=$LIBS
17304 LIBS="-ludev $UDEV_LIBS $LIBS"
17305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17308 /* Override any GCC internal prototype to avoid an error.
17309 Use char because int might match the return type of a GCC
17310 builtin and then its argument prototype would still apply. */
17311 char udev_new ();
17313 main (void)
17315 return udev_new ();
17317 return 0;
17319 _ACEOF
17320 if ac_fn_c_try_link "$LINENO"
17321 then :
17322 ac_cv_lib_udev_udev_new=yes
17323 else $as_nop
17324 ac_cv_lib_udev_udev_new=no
17326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17327 conftest$ac_exeext conftest.$ac_ext
17328 LIBS=$ac_check_lib_save_LIBS
17330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17331 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17332 if test "x$ac_cv_lib_udev_udev_new" = xyes
17333 then :
17335 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17337 else $as_nop
17338 UDEV_LIBS=""
17341 else $as_nop
17342 UDEV_LIBS=""
17345 done
17346 CPPFLAGS=$ac_save_CPPFLAGS
17349 if test "x$UDEV_LIBS" = "x"
17350 then :
17351 case "x$with_udev" in
17352 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17353 xno) ;;
17354 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17355 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17356 esac
17360 if test "x$with_unwind" != xno
17361 then
17362 rm -f conftest.err
17363 if ${UNWIND_CFLAGS:+false} :
17364 then :
17365 if test ${PKG_CONFIG+y}
17366 then :
17367 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17371 if ${UNWIND_LIBS:+false} :
17372 then :
17373 if test ${PKG_CONFIG+y}
17374 then :
17375 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17379 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17382 if test -s conftest.err; then
17383 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17384 cat conftest.err >&5
17386 rm -f conftest.err
17387 ac_save_CPPFLAGS=$CPPFLAGS
17388 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17390 printf %s "checking for unw_step... " >&6; }
17391 if test ${wine_cv_have_unw_step+y}
17392 then :
17393 printf %s "(cached) " >&6
17394 else $as_nop
17395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17397 #define UNW_LOCAL_ONLY
17398 #include <libunwind.h>
17400 main (void)
17402 unw_cursor_t cursor; unw_step( &cursor );
17404 return 0;
17406 _ACEOF
17407 if ac_fn_c_try_link "$LINENO"
17408 then :
17409 wine_cv_have_unw_step="yes"
17410 else $as_nop
17411 wine_cv_have_unw_step="no"
17413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17414 conftest$ac_exeext conftest.$ac_ext
17416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17417 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17418 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17419 then
17420 save_libs=$LIBS
17421 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17422 LIBS="$UNWIND_LIBS $LIBS"
17423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17424 printf %s "checking for unw_step in libunwind... " >&6; }
17425 if test ${wine_cv_have_libunwind_unw_step+y}
17426 then :
17427 printf %s "(cached) " >&6
17428 else $as_nop
17429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h. */
17431 #define UNW_LOCAL_ONLY
17432 #include <libunwind.h>
17434 main (void)
17436 unw_cursor_t cursor; unw_step( &cursor );
17438 return 0;
17440 _ACEOF
17441 if ac_fn_c_try_link "$LINENO"
17442 then :
17443 wine_cv_have_libunwind_unw_step="yes"
17444 else $as_nop
17445 wine_cv_have_libunwind_unw_step="no"
17447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17448 conftest$ac_exeext conftest.$ac_ext
17450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17451 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17452 LIBS=$save_libs
17454 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17455 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17456 then
17458 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17461 CPPFLAGS=$ac_save_CPPFLAGS
17464 case $host in
17465 aarch64*|*-darwin*)
17466 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17467 then :
17468 case "x$with_unwind" in
17469 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17470 xno) ;;
17471 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17472 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17473 esac
17475 fi ;;
17476 esac
17478 if test "x$with_sdl" != "xno"
17479 then
17480 rm -f conftest.err
17481 if ${SDL2_CFLAGS:+false} :
17482 then :
17483 if test ${PKG_CONFIG+y}
17484 then :
17485 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17489 if ${SDL2_LIBS:+false} :
17490 then :
17491 if test ${PKG_CONFIG+y}
17492 then :
17493 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17497 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17500 if test -s conftest.err; then
17501 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17502 cat conftest.err >&5
17504 rm -f conftest.err
17505 ac_save_CPPFLAGS=$CPPFLAGS
17506 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17507 for ac_header in SDL.h
17508 do :
17509 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17510 if test "x$ac_cv_header_SDL_h" = xyes
17511 then :
17512 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17514 printf %s "checking for -lSDL2... " >&6; }
17515 if test ${ac_cv_lib_soname_SDL2+y}
17516 then :
17517 printf %s "(cached) " >&6
17518 else $as_nop
17519 ac_check_soname_save_LIBS=$LIBS
17520 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17524 /* Override any GCC internal prototype to avoid an error.
17525 Use char because int might match the return type of a GCC
17526 builtin and then its argument prototype would still apply. */
17527 char SDL_Init ();
17529 main (void)
17531 return SDL_Init ();
17533 return 0;
17535 _ACEOF
17536 if ac_fn_c_try_link "$LINENO"
17537 then :
17538 case "$LIBEXT" in
17539 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17540 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'` ;;
17541 *) 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'`
17542 if ${ac_cv_lib_soname_SDL2:+false} :
17543 then :
17544 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17545 fi ;;
17546 esac
17547 else $as_nop
17548 ac_cv_lib_soname_SDL2=
17550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17551 conftest$ac_exeext conftest.$ac_ext
17552 LIBS=$ac_check_soname_save_LIBS
17554 if ${ac_cv_lib_soname_SDL2:+false} :
17555 then :
17556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17557 printf "%s\n" "not found" >&6; }
17559 else $as_nop
17560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17561 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17563 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17569 done
17570 CPPFLAGS=$ac_save_CPPFLAGS
17573 if test "x$ac_cv_lib_soname_SDL2" = "x"
17574 then :
17575 case "x$with_sdl" in
17576 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17577 xno) ;;
17578 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17579 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17580 esac
17584 if test "x$with_capi" != "xno"
17585 then
17586 rm -f conftest.err
17587 if ${CAPI20_CFLAGS:+false} :
17588 then :
17589 if test ${PKG_CONFIG+y}
17590 then :
17591 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17595 if ${CAPI20_LIBS:+false} :
17596 then :
17597 if test ${PKG_CONFIG+y}
17598 then :
17599 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17606 if test -s conftest.err; then
17607 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17608 cat conftest.err >&5
17610 rm -f conftest.err
17611 ac_save_CPPFLAGS=$CPPFLAGS
17612 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17613 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17615 if test "x$ac_cv_header_capi20_h" = xyes
17616 then :
17617 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17620 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17622 if test "x$ac_cv_header_linux_capi_h" = xyes
17623 then :
17624 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17628 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17629 then
17630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17631 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17632 if test ${ac_cv_lib_capi20_capi20_register+y}
17633 then :
17634 printf %s "(cached) " >&6
17635 else $as_nop
17636 ac_check_lib_save_LIBS=$LIBS
17637 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17641 /* Override any GCC internal prototype to avoid an error.
17642 Use char because int might match the return type of a GCC
17643 builtin and then its argument prototype would still apply. */
17644 char capi20_register ();
17646 main (void)
17648 return capi20_register ();
17650 return 0;
17652 _ACEOF
17653 if ac_fn_c_try_link "$LINENO"
17654 then :
17655 ac_cv_lib_capi20_capi20_register=yes
17656 else $as_nop
17657 ac_cv_lib_capi20_capi20_register=no
17659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17660 conftest$ac_exeext conftest.$ac_ext
17661 LIBS=$ac_check_lib_save_LIBS
17663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17664 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17665 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17666 then :
17668 else $as_nop
17669 CAPI20_LIBS=""
17673 CPPFLAGS=$ac_save_CPPFLAGS
17676 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17677 then :
17678 case "x$with_capi" in
17679 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17680 xno) ;;
17681 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17682 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17683 esac
17684 enable_capi2032=${enable_capi2032:-no}
17687 if test "x$with_cups" != "xno"
17688 then
17689 rm -f conftest.err
17690 if ${CUPS_CFLAGS:+false} :
17691 then :
17692 if test ${PKG_CONFIG+y}
17693 then :
17694 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17697 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17698 if ${CUPS_LIBS:+false} :
17699 then :
17700 if test ${PKG_CONFIG+y}
17701 then :
17702 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17705 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17706 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17709 if test -s conftest.err; then
17710 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17711 cat conftest.err >&5
17713 rm -f conftest.err
17714 ac_save_CPPFLAGS=$CPPFLAGS
17715 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17716 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17717 if test "x$ac_cv_header_cups_cups_h" = xyes
17718 then :
17719 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17722 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17723 if test "x$ac_cv_header_cups_ppd_h" = xyes
17724 then :
17725 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17729 if test "$ac_cv_header_cups_cups_h" = "yes"
17730 then
17731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17732 printf %s "checking for -lcups... " >&6; }
17733 if test ${ac_cv_lib_soname_cups+y}
17734 then :
17735 printf %s "(cached) " >&6
17736 else $as_nop
17737 ac_check_soname_save_LIBS=$LIBS
17738 LIBS="-lcups $CUPS_LIBS $LIBS"
17739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h. */
17742 /* Override any GCC internal prototype to avoid an error.
17743 Use char because int might match the return type of a GCC
17744 builtin and then its argument prototype would still apply. */
17745 char cupsGetDefault ();
17747 main (void)
17749 return cupsGetDefault ();
17751 return 0;
17753 _ACEOF
17754 if ac_fn_c_try_link "$LINENO"
17755 then :
17756 case "$LIBEXT" in
17757 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17758 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'` ;;
17759 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17760 if ${ac_cv_lib_soname_cups:+false} :
17761 then :
17762 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17763 fi ;;
17764 esac
17765 else $as_nop
17766 ac_cv_lib_soname_cups=
17768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17769 conftest$ac_exeext conftest.$ac_ext
17770 LIBS=$ac_check_soname_save_LIBS
17772 if ${ac_cv_lib_soname_cups:+false} :
17773 then :
17774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17775 printf "%s\n" "not found" >&6; }
17776 CUPS_LIBS=""
17777 else $as_nop
17778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17779 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17781 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17785 else
17786 CUPS_CFLAGS=""
17787 CUPS_LIBS=""
17789 CPPFLAGS=$ac_save_CPPFLAGS
17792 if test "x$ac_cv_lib_soname_cups" = "x"
17793 then :
17794 case "x$with_cups" in
17795 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17796 xno) ;;
17797 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17798 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17799 esac
17803 if test "x$with_fontconfig" != "xno"
17804 then
17805 rm -f conftest.err
17806 if ${FONTCONFIG_CFLAGS:+false} :
17807 then :
17808 if test ${PKG_CONFIG+y}
17809 then :
17810 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17813 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17814 if ${FONTCONFIG_LIBS:+false} :
17815 then :
17816 if test ${PKG_CONFIG+y}
17817 then :
17818 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17821 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17823 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17825 if test -s conftest.err; then
17826 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17827 cat conftest.err >&5
17829 rm -f conftest.err
17830 ac_save_CPPFLAGS=$CPPFLAGS
17831 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17832 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17833 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17834 then :
17835 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17839 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17840 then
17841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17842 printf %s "checking for -lfontconfig... " >&6; }
17843 if test ${ac_cv_lib_soname_fontconfig+y}
17844 then :
17845 printf %s "(cached) " >&6
17846 else $as_nop
17847 ac_check_soname_save_LIBS=$LIBS
17848 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17850 /* end confdefs.h. */
17852 /* Override any GCC internal prototype to avoid an error.
17853 Use char because int might match the return type of a GCC
17854 builtin and then its argument prototype would still apply. */
17855 char FcInit ();
17857 main (void)
17859 return FcInit ();
17861 return 0;
17863 _ACEOF
17864 if ac_fn_c_try_link "$LINENO"
17865 then :
17866 case "$LIBEXT" in
17867 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17868 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'` ;;
17869 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17870 if ${ac_cv_lib_soname_fontconfig:+false} :
17871 then :
17872 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17873 fi ;;
17874 esac
17875 else $as_nop
17876 ac_cv_lib_soname_fontconfig=
17878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17879 conftest$ac_exeext conftest.$ac_ext
17880 LIBS=$ac_check_soname_save_LIBS
17882 if ${ac_cv_lib_soname_fontconfig:+false} :
17883 then :
17884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17885 printf "%s\n" "not found" >&6; }
17886 FONTCONFIG_CFLAGS=""
17887 else $as_nop
17888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17889 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17891 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17895 else
17896 FONTCONFIG_CFLAGS=""
17898 CPPFLAGS=$ac_save_CPPFLAGS
17901 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17902 then :
17903 case "x$with_fontconfig" in
17904 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17905 xno) ;;
17906 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17907 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17908 esac
17912 if test "x$with_krb5" != "xno"
17913 then
17914 rm -f conftest.err
17915 if ${KRB5_CFLAGS:+false} :
17916 then :
17917 if test ${PKG_CONFIG+y}
17918 then :
17919 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17922 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17923 if ${KRB5_LIBS:+false} :
17924 then :
17925 if test ${PKG_CONFIG+y}
17926 then :
17927 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17930 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17932 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17933 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17934 if test -s conftest.err; then
17935 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17936 cat conftest.err >&5
17938 rm -f conftest.err
17939 ac_save_CPPFLAGS=$CPPFLAGS
17940 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17941 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17942 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17943 then :
17944 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17948 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17949 then
17950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17951 printf %s "checking for -lkrb5... " >&6; }
17952 if test ${ac_cv_lib_soname_krb5+y}
17953 then :
17954 printf %s "(cached) " >&6
17955 else $as_nop
17956 ac_check_soname_save_LIBS=$LIBS
17957 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17959 /* end confdefs.h. */
17961 /* Override any GCC internal prototype to avoid an error.
17962 Use char because int might match the return type of a GCC
17963 builtin and then its argument prototype would still apply. */
17964 char krb5_is_config_principal ();
17966 main (void)
17968 return krb5_is_config_principal ();
17970 return 0;
17972 _ACEOF
17973 if ac_fn_c_try_link "$LINENO"
17974 then :
17975 case "$LIBEXT" in
17976 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17977 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'` ;;
17978 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17979 if ${ac_cv_lib_soname_krb5:+false} :
17980 then :
17981 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17982 fi ;;
17983 esac
17984 else $as_nop
17985 ac_cv_lib_soname_krb5=
17987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17988 conftest$ac_exeext conftest.$ac_ext
17989 LIBS=$ac_check_soname_save_LIBS
17991 if ${ac_cv_lib_soname_krb5:+false} :
17992 then :
17993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17994 printf "%s\n" "not found" >&6; }
17995 KRB5_CFLAGS=""
17996 else $as_nop
17997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17998 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18000 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18004 else
18005 KRB5_CFLAGS=""
18007 CPPFLAGS=$ac_save_CPPFLAGS
18010 if test "x$ac_cv_lib_soname_krb5" = "x"
18011 then :
18012 case "x$with_krb5" in
18013 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18014 xno) ;;
18015 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18016 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18017 esac
18020 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18022 if test "x$with_gssapi" != "xno"
18023 then
18024 rm -f conftest.err
18025 if ${GSSAPI_CFLAGS:+false} :
18026 then :
18027 if test ${PKG_CONFIG+y}
18028 then :
18029 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18032 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18033 if ${GSSAPI_LIBS:+false} :
18034 then :
18035 if test ${PKG_CONFIG+y}
18036 then :
18037 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18040 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18043 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18044 if test -s conftest.err; then
18045 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18046 cat conftest.err >&5
18048 rm -f conftest.err
18049 ac_save_CPPFLAGS=$CPPFLAGS
18050 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18051 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18052 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18053 then :
18054 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18057 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18058 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18059 then :
18060 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18064 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18065 then
18066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18067 printf %s "checking for -lgssapi_krb5... " >&6; }
18068 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18069 then :
18070 printf %s "(cached) " >&6
18071 else $as_nop
18072 ac_check_soname_save_LIBS=$LIBS
18073 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h. */
18077 /* Override any GCC internal prototype to avoid an error.
18078 Use char because int might match the return type of a GCC
18079 builtin and then its argument prototype would still apply. */
18080 char gss_init_sec_context ();
18082 main (void)
18084 return gss_init_sec_context ();
18086 return 0;
18088 _ACEOF
18089 if ac_fn_c_try_link "$LINENO"
18090 then :
18091 case "$LIBEXT" in
18092 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18093 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'` ;;
18094 *) 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'`
18095 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18096 then :
18097 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18098 fi ;;
18099 esac
18100 else $as_nop
18101 ac_cv_lib_soname_gssapi_krb5=
18103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18104 conftest$ac_exeext conftest.$ac_ext
18105 LIBS=$ac_check_soname_save_LIBS
18107 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18108 then :
18109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18110 printf "%s\n" "not found" >&6; }
18111 GSSAPI_CFLAGS=""
18112 else $as_nop
18113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18114 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18116 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18120 else
18121 GSSAPI_CFLAGS=""
18123 CPPFLAGS=$ac_save_CPPFLAGS
18126 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18127 then :
18128 case "x$with_gssapi" in
18129 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18130 xno) ;;
18131 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18132 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18133 esac
18137 if test "$ac_cv_header_libprocstat_h" = "yes"
18138 then
18139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18140 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18141 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18142 then :
18143 printf %s "(cached) " >&6
18144 else $as_nop
18145 ac_check_lib_save_LIBS=$LIBS
18146 LIBS="-lprocstat $LIBS"
18147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h. */
18150 /* Override any GCC internal prototype to avoid an error.
18151 Use char because int might match the return type of a GCC
18152 builtin and then its argument prototype would still apply. */
18153 char procstat_open_sysctl ();
18155 main (void)
18157 return procstat_open_sysctl ();
18159 return 0;
18161 _ACEOF
18162 if ac_fn_c_try_link "$LINENO"
18163 then :
18164 ac_cv_lib_procstat_procstat_open_sysctl=yes
18165 else $as_nop
18166 ac_cv_lib_procstat_procstat_open_sysctl=no
18168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18169 conftest$ac_exeext conftest.$ac_ext
18170 LIBS=$ac_check_lib_save_LIBS
18172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18173 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18174 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18175 then :
18177 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18179 PROCSTAT_LIBS="-lprocstat"
18185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18186 printf %s "checking for -lodbc... " >&6; }
18187 if test ${ac_cv_lib_soname_odbc+y}
18188 then :
18189 printf %s "(cached) " >&6
18190 else $as_nop
18191 ac_check_soname_save_LIBS=$LIBS
18192 LIBS="-lodbc $LIBS"
18193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18194 /* end confdefs.h. */
18196 /* Override any GCC internal prototype to avoid an error.
18197 Use char because int might match the return type of a GCC
18198 builtin and then its argument prototype would still apply. */
18199 char SQLConnect ();
18201 main (void)
18203 return SQLConnect ();
18205 return 0;
18207 _ACEOF
18208 if ac_fn_c_try_link "$LINENO"
18209 then :
18210 case "$LIBEXT" in
18211 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18212 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'` ;;
18213 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18214 if ${ac_cv_lib_soname_odbc:+false} :
18215 then :
18216 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18217 fi ;;
18218 esac
18219 else $as_nop
18220 ac_cv_lib_soname_odbc=
18222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18223 conftest$ac_exeext conftest.$ac_ext
18224 LIBS=$ac_check_soname_save_LIBS
18226 if ${ac_cv_lib_soname_odbc:+false} :
18227 then :
18228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18229 printf "%s\n" "not found" >&6; }
18230 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18232 else $as_nop
18233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18234 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18236 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18241 if test "x$with_netapi" != "xno"
18242 then
18243 rm -f conftest.err
18244 if ${NETAPI_CFLAGS:+false} :
18245 then :
18246 if test ${PKG_CONFIG+y}
18247 then :
18248 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18252 if ${NETAPI_LIBS:+false} :
18253 then :
18254 if test ${PKG_CONFIG+y}
18255 then :
18256 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18263 if test -s conftest.err; then
18264 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18265 cat conftest.err >&5
18267 rm -f conftest.err
18268 ac_save_CPPFLAGS=$CPPFLAGS
18269 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18271 printf %s "checking for -lnetapi... " >&6; }
18272 if test ${ac_cv_lib_soname_netapi+y}
18273 then :
18274 printf %s "(cached) " >&6
18275 else $as_nop
18276 ac_check_soname_save_LIBS=$LIBS
18277 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18279 /* end confdefs.h. */
18281 /* Override any GCC internal prototype to avoid an error.
18282 Use char because int might match the return type of a GCC
18283 builtin and then its argument prototype would still apply. */
18284 char libnetapi_init ();
18286 main (void)
18288 return libnetapi_init ();
18290 return 0;
18292 _ACEOF
18293 if ac_fn_c_try_link "$LINENO"
18294 then :
18295 case "$LIBEXT" in
18296 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18297 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'` ;;
18298 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18299 if ${ac_cv_lib_soname_netapi:+false} :
18300 then :
18301 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18302 fi ;;
18303 esac
18304 else $as_nop
18305 ac_cv_lib_soname_netapi=
18307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18308 conftest$ac_exeext conftest.$ac_ext
18309 LIBS=$ac_check_soname_save_LIBS
18311 if ${ac_cv_lib_soname_netapi:+false} :
18312 then :
18313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18314 printf "%s\n" "not found" >&6; }
18315 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18317 else $as_nop
18318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18319 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18321 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18325 CPPFLAGS=$ac_save_CPPFLAGS
18328 if test "x$ac_cv_lib_soname_netapi" = "x"
18329 then :
18330 case "x$with_netapi" in
18331 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18332 xno) ;;
18333 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18334 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18335 esac
18336 enable_netapi=${enable_netapi:-no}
18340 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18341 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18342 then
18343 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18346 if test "x$with_vulkan" != "xno"
18347 then
18348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18349 printf %s "checking for -lvulkan... " >&6; }
18350 if test ${ac_cv_lib_soname_vulkan+y}
18351 then :
18352 printf %s "(cached) " >&6
18353 else $as_nop
18354 ac_check_soname_save_LIBS=$LIBS
18355 LIBS="-lvulkan $LIBS"
18356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18357 /* end confdefs.h. */
18359 /* Override any GCC internal prototype to avoid an error.
18360 Use char because int might match the return type of a GCC
18361 builtin and then its argument prototype would still apply. */
18362 char vkGetInstanceProcAddr ();
18364 main (void)
18366 return vkGetInstanceProcAddr ();
18368 return 0;
18370 _ACEOF
18371 if ac_fn_c_try_link "$LINENO"
18372 then :
18373 case "$LIBEXT" in
18374 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18375 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'` ;;
18376 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18377 if ${ac_cv_lib_soname_vulkan:+false} :
18378 then :
18379 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18380 fi ;;
18381 esac
18382 else $as_nop
18383 ac_cv_lib_soname_vulkan=
18385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18386 conftest$ac_exeext conftest.$ac_ext
18387 LIBS=$ac_check_soname_save_LIBS
18389 if ${ac_cv_lib_soname_vulkan:+false} :
18390 then :
18391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18392 printf "%s\n" "not found" >&6; }
18394 else $as_nop
18395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18396 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18398 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18402 if test "x$ac_cv_lib_soname_vulkan" = "x"
18403 then
18404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18405 printf %s "checking for -lMoltenVK... " >&6; }
18406 if test ${ac_cv_lib_soname_MoltenVK+y}
18407 then :
18408 printf %s "(cached) " >&6
18409 else $as_nop
18410 ac_check_soname_save_LIBS=$LIBS
18411 LIBS="-lMoltenVK $LIBS"
18412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18413 /* end confdefs.h. */
18415 /* Override any GCC internal prototype to avoid an error.
18416 Use char because int might match the return type of a GCC
18417 builtin and then its argument prototype would still apply. */
18418 char vkGetInstanceProcAddr ();
18420 main (void)
18422 return vkGetInstanceProcAddr ();
18424 return 0;
18426 _ACEOF
18427 if ac_fn_c_try_link "$LINENO"
18428 then :
18429 case "$LIBEXT" in
18430 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18431 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'` ;;
18432 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18433 if ${ac_cv_lib_soname_MoltenVK:+false} :
18434 then :
18435 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18436 fi ;;
18437 esac
18438 else $as_nop
18439 ac_cv_lib_soname_MoltenVK=
18441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18442 conftest$ac_exeext conftest.$ac_ext
18443 LIBS=$ac_check_soname_save_LIBS
18445 if ${ac_cv_lib_soname_MoltenVK:+false} :
18446 then :
18447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18448 printf "%s\n" "not found" >&6; }
18450 else $as_nop
18451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18452 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18454 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18460 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18461 then :
18462 case "x$with_vulkan" in
18463 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18464 xno) ;;
18465 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18466 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18467 esac
18472 if test "x${GCC}" = "xyes"
18473 then
18474 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18476 saved_CFLAGS=$CFLAGS
18477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18478 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18479 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18480 then :
18481 printf %s "(cached) " >&6
18482 else $as_nop
18483 ac_wine_try_cflags_saved=$CFLAGS
18484 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18486 /* end confdefs.h. */
18487 int main(int argc, char **argv) { return 0; }
18488 _ACEOF
18489 if ac_fn_c_try_link "$LINENO"
18490 then :
18491 ac_cv_cflags__Werror_unknown_warning_option=yes
18492 else $as_nop
18493 ac_cv_cflags__Werror_unknown_warning_option=no
18495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18496 conftest$ac_exeext conftest.$ac_ext
18497 CFLAGS=$ac_wine_try_cflags_saved
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18500 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18501 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18502 then :
18503 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18506 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18507 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18508 then :
18509 printf %s "(cached) " >&6
18510 else $as_nop
18511 ac_wine_try_cflags_saved=$CFLAGS
18512 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18514 /* end confdefs.h. */
18515 int main(int argc, char **argv) { return 0; }
18516 _ACEOF
18517 if ac_fn_c_try_link "$LINENO"
18518 then :
18519 ac_cv_cflags__Werror_unused_command_line_argument=yes
18520 else $as_nop
18521 ac_cv_cflags__Werror_unused_command_line_argument=no
18523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18524 conftest$ac_exeext conftest.$ac_ext
18525 CFLAGS=$ac_wine_try_cflags_saved
18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18528 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18529 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18530 then :
18531 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18534 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18535 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18536 then :
18537 printf %s "(cached) " >&6
18538 else $as_nop
18539 ac_wine_try_cflags_saved=$CFLAGS
18540 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18542 /* end confdefs.h. */
18543 int main(int argc, char **argv) { return 0; }
18544 _ACEOF
18545 if ac_fn_c_try_link "$LINENO"
18546 then :
18547 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18548 else $as_nop
18549 ac_cv_cflags__Werror_ignored_optimization_argument=no
18551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18552 conftest$ac_exeext conftest.$ac_ext
18553 CFLAGS=$ac_wine_try_cflags_saved
18555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18556 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18557 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18558 then :
18559 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18562 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18563 if test ${ac_cv_cflags__fcf_protection_none+y}
18564 then :
18565 printf %s "(cached) " >&6
18566 else $as_nop
18567 ac_wine_try_cflags_saved=$CFLAGS
18568 CFLAGS="$CFLAGS -fcf-protection=none"
18569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18570 /* end confdefs.h. */
18571 int main(int argc, char **argv) { return 0; }
18572 _ACEOF
18573 if ac_fn_c_try_link "$LINENO"
18574 then :
18575 ac_cv_cflags__fcf_protection_none=yes
18576 else $as_nop
18577 ac_cv_cflags__fcf_protection_none=no
18579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18580 conftest$ac_exeext conftest.$ac_ext
18581 CFLAGS=$ac_wine_try_cflags_saved
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18584 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18585 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18586 then :
18587 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18590 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18591 if test ${ac_cv_cflags__fno_stack_protector+y}
18592 then :
18593 printf %s "(cached) " >&6
18594 else $as_nop
18595 ac_wine_try_cflags_saved=$CFLAGS
18596 CFLAGS="$CFLAGS -fno-stack-protector"
18597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18598 /* end confdefs.h. */
18599 int main(int argc, char **argv) { return 0; }
18600 _ACEOF
18601 if ac_fn_c_try_link "$LINENO"
18602 then :
18603 ac_cv_cflags__fno_stack_protector=yes
18604 else $as_nop
18605 ac_cv_cflags__fno_stack_protector=no
18607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18608 conftest$ac_exeext conftest.$ac_ext
18609 CFLAGS=$ac_wine_try_cflags_saved
18611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18612 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18613 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18614 then :
18615 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18618 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18619 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18620 then :
18621 printf %s "(cached) " >&6
18622 else $as_nop
18623 ac_wine_try_cflags_saved=$CFLAGS
18624 CFLAGS="$CFLAGS -fno-strict-aliasing"
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 int main(int argc, char **argv) { return 0; }
18628 _ACEOF
18629 if ac_fn_c_try_link "$LINENO"
18630 then :
18631 ac_cv_cflags__fno_strict_aliasing=yes
18632 else $as_nop
18633 ac_cv_cflags__fno_strict_aliasing=no
18635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18636 conftest$ac_exeext conftest.$ac_ext
18637 CFLAGS=$ac_wine_try_cflags_saved
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18640 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18641 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18642 then :
18643 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18646 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18647 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18648 then :
18649 printf %s "(cached) " >&6
18650 else $as_nop
18651 ac_wine_try_cflags_saved=$CFLAGS
18652 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18654 /* end confdefs.h. */
18655 int main(int argc, char **argv) { return 0; }
18656 _ACEOF
18657 if ac_fn_c_try_link "$LINENO"
18658 then :
18659 ac_cv_cflags__Wdeclaration_after_statement=yes
18660 else $as_nop
18661 ac_cv_cflags__Wdeclaration_after_statement=no
18663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18664 conftest$ac_exeext conftest.$ac_ext
18665 CFLAGS=$ac_wine_try_cflags_saved
18667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18668 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18669 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18670 then :
18671 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18674 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18675 if test ${ac_cv_cflags__Wempty_body+y}
18676 then :
18677 printf %s "(cached) " >&6
18678 else $as_nop
18679 ac_wine_try_cflags_saved=$CFLAGS
18680 CFLAGS="$CFLAGS -Wempty-body"
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18683 int main(int argc, char **argv) { return 0; }
18684 _ACEOF
18685 if ac_fn_c_try_link "$LINENO"
18686 then :
18687 ac_cv_cflags__Wempty_body=yes
18688 else $as_nop
18689 ac_cv_cflags__Wempty_body=no
18691 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18692 conftest$ac_exeext conftest.$ac_ext
18693 CFLAGS=$ac_wine_try_cflags_saved
18695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18696 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18697 if test "x$ac_cv_cflags__Wempty_body" = xyes
18698 then :
18699 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18702 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18703 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18704 then :
18705 printf %s "(cached) " >&6
18706 else $as_nop
18707 ac_wine_try_cflags_saved=$CFLAGS
18708 CFLAGS="$CFLAGS -Wignored-qualifiers"
18709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18710 /* end confdefs.h. */
18711 int main(int argc, char **argv) { return 0; }
18712 _ACEOF
18713 if ac_fn_c_try_link "$LINENO"
18714 then :
18715 ac_cv_cflags__Wignored_qualifiers=yes
18716 else $as_nop
18717 ac_cv_cflags__Wignored_qualifiers=no
18719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18720 conftest$ac_exeext conftest.$ac_ext
18721 CFLAGS=$ac_wine_try_cflags_saved
18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18724 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18725 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18726 then :
18727 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18730 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18731 if test ${ac_cv_cflags__Winit_self+y}
18732 then :
18733 printf %s "(cached) " >&6
18734 else $as_nop
18735 ac_wine_try_cflags_saved=$CFLAGS
18736 CFLAGS="$CFLAGS -Winit-self"
18737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18738 /* end confdefs.h. */
18739 int main(int argc, char **argv) { return 0; }
18740 _ACEOF
18741 if ac_fn_c_try_link "$LINENO"
18742 then :
18743 ac_cv_cflags__Winit_self=yes
18744 else $as_nop
18745 ac_cv_cflags__Winit_self=no
18747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18748 conftest$ac_exeext conftest.$ac_ext
18749 CFLAGS=$ac_wine_try_cflags_saved
18751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18752 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18753 if test "x$ac_cv_cflags__Winit_self" = xyes
18754 then :
18755 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18758 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18759 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18760 then :
18761 printf %s "(cached) " >&6
18762 else $as_nop
18763 ac_wine_try_cflags_saved=$CFLAGS
18764 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18766 /* end confdefs.h. */
18767 int main(int argc, char **argv) { return 0; }
18768 _ACEOF
18769 if ac_fn_c_try_link "$LINENO"
18770 then :
18771 ac_cv_cflags__Wpacked_not_aligned=yes
18772 else $as_nop
18773 ac_cv_cflags__Wpacked_not_aligned=no
18775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18776 conftest$ac_exeext conftest.$ac_ext
18777 CFLAGS=$ac_wine_try_cflags_saved
18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18780 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18781 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18782 then :
18783 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18786 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18787 if test ${ac_cv_cflags__Wpragma_pack+y}
18788 then :
18789 printf %s "(cached) " >&6
18790 else $as_nop
18791 ac_wine_try_cflags_saved=$CFLAGS
18792 CFLAGS="$CFLAGS -Wpragma-pack"
18793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18794 /* end confdefs.h. */
18795 int main(int argc, char **argv) { return 0; }
18796 _ACEOF
18797 if ac_fn_c_try_link "$LINENO"
18798 then :
18799 ac_cv_cflags__Wpragma_pack=yes
18800 else $as_nop
18801 ac_cv_cflags__Wpragma_pack=no
18803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18804 conftest$ac_exeext conftest.$ac_ext
18805 CFLAGS=$ac_wine_try_cflags_saved
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18808 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18809 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18810 then :
18811 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18814 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18815 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18816 then :
18817 printf %s "(cached) " >&6
18818 else $as_nop
18819 ac_wine_try_cflags_saved=$CFLAGS
18820 CFLAGS="$CFLAGS -Wshift-overflow=2"
18821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18822 /* end confdefs.h. */
18823 int main(int argc, char **argv) { return 0; }
18824 _ACEOF
18825 if ac_fn_c_try_link "$LINENO"
18826 then :
18827 ac_cv_cflags__Wshift_overflow_2=yes
18828 else $as_nop
18829 ac_cv_cflags__Wshift_overflow_2=no
18831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18832 conftest$ac_exeext conftest.$ac_ext
18833 CFLAGS=$ac_wine_try_cflags_saved
18835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18836 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18837 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18838 then :
18839 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18842 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18843 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18844 then :
18845 printf %s "(cached) " >&6
18846 else $as_nop
18847 ac_wine_try_cflags_saved=$CFLAGS
18848 CFLAGS="$CFLAGS -Wstrict-prototypes"
18849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18850 /* end confdefs.h. */
18851 int main(int argc, char **argv) { return 0; }
18852 _ACEOF
18853 if ac_fn_c_try_link "$LINENO"
18854 then :
18855 ac_cv_cflags__Wstrict_prototypes=yes
18856 else $as_nop
18857 ac_cv_cflags__Wstrict_prototypes=no
18859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18860 conftest$ac_exeext conftest.$ac_ext
18861 CFLAGS=$ac_wine_try_cflags_saved
18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18864 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18865 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18866 then :
18867 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18870 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18871 if test ${ac_cv_cflags__Wtype_limits+y}
18872 then :
18873 printf %s "(cached) " >&6
18874 else $as_nop
18875 ac_wine_try_cflags_saved=$CFLAGS
18876 CFLAGS="$CFLAGS -Wtype-limits"
18877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18878 /* end confdefs.h. */
18879 int main(int argc, char **argv) { return 0; }
18880 _ACEOF
18881 if ac_fn_c_try_link "$LINENO"
18882 then :
18883 ac_cv_cflags__Wtype_limits=yes
18884 else $as_nop
18885 ac_cv_cflags__Wtype_limits=no
18887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18888 conftest$ac_exeext conftest.$ac_ext
18889 CFLAGS=$ac_wine_try_cflags_saved
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18892 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18893 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18894 then :
18895 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18898 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18899 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18900 then :
18901 printf %s "(cached) " >&6
18902 else $as_nop
18903 ac_wine_try_cflags_saved=$CFLAGS
18904 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18906 /* end confdefs.h. */
18907 int main(int argc, char **argv) { return 0; }
18908 _ACEOF
18909 if ac_fn_c_try_link "$LINENO"
18910 then :
18911 ac_cv_cflags__Wunused_but_set_parameter=yes
18912 else $as_nop
18913 ac_cv_cflags__Wunused_but_set_parameter=no
18915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18916 conftest$ac_exeext conftest.$ac_ext
18917 CFLAGS=$ac_wine_try_cflags_saved
18919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18920 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18921 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18922 then :
18923 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18926 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18927 if test ${ac_cv_cflags__Wvla+y}
18928 then :
18929 printf %s "(cached) " >&6
18930 else $as_nop
18931 ac_wine_try_cflags_saved=$CFLAGS
18932 CFLAGS="$CFLAGS -Wvla"
18933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18934 /* end confdefs.h. */
18935 int main(int argc, char **argv) { return 0; }
18936 _ACEOF
18937 if ac_fn_c_try_link "$LINENO"
18938 then :
18939 ac_cv_cflags__Wvla=yes
18940 else $as_nop
18941 ac_cv_cflags__Wvla=no
18943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18944 conftest$ac_exeext conftest.$ac_ext
18945 CFLAGS=$ac_wine_try_cflags_saved
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18948 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18949 if test "x$ac_cv_cflags__Wvla" = xyes
18950 then :
18951 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18954 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18955 if test ${ac_cv_cflags__Wwrite_strings+y}
18956 then :
18957 printf %s "(cached) " >&6
18958 else $as_nop
18959 ac_wine_try_cflags_saved=$CFLAGS
18960 CFLAGS="$CFLAGS -Wwrite-strings"
18961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18962 /* end confdefs.h. */
18963 int main(int argc, char **argv) { return 0; }
18964 _ACEOF
18965 if ac_fn_c_try_link "$LINENO"
18966 then :
18967 ac_cv_cflags__Wwrite_strings=yes
18968 else $as_nop
18969 ac_cv_cflags__Wwrite_strings=no
18971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18972 conftest$ac_exeext conftest.$ac_ext
18973 CFLAGS=$ac_wine_try_cflags_saved
18975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18976 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18977 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18978 then :
18979 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18983 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18984 if test ${ac_cv_cflags__Wpointer_arith+y}
18985 then :
18986 printf %s "(cached) " >&6
18987 else $as_nop
18988 ac_wine_try_cflags_saved=$CFLAGS
18989 CFLAGS="$CFLAGS -Wpointer-arith"
18990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18991 /* end confdefs.h. */
18992 int main(int argc, char **argv) { return 0; }
18993 _ACEOF
18994 if ac_fn_c_try_link "$LINENO"
18995 then :
18996 ac_cv_cflags__Wpointer_arith=yes
18997 else $as_nop
18998 ac_cv_cflags__Wpointer_arith=no
19000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19001 conftest$ac_exeext conftest.$ac_ext
19002 CFLAGS=$ac_wine_try_cflags_saved
19004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19005 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19006 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19007 then :
19008 saved_string_h_CFLAGS=$CFLAGS
19009 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19011 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19012 if test ${ac_cv_c_string_h_warnings+y}
19013 then :
19014 printf %s "(cached) " >&6
19015 else $as_nop
19016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19017 /* end confdefs.h. */
19018 #include <string.h>
19020 main (void)
19024 return 0;
19026 _ACEOF
19027 if ac_fn_c_try_compile "$LINENO"
19028 then :
19029 ac_cv_c_string_h_warnings=no
19030 else $as_nop
19031 ac_cv_c_string_h_warnings=yes
19033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19036 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19037 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19038 CFLAGS=$saved_string_h_CFLAGS
19041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19042 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19043 if test ${ac_cv_cflags__Wlogical_op+y}
19044 then :
19045 printf %s "(cached) " >&6
19046 else $as_nop
19047 ac_wine_try_cflags_saved=$CFLAGS
19048 CFLAGS="$CFLAGS -Wlogical-op"
19049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19050 /* end confdefs.h. */
19051 int main(int argc, char **argv) { return 0; }
19052 _ACEOF
19053 if ac_fn_c_try_link "$LINENO"
19054 then :
19055 ac_cv_cflags__Wlogical_op=yes
19056 else $as_nop
19057 ac_cv_cflags__Wlogical_op=no
19059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19060 conftest$ac_exeext conftest.$ac_ext
19061 CFLAGS=$ac_wine_try_cflags_saved
19063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19064 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19065 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19066 then :
19067 saved_string_h_CFLAGS=$CFLAGS
19068 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19070 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19071 if test ${ac_cv_c_logicalop_noisy+y}
19072 then :
19073 printf %s "(cached) " >&6
19074 else $as_nop
19075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19076 /* end confdefs.h. */
19077 #include <string.h>
19078 char*f(const char *h,char n) {return strchr(h,n);}
19080 main (void)
19084 return 0;
19086 _ACEOF
19087 if ac_fn_c_try_compile "$LINENO"
19088 then :
19089 ac_cv_c_logicalop_noisy=no
19090 else $as_nop
19091 ac_cv_c_logicalop_noisy=yes
19093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19096 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19097 CFLAGS=$saved_string_h_CFLAGS
19098 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19102 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19103 if test ${wine_cv_64bit_compare_swap+y}
19104 then :
19105 printf %s "(cached) " >&6
19106 else $as_nop
19107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19108 /* end confdefs.h. */
19109 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19110 #error no
19111 #endif
19113 main (void)
19117 return 0;
19119 _ACEOF
19120 if ac_fn_c_try_compile "$LINENO"
19121 then :
19122 wine_cv_64bit_compare_swap="none needed"
19123 else $as_nop
19124 case $host_cpu in
19125 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19126 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19127 *) wine_cv_64bit_compare_swap="unknown" ;;
19128 esac
19129 if test "x$wine_cv_64bit_compare_swap" != xunknown
19130 then
19131 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19133 /* end confdefs.h. */
19134 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19135 #error no
19136 #endif
19138 main (void)
19142 return 0;
19144 _ACEOF
19145 if ac_fn_c_try_compile "$LINENO"
19146 then :
19148 else $as_nop
19149 wine_cv_64bit_compare_swap="unknown"
19151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19152 CFLAGS=$saved_CFLAGS
19155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19158 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19159 case "$wine_cv_64bit_compare_swap" in
19160 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19161 "none needed") ;;
19162 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19163 esac
19165 ac_debug_format_seen=""
19166 for ac_flag in $CFLAGS; do
19167 case $ac_flag in
19168 -gdwarf*) ac_debug_format_seen=yes ;;
19169 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19170 esac
19171 done
19172 if test "x$ac_debug_format_seen" = xdefault
19173 then
19174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19175 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19176 if test ${ac_cv_cflags__gdwarf_4+y}
19177 then :
19178 printf %s "(cached) " >&6
19179 else $as_nop
19180 ac_wine_try_cflags_saved=$CFLAGS
19181 CFLAGS="$CFLAGS -gdwarf-4"
19182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19183 /* end confdefs.h. */
19184 int main(int argc, char **argv) { return 0; }
19185 _ACEOF
19186 if ac_fn_c_try_link "$LINENO"
19187 then :
19188 ac_cv_cflags__gdwarf_4=yes
19189 else $as_nop
19190 ac_cv_cflags__gdwarf_4=no
19192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19193 conftest$ac_exeext conftest.$ac_ext
19194 CFLAGS=$ac_wine_try_cflags_saved
19196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19197 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19198 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19199 then :
19200 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19204 MSVCRTFLAGS=""
19206 case $host_os in
19207 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19208 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19209 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19210 then :
19211 printf %s "(cached) " >&6
19212 else $as_nop
19213 ac_wine_try_cflags_saved=$CFLAGS
19214 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19216 /* end confdefs.h. */
19217 int main(int argc, char **argv) { return 0; }
19218 _ACEOF
19219 if ac_fn_c_try_link "$LINENO"
19220 then :
19221 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19222 else $as_nop
19223 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19226 conftest$ac_exeext conftest.$ac_ext
19227 CFLAGS=$ac_wine_try_cflags_saved
19229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19230 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19231 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19232 then :
19233 DELAYLOADFLAG="-Wl,-delayload,"
19235 fi ;;
19236 *) MSVCRTFLAGS="-D_WIN32"
19237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19238 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19239 if test ${ac_cv_cflags__fno_builtin+y}
19240 then :
19241 printf %s "(cached) " >&6
19242 else $as_nop
19243 ac_wine_try_cflags_saved=$CFLAGS
19244 CFLAGS="$CFLAGS -fno-builtin"
19245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19246 /* end confdefs.h. */
19247 int main(int argc, char **argv) { return 0; }
19248 _ACEOF
19249 if ac_fn_c_try_link "$LINENO"
19250 then :
19251 ac_cv_cflags__fno_builtin=yes
19252 else $as_nop
19253 ac_cv_cflags__fno_builtin=no
19255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19256 conftest$ac_exeext conftest.$ac_ext
19257 CFLAGS=$ac_wine_try_cflags_saved
19259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19260 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19261 if test "x$ac_cv_cflags__fno_builtin" = xyes
19262 then :
19263 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19266 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19267 if test ${ac_cv_cflags__fshort_wchar+y}
19268 then :
19269 printf %s "(cached) " >&6
19270 else $as_nop
19271 ac_wine_try_cflags_saved=$CFLAGS
19272 CFLAGS="$CFLAGS -fshort-wchar"
19273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19274 /* end confdefs.h. */
19275 int main(int argc, char **argv) { return 0; }
19276 _ACEOF
19277 if ac_fn_c_try_link "$LINENO"
19278 then :
19279 ac_cv_cflags__fshort_wchar=yes
19280 else $as_nop
19281 ac_cv_cflags__fshort_wchar=no
19283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19284 conftest$ac_exeext conftest.$ac_ext
19285 CFLAGS=$ac_wine_try_cflags_saved
19287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19288 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19289 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19290 then :
19291 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19294 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19295 if test ${ac_cv_cflags__fvisibility_hidden+y}
19296 then :
19297 printf %s "(cached) " >&6
19298 else $as_nop
19299 ac_wine_try_cflags_saved=$CFLAGS
19300 CFLAGS="$CFLAGS -fvisibility=hidden"
19301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19302 /* end confdefs.h. */
19303 int main(int argc, char **argv) { return 0; }
19304 _ACEOF
19305 if ac_fn_c_try_link "$LINENO"
19306 then :
19307 ac_cv_cflags__fvisibility_hidden=yes
19308 else $as_nop
19309 ac_cv_cflags__fvisibility_hidden=no
19311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19312 conftest$ac_exeext conftest.$ac_ext
19313 CFLAGS=$ac_wine_try_cflags_saved
19315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19316 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19317 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19318 then :
19319 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19322 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19323 if test ${ac_cv_cflags__Wno_format+y}
19324 then :
19325 printf %s "(cached) " >&6
19326 else $as_nop
19327 ac_wine_try_cflags_saved=$CFLAGS
19328 CFLAGS="$CFLAGS -Wno-format"
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 int main(int argc, char **argv) { return 0; }
19332 _ACEOF
19333 if ac_fn_c_try_link "$LINENO"
19334 then :
19335 ac_cv_cflags__Wno_format=yes
19336 else $as_nop
19337 ac_cv_cflags__Wno_format=no
19339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19340 conftest$ac_exeext conftest.$ac_ext
19341 CFLAGS=$ac_wine_try_cflags_saved
19343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19344 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19345 if test "x$ac_cv_cflags__Wno_format" = xyes
19346 then :
19347 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19348 fi ;;
19349 esac
19351 case $host_cpu in
19352 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19353 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19354 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19355 then :
19356 printf %s "(cached) " >&6
19357 else $as_nop
19358 ac_wine_try_cflags_saved=$CFLAGS
19359 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19362 int main(int argc, char **argv) { return 0; }
19363 _ACEOF
19364 if ac_fn_c_try_link "$LINENO"
19365 then :
19366 ac_cv_cflags__fno_omit_frame_pointer=yes
19367 else $as_nop
19368 ac_cv_cflags__fno_omit_frame_pointer=no
19370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19371 conftest$ac_exeext conftest.$ac_ext
19372 CFLAGS=$ac_wine_try_cflags_saved
19374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19375 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19376 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19377 then :
19378 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19379 fi ;;
19380 *x86_64*)
19381 case $host_os in
19382 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19383 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19384 if test ${ac_cv_cflags__Wno_format+y}
19385 then :
19386 printf %s "(cached) " >&6
19387 else $as_nop
19388 ac_wine_try_cflags_saved=$CFLAGS
19389 CFLAGS="$CFLAGS -Wno-format"
19390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19391 /* end confdefs.h. */
19392 int main(int argc, char **argv) { return 0; }
19393 _ACEOF
19394 if ac_fn_c_try_link "$LINENO"
19395 then :
19396 ac_cv_cflags__Wno_format=yes
19397 else $as_nop
19398 ac_cv_cflags__Wno_format=no
19400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19401 conftest$ac_exeext conftest.$ac_ext
19402 CFLAGS=$ac_wine_try_cflags_saved
19404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19405 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19406 if test "x$ac_cv_cflags__Wno_format" = xyes
19407 then :
19408 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19409 fi ;;
19410 *) if test -z "$PE_ARCHS"
19411 then
19412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19413 printf %s "checking for working -mabi=ms... " >&6; }
19414 if test ${ac_cv_mabi_ms+y}
19415 then :
19416 printf %s "(cached) " >&6
19417 else $as_nop
19418 CFLAGS="$CFLAGS -mabi=ms"
19419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19420 /* end confdefs.h. */
19421 #include <stdarg.h>
19422 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19424 main (void)
19428 return 0;
19430 _ACEOF
19431 if ac_fn_c_try_compile "$LINENO"
19432 then :
19433 ac_cv_mabi_ms=yes
19434 else $as_nop
19435 ac_cv_mabi_ms=no
19437 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19438 CFLAGS=$saved_CFLAGS
19440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19441 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19442 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
19444 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19445 esac ;;
19446 arm*)
19447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19448 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19449 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19450 then :
19451 printf %s "(cached) " >&6
19452 else $as_nop
19453 ac_wine_try_cflags_saved=$CFLAGS
19454 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19456 /* end confdefs.h. */
19457 int main(int argc, char **argv) { return 0; }
19458 _ACEOF
19459 if ac_fn_c_try_link "$LINENO"
19460 then :
19461 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19462 else $as_nop
19463 ac_cv_cflags__Wincompatible_function_pointer_types=no
19465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19466 conftest$ac_exeext conftest.$ac_ext
19467 CFLAGS=$ac_wine_try_cflags_saved
19469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19470 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19471 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19472 then :
19473 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19474 fi ;;
19475 esac
19477 CFLAGS=$saved_CFLAGS
19479 if test "x$enable_werror" = "xyes"
19480 then
19481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19482 printf %s "checking whether the compiler supports -Werror... " >&6; }
19483 if test ${ac_cv_cflags__Werror+y}
19484 then :
19485 printf %s "(cached) " >&6
19486 else $as_nop
19487 ac_wine_try_cflags_saved=$CFLAGS
19488 CFLAGS="$CFLAGS -Werror"
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__Werror=yes
19496 else $as_nop
19497 ac_cv_cflags__Werror=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__Werror" >&5
19504 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19505 if test "x$ac_cv_cflags__Werror" = xyes
19506 then :
19507 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19510 if test "x$enable_build_id" = "xyes"
19511 then
19512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19513 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19514 if test ${ac_cv_cflags__Wl___build_id+y}
19515 then :
19516 printf %s "(cached) " >&6
19517 else $as_nop
19518 ac_wine_try_cflags_saved=$CFLAGS
19519 CFLAGS="$CFLAGS -Wl,--build-id"
19520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19521 /* end confdefs.h. */
19522 int main(int argc, char **argv) { return 0; }
19523 _ACEOF
19524 if ac_fn_c_try_link "$LINENO"
19525 then :
19526 ac_cv_cflags__Wl___build_id=yes
19527 else $as_nop
19528 ac_cv_cflags__Wl___build_id=no
19530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19531 conftest$ac_exeext conftest.$ac_ext
19532 CFLAGS=$ac_wine_try_cflags_saved
19534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19535 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19536 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19537 then :
19538 CFLAGS="$CFLAGS -Wl,--build-id"
19539 LDFLAGS="$LDFLAGS -Wl,--build-id"
19545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19546 printf %s "checking for the need to disable Fortify... " >&6; }
19547 if test ${ac_cv_c_fortify_enabled+y}
19548 then :
19549 printf %s "(cached) " >&6
19550 else $as_nop
19551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19552 /* end confdefs.h. */
19553 #include <string.h>
19555 main (void)
19557 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19558 #error Fortify enabled
19559 #endif
19561 return 0;
19563 _ACEOF
19564 if ac_fn_c_try_compile "$LINENO"
19565 then :
19566 ac_cv_c_fortify_enabled=no
19567 else $as_nop
19568 ac_cv_c_fortify_enabled=yes
19570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19573 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19574 if test "$ac_cv_c_fortify_enabled" = yes
19575 then
19576 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19581 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19582 if test ${ac_cv_c_cfi_support+y}
19583 then :
19584 printf %s "(cached) " >&6
19585 else $as_nop
19586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19587 /* end confdefs.h. */
19588 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19590 main (void)
19594 return 0;
19596 _ACEOF
19597 if ac_fn_c_try_compile "$LINENO"
19598 then :
19599 ac_cv_c_cfi_support="yes"
19600 else $as_nop
19601 ac_cv_c_cfi_support="no"
19603 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19606 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19607 if test "$ac_cv_c_cfi_support" = "yes"
19608 then
19609 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19610 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19611 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19612 elif test $HOST_ARCH = x86_64
19613 then
19614 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19618 case "$HOST_ARCH,$PE_ARCHS" in
19619 x86_64,*i386*) wine_binary="wine" ;;
19620 x86_64,*) wine_binary="wine64" ;;
19621 *) wine_binary="wine" ;;
19622 esac
19623 WINELOADER_PROGRAMS="$wine_binary"
19626 case $host_os in
19627 linux*)
19628 case $host_cpu in
19629 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19630 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19631 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19633 esac
19635 darwin*|macosx*)
19636 if test "$wine_can_build_preloader" = "yes"
19637 then
19638 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19639 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19642 esac
19645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19646 printf %s "checking for library containing dlopen... " >&6; }
19647 if test ${ac_cv_search_dlopen+y}
19648 then :
19649 printf %s "(cached) " >&6
19650 else $as_nop
19651 ac_func_search_save_LIBS=$LIBS
19652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19653 /* end confdefs.h. */
19655 /* Override any GCC internal prototype to avoid an error.
19656 Use char because int might match the return type of a GCC
19657 builtin and then its argument prototype would still apply. */
19658 char dlopen ();
19660 main (void)
19662 return dlopen ();
19664 return 0;
19666 _ACEOF
19667 for ac_lib in '' dl
19669 if test -z "$ac_lib"; then
19670 ac_res="none required"
19671 else
19672 ac_res=-l$ac_lib
19673 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19675 if ac_fn_c_try_link "$LINENO"
19676 then :
19677 ac_cv_search_dlopen=$ac_res
19679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19680 conftest$ac_exeext
19681 if test ${ac_cv_search_dlopen+y}
19682 then :
19683 break
19685 done
19686 if test ${ac_cv_search_dlopen+y}
19687 then :
19689 else $as_nop
19690 ac_cv_search_dlopen=no
19692 rm conftest.$ac_ext
19693 LIBS=$ac_func_search_save_LIBS
19695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19696 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19697 ac_res=$ac_cv_search_dlopen
19698 if test "$ac_res" != no
19699 then :
19700 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19706 printf %s "checking for library containing gethostbyname... " >&6; }
19707 if test ${ac_cv_search_gethostbyname+y}
19708 then :
19709 printf %s "(cached) " >&6
19710 else $as_nop
19711 ac_func_search_save_LIBS=$LIBS
19712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19713 /* end confdefs.h. */
19715 /* Override any GCC internal prototype to avoid an error.
19716 Use char because int might match the return type of a GCC
19717 builtin and then its argument prototype would still apply. */
19718 char gethostbyname ();
19720 main (void)
19722 return gethostbyname ();
19724 return 0;
19726 _ACEOF
19727 for ac_lib in '' nsl
19729 if test -z "$ac_lib"; then
19730 ac_res="none required"
19731 else
19732 ac_res=-l$ac_lib
19733 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19735 if ac_fn_c_try_link "$LINENO"
19736 then :
19737 ac_cv_search_gethostbyname=$ac_res
19739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19740 conftest$ac_exeext
19741 if test ${ac_cv_search_gethostbyname+y}
19742 then :
19743 break
19745 done
19746 if test ${ac_cv_search_gethostbyname+y}
19747 then :
19749 else $as_nop
19750 ac_cv_search_gethostbyname=no
19752 rm conftest.$ac_ext
19753 LIBS=$ac_func_search_save_LIBS
19755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19756 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19757 ac_res=$ac_cv_search_gethostbyname
19758 if test "$ac_res" != no
19759 then :
19760 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19766 printf %s "checking for library containing connect... " >&6; }
19767 if test ${ac_cv_search_connect+y}
19768 then :
19769 printf %s "(cached) " >&6
19770 else $as_nop
19771 ac_func_search_save_LIBS=$LIBS
19772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19773 /* end confdefs.h. */
19775 /* Override any GCC internal prototype to avoid an error.
19776 Use char because int might match the return type of a GCC
19777 builtin and then its argument prototype would still apply. */
19778 char connect ();
19780 main (void)
19782 return connect ();
19784 return 0;
19786 _ACEOF
19787 for ac_lib in '' socket
19789 if test -z "$ac_lib"; then
19790 ac_res="none required"
19791 else
19792 ac_res=-l$ac_lib
19793 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19795 if ac_fn_c_try_link "$LINENO"
19796 then :
19797 ac_cv_search_connect=$ac_res
19799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19800 conftest$ac_exeext
19801 if test ${ac_cv_search_connect+y}
19802 then :
19803 break
19805 done
19806 if test ${ac_cv_search_connect+y}
19807 then :
19809 else $as_nop
19810 ac_cv_search_connect=no
19812 rm conftest.$ac_ext
19813 LIBS=$ac_func_search_save_LIBS
19815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19816 printf "%s\n" "$ac_cv_search_connect" >&6; }
19817 ac_res=$ac_cv_search_connect
19818 if test "$ac_res" != no
19819 then :
19820 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19826 printf %s "checking for library containing inet_aton... " >&6; }
19827 if test ${ac_cv_search_inet_aton+y}
19828 then :
19829 printf %s "(cached) " >&6
19830 else $as_nop
19831 ac_func_search_save_LIBS=$LIBS
19832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19833 /* end confdefs.h. */
19835 /* Override any GCC internal prototype to avoid an error.
19836 Use char because int might match the return type of a GCC
19837 builtin and then its argument prototype would still apply. */
19838 char inet_aton ();
19840 main (void)
19842 return inet_aton ();
19844 return 0;
19846 _ACEOF
19847 for ac_lib in '' resolv
19849 if test -z "$ac_lib"; then
19850 ac_res="none required"
19851 else
19852 ac_res=-l$ac_lib
19853 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19855 if ac_fn_c_try_link "$LINENO"
19856 then :
19857 ac_cv_search_inet_aton=$ac_res
19859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19860 conftest$ac_exeext
19861 if test ${ac_cv_search_inet_aton+y}
19862 then :
19863 break
19865 done
19866 if test ${ac_cv_search_inet_aton+y}
19867 then :
19869 else $as_nop
19870 ac_cv_search_inet_aton=no
19872 rm conftest.$ac_ext
19873 LIBS=$ac_func_search_save_LIBS
19875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19876 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19877 ac_res=$ac_cv_search_inet_aton
19878 if test "$ac_res" != no
19879 then :
19880 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19885 ac_save_CFLAGS="$CFLAGS"
19886 CFLAGS="$CFLAGS $BUILTINFLAG"
19887 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19888 if test "x$ac_cv_func_dladdr1" = xyes
19889 then :
19890 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19893 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19894 if test "x$ac_cv_func_dlinfo" = xyes
19895 then :
19896 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19899 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19900 if test "x$ac_cv_func_epoll_create" = xyes
19901 then :
19902 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19905 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19906 if test "x$ac_cv_func_fstatfs" = xyes
19907 then :
19908 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19911 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19912 if test "x$ac_cv_func_futimens" = xyes
19913 then :
19914 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19917 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19918 if test "x$ac_cv_func_futimes" = xyes
19919 then :
19920 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19923 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19924 if test "x$ac_cv_func_futimesat" = xyes
19925 then :
19926 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19929 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19930 if test "x$ac_cv_func_getaddrinfo" = xyes
19931 then :
19932 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19935 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19936 if test "x$ac_cv_func_getattrlist" = xyes
19937 then :
19938 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19941 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19942 if test "x$ac_cv_func_getauxval" = xyes
19943 then :
19944 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19947 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19948 if test "x$ac_cv_func_getifaddrs" = xyes
19949 then :
19950 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19953 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19954 if test "x$ac_cv_func_getrandom" = xyes
19955 then :
19956 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19959 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19960 if test "x$ac_cv_func_kqueue" = xyes
19961 then :
19962 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19965 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19966 if test "x$ac_cv_func_mach_continuous_time" = xyes
19967 then :
19968 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19971 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19972 if test "x$ac_cv_func_pipe2" = xyes
19973 then :
19974 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19977 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19978 if test "x$ac_cv_func_port_create" = xyes
19979 then :
19980 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19983 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19984 if test "x$ac_cv_func_posix_fadvise" = xyes
19985 then :
19986 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19989 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19990 if test "x$ac_cv_func_posix_fallocate" = xyes
19991 then :
19992 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19995 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19996 if test "x$ac_cv_func_prctl" = xyes
19997 then :
19998 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20001 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20002 if test "x$ac_cv_func_proc_pidinfo" = xyes
20003 then :
20004 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20007 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20008 if test "x$ac_cv_func_sched_yield" = xyes
20009 then :
20010 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20013 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20014 if test "x$ac_cv_func_setproctitle" = xyes
20015 then :
20016 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20019 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20020 if test "x$ac_cv_func_setprogname" = xyes
20021 then :
20022 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20025 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20026 if test "x$ac_cv_func_sigprocmask" = xyes
20027 then :
20028 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20031 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20032 if test "x$ac_cv_func_sysinfo" = xyes
20033 then :
20034 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20037 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20038 if test "x$ac_cv_func_tcdrain" = xyes
20039 then :
20040 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20043 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20044 if test "x$ac_cv_func_thr_kill2" = xyes
20045 then :
20046 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20050 CFLAGS="$ac_save_CFLAGS"
20052 case $host_os in
20053 darwin*|macosx*) ;;
20054 *) ac_save_LIBS=$LIBS
20055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20056 printf %s "checking for library containing clock_gettime... " >&6; }
20057 if test ${ac_cv_search_clock_gettime+y}
20058 then :
20059 printf %s "(cached) " >&6
20060 else $as_nop
20061 ac_func_search_save_LIBS=$LIBS
20062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20063 /* end confdefs.h. */
20065 /* Override any GCC internal prototype to avoid an error.
20066 Use char because int might match the return type of a GCC
20067 builtin and then its argument prototype would still apply. */
20068 char clock_gettime ();
20070 main (void)
20072 return clock_gettime ();
20074 return 0;
20076 _ACEOF
20077 for ac_lib in '' rt
20079 if test -z "$ac_lib"; then
20080 ac_res="none required"
20081 else
20082 ac_res=-l$ac_lib
20083 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20085 if ac_fn_c_try_link "$LINENO"
20086 then :
20087 ac_cv_search_clock_gettime=$ac_res
20089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20090 conftest$ac_exeext
20091 if test ${ac_cv_search_clock_gettime+y}
20092 then :
20093 break
20095 done
20096 if test ${ac_cv_search_clock_gettime+y}
20097 then :
20099 else $as_nop
20100 ac_cv_search_clock_gettime=no
20102 rm conftest.$ac_ext
20103 LIBS=$ac_func_search_save_LIBS
20105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20106 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20107 ac_res=$ac_cv_search_clock_gettime
20108 if test "$ac_res" != no
20109 then :
20110 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20112 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20114 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20118 LIBS=$ac_save_LIBS
20120 esac
20122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20123 printf %s "checking for sched_setaffinity... " >&6; }
20124 if test ${wine_cv_have_sched_setaffinity+y}
20125 then :
20126 printf %s "(cached) " >&6
20127 else $as_nop
20128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20129 /* end confdefs.h. */
20130 #include <sched.h>
20132 main (void)
20134 sched_setaffinity(0, 0, 0);
20136 return 0;
20138 _ACEOF
20139 if ac_fn_c_try_link "$LINENO"
20140 then :
20141 wine_cv_have_sched_setaffinity=yes
20142 else $as_nop
20143 wine_cv_have_sched_setaffinity=no
20145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20146 conftest$ac_exeext conftest.$ac_ext
20148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20149 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20150 if test "$wine_cv_have_sched_setaffinity" = "yes"
20151 then
20153 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20159 printf %s "checking for inline... " >&6; }
20160 if test ${ac_cv_c_inline+y}
20161 then :
20162 printf %s "(cached) " >&6
20163 else $as_nop
20164 ac_cv_c_inline=no
20165 for ac_kw in inline __inline__ __inline; do
20166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20167 /* end confdefs.h. */
20168 #ifndef __cplusplus
20169 typedef int foo_t;
20170 static $ac_kw foo_t static_foo (void) {return 0; }
20171 $ac_kw foo_t foo (void) {return 0; }
20172 #endif
20174 _ACEOF
20175 if ac_fn_c_try_compile "$LINENO"
20176 then :
20177 ac_cv_c_inline=$ac_kw
20179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20180 test "$ac_cv_c_inline" != no && break
20181 done
20184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20185 printf "%s\n" "$ac_cv_c_inline" >&6; }
20187 case $ac_cv_c_inline in
20188 inline | yes) ;;
20190 case $ac_cv_c_inline in
20191 no) ac_val=;;
20192 *) ac_val=$ac_cv_c_inline;;
20193 esac
20194 cat >>confdefs.h <<_ACEOF
20195 #ifndef __cplusplus
20196 #define inline $ac_val
20197 #endif
20198 _ACEOF
20200 esac
20202 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20204 if test "x$ac_cv_type_request_sense" = xyes
20205 then :
20207 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20213 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20214 #include <sys/socket.h>
20215 #ifdef HAVE_SYS_SOCKETVAR_H
20216 #include <sys/socketvar.h>
20217 #endif
20218 #ifdef HAVE_NET_ROUTE_H
20219 #include <net/route.h>
20220 #endif
20221 #ifdef HAVE_NETINET_IN_H
20222 #include <netinet/in.h>
20223 #endif
20224 #ifdef HAVE_NETINET_IN_SYSTM_H
20225 #include <netinet/in_systm.h>
20226 #endif
20227 #ifdef HAVE_NETINET_IP_H
20228 #include <netinet/ip.h>
20229 #endif
20230 #ifdef HAVE_NETINET_IN_PCB_H
20231 #include <netinet/in_pcb.h>
20232 #endif
20234 if test "x$ac_cv_type_struct_xinpgen" = xyes
20235 then :
20237 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20244 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20245 if test ${wine_cv_linux_gethostbyname_r_6+y}
20246 then :
20247 printf %s "(cached) " >&6
20248 else $as_nop
20249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20250 /* end confdefs.h. */
20251 #include <netdb.h>
20253 main (void)
20256 char *name=0;
20257 struct hostent he;
20258 struct hostent *result;
20259 char *buf=0;
20260 int bufsize=0;
20261 int errnr;
20262 char *addr=0;
20263 int addrlen=0;
20264 int addrtype=0;
20265 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20266 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20269 return 0;
20271 _ACEOF
20272 if ac_fn_c_try_link "$LINENO"
20273 then :
20274 wine_cv_linux_gethostbyname_r_6=yes
20275 else $as_nop
20276 wine_cv_linux_gethostbyname_r_6=no
20279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20280 conftest$ac_exeext conftest.$ac_ext
20283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20284 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20285 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20286 then
20288 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20292 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20293 #include <sys/socket.h>
20294 #ifdef HAVE_SYS_UN_H
20295 # include <sys/un.h>
20296 #endif
20298 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20299 then :
20301 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20305 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20306 #include <sys/socket.h>
20307 #ifdef HAVE_SYS_UN_H
20308 # include <sys/un.h>
20309 #endif
20311 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20312 then :
20314 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20320 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20321 #ifdef HAVE_SCSI_SG_H
20322 #include <scsi/sg.h>
20323 #endif
20325 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20326 then :
20328 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20332 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>
20333 #ifdef HAVE_SCSI_SG_H
20334 #include <scsi/sg.h>
20335 #endif
20337 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20338 then :
20340 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20346 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20348 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20349 then :
20351 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20357 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20358 #ifdef HAVE_SYS_MTIO_H
20359 #include <sys/mtio.h>
20360 #endif
20362 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20363 then :
20365 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20369 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20370 #ifdef HAVE_SYS_MTIO_H
20371 #include <sys/mtio.h>
20372 #endif
20374 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20375 then :
20377 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20381 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20382 #ifdef HAVE_SYS_MTIO_H
20383 #include <sys/mtio.h>
20384 #endif
20386 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20387 then :
20389 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20395 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20396 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20397 then :
20399 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20403 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20404 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20405 then :
20407 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20411 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20412 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20413 then :
20415 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20419 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20420 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20421 then :
20423 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20427 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20428 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20429 then :
20431 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20435 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20436 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20437 then :
20439 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20443 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20444 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20445 then :
20447 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20451 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20452 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20453 then :
20455 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20459 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20460 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20461 then :
20463 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20467 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20468 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20469 then :
20471 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20475 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20476 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20477 then :
20479 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20485 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>
20486 #ifdef HAVE_NETINET_IN_H
20487 #include <netinet/in.h>
20488 #endif
20490 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20491 then :
20493 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20499 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
20500 #include <resolv.h>
20501 #endif
20503 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20504 then :
20506 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20512 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20513 #include <netinet/in.h>
20514 #endif
20516 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20517 then :
20519 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20525 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20526 #ifdef HAVE_SYS_SOCKETVAR_H
20527 #include <sys/socketvar.h>
20528 #endif
20529 #ifdef HAVE_NETINET_IN_H
20530 #include <netinet/in.h>
20531 #endif
20532 #ifdef HAVE_NETINET_IP_VAR_H
20533 #include <netinet/ip_var.h>
20534 #endif
20536 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20537 then :
20539 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20545 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
20546 #include <netinet/ip_var.h>
20547 #endif
20549 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20550 then :
20552 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20558 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20559 #ifdef HAVE_SYS_SOCKETVAR_H
20560 #include <sys/socketvar.h>
20561 #endif
20562 #ifdef HAVE_NETINET_IN_H
20563 #include <netinet/in.h>
20564 #endif
20565 #ifdef HAVE_NETINET6_IP6_VAR_H
20566 #include <netinet6/ip6_var.h>
20567 #endif
20569 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20570 then :
20572 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20578 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20579 #ifdef HAVE_SYS_SOCKETVAR_H
20580 #include <sys/socketvar.h>
20581 #endif
20582 #ifdef HAVE_NETINET_IN_H
20583 #include <netinet/in.h>
20584 #endif
20585 #ifdef HAVE_NETINET_IP_H
20586 #include <netinet/ip.h>
20587 #endif
20588 #ifdef HAVE_NETINET_IP_ICMP_H
20589 #include <netinet/ip_icmp.h>
20590 #endif
20591 #ifdef HAVE_NETINET_ICMP_VAR_H
20592 #include <netinet/icmp_var.h>
20593 #endif
20595 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20596 then :
20598 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20604 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20605 #ifdef HAVE_SYS_SOCKETVAR_H
20606 #include <sys/socketvar.h>
20607 #endif
20608 #ifdef HAVE_NETINET_IN_H
20609 #include <netinet/in.h>
20610 #endif
20611 #ifdef HAVE_NETINET_ICMP6_H
20612 #include <netinet/icmp6.h>
20613 #endif
20615 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20616 then :
20618 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20624 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20625 #ifdef HAVE_SYS_SOCKETVAR_H
20626 #include <sys/socketvar.h>
20627 #endif
20628 #ifdef HAVE_NETINET_IN_H
20629 #include <netinet/in.h>
20630 #endif
20631 #ifdef HAVE_NETINET_TCP_H
20632 #include <netinet/tcp.h>
20633 #endif
20634 #ifdef HAVE_NETINET_TCP_VAR_H
20635 #include <netinet/tcp_var.h>
20636 #endif
20638 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20639 then :
20641 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20647 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
20648 #include <netinet/tcp_var.h>
20649 #endif
20651 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20652 then :
20654 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20660 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20661 #ifdef HAVE_NETINET_IN_H
20662 #include <netinet/in.h>
20663 #endif
20664 #ifdef HAVE_NETINET_IP_VAR_H
20665 #include <netinet/ip_var.h>
20666 #endif
20667 #ifdef HAVE_NETINET_UDP_H
20668 #include <netinet/udp.h>
20669 #endif
20670 #ifdef HAVE_NETINET_UDP_VAR_H
20671 #include <netinet/udp_var.h>
20672 #endif
20674 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20675 then :
20677 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20683 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20684 #ifdef HAVE_NET_IF_H
20685 # include <net/if.h>
20686 #endif
20688 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20689 then :
20691 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20697 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20698 # include <sys/sysinfo.h>
20699 #endif
20701 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20702 then :
20704 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20708 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20709 # include <sys/sysinfo.h>
20710 #endif
20712 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20713 then :
20715 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20721 LIBS="$ac_save_LIBS"
20723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20724 printf %s "checking for __builtin_popcount... " >&6; }
20725 if test ${ac_cv_have___builtin_popcount+y}
20726 then :
20727 printf %s "(cached) " >&6
20728 else $as_nop
20729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20730 /* end confdefs.h. */
20733 main (void)
20735 return __builtin_popcount(1)
20737 return 0;
20739 _ACEOF
20740 if ac_fn_c_try_link "$LINENO"
20741 then :
20742 ac_cv_have___builtin_popcount="yes"
20743 else $as_nop
20744 ac_cv_have___builtin_popcount="no"
20746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20747 conftest$ac_exeext conftest.$ac_ext
20749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20750 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20751 if test "$ac_cv_have___builtin_popcount" = "yes"
20752 then
20754 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20759 printf %s "checking for __clear_cache... " >&6; }
20760 if test ${ac_cv_have___clear_cache+y}
20761 then :
20762 printf %s "(cached) " >&6
20763 else $as_nop
20764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20765 /* end confdefs.h. */
20768 main (void)
20770 __clear_cache((void*)0, (void*)0); return 0;
20772 return 0;
20774 _ACEOF
20775 if ac_fn_c_try_link "$LINENO"
20776 then :
20777 ac_cv_have___clear_cache="yes"
20778 else $as_nop
20779 ac_cv_have___clear_cache="no"
20781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20782 conftest$ac_exeext conftest.$ac_ext
20784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20785 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20786 if test "$ac_cv_have___clear_cache" = "yes"
20787 then
20789 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20794 case $host_cpu in
20795 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20796 printf %s "checking whether we need to define __i386__... " >&6; }
20797 if test ${ac_cv_cpp_def___i386__+y}
20798 then :
20799 printf %s "(cached) " >&6
20800 else $as_nop
20801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20802 /* end confdefs.h. */
20803 #ifndef __i386__
20805 #endif
20806 _ACEOF
20807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20808 $EGREP "yes" >/dev/null 2>&1
20809 then :
20810 ac_cv_cpp_def___i386__=yes
20811 else $as_nop
20812 ac_cv_cpp_def___i386__=no
20814 rm -rf conftest*
20817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20818 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20819 if test "x$ac_cv_cpp_def___i386__" = xyes
20820 then :
20821 CFLAGS="$CFLAGS -D__i386__"
20822 LINTFLAGS="$LINTFLAGS -D__i386__"
20823 fi ;;
20824 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20825 printf %s "checking whether we need to define __x86_64__... " >&6; }
20826 if test ${ac_cv_cpp_def___x86_64__+y}
20827 then :
20828 printf %s "(cached) " >&6
20829 else $as_nop
20830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20831 /* end confdefs.h. */
20832 #ifndef __x86_64__
20834 #endif
20835 _ACEOF
20836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20837 $EGREP "yes" >/dev/null 2>&1
20838 then :
20839 ac_cv_cpp_def___x86_64__=yes
20840 else $as_nop
20841 ac_cv_cpp_def___x86_64__=no
20843 rm -rf conftest*
20846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20847 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20848 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20849 then :
20850 CFLAGS="$CFLAGS -D__x86_64__"
20851 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20852 fi ;;
20853 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20854 printf %s "checking whether we need to define __sparc64__... " >&6; }
20855 if test ${ac_cv_cpp_def___sparc64__+y}
20856 then :
20857 printf %s "(cached) " >&6
20858 else $as_nop
20859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20860 /* end confdefs.h. */
20861 #ifndef __sparc64__
20863 #endif
20864 _ACEOF
20865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20866 $EGREP "yes" >/dev/null 2>&1
20867 then :
20868 ac_cv_cpp_def___sparc64__=yes
20869 else $as_nop
20870 ac_cv_cpp_def___sparc64__=no
20872 rm -rf conftest*
20875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20876 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20877 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20878 then :
20879 CFLAGS="$CFLAGS -D__sparc64__"
20880 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20881 fi ;;
20882 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20883 printf %s "checking whether we need to define __sparc__... " >&6; }
20884 if test ${ac_cv_cpp_def___sparc__+y}
20885 then :
20886 printf %s "(cached) " >&6
20887 else $as_nop
20888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20889 /* end confdefs.h. */
20890 #ifndef __sparc__
20892 #endif
20893 _ACEOF
20894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20895 $EGREP "yes" >/dev/null 2>&1
20896 then :
20897 ac_cv_cpp_def___sparc__=yes
20898 else $as_nop
20899 ac_cv_cpp_def___sparc__=no
20901 rm -rf conftest*
20904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20905 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20906 if test "x$ac_cv_cpp_def___sparc__" = xyes
20907 then :
20908 CFLAGS="$CFLAGS -D__sparc__"
20909 LINTFLAGS="$LINTFLAGS -D__sparc__"
20910 fi ;;
20911 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20912 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20913 if test ${ac_cv_cpp_def___powerpc64__+y}
20914 then :
20915 printf %s "(cached) " >&6
20916 else $as_nop
20917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20919 #ifndef __powerpc64__
20921 #endif
20922 _ACEOF
20923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20924 $EGREP "yes" >/dev/null 2>&1
20925 then :
20926 ac_cv_cpp_def___powerpc64__=yes
20927 else $as_nop
20928 ac_cv_cpp_def___powerpc64__=no
20930 rm -rf conftest*
20933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20934 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20935 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20936 then :
20937 CFLAGS="$CFLAGS -D__powerpc64__"
20938 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20939 fi ;;
20940 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20941 printf %s "checking whether we need to define __powerpc__... " >&6; }
20942 if test ${ac_cv_cpp_def___powerpc__+y}
20943 then :
20944 printf %s "(cached) " >&6
20945 else $as_nop
20946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20947 /* end confdefs.h. */
20948 #ifndef __powerpc__
20950 #endif
20951 _ACEOF
20952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20953 $EGREP "yes" >/dev/null 2>&1
20954 then :
20955 ac_cv_cpp_def___powerpc__=yes
20956 else $as_nop
20957 ac_cv_cpp_def___powerpc__=no
20959 rm -rf conftest*
20962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20963 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20964 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20965 then :
20966 CFLAGS="$CFLAGS -D__powerpc__"
20967 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20968 fi ;;
20969 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20970 printf %s "checking whether we need to define __aarch64__... " >&6; }
20971 if test ${ac_cv_cpp_def___aarch64__+y}
20972 then :
20973 printf %s "(cached) " >&6
20974 else $as_nop
20975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20976 /* end confdefs.h. */
20977 #ifndef __aarch64__
20979 #endif
20980 _ACEOF
20981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20982 $EGREP "yes" >/dev/null 2>&1
20983 then :
20984 ac_cv_cpp_def___aarch64__=yes
20985 else $as_nop
20986 ac_cv_cpp_def___aarch64__=no
20988 rm -rf conftest*
20991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20992 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20993 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20994 then :
20995 CFLAGS="$CFLAGS -D__aarch64__"
20996 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20997 fi ;;
20998 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20999 printf %s "checking whether we need to define __arm__... " >&6; }
21000 if test ${ac_cv_cpp_def___arm__+y}
21001 then :
21002 printf %s "(cached) " >&6
21003 else $as_nop
21004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21005 /* end confdefs.h. */
21006 #ifndef __arm__
21008 #endif
21009 _ACEOF
21010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21011 $EGREP "yes" >/dev/null 2>&1
21012 then :
21013 ac_cv_cpp_def___arm__=yes
21014 else $as_nop
21015 ac_cv_cpp_def___arm__=no
21017 rm -rf conftest*
21020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21021 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21022 if test "x$ac_cv_cpp_def___arm__" = xyes
21023 then :
21024 CFLAGS="$CFLAGS -D__arm__"
21025 LINTFLAGS="$LINTFLAGS -D__arm__"
21026 fi ;;
21027 esac
21029 case $host_vendor in
21030 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21031 printf %s "checking whether we need to define __sun__... " >&6; }
21032 if test ${ac_cv_cpp_def___sun__+y}
21033 then :
21034 printf %s "(cached) " >&6
21035 else $as_nop
21036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21037 /* end confdefs.h. */
21038 #ifndef __sun__
21040 #endif
21041 _ACEOF
21042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21043 $EGREP "yes" >/dev/null 2>&1
21044 then :
21045 ac_cv_cpp_def___sun__=yes
21046 else $as_nop
21047 ac_cv_cpp_def___sun__=no
21049 rm -rf conftest*
21052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21053 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21054 if test "x$ac_cv_cpp_def___sun__" = xyes
21055 then :
21056 CFLAGS="$CFLAGS -D__sun__"
21057 LINTFLAGS="$LINTFLAGS -D__sun__"
21058 fi ;;
21059 esac
21065 ac_config_commands="$ac_config_commands include/stamp-h"
21067 printf %s "creating Makefile rules..." >&6
21069 makedep_flags=""
21070 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21072 wine_srcdir=
21073 test "$srcdir" = . || wine_srcdir="$srcdir/"
21075 ac_config_links="$ac_config_links wine:tools/winewrapper"
21076 wine_fn_config_symlink wine
21077 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21078 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21079 wine_fn_config_symlink wine64
21082 wine_fn_config_makefile dlls/acledit enable_acledit
21083 wine_fn_config_makefile dlls/aclui enable_aclui
21084 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21085 wine_fn_config_makefile dlls/activeds enable_activeds
21086 wine_fn_config_makefile dlls/activeds/tests enable_tests
21087 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21088 wine_fn_config_makefile dlls/adsldp enable_adsldp
21089 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21090 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21091 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21092 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21093 wine_fn_config_makefile dlls/advpack enable_advpack
21094 wine_fn_config_makefile dlls/advpack/tests enable_tests
21095 wine_fn_config_makefile dlls/amsi enable_amsi
21096 wine_fn_config_makefile dlls/amstream enable_amstream
21097 wine_fn_config_makefile dlls/amstream/tests enable_tests
21098 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21099 wine_fn_config_makefile dlls/apphelp enable_apphelp
21100 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21101 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21102 wine_fn_config_makefile dlls/atl enable_atl
21103 wine_fn_config_makefile dlls/atl/tests enable_tests
21104 wine_fn_config_makefile dlls/atl100 enable_atl100
21105 wine_fn_config_makefile dlls/atl100/tests enable_tests
21106 wine_fn_config_makefile dlls/atl110 enable_atl110
21107 wine_fn_config_makefile dlls/atl110/tests enable_tests
21108 wine_fn_config_makefile dlls/atl80 enable_atl80
21109 wine_fn_config_makefile dlls/atl80/tests enable_tests
21110 wine_fn_config_makefile dlls/atl90 enable_atl90
21111 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21112 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21113 wine_fn_config_makefile dlls/atmlib enable_atmlib
21114 wine_fn_config_makefile dlls/authz enable_authz
21115 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21116 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21117 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21118 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21119 wine_fn_config_makefile dlls/avrt enable_avrt
21120 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21121 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21122 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21123 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21124 wine_fn_config_makefile dlls/browseui enable_browseui
21125 wine_fn_config_makefile dlls/browseui/tests enable_tests
21126 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21127 wine_fn_config_makefile dlls/cabinet enable_cabinet
21128 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21129 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21130 wine_fn_config_makefile dlls/cards enable_cards
21131 wine_fn_config_makefile dlls/cdosys enable_cdosys
21132 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21133 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21134 wine_fn_config_makefile dlls/clusapi enable_clusapi
21135 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21136 wine_fn_config_makefile dlls/combase enable_combase
21137 wine_fn_config_makefile dlls/combase/tests enable_tests
21138 wine_fn_config_makefile dlls/comcat enable_comcat
21139 wine_fn_config_makefile dlls/comcat/tests enable_tests
21140 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21141 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21142 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21143 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21144 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21145 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21146 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21147 wine_fn_config_makefile dlls/compstui enable_compstui
21148 wine_fn_config_makefile dlls/compstui/tests enable_tests
21149 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21150 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21151 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21152 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21153 wine_fn_config_makefile dlls/connect enable_connect
21154 wine_fn_config_makefile dlls/credui enable_credui
21155 wine_fn_config_makefile dlls/credui/tests enable_tests
21156 wine_fn_config_makefile dlls/crtdll enable_crtdll
21157 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21158 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21159 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21160 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21161 wine_fn_config_makefile dlls/cryptext enable_cryptext
21162 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21163 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21164 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21165 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21166 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21167 wine_fn_config_makefile dlls/cryptui enable_cryptui
21168 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21169 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21170 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21171 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21172 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21173 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21174 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21175 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21176 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21177 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21178 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21179 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21180 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21181 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21182 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21183 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21184 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21185 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21186 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21187 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21188 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21189 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21190 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21191 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21192 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21193 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21194 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21195 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21196 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21197 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21198 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21199 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21200 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21201 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21202 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21203 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21204 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21205 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21206 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21207 wine_fn_config_makefile dlls/d3dim enable_d3dim
21208 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21209 wine_fn_config_makefile dlls/d3drm enable_d3drm
21210 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21211 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21212 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21213 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21214 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21215 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21216 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21217 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21218 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21219 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21220 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21221 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21222 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21223 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21224 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21225 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21226 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21227 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21228 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21229 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21230 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21231 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21232 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21233 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21234 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21235 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21236 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21237 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21238 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21239 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21240 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21241 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21242 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21243 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21244 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21245 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21246 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21247 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21248 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21249 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21250 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21251 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21252 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21253 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21254 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21255 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21256 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21257 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21258 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21259 wine_fn_config_makefile dlls/davclnt enable_davclnt
21260 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21261 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21262 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21263 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21264 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21265 wine_fn_config_makefile dlls/dcomp enable_dcomp
21266 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21267 wine_fn_config_makefile dlls/ddraw enable_ddraw
21268 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21269 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21270 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21271 wine_fn_config_makefile dlls/devenum enable_devenum
21272 wine_fn_config_makefile dlls/devenum/tests enable_tests
21273 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21274 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21275 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21276 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21277 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21278 wine_fn_config_makefile dlls/difxapi enable_difxapi
21279 wine_fn_config_makefile dlls/dinput enable_dinput
21280 wine_fn_config_makefile dlls/dinput/tests enable_tests
21281 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21282 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21283 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21284 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21285 wine_fn_config_makefile dlls/dispex enable_dispex
21286 wine_fn_config_makefile dlls/dispex/tests enable_tests
21287 wine_fn_config_makefile dlls/display.drv16 enable_win16
21288 wine_fn_config_makefile dlls/dmband enable_dmband
21289 wine_fn_config_makefile dlls/dmband/tests enable_tests
21290 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21291 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21292 wine_fn_config_makefile dlls/dmime enable_dmime
21293 wine_fn_config_makefile dlls/dmime/tests enable_tests
21294 wine_fn_config_makefile dlls/dmloader enable_dmloader
21295 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21296 wine_fn_config_makefile dlls/dmscript enable_dmscript
21297 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21298 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21299 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21300 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21301 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21302 wine_fn_config_makefile dlls/dmusic enable_dmusic
21303 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21304 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21305 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21306 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21307 wine_fn_config_makefile dlls/dplay enable_dplay
21308 wine_fn_config_makefile dlls/dplayx enable_dplayx
21309 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21310 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21311 wine_fn_config_makefile dlls/dpnet enable_dpnet
21312 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21313 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21314 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21315 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21316 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21317 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21318 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21319 wine_fn_config_makefile dlls/drmclien enable_drmclien
21320 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21321 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21322 wine_fn_config_makefile dlls/dsound enable_dsound
21323 wine_fn_config_makefile dlls/dsound/tests enable_tests
21324 wine_fn_config_makefile dlls/dsquery enable_dsquery
21325 wine_fn_config_makefile dlls/dssenh enable_dssenh
21326 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21327 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21328 wine_fn_config_makefile dlls/dswave enable_dswave
21329 wine_fn_config_makefile dlls/dswave/tests enable_tests
21330 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21331 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21332 wine_fn_config_makefile dlls/dwrite enable_dwrite
21333 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21334 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21335 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21336 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21337 wine_fn_config_makefile dlls/dxgi enable_dxgi
21338 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21339 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21340 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21341 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21342 wine_fn_config_makefile dlls/esent enable_esent
21343 wine_fn_config_makefile dlls/evr enable_evr
21344 wine_fn_config_makefile dlls/evr/tests enable_tests
21345 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21346 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21347 wine_fn_config_makefile dlls/faultrep enable_faultrep
21348 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21349 wine_fn_config_makefile dlls/feclient enable_feclient
21350 wine_fn_config_makefile dlls/fltlib enable_fltlib
21351 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21352 wine_fn_config_makefile dlls/fntcache enable_fntcache
21353 wine_fn_config_makefile dlls/fontsub enable_fontsub
21354 wine_fn_config_makefile dlls/fusion enable_fusion
21355 wine_fn_config_makefile dlls/fusion/tests enable_tests
21356 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21357 wine_fn_config_makefile dlls/gameux enable_gameux
21358 wine_fn_config_makefile dlls/gameux/tests enable_tests
21359 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21360 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21361 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21362 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21363 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21364 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21365 wine_fn_config_makefile dlls/geolocation enable_geolocation
21366 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21367 wine_fn_config_makefile dlls/glu32 enable_glu32
21368 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21369 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21370 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21371 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21372 wine_fn_config_makefile dlls/hal enable_hal
21373 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21374 wine_fn_config_makefile dlls/hid enable_hid
21375 wine_fn_config_makefile dlls/hid/tests enable_tests
21376 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21377 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21378 wine_fn_config_makefile dlls/hlink enable_hlink
21379 wine_fn_config_makefile dlls/hlink/tests enable_tests
21380 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21381 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21382 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21383 wine_fn_config_makefile dlls/http.sys enable_http_sys
21384 wine_fn_config_makefile dlls/httpapi enable_httpapi
21385 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21386 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21387 wine_fn_config_makefile dlls/iccvid enable_iccvid
21388 wine_fn_config_makefile dlls/icmp enable_icmp
21389 wine_fn_config_makefile dlls/ieframe enable_ieframe
21390 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21391 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21392 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21393 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21394 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21395 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21396 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21397 wine_fn_config_makefile dlls/imm32 enable_imm32
21398 wine_fn_config_makefile dlls/imm32/tests enable_tests
21399 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21400 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21401 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21402 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21403 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21404 wine_fn_config_makefile dlls/infosoft enable_infosoft
21405 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21406 wine_fn_config_makefile dlls/initpki enable_initpki
21407 wine_fn_config_makefile dlls/inkobj enable_inkobj
21408 wine_fn_config_makefile dlls/inseng enable_inseng
21409 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21410 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21411 wine_fn_config_makefile dlls/iprop enable_iprop
21412 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21413 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21414 wine_fn_config_makefile dlls/itircl enable_itircl
21415 wine_fn_config_makefile dlls/itss enable_itss
21416 wine_fn_config_makefile dlls/itss/tests enable_tests
21417 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21418 wine_fn_config_makefile dlls/jscript enable_jscript
21419 wine_fn_config_makefile dlls/jscript/tests enable_tests
21420 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21421 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21422 wine_fn_config_makefile dlls/kerberos enable_kerberos
21423 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21424 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21425 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21426 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21427 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21428 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21429 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21430 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21431 wine_fn_config_makefile dlls/ksuser enable_ksuser
21432 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21433 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21434 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21435 wine_fn_config_makefile dlls/loadperf enable_loadperf
21436 wine_fn_config_makefile dlls/localspl enable_localspl
21437 wine_fn_config_makefile dlls/localspl/tests enable_tests
21438 wine_fn_config_makefile dlls/localui enable_localui
21439 wine_fn_config_makefile dlls/localui/tests enable_tests
21440 wine_fn_config_makefile dlls/lz32 enable_lz32
21441 wine_fn_config_makefile dlls/lz32/tests enable_tests
21442 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21443 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21444 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21445 wine_fn_config_makefile dlls/mapistub enable_mapistub
21446 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21447 wine_fn_config_makefile dlls/mcicda enable_mcicda
21448 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21449 wine_fn_config_makefile dlls/mciseq enable_mciseq
21450 wine_fn_config_makefile dlls/mciwave enable_mciwave
21451 wine_fn_config_makefile dlls/mf enable_mf
21452 wine_fn_config_makefile dlls/mf/tests enable_tests
21453 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21454 wine_fn_config_makefile dlls/mferror enable_mferror
21455 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21456 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21457 wine_fn_config_makefile dlls/mfplat enable_mfplat
21458 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21459 wine_fn_config_makefile dlls/mfplay enable_mfplay
21460 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21461 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21462 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21463 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21464 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21465 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21466 wine_fn_config_makefile dlls/midimap enable_midimap
21467 wine_fn_config_makefile dlls/mlang enable_mlang
21468 wine_fn_config_makefile dlls/mlang/tests enable_tests
21469 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21470 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21471 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21472 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21473 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21474 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21475 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21476 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21477 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21478 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21479 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21480 wine_fn_config_makefile dlls/mpr enable_mpr
21481 wine_fn_config_makefile dlls/mpr/tests enable_tests
21482 wine_fn_config_makefile dlls/mprapi enable_mprapi
21483 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21484 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21485 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21486 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21487 wine_fn_config_makefile dlls/msado15 enable_msado15
21488 wine_fn_config_makefile dlls/msado15/tests enable_tests
21489 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21490 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21491 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21492 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21493 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21494 wine_fn_config_makefile dlls/mscms enable_mscms
21495 wine_fn_config_makefile dlls/mscms/tests enable_tests
21496 wine_fn_config_makefile dlls/mscoree enable_mscoree
21497 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21498 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21499 wine_fn_config_makefile dlls/msctf enable_msctf
21500 wine_fn_config_makefile dlls/msctf/tests enable_tests
21501 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21502 wine_fn_config_makefile dlls/msctfp enable_msctfp
21503 wine_fn_config_makefile dlls/msdaps enable_msdaps
21504 wine_fn_config_makefile dlls/msdasql enable_msdasql
21505 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21506 wine_fn_config_makefile dlls/msdelta enable_msdelta
21507 wine_fn_config_makefile dlls/msdmo enable_msdmo
21508 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21509 wine_fn_config_makefile dlls/msdrm enable_msdrm
21510 wine_fn_config_makefile dlls/msftedit enable_msftedit
21511 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21512 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21513 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21514 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21515 wine_fn_config_makefile dlls/mshtml enable_mshtml
21516 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21517 wine_fn_config_makefile dlls/msi enable_msi
21518 wine_fn_config_makefile dlls/msi/tests enable_tests
21519 wine_fn_config_makefile dlls/msident enable_msident
21520 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21521 wine_fn_config_makefile dlls/msimsg enable_msimsg
21522 wine_fn_config_makefile dlls/msimtf enable_msimtf
21523 wine_fn_config_makefile dlls/msisip enable_msisip
21524 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21525 wine_fn_config_makefile dlls/msls31 enable_msls31
21526 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21527 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21528 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21529 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21530 wine_fn_config_makefile dlls/msports enable_msports
21531 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21532 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21533 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21534 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21535 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21536 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21537 wine_fn_config_makefile dlls/mstask enable_mstask
21538 wine_fn_config_makefile dlls/mstask/tests enable_tests
21539 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21540 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21541 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21542 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21543 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21544 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21545 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21546 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21547 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21548 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21549 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21550 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21551 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21552 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21553 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21554 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21555 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21556 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21557 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21558 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21559 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21560 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21561 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21562 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21563 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21564 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21565 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21566 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21567 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21568 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21569 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21570 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21571 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21572 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21573 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21574 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21575 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21576 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21577 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21578 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21579 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21580 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21581 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21582 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21583 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21584 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21585 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21586 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21587 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21588 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21589 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21590 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21591 wine_fn_config_makefile dlls/mswsock enable_mswsock
21592 wine_fn_config_makefile dlls/msxml enable_msxml
21593 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21594 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21595 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21596 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21597 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21598 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21599 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21600 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21601 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21602 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21603 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21604 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21605 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21606 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21607 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21608 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21609 wine_fn_config_makefile dlls/netprofm enable_netprofm
21610 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21611 wine_fn_config_makefile dlls/netutils enable_netutils
21612 wine_fn_config_makefile dlls/newdev enable_newdev
21613 wine_fn_config_makefile dlls/ninput enable_ninput
21614 wine_fn_config_makefile dlls/ninput/tests enable_tests
21615 wine_fn_config_makefile dlls/normaliz enable_normaliz
21616 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21617 wine_fn_config_makefile dlls/npptools enable_npptools
21618 wine_fn_config_makefile dlls/nsi enable_nsi
21619 wine_fn_config_makefile dlls/nsi/tests enable_tests
21620 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21621 wine_fn_config_makefile dlls/ntdll enable_ntdll
21622 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21623 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21624 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21625 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21626 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21627 wine_fn_config_makefile dlls/ntprint enable_ntprint
21628 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21629 wine_fn_config_makefile dlls/objsel enable_objsel
21630 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21631 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21632 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21633 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21634 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21635 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21636 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21637 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21638 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21639 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21640 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21641 wine_fn_config_makefile dlls/ole32 enable_ole32
21642 wine_fn_config_makefile dlls/ole32/tests enable_tests
21643 wine_fn_config_makefile dlls/oleacc enable_oleacc
21644 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21645 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21646 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21647 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21648 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21649 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21650 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21651 wine_fn_config_makefile dlls/oledlg enable_oledlg
21652 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21653 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21654 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21655 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21656 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21657 wine_fn_config_makefile dlls/opcservices enable_opcservices
21658 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21659 wine_fn_config_makefile dlls/opencl enable_opencl
21660 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21661 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21662 wine_fn_config_makefile dlls/packager enable_packager
21663 wine_fn_config_makefile dlls/packager/tests enable_tests
21664 wine_fn_config_makefile dlls/pdh enable_pdh
21665 wine_fn_config_makefile dlls/pdh/tests enable_tests
21666 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21667 wine_fn_config_makefile dlls/pidgen enable_pidgen
21668 wine_fn_config_makefile dlls/powrprof enable_powrprof
21669 wine_fn_config_makefile dlls/printui enable_printui
21670 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21671 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21672 wine_fn_config_makefile dlls/propsys enable_propsys
21673 wine_fn_config_makefile dlls/propsys/tests enable_tests
21674 wine_fn_config_makefile dlls/psapi enable_psapi
21675 wine_fn_config_makefile dlls/psapi/tests enable_tests
21676 wine_fn_config_makefile dlls/pstorec enable_pstorec
21677 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21678 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21679 wine_fn_config_makefile dlls/qasf enable_qasf
21680 wine_fn_config_makefile dlls/qasf/tests enable_tests
21681 wine_fn_config_makefile dlls/qcap enable_qcap
21682 wine_fn_config_makefile dlls/qcap/tests enable_tests
21683 wine_fn_config_makefile dlls/qdvd enable_qdvd
21684 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21685 wine_fn_config_makefile dlls/qedit enable_qedit
21686 wine_fn_config_makefile dlls/qedit/tests enable_tests
21687 wine_fn_config_makefile dlls/qmgr enable_qmgr
21688 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21689 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21690 wine_fn_config_makefile dlls/quartz enable_quartz
21691 wine_fn_config_makefile dlls/quartz/tests enable_tests
21692 wine_fn_config_makefile dlls/query enable_query
21693 wine_fn_config_makefile dlls/qwave enable_qwave
21694 wine_fn_config_makefile dlls/qwave/tests enable_tests
21695 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21696 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21697 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21698 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21699 wine_fn_config_makefile dlls/regapi enable_regapi
21700 wine_fn_config_makefile dlls/resutils enable_resutils
21701 wine_fn_config_makefile dlls/riched20 enable_riched20
21702 wine_fn_config_makefile dlls/riched20/tests enable_tests
21703 wine_fn_config_makefile dlls/riched32 enable_riched32
21704 wine_fn_config_makefile dlls/riched32/tests enable_tests
21705 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21706 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21707 wine_fn_config_makefile dlls/rsabase enable_rsabase
21708 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21709 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21710 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21711 wine_fn_config_makefile dlls/rtutils enable_rtutils
21712 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21713 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21714 wine_fn_config_makefile dlls/samlib enable_samlib
21715 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21716 wine_fn_config_makefile dlls/sapi enable_sapi
21717 wine_fn_config_makefile dlls/sapi/tests enable_tests
21718 wine_fn_config_makefile dlls/sas enable_sas
21719 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21720 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21721 wine_fn_config_makefile dlls/sccbase enable_sccbase
21722 wine_fn_config_makefile dlls/schannel enable_schannel
21723 wine_fn_config_makefile dlls/schannel/tests enable_tests
21724 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21725 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21726 wine_fn_config_makefile dlls/scrobj enable_scrobj
21727 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21728 wine_fn_config_makefile dlls/scrrun enable_scrrun
21729 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21730 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21731 wine_fn_config_makefile dlls/sechost enable_sechost
21732 wine_fn_config_makefile dlls/secur32 enable_secur32
21733 wine_fn_config_makefile dlls/secur32/tests enable_tests
21734 wine_fn_config_makefile dlls/security enable_security
21735 wine_fn_config_makefile dlls/sensapi enable_sensapi
21736 wine_fn_config_makefile dlls/serialui enable_serialui
21737 wine_fn_config_makefile dlls/serialui/tests enable_tests
21738 wine_fn_config_makefile dlls/setupapi enable_setupapi
21739 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21740 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21741 wine_fn_config_makefile dlls/sfc enable_sfc
21742 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21743 wine_fn_config_makefile dlls/shcore enable_shcore
21744 wine_fn_config_makefile dlls/shcore/tests enable_tests
21745 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21746 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21747 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21748 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21749 wine_fn_config_makefile dlls/shell32 enable_shell32
21750 wine_fn_config_makefile dlls/shell32/tests enable_tests
21751 wine_fn_config_makefile dlls/shfolder enable_shfolder
21752 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21753 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21754 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21755 wine_fn_config_makefile dlls/slc enable_slc
21756 wine_fn_config_makefile dlls/slc/tests enable_tests
21757 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21758 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21759 wine_fn_config_makefile dlls/softpub enable_softpub
21760 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21761 wine_fn_config_makefile dlls/spoolss enable_spoolss
21762 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21763 wine_fn_config_makefile dlls/sppc enable_sppc
21764 wine_fn_config_makefile dlls/srclient enable_srclient
21765 wine_fn_config_makefile dlls/srvcli enable_srvcli
21766 wine_fn_config_makefile dlls/sspicli enable_sspicli
21767 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21768 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21769 wine_fn_config_makefile dlls/sti enable_sti
21770 wine_fn_config_makefile dlls/sti/tests enable_tests
21771 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21772 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21773 wine_fn_config_makefile dlls/strmdll enable_strmdll
21774 wine_fn_config_makefile dlls/svrapi enable_svrapi
21775 wine_fn_config_makefile dlls/sxs enable_sxs
21776 wine_fn_config_makefile dlls/sxs/tests enable_tests
21777 wine_fn_config_makefile dlls/system.drv16 enable_win16
21778 wine_fn_config_makefile dlls/t2embed enable_t2embed
21779 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21780 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21781 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21782 wine_fn_config_makefile dlls/taskschd enable_taskschd
21783 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21784 wine_fn_config_makefile dlls/tbs enable_tbs
21785 wine_fn_config_makefile dlls/tdh enable_tdh
21786 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21787 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21788 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21789 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21790 wine_fn_config_makefile dlls/traffic enable_traffic
21791 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21792 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21793 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21794 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21795 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21796 wine_fn_config_makefile dlls/tzres enable_tzres
21797 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21798 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21799 wine_fn_config_makefile dlls/uianimation enable_uianimation
21800 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21801 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21802 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21803 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21804 wine_fn_config_makefile dlls/unicows enable_unicows
21805 wine_fn_config_makefile dlls/updspapi enable_updspapi
21806 wine_fn_config_makefile dlls/url enable_url
21807 wine_fn_config_makefile dlls/urlmon enable_urlmon
21808 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21809 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21810 wine_fn_config_makefile dlls/user.exe16 enable_win16
21811 wine_fn_config_makefile dlls/user32 enable_user32
21812 wine_fn_config_makefile dlls/user32/tests enable_tests
21813 wine_fn_config_makefile dlls/userenv enable_userenv
21814 wine_fn_config_makefile dlls/userenv/tests enable_tests
21815 wine_fn_config_makefile dlls/usp10 enable_usp10
21816 wine_fn_config_makefile dlls/usp10/tests enable_tests
21817 wine_fn_config_makefile dlls/utildll enable_utildll
21818 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21819 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21820 wine_fn_config_makefile dlls/vbscript enable_vbscript
21821 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21822 wine_fn_config_makefile dlls/vcomp enable_vcomp
21823 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21824 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21825 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21826 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21827 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21828 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21829 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21830 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21831 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21832 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21833 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21834 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21835 wine_fn_config_makefile dlls/version enable_version
21836 wine_fn_config_makefile dlls/version/tests enable_tests
21837 wine_fn_config_makefile dlls/vga enable_vga
21838 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21839 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21840 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21841 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21842 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21843 wine_fn_config_makefile dlls/vssapi enable_vssapi
21844 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21845 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21846 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21847 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21848 wine_fn_config_makefile dlls/w32skrnl enable_win16
21849 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21850 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21851 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21852 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21853 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21854 wine_fn_config_makefile dlls/wdscore enable_wdscore
21855 wine_fn_config_makefile dlls/webservices enable_webservices
21856 wine_fn_config_makefile dlls/webservices/tests enable_tests
21857 wine_fn_config_makefile dlls/websocket enable_websocket
21858 wine_fn_config_makefile dlls/wer enable_wer
21859 wine_fn_config_makefile dlls/wer/tests enable_tests
21860 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21861 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21862 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21863 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21864 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21865 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21866 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21867 wine_fn_config_makefile dlls/win32u enable_win32u
21868 wine_fn_config_makefile dlls/win32u/tests enable_tests
21869 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21870 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21871 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21872 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21873 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21874 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21875 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21876 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21877 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21878 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21879 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21880 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21881 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21882 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21883 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21884 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21885 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21886 wine_fn_config_makefile dlls/windows.media enable_windows_media
21887 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21888 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21889 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21890 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21891 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21892 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21893 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21894 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21895 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21896 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21897 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21898 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21899 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21900 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21901 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21902 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21903 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21904 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21905 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21906 wine_fn_config_makefile dlls/wined3d enable_wined3d
21907 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21908 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21909 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21910 wine_fn_config_makefile dlls/winemapi enable_winemapi
21911 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21912 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21913 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21914 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21915 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21916 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21917 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21918 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21919 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21920 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21921 wine_fn_config_makefile dlls/wing32 enable_wing32
21922 wine_fn_config_makefile dlls/winhttp enable_winhttp
21923 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21924 wine_fn_config_makefile dlls/wininet enable_wininet
21925 wine_fn_config_makefile dlls/wininet/tests enable_tests
21926 wine_fn_config_makefile dlls/winmm enable_winmm
21927 wine_fn_config_makefile dlls/winmm/tests enable_tests
21928 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21929 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21930 wine_fn_config_makefile dlls/winprint enable_winprint
21931 wine_fn_config_makefile dlls/winscard enable_winscard
21932 wine_fn_config_makefile dlls/winscard/tests enable_tests
21933 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21934 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21935 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21936 wine_fn_config_makefile dlls/winsta enable_winsta
21937 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21938 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21939 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21940 wine_fn_config_makefile dlls/wintrust enable_wintrust
21941 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21942 wine_fn_config_makefile dlls/wintypes enable_wintypes
21943 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21944 wine_fn_config_makefile dlls/winusb enable_winusb
21945 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21946 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21947 wine_fn_config_makefile dlls/wlanui enable_wlanui
21948 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21949 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21950 wine_fn_config_makefile dlls/wmasf enable_wmasf
21951 wine_fn_config_makefile dlls/wmi enable_wmi
21952 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21953 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21954 wine_fn_config_makefile dlls/wmp enable_wmp
21955 wine_fn_config_makefile dlls/wmp/tests enable_tests
21956 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21957 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21958 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21959 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21960 wine_fn_config_makefile dlls/wofutil enable_wofutil
21961 wine_fn_config_makefile dlls/wow32 enable_win16
21962 wine_fn_config_makefile dlls/wow64 enable_wow64
21963 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21964 wine_fn_config_makefile dlls/wow64win enable_wow64win
21965 wine_fn_config_makefile dlls/wpc enable_wpc
21966 wine_fn_config_makefile dlls/wpc/tests enable_tests
21967 wine_fn_config_makefile dlls/wpcap enable_wpcap
21968 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21969 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21970 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21971 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21972 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21973 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21974 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21975 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21976 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21977 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21978 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21979 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21980 wine_fn_config_makefile dlls/wuapi enable_wuapi
21981 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21982 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21983 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21984 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21985 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21986 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21987 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21988 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21989 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21990 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21991 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21992 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21993 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21994 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21995 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21996 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21997 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21998 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21999 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22000 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22001 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22002 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22003 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22004 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22005 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22006 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22007 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22008 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22009 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22010 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22011 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22012 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22013 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22014 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22015 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22016 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22017 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22018 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22019 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22020 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22021 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22022 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22023 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22024 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22025 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22026 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22027 wine_fn_config_makefile dlls/xmllite enable_xmllite
22028 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22029 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22030 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22031 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22032 wine_fn_config_makefile fonts enable_fonts
22033 wine_fn_config_makefile include enable_include
22034 wine_fn_config_makefile libs/adsiid enable_adsiid
22035 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22036 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22037 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22038 wine_fn_config_makefile libs/dxguid enable_dxguid
22039 wine_fn_config_makefile libs/faudio enable_faudio
22040 wine_fn_config_makefile libs/gsm enable_gsm
22041 wine_fn_config_makefile libs/jpeg enable_jpeg
22042 wine_fn_config_makefile libs/jxr enable_jxr
22043 wine_fn_config_makefile libs/lcms2 enable_lcms2
22044 wine_fn_config_makefile libs/ldap enable_ldap
22045 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22046 wine_fn_config_makefile libs/mpg123 enable_mpg123
22047 wine_fn_config_makefile libs/musl enable_musl
22048 wine_fn_config_makefile libs/png enable_png
22049 wine_fn_config_makefile libs/strmbase enable_strmbase
22050 wine_fn_config_makefile libs/strmiids enable_strmiids
22051 wine_fn_config_makefile libs/tiff enable_tiff
22052 wine_fn_config_makefile libs/uuid enable_uuid
22053 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22054 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22055 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22056 wine_fn_config_makefile libs/xml2 enable_xml2
22057 wine_fn_config_makefile libs/xslt enable_xslt
22058 wine_fn_config_makefile libs/zlib enable_zlib
22059 wine_fn_config_makefile libs/zydis enable_zydis
22060 wine_fn_config_makefile loader enable_loader
22061 wine_fn_config_makefile nls enable_nls
22062 wine_fn_config_makefile po enable_po
22063 wine_fn_config_makefile programs/arp enable_arp
22064 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22065 wine_fn_config_makefile programs/attrib enable_attrib
22066 wine_fn_config_makefile programs/cabarc enable_cabarc
22067 wine_fn_config_makefile programs/cacls enable_cacls
22068 wine_fn_config_makefile programs/certutil enable_certutil
22069 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22070 wine_fn_config_makefile programs/clock enable_clock
22071 wine_fn_config_makefile programs/cmd enable_cmd
22072 wine_fn_config_makefile programs/cmd/tests enable_tests
22073 wine_fn_config_makefile programs/conhost enable_conhost
22074 wine_fn_config_makefile programs/conhost/tests enable_tests
22075 wine_fn_config_makefile programs/control enable_control
22076 wine_fn_config_makefile programs/cscript enable_cscript
22077 wine_fn_config_makefile programs/dism enable_dism
22078 wine_fn_config_makefile programs/dllhost enable_dllhost
22079 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22080 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22081 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22082 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22083 wine_fn_config_makefile programs/eject enable_eject
22084 wine_fn_config_makefile programs/expand enable_expand
22085 wine_fn_config_makefile programs/explorer enable_explorer
22086 wine_fn_config_makefile programs/explorer/tests enable_tests
22087 wine_fn_config_makefile programs/extrac32 enable_extrac32
22088 wine_fn_config_makefile programs/fc enable_fc
22089 wine_fn_config_makefile programs/find enable_find
22090 wine_fn_config_makefile programs/find/tests enable_tests
22091 wine_fn_config_makefile programs/findstr enable_findstr
22092 wine_fn_config_makefile programs/findstr/tests enable_tests
22093 wine_fn_config_makefile programs/fsutil enable_fsutil
22094 wine_fn_config_makefile programs/fsutil/tests enable_tests
22095 wine_fn_config_makefile programs/hh enable_hh
22096 wine_fn_config_makefile programs/hostname enable_hostname
22097 wine_fn_config_makefile programs/icacls enable_icacls
22098 wine_fn_config_makefile programs/icinfo enable_icinfo
22099 wine_fn_config_makefile programs/iexplore enable_iexplore
22100 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22101 wine_fn_config_makefile programs/lodctr enable_lodctr
22102 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22103 wine_fn_config_makefile programs/mshta enable_mshta
22104 wine_fn_config_makefile programs/msidb enable_msidb
22105 wine_fn_config_makefile programs/msiexec enable_msiexec
22106 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22107 wine_fn_config_makefile programs/net enable_net
22108 wine_fn_config_makefile programs/netsh enable_netsh
22109 wine_fn_config_makefile programs/netstat enable_netstat
22110 wine_fn_config_makefile programs/ngen enable_ngen
22111 wine_fn_config_makefile programs/notepad enable_notepad
22112 wine_fn_config_makefile programs/oleview enable_oleview
22113 wine_fn_config_makefile programs/ping enable_ping
22114 wine_fn_config_makefile programs/plugplay enable_plugplay
22115 wine_fn_config_makefile programs/pnputil enable_pnputil
22116 wine_fn_config_makefile programs/powershell enable_powershell
22117 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22118 wine_fn_config_makefile programs/progman enable_progman
22119 wine_fn_config_makefile programs/reg enable_reg
22120 wine_fn_config_makefile programs/reg/tests enable_tests
22121 wine_fn_config_makefile programs/regasm enable_regasm
22122 wine_fn_config_makefile programs/regedit enable_regedit
22123 wine_fn_config_makefile programs/regedit/tests enable_tests
22124 wine_fn_config_makefile programs/regini enable_regini
22125 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22126 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22127 wine_fn_config_makefile programs/robocopy enable_robocopy
22128 wine_fn_config_makefile programs/rpcss enable_rpcss
22129 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22130 wine_fn_config_makefile programs/rundll32 enable_rundll32
22131 wine_fn_config_makefile programs/sc enable_sc
22132 wine_fn_config_makefile programs/sc/tests enable_tests
22133 wine_fn_config_makefile programs/schtasks enable_schtasks
22134 wine_fn_config_makefile programs/schtasks/tests enable_tests
22135 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22136 wine_fn_config_makefile programs/secedit enable_secedit
22137 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22138 wine_fn_config_makefile programs/services enable_services
22139 wine_fn_config_makefile programs/services/tests enable_tests
22140 wine_fn_config_makefile programs/setx enable_setx
22141 wine_fn_config_makefile programs/shutdown enable_shutdown
22142 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22143 wine_fn_config_makefile programs/start enable_start
22144 wine_fn_config_makefile programs/subst enable_subst
22145 wine_fn_config_makefile programs/svchost enable_svchost
22146 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22147 wine_fn_config_makefile programs/taskkill enable_taskkill
22148 wine_fn_config_makefile programs/tasklist enable_tasklist
22149 wine_fn_config_makefile programs/tasklist/tests enable_tests
22150 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22151 wine_fn_config_makefile programs/termsv enable_termsv
22152 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22153 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22154 wine_fn_config_makefile programs/view enable_view
22155 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22156 wine_fn_config_makefile programs/where enable_where
22157 wine_fn_config_makefile programs/whoami enable_whoami
22158 wine_fn_config_makefile programs/wineboot enable_wineboot
22159 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22160 wine_fn_config_makefile programs/winecfg enable_winecfg
22161 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22162 wine_fn_config_makefile programs/winedbg enable_winedbg
22163 wine_fn_config_makefile programs/winedevice enable_winedevice
22164 wine_fn_config_makefile programs/winefile enable_winefile
22165 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22166 wine_fn_config_makefile programs/winemine enable_winemine
22167 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22168 wine_fn_config_makefile programs/winepath enable_winepath
22169 wine_fn_config_makefile programs/winetest enable_winetest
22170 wine_fn_config_makefile programs/winevdm enable_win16
22171 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22172 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22173 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22174 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22175 wine_fn_config_makefile programs/winver enable_winver
22176 wine_fn_config_makefile programs/wmic enable_wmic
22177 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22178 wine_fn_config_makefile programs/wordpad enable_wordpad
22179 wine_fn_config_makefile programs/write enable_write
22180 wine_fn_config_makefile programs/wscript enable_wscript
22181 wine_fn_config_makefile programs/wscript/tests enable_tests
22182 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22183 wine_fn_config_makefile programs/wusa enable_wusa
22184 wine_fn_config_makefile programs/xcopy enable_xcopy
22185 wine_fn_config_makefile programs/xcopy/tests enable_tests
22186 wine_fn_config_makefile server enable_server
22187 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22188 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22189 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22190 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22191 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22192 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22193 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22194 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22195 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22198 as_fn_append CONFIGURE_TARGETS " TAGS"
22199 as_fn_append CONFIGURE_TARGETS " tags"
22200 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22201 as_fn_append CONFIGURE_TARGETS " config.log"
22202 as_fn_append CONFIGURE_TARGETS " config.status"
22203 as_fn_append CONFIGURE_TARGETS " include/config.h"
22204 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22205 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22207 if test "x$enable_tools" != xno
22208 then
22209 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22210 ac_config_commands="$ac_config_commands tools/makedep"
22214 ac_config_commands="$ac_config_commands Makefile"
22218 SHELL=/bin/sh
22221 as_fn_append wine_rules "
22222 all: wine
22223 @echo \"Wine build complete.\"
22224 .INIT: Makefile
22225 .MAKEFILEDEPS:
22226 all: Makefile
22227 Makefile: config.status \$(MAKEDEP)
22228 @./config.status Makefile
22229 depend: \$(MAKEDEP)
22230 \$(MAKEDEP)$makedep_flags"
22233 as_fn_append wine_rules "
22234 config.status: ${wine_srcdir}configure
22235 @./config.status --recheck
22236 include/config.h: include/stamp-h
22237 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22238 @./config.status include/config.h include/stamp-h"
22240 if test "x$enable_maintainer_mode" = xyes
22241 then
22242 as_fn_append wine_rules "
22243 configure: configure.ac aclocal.m4
22244 autoconf --warnings=all
22245 include/config.h.in: include/stamp-h.in
22246 include/stamp-h.in: configure.ac aclocal.m4
22247 autoheader --warnings=all
22248 @echo timestamp > \$@"
22251 if test "x$enable_tools" != xno
22252 then
22253 as_fn_append wine_rules "
22254 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22255 @./config.status tools/makedep
22256 Makefile: tools/makedep$ac_exeext"
22257 else
22258 as_fn_append wine_rules "
22259 \$(MAKEDEP):
22260 @echo \"You need to run make in $toolsdir first\" && false"
22264 if test -n "$with_wine64"
22265 then
22266 case "$with_wine64" in
22267 /*) reldir="" ;;
22268 *) reldir="../" ;;
22269 esac
22270 rm -f fonts server 2>/dev/null
22271 as_fn_append wine_rules "
22272 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22273 loader/wine64 loader/wine64-preloader:
22274 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22275 $with_wine64/loader/wine:
22276 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22277 $with_wine64/loader/wine-preloader:
22278 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22279 clean::
22280 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22281 else
22282 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22283 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22284 fonts \
22285 loader/wine.inf \
22286 nls \
22287 programs/msidb/msidb \
22288 programs/msiexec/msiexec \
22289 programs/notepad/notepad \
22290 programs/regedit/regedit \
22291 programs/regsvr32/regsvr32 \
22292 programs/wineboot/wineboot \
22293 programs/winecfg/winecfg \
22294 programs/wineconsole/wineconsole \
22295 programs/winedbg/winedbg \
22296 programs/winefile/winefile \
22297 programs/winemine/winemine \
22298 programs/winepath/winepath \
22299 server/wineserver"
22301 case $host_os in
22302 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22303 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22304 esac
22308 as_fn_append wine_rules "
22309 distclean:: clean
22310 rm -rf autom4te.cache
22311 maintainer-clean::
22312 rm -f configure include/config.h.in"
22315 as_fn_append wine_rules "
22316 dlls/ntdll/unix/version.c: dummy
22317 @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)
22318 programs/winetest/build.rc: dummy
22319 @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)
22320 programs/winetest/build.nfo:
22321 @-\$(CC) -v 2>\$@
22322 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
22323 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22324 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22327 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22329 as_fn_append wine_rules "
22330 TAGS etags:
22331 rm -f TAGS
22332 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22333 tags ctags:
22334 rm -f tags
22335 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22336 dummy:
22337 .PHONY: depend dummy install-manpages"
22339 printf "%s\n" " done" >&6
22340 cat >confcache <<\_ACEOF
22341 # This file is a shell script that caches the results of configure
22342 # tests run on this system so they can be shared between configure
22343 # scripts and configure runs, see configure's option --config-cache.
22344 # It is not useful on other systems. If it contains results you don't
22345 # want to keep, you may remove or edit it.
22347 # config.status only pays attention to the cache file if you give it
22348 # the --recheck option to rerun configure.
22350 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22351 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22352 # following values.
22354 _ACEOF
22356 # The following way of writing the cache mishandles newlines in values,
22357 # but we know of no workaround that is simple, portable, and efficient.
22358 # So, we kill variables containing newlines.
22359 # Ultrix sh set writes to stderr and can't be redirected directly,
22360 # and sets the high bit in the cache file unless we assign to the vars.
22362 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22363 eval ac_val=\$$ac_var
22364 case $ac_val in #(
22365 *${as_nl}*)
22366 case $ac_var in #(
22367 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22368 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22369 esac
22370 case $ac_var in #(
22371 _ | IFS | as_nl) ;; #(
22372 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22373 *) { eval $ac_var=; unset $ac_var;} ;;
22374 esac ;;
22375 esac
22376 done
22378 (set) 2>&1 |
22379 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22380 *${as_nl}ac_space=\ *)
22381 # `set' does not quote correctly, so add quotes: double-quote
22382 # substitution turns \\\\ into \\, and sed turns \\ into \.
22383 sed -n \
22384 "s/'/'\\\\''/g;
22385 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22386 ;; #(
22388 # `set' quotes correctly as required by POSIX, so do not add quotes.
22389 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22391 esac |
22392 sort
22394 sed '
22395 /^ac_cv_env_/b end
22396 t clear
22397 :clear
22398 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22399 t end
22400 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22401 :end' >>confcache
22402 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22403 if test -w "$cache_file"; then
22404 if test "x$cache_file" != "x/dev/null"; then
22405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22406 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22407 if test ! -f "$cache_file" || test -h "$cache_file"; then
22408 cat confcache >"$cache_file"
22409 else
22410 case $cache_file in #(
22411 */* | ?:*)
22412 mv -f confcache "$cache_file"$$ &&
22413 mv -f "$cache_file"$$ "$cache_file" ;; #(
22415 mv -f confcache "$cache_file" ;;
22416 esac
22419 else
22420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22421 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22424 rm -f confcache
22426 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22427 # Let make expand exec_prefix.
22428 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22430 DEFS=-DHAVE_CONFIG_H
22432 ac_libobjs=
22433 ac_ltlibobjs=
22435 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22436 # 1. Remove the extension, and $U if already installed.
22437 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22438 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22439 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22440 # will be set to the directory where LIBOBJS objects are built.
22441 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22442 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22443 done
22444 LIBOBJS=$ac_libobjs
22446 LTLIBOBJS=$ac_ltlibobjs
22450 : "${CONFIG_STATUS=./config.status}"
22451 ac_write_fail=0
22452 ac_clean_files_save=$ac_clean_files
22453 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22455 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22456 as_write_fail=0
22457 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22458 #! $SHELL
22459 # Generated by $as_me.
22460 # Run this file to recreate the current configuration.
22461 # Compiler output produced by configure, useful for debugging
22462 # configure, is in config.log if it exists.
22464 debug=false
22465 ac_cs_recheck=false
22466 ac_cs_silent=false
22468 SHELL=\${CONFIG_SHELL-$SHELL}
22469 export SHELL
22470 _ASEOF
22471 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22472 ## -------------------- ##
22473 ## M4sh Initialization. ##
22474 ## -------------------- ##
22476 # Be more Bourne compatible
22477 DUALCASE=1; export DUALCASE # for MKS sh
22478 as_nop=:
22479 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22480 then :
22481 emulate sh
22482 NULLCMD=:
22483 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22484 # is contrary to our usage. Disable this feature.
22485 alias -g '${1+"$@"}'='"$@"'
22486 setopt NO_GLOB_SUBST
22487 else $as_nop
22488 case `(set -o) 2>/dev/null` in #(
22489 *posix*) :
22490 set -o posix ;; #(
22491 *) :
22493 esac
22498 # Reset variables that may have inherited troublesome values from
22499 # the environment.
22501 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22502 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22503 # side effect of setting IFS to empty, thus disabling word splitting.)
22504 # Quoting is to prevent editors from complaining about space-tab.
22505 as_nl='
22507 export as_nl
22508 IFS=" "" $as_nl"
22510 PS1='$ '
22511 PS2='> '
22512 PS4='+ '
22514 # Ensure predictable behavior from utilities with locale-dependent output.
22515 LC_ALL=C
22516 export LC_ALL
22517 LANGUAGE=C
22518 export LANGUAGE
22520 # We cannot yet rely on "unset" to work, but we need these variables
22521 # to be unset--not just set to an empty or harmless value--now, to
22522 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22523 # also avoids known problems related to "unset" and subshell syntax
22524 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22525 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22526 do eval test \${$as_var+y} \
22527 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22528 done
22530 # Ensure that fds 0, 1, and 2 are open.
22531 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22532 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22533 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22535 # The user is always right.
22536 if ${PATH_SEPARATOR+false} :; then
22537 PATH_SEPARATOR=:
22538 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22539 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22540 PATH_SEPARATOR=';'
22545 # Find who we are. Look in the path if we contain no directory separator.
22546 as_myself=
22547 case $0 in #((
22548 *[\\/]* ) as_myself=$0 ;;
22549 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22550 for as_dir in $PATH
22552 IFS=$as_save_IFS
22553 case $as_dir in #(((
22554 '') as_dir=./ ;;
22555 */) ;;
22556 *) as_dir=$as_dir/ ;;
22557 esac
22558 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22559 done
22560 IFS=$as_save_IFS
22563 esac
22564 # We did not find ourselves, most probably we were run as `sh COMMAND'
22565 # in which case we are not to be found in the path.
22566 if test "x$as_myself" = x; then
22567 as_myself=$0
22569 if test ! -f "$as_myself"; then
22570 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22571 exit 1
22576 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22577 # ----------------------------------------
22578 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22579 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22580 # script with STATUS, using 1 if that was 0.
22581 as_fn_error ()
22583 as_status=$1; test $as_status -eq 0 && as_status=1
22584 if test "$4"; then
22585 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22586 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22588 printf "%s\n" "$as_me: error: $2" >&2
22589 as_fn_exit $as_status
22590 } # as_fn_error
22594 # as_fn_set_status STATUS
22595 # -----------------------
22596 # Set $? to STATUS, without forking.
22597 as_fn_set_status ()
22599 return $1
22600 } # as_fn_set_status
22602 # as_fn_exit STATUS
22603 # -----------------
22604 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22605 as_fn_exit ()
22607 set +e
22608 as_fn_set_status $1
22609 exit $1
22610 } # as_fn_exit
22612 # as_fn_unset VAR
22613 # ---------------
22614 # Portably unset VAR.
22615 as_fn_unset ()
22617 { eval $1=; unset $1;}
22619 as_unset=as_fn_unset
22621 # as_fn_append VAR VALUE
22622 # ----------------------
22623 # Append the text in VALUE to the end of the definition contained in VAR. Take
22624 # advantage of any shell optimizations that allow amortized linear growth over
22625 # repeated appends, instead of the typical quadratic growth present in naive
22626 # implementations.
22627 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22628 then :
22629 eval 'as_fn_append ()
22631 eval $1+=\$2
22633 else $as_nop
22634 as_fn_append ()
22636 eval $1=\$$1\$2
22638 fi # as_fn_append
22640 # as_fn_arith ARG...
22641 # ------------------
22642 # Perform arithmetic evaluation on the ARGs, and store the result in the
22643 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22644 # must be portable across $(()) and expr.
22645 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22646 then :
22647 eval 'as_fn_arith ()
22649 as_val=$(( $* ))
22651 else $as_nop
22652 as_fn_arith ()
22654 as_val=`expr "$@" || test $? -eq 1`
22656 fi # as_fn_arith
22659 if expr a : '\(a\)' >/dev/null 2>&1 &&
22660 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22661 as_expr=expr
22662 else
22663 as_expr=false
22666 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22667 as_basename=basename
22668 else
22669 as_basename=false
22672 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22673 as_dirname=dirname
22674 else
22675 as_dirname=false
22678 as_me=`$as_basename -- "$0" ||
22679 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22680 X"$0" : 'X\(//\)$' \| \
22681 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22682 printf "%s\n" X/"$0" |
22683 sed '/^.*\/\([^/][^/]*\)\/*$/{
22684 s//\1/
22687 /^X\/\(\/\/\)$/{
22688 s//\1/
22691 /^X\/\(\/\).*/{
22692 s//\1/
22695 s/.*/./; q'`
22697 # Avoid depending upon Character Ranges.
22698 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22699 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22700 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22701 as_cr_digits='0123456789'
22702 as_cr_alnum=$as_cr_Letters$as_cr_digits
22705 # Determine whether it's possible to make 'echo' print without a newline.
22706 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22707 # for compatibility with existing Makefiles.
22708 ECHO_C= ECHO_N= ECHO_T=
22709 case `echo -n x` in #(((((
22710 -n*)
22711 case `echo 'xy\c'` in
22712 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22713 xy) ECHO_C='\c';;
22714 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22715 ECHO_T=' ';;
22716 esac;;
22718 ECHO_N='-n';;
22719 esac
22721 # For backward compatibility with old third-party macros, we provide
22722 # the shell variables $as_echo and $as_echo_n. New code should use
22723 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22724 as_echo='printf %s\n'
22725 as_echo_n='printf %s'
22727 rm -f conf$$ conf$$.exe conf$$.file
22728 if test -d conf$$.dir; then
22729 rm -f conf$$.dir/conf$$.file
22730 else
22731 rm -f conf$$.dir
22732 mkdir conf$$.dir 2>/dev/null
22734 if (echo >conf$$.file) 2>/dev/null; then
22735 if ln -s conf$$.file conf$$ 2>/dev/null; then
22736 as_ln_s='ln -s'
22737 # ... but there are two gotchas:
22738 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22739 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22740 # In both cases, we have to default to `cp -pR'.
22741 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22742 as_ln_s='cp -pR'
22743 elif ln conf$$.file conf$$ 2>/dev/null; then
22744 as_ln_s=ln
22745 else
22746 as_ln_s='cp -pR'
22748 else
22749 as_ln_s='cp -pR'
22751 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22752 rmdir conf$$.dir 2>/dev/null
22755 # as_fn_mkdir_p
22756 # -------------
22757 # Create "$as_dir" as a directory, including parents if necessary.
22758 as_fn_mkdir_p ()
22761 case $as_dir in #(
22762 -*) as_dir=./$as_dir;;
22763 esac
22764 test -d "$as_dir" || eval $as_mkdir_p || {
22765 as_dirs=
22766 while :; do
22767 case $as_dir in #(
22768 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22769 *) as_qdir=$as_dir;;
22770 esac
22771 as_dirs="'$as_qdir' $as_dirs"
22772 as_dir=`$as_dirname -- "$as_dir" ||
22773 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22774 X"$as_dir" : 'X\(//\)[^/]' \| \
22775 X"$as_dir" : 'X\(//\)$' \| \
22776 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22777 printf "%s\n" X"$as_dir" |
22778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22779 s//\1/
22782 /^X\(\/\/\)[^/].*/{
22783 s//\1/
22786 /^X\(\/\/\)$/{
22787 s//\1/
22790 /^X\(\/\).*/{
22791 s//\1/
22794 s/.*/./; q'`
22795 test -d "$as_dir" && break
22796 done
22797 test -z "$as_dirs" || eval "mkdir $as_dirs"
22798 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22801 } # as_fn_mkdir_p
22802 if mkdir -p . 2>/dev/null; then
22803 as_mkdir_p='mkdir -p "$as_dir"'
22804 else
22805 test -d ./-p && rmdir ./-p
22806 as_mkdir_p=false
22810 # as_fn_executable_p FILE
22811 # -----------------------
22812 # Test if FILE is an executable regular file.
22813 as_fn_executable_p ()
22815 test -f "$1" && test -x "$1"
22816 } # as_fn_executable_p
22817 as_test_x='test -x'
22818 as_executable_p=as_fn_executable_p
22820 # Sed expression to map a string onto a valid CPP name.
22821 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22823 # Sed expression to map a string onto a valid variable name.
22824 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22827 exec 6>&1
22828 ## ----------------------------------- ##
22829 ## Main body of $CONFIG_STATUS script. ##
22830 ## ----------------------------------- ##
22831 _ASEOF
22832 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22835 # Save the log message, to keep $0 and so on meaningful, and to
22836 # report actual input values of CONFIG_FILES etc. instead of their
22837 # values after options handling.
22838 ac_log="
22839 This file was extended by Wine $as_me 8.12, which was
22840 generated by GNU Autoconf 2.71. Invocation command line was
22842 CONFIG_FILES = $CONFIG_FILES
22843 CONFIG_HEADERS = $CONFIG_HEADERS
22844 CONFIG_LINKS = $CONFIG_LINKS
22845 CONFIG_COMMANDS = $CONFIG_COMMANDS
22846 $ $0 $@
22848 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22851 _ACEOF
22854 case $ac_config_headers in *"
22855 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22856 esac
22859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22860 # Files that config.status was made for.
22861 config_headers="$ac_config_headers"
22862 config_links="$ac_config_links"
22863 config_commands="$ac_config_commands"
22865 _ACEOF
22867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22868 ac_cs_usage="\
22869 \`$as_me' instantiates files and other configuration actions
22870 from templates according to the current configuration. Unless the files
22871 and actions are specified as TAGs, all are instantiated by default.
22873 Usage: $0 [OPTION]... [TAG]...
22875 -h, --help print this help, then exit
22876 -V, --version print version number and configuration settings, then exit
22877 --config print configuration, then exit
22878 -q, --quiet, --silent
22879 do not print progress messages
22880 -d, --debug don't remove temporary files
22881 --recheck update $as_me by reconfiguring in the same conditions
22882 --header=FILE[:TEMPLATE]
22883 instantiate the configuration header FILE
22885 Configuration headers:
22886 $config_headers
22888 Configuration links:
22889 $config_links
22891 Configuration commands:
22892 $config_commands
22894 Report bugs to <wine-devel@winehq.org>.
22895 Wine home page: <https://www.winehq.org>."
22897 _ACEOF
22898 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22899 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22901 ac_cs_config='$ac_cs_config_escaped'
22902 ac_cs_version="\\
22903 Wine config.status 8.12
22904 configured by $0, generated by GNU Autoconf 2.71,
22905 with options \\"\$ac_cs_config\\"
22907 Copyright (C) 2021 Free Software Foundation, Inc.
22908 This config.status script is free software; the Free Software Foundation
22909 gives unlimited permission to copy, distribute and modify it."
22911 ac_pwd='$ac_pwd'
22912 srcdir='$srcdir'
22913 test -n "\$AWK" || AWK=awk
22914 _ACEOF
22916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22917 # The default lists apply if the user does not specify any file.
22918 ac_need_defaults=:
22919 while test $# != 0
22921 case $1 in
22922 --*=?*)
22923 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22924 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22925 ac_shift=:
22927 --*=)
22928 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22929 ac_optarg=
22930 ac_shift=:
22933 ac_option=$1
22934 ac_optarg=$2
22935 ac_shift=shift
22937 esac
22939 case $ac_option in
22940 # Handling of the options.
22941 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22942 ac_cs_recheck=: ;;
22943 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22944 printf "%s\n" "$ac_cs_version"; exit ;;
22945 --config | --confi | --conf | --con | --co | --c )
22946 printf "%s\n" "$ac_cs_config"; exit ;;
22947 --debug | --debu | --deb | --de | --d | -d )
22948 debug=: ;;
22949 --header | --heade | --head | --hea )
22950 $ac_shift
22951 case $ac_optarg in
22952 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22953 esac
22954 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22955 ac_need_defaults=false;;
22956 --he | --h)
22957 # Conflict between --help and --header
22958 as_fn_error $? "ambiguous option: \`$1'
22959 Try \`$0 --help' for more information.";;
22960 --help | --hel | -h )
22961 printf "%s\n" "$ac_cs_usage"; exit ;;
22962 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22963 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22964 ac_cs_silent=: ;;
22966 # This is an error.
22967 -*) as_fn_error $? "unrecognized option: \`$1'
22968 Try \`$0 --help' for more information." ;;
22970 *) as_fn_append ac_config_targets " $1"
22971 ac_need_defaults=false ;;
22973 esac
22974 shift
22975 done
22977 ac_configure_extra_args=
22979 if $ac_cs_silent; then
22980 exec 6>/dev/null
22981 ac_configure_extra_args="$ac_configure_extra_args --silent"
22984 _ACEOF
22985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22986 if \$ac_cs_recheck; then
22987 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22988 shift
22989 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22990 CONFIG_SHELL='$SHELL'
22991 export CONFIG_SHELL
22992 exec "\$@"
22995 _ACEOF
22996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22997 exec 5>>config.log
22999 echo
23000 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23001 ## Running $as_me. ##
23002 _ASBOX
23003 printf "%s\n" "$ac_log"
23004 } >&5
23006 _ACEOF
23007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23009 # INIT-COMMANDS
23011 wine_fn_output_makedep ()
23013 as_dir=tools; as_fn_mkdir_p
23014 $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
23016 wine_fn_output_makefile ()
23018 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23019 # This Makefile understands the following targets:
23021 # all (default): build wine
23022 # clean: remove all intermediate files
23023 # distclean: also remove all files created by configure
23024 # test: run tests
23025 # testclean: clean test results to force running all tests again
23026 # install-lib: install libraries needed to run applications
23027 # install-dev: install development environment
23028 # install: install everything
23029 # uninstall: uninstall everything
23030 # ctags: create a tags file for vim and others.
23031 # etags: create a TAGS file for Emacs.
23033 SHELL = $SHELL
23034 PATH_SEPARATOR = $PATH_SEPARATOR
23035 PACKAGE_NAME = $PACKAGE_NAME
23036 PACKAGE_TARNAME = $PACKAGE_TARNAME
23037 PACKAGE_VERSION = $PACKAGE_VERSION
23038 PACKAGE_STRING = $PACKAGE_STRING
23039 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23040 PACKAGE_URL = $PACKAGE_URL
23041 exec_prefix = $exec_prefix
23042 prefix = $prefix
23043 program_transform_name = $program_transform_name
23044 bindir = $bindir
23045 sbindir = $sbindir
23046 libexecdir = $libexecdir
23047 datarootdir = $datarootdir
23048 datadir = $datadir
23049 sysconfdir = $sysconfdir
23050 sharedstatedir = $sharedstatedir
23051 localstatedir = $localstatedir
23052 runstatedir = $runstatedir
23053 includedir = $includedir
23054 oldincludedir = $oldincludedir
23055 docdir = $docdir
23056 infodir = $infodir
23057 htmldir = $htmldir
23058 dvidir = $dvidir
23059 pdfdir = $pdfdir
23060 psdir = $psdir
23061 libdir = $libdir
23062 localedir = $localedir
23063 mandir = $mandir
23064 DEFS = $DEFS
23065 ECHO_C = $ECHO_C
23066 ECHO_N = $ECHO_N
23067 ECHO_T = $ECHO_T
23068 LIBS = $LIBS
23069 build_alias = $build_alias
23070 host_alias = $host_alias
23071 target_alias = $target_alias
23072 system_dllpath = $system_dllpath
23073 build = $build
23074 build_cpu = $build_cpu
23075 build_vendor = $build_vendor
23076 build_os = $build_os
23077 host = $host
23078 host_cpu = $host_cpu
23079 host_vendor = $host_vendor
23080 host_os = $host_os
23081 dlldir = $dlldir
23082 fontdir = $fontdir
23083 nlsdir = $nlsdir
23084 srcdir = $srcdir
23085 SET_MAKE = $SET_MAKE
23086 CC = $CC
23087 CFLAGS = $CFLAGS
23088 LDFLAGS = $LDFLAGS
23089 CPPFLAGS = $CPPFLAGS
23090 ac_ct_CC = $ac_ct_CC
23091 EXEEXT = $EXEEXT
23092 OBJEXT = $OBJEXT
23093 CXX = $CXX
23094 CXXFLAGS = $CXXFLAGS
23095 ac_ct_CXX = $ac_ct_CXX
23096 CPPBIN = $CPPBIN
23097 LD = $LD
23098 TARGETFLAGS = $TARGETFLAGS
23099 toolsext = $toolsext
23100 HOST_ARCH = $HOST_ARCH
23101 aarch64_CC = $aarch64_CC
23102 aarch64_CFLAGS = $aarch64_CFLAGS
23103 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23104 aarch64_LDFLAGS = $aarch64_LDFLAGS
23105 aarch64_DEBUG = $aarch64_DEBUG
23106 aarch64_TARGET = $aarch64_TARGET
23107 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23108 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23109 arm_CC = $arm_CC
23110 arm_CFLAGS = $arm_CFLAGS
23111 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23112 arm_LDFLAGS = $arm_LDFLAGS
23113 arm_DEBUG = $arm_DEBUG
23114 arm_TARGET = $arm_TARGET
23115 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23116 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23117 i386_CC = $i386_CC
23118 i386_CFLAGS = $i386_CFLAGS
23119 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23120 i386_LDFLAGS = $i386_LDFLAGS
23121 i386_DEBUG = $i386_DEBUG
23122 i386_TARGET = $i386_TARGET
23123 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23124 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23125 x86_64_CC = $x86_64_CC
23126 x86_64_CFLAGS = $x86_64_CFLAGS
23127 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23128 x86_64_LDFLAGS = $x86_64_LDFLAGS
23129 x86_64_DEBUG = $x86_64_DEBUG
23130 x86_64_TARGET = $x86_64_TARGET
23131 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23132 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23133 toolsdir = $toolsdir
23134 MAKEDEP = $MAKEDEP
23135 RUNTESTFLAGS = $RUNTESTFLAGS
23136 SED_CMD = $SED_CMD
23137 FLEX = $FLEX
23138 BISON = $BISON
23139 AR = $AR
23140 ac_ct_AR = $ac_ct_AR
23141 STRIP = $STRIP
23142 RANLIB = $RANLIB
23143 LN_S = $LN_S
23144 GREP = $GREP
23145 EGREP = $EGREP
23146 LDCONFIG = $LDCONFIG
23147 MSGFMT = $MSGFMT
23148 PKG_CONFIG = $PKG_CONFIG
23149 FONTFORGE = $FONTFORGE
23150 RSVG = $RSVG
23151 CONVERT = $CONVERT
23152 ICOTOOL = $ICOTOOL
23153 I386_LIBS = $I386_LIBS
23154 OPENGL_LIBS = $OPENGL_LIBS
23155 DLLFLAGS = $DLLFLAGS
23156 LDDLLFLAGS = $LDDLLFLAGS
23157 LDEXECFLAGS = $LDEXECFLAGS
23158 EXTRACFLAGS = $EXTRACFLAGS
23159 UNIXDLLFLAGS = $UNIXDLLFLAGS
23160 UNIXLDFLAGS = $UNIXLDFLAGS
23161 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23162 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23163 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23164 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23165 DLLEXT = $DLLEXT
23166 LDD = $LDD
23167 OTOOL = $OTOOL
23168 READELF = $READELF
23169 SUBDIRS = $SUBDIRS
23170 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23171 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23172 CARBON_LIBS = $CARBON_LIBS
23173 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23174 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23175 IOKIT_LIBS = $IOKIT_LIBS
23176 METAL_LIBS = $METAL_LIBS
23177 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23178 CORESERVICES_LIBS = $CORESERVICES_LIBS
23179 APPKIT_LIBS = $APPKIT_LIBS
23180 SECURITY_LIBS = $SECURITY_LIBS
23181 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23182 COREAUDIO_LIBS = $COREAUDIO_LIBS
23183 OPENCL_LIBS = $OPENCL_LIBS
23184 OBJC = $OBJC
23185 OBJCFLAGS = $OBJCFLAGS
23186 ac_ct_OBJC = $ac_ct_OBJC
23187 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23188 PE_ARCHS = $PE_ARCHS
23189 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23190 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23191 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23192 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23193 GSM_PE_LIBS = $GSM_PE_LIBS
23194 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23195 JPEG_PE_LIBS = $JPEG_PE_LIBS
23196 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23197 JXR_PE_LIBS = $JXR_PE_LIBS
23198 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23199 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23200 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23201 LDAP_PE_LIBS = $LDAP_PE_LIBS
23202 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23203 MPG123_PE_LIBS = $MPG123_PE_LIBS
23204 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23205 MUSL_PE_LIBS = $MUSL_PE_LIBS
23206 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23207 PNG_PE_LIBS = $PNG_PE_LIBS
23208 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23209 TIFF_PE_LIBS = $TIFF_PE_LIBS
23210 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23211 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23212 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23213 XML2_PE_LIBS = $XML2_PE_LIBS
23214 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23215 XSLT_PE_LIBS = $XSLT_PE_LIBS
23216 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23217 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23218 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23219 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23220 PTHREAD_LIBS = $PTHREAD_LIBS
23221 XMKMF = $XMKMF
23222 CPP = $CPP
23223 X_CFLAGS = $X_CFLAGS
23224 X_PRE_LIBS = $X_PRE_LIBS
23225 X_LIBS = $X_LIBS
23226 X_EXTRA_LIBS = $X_EXTRA_LIBS
23227 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23228 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23229 WAYLAND_SCANNER = $WAYLAND_SCANNER
23230 PCAP_LIBS = $PCAP_LIBS
23231 PCSCLITE_LIBS = $PCSCLITE_LIBS
23232 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23233 INOTIFY_LIBS = $INOTIFY_LIBS
23234 DBUS_CFLAGS = $DBUS_CFLAGS
23235 DBUS_LIBS = $DBUS_LIBS
23236 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23237 GNUTLS_LIBS = $GNUTLS_LIBS
23238 SANE_CFLAGS = $SANE_CFLAGS
23239 SANE_LIBS = $SANE_LIBS
23240 USB_CFLAGS = $USB_CFLAGS
23241 USB_LIBS = $USB_LIBS
23242 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23243 GPHOTO2_LIBS = $GPHOTO2_LIBS
23244 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23245 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23246 RESOLV_LIBS = $RESOLV_LIBS
23247 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23248 FREETYPE_LIBS = $FREETYPE_LIBS
23249 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23250 PULSE_CFLAGS = $PULSE_CFLAGS
23251 PULSE_LIBS = $PULSE_LIBS
23252 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23253 GSTREAMER_LIBS = $GSTREAMER_LIBS
23254 ALSA_LIBS = $ALSA_LIBS
23255 OSS4_CFLAGS = $OSS4_CFLAGS
23256 OSS4_LIBS = $OSS4_LIBS
23257 UDEV_CFLAGS = $UDEV_CFLAGS
23258 UDEV_LIBS = $UDEV_LIBS
23259 UNWIND_CFLAGS = $UNWIND_CFLAGS
23260 UNWIND_LIBS = $UNWIND_LIBS
23261 SDL2_CFLAGS = $SDL2_CFLAGS
23262 SDL2_LIBS = $SDL2_LIBS
23263 CAPI20_CFLAGS = $CAPI20_CFLAGS
23264 CAPI20_LIBS = $CAPI20_LIBS
23265 CUPS_CFLAGS = $CUPS_CFLAGS
23266 CUPS_LIBS = $CUPS_LIBS
23267 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23268 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23269 KRB5_CFLAGS = $KRB5_CFLAGS
23270 KRB5_LIBS = $KRB5_LIBS
23271 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23272 GSSAPI_LIBS = $GSSAPI_LIBS
23273 PROCSTAT_LIBS = $PROCSTAT_LIBS
23274 NETAPI_CFLAGS = $NETAPI_CFLAGS
23275 NETAPI_LIBS = $NETAPI_LIBS
23276 MSVCRTFLAGS = $MSVCRTFLAGS
23277 DELAYLOADFLAG = $DELAYLOADFLAG
23278 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23279 RT_LIBS = $RT_LIBS
23280 TAGSFLAGS = $TAGSFLAGS
23281 LIBOBJS = $LIBOBJS
23282 LTLIBOBJS = $LTLIBOBJS
23283 $SET_MAKE
23284 $wine_rules
23285 _WINE_EOF
23286 as_fn_error $? "could not create Makefile" "$LINENO" 5
23289 _ACEOF
23291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23293 # Handling of arguments.
23294 for ac_config_target in $ac_config_targets
23296 case $ac_config_target in
23297 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23298 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23299 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23300 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23301 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23302 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23304 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23305 esac
23306 done
23309 # If the user did not use the arguments to specify the items to instantiate,
23310 # then the envvar interface is used. Set only those that are not.
23311 # We use the long form for the default assignment because of an extremely
23312 # bizarre bug on SunOS 4.1.3.
23313 if $ac_need_defaults; then
23314 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23315 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23316 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23319 # Have a temporary directory for convenience. Make it in the build tree
23320 # simply because there is no reason against having it here, and in addition,
23321 # creating and moving files from /tmp can sometimes cause problems.
23322 # Hook for its removal unless debugging.
23323 # Note that there is a small window in which the directory will not be cleaned:
23324 # after its creation but before its name has been assigned to `$tmp'.
23325 $debug ||
23327 tmp= ac_tmp=
23328 trap 'exit_status=$?
23329 : "${ac_tmp:=$tmp}"
23330 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23332 trap 'as_fn_exit 1' 1 2 13 15
23334 # Create a (secure) tmp directory for tmp files.
23337 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23338 test -d "$tmp"
23339 } ||
23341 tmp=./conf$$-$RANDOM
23342 (umask 077 && mkdir "$tmp")
23343 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23344 ac_tmp=$tmp
23346 # Set up the scripts for CONFIG_HEADERS section.
23347 # No need to generate them if there are no CONFIG_HEADERS.
23348 # This happens for instance with `./config.status Makefile'.
23349 if test -n "$CONFIG_HEADERS"; then
23350 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23351 BEGIN {
23352 _ACEOF
23354 # Transform confdefs.h into an awk script `defines.awk', embedded as
23355 # here-document in config.status, that substitutes the proper values into
23356 # config.h.in to produce config.h.
23358 # Create a delimiter string that does not exist in confdefs.h, to ease
23359 # handling of long lines.
23360 ac_delim='%!_!# '
23361 for ac_last_try in false false :; do
23362 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23363 if test -z "$ac_tt"; then
23364 break
23365 elif $ac_last_try; then
23366 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23367 else
23368 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23370 done
23372 # For the awk script, D is an array of macro values keyed by name,
23373 # likewise P contains macro parameters if any. Preserve backslash
23374 # newline sequences.
23376 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23377 sed -n '
23378 s/.\{148\}/&'"$ac_delim"'/g
23379 t rset
23380 :rset
23381 s/^[ ]*#[ ]*define[ ][ ]*/ /
23382 t def
23384 :def
23385 s/\\$//
23386 t bsnl
23387 s/["\\]/\\&/g
23388 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23389 D["\1"]=" \3"/p
23390 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23392 :bsnl
23393 s/["\\]/\\&/g
23394 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23395 D["\1"]=" \3\\\\\\n"\\/p
23396 t cont
23397 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23398 t cont
23400 :cont
23402 s/.\{148\}/&'"$ac_delim"'/g
23403 t clear
23404 :clear
23405 s/\\$//
23406 t bsnlc
23407 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23409 :bsnlc
23410 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23411 b cont
23412 ' <confdefs.h | sed '
23413 s/'"$ac_delim"'/"\\\
23414 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23417 for (key in D) D_is_set[key] = 1
23418 FS = "\a"
23420 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23421 line = \$ 0
23422 split(line, arg, " ")
23423 if (arg[1] == "#") {
23424 defundef = arg[2]
23425 mac1 = arg[3]
23426 } else {
23427 defundef = substr(arg[1], 2)
23428 mac1 = arg[2]
23430 split(mac1, mac2, "(") #)
23431 macro = mac2[1]
23432 prefix = substr(line, 1, index(line, defundef) - 1)
23433 if (D_is_set[macro]) {
23434 # Preserve the white space surrounding the "#".
23435 print prefix "define", macro P[macro] D[macro]
23436 next
23437 } else {
23438 # Replace #undef with comments. This is necessary, for example,
23439 # in the case of _POSIX_SOURCE, which is predefined and required
23440 # on some systems where configure will not decide to define it.
23441 if (defundef == "undef") {
23442 print "/*", prefix defundef, macro, "*/"
23443 next
23447 { print }
23448 _ACAWK
23449 _ACEOF
23450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23451 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23452 fi # test -n "$CONFIG_HEADERS"
23455 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23456 shift
23457 for ac_tag
23459 case $ac_tag in
23460 :[FHLC]) ac_mode=$ac_tag; continue;;
23461 esac
23462 case $ac_mode$ac_tag in
23463 :[FHL]*:*);;
23464 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23465 :[FH]-) ac_tag=-:-;;
23466 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23467 esac
23468 ac_save_IFS=$IFS
23469 IFS=:
23470 set x $ac_tag
23471 IFS=$ac_save_IFS
23472 shift
23473 ac_file=$1
23474 shift
23476 case $ac_mode in
23477 :L) ac_source=$1;;
23478 :[FH])
23479 ac_file_inputs=
23480 for ac_f
23482 case $ac_f in
23483 -) ac_f="$ac_tmp/stdin";;
23484 *) # Look for the file first in the build tree, then in the source tree
23485 # (if the path is not absolute). The absolute path cannot be DOS-style,
23486 # because $ac_f cannot contain `:'.
23487 test -f "$ac_f" ||
23488 case $ac_f in
23489 [\\/$]*) false;;
23490 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23491 esac ||
23492 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23493 esac
23494 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23495 as_fn_append ac_file_inputs " '$ac_f'"
23496 done
23498 # Let's still pretend it is `configure' which instantiates (i.e., don't
23499 # use $as_me), people would be surprised to read:
23500 # /* config.h. Generated by config.status. */
23501 configure_input='Generated from '`
23502 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23503 `' by configure.'
23504 if test x"$ac_file" != x-; then
23505 configure_input="$ac_file. $configure_input"
23506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23507 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23509 # Neutralize special characters interpreted by sed in replacement strings.
23510 case $configure_input in #(
23511 *\&* | *\|* | *\\* )
23512 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23513 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23514 *) ac_sed_conf_input=$configure_input;;
23515 esac
23517 case $ac_tag in
23518 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23519 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23520 esac
23522 esac
23524 ac_dir=`$as_dirname -- "$ac_file" ||
23525 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23526 X"$ac_file" : 'X\(//\)[^/]' \| \
23527 X"$ac_file" : 'X\(//\)$' \| \
23528 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23529 printf "%s\n" X"$ac_file" |
23530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23531 s//\1/
23534 /^X\(\/\/\)[^/].*/{
23535 s//\1/
23538 /^X\(\/\/\)$/{
23539 s//\1/
23542 /^X\(\/\).*/{
23543 s//\1/
23546 s/.*/./; q'`
23547 as_dir="$ac_dir"; as_fn_mkdir_p
23548 ac_builddir=.
23550 case "$ac_dir" in
23551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23553 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23554 # A ".." for each directory in $ac_dir_suffix.
23555 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23556 case $ac_top_builddir_sub in
23557 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23558 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23559 esac ;;
23560 esac
23561 ac_abs_top_builddir=$ac_pwd
23562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23563 # for backward compatibility:
23564 ac_top_builddir=$ac_top_build_prefix
23566 case $srcdir in
23567 .) # We are building in place.
23568 ac_srcdir=.
23569 ac_top_srcdir=$ac_top_builddir_sub
23570 ac_abs_top_srcdir=$ac_pwd ;;
23571 [\\/]* | ?:[\\/]* ) # Absolute name.
23572 ac_srcdir=$srcdir$ac_dir_suffix;
23573 ac_top_srcdir=$srcdir
23574 ac_abs_top_srcdir=$srcdir ;;
23575 *) # Relative name.
23576 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23577 ac_top_srcdir=$ac_top_build_prefix$srcdir
23578 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23579 esac
23580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23583 case $ac_mode in
23587 # CONFIG_HEADER
23589 if test x"$ac_file" != x-; then
23591 printf "%s\n" "/* $configure_input */" >&1 \
23592 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23593 } >"$ac_tmp/config.h" \
23594 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23595 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23597 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23598 else
23599 rm -f "$ac_file"
23600 mv "$ac_tmp/config.h" "$ac_file" \
23601 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23603 else
23604 printf "%s\n" "/* $configure_input */" >&1 \
23605 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23606 || as_fn_error $? "could not create -" "$LINENO" 5
23611 # CONFIG_LINK
23614 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23616 else
23617 # Prefer the file from the source tree if names are identical.
23618 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23619 ac_source=$srcdir/$ac_source
23622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23623 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23625 if test ! -r "$ac_source"; then
23626 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23628 rm -f "$ac_file"
23630 # Try a relative symlink, then a hard link, then a copy.
23631 case $ac_source in
23632 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23633 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23634 esac
23635 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23636 ln "$ac_source" "$ac_file" 2>/dev/null ||
23637 cp -p "$ac_source" "$ac_file" ||
23638 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23641 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23642 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23644 esac
23647 case $ac_file$ac_mode in
23648 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23649 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23650 "Makefile":C) wine_fn_output_makefile Makefile ;;
23652 esac
23653 done # for ac_tag
23656 as_fn_exit 0
23657 _ACEOF
23658 ac_clean_files=$ac_clean_files_save
23660 test $ac_write_fail = 0 ||
23661 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23664 # configure is writing to config.log, and then calls config.status.
23665 # config.status does its own redirection, appending to config.log.
23666 # Unfortunately, on DOS this fails, as config.log is still kept open
23667 # by configure, so config.status won't be able to write to it; its
23668 # output is simply discarded. So we exec the FD to /dev/null,
23669 # effectively closing config.log, so it can be properly (re)opened and
23670 # appended to by config.status. When coming back to configure, we
23671 # need to make the FD available again.
23672 if test "$no_create" != yes; then
23673 ac_cs_success=:
23674 ac_config_status_args=
23675 test "$silent" = yes &&
23676 ac_config_status_args="$ac_config_status_args --quiet"
23677 exec 5>/dev/null
23678 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23679 exec 5>>config.log
23680 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23681 # would make configure fail if this is the last instruction.
23682 $ac_cs_success || as_fn_exit 1
23684 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23686 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23690 if test "$no_create" = "yes"
23691 then
23692 exit 0
23695 ac_save_IFS="$IFS"
23696 if test "x$wine_notices" != x; then
23697 echo >&6
23698 IFS="|"
23699 for msg in $wine_notices; do
23700 IFS="$ac_save_IFS"
23701 if ${msg:+false} :
23702 then :
23704 else $as_nop
23705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23706 printf "%s\n" "$as_me: $msg" >&6;}
23708 done
23710 IFS="|"
23711 for msg in $wine_warnings; do
23712 IFS="$ac_save_IFS"
23713 if ${msg:+false} :
23714 then :
23716 else $as_nop
23717 echo >&2
23718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23719 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23721 done
23722 IFS="$ac_save_IFS"
23724 printf "%s\n" "
23725 $as_me: Finished. Do '${ac_make}' to compile Wine.
23726 " >&6