wined3d: Introduce wined3d_get_renderer().
[wine.git] / configure
blob1e05d87431c046b738f664d34476d116b7958e04
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.11.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='8.11'
615 PACKAGE_STRING='Wine 8.11'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 DLLEXT
770 WINEPRELOADER_LDFLAGS
771 WINELOADER_LDFLAGS
772 TOP_INSTALL_DEV
773 TOP_INSTALL_LIB
774 UNIXLDFLAGS
775 UNIXDLLFLAGS
776 EXTRACFLAGS
777 LDEXECFLAGS
778 LDDLLFLAGS
779 DLLFLAGS
780 OPENGL_LIBS
781 I386_LIBS
782 ICOTOOL
783 CONVERT
784 RSVG
785 FONTFORGE
786 PKG_CONFIG
787 MSGFMT
788 LDCONFIG
789 EGREP
790 GREP
791 LN_S
792 RANLIB
793 STRIP
794 ac_ct_AR
796 BISON
797 FLEX
798 SED_CMD
799 RUNTESTFLAGS
800 MAKEDEP
801 toolsdir
802 x86_64_DISABLED_SUBDIRS
803 x86_64_DELAYLOADFLAG
804 x86_64_TARGET
805 x86_64_DEBUG
806 x86_64_LDFLAGS
807 x86_64_EXTRACFLAGS
808 x86_64_CFLAGS
809 x86_64_CC
810 i386_DISABLED_SUBDIRS
811 i386_DELAYLOADFLAG
812 i386_TARGET
813 i386_DEBUG
814 i386_LDFLAGS
815 i386_EXTRACFLAGS
816 i386_CFLAGS
817 i386_CC
818 arm_DISABLED_SUBDIRS
819 arm_DELAYLOADFLAG
820 arm_TARGET
821 arm_DEBUG
822 arm_LDFLAGS
823 arm_EXTRACFLAGS
824 arm_CFLAGS
825 arm_CC
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
828 aarch64_TARGET
829 aarch64_DEBUG
830 aarch64_LDFLAGS
831 aarch64_EXTRACFLAGS
832 aarch64_CFLAGS
833 aarch64_CC
834 HOST_ARCH
835 toolsext
836 TARGETFLAGS
838 CPPBIN
839 ac_ct_CXX
840 CXXFLAGS
842 OBJEXT
843 EXEEXT
844 ac_ct_CC
845 CPPFLAGS
846 LDFLAGS
847 CFLAGS
849 SET_MAKE
850 srcdir
851 nlsdir
852 fontdir
853 dlldir
854 host_os
855 host_vendor
856 host_cpu
857 host
858 build_os
859 build_vendor
860 build_cpu
861 build
862 system_dllpath
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
900 PATH_SEPARATOR
901 SHELL'
902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_archs
906 enable_win16
907 enable_win64
908 enable_tests
909 enable_build_id
910 enable_maintainer_mode
911 enable_silent_rules
912 enable_werror
913 with_alsa
914 with_capi
915 with_coreaudio
916 with_cups
917 with_dbus
918 with_float_abi
919 with_fontconfig
920 with_freetype
921 with_gettext
922 with_gettextpo
923 with_gphoto
924 with_gnutls
925 with_gssapi
926 with_gstreamer
927 with_inotify
928 with_krb5
929 with_mingw
930 with_netapi
931 with_opencl
932 with_opengl
933 with_osmesa
934 with_oss
935 with_pcap
936 with_pcsclite
937 with_pthread
938 with_pulse
939 with_sane
940 with_sdl
941 with_udev
942 with_unwind
943 with_usb
944 with_v4l2
945 with_vulkan
946 with_wayland
947 with_xcomposite
948 with_xcursor
949 with_xfixes
950 with_xinerama
951 with_xinput
952 with_xinput2
953 with_xrandr
954 with_xrender
955 with_xshape
956 with_xshm
957 with_xxf86vm
958 with_system_dllpath
959 with_wine_tools
960 with_wine64
961 enable_largefile
962 with_x
963 enable_acledit
964 enable_aclui
965 enable_activeds_tlb
966 enable_activeds
967 enable_actxprxy
968 enable_adsldp
969 enable_adsldpc
970 enable_advapi32
971 enable_advpack
972 enable_amsi
973 enable_amstream
974 enable_apisetschema
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_atl
978 enable_atl100
979 enable_atl110
980 enable_atl80
981 enable_atl90
982 enable_atlthunk
983 enable_atmlib
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bluetoothapis
990 enable_browseui
991 enable_bthprops_cpl
992 enable_cabinet
993 enable_capi2032
994 enable_cards
995 enable_cdosys
996 enable_cfgmgr32
997 enable_clusapi
998 enable_cng_sys
999 enable_combase
1000 enable_comcat
1001 enable_comctl32
1002 enable_comdlg32
1003 enable_compstui
1004 enable_comsvcs
1005 enable_concrt140
1006 enable_connect
1007 enable_credui
1008 enable_crtdll
1009 enable_crypt32
1010 enable_cryptdlg
1011 enable_cryptdll
1012 enable_cryptext
1013 enable_cryptnet
1014 enable_cryptowinrt
1015 enable_cryptsp
1016 enable_cryptui
1017 enable_ctapi32
1018 enable_ctl3d32
1019 enable_d2d1
1020 enable_d3d10
1021 enable_d3d10_1
1022 enable_d3d10core
1023 enable_d3d11
1024 enable_d3d12
1025 enable_d3d12core
1026 enable_d3d8
1027 enable_d3d8thk
1028 enable_d3d9
1029 enable_d3dcompiler_33
1030 enable_d3dcompiler_34
1031 enable_d3dcompiler_35
1032 enable_d3dcompiler_36
1033 enable_d3dcompiler_37
1034 enable_d3dcompiler_38
1035 enable_d3dcompiler_39
1036 enable_d3dcompiler_40
1037 enable_d3dcompiler_41
1038 enable_d3dcompiler_42
1039 enable_d3dcompiler_43
1040 enable_d3dcompiler_46
1041 enable_d3dcompiler_47
1042 enable_d3dim
1043 enable_d3dim700
1044 enable_d3drm
1045 enable_d3dx10_33
1046 enable_d3dx10_34
1047 enable_d3dx10_35
1048 enable_d3dx10_36
1049 enable_d3dx10_37
1050 enable_d3dx10_38
1051 enable_d3dx10_39
1052 enable_d3dx10_40
1053 enable_d3dx10_41
1054 enable_d3dx10_42
1055 enable_d3dx10_43
1056 enable_d3dx11_42
1057 enable_d3dx11_43
1058 enable_d3dx9_24
1059 enable_d3dx9_25
1060 enable_d3dx9_26
1061 enable_d3dx9_27
1062 enable_d3dx9_28
1063 enable_d3dx9_29
1064 enable_d3dx9_30
1065 enable_d3dx9_31
1066 enable_d3dx9_32
1067 enable_d3dx9_33
1068 enable_d3dx9_34
1069 enable_d3dx9_35
1070 enable_d3dx9_36
1071 enable_d3dx9_37
1072 enable_d3dx9_38
1073 enable_d3dx9_39
1074 enable_d3dx9_40
1075 enable_d3dx9_41
1076 enable_d3dx9_42
1077 enable_d3dx9_43
1078 enable_d3dxof
1079 enable_davclnt
1080 enable_dbgeng
1081 enable_dbghelp
1082 enable_dciman32
1083 enable_dcomp
1084 enable_ddraw
1085 enable_ddrawex
1086 enable_devenum
1087 enable_dhcpcsvc
1088 enable_dhcpcsvc6
1089 enable_dhtmled_ocx
1090 enable_diasymreader
1091 enable_difxapi
1092 enable_dinput
1093 enable_dinput8
1094 enable_directmanipulation
1095 enable_dispex
1096 enable_dmband
1097 enable_dmcompos
1098 enable_dmime
1099 enable_dmloader
1100 enable_dmscript
1101 enable_dmstyle
1102 enable_dmsynth
1103 enable_dmusic
1104 enable_dmusic32
1105 enable_dnsapi
1106 enable_dplay
1107 enable_dplayx
1108 enable_dpnaddr
1109 enable_dpnet
1110 enable_dpnhpast
1111 enable_dpnhupnp
1112 enable_dpnlobby
1113 enable_dpvoice
1114 enable_dpwsockx
1115 enable_drmclien
1116 enable_dsdmo
1117 enable_dsound
1118 enable_dsquery
1119 enable_dssenh
1120 enable_dsuiext
1121 enable_dswave
1122 enable_dwmapi
1123 enable_dwrite
1124 enable_dx8vb
1125 enable_dxdiagn
1126 enable_dxgi
1127 enable_dxtrans
1128 enable_dxva2
1129 enable_esent
1130 enable_evr
1131 enable_explorerframe
1132 enable_faultrep
1133 enable_feclient
1134 enable_fltlib
1135 enable_fltmgr_sys
1136 enable_fntcache
1137 enable_fontsub
1138 enable_fusion
1139 enable_fwpuclnt
1140 enable_gameux
1141 enable_gamingtcui
1142 enable_gdi32
1143 enable_gdiplus
1144 enable_glu32
1145 enable_gphoto2_ds
1146 enable_gpkcsp
1147 enable_graphicscapture
1148 enable_hal
1149 enable_hhctrl_ocx
1150 enable_hid
1151 enable_hidclass_sys
1152 enable_hidparse_sys
1153 enable_hlink
1154 enable_hnetcfg
1155 enable_hrtfapo
1156 enable_http_sys
1157 enable_httpapi
1158 enable_ia2comproxy
1159 enable_iccvid
1160 enable_icmp
1161 enable_ieframe
1162 enable_ieproxy
1163 enable_imaadp32_acm
1164 enable_imagehlp
1165 enable_imm32
1166 enable_inetcomm
1167 enable_inetcpl_cpl
1168 enable_inetmib1
1169 enable_infosoft
1170 enable_initpki
1171 enable_inkobj
1172 enable_inseng
1173 enable_iphlpapi
1174 enable_iprop
1175 enable_ir50_32
1176 enable_irprops_cpl
1177 enable_itircl
1178 enable_itss
1179 enable_joy_cpl
1180 enable_jscript
1181 enable_jsproxy
1182 enable_kerberos
1183 enable_kernel32
1184 enable_kernelbase
1185 enable_ksecdd_sys
1186 enable_ksproxy_ax
1187 enable_ksuser
1188 enable_ktmw32
1189 enable_l3codeca_acm
1190 enable_light_msstyles
1191 enable_loadperf
1192 enable_localspl
1193 enable_localui
1194 enable_lz32
1195 enable_mapi32
1196 enable_mapistub
1197 enable_mciavi32
1198 enable_mcicda
1199 enable_mciqtz32
1200 enable_mciseq
1201 enable_mciwave
1202 enable_mf
1203 enable_mf3216
1204 enable_mferror
1205 enable_mfmediaengine
1206 enable_mfplat
1207 enable_mfplay
1208 enable_mfreadwrite
1209 enable_mfsrcsnk
1210 enable_mgmtapi
1211 enable_midimap
1212 enable_mlang
1213 enable_mmcndmgr
1214 enable_mmdevapi
1215 enable_mountmgr_sys
1216 enable_mp3dmod
1217 enable_mpr
1218 enable_mprapi
1219 enable_msacm32_drv
1220 enable_msacm32
1221 enable_msado15
1222 enable_msadp32_acm
1223 enable_msasn1
1224 enable_msauddecmft
1225 enable_mscat32
1226 enable_mscms
1227 enable_mscoree
1228 enable_mscorwks
1229 enable_msctf
1230 enable_msctfmonitor
1231 enable_msctfp
1232 enable_msdaps
1233 enable_msdasql
1234 enable_msdelta
1235 enable_msdmo
1236 enable_msdrm
1237 enable_msftedit
1238 enable_msg711_acm
1239 enable_msgsm32_acm
1240 enable_mshtml_tlb
1241 enable_mshtml
1242 enable_msi
1243 enable_msident
1244 enable_msimg32
1245 enable_msimsg
1246 enable_msimtf
1247 enable_msisip
1248 enable_msisys_ocx
1249 enable_msls31
1250 enable_msmpeg2vdec
1251 enable_msnet32
1252 enable_mspatcha
1253 enable_msports
1254 enable_msrle32
1255 enable_msscript_ocx
1256 enable_mssign32
1257 enable_mssip32
1258 enable_mstask
1259 enable_msv1_0
1260 enable_msvcirt
1261 enable_msvcm80
1262 enable_msvcm90
1263 enable_msvcp100
1264 enable_msvcp110
1265 enable_msvcp120
1266 enable_msvcp120_app
1267 enable_msvcp140
1268 enable_msvcp140_1
1269 enable_msvcp140_2
1270 enable_msvcp140_atomic_wait
1271 enable_msvcp60
1272 enable_msvcp70
1273 enable_msvcp71
1274 enable_msvcp80
1275 enable_msvcp90
1276 enable_msvcp_win
1277 enable_msvcr100
1278 enable_msvcr110
1279 enable_msvcr120
1280 enable_msvcr120_app
1281 enable_msvcr70
1282 enable_msvcr71
1283 enable_msvcr80
1284 enable_msvcr90
1285 enable_msvcrt
1286 enable_msvcrt20
1287 enable_msvcrt40
1288 enable_msvcrtd
1289 enable_msvfw32
1290 enable_msvidc32
1291 enable_mswsock
1292 enable_msxml
1293 enable_msxml2
1294 enable_msxml3
1295 enable_msxml4
1296 enable_msxml6
1297 enable_mtxdm
1298 enable_ncrypt
1299 enable_nddeapi
1300 enable_ndis_sys
1301 enable_netapi32
1302 enable_netcfgx
1303 enable_netio_sys
1304 enable_netprofm
1305 enable_netutils
1306 enable_newdev
1307 enable_ninput
1308 enable_normaliz
1309 enable_npmshtml
1310 enable_npptools
1311 enable_nsi
1312 enable_nsiproxy_sys
1313 enable_ntdll
1314 enable_ntdsapi
1315 enable_ntoskrnl_exe
1316 enable_ntprint
1317 enable_objsel
1318 enable_odbc32
1319 enable_odbcbcp
1320 enable_odbccp32
1321 enable_odbccu32
1322 enable_ole32
1323 enable_oleacc
1324 enable_oleaut32
1325 enable_olecli32
1326 enable_oledb32
1327 enable_oledlg
1328 enable_olepro32
1329 enable_olesvr32
1330 enable_olethk32
1331 enable_opcservices
1332 enable_opencl
1333 enable_opengl32
1334 enable_packager
1335 enable_pdh
1336 enable_photometadatahandler
1337 enable_pidgen
1338 enable_powrprof
1339 enable_printui
1340 enable_prntvpt
1341 enable_propsys
1342 enable_psapi
1343 enable_pstorec
1344 enable_pwrshplugin
1345 enable_qasf
1346 enable_qcap
1347 enable_qdvd
1348 enable_qedit
1349 enable_qmgr
1350 enable_qmgrprxy
1351 enable_quartz
1352 enable_query
1353 enable_qwave
1354 enable_rasapi32
1355 enable_rasdlg
1356 enable_regapi
1357 enable_resutils
1358 enable_riched20
1359 enable_riched32
1360 enable_rpcrt4
1361 enable_rsabase
1362 enable_rsaenh
1363 enable_rstrtmgr
1364 enable_rtutils
1365 enable_rtworkq
1366 enable_samlib
1367 enable_sane_ds
1368 enable_sapi
1369 enable_sas
1370 enable_scarddlg
1371 enable_scardsvr
1372 enable_sccbase
1373 enable_schannel
1374 enable_schedsvc
1375 enable_scrobj
1376 enable_scrrun
1377 enable_scsiport_sys
1378 enable_sechost
1379 enable_secur32
1380 enable_security
1381 enable_sensapi
1382 enable_serialui
1383 enable_setupapi
1384 enable_sfc
1385 enable_sfc_os
1386 enable_shcore
1387 enable_shdoclc
1388 enable_shdocvw
1389 enable_shell32
1390 enable_shfolder
1391 enable_shlwapi
1392 enable_slbcsp
1393 enable_slc
1394 enable_snmpapi
1395 enable_softpub
1396 enable_spoolss
1397 enable_sppc
1398 enable_srclient
1399 enable_srvcli
1400 enable_sspicli
1401 enable_stdole2_tlb
1402 enable_stdole32_tlb
1403 enable_sti
1404 enable_strmdll
1405 enable_svrapi
1406 enable_sxs
1407 enable_t2embed
1408 enable_tapi32
1409 enable_taskschd
1410 enable_tbs
1411 enable_tdh
1412 enable_tdi_sys
1413 enable_threadpoolwinrt
1414 enable_traffic
1415 enable_twain_32
1416 enable_twinapi_appcore
1417 enable_tzres
1418 enable_ucrtbase
1419 enable_uianimation
1420 enable_uiautomationcore
1421 enable_uiribbon
1422 enable_unicows
1423 enable_updspapi
1424 enable_url
1425 enable_urlmon
1426 enable_usbd_sys
1427 enable_user32
1428 enable_userenv
1429 enable_usp10
1430 enable_utildll
1431 enable_uxtheme
1432 enable_vbscript
1433 enable_vcomp
1434 enable_vcomp100
1435 enable_vcomp110
1436 enable_vcomp120
1437 enable_vcomp140
1438 enable_vcomp90
1439 enable_vcruntime140
1440 enable_vcruntime140_1
1441 enable_vdmdbg
1442 enable_version
1443 enable_vga
1444 enable_virtdisk
1445 enable_vssapi
1446 enable_vulkan_1
1447 enable_wbemdisp
1448 enable_wbemprox
1449 enable_wdscore
1450 enable_webservices
1451 enable_websocket
1452 enable_wer
1453 enable_wevtapi
1454 enable_wevtsvc
1455 enable_wiaservc
1456 enable_wimgapi
1457 enable_win32u
1458 enable_windows_devices_bluetooth
1459 enable_windows_devices_enumeration
1460 enable_windows_gaming_input
1461 enable_windows_gaming_ui_gamebar
1462 enable_windows_globalization
1463 enable_windows_media_devices
1464 enable_windows_media_speech
1465 enable_windows_media
1466 enable_windows_networking
1467 enable_windows_perception_stub
1468 enable_windows_system_profile_systemmanufacturers
1469 enable_windows_ui
1470 enable_windowscodecs
1471 enable_windowscodecsext
1472 enable_winealsa_drv
1473 enable_wineandroid_drv
1474 enable_winebus_sys
1475 enable_winecoreaudio_drv
1476 enable_winecrt0
1477 enable_wined3d
1478 enable_winegstreamer
1479 enable_winehid_sys
1480 enable_winemac_drv
1481 enable_winemapi
1482 enable_wineoss_drv
1483 enable_wineps_drv
1484 enable_winepulse_drv
1485 enable_wineusb_sys
1486 enable_winevulkan
1487 enable_winewayland_drv
1488 enable_winex11_drv
1489 enable_winexinput_sys
1490 enable_wing32
1491 enable_winhttp
1492 enable_wininet
1493 enable_winmm
1494 enable_winnls32
1495 enable_winprint
1496 enable_winscard
1497 enable_winspool_drv
1498 enable_winsta
1499 enable_wintab32
1500 enable_wintrust
1501 enable_wintypes
1502 enable_winusb
1503 enable_wlanapi
1504 enable_wlanui
1505 enable_wldap32
1506 enable_wmasf
1507 enable_wmi
1508 enable_wmiutils
1509 enable_wmp
1510 enable_wmphoto
1511 enable_wmvcore
1512 enable_wnaspi32
1513 enable_wofutil
1514 enable_wow64
1515 enable_wow64cpu
1516 enable_wow64win
1517 enable_wpc
1518 enable_wpcap
1519 enable_ws2_32
1520 enable_wsdapi
1521 enable_wshom_ocx
1522 enable_wsnmp32
1523 enable_wsock32
1524 enable_wtsapi32
1525 enable_wuapi
1526 enable_wuaueng
1527 enable_x3daudio1_0
1528 enable_x3daudio1_1
1529 enable_x3daudio1_2
1530 enable_x3daudio1_3
1531 enable_x3daudio1_4
1532 enable_x3daudio1_5
1533 enable_x3daudio1_6
1534 enable_x3daudio1_7
1535 enable_xactengine2_0
1536 enable_xactengine2_4
1537 enable_xactengine2_7
1538 enable_xactengine2_9
1539 enable_xactengine3_0
1540 enable_xactengine3_1
1541 enable_xactengine3_2
1542 enable_xactengine3_3
1543 enable_xactengine3_4
1544 enable_xactengine3_5
1545 enable_xactengine3_6
1546 enable_xactengine3_7
1547 enable_xapofx1_1
1548 enable_xapofx1_2
1549 enable_xapofx1_3
1550 enable_xapofx1_4
1551 enable_xapofx1_5
1552 enable_xaudio2_0
1553 enable_xaudio2_1
1554 enable_xaudio2_2
1555 enable_xaudio2_3
1556 enable_xaudio2_4
1557 enable_xaudio2_5
1558 enable_xaudio2_6
1559 enable_xaudio2_7
1560 enable_xaudio2_8
1561 enable_xaudio2_9
1562 enable_xinput1_1
1563 enable_xinput1_2
1564 enable_xinput1_3
1565 enable_xinput1_4
1566 enable_xinput9_1_0
1567 enable_xinputuap
1568 enable_xmllite
1569 enable_xolehlp
1570 enable_xpsprint
1571 enable_xpssvcs
1572 enable_fonts
1573 enable_include
1574 enable_adsiid
1575 enable_dmoguids
1576 enable_dxerr8
1577 enable_dxerr9
1578 enable_dxguid
1579 enable_faudio
1580 enable_gsm
1581 enable_jpeg
1582 enable_jxr
1583 enable_lcms2
1584 enable_ldap
1585 enable_mfuuid
1586 enable_mpg123
1587 enable_musl
1588 enable_png
1589 enable_strmbase
1590 enable_strmiids
1591 enable_tiff
1592 enable_uuid
1593 enable_vkd3d
1594 enable_wbemuuid
1595 enable_wmcodecdspuuid
1596 enable_xml2
1597 enable_xslt
1598 enable_zlib
1599 enable_zydis
1600 enable_loader
1601 enable_nls
1602 enable_po
1603 enable_arp
1604 enable_aspnet_regiis
1605 enable_attrib
1606 enable_cabarc
1607 enable_cacls
1608 enable_certutil
1609 enable_chcp_com
1610 enable_clock
1611 enable_cmd
1612 enable_conhost
1613 enable_control
1614 enable_cscript
1615 enable_dism
1616 enable_dllhost
1617 enable_dplaysvr
1618 enable_dpnsvr
1619 enable_dpvsetup
1620 enable_dxdiag
1621 enable_eject
1622 enable_expand
1623 enable_explorer
1624 enable_extrac32
1625 enable_fc
1626 enable_find
1627 enable_findstr
1628 enable_fsutil
1629 enable_hh
1630 enable_hostname
1631 enable_icacls
1632 enable_icinfo
1633 enable_iexplore
1634 enable_ipconfig
1635 enable_lodctr
1636 enable_mofcomp
1637 enable_mshta
1638 enable_msidb
1639 enable_msiexec
1640 enable_msinfo32
1641 enable_net
1642 enable_netsh
1643 enable_netstat
1644 enable_ngen
1645 enable_notepad
1646 enable_oleview
1647 enable_ping
1648 enable_plugplay
1649 enable_pnputil
1650 enable_powershell
1651 enable_presentationfontcache
1652 enable_progman
1653 enable_reg
1654 enable_regasm
1655 enable_regedit
1656 enable_regini
1657 enable_regsvcs
1658 enable_regsvr32
1659 enable_robocopy
1660 enable_rpcss
1661 enable_rundll32
1662 enable_sc
1663 enable_schtasks
1664 enable_sdbinst
1665 enable_secedit
1666 enable_servicemodelreg
1667 enable_services
1668 enable_setx
1669 enable_shutdown
1670 enable_spoolsv
1671 enable_start
1672 enable_subst
1673 enable_svchost
1674 enable_systeminfo
1675 enable_taskkill
1676 enable_tasklist
1677 enable_taskmgr
1678 enable_termsv
1679 enable_uninstaller
1680 enable_unlodctr
1681 enable_view
1682 enable_wevtutil
1683 enable_where
1684 enable_whoami
1685 enable_wineboot
1686 enable_winebrowser
1687 enable_winecfg
1688 enable_wineconsole
1689 enable_winedbg
1690 enable_winedevice
1691 enable_winefile
1692 enable_winemenubuilder
1693 enable_winemine
1694 enable_winemsibuilder
1695 enable_winepath
1696 enable_winetest
1697 enable_winhlp32
1698 enable_winmgmt
1699 enable_winver
1700 enable_wmic
1701 enable_wmplayer
1702 enable_wordpad
1703 enable_write
1704 enable_wscript
1705 enable_wuauserv
1706 enable_wusa
1707 enable_xcopy
1708 enable_server
1709 enable_tools
1710 enable_sfnt2fon
1711 enable_widl
1712 enable_winebuild
1713 enable_winedump
1714 enable_winegcc
1715 enable_winemaker
1716 enable_wmc
1717 enable_wrc
1719 ac_precious_vars='build_alias
1720 host_alias
1721 target_alias
1723 CFLAGS
1724 LDFLAGS
1725 LIBS
1726 CPPFLAGS
1728 CXXFLAGS
1730 OBJC
1731 OBJCFLAGS
1732 FAUDIO_PE_CFLAGS
1733 FAUDIO_PE_LIBS
1734 GSM_PE_CFLAGS
1735 GSM_PE_LIBS
1736 JPEG_PE_CFLAGS
1737 JPEG_PE_LIBS
1738 JXR_PE_CFLAGS
1739 JXR_PE_LIBS
1740 LCMS2_PE_CFLAGS
1741 LCMS2_PE_LIBS
1742 LDAP_PE_CFLAGS
1743 LDAP_PE_LIBS
1744 MPG123_PE_CFLAGS
1745 MPG123_PE_LIBS
1746 MUSL_PE_CFLAGS
1747 MUSL_PE_LIBS
1748 PNG_PE_CFLAGS
1749 PNG_PE_LIBS
1750 TIFF_PE_CFLAGS
1751 TIFF_PE_LIBS
1752 VKD3D_PE_CFLAGS
1753 VKD3D_PE_LIBS
1754 XML2_PE_CFLAGS
1755 XML2_PE_LIBS
1756 XSLT_PE_CFLAGS
1757 XSLT_PE_LIBS
1758 ZLIB_PE_CFLAGS
1759 ZLIB_PE_LIBS
1760 ZYDIS_PE_CFLAGS
1761 ZYDIS_PE_LIBS
1762 XMKMF
1764 WAYLAND_CLIENT_CFLAGS
1765 WAYLAND_CLIENT_LIBS
1766 INOTIFY_CFLAGS
1767 INOTIFY_LIBS
1768 DBUS_CFLAGS
1769 DBUS_LIBS
1770 GNUTLS_CFLAGS
1771 GNUTLS_LIBS
1772 SANE_CFLAGS
1773 SANE_LIBS
1774 USB_CFLAGS
1775 USB_LIBS
1776 GPHOTO2_CFLAGS
1777 GPHOTO2_LIBS
1778 GPHOTO2_PORT_CFLAGS
1779 GPHOTO2_PORT_LIBS
1780 FREETYPE_CFLAGS
1781 FREETYPE_LIBS
1782 PULSE_CFLAGS
1783 PULSE_LIBS
1784 GSTREAMER_CFLAGS
1785 GSTREAMER_LIBS
1786 UDEV_CFLAGS
1787 UDEV_LIBS
1788 UNWIND_CFLAGS
1789 UNWIND_LIBS
1790 SDL2_CFLAGS
1791 SDL2_LIBS
1792 CAPI20_CFLAGS
1793 CAPI20_LIBS
1794 CUPS_CFLAGS
1795 CUPS_LIBS
1796 FONTCONFIG_CFLAGS
1797 FONTCONFIG_LIBS
1798 KRB5_CFLAGS
1799 KRB5_LIBS
1800 GSSAPI_CFLAGS
1801 GSSAPI_LIBS
1802 NETAPI_CFLAGS
1803 NETAPI_LIBS'
1806 # Initialize some variables set by options.
1807 ac_init_help=
1808 ac_init_version=false
1809 ac_unrecognized_opts=
1810 ac_unrecognized_sep=
1811 # The variables have the same names as the options, with
1812 # dashes changed to underlines.
1813 cache_file=/dev/null
1814 exec_prefix=NONE
1815 no_create=
1816 no_recursion=
1817 prefix=NONE
1818 program_prefix=NONE
1819 program_suffix=NONE
1820 program_transform_name=s,x,x,
1821 silent=
1822 site=
1823 srcdir=
1824 verbose=
1825 x_includes=NONE
1826 x_libraries=NONE
1828 # Installation directory options.
1829 # These are left unexpanded so users can "make install exec_prefix=/foo"
1830 # and all the variables that are supposed to be based on exec_prefix
1831 # by default will actually change.
1832 # Use braces instead of parens because sh, perl, etc. also accept them.
1833 # (The list follows the same order as the GNU Coding Standards.)
1834 bindir='${exec_prefix}/bin'
1835 sbindir='${exec_prefix}/sbin'
1836 libexecdir='${exec_prefix}/libexec'
1837 datarootdir='${prefix}/share'
1838 datadir='${datarootdir}'
1839 sysconfdir='${prefix}/etc'
1840 sharedstatedir='${prefix}/com'
1841 localstatedir='${prefix}/var'
1842 runstatedir='${localstatedir}/run'
1843 includedir='${prefix}/include'
1844 oldincludedir='/usr/include'
1845 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1846 infodir='${datarootdir}/info'
1847 htmldir='${docdir}'
1848 dvidir='${docdir}'
1849 pdfdir='${docdir}'
1850 psdir='${docdir}'
1851 libdir='${exec_prefix}/lib'
1852 localedir='${datarootdir}/locale'
1853 mandir='${datarootdir}/man'
1855 ac_prev=
1856 ac_dashdash=
1857 for ac_option
1859 # If the previous option needs an argument, assign it.
1860 if test -n "$ac_prev"; then
1861 eval $ac_prev=\$ac_option
1862 ac_prev=
1863 continue
1866 case $ac_option in
1867 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1868 *=) ac_optarg= ;;
1869 *) ac_optarg=yes ;;
1870 esac
1872 case $ac_dashdash$ac_option in
1874 ac_dashdash=yes ;;
1876 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1877 ac_prev=bindir ;;
1878 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1879 bindir=$ac_optarg ;;
1881 -build | --build | --buil | --bui | --bu)
1882 ac_prev=build_alias ;;
1883 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1884 build_alias=$ac_optarg ;;
1886 -cache-file | --cache-file | --cache-fil | --cache-fi \
1887 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1888 ac_prev=cache_file ;;
1889 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1890 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1891 cache_file=$ac_optarg ;;
1893 --config-cache | -C)
1894 cache_file=config.cache ;;
1896 -datadir | --datadir | --datadi | --datad)
1897 ac_prev=datadir ;;
1898 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1899 datadir=$ac_optarg ;;
1901 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1902 | --dataroo | --dataro | --datar)
1903 ac_prev=datarootdir ;;
1904 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1905 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1906 datarootdir=$ac_optarg ;;
1908 -disable-* | --disable-*)
1909 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1910 # Reject names that are not valid shell variable names.
1911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1912 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1913 ac_useropt_orig=$ac_useropt
1914 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1915 case $ac_user_opts in
1917 "enable_$ac_useropt"
1918 "*) ;;
1919 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1920 ac_unrecognized_sep=', ';;
1921 esac
1922 eval enable_$ac_useropt=no ;;
1924 -docdir | --docdir | --docdi | --doc | --do)
1925 ac_prev=docdir ;;
1926 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1927 docdir=$ac_optarg ;;
1929 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1930 ac_prev=dvidir ;;
1931 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1932 dvidir=$ac_optarg ;;
1934 -enable-* | --enable-*)
1935 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1936 # Reject names that are not valid shell variable names.
1937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1938 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1939 ac_useropt_orig=$ac_useropt
1940 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1941 case $ac_user_opts in
1943 "enable_$ac_useropt"
1944 "*) ;;
1945 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1946 ac_unrecognized_sep=', ';;
1947 esac
1948 eval enable_$ac_useropt=\$ac_optarg ;;
1950 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1951 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1952 | --exec | --exe | --ex)
1953 ac_prev=exec_prefix ;;
1954 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1955 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1956 | --exec=* | --exe=* | --ex=*)
1957 exec_prefix=$ac_optarg ;;
1959 -gas | --gas | --ga | --g)
1960 # Obsolete; use --with-gas.
1961 with_gas=yes ;;
1963 -help | --help | --hel | --he | -h)
1964 ac_init_help=long ;;
1965 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1966 ac_init_help=recursive ;;
1967 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1968 ac_init_help=short ;;
1970 -host | --host | --hos | --ho)
1971 ac_prev=host_alias ;;
1972 -host=* | --host=* | --hos=* | --ho=*)
1973 host_alias=$ac_optarg ;;
1975 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1976 ac_prev=htmldir ;;
1977 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1978 | --ht=*)
1979 htmldir=$ac_optarg ;;
1981 -includedir | --includedir | --includedi | --included | --include \
1982 | --includ | --inclu | --incl | --inc)
1983 ac_prev=includedir ;;
1984 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1985 | --includ=* | --inclu=* | --incl=* | --inc=*)
1986 includedir=$ac_optarg ;;
1988 -infodir | --infodir | --infodi | --infod | --info | --inf)
1989 ac_prev=infodir ;;
1990 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1991 infodir=$ac_optarg ;;
1993 -libdir | --libdir | --libdi | --libd)
1994 ac_prev=libdir ;;
1995 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1996 libdir=$ac_optarg ;;
1998 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1999 | --libexe | --libex | --libe)
2000 ac_prev=libexecdir ;;
2001 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2002 | --libexe=* | --libex=* | --libe=*)
2003 libexecdir=$ac_optarg ;;
2005 -localedir | --localedir | --localedi | --localed | --locale)
2006 ac_prev=localedir ;;
2007 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2008 localedir=$ac_optarg ;;
2010 -localstatedir | --localstatedir | --localstatedi | --localstated \
2011 | --localstate | --localstat | --localsta | --localst | --locals)
2012 ac_prev=localstatedir ;;
2013 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2014 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2015 localstatedir=$ac_optarg ;;
2017 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2018 ac_prev=mandir ;;
2019 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2020 mandir=$ac_optarg ;;
2022 -nfp | --nfp | --nf)
2023 # Obsolete; use --without-fp.
2024 with_fp=no ;;
2026 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2027 | --no-cr | --no-c | -n)
2028 no_create=yes ;;
2030 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2031 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2032 no_recursion=yes ;;
2034 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2035 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2036 | --oldin | --oldi | --old | --ol | --o)
2037 ac_prev=oldincludedir ;;
2038 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2039 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2040 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2041 oldincludedir=$ac_optarg ;;
2043 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2044 ac_prev=prefix ;;
2045 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2046 prefix=$ac_optarg ;;
2048 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2049 | --program-pre | --program-pr | --program-p)
2050 ac_prev=program_prefix ;;
2051 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2052 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2053 program_prefix=$ac_optarg ;;
2055 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2056 | --program-suf | --program-su | --program-s)
2057 ac_prev=program_suffix ;;
2058 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2059 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2060 program_suffix=$ac_optarg ;;
2062 -program-transform-name | --program-transform-name \
2063 | --program-transform-nam | --program-transform-na \
2064 | --program-transform-n | --program-transform- \
2065 | --program-transform | --program-transfor \
2066 | --program-transfo | --program-transf \
2067 | --program-trans | --program-tran \
2068 | --progr-tra | --program-tr | --program-t)
2069 ac_prev=program_transform_name ;;
2070 -program-transform-name=* | --program-transform-name=* \
2071 | --program-transform-nam=* | --program-transform-na=* \
2072 | --program-transform-n=* | --program-transform-=* \
2073 | --program-transform=* | --program-transfor=* \
2074 | --program-transfo=* | --program-transf=* \
2075 | --program-trans=* | --program-tran=* \
2076 | --progr-tra=* | --program-tr=* | --program-t=*)
2077 program_transform_name=$ac_optarg ;;
2079 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2080 ac_prev=pdfdir ;;
2081 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2082 pdfdir=$ac_optarg ;;
2084 -psdir | --psdir | --psdi | --psd | --ps)
2085 ac_prev=psdir ;;
2086 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2087 psdir=$ac_optarg ;;
2089 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2090 | -silent | --silent | --silen | --sile | --sil)
2091 silent=yes ;;
2093 -runstatedir | --runstatedir | --runstatedi | --runstated \
2094 | --runstate | --runstat | --runsta | --runst | --runs \
2095 | --run | --ru | --r)
2096 ac_prev=runstatedir ;;
2097 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2098 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2099 | --run=* | --ru=* | --r=*)
2100 runstatedir=$ac_optarg ;;
2102 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2103 ac_prev=sbindir ;;
2104 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2105 | --sbi=* | --sb=*)
2106 sbindir=$ac_optarg ;;
2108 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2109 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2110 | --sharedst | --shareds | --shared | --share | --shar \
2111 | --sha | --sh)
2112 ac_prev=sharedstatedir ;;
2113 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2114 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2115 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2116 | --sha=* | --sh=*)
2117 sharedstatedir=$ac_optarg ;;
2119 -site | --site | --sit)
2120 ac_prev=site ;;
2121 -site=* | --site=* | --sit=*)
2122 site=$ac_optarg ;;
2124 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2125 ac_prev=srcdir ;;
2126 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2127 srcdir=$ac_optarg ;;
2129 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2130 | --syscon | --sysco | --sysc | --sys | --sy)
2131 ac_prev=sysconfdir ;;
2132 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2133 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2134 sysconfdir=$ac_optarg ;;
2136 -target | --target | --targe | --targ | --tar | --ta | --t)
2137 ac_prev=target_alias ;;
2138 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2139 target_alias=$ac_optarg ;;
2141 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2142 verbose=yes ;;
2144 -version | --version | --versio | --versi | --vers | -V)
2145 ac_init_version=: ;;
2147 -with-* | --with-*)
2148 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2149 # Reject names that are not valid shell variable names.
2150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2151 as_fn_error $? "invalid package name: \`$ac_useropt'"
2152 ac_useropt_orig=$ac_useropt
2153 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2154 case $ac_user_opts in
2156 "with_$ac_useropt"
2157 "*) ;;
2158 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2159 ac_unrecognized_sep=', ';;
2160 esac
2161 eval with_$ac_useropt=\$ac_optarg ;;
2163 -without-* | --without-*)
2164 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2165 # Reject names that are not valid shell variable names.
2166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2167 as_fn_error $? "invalid package name: \`$ac_useropt'"
2168 ac_useropt_orig=$ac_useropt
2169 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2170 case $ac_user_opts in
2172 "with_$ac_useropt"
2173 "*) ;;
2174 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2175 ac_unrecognized_sep=', ';;
2176 esac
2177 eval with_$ac_useropt=no ;;
2179 --x)
2180 # Obsolete; use --with-x.
2181 with_x=yes ;;
2183 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2184 | --x-incl | --x-inc | --x-in | --x-i)
2185 ac_prev=x_includes ;;
2186 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2187 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2188 x_includes=$ac_optarg ;;
2190 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2191 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2192 ac_prev=x_libraries ;;
2193 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2194 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2195 x_libraries=$ac_optarg ;;
2197 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2198 Try \`$0 --help' for more information"
2201 *=*)
2202 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2203 # Reject names that are not valid shell variable names.
2204 case $ac_envvar in #(
2205 '' | [0-9]* | *[!_$as_cr_alnum]* )
2206 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2207 esac
2208 eval $ac_envvar=\$ac_optarg
2209 export $ac_envvar ;;
2212 # FIXME: should be removed in autoconf 3.0.
2213 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2214 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2215 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2216 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2219 esac
2220 done
2222 if test -n "$ac_prev"; then
2223 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2224 as_fn_error $? "missing argument to $ac_option"
2227 if test -n "$ac_unrecognized_opts"; then
2228 case $enable_option_checking in
2229 no) ;;
2230 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2231 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2232 esac
2235 # Check all directory arguments for consistency.
2236 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2237 datadir sysconfdir sharedstatedir localstatedir includedir \
2238 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2239 libdir localedir mandir runstatedir
2241 eval ac_val=\$$ac_var
2242 # Remove trailing slashes.
2243 case $ac_val in
2244 */ )
2245 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2246 eval $ac_var=\$ac_val;;
2247 esac
2248 # Be sure to have absolute directory names.
2249 case $ac_val in
2250 [\\/$]* | ?:[\\/]* ) continue;;
2251 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2252 esac
2253 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2254 done
2256 # There might be people who depend on the old broken behavior: `$host'
2257 # used to hold the argument of --host etc.
2258 # FIXME: To remove some day.
2259 build=$build_alias
2260 host=$host_alias
2261 target=$target_alias
2263 # FIXME: To remove some day.
2264 if test "x$host_alias" != x; then
2265 if test "x$build_alias" = x; then
2266 cross_compiling=maybe
2267 elif test "x$build_alias" != "x$host_alias"; then
2268 cross_compiling=yes
2272 ac_tool_prefix=
2273 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2275 test "$silent" = yes && exec 6>/dev/null
2278 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2279 ac_ls_di=`ls -di .` &&
2280 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2281 as_fn_error $? "working directory cannot be determined"
2282 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2283 as_fn_error $? "pwd does not report name of working directory"
2286 # Find the source files, if location was not specified.
2287 if test -z "$srcdir"; then
2288 ac_srcdir_defaulted=yes
2289 # Try the directory containing this script, then the parent directory.
2290 ac_confdir=`$as_dirname -- "$as_myself" ||
2291 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2292 X"$as_myself" : 'X\(//\)[^/]' \| \
2293 X"$as_myself" : 'X\(//\)$' \| \
2294 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2295 printf "%s\n" X"$as_myself" |
2296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2297 s//\1/
2300 /^X\(\/\/\)[^/].*/{
2301 s//\1/
2304 /^X\(\/\/\)$/{
2305 s//\1/
2308 /^X\(\/\).*/{
2309 s//\1/
2312 s/.*/./; q'`
2313 srcdir=$ac_confdir
2314 if test ! -r "$srcdir/$ac_unique_file"; then
2315 srcdir=..
2317 else
2318 ac_srcdir_defaulted=no
2320 if test ! -r "$srcdir/$ac_unique_file"; then
2321 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2322 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2324 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2325 ac_abs_confdir=`(
2326 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2327 pwd)`
2328 # When building in place, set srcdir=.
2329 if test "$ac_abs_confdir" = "$ac_pwd"; then
2330 srcdir=.
2332 # Remove unnecessary trailing slashes from srcdir.
2333 # Double slashes in file names in object file debugging info
2334 # mess up M-x gdb in Emacs.
2335 case $srcdir in
2336 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2337 esac
2338 for ac_var in $ac_precious_vars; do
2339 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2340 eval ac_env_${ac_var}_value=\$${ac_var}
2341 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2342 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2343 done
2346 # Report the --help message.
2348 if test "$ac_init_help" = "long"; then
2349 # Omit some internal or obsolete options to make the list less imposing.
2350 # This message is too long to be a string in the A/UX 3.1 sh.
2351 cat <<_ACEOF
2352 \`configure' configures Wine 8.11 to adapt to many kinds of systems.
2354 Usage: $0 [OPTION]... [VAR=VALUE]...
2356 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2357 VAR=VALUE. See below for descriptions of some of the useful variables.
2359 Defaults for the options are specified in brackets.
2361 Configuration:
2362 -h, --help display this help and exit
2363 --help=short display options specific to this package
2364 --help=recursive display the short help of all the included packages
2365 -V, --version display version information and exit
2366 -q, --quiet, --silent do not print \`checking ...' messages
2367 --cache-file=FILE cache test results in FILE [disabled]
2368 -C, --config-cache alias for \`--cache-file=config.cache'
2369 -n, --no-create do not create output files
2370 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2372 Installation directories:
2373 --prefix=PREFIX install architecture-independent files in PREFIX
2374 [$ac_default_prefix]
2375 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2376 [PREFIX]
2378 By default, \`make install' will install all the files in
2379 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2380 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2381 for instance \`--prefix=\$HOME'.
2383 For better control, use the options below.
2385 Fine tuning of the installation directories:
2386 --bindir=DIR user executables [EPREFIX/bin]
2387 --sbindir=DIR system admin executables [EPREFIX/sbin]
2388 --libexecdir=DIR program executables [EPREFIX/libexec]
2389 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2390 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2391 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2392 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2393 --libdir=DIR object code libraries [EPREFIX/lib]
2394 --includedir=DIR C header files [PREFIX/include]
2395 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2396 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2397 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2398 --infodir=DIR info documentation [DATAROOTDIR/info]
2399 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2400 --mandir=DIR man documentation [DATAROOTDIR/man]
2401 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2402 --htmldir=DIR html documentation [DOCDIR]
2403 --dvidir=DIR dvi documentation [DOCDIR]
2404 --pdfdir=DIR pdf documentation [DOCDIR]
2405 --psdir=DIR ps documentation [DOCDIR]
2406 _ACEOF
2408 cat <<\_ACEOF
2410 X features:
2411 --x-includes=DIR X include files are in DIR
2412 --x-libraries=DIR X library files are in DIR
2414 System types:
2415 --build=BUILD configure for building on BUILD [guessed]
2416 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2417 _ACEOF
2420 if test -n "$ac_init_help"; then
2421 case $ac_init_help in
2422 short | recursive ) echo "Configuration of Wine 8.11:";;
2423 esac
2424 cat <<\_ACEOF
2426 Optional Features:
2427 --disable-option-checking ignore unrecognized --enable/--with options
2428 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2429 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2430 --enable-archs={i386,x86_64,arm,aarch64}
2431 enable multiple architectures for PE compilation
2432 --disable-win16 do not include Win16 support
2433 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2434 binaries)
2435 --disable-tests do not build the regression tests
2436 --enable-build-id include .buildid section in output objects
2437 --enable-maintainer-mode
2438 enable maintainer-specific build rules
2439 --enable-silent-rules use silent build rules (override: "make V=1")
2440 --enable-werror treat compilation warnings as errors
2441 --disable-largefile omit support for large files
2443 Optional Packages:
2444 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2445 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2446 --without-alsa do not use the Alsa sound support
2447 --without-capi do not use CAPI (ISDN support)
2448 --without-coreaudio do not use the CoreAudio sound support
2449 --without-cups do not use CUPS
2450 --without-dbus do not use DBus (dynamic device support)
2451 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2452 --without-fontconfig do not use fontconfig
2453 --without-freetype do not use the FreeType library
2454 --without-gettext do not use gettext
2455 --with-gettextpo use the GetTextPO library to rebuild po files
2456 --without-gphoto do not use gphoto (Digital Camera support)
2457 --without-gnutls do not use GnuTLS (schannel support)
2458 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2459 --without-gstreamer do not use GStreamer (codecs support)
2460 --without-inotify do not use inotify (filesystem change notifications)
2461 --without-krb5 do not use krb5 (Kerberos)
2462 --without-mingw do not use the MinGW cross-compiler
2463 --without-netapi do not use the Samba NetAPI library
2464 --without-opencl do not use OpenCL
2465 --without-opengl do not use OpenGL
2466 --without-osmesa do not use the OSMesa library
2467 --without-oss do not use the OSS sound support
2468 --without-pcap do not use the Packet Capture library
2469 --without-pcsclite do not use PCSC lite
2470 --without-pthread do not use the pthread library
2471 --without-pulse do not use PulseAudio sound support
2472 --without-sane do not use SANE (scanner support)
2473 --without-sdl do not use SDL
2474 --without-udev do not use udev (plug and play support)
2475 --without-unwind do not use the libunwind library (exception
2476 handling)
2477 --without-usb do not use the libusb library
2478 --without-v4l2 do not use v4l2 (video capture)
2479 --without-vulkan do not use Vulkan
2480 --without-wayland do not build the Wayland driver
2481 --without-xcomposite do not use the Xcomposite extension
2482 --without-xcursor do not use the Xcursor extension
2483 --without-xfixes do not use Xfixes for clipboard change notifications
2484 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2485 --without-xinput do not use the Xinput extension
2486 --without-xinput2 do not use the Xinput 2 extension
2487 --without-xrandr do not use Xrandr (multi-monitor support)
2488 --without-xrender do not use the Xrender extension
2489 --without-xshape do not use the Xshape extension
2490 --without-xshm do not use XShm (shared memory extension)
2491 --without-xxf86vm do not use XFree video mode extension
2492 --with-system-dllpath=PATH
2493 load external PE dependencies from colon-separated
2494 path PATH
2495 --with-wine-tools=DIR use Wine tools from directory DIR
2496 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2497 --with-x use the X Window System
2499 Some influential environment variables:
2500 CC C compiler command
2501 CFLAGS C compiler flags
2502 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2503 nonstandard directory <lib dir>
2504 LIBS libraries to pass to the linker, e.g. -l<library>
2505 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2506 you have headers in a nonstandard directory <include dir>
2507 CXX C++ compiler command
2508 CXXFLAGS C++ compiler flags
2509 OBJC Objective C compiler command
2510 OBJCFLAGS Objective C compiler flags
2511 FAUDIO_PE_CFLAGS
2512 C compiler flags for the PE faudio, overriding the bundled
2513 version
2514 FAUDIO_PE_LIBS
2515 Linker flags for the PE faudio, overriding the bundled version
2516 GSM_PE_CFLAGS
2517 C compiler flags for the PE gsm, overriding the bundled version
2518 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2519 JPEG_PE_CFLAGS
2520 C compiler flags for the PE jpeg, overriding the bundled version
2521 JPEG_PE_LIBS
2522 Linker flags for the PE jpeg, overriding the bundled version
2523 JXR_PE_CFLAGS
2524 C compiler flags for the PE jxr, overriding the bundled version
2525 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2526 LCMS2_PE_CFLAGS
2527 C compiler flags for the PE lcms2, overriding the bundled
2528 version
2529 LCMS2_PE_LIBS
2530 Linker flags for the PE lcms2, overriding the bundled version
2531 LDAP_PE_CFLAGS
2532 C compiler flags for the PE ldap, overriding the bundled version
2533 LDAP_PE_LIBS
2534 Linker flags for the PE ldap, overriding the bundled version
2535 MPG123_PE_CFLAGS
2536 C compiler flags for the PE mpg123, overriding the bundled
2537 version
2538 MPG123_PE_LIBS
2539 Linker flags for the PE mpg123, overriding the bundled version
2540 MUSL_PE_CFLAGS
2541 C compiler flags for the PE musl, overriding the bundled version
2542 MUSL_PE_LIBS
2543 Linker flags for the PE musl, overriding the bundled version
2544 PNG_PE_CFLAGS
2545 C compiler flags for the PE png, overriding the bundled version
2546 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2547 TIFF_PE_CFLAGS
2548 C compiler flags for the PE tiff, overriding the bundled version
2549 TIFF_PE_LIBS
2550 Linker flags for the PE tiff, overriding the bundled version
2551 VKD3D_PE_CFLAGS
2552 C compiler flags for the PE vkd3d, overriding the bundled
2553 version
2554 VKD3D_PE_LIBS
2555 Linker flags for the PE vkd3d, overriding the bundled version
2556 XML2_PE_CFLAGS
2557 C compiler flags for the PE xml2, overriding the bundled version
2558 XML2_PE_LIBS
2559 Linker flags for the PE xml2, overriding the bundled version
2560 XSLT_PE_CFLAGS
2561 C compiler flags for the PE xslt, overriding the bundled version
2562 XSLT_PE_LIBS
2563 Linker flags for the PE xslt, overriding the bundled version
2564 ZLIB_PE_CFLAGS
2565 C compiler flags for the PE zlib, overriding the bundled version
2566 ZLIB_PE_LIBS
2567 Linker flags for the PE zlib, overriding the bundled version
2568 ZYDIS_PE_CFLAGS
2569 C compiler flags for the PE zydis, overriding the bundled
2570 version
2571 ZYDIS_PE_LIBS
2572 Linker flags for the PE zydis, overriding the bundled version
2573 XMKMF Path to xmkmf, Makefile generator for X Window System
2574 CPP C preprocessor
2575 WAYLAND_CLIENT_CFLAGS
2576 C compiler flags for wayland-client, overriding pkg-config
2577 WAYLAND_CLIENT_LIBS
2578 Linker flags for wayland-client, overriding pkg-config
2579 INOTIFY_CFLAGS
2580 C compiler flags for libinotify, overriding pkg-config
2581 INOTIFY_LIBS
2582 Linker flags for libinotify, overriding pkg-config
2583 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2584 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2585 GNUTLS_CFLAGS
2586 C compiler flags for gnutls, overriding pkg-config
2587 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2588 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2589 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2590 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2591 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2592 GPHOTO2_CFLAGS
2593 C compiler flags for libgphoto2, overriding pkg-config
2594 GPHOTO2_LIBS
2595 Linker flags for libgphoto2, overriding pkg-config
2596 GPHOTO2_PORT_CFLAGS
2597 C compiler flags for libgphoto2_port, overriding pkg-config
2598 GPHOTO2_PORT_LIBS
2599 Linker flags for libgphoto2_port, overriding pkg-config
2600 FREETYPE_CFLAGS
2601 C compiler flags for freetype2, overriding pkg-config
2602 FREETYPE_LIBS
2603 Linker flags for freetype2, overriding pkg-config
2604 PULSE_CFLAGS
2605 C compiler flags for libpulse, overriding pkg-config
2606 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2607 GSTREAMER_CFLAGS
2608 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2609 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2610 GSTREAMER_LIBS
2611 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2612 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2613 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2614 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2615 UNWIND_CFLAGS
2616 C compiler flags for libunwind, overriding pkg-config
2617 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2618 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2619 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2620 CAPI20_CFLAGS
2621 C compiler flags for capi20, overriding pkg-config
2622 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2623 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2624 CUPS_LIBS Linker flags for cups, overriding pkg-config
2625 FONTCONFIG_CFLAGS
2626 C compiler flags for fontconfig, overriding pkg-config
2627 FONTCONFIG_LIBS
2628 Linker flags for fontconfig, overriding pkg-config
2629 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2630 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2631 GSSAPI_CFLAGS
2632 C compiler flags for krb5-gssapi, overriding pkg-config
2633 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2634 NETAPI_CFLAGS
2635 C compiler flags for netapi, overriding pkg-config
2636 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2638 Use these variables to override the choices made by `configure' or to help
2639 it to find libraries and programs with nonstandard names/locations.
2641 Report bugs to <wine-devel@winehq.org>.
2642 Wine home page: <https://www.winehq.org>.
2643 _ACEOF
2644 ac_status=$?
2647 if test "$ac_init_help" = "recursive"; then
2648 # If there are subdirs, report their specific --help.
2649 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2650 test -d "$ac_dir" ||
2651 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2652 continue
2653 ac_builddir=.
2655 case "$ac_dir" in
2656 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2658 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2659 # A ".." for each directory in $ac_dir_suffix.
2660 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2661 case $ac_top_builddir_sub in
2662 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2663 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2664 esac ;;
2665 esac
2666 ac_abs_top_builddir=$ac_pwd
2667 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2668 # for backward compatibility:
2669 ac_top_builddir=$ac_top_build_prefix
2671 case $srcdir in
2672 .) # We are building in place.
2673 ac_srcdir=.
2674 ac_top_srcdir=$ac_top_builddir_sub
2675 ac_abs_top_srcdir=$ac_pwd ;;
2676 [\\/]* | ?:[\\/]* ) # Absolute name.
2677 ac_srcdir=$srcdir$ac_dir_suffix;
2678 ac_top_srcdir=$srcdir
2679 ac_abs_top_srcdir=$srcdir ;;
2680 *) # Relative name.
2681 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2682 ac_top_srcdir=$ac_top_build_prefix$srcdir
2683 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2684 esac
2685 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2687 cd "$ac_dir" || { ac_status=$?; continue; }
2688 # Check for configure.gnu first; this name is used for a wrapper for
2689 # Metaconfig's "Configure" on case-insensitive file systems.
2690 if test -f "$ac_srcdir/configure.gnu"; then
2691 echo &&
2692 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2693 elif test -f "$ac_srcdir/configure"; then
2694 echo &&
2695 $SHELL "$ac_srcdir/configure" --help=recursive
2696 else
2697 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2698 fi || ac_status=$?
2699 cd "$ac_pwd" || { ac_status=$?; break; }
2700 done
2703 test -n "$ac_init_help" && exit $ac_status
2704 if $ac_init_version; then
2705 cat <<\_ACEOF
2706 Wine configure 8.11
2707 generated by GNU Autoconf 2.71
2709 Copyright (C) 2021 Free Software Foundation, Inc.
2710 This configure script is free software; the Free Software Foundation
2711 gives unlimited permission to copy, distribute and modify it.
2712 _ACEOF
2713 exit
2716 ## ------------------------ ##
2717 ## Autoconf initialization. ##
2718 ## ------------------------ ##
2720 # ac_fn_c_try_compile LINENO
2721 # --------------------------
2722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2723 ac_fn_c_try_compile ()
2725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2726 rm -f conftest.$ac_objext conftest.beam
2727 if { { ac_try="$ac_compile"
2728 case "(($ac_try" in
2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2731 esac
2732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2733 printf "%s\n" "$ac_try_echo"; } >&5
2734 (eval "$ac_compile") 2>conftest.err
2735 ac_status=$?
2736 if test -s conftest.err; then
2737 grep -v '^ *+' conftest.err >conftest.er1
2738 cat conftest.er1 >&5
2739 mv -f conftest.er1 conftest.err
2741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2742 test $ac_status = 0; } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext
2746 then :
2747 ac_retval=0
2748 else $as_nop
2749 printf "%s\n" "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 ac_retval=1
2754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2755 as_fn_set_status $ac_retval
2757 } # ac_fn_c_try_compile
2759 # ac_fn_cxx_try_compile LINENO
2760 # ----------------------------
2761 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2762 ac_fn_cxx_try_compile ()
2764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2765 rm -f conftest.$ac_objext conftest.beam
2766 if { { ac_try="$ac_compile"
2767 case "(($ac_try" in
2768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2770 esac
2771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2772 printf "%s\n" "$ac_try_echo"; } >&5
2773 (eval "$ac_compile") 2>conftest.err
2774 ac_status=$?
2775 if test -s conftest.err; then
2776 grep -v '^ *+' conftest.err >conftest.er1
2777 cat conftest.er1 >&5
2778 mv -f conftest.er1 conftest.err
2780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2781 test $ac_status = 0; } && {
2782 test -z "$ac_cxx_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest.$ac_objext
2785 then :
2786 ac_retval=0
2787 else $as_nop
2788 printf "%s\n" "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.$ac_ext >&5
2791 ac_retval=1
2793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2794 as_fn_set_status $ac_retval
2796 } # ac_fn_cxx_try_compile
2798 # ac_fn_c_try_link LINENO
2799 # -----------------------
2800 # Try to link conftest.$ac_ext, and return whether this succeeded.
2801 ac_fn_c_try_link ()
2803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2804 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2805 if { { ac_try="$ac_link"
2806 case "(($ac_try" in
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2809 esac
2810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2811 printf "%s\n" "$ac_try_echo"; } >&5
2812 (eval "$ac_link") 2>conftest.err
2813 ac_status=$?
2814 if test -s conftest.err; then
2815 grep -v '^ *+' conftest.err >conftest.er1
2816 cat conftest.er1 >&5
2817 mv -f conftest.er1 conftest.err
2819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2820 test $ac_status = 0; } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest$ac_exeext && {
2824 test "$cross_compiling" = yes ||
2825 test -x conftest$ac_exeext
2827 then :
2828 ac_retval=0
2829 else $as_nop
2830 printf "%s\n" "$as_me: failed program was:" >&5
2831 sed 's/^/| /' conftest.$ac_ext >&5
2833 ac_retval=1
2835 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2836 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2837 # interfere with the next link command; also delete a directory that is
2838 # left behind by Apple's compiler. We do this before executing the actions.
2839 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2841 as_fn_set_status $ac_retval
2843 } # ac_fn_c_try_link
2845 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2846 # -------------------------------------------------------
2847 # Tests whether HEADER exists and can be compiled using the include files in
2848 # INCLUDES, setting the cache variable VAR accordingly.
2849 ac_fn_c_check_header_compile ()
2851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2853 printf %s "checking for $2... " >&6; }
2854 if eval test \${$3+y}
2855 then :
2856 printf %s "(cached) " >&6
2857 else $as_nop
2858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2859 /* end confdefs.h. */
2861 #include <$2>
2862 _ACEOF
2863 if ac_fn_c_try_compile "$LINENO"
2864 then :
2865 eval "$3=yes"
2866 else $as_nop
2867 eval "$3=no"
2869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2871 eval ac_res=\$$3
2872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2873 printf "%s\n" "$ac_res" >&6; }
2874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2876 } # ac_fn_c_check_header_compile
2878 # ac_fn_objc_try_compile LINENO
2879 # -----------------------------
2880 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2881 ac_fn_objc_try_compile ()
2883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2884 rm -f conftest.$ac_objext conftest.beam
2885 if { { ac_try="$ac_compile"
2886 case "(($ac_try" in
2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2889 esac
2890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2891 printf "%s\n" "$ac_try_echo"; } >&5
2892 (eval "$ac_compile") 2>conftest.err
2893 ac_status=$?
2894 if test -s conftest.err; then
2895 grep -v '^ *+' conftest.err >conftest.er1
2896 cat conftest.er1 >&5
2897 mv -f conftest.er1 conftest.err
2899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2900 test $ac_status = 0; } && {
2901 test -z "$ac_objc_werror_flag" ||
2902 test ! -s conftest.err
2903 } && test -s conftest.$ac_objext
2904 then :
2905 ac_retval=0
2906 else $as_nop
2907 printf "%s\n" "$as_me: failed program was:" >&5
2908 sed 's/^/| /' conftest.$ac_ext >&5
2910 ac_retval=1
2912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2913 as_fn_set_status $ac_retval
2915 } # ac_fn_objc_try_compile
2917 # ac_fn_c_check_func LINENO FUNC VAR
2918 # ----------------------------------
2919 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2920 ac_fn_c_check_func ()
2922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2924 printf %s "checking for $2... " >&6; }
2925 if eval test \${$3+y}
2926 then :
2927 printf %s "(cached) " >&6
2928 else $as_nop
2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2931 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2933 #define $2 innocuous_$2
2935 /* System header to define __stub macros and hopefully few prototypes,
2936 which can conflict with char $2 (); below. */
2938 #include <limits.h>
2939 #undef $2
2941 /* Override any GCC internal prototype to avoid an error.
2942 Use char because int might match the return type of a GCC
2943 builtin and then its argument prototype would still apply. */
2944 #ifdef __cplusplus
2945 extern "C"
2946 #endif
2947 char $2 ();
2948 /* The GNU C library defines this for functions which it implements
2949 to always fail with ENOSYS. Some functions are actually named
2950 something starting with __ and the normal name is an alias. */
2951 #if defined __stub_$2 || defined __stub___$2
2952 choke me
2953 #endif
2956 main (void)
2958 return $2 ();
2960 return 0;
2962 _ACEOF
2963 if ac_fn_c_try_link "$LINENO"
2964 then :
2965 eval "$3=yes"
2966 else $as_nop
2967 eval "$3=no"
2969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2970 conftest$ac_exeext conftest.$ac_ext
2972 eval ac_res=\$$3
2973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2974 printf "%s\n" "$ac_res" >&6; }
2975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2977 } # ac_fn_c_check_func
2979 # ac_fn_c_try_cpp LINENO
2980 # ----------------------
2981 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2982 ac_fn_c_try_cpp ()
2984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2985 if { { ac_try="$ac_cpp conftest.$ac_ext"
2986 case "(($ac_try" in
2987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2989 esac
2990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2991 printf "%s\n" "$ac_try_echo"; } >&5
2992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2993 ac_status=$?
2994 if test -s conftest.err; then
2995 grep -v '^ *+' conftest.err >conftest.er1
2996 cat conftest.er1 >&5
2997 mv -f conftest.er1 conftest.err
2999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3000 test $ac_status = 0; } > conftest.i && {
3001 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3002 test ! -s conftest.err
3004 then :
3005 ac_retval=0
3006 else $as_nop
3007 printf "%s\n" "$as_me: failed program was:" >&5
3008 sed 's/^/| /' conftest.$ac_ext >&5
3010 ac_retval=1
3012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3013 as_fn_set_status $ac_retval
3015 } # ac_fn_c_try_cpp
3017 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3018 # ----------------------------------------------------
3019 # Tries to find if the field MEMBER exists in type AGGR, after including
3020 # INCLUDES, setting cache variable VAR accordingly.
3021 ac_fn_c_check_member ()
3023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3025 printf %s "checking for $2.$3... " >&6; }
3026 if eval test \${$4+y}
3027 then :
3028 printf %s "(cached) " >&6
3029 else $as_nop
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3034 main (void)
3036 static $2 ac_aggr;
3037 if (ac_aggr.$3)
3038 return 0;
3040 return 0;
3042 _ACEOF
3043 if ac_fn_c_try_compile "$LINENO"
3044 then :
3045 eval "$4=yes"
3046 else $as_nop
3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048 /* end confdefs.h. */
3051 main (void)
3053 static $2 ac_aggr;
3054 if (sizeof ac_aggr.$3)
3055 return 0;
3057 return 0;
3059 _ACEOF
3060 if ac_fn_c_try_compile "$LINENO"
3061 then :
3062 eval "$4=yes"
3063 else $as_nop
3064 eval "$4=no"
3066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3070 eval ac_res=\$$4
3071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3072 printf "%s\n" "$ac_res" >&6; }
3073 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3075 } # ac_fn_c_check_member
3077 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3078 # -------------------------------------------
3079 # Tests whether TYPE exists after having included INCLUDES, setting cache
3080 # variable VAR accordingly.
3081 ac_fn_c_check_type ()
3083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3085 printf %s "checking for $2... " >&6; }
3086 if eval test \${$3+y}
3087 then :
3088 printf %s "(cached) " >&6
3089 else $as_nop
3090 eval "$3=no"
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3095 main (void)
3097 if (sizeof ($2))
3098 return 0;
3100 return 0;
3102 _ACEOF
3103 if ac_fn_c_try_compile "$LINENO"
3104 then :
3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h. */
3109 main (void)
3111 if (sizeof (($2)))
3112 return 0;
3114 return 0;
3116 _ACEOF
3117 if ac_fn_c_try_compile "$LINENO"
3118 then :
3120 else $as_nop
3121 eval "$3=yes"
3123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3127 eval ac_res=\$$3
3128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3129 printf "%s\n" "$ac_res" >&6; }
3130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3132 } # ac_fn_c_check_type
3133 ac_configure_args_raw=
3134 for ac_arg
3136 case $ac_arg in
3137 *\'*)
3138 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3139 esac
3140 as_fn_append ac_configure_args_raw " '$ac_arg'"
3141 done
3143 case $ac_configure_args_raw in
3144 *$as_nl*)
3145 ac_safe_unquote= ;;
3147 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3148 ac_unsafe_a="$ac_unsafe_z#~"
3149 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3150 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3151 esac
3153 cat >config.log <<_ACEOF
3154 This file contains any messages produced by compilers while
3155 running configure, to aid debugging if configure makes a mistake.
3157 It was created by Wine $as_me 8.11, which was
3158 generated by GNU Autoconf 2.71. Invocation command line was
3160 $ $0$ac_configure_args_raw
3162 _ACEOF
3163 exec 5>>config.log
3165 cat <<_ASUNAME
3166 ## --------- ##
3167 ## Platform. ##
3168 ## --------- ##
3170 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3171 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3172 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3173 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3174 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3176 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3177 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3179 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3180 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3181 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3182 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3183 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3184 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3185 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3187 _ASUNAME
3189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190 for as_dir in $PATH
3192 IFS=$as_save_IFS
3193 case $as_dir in #(((
3194 '') as_dir=./ ;;
3195 */) ;;
3196 *) as_dir=$as_dir/ ;;
3197 esac
3198 printf "%s\n" "PATH: $as_dir"
3199 done
3200 IFS=$as_save_IFS
3202 } >&5
3204 cat >&5 <<_ACEOF
3207 ## ----------- ##
3208 ## Core tests. ##
3209 ## ----------- ##
3211 _ACEOF
3214 # Keep a trace of the command line.
3215 # Strip out --no-create and --no-recursion so they do not pile up.
3216 # Strip out --silent because we don't want to record it for future runs.
3217 # Also quote any args containing shell meta-characters.
3218 # Make two passes to allow for proper duplicate-argument suppression.
3219 ac_configure_args=
3220 ac_configure_args0=
3221 ac_configure_args1=
3222 ac_must_keep_next=false
3223 for ac_pass in 1 2
3225 for ac_arg
3227 case $ac_arg in
3228 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3229 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3230 | -silent | --silent | --silen | --sile | --sil)
3231 continue ;;
3232 *\'*)
3233 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3234 esac
3235 case $ac_pass in
3236 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3238 as_fn_append ac_configure_args1 " '$ac_arg'"
3239 if test $ac_must_keep_next = true; then
3240 ac_must_keep_next=false # Got value, back to normal.
3241 else
3242 case $ac_arg in
3243 *=* | --config-cache | -C | -disable-* | --disable-* \
3244 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3245 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3246 | -with-* | --with-* | -without-* | --without-* | --x)
3247 case "$ac_configure_args0 " in
3248 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3249 esac
3251 -* ) ac_must_keep_next=true ;;
3252 esac
3254 as_fn_append ac_configure_args " '$ac_arg'"
3256 esac
3257 done
3258 done
3259 { ac_configure_args0=; unset ac_configure_args0;}
3260 { ac_configure_args1=; unset ac_configure_args1;}
3262 # When interrupted or exit'd, cleanup temporary files, and complete
3263 # config.log. We remove comments because anyway the quotes in there
3264 # would cause problems or look ugly.
3265 # WARNING: Use '\'' to represent an apostrophe within the trap.
3266 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3267 trap 'exit_status=$?
3268 # Sanitize IFS.
3269 IFS=" "" $as_nl"
3270 # Save into config.log some information that might help in debugging.
3272 echo
3274 printf "%s\n" "## ---------------- ##
3275 ## Cache variables. ##
3276 ## ---------------- ##"
3277 echo
3278 # The following way of writing the cache mishandles newlines in values,
3280 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3281 eval ac_val=\$$ac_var
3282 case $ac_val in #(
3283 *${as_nl}*)
3284 case $ac_var in #(
3285 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3286 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3287 esac
3288 case $ac_var in #(
3289 _ | IFS | as_nl) ;; #(
3290 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3291 *) { eval $ac_var=; unset $ac_var;} ;;
3292 esac ;;
3293 esac
3294 done
3295 (set) 2>&1 |
3296 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3297 *${as_nl}ac_space=\ *)
3298 sed -n \
3299 "s/'\''/'\''\\\\'\'''\''/g;
3300 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3301 ;; #(
3303 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3305 esac |
3306 sort
3308 echo
3310 printf "%s\n" "## ----------------- ##
3311 ## Output variables. ##
3312 ## ----------------- ##"
3313 echo
3314 for ac_var in $ac_subst_vars
3316 eval ac_val=\$$ac_var
3317 case $ac_val in
3318 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3319 esac
3320 printf "%s\n" "$ac_var='\''$ac_val'\''"
3321 done | sort
3322 echo
3324 if test -n "$ac_subst_files"; then
3325 printf "%s\n" "## ------------------- ##
3326 ## File substitutions. ##
3327 ## ------------------- ##"
3328 echo
3329 for ac_var in $ac_subst_files
3331 eval ac_val=\$$ac_var
3332 case $ac_val in
3333 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3334 esac
3335 printf "%s\n" "$ac_var='\''$ac_val'\''"
3336 done | sort
3337 echo
3340 if test -s confdefs.h; then
3341 printf "%s\n" "## ----------- ##
3342 ## confdefs.h. ##
3343 ## ----------- ##"
3344 echo
3345 cat confdefs.h
3346 echo
3348 test "$ac_signal" != 0 &&
3349 printf "%s\n" "$as_me: caught signal $ac_signal"
3350 printf "%s\n" "$as_me: exit $exit_status"
3351 } >&5
3352 rm -f core *.core core.conftest.* &&
3353 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3354 exit $exit_status
3356 for ac_signal in 1 2 13 15; do
3357 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3358 done
3359 ac_signal=0
3361 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3362 rm -f -r conftest* confdefs.h
3364 printf "%s\n" "/* confdefs.h */" > confdefs.h
3366 # Predefined preprocessor variables.
3368 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3370 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3372 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3374 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3376 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3378 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3381 # Let the site file select an alternate cache file if it wants to.
3382 # Prefer an explicitly selected file to automatically selected ones.
3383 if test -n "$CONFIG_SITE"; then
3384 ac_site_files="$CONFIG_SITE"
3385 elif test "x$prefix" != xNONE; then
3386 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3387 else
3388 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3391 for ac_site_file in $ac_site_files
3393 case $ac_site_file in #(
3394 */*) :
3395 ;; #(
3396 *) :
3397 ac_site_file=./$ac_site_file ;;
3398 esac
3399 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3401 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3402 sed 's/^/| /' "$ac_site_file" >&5
3403 . "$ac_site_file" \
3404 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3405 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3406 as_fn_error $? "failed to load site script $ac_site_file
3407 See \`config.log' for more details" "$LINENO" 5; }
3409 done
3411 if test -r "$cache_file"; then
3412 # Some versions of bash will fail to source /dev/null (special files
3413 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3414 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3416 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3417 case $cache_file in
3418 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3419 *) . "./$cache_file";;
3420 esac
3422 else
3423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3424 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3425 >$cache_file
3428 # Test code for whether the C compiler supports C89 (global declarations)
3429 ac_c_conftest_c89_globals='
3430 /* Does the compiler advertise C89 conformance?
3431 Do not test the value of __STDC__, because some compilers set it to 0
3432 while being otherwise adequately conformant. */
3433 #if !defined __STDC__
3434 # error "Compiler does not advertise C89 conformance"
3435 #endif
3437 #include <stddef.h>
3438 #include <stdarg.h>
3439 struct stat;
3440 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3441 struct buf { int x; };
3442 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3443 static char *e (p, i)
3444 char **p;
3445 int i;
3447 return p[i];
3449 static char *f (char * (*g) (char **, int), char **p, ...)
3451 char *s;
3452 va_list v;
3453 va_start (v,p);
3454 s = g (p, va_arg (v,int));
3455 va_end (v);
3456 return s;
3459 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3460 function prototypes and stuff, but not \xHH hex character constants.
3461 These do not provoke an error unfortunately, instead are silently treated
3462 as an "x". The following induces an error, until -std is added to get
3463 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3464 array size at least. It is necessary to write \x00 == 0 to get something
3465 that is true only with -std. */
3466 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3468 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3469 inside strings and character constants. */
3470 #define FOO(x) '\''x'\''
3471 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3473 int test (int i, double x);
3474 struct s1 {int (*f) (int a);};
3475 struct s2 {int (*f) (double a);};
3476 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3477 int, int);'
3479 # Test code for whether the C compiler supports C89 (body of main).
3480 ac_c_conftest_c89_main='
3481 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3484 # Test code for whether the C compiler supports C99 (global declarations)
3485 ac_c_conftest_c99_globals='
3486 // Does the compiler advertise C99 conformance?
3487 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3488 # error "Compiler does not advertise C99 conformance"
3489 #endif
3491 #include <stdbool.h>
3492 extern int puts (const char *);
3493 extern int printf (const char *, ...);
3494 extern int dprintf (int, const char *, ...);
3495 extern void *malloc (size_t);
3497 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3498 // dprintf is used instead of fprintf to avoid needing to declare
3499 // FILE and stderr.
3500 #define debug(...) dprintf (2, __VA_ARGS__)
3501 #define showlist(...) puts (#__VA_ARGS__)
3502 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3503 static void
3504 test_varargs_macros (void)
3506 int x = 1234;
3507 int y = 5678;
3508 debug ("Flag");
3509 debug ("X = %d\n", x);
3510 showlist (The first, second, and third items.);
3511 report (x>y, "x is %d but y is %d", x, y);
3514 // Check long long types.
3515 #define BIG64 18446744073709551615ull
3516 #define BIG32 4294967295ul
3517 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3518 #if !BIG_OK
3519 #error "your preprocessor is broken"
3520 #endif
3521 #if BIG_OK
3522 #else
3523 #error "your preprocessor is broken"
3524 #endif
3525 static long long int bignum = -9223372036854775807LL;
3526 static unsigned long long int ubignum = BIG64;
3528 struct incomplete_array
3530 int datasize;
3531 double data[];
3534 struct named_init {
3535 int number;
3536 const wchar_t *name;
3537 double average;
3540 typedef const char *ccp;
3542 static inline int
3543 test_restrict (ccp restrict text)
3545 // See if C++-style comments work.
3546 // Iterate through items via the restricted pointer.
3547 // Also check for declarations in for loops.
3548 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3549 continue;
3550 return 0;
3553 // Check varargs and va_copy.
3554 static bool
3555 test_varargs (const char *format, ...)
3557 va_list args;
3558 va_start (args, format);
3559 va_list args_copy;
3560 va_copy (args_copy, args);
3562 const char *str = "";
3563 int number = 0;
3564 float fnumber = 0;
3566 while (*format)
3568 switch (*format++)
3570 case '\''s'\'': // string
3571 str = va_arg (args_copy, const char *);
3572 break;
3573 case '\''d'\'': // int
3574 number = va_arg (args_copy, int);
3575 break;
3576 case '\''f'\'': // float
3577 fnumber = va_arg (args_copy, double);
3578 break;
3579 default:
3580 break;
3583 va_end (args_copy);
3584 va_end (args);
3586 return *str && number && fnumber;
3590 # Test code for whether the C compiler supports C99 (body of main).
3591 ac_c_conftest_c99_main='
3592 // Check bool.
3593 _Bool success = false;
3594 success |= (argc != 0);
3596 // Check restrict.
3597 if (test_restrict ("String literal") == 0)
3598 success = true;
3599 char *restrict newvar = "Another string";
3601 // Check varargs.
3602 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3603 test_varargs_macros ();
3605 // Check flexible array members.
3606 struct incomplete_array *ia =
3607 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3608 ia->datasize = 10;
3609 for (int i = 0; i < ia->datasize; ++i)
3610 ia->data[i] = i * 1.234;
3612 // Check named initializers.
3613 struct named_init ni = {
3614 .number = 34,
3615 .name = L"Test wide string",
3616 .average = 543.34343,
3619 ni.number = 58;
3621 int dynamic_array[ni.number];
3622 dynamic_array[0] = argv[0][0];
3623 dynamic_array[ni.number - 1] = 543;
3625 // work around unused variable warnings
3626 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3627 || dynamic_array[ni.number - 1] != 543);
3630 # Test code for whether the C compiler supports C11 (global declarations)
3631 ac_c_conftest_c11_globals='
3632 // Does the compiler advertise C11 conformance?
3633 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3634 # error "Compiler does not advertise C11 conformance"
3635 #endif
3637 // Check _Alignas.
3638 char _Alignas (double) aligned_as_double;
3639 char _Alignas (0) no_special_alignment;
3640 extern char aligned_as_int;
3641 char _Alignas (0) _Alignas (int) aligned_as_int;
3643 // Check _Alignof.
3644 enum
3646 int_alignment = _Alignof (int),
3647 int_array_alignment = _Alignof (int[100]),
3648 char_alignment = _Alignof (char)
3650 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3652 // Check _Noreturn.
3653 int _Noreturn does_not_return (void) { for (;;) continue; }
3655 // Check _Static_assert.
3656 struct test_static_assert
3658 int x;
3659 _Static_assert (sizeof (int) <= sizeof (long int),
3660 "_Static_assert does not work in struct");
3661 long int y;
3664 // Check UTF-8 literals.
3665 #define u8 syntax error!
3666 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3668 // Check duplicate typedefs.
3669 typedef long *long_ptr;
3670 typedef long int *long_ptr;
3671 typedef long_ptr long_ptr;
3673 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3674 struct anonymous
3676 union {
3677 struct { int i; int j; };
3678 struct { int k; long int l; } w;
3680 int m;
3681 } v1;
3684 # Test code for whether the C compiler supports C11 (body of main).
3685 ac_c_conftest_c11_main='
3686 _Static_assert ((offsetof (struct anonymous, i)
3687 == offsetof (struct anonymous, w.k)),
3688 "Anonymous union alignment botch");
3689 v1.i = 2;
3690 v1.w.k = 5;
3691 ok |= v1.i != 5;
3694 # Test code for whether the C compiler supports C11 (complete).
3695 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3696 ${ac_c_conftest_c99_globals}
3697 ${ac_c_conftest_c11_globals}
3700 main (int argc, char **argv)
3702 int ok = 0;
3703 ${ac_c_conftest_c89_main}
3704 ${ac_c_conftest_c99_main}
3705 ${ac_c_conftest_c11_main}
3706 return ok;
3710 # Test code for whether the C compiler supports C99 (complete).
3711 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3712 ${ac_c_conftest_c99_globals}
3715 main (int argc, char **argv)
3717 int ok = 0;
3718 ${ac_c_conftest_c89_main}
3719 ${ac_c_conftest_c99_main}
3720 return ok;
3724 # Test code for whether the C compiler supports C89 (complete).
3725 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3728 main (int argc, char **argv)
3730 int ok = 0;
3731 ${ac_c_conftest_c89_main}
3732 return ok;
3736 # Test code for whether the C++ compiler supports C++98 (global declarations)
3737 ac_cxx_conftest_cxx98_globals='
3738 // Does the compiler advertise C++98 conformance?
3739 #if !defined __cplusplus || __cplusplus < 199711L
3740 # error "Compiler does not advertise C++98 conformance"
3741 #endif
3743 // These inclusions are to reject old compilers that
3744 // lack the unsuffixed header files.
3745 #include <cstdlib>
3746 #include <exception>
3748 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3749 extern void assert (int);
3750 namespace std {
3751 extern int strcmp (const char *, const char *);
3754 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3755 using std::exception;
3756 using std::strcmp;
3758 namespace {
3760 void test_exception_syntax()
3762 try {
3763 throw "test";
3764 } catch (const char *s) {
3765 // Extra parentheses suppress a warning when building autoconf itself,
3766 // due to lint rules shared with more typical C programs.
3767 assert (!(strcmp) (s, "test"));
3771 template <typename T> struct test_template
3773 T const val;
3774 explicit test_template(T t) : val(t) {}
3775 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3778 } // anonymous namespace
3781 # Test code for whether the C++ compiler supports C++98 (body of main)
3782 ac_cxx_conftest_cxx98_main='
3783 assert (argc);
3784 assert (! argv[0]);
3786 test_exception_syntax ();
3787 test_template<double> tt (2.0);
3788 assert (tt.add (4) == 6.0);
3789 assert (true && !false);
3793 # Test code for whether the C++ compiler supports C++11 (global declarations)
3794 ac_cxx_conftest_cxx11_globals='
3795 // Does the compiler advertise C++ 2011 conformance?
3796 #if !defined __cplusplus || __cplusplus < 201103L
3797 # error "Compiler does not advertise C++11 conformance"
3798 #endif
3800 namespace cxx11test
3802 constexpr int get_val() { return 20; }
3804 struct testinit
3806 int i;
3807 double d;
3810 class delegate
3812 public:
3813 delegate(int n) : n(n) {}
3814 delegate(): delegate(2354) {}
3816 virtual int getval() { return this->n; };
3817 protected:
3818 int n;
3821 class overridden : public delegate
3823 public:
3824 overridden(int n): delegate(n) {}
3825 virtual int getval() override final { return this->n * 2; }
3828 class nocopy
3830 public:
3831 nocopy(int i): i(i) {}
3832 nocopy() = default;
3833 nocopy(const nocopy&) = delete;
3834 nocopy & operator=(const nocopy&) = delete;
3835 private:
3836 int i;
3839 // for testing lambda expressions
3840 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3842 return f(v);
3845 // for testing variadic templates and trailing return types
3846 template <typename V> auto sum(V first) -> V
3848 return first;
3850 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3852 return first + sum(rest...);
3857 # Test code for whether the C++ compiler supports C++11 (body of main)
3858 ac_cxx_conftest_cxx11_main='
3860 // Test auto and decltype
3861 auto a1 = 6538;
3862 auto a2 = 48573953.4;
3863 auto a3 = "String literal";
3865 int total = 0;
3866 for (auto i = a3; *i; ++i) { total += *i; }
3868 decltype(a2) a4 = 34895.034;
3871 // Test constexpr
3872 short sa[cxx11test::get_val()] = { 0 };
3875 // Test initializer lists
3876 cxx11test::testinit il = { 4323, 435234.23544 };
3879 // Test range-based for
3880 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3881 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3882 for (auto &x : array) { x += 23; }
3885 // Test lambda expressions
3886 using cxx11test::eval;
3887 assert (eval ([](int x) { return x*2; }, 21) == 42);
3888 double d = 2.0;
3889 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3890 assert (d == 5.0);
3891 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3892 assert (d == 5.0);
3895 // Test use of variadic templates
3896 using cxx11test::sum;
3897 auto a = sum(1);
3898 auto b = sum(1, 2);
3899 auto c = sum(1.0, 2.0, 3.0);
3902 // Test constructor delegation
3903 cxx11test::delegate d1;
3904 cxx11test::delegate d2();
3905 cxx11test::delegate d3(45);
3908 // Test override and final
3909 cxx11test::overridden o1(55464);
3912 // Test nullptr
3913 char *c = nullptr;
3916 // Test template brackets
3917 test_template<::test_template<int>> v(test_template<int>(12));
3920 // Unicode literals
3921 char const *utf8 = u8"UTF-8 string \u2500";
3922 char16_t const *utf16 = u"UTF-8 string \u2500";
3923 char32_t const *utf32 = U"UTF-32 string \u2500";
3927 # Test code for whether the C compiler supports C++11 (complete).
3928 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3929 ${ac_cxx_conftest_cxx11_globals}
3932 main (int argc, char **argv)
3934 int ok = 0;
3935 ${ac_cxx_conftest_cxx98_main}
3936 ${ac_cxx_conftest_cxx11_main}
3937 return ok;
3941 # Test code for whether the C compiler supports C++98 (complete).
3942 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3944 main (int argc, char **argv)
3946 int ok = 0;
3947 ${ac_cxx_conftest_cxx98_main}
3948 return ok;
3952 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3953 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3954 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3955 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3956 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3957 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3958 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3959 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3960 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3962 # Auxiliary files required by this configure script.
3963 ac_aux_files="config.guess config.sub"
3965 # Locations in which to look for auxiliary files.
3966 ac_aux_dir_candidates="${srcdir}/tools"
3968 # Search for a directory containing all of the required auxiliary files,
3969 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3970 # If we don't find one directory that contains all the files we need,
3971 # we report the set of missing files from the *first* directory in
3972 # $ac_aux_dir_candidates and give up.
3973 ac_missing_aux_files=""
3974 ac_first_candidate=:
3975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977 as_found=false
3978 for as_dir in $ac_aux_dir_candidates
3980 IFS=$as_save_IFS
3981 case $as_dir in #(((
3982 '') as_dir=./ ;;
3983 */) ;;
3984 *) as_dir=$as_dir/ ;;
3985 esac
3986 as_found=:
3988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3989 ac_aux_dir_found=yes
3990 ac_install_sh=
3991 for ac_aux in $ac_aux_files
3993 # As a special case, if "install-sh" is required, that requirement
3994 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3995 # and $ac_install_sh is set appropriately for whichever one is found.
3996 if test x"$ac_aux" = x"install-sh"
3997 then
3998 if test -f "${as_dir}install-sh"; then
3999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4000 ac_install_sh="${as_dir}install-sh -c"
4001 elif test -f "${as_dir}install.sh"; then
4002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4003 ac_install_sh="${as_dir}install.sh -c"
4004 elif test -f "${as_dir}shtool"; then
4005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4006 ac_install_sh="${as_dir}shtool install -c"
4007 else
4008 ac_aux_dir_found=no
4009 if $ac_first_candidate; then
4010 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4011 else
4012 break
4015 else
4016 if test -f "${as_dir}${ac_aux}"; then
4017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4018 else
4019 ac_aux_dir_found=no
4020 if $ac_first_candidate; then
4021 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4022 else
4023 break
4027 done
4028 if test "$ac_aux_dir_found" = yes; then
4029 ac_aux_dir="$as_dir"
4030 break
4032 ac_first_candidate=false
4034 as_found=false
4035 done
4036 IFS=$as_save_IFS
4037 if $as_found
4038 then :
4040 else $as_nop
4041 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4045 # These three variables are undocumented and unsupported,
4046 # and are intended to be withdrawn in a future Autoconf release.
4047 # They can cause serious problems if a builder's source tree is in a directory
4048 # whose full name contains unusual characters.
4049 if test -f "${ac_aux_dir}config.guess"; then
4050 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4052 if test -f "${ac_aux_dir}config.sub"; then
4053 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4055 if test -f "$ac_aux_dir/configure"; then
4056 ac_configure="$SHELL ${ac_aux_dir}configure"
4059 # Check that the precious variables saved in the cache have kept the same
4060 # value.
4061 ac_cache_corrupted=false
4062 for ac_var in $ac_precious_vars; do
4063 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4064 eval ac_new_set=\$ac_env_${ac_var}_set
4065 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4066 eval ac_new_val=\$ac_env_${ac_var}_value
4067 case $ac_old_set,$ac_new_set in
4068 set,)
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4070 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4071 ac_cache_corrupted=: ;;
4072 ,set)
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4074 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4075 ac_cache_corrupted=: ;;
4076 ,);;
4078 if test "x$ac_old_val" != "x$ac_new_val"; then
4079 # differences in whitespace do not lead to failure.
4080 ac_old_val_w=`echo x $ac_old_val`
4081 ac_new_val_w=`echo x $ac_new_val`
4082 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4084 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4085 ac_cache_corrupted=:
4086 else
4087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4088 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4089 eval $ac_var=\$ac_old_val
4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4092 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4094 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4095 fi;;
4096 esac
4097 # Pass precious variables to config.status.
4098 if test "$ac_new_set" = set; then
4099 case $ac_new_val in
4100 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4101 *) ac_arg=$ac_var=$ac_new_val ;;
4102 esac
4103 case " $ac_configure_args " in
4104 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4105 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4106 esac
4108 done
4109 if $ac_cache_corrupted; then
4110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4113 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4114 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4115 and start over" "$LINENO" 5
4117 ## -------------------- ##
4118 ## Main body of script. ##
4119 ## -------------------- ##
4121 ac_ext=c
4122 ac_cpp='$CPP $CPPFLAGS'
4123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4129 ac_config_headers="$ac_config_headers include/config.h"
4133 libwine_version="1.0"
4136 # Check whether --enable-archs was given.
4137 if test ${enable_archs+y}
4138 then :
4139 enableval=$enable_archs;
4142 # Check whether --enable-win16 was given.
4143 if test ${enable_win16+y}
4144 then :
4145 enableval=$enable_win16;
4148 # Check whether --enable-win64 was given.
4149 if test ${enable_win64+y}
4150 then :
4151 enableval=$enable_win64;
4154 # Check whether --enable-tests was given.
4155 if test ${enable_tests+y}
4156 then :
4157 enableval=$enable_tests;
4160 # Check whether --enable-build-id was given.
4161 if test ${enable_build_id+y}
4162 then :
4163 enableval=$enable_build_id;
4166 # Check whether --enable-maintainer-mode was given.
4167 if test ${enable_maintainer_mode+y}
4168 then :
4169 enableval=$enable_maintainer_mode;
4172 # Check whether --enable-silent-rules was given.
4173 if test ${enable_silent_rules+y}
4174 then :
4175 enableval=$enable_silent_rules;
4178 # Check whether --enable-werror was given.
4179 if test ${enable_werror+y}
4180 then :
4181 enableval=$enable_werror;
4186 # Check whether --with-alsa was given.
4187 if test ${with_alsa+y}
4188 then :
4189 withval=$with_alsa;
4193 # Check whether --with-capi was given.
4194 if test ${with_capi+y}
4195 then :
4196 withval=$with_capi;
4200 # Check whether --with-coreaudio was given.
4201 if test ${with_coreaudio+y}
4202 then :
4203 withval=$with_coreaudio;
4207 # Check whether --with-cups was given.
4208 if test ${with_cups+y}
4209 then :
4210 withval=$with_cups;
4214 # Check whether --with-dbus was given.
4215 if test ${with_dbus+y}
4216 then :
4217 withval=$with_dbus;
4221 # Check whether --with-float-abi was given.
4222 if test ${with_float_abi+y}
4223 then :
4224 withval=$with_float_abi;
4228 # Check whether --with-fontconfig was given.
4229 if test ${with_fontconfig+y}
4230 then :
4231 withval=$with_fontconfig;
4235 # Check whether --with-freetype was given.
4236 if test ${with_freetype+y}
4237 then :
4238 withval=$with_freetype;
4242 # Check whether --with-gettext was given.
4243 if test ${with_gettext+y}
4244 then :
4245 withval=$with_gettext;
4249 # Check whether --with-gettextpo was given.
4250 if test ${with_gettextpo+y}
4251 then :
4252 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4256 # Check whether --with-gphoto was given.
4257 if test ${with_gphoto+y}
4258 then :
4259 withval=$with_gphoto;
4263 # Check whether --with-gnutls was given.
4264 if test ${with_gnutls+y}
4265 then :
4266 withval=$with_gnutls;
4270 # Check whether --with-gssapi was given.
4271 if test ${with_gssapi+y}
4272 then :
4273 withval=$with_gssapi;
4277 # Check whether --with-gstreamer was given.
4278 if test ${with_gstreamer+y}
4279 then :
4280 withval=$with_gstreamer;
4284 # Check whether --with-inotify was given.
4285 if test ${with_inotify+y}
4286 then :
4287 withval=$with_inotify;
4291 # Check whether --with-krb5 was given.
4292 if test ${with_krb5+y}
4293 then :
4294 withval=$with_krb5;
4298 # Check whether --with-mingw was given.
4299 if test ${with_mingw+y}
4300 then :
4301 withval=$with_mingw;
4305 # Check whether --with-netapi was given.
4306 if test ${with_netapi+y}
4307 then :
4308 withval=$with_netapi;
4312 # Check whether --with-opencl was given.
4313 if test ${with_opencl+y}
4314 then :
4315 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4319 # Check whether --with-opengl was given.
4320 if test ${with_opengl+y}
4321 then :
4322 withval=$with_opengl;
4326 # Check whether --with-osmesa was given.
4327 if test ${with_osmesa+y}
4328 then :
4329 withval=$with_osmesa;
4333 # Check whether --with-oss was given.
4334 if test ${with_oss+y}
4335 then :
4336 withval=$with_oss;
4340 # Check whether --with-pcap was given.
4341 if test ${with_pcap+y}
4342 then :
4343 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4347 # Check whether --with-pcsclite was given.
4348 if test ${with_pcsclite+y}
4349 then :
4350 withval=$with_pcsclite;
4354 # Check whether --with-pthread was given.
4355 if test ${with_pthread+y}
4356 then :
4357 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4361 # Check whether --with-pulse was given.
4362 if test ${with_pulse+y}
4363 then :
4364 withval=$with_pulse;
4368 # Check whether --with-sane was given.
4369 if test ${with_sane+y}
4370 then :
4371 withval=$with_sane;
4375 # Check whether --with-sdl was given.
4376 if test ${with_sdl+y}
4377 then :
4378 withval=$with_sdl;
4382 # Check whether --with-udev was given.
4383 if test ${with_udev+y}
4384 then :
4385 withval=$with_udev;
4389 # Check whether --with-unwind was given.
4390 if test ${with_unwind+y}
4391 then :
4392 withval=$with_unwind;
4396 # Check whether --with-usb was given.
4397 if test ${with_usb+y}
4398 then :
4399 withval=$with_usb;
4403 # Check whether --with-v4l2 was given.
4404 if test ${with_v4l2+y}
4405 then :
4406 withval=$with_v4l2;
4410 # Check whether --with-vulkan was given.
4411 if test ${with_vulkan+y}
4412 then :
4413 withval=$with_vulkan;
4417 # Check whether --with-wayland was given.
4418 if test ${with_wayland+y}
4419 then :
4420 withval=$with_wayland;
4424 # Check whether --with-xcomposite was given.
4425 if test ${with_xcomposite+y}
4426 then :
4427 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4431 # Check whether --with-xcursor was given.
4432 if test ${with_xcursor+y}
4433 then :
4434 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4438 # Check whether --with-xfixes was given.
4439 if test ${with_xfixes+y}
4440 then :
4441 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4445 # Check whether --with-xinerama was given.
4446 if test ${with_xinerama+y}
4447 then :
4448 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4452 # Check whether --with-xinput was given.
4453 if test ${with_xinput+y}
4454 then :
4455 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4459 # Check whether --with-xinput2 was given.
4460 if test ${with_xinput2+y}
4461 then :
4462 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4466 # Check whether --with-xrandr was given.
4467 if test ${with_xrandr+y}
4468 then :
4469 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4473 # Check whether --with-xrender was given.
4474 if test ${with_xrender+y}
4475 then :
4476 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4480 # Check whether --with-xshape was given.
4481 if test ${with_xshape+y}
4482 then :
4483 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4487 # Check whether --with-xshm was given.
4488 if test ${with_xshm+y}
4489 then :
4490 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4494 # Check whether --with-xxf86vm was given.
4495 if test ${with_xxf86vm+y}
4496 then :
4497 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4502 # Check whether --with-system-dllpath was given.
4503 if test ${with_system_dllpath+y}
4504 then :
4505 withval=$with_system_dllpath; system_dllpath=$withval
4510 # Check whether --with-wine-tools was given.
4511 if test ${with_wine_tools+y}
4512 then :
4513 withval=$with_wine_tools;
4517 # Check whether --with-wine64 was given.
4518 if test ${with_wine64+y}
4519 then :
4520 withval=$with_wine64;
4527 # Make sure we can run config.sub.
4528 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4529 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4532 printf %s "checking build system type... " >&6; }
4533 if test ${ac_cv_build+y}
4534 then :
4535 printf %s "(cached) " >&6
4536 else $as_nop
4537 ac_build_alias=$build_alias
4538 test "x$ac_build_alias" = x &&
4539 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4540 test "x$ac_build_alias" = x &&
4541 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4542 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4543 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4547 printf "%s\n" "$ac_cv_build" >&6; }
4548 case $ac_cv_build in
4549 *-*-*) ;;
4550 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4551 esac
4552 build=$ac_cv_build
4553 ac_save_IFS=$IFS; IFS='-'
4554 set x $ac_cv_build
4555 shift
4556 build_cpu=$1
4557 build_vendor=$2
4558 shift; shift
4559 # Remember, the first character of IFS is used to create $*,
4560 # except with old shells:
4561 build_os=$*
4562 IFS=$ac_save_IFS
4563 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4567 printf %s "checking host system type... " >&6; }
4568 if test ${ac_cv_host+y}
4569 then :
4570 printf %s "(cached) " >&6
4571 else $as_nop
4572 if test "x$host_alias" = x; then
4573 ac_cv_host=$ac_cv_build
4574 else
4575 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4576 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4581 printf "%s\n" "$ac_cv_host" >&6; }
4582 case $ac_cv_host in
4583 *-*-*) ;;
4584 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4585 esac
4586 host=$ac_cv_host
4587 ac_save_IFS=$IFS; IFS='-'
4588 set x $ac_cv_host
4589 shift
4590 host_cpu=$1
4591 host_vendor=$2
4592 shift; shift
4593 # Remember, the first character of IFS is used to create $*,
4594 # except with old shells:
4595 host_os=$*
4596 IFS=$ac_save_IFS
4597 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4601 dlldir=\${libdir}/wine
4603 fontdir=\${datadir}/wine/fonts
4605 nlsdir=\${datadir}/wine/nls
4610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4611 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4612 set x ${MAKE-make}
4613 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4614 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4615 then :
4616 printf %s "(cached) " >&6
4617 else $as_nop
4618 cat >conftest.make <<\_ACEOF
4619 SHELL = /bin/sh
4620 all:
4621 @echo '@@@%%%=$(MAKE)=@@@%%%'
4622 _ACEOF
4623 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4624 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4625 *@@@%%%=?*=@@@%%%*)
4626 eval ac_cv_prog_make_${ac_make}_set=yes;;
4628 eval ac_cv_prog_make_${ac_make}_set=no;;
4629 esac
4630 rm -f conftest.make
4632 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4634 printf "%s\n" "yes" >&6; }
4635 SET_MAKE=
4636 else
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 printf "%s\n" "no" >&6; }
4639 SET_MAKE="MAKE=${MAKE-make}"
4651 ac_ext=c
4652 ac_cpp='$CPP $CPPFLAGS'
4653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4656 if test -n "$ac_tool_prefix"; then
4657 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4658 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 printf %s "checking for $ac_word... " >&6; }
4661 if test ${ac_cv_prog_CC+y}
4662 then :
4663 printf %s "(cached) " >&6
4664 else $as_nop
4665 if test -n "$CC"; then
4666 ac_cv_prog_CC="$CC" # Let the user override the test.
4667 else
4668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 for as_dir in $PATH
4671 IFS=$as_save_IFS
4672 case $as_dir in #(((
4673 '') as_dir=./ ;;
4674 */) ;;
4675 *) as_dir=$as_dir/ ;;
4676 esac
4677 for ac_exec_ext in '' $ac_executable_extensions; do
4678 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4679 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4681 break 2
4683 done
4684 done
4685 IFS=$as_save_IFS
4689 CC=$ac_cv_prog_CC
4690 if test -n "$CC"; then
4691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4692 printf "%s\n" "$CC" >&6; }
4693 else
4694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 printf "%s\n" "no" >&6; }
4700 if test -z "$ac_cv_prog_CC"; then
4701 ac_ct_CC=$CC
4702 # Extract the first word of "gcc", so it can be a program name with args.
4703 set dummy gcc; ac_word=$2
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705 printf %s "checking for $ac_word... " >&6; }
4706 if test ${ac_cv_prog_ac_ct_CC+y}
4707 then :
4708 printf %s "(cached) " >&6
4709 else $as_nop
4710 if test -n "$ac_ct_CC"; then
4711 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4712 else
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in $PATH
4716 IFS=$as_save_IFS
4717 case $as_dir in #(((
4718 '') as_dir=./ ;;
4719 */) ;;
4720 *) as_dir=$as_dir/ ;;
4721 esac
4722 for ac_exec_ext in '' $ac_executable_extensions; do
4723 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4724 ac_cv_prog_ac_ct_CC="gcc"
4725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4726 break 2
4728 done
4729 done
4730 IFS=$as_save_IFS
4734 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4735 if test -n "$ac_ct_CC"; then
4736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4737 printf "%s\n" "$ac_ct_CC" >&6; }
4738 else
4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 printf "%s\n" "no" >&6; }
4743 if test "x$ac_ct_CC" = x; then
4744 CC=""
4745 else
4746 case $cross_compiling:$ac_tool_warned in
4747 yes:)
4748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4749 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4750 ac_tool_warned=yes ;;
4751 esac
4752 CC=$ac_ct_CC
4754 else
4755 CC="$ac_cv_prog_CC"
4758 if test -z "$CC"; then
4759 if test -n "$ac_tool_prefix"; then
4760 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4761 set dummy ${ac_tool_prefix}cc; ac_word=$2
4762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4763 printf %s "checking for $ac_word... " >&6; }
4764 if test ${ac_cv_prog_CC+y}
4765 then :
4766 printf %s "(cached) " >&6
4767 else $as_nop
4768 if test -n "$CC"; then
4769 ac_cv_prog_CC="$CC" # Let the user override the test.
4770 else
4771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772 for as_dir in $PATH
4774 IFS=$as_save_IFS
4775 case $as_dir in #(((
4776 '') as_dir=./ ;;
4777 */) ;;
4778 *) as_dir=$as_dir/ ;;
4779 esac
4780 for ac_exec_ext in '' $ac_executable_extensions; do
4781 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4782 ac_cv_prog_CC="${ac_tool_prefix}cc"
4783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4784 break 2
4786 done
4787 done
4788 IFS=$as_save_IFS
4792 CC=$ac_cv_prog_CC
4793 if test -n "$CC"; then
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4795 printf "%s\n" "$CC" >&6; }
4796 else
4797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798 printf "%s\n" "no" >&6; }
4804 if test -z "$CC"; then
4805 # Extract the first word of "cc", so it can be a program name with args.
4806 set dummy cc; ac_word=$2
4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4808 printf %s "checking for $ac_word... " >&6; }
4809 if test ${ac_cv_prog_CC+y}
4810 then :
4811 printf %s "(cached) " >&6
4812 else $as_nop
4813 if test -n "$CC"; then
4814 ac_cv_prog_CC="$CC" # Let the user override the test.
4815 else
4816 ac_prog_rejected=no
4817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4818 for as_dir in $PATH
4820 IFS=$as_save_IFS
4821 case $as_dir in #(((
4822 '') as_dir=./ ;;
4823 */) ;;
4824 *) as_dir=$as_dir/ ;;
4825 esac
4826 for ac_exec_ext in '' $ac_executable_extensions; do
4827 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4828 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4829 ac_prog_rejected=yes
4830 continue
4832 ac_cv_prog_CC="cc"
4833 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4834 break 2
4836 done
4837 done
4838 IFS=$as_save_IFS
4840 if test $ac_prog_rejected = yes; then
4841 # We found a bogon in the path, so make sure we never use it.
4842 set dummy $ac_cv_prog_CC
4843 shift
4844 if test $# != 0; then
4845 # We chose a different compiler from the bogus one.
4846 # However, it has the same basename, so the bogon will be chosen
4847 # first if we set CC to just the basename; use the full file name.
4848 shift
4849 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4854 CC=$ac_cv_prog_CC
4855 if test -n "$CC"; then
4856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4857 printf "%s\n" "$CC" >&6; }
4858 else
4859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4860 printf "%s\n" "no" >&6; }
4865 if test -z "$CC"; then
4866 if test -n "$ac_tool_prefix"; then
4867 for ac_prog in cl.exe
4869 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4870 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 printf %s "checking for $ac_word... " >&6; }
4873 if test ${ac_cv_prog_CC+y}
4874 then :
4875 printf %s "(cached) " >&6
4876 else $as_nop
4877 if test -n "$CC"; then
4878 ac_cv_prog_CC="$CC" # Let the user override the test.
4879 else
4880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4881 for as_dir in $PATH
4883 IFS=$as_save_IFS
4884 case $as_dir in #(((
4885 '') as_dir=./ ;;
4886 */) ;;
4887 *) as_dir=$as_dir/ ;;
4888 esac
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4893 break 2
4895 done
4896 done
4897 IFS=$as_save_IFS
4901 CC=$ac_cv_prog_CC
4902 if test -n "$CC"; then
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4904 printf "%s\n" "$CC" >&6; }
4905 else
4906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 printf "%s\n" "no" >&6; }
4911 test -n "$CC" && break
4912 done
4914 if test -z "$CC"; then
4915 ac_ct_CC=$CC
4916 for ac_prog in cl.exe
4918 # Extract the first word of "$ac_prog", so it can be a program name with args.
4919 set dummy $ac_prog; ac_word=$2
4920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921 printf %s "checking for $ac_word... " >&6; }
4922 if test ${ac_cv_prog_ac_ct_CC+y}
4923 then :
4924 printf %s "(cached) " >&6
4925 else $as_nop
4926 if test -n "$ac_ct_CC"; then
4927 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4928 else
4929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 for as_dir in $PATH
4932 IFS=$as_save_IFS
4933 case $as_dir in #(((
4934 '') as_dir=./ ;;
4935 */) ;;
4936 *) as_dir=$as_dir/ ;;
4937 esac
4938 for ac_exec_ext in '' $ac_executable_extensions; do
4939 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_ac_ct_CC="$ac_prog"
4941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4942 break 2
4944 done
4945 done
4946 IFS=$as_save_IFS
4950 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4951 if test -n "$ac_ct_CC"; then
4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4953 printf "%s\n" "$ac_ct_CC" >&6; }
4954 else
4955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 printf "%s\n" "no" >&6; }
4960 test -n "$ac_ct_CC" && break
4961 done
4963 if test "x$ac_ct_CC" = x; then
4964 CC=""
4965 else
4966 case $cross_compiling:$ac_tool_warned in
4967 yes:)
4968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4969 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4970 ac_tool_warned=yes ;;
4971 esac
4972 CC=$ac_ct_CC
4977 if test -z "$CC"; then
4978 if test -n "$ac_tool_prefix"; then
4979 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4980 set dummy ${ac_tool_prefix}clang; ac_word=$2
4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4982 printf %s "checking for $ac_word... " >&6; }
4983 if test ${ac_cv_prog_CC+y}
4984 then :
4985 printf %s "(cached) " >&6
4986 else $as_nop
4987 if test -n "$CC"; then
4988 ac_cv_prog_CC="$CC" # Let the user override the test.
4989 else
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991 for as_dir in $PATH
4993 IFS=$as_save_IFS
4994 case $as_dir in #(((
4995 '') as_dir=./ ;;
4996 */) ;;
4997 *) as_dir=$as_dir/ ;;
4998 esac
4999 for ac_exec_ext in '' $ac_executable_extensions; do
5000 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_CC="${ac_tool_prefix}clang"
5002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5003 break 2
5005 done
5006 done
5007 IFS=$as_save_IFS
5011 CC=$ac_cv_prog_CC
5012 if test -n "$CC"; then
5013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5014 printf "%s\n" "$CC" >&6; }
5015 else
5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 printf "%s\n" "no" >&6; }
5022 if test -z "$ac_cv_prog_CC"; then
5023 ac_ct_CC=$CC
5024 # Extract the first word of "clang", so it can be a program name with args.
5025 set dummy clang; ac_word=$2
5026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 printf %s "checking for $ac_word... " >&6; }
5028 if test ${ac_cv_prog_ac_ct_CC+y}
5029 then :
5030 printf %s "(cached) " >&6
5031 else $as_nop
5032 if test -n "$ac_ct_CC"; then
5033 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5034 else
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 for as_dir in $PATH
5038 IFS=$as_save_IFS
5039 case $as_dir in #(((
5040 '') as_dir=./ ;;
5041 */) ;;
5042 *) as_dir=$as_dir/ ;;
5043 esac
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_ac_ct_CC="clang"
5047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5048 break 2
5050 done
5051 done
5052 IFS=$as_save_IFS
5056 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5057 if test -n "$ac_ct_CC"; then
5058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5059 printf "%s\n" "$ac_ct_CC" >&6; }
5060 else
5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 printf "%s\n" "no" >&6; }
5065 if test "x$ac_ct_CC" = x; then
5066 CC=""
5067 else
5068 case $cross_compiling:$ac_tool_warned in
5069 yes:)
5070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5071 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5072 ac_tool_warned=yes ;;
5073 esac
5074 CC=$ac_ct_CC
5076 else
5077 CC="$ac_cv_prog_CC"
5083 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5084 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5085 as_fn_error $? "no acceptable C compiler found in \$PATH
5086 See \`config.log' for more details" "$LINENO" 5; }
5088 # Provide some information about the compiler.
5089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5090 set X $ac_compile
5091 ac_compiler=$2
5092 for ac_option in --version -v -V -qversion -version; do
5093 { { ac_try="$ac_compiler $ac_option >&5"
5094 case "(($ac_try" in
5095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5097 esac
5098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5099 printf "%s\n" "$ac_try_echo"; } >&5
5100 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5101 ac_status=$?
5102 if test -s conftest.err; then
5103 sed '10a\
5104 ... rest of stderr output deleted ...
5105 10q' conftest.err >conftest.er1
5106 cat conftest.er1 >&5
5108 rm -f conftest.er1 conftest.err
5109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5110 test $ac_status = 0; }
5111 done
5113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5114 /* end confdefs.h. */
5117 main (void)
5121 return 0;
5123 _ACEOF
5124 ac_clean_files_save=$ac_clean_files
5125 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5126 # Try to create an executable without -o first, disregard a.out.
5127 # It will help us diagnose broken compilers, and finding out an intuition
5128 # of exeext.
5129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5130 printf %s "checking whether the C compiler works... " >&6; }
5131 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5133 # The possible output files:
5134 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5136 ac_rmfiles=
5137 for ac_file in $ac_files
5139 case $ac_file in
5140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5141 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5142 esac
5143 done
5144 rm -f $ac_rmfiles
5146 if { { ac_try="$ac_link_default"
5147 case "(($ac_try" in
5148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5149 *) ac_try_echo=$ac_try;;
5150 esac
5151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5152 printf "%s\n" "$ac_try_echo"; } >&5
5153 (eval "$ac_link_default") 2>&5
5154 ac_status=$?
5155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5156 test $ac_status = 0; }
5157 then :
5158 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5159 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5160 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5161 # so that the user can short-circuit this test for compilers unknown to
5162 # Autoconf.
5163 for ac_file in $ac_files ''
5165 test -f "$ac_file" || continue
5166 case $ac_file in
5167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5169 [ab].out )
5170 # We found the default executable, but exeext='' is most
5171 # certainly right.
5172 break;;
5173 *.* )
5174 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5175 then :; else
5176 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5178 # We set ac_cv_exeext here because the later test for it is not
5179 # safe: cross compilers may not add the suffix if given an `-o'
5180 # argument, so we may need to know it at that point already.
5181 # Even if this section looks crufty: it has the advantage of
5182 # actually working.
5183 break;;
5185 break;;
5186 esac
5187 done
5188 test "$ac_cv_exeext" = no && ac_cv_exeext=
5190 else $as_nop
5191 ac_file=''
5193 if test -z "$ac_file"
5194 then :
5195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 printf "%s\n" "no" >&6; }
5197 printf "%s\n" "$as_me: failed program was:" >&5
5198 sed 's/^/| /' conftest.$ac_ext >&5
5200 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5201 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5202 as_fn_error 77 "C compiler cannot create executables
5203 See \`config.log' for more details" "$LINENO" 5; }
5204 else $as_nop
5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5206 printf "%s\n" "yes" >&6; }
5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5209 printf %s "checking for C compiler default output file name... " >&6; }
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5211 printf "%s\n" "$ac_file" >&6; }
5212 ac_exeext=$ac_cv_exeext
5214 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5215 ac_clean_files=$ac_clean_files_save
5216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5217 printf %s "checking for suffix of executables... " >&6; }
5218 if { { ac_try="$ac_link"
5219 case "(($ac_try" in
5220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5221 *) ac_try_echo=$ac_try;;
5222 esac
5223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5224 printf "%s\n" "$ac_try_echo"; } >&5
5225 (eval "$ac_link") 2>&5
5226 ac_status=$?
5227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5228 test $ac_status = 0; }
5229 then :
5230 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5231 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5232 # work properly (i.e., refer to `conftest.exe'), while it won't with
5233 # `rm'.
5234 for ac_file in conftest.exe conftest conftest.*; do
5235 test -f "$ac_file" || continue
5236 case $ac_file in
5237 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5238 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5239 break;;
5240 * ) break;;
5241 esac
5242 done
5243 else $as_nop
5244 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5245 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5246 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5247 See \`config.log' for more details" "$LINENO" 5; }
5249 rm -f conftest conftest$ac_cv_exeext
5250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5251 printf "%s\n" "$ac_cv_exeext" >&6; }
5253 rm -f conftest.$ac_ext
5254 EXEEXT=$ac_cv_exeext
5255 ac_exeext=$EXEEXT
5256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h. */
5258 #include <stdio.h>
5260 main (void)
5262 FILE *f = fopen ("conftest.out", "w");
5263 return ferror (f) || fclose (f) != 0;
5266 return 0;
5268 _ACEOF
5269 ac_clean_files="$ac_clean_files conftest.out"
5270 # Check that the compiler produces executables we can run. If not, either
5271 # the compiler is broken, or we cross compile.
5272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5273 printf %s "checking whether we are cross compiling... " >&6; }
5274 if test "$cross_compiling" != yes; then
5275 { { ac_try="$ac_link"
5276 case "(($ac_try" in
5277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5279 esac
5280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5281 printf "%s\n" "$ac_try_echo"; } >&5
5282 (eval "$ac_link") 2>&5
5283 ac_status=$?
5284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5285 test $ac_status = 0; }
5286 if { ac_try='./conftest$ac_cv_exeext'
5287 { { case "(($ac_try" in
5288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5289 *) ac_try_echo=$ac_try;;
5290 esac
5291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5292 printf "%s\n" "$ac_try_echo"; } >&5
5293 (eval "$ac_try") 2>&5
5294 ac_status=$?
5295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5296 test $ac_status = 0; }; }; then
5297 cross_compiling=no
5298 else
5299 if test "$cross_compiling" = maybe; then
5300 cross_compiling=yes
5301 else
5302 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5303 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5304 as_fn_error 77 "cannot run C compiled programs.
5305 If you meant to cross compile, use \`--host'.
5306 See \`config.log' for more details" "$LINENO" 5; }
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5311 printf "%s\n" "$cross_compiling" >&6; }
5313 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5314 ac_clean_files=$ac_clean_files_save
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5316 printf %s "checking for suffix of object files... " >&6; }
5317 if test ${ac_cv_objext+y}
5318 then :
5319 printf %s "(cached) " >&6
5320 else $as_nop
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5325 main (void)
5329 return 0;
5331 _ACEOF
5332 rm -f conftest.o conftest.obj
5333 if { { ac_try="$ac_compile"
5334 case "(($ac_try" in
5335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5336 *) ac_try_echo=$ac_try;;
5337 esac
5338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5339 printf "%s\n" "$ac_try_echo"; } >&5
5340 (eval "$ac_compile") 2>&5
5341 ac_status=$?
5342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5343 test $ac_status = 0; }
5344 then :
5345 for ac_file in conftest.o conftest.obj conftest.*; do
5346 test -f "$ac_file" || continue;
5347 case $ac_file in
5348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5349 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5350 break;;
5351 esac
5352 done
5353 else $as_nop
5354 printf "%s\n" "$as_me: failed program was:" >&5
5355 sed 's/^/| /' conftest.$ac_ext >&5
5357 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5358 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5359 as_fn_error $? "cannot compute suffix of object files: cannot compile
5360 See \`config.log' for more details" "$LINENO" 5; }
5362 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5365 printf "%s\n" "$ac_cv_objext" >&6; }
5366 OBJEXT=$ac_cv_objext
5367 ac_objext=$OBJEXT
5368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5369 printf %s "checking whether the compiler supports GNU C... " >&6; }
5370 if test ${ac_cv_c_compiler_gnu+y}
5371 then :
5372 printf %s "(cached) " >&6
5373 else $as_nop
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5378 main (void)
5380 #ifndef __GNUC__
5381 choke me
5382 #endif
5385 return 0;
5387 _ACEOF
5388 if ac_fn_c_try_compile "$LINENO"
5389 then :
5390 ac_compiler_gnu=yes
5391 else $as_nop
5392 ac_compiler_gnu=no
5394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5395 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5399 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5402 if test $ac_compiler_gnu = yes; then
5403 GCC=yes
5404 else
5405 GCC=
5407 ac_test_CFLAGS=${CFLAGS+y}
5408 ac_save_CFLAGS=$CFLAGS
5409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5410 printf %s "checking whether $CC accepts -g... " >&6; }
5411 if test ${ac_cv_prog_cc_g+y}
5412 then :
5413 printf %s "(cached) " >&6
5414 else $as_nop
5415 ac_save_c_werror_flag=$ac_c_werror_flag
5416 ac_c_werror_flag=yes
5417 ac_cv_prog_cc_g=no
5418 CFLAGS="-g"
5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5420 /* end confdefs.h. */
5423 main (void)
5427 return 0;
5429 _ACEOF
5430 if ac_fn_c_try_compile "$LINENO"
5431 then :
5432 ac_cv_prog_cc_g=yes
5433 else $as_nop
5434 CFLAGS=""
5435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5436 /* end confdefs.h. */
5439 main (void)
5443 return 0;
5445 _ACEOF
5446 if ac_fn_c_try_compile "$LINENO"
5447 then :
5449 else $as_nop
5450 ac_c_werror_flag=$ac_save_c_werror_flag
5451 CFLAGS="-g"
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5456 main (void)
5460 return 0;
5462 _ACEOF
5463 if ac_fn_c_try_compile "$LINENO"
5464 then :
5465 ac_cv_prog_cc_g=yes
5467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5472 ac_c_werror_flag=$ac_save_c_werror_flag
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5475 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5476 if test $ac_test_CFLAGS; then
5477 CFLAGS=$ac_save_CFLAGS
5478 elif test $ac_cv_prog_cc_g = yes; then
5479 if test "$GCC" = yes; then
5480 CFLAGS="-g -O2"
5481 else
5482 CFLAGS="-g"
5484 else
5485 if test "$GCC" = yes; then
5486 CFLAGS="-O2"
5487 else
5488 CFLAGS=
5491 ac_prog_cc_stdc=no
5492 if test x$ac_prog_cc_stdc = xno
5493 then :
5494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5495 printf %s "checking for $CC option to enable C11 features... " >&6; }
5496 if test ${ac_cv_prog_cc_c11+y}
5497 then :
5498 printf %s "(cached) " >&6
5499 else $as_nop
5500 ac_cv_prog_cc_c11=no
5501 ac_save_CC=$CC
5502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5503 /* end confdefs.h. */
5504 $ac_c_conftest_c11_program
5505 _ACEOF
5506 for ac_arg in '' -std=gnu11
5508 CC="$ac_save_CC $ac_arg"
5509 if ac_fn_c_try_compile "$LINENO"
5510 then :
5511 ac_cv_prog_cc_c11=$ac_arg
5513 rm -f core conftest.err conftest.$ac_objext conftest.beam
5514 test "x$ac_cv_prog_cc_c11" != "xno" && break
5515 done
5516 rm -f conftest.$ac_ext
5517 CC=$ac_save_CC
5520 if test "x$ac_cv_prog_cc_c11" = xno
5521 then :
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5523 printf "%s\n" "unsupported" >&6; }
5524 else $as_nop
5525 if test "x$ac_cv_prog_cc_c11" = x
5526 then :
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5528 printf "%s\n" "none needed" >&6; }
5529 else $as_nop
5530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5531 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5532 CC="$CC $ac_cv_prog_cc_c11"
5534 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5535 ac_prog_cc_stdc=c11
5538 if test x$ac_prog_cc_stdc = xno
5539 then :
5540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5541 printf %s "checking for $CC option to enable C99 features... " >&6; }
5542 if test ${ac_cv_prog_cc_c99+y}
5543 then :
5544 printf %s "(cached) " >&6
5545 else $as_nop
5546 ac_cv_prog_cc_c99=no
5547 ac_save_CC=$CC
5548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5549 /* end confdefs.h. */
5550 $ac_c_conftest_c99_program
5551 _ACEOF
5552 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5554 CC="$ac_save_CC $ac_arg"
5555 if ac_fn_c_try_compile "$LINENO"
5556 then :
5557 ac_cv_prog_cc_c99=$ac_arg
5559 rm -f core conftest.err conftest.$ac_objext conftest.beam
5560 test "x$ac_cv_prog_cc_c99" != "xno" && break
5561 done
5562 rm -f conftest.$ac_ext
5563 CC=$ac_save_CC
5566 if test "x$ac_cv_prog_cc_c99" = xno
5567 then :
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5569 printf "%s\n" "unsupported" >&6; }
5570 else $as_nop
5571 if test "x$ac_cv_prog_cc_c99" = x
5572 then :
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5574 printf "%s\n" "none needed" >&6; }
5575 else $as_nop
5576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5577 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5578 CC="$CC $ac_cv_prog_cc_c99"
5580 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5581 ac_prog_cc_stdc=c99
5584 if test x$ac_prog_cc_stdc = xno
5585 then :
5586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5587 printf %s "checking for $CC option to enable C89 features... " >&6; }
5588 if test ${ac_cv_prog_cc_c89+y}
5589 then :
5590 printf %s "(cached) " >&6
5591 else $as_nop
5592 ac_cv_prog_cc_c89=no
5593 ac_save_CC=$CC
5594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5595 /* end confdefs.h. */
5596 $ac_c_conftest_c89_program
5597 _ACEOF
5598 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5600 CC="$ac_save_CC $ac_arg"
5601 if ac_fn_c_try_compile "$LINENO"
5602 then :
5603 ac_cv_prog_cc_c89=$ac_arg
5605 rm -f core conftest.err conftest.$ac_objext conftest.beam
5606 test "x$ac_cv_prog_cc_c89" != "xno" && break
5607 done
5608 rm -f conftest.$ac_ext
5609 CC=$ac_save_CC
5612 if test "x$ac_cv_prog_cc_c89" = xno
5613 then :
5614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5615 printf "%s\n" "unsupported" >&6; }
5616 else $as_nop
5617 if test "x$ac_cv_prog_cc_c89" = x
5618 then :
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5620 printf "%s\n" "none needed" >&6; }
5621 else $as_nop
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5623 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5624 CC="$CC $ac_cv_prog_cc_c89"
5626 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5627 ac_prog_cc_stdc=c89
5631 ac_ext=c
5632 ac_cpp='$CPP $CPPFLAGS'
5633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5643 ac_ext=cpp
5644 ac_cpp='$CXXCPP $CPPFLAGS'
5645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5648 if test -z "$CXX"; then
5649 if test -n "$CCC"; then
5650 CXX=$CCC
5651 else
5652 if test -n "$ac_tool_prefix"; then
5653 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5658 printf %s "checking for $ac_word... " >&6; }
5659 if test ${ac_cv_prog_CXX+y}
5660 then :
5661 printf %s "(cached) " >&6
5662 else $as_nop
5663 if test -n "$CXX"; then
5664 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5665 else
5666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667 for as_dir in $PATH
5669 IFS=$as_save_IFS
5670 case $as_dir in #(((
5671 '') as_dir=./ ;;
5672 */) ;;
5673 *) as_dir=$as_dir/ ;;
5674 esac
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5677 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5679 break 2
5681 done
5682 done
5683 IFS=$as_save_IFS
5687 CXX=$ac_cv_prog_CXX
5688 if test -n "$CXX"; then
5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5690 printf "%s\n" "$CXX" >&6; }
5691 else
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 printf "%s\n" "no" >&6; }
5697 test -n "$CXX" && break
5698 done
5700 if test -z "$CXX"; then
5701 ac_ct_CXX=$CXX
5702 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5704 # Extract the first word of "$ac_prog", so it can be a program name with args.
5705 set dummy $ac_prog; ac_word=$2
5706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 printf %s "checking for $ac_word... " >&6; }
5708 if test ${ac_cv_prog_ac_ct_CXX+y}
5709 then :
5710 printf %s "(cached) " >&6
5711 else $as_nop
5712 if test -n "$ac_ct_CXX"; then
5713 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5718 IFS=$as_save_IFS
5719 case $as_dir in #(((
5720 '') as_dir=./ ;;
5721 */) ;;
5722 *) as_dir=$as_dir/ ;;
5723 esac
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_ac_ct_CXX="$ac_prog"
5727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5728 break 2
5730 done
5731 done
5732 IFS=$as_save_IFS
5736 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5737 if test -n "$ac_ct_CXX"; then
5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5739 printf "%s\n" "$ac_ct_CXX" >&6; }
5740 else
5741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 printf "%s\n" "no" >&6; }
5746 test -n "$ac_ct_CXX" && break
5747 done
5749 if test "x$ac_ct_CXX" = x; then
5750 CXX="g++"
5751 else
5752 case $cross_compiling:$ac_tool_warned in
5753 yes:)
5754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5755 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5756 ac_tool_warned=yes ;;
5757 esac
5758 CXX=$ac_ct_CXX
5764 # Provide some information about the compiler.
5765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5766 set X $ac_compile
5767 ac_compiler=$2
5768 for ac_option in --version -v -V -qversion; do
5769 { { ac_try="$ac_compiler $ac_option >&5"
5770 case "(($ac_try" in
5771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5772 *) ac_try_echo=$ac_try;;
5773 esac
5774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5775 printf "%s\n" "$ac_try_echo"; } >&5
5776 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5777 ac_status=$?
5778 if test -s conftest.err; then
5779 sed '10a\
5780 ... rest of stderr output deleted ...
5781 10q' conftest.err >conftest.er1
5782 cat conftest.er1 >&5
5784 rm -f conftest.er1 conftest.err
5785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5786 test $ac_status = 0; }
5787 done
5789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5790 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5791 if test ${ac_cv_cxx_compiler_gnu+y}
5792 then :
5793 printf %s "(cached) " >&6
5794 else $as_nop
5795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h. */
5799 main (void)
5801 #ifndef __GNUC__
5802 choke me
5803 #endif
5806 return 0;
5808 _ACEOF
5809 if ac_fn_cxx_try_compile "$LINENO"
5810 then :
5811 ac_compiler_gnu=yes
5812 else $as_nop
5813 ac_compiler_gnu=no
5815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5816 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5820 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5823 if test $ac_compiler_gnu = yes; then
5824 GXX=yes
5825 else
5826 GXX=
5828 ac_test_CXXFLAGS=${CXXFLAGS+y}
5829 ac_save_CXXFLAGS=$CXXFLAGS
5830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5831 printf %s "checking whether $CXX accepts -g... " >&6; }
5832 if test ${ac_cv_prog_cxx_g+y}
5833 then :
5834 printf %s "(cached) " >&6
5835 else $as_nop
5836 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5837 ac_cxx_werror_flag=yes
5838 ac_cv_prog_cxx_g=no
5839 CXXFLAGS="-g"
5840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5841 /* end confdefs.h. */
5844 main (void)
5848 return 0;
5850 _ACEOF
5851 if ac_fn_cxx_try_compile "$LINENO"
5852 then :
5853 ac_cv_prog_cxx_g=yes
5854 else $as_nop
5855 CXXFLAGS=""
5856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5857 /* end confdefs.h. */
5860 main (void)
5864 return 0;
5866 _ACEOF
5867 if ac_fn_cxx_try_compile "$LINENO"
5868 then :
5870 else $as_nop
5871 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5872 CXXFLAGS="-g"
5873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5874 /* end confdefs.h. */
5877 main (void)
5881 return 0;
5883 _ACEOF
5884 if ac_fn_cxx_try_compile "$LINENO"
5885 then :
5886 ac_cv_prog_cxx_g=yes
5888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5893 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5896 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5897 if test $ac_test_CXXFLAGS; then
5898 CXXFLAGS=$ac_save_CXXFLAGS
5899 elif test $ac_cv_prog_cxx_g = yes; then
5900 if test "$GXX" = yes; then
5901 CXXFLAGS="-g -O2"
5902 else
5903 CXXFLAGS="-g"
5905 else
5906 if test "$GXX" = yes; then
5907 CXXFLAGS="-O2"
5908 else
5909 CXXFLAGS=
5912 ac_prog_cxx_stdcxx=no
5913 if test x$ac_prog_cxx_stdcxx = xno
5914 then :
5915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5916 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5917 if test ${ac_cv_prog_cxx_cxx11+y}
5918 then :
5919 printf %s "(cached) " >&6
5920 else $as_nop
5921 ac_cv_prog_cxx_cxx11=no
5922 ac_save_CXX=$CXX
5923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5924 /* end confdefs.h. */
5925 $ac_cxx_conftest_cxx11_program
5926 _ACEOF
5927 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5929 CXX="$ac_save_CXX $ac_arg"
5930 if ac_fn_cxx_try_compile "$LINENO"
5931 then :
5932 ac_cv_prog_cxx_cxx11=$ac_arg
5934 rm -f core conftest.err conftest.$ac_objext conftest.beam
5935 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5936 done
5937 rm -f conftest.$ac_ext
5938 CXX=$ac_save_CXX
5941 if test "x$ac_cv_prog_cxx_cxx11" = xno
5942 then :
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5944 printf "%s\n" "unsupported" >&6; }
5945 else $as_nop
5946 if test "x$ac_cv_prog_cxx_cxx11" = x
5947 then :
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5949 printf "%s\n" "none needed" >&6; }
5950 else $as_nop
5951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5952 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5953 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5955 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5956 ac_prog_cxx_stdcxx=cxx11
5959 if test x$ac_prog_cxx_stdcxx = xno
5960 then :
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5962 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5963 if test ${ac_cv_prog_cxx_cxx98+y}
5964 then :
5965 printf %s "(cached) " >&6
5966 else $as_nop
5967 ac_cv_prog_cxx_cxx98=no
5968 ac_save_CXX=$CXX
5969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5970 /* end confdefs.h. */
5971 $ac_cxx_conftest_cxx98_program
5972 _ACEOF
5973 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5975 CXX="$ac_save_CXX $ac_arg"
5976 if ac_fn_cxx_try_compile "$LINENO"
5977 then :
5978 ac_cv_prog_cxx_cxx98=$ac_arg
5980 rm -f core conftest.err conftest.$ac_objext conftest.beam
5981 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5982 done
5983 rm -f conftest.$ac_ext
5984 CXX=$ac_save_CXX
5987 if test "x$ac_cv_prog_cxx_cxx98" = xno
5988 then :
5989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5990 printf "%s\n" "unsupported" >&6; }
5991 else $as_nop
5992 if test "x$ac_cv_prog_cxx_cxx98" = x
5993 then :
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5995 printf "%s\n" "none needed" >&6; }
5996 else $as_nop
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5998 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5999 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6001 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6002 ac_prog_cxx_stdcxx=cxx98
6006 ac_ext=c
6007 ac_cpp='$CPP $CPPFLAGS'
6008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6012 if test -n "$ac_tool_prefix"; then
6013 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6014 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 printf %s "checking for $ac_word... " >&6; }
6017 if test ${ac_cv_prog_CPPBIN+y}
6018 then :
6019 printf %s "(cached) " >&6
6020 else $as_nop
6021 if test -n "$CPPBIN"; then
6022 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6023 else
6024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 for as_dir in $PATH
6027 IFS=$as_save_IFS
6028 case $as_dir in #(((
6029 '') as_dir=./ ;;
6030 */) ;;
6031 *) as_dir=$as_dir/ ;;
6032 esac
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6045 CPPBIN=$ac_cv_prog_CPPBIN
6046 if test -n "$CPPBIN"; then
6047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6048 printf "%s\n" "$CPPBIN" >&6; }
6049 else
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 printf "%s\n" "no" >&6; }
6056 if test -z "$ac_cv_prog_CPPBIN"; then
6057 ac_ct_CPPBIN=$CPPBIN
6058 # Extract the first word of "cpp", so it can be a program name with args.
6059 set dummy cpp; ac_word=$2
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 printf %s "checking for $ac_word... " >&6; }
6062 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6063 then :
6064 printf %s "(cached) " >&6
6065 else $as_nop
6066 if test -n "$ac_ct_CPPBIN"; then
6067 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6072 IFS=$as_save_IFS
6073 case $as_dir in #(((
6074 '') as_dir=./ ;;
6075 */) ;;
6076 *) as_dir=$as_dir/ ;;
6077 esac
6078 for ac_exec_ext in '' $ac_executable_extensions; do
6079 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6080 ac_cv_prog_ac_ct_CPPBIN="cpp"
6081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6082 break 2
6084 done
6085 done
6086 IFS=$as_save_IFS
6090 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6091 if test -n "$ac_ct_CPPBIN"; then
6092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6093 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6094 else
6095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 printf "%s\n" "no" >&6; }
6099 if test "x$ac_ct_CPPBIN" = x; then
6100 CPPBIN="cpp"
6101 else
6102 case $cross_compiling:$ac_tool_warned in
6103 yes:)
6104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6105 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6106 ac_tool_warned=yes ;;
6107 esac
6108 CPPBIN=$ac_ct_CPPBIN
6110 else
6111 CPPBIN="$ac_cv_prog_CPPBIN"
6115 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6117 if test -n "$ac_tool_prefix"; then
6118 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6119 set dummy ${ac_tool_prefix}ld; ac_word=$2
6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121 printf %s "checking for $ac_word... " >&6; }
6122 if test ${ac_cv_prog_LD+y}
6123 then :
6124 printf %s "(cached) " >&6
6125 else $as_nop
6126 if test -n "$LD"; then
6127 ac_cv_prog_LD="$LD" # Let the user override the test.
6128 else
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 for as_dir in $PATH
6132 IFS=$as_save_IFS
6133 case $as_dir in #(((
6134 '') as_dir=./ ;;
6135 */) ;;
6136 *) as_dir=$as_dir/ ;;
6137 esac
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_LD="${ac_tool_prefix}ld"
6141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6142 break 2
6144 done
6145 done
6146 IFS=$as_save_IFS
6150 LD=$ac_cv_prog_LD
6151 if test -n "$LD"; then
6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6153 printf "%s\n" "$LD" >&6; }
6154 else
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 printf "%s\n" "no" >&6; }
6161 if test -z "$ac_cv_prog_LD"; then
6162 ac_ct_LD=$LD
6163 # Extract the first word of "ld", so it can be a program name with args.
6164 set dummy ld; ac_word=$2
6165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 printf %s "checking for $ac_word... " >&6; }
6167 if test ${ac_cv_prog_ac_ct_LD+y}
6168 then :
6169 printf %s "(cached) " >&6
6170 else $as_nop
6171 if test -n "$ac_ct_LD"; then
6172 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6173 else
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 for as_dir in $PATH
6177 IFS=$as_save_IFS
6178 case $as_dir in #(((
6179 '') as_dir=./ ;;
6180 */) ;;
6181 *) as_dir=$as_dir/ ;;
6182 esac
6183 for ac_exec_ext in '' $ac_executable_extensions; do
6184 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6185 ac_cv_prog_ac_ct_LD="ld"
6186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6187 break 2
6189 done
6190 done
6191 IFS=$as_save_IFS
6195 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6196 if test -n "$ac_ct_LD"; then
6197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6198 printf "%s\n" "$ac_ct_LD" >&6; }
6199 else
6200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201 printf "%s\n" "no" >&6; }
6204 if test "x$ac_ct_LD" = x; then
6205 LD=""
6206 else
6207 case $cross_compiling:$ac_tool_warned in
6208 yes:)
6209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6210 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6211 ac_tool_warned=yes ;;
6212 esac
6213 LD=$ac_ct_LD
6215 else
6216 LD="$ac_cv_prog_LD"
6220 case $host in
6221 *-darwin*)
6222 with_fontconfig=${with_fontconfig:-no}
6224 *-mingw32*|*-cygwin*)
6225 enable_win16=${enable_win16:-no}
6226 with_mingw=${with_mingw:-no}
6228 esac
6231 case $host in
6232 x86_64*|amd64*)
6233 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6234 then
6235 CC="$CC -m32"
6236 CXX="$CXX -m32"
6238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6239 printf %s "checking whether $CC works... " >&6; }
6240 if test ${wine_cv_cc_m32+y}
6241 then :
6242 printf %s "(cached) " >&6
6243 else $as_nop
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6248 main (void)
6252 return 0;
6254 _ACEOF
6255 if ac_fn_c_try_link "$LINENO"
6256 then :
6257 wine_cv_cc_m32=yes
6258 else $as_nop
6259 wine_cv_cc_m32=no
6261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6262 conftest$ac_exeext conftest.$ac_ext
6264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6265 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6266 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
6267 host_cpu="i386"
6268 notice_platform="32-bit "
6269 TARGETFLAGS="$TARGETFLAGS -m32"
6270 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6271 export PKG_CONFIG_LIBDIR
6272 with_unwind=${with_unwind:-no}
6273 else
6274 CC="$CC -m64"
6275 CXX="$CXX -m64"
6276 host_cpu="x86_64"
6277 notice_platform="64-bit "
6278 TARGETFLAGS="$TARGETFLAGS -m64"
6281 arm*)
6282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6283 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6284 if test ${wine_cv_thumb2+y}
6285 then :
6286 printf %s "(cached) " >&6
6287 else $as_nop
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */
6292 main (void)
6294 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6296 return 0;
6298 _ACEOF
6299 if ac_fn_c_try_link "$LINENO"
6300 then :
6301 wine_cv_thumb2=yes
6302 else $as_nop
6303 wine_cv_thumb2=no
6305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6306 conftest$ac_exeext conftest.$ac_ext
6308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6309 printf "%s\n" "$wine_cv_thumb2" >&6; }
6310 if test x"$wine_cv_thumb2" = xyes
6311 then
6312 CFLAGS="$CFLAGS -mthumb"
6313 TARGETFLAGS="$TARGETFLAGS -mthumb"
6314 else
6315 CFLAGS="$CFLAGS -marm"
6316 TARGETFLAGS="$TARGETFLAGS -marm"
6318 case $with_float_abi in
6319 soft|softfp|hard)
6320 float_abi=$with_float_abi ;;
6322 case $host_os in
6323 *eabihf)
6324 float_abi=hard ;;
6326 float_abi=softfp
6327 saved_CFLAGS=$CFLAGS
6328 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6330 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6331 if test ${wine_cv_float_abi+y}
6332 then :
6333 printf %s "(cached) " >&6
6334 else $as_nop
6335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6336 /* end confdefs.h. */
6339 main (void)
6341 asm("vmrs r2,fpscr");
6343 return 0;
6345 _ACEOF
6346 if ac_fn_c_try_link "$LINENO"
6347 then :
6348 wine_cv_float_abi=yes
6349 else $as_nop
6350 wine_cv_float_abi=no
6352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6353 conftest$ac_exeext conftest.$ac_ext
6355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6356 printf "%s\n" "$wine_cv_float_abi" >&6; }
6357 if test $wine_cv_float_abi = no
6358 then
6359 float_abi=soft
6360 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6362 CFLAGS=$saved_CFLAGS
6363 esac
6365 esac
6366 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6367 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6369 i[3456789]86*)
6370 with_unwind=${with_unwind:-no}
6372 esac
6374 enable_win16=${enable_win16:-i386}
6375 enable_win64=${enable_win64:-no}
6376 enable_wow64=${enable_wow64:-aarch64,x86_64}
6377 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6378 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6380 enable_winetest=${enable_winetest:-$enable_tests}
6382 if test "x$enable_win64" = "xyes"
6383 then
6384 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6385 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6388 case $build_os in
6389 cygwin*|mingw32*) toolsext=".exe"
6391 *) toolsext=""
6393 esac
6395 HOST_ARCH=unknown
6396 case "$host_cpu" in
6397 aarch64*) HOST_ARCH=aarch64 ;;
6398 arm*) HOST_ARCH=arm ;;
6399 i[3456789]86*) HOST_ARCH=i386 ;;
6400 x86_64) HOST_ARCH=x86_64 ;;
6401 esac
6404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6405 printf %s "checking for the directory containing the Wine tools... " >&6; }
6406 if test ${wine_cv_toolsdir+y}
6407 then :
6408 printf %s "(cached) " >&6
6409 else $as_nop
6410 wine_cv_toolsdir="$with_wine_tools"
6411 if test -z "$with_wine_tools"; then
6412 if test "$cross_compiling" = "yes"; then
6413 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6414 elif test -n "$with_wine64"; then
6415 wine_cv_toolsdir="$with_wine64"
6419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6420 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6421 if test -z "$wine_cv_toolsdir"; then
6422 wine_makedep=tools/makedep$toolsext
6423 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6424 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6425 enable_tools=${enable_tools:-no}
6426 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6427 else
6428 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6430 toolsdir=$wine_cv_toolsdir
6432 MAKEDEP=$wine_makedep
6434 RUNTESTFLAGS="-q -P wine"
6436 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'"
6439 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6440 then
6441 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6444 for ac_prog in flex
6446 # Extract the first word of "$ac_prog", so it can be a program name with args.
6447 set dummy $ac_prog; ac_word=$2
6448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6449 printf %s "checking for $ac_word... " >&6; }
6450 if test ${ac_cv_prog_FLEX+y}
6451 then :
6452 printf %s "(cached) " >&6
6453 else $as_nop
6454 if test -n "$FLEX"; then
6455 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6456 else
6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6458 for as_dir in $PATH
6460 IFS=$as_save_IFS
6461 case $as_dir in #(((
6462 '') as_dir=./ ;;
6463 */) ;;
6464 *) as_dir=$as_dir/ ;;
6465 esac
6466 for ac_exec_ext in '' $ac_executable_extensions; do
6467 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6468 ac_cv_prog_FLEX="$ac_prog"
6469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6470 break 2
6472 done
6473 done
6474 IFS=$as_save_IFS
6478 FLEX=$ac_cv_prog_FLEX
6479 if test -n "$FLEX"; then
6480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6481 printf "%s\n" "$FLEX" >&6; }
6482 else
6483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6484 printf "%s\n" "no" >&6; }
6488 test -n "$FLEX" && break
6489 done
6490 test -n "$FLEX" || FLEX="none"
6492 if test "$FLEX" = "none"
6493 then
6494 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6497 printf %s "checking whether flex is recent enough... " >&6; }
6498 if test ${wine_cv_recent_flex+y}
6499 then :
6500 printf %s "(cached) " >&6
6501 else $as_nop
6502 cat >conftest.l <<EOF
6503 %top{
6504 #include "prediluvian.h"
6508 if $FLEX -t conftest.l >/dev/null 2>&5
6509 then
6510 wine_cv_recent_flex=yes
6511 else
6512 wine_cv_recent_flex=no
6515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6516 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6517 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
6519 for ac_prog in bison
6521 # Extract the first word of "$ac_prog", so it can be a program name with args.
6522 set dummy $ac_prog; ac_word=$2
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6524 printf %s "checking for $ac_word... " >&6; }
6525 if test ${ac_cv_prog_BISON+y}
6526 then :
6527 printf %s "(cached) " >&6
6528 else $as_nop
6529 if test -n "$BISON"; then
6530 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6531 else
6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 for as_dir in $PATH
6535 IFS=$as_save_IFS
6536 case $as_dir in #(((
6537 '') as_dir=./ ;;
6538 */) ;;
6539 *) as_dir=$as_dir/ ;;
6540 esac
6541 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6543 ac_cv_prog_BISON="$ac_prog"
6544 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6545 break 2
6547 done
6548 done
6549 IFS=$as_save_IFS
6553 BISON=$ac_cv_prog_BISON
6554 if test -n "$BISON"; then
6555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6556 printf "%s\n" "$BISON" >&6; }
6557 else
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6559 printf "%s\n" "no" >&6; }
6563 test -n "$BISON" && break
6564 done
6565 test -n "$BISON" || BISON="none"
6567 if test "$BISON" = "none"
6568 then
6569 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6572 printf %s "checking whether bison is recent enough... " >&6; }
6573 if test ${wine_cv_recent_bison+y}
6574 then :
6575 printf %s "(cached) " >&6
6576 else $as_nop
6577 cat >conftest.y <<EOF
6578 %define parse.error verbose
6580 empty: ;
6582 if $BISON conftest.y >/dev/null 2>&5
6583 then
6584 wine_cv_recent_bison=yes
6585 else
6586 wine_cv_recent_bison=no
6589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6590 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6591 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
6593 if test -n "$ac_tool_prefix"; then
6594 for ac_prog in ar gar
6596 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6597 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6599 printf %s "checking for $ac_word... " >&6; }
6600 if test ${ac_cv_prog_AR+y}
6601 then :
6602 printf %s "(cached) " >&6
6603 else $as_nop
6604 if test -n "$AR"; then
6605 ac_cv_prog_AR="$AR" # Let the user override the test.
6606 else
6607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6608 for as_dir in $PATH
6610 IFS=$as_save_IFS
6611 case $as_dir in #(((
6612 '') as_dir=./ ;;
6613 */) ;;
6614 *) as_dir=$as_dir/ ;;
6615 esac
6616 for ac_exec_ext in '' $ac_executable_extensions; do
6617 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6618 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6620 break 2
6622 done
6623 done
6624 IFS=$as_save_IFS
6628 AR=$ac_cv_prog_AR
6629 if test -n "$AR"; then
6630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6631 printf "%s\n" "$AR" >&6; }
6632 else
6633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6634 printf "%s\n" "no" >&6; }
6638 test -n "$AR" && break
6639 done
6641 if test -z "$AR"; then
6642 ac_ct_AR=$AR
6643 for ac_prog in ar gar
6645 # Extract the first word of "$ac_prog", so it can be a program name with args.
6646 set dummy $ac_prog; ac_word=$2
6647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 printf %s "checking for $ac_word... " >&6; }
6649 if test ${ac_cv_prog_ac_ct_AR+y}
6650 then :
6651 printf %s "(cached) " >&6
6652 else $as_nop
6653 if test -n "$ac_ct_AR"; then
6654 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6655 else
6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 for as_dir in $PATH
6659 IFS=$as_save_IFS
6660 case $as_dir in #(((
6661 '') as_dir=./ ;;
6662 */) ;;
6663 *) as_dir=$as_dir/ ;;
6664 esac
6665 for ac_exec_ext in '' $ac_executable_extensions; do
6666 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6667 ac_cv_prog_ac_ct_AR="$ac_prog"
6668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6669 break 2
6671 done
6672 done
6673 IFS=$as_save_IFS
6677 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6678 if test -n "$ac_ct_AR"; then
6679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6680 printf "%s\n" "$ac_ct_AR" >&6; }
6681 else
6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6683 printf "%s\n" "no" >&6; }
6687 test -n "$ac_ct_AR" && break
6688 done
6690 if test "x$ac_ct_AR" = x; then
6691 AR="ar"
6692 else
6693 case $cross_compiling:$ac_tool_warned in
6694 yes:)
6695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6696 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6697 ac_tool_warned=yes ;;
6698 esac
6699 AR=$ac_ct_AR
6703 if test -n "$ac_tool_prefix"; then
6704 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6705 set dummy ${ac_tool_prefix}strip; ac_word=$2
6706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707 printf %s "checking for $ac_word... " >&6; }
6708 if test ${ac_cv_prog_STRIP+y}
6709 then :
6710 printf %s "(cached) " >&6
6711 else $as_nop
6712 if test -n "$STRIP"; then
6713 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6714 else
6715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716 for as_dir in $PATH
6718 IFS=$as_save_IFS
6719 case $as_dir in #(((
6720 '') as_dir=./ ;;
6721 */) ;;
6722 *) as_dir=$as_dir/ ;;
6723 esac
6724 for ac_exec_ext in '' $ac_executable_extensions; do
6725 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6726 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6728 break 2
6730 done
6731 done
6732 IFS=$as_save_IFS
6736 STRIP=$ac_cv_prog_STRIP
6737 if test -n "$STRIP"; then
6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6739 printf "%s\n" "$STRIP" >&6; }
6740 else
6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6742 printf "%s\n" "no" >&6; }
6747 if test -z "$ac_cv_prog_STRIP"; then
6748 ac_ct_STRIP=$STRIP
6749 # Extract the first word of "strip", so it can be a program name with args.
6750 set dummy strip; ac_word=$2
6751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752 printf %s "checking for $ac_word... " >&6; }
6753 if test ${ac_cv_prog_ac_ct_STRIP+y}
6754 then :
6755 printf %s "(cached) " >&6
6756 else $as_nop
6757 if test -n "$ac_ct_STRIP"; then
6758 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6759 else
6760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6761 for as_dir in $PATH
6763 IFS=$as_save_IFS
6764 case $as_dir in #(((
6765 '') as_dir=./ ;;
6766 */) ;;
6767 *) as_dir=$as_dir/ ;;
6768 esac
6769 for ac_exec_ext in '' $ac_executable_extensions; do
6770 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6771 ac_cv_prog_ac_ct_STRIP="strip"
6772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6773 break 2
6775 done
6776 done
6777 IFS=$as_save_IFS
6781 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6782 if test -n "$ac_ct_STRIP"; then
6783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6784 printf "%s\n" "$ac_ct_STRIP" >&6; }
6785 else
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6787 printf "%s\n" "no" >&6; }
6790 if test "x$ac_ct_STRIP" = x; then
6791 STRIP="strip"
6792 else
6793 case $cross_compiling:$ac_tool_warned in
6794 yes:)
6795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6796 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6797 ac_tool_warned=yes ;;
6798 esac
6799 STRIP=$ac_ct_STRIP
6801 else
6802 STRIP="$ac_cv_prog_STRIP"
6805 if test -n "$ac_tool_prefix"; then
6806 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6807 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809 printf %s "checking for $ac_word... " >&6; }
6810 if test ${ac_cv_prog_RANLIB+y}
6811 then :
6812 printf %s "(cached) " >&6
6813 else $as_nop
6814 if test -n "$RANLIB"; then
6815 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6816 else
6817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6818 for as_dir in $PATH
6820 IFS=$as_save_IFS
6821 case $as_dir in #(((
6822 '') as_dir=./ ;;
6823 */) ;;
6824 *) as_dir=$as_dir/ ;;
6825 esac
6826 for ac_exec_ext in '' $ac_executable_extensions; do
6827 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6828 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6830 break 2
6832 done
6833 done
6834 IFS=$as_save_IFS
6838 RANLIB=$ac_cv_prog_RANLIB
6839 if test -n "$RANLIB"; then
6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6841 printf "%s\n" "$RANLIB" >&6; }
6842 else
6843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6844 printf "%s\n" "no" >&6; }
6849 if test -z "$ac_cv_prog_RANLIB"; then
6850 ac_ct_RANLIB=$RANLIB
6851 # Extract the first word of "ranlib", so it can be a program name with args.
6852 set dummy ranlib; ac_word=$2
6853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6854 printf %s "checking for $ac_word... " >&6; }
6855 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6856 then :
6857 printf %s "(cached) " >&6
6858 else $as_nop
6859 if test -n "$ac_ct_RANLIB"; then
6860 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6861 else
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 for as_dir in $PATH
6865 IFS=$as_save_IFS
6866 case $as_dir in #(((
6867 '') as_dir=./ ;;
6868 */) ;;
6869 *) as_dir=$as_dir/ ;;
6870 esac
6871 for ac_exec_ext in '' $ac_executable_extensions; do
6872 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6873 ac_cv_prog_ac_ct_RANLIB="ranlib"
6874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6875 break 2
6877 done
6878 done
6879 IFS=$as_save_IFS
6883 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6884 if test -n "$ac_ct_RANLIB"; then
6885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6886 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6887 else
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6889 printf "%s\n" "no" >&6; }
6892 if test "x$ac_ct_RANLIB" = x; then
6893 RANLIB=":"
6894 else
6895 case $cross_compiling:$ac_tool_warned in
6896 yes:)
6897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6898 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6899 ac_tool_warned=yes ;;
6900 esac
6901 RANLIB=$ac_ct_RANLIB
6903 else
6904 RANLIB="$ac_cv_prog_RANLIB"
6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6908 printf %s "checking whether ln -s works... " >&6; }
6909 LN_S=$as_ln_s
6910 if test "$LN_S" = "ln -s"; then
6911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6912 printf "%s\n" "yes" >&6; }
6913 else
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6915 printf "%s\n" "no, using $LN_S" >&6; }
6918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6919 printf %s "checking for grep that handles long lines and -e... " >&6; }
6920 if test ${ac_cv_path_GREP+y}
6921 then :
6922 printf %s "(cached) " >&6
6923 else $as_nop
6924 if test -z "$GREP"; then
6925 ac_path_GREP_found=false
6926 # Loop through the user's path and test for each of PROGNAME-LIST
6927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6928 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6930 IFS=$as_save_IFS
6931 case $as_dir in #(((
6932 '') as_dir=./ ;;
6933 */) ;;
6934 *) as_dir=$as_dir/ ;;
6935 esac
6936 for ac_prog in grep ggrep
6938 for ac_exec_ext in '' $ac_executable_extensions; do
6939 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6940 as_fn_executable_p "$ac_path_GREP" || continue
6941 # Check for GNU ac_path_GREP and select it if it is found.
6942 # Check for GNU $ac_path_GREP
6943 case `"$ac_path_GREP" --version 2>&1` in
6944 *GNU*)
6945 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6947 ac_count=0
6948 printf %s 0123456789 >"conftest.in"
6949 while :
6951 cat "conftest.in" "conftest.in" >"conftest.tmp"
6952 mv "conftest.tmp" "conftest.in"
6953 cp "conftest.in" "conftest.nl"
6954 printf "%s\n" 'GREP' >> "conftest.nl"
6955 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6956 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6957 as_fn_arith $ac_count + 1 && ac_count=$as_val
6958 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6959 # Best one so far, save it but keep looking for a better one
6960 ac_cv_path_GREP="$ac_path_GREP"
6961 ac_path_GREP_max=$ac_count
6963 # 10*(2^10) chars as input seems more than enough
6964 test $ac_count -gt 10 && break
6965 done
6966 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6967 esac
6969 $ac_path_GREP_found && break 3
6970 done
6971 done
6972 done
6973 IFS=$as_save_IFS
6974 if test -z "$ac_cv_path_GREP"; then
6975 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6977 else
6978 ac_cv_path_GREP=$GREP
6982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6983 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6984 GREP="$ac_cv_path_GREP"
6987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6988 printf %s "checking for egrep... " >&6; }
6989 if test ${ac_cv_path_EGREP+y}
6990 then :
6991 printf %s "(cached) " >&6
6992 else $as_nop
6993 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6994 then ac_cv_path_EGREP="$GREP -E"
6995 else
6996 if test -z "$EGREP"; then
6997 ac_path_EGREP_found=false
6998 # Loop through the user's path and test for each of PROGNAME-LIST
6999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7000 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7002 IFS=$as_save_IFS
7003 case $as_dir in #(((
7004 '') as_dir=./ ;;
7005 */) ;;
7006 *) as_dir=$as_dir/ ;;
7007 esac
7008 for ac_prog in egrep
7010 for ac_exec_ext in '' $ac_executable_extensions; do
7011 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7012 as_fn_executable_p "$ac_path_EGREP" || continue
7013 # Check for GNU ac_path_EGREP and select it if it is found.
7014 # Check for GNU $ac_path_EGREP
7015 case `"$ac_path_EGREP" --version 2>&1` in
7016 *GNU*)
7017 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7019 ac_count=0
7020 printf %s 0123456789 >"conftest.in"
7021 while :
7023 cat "conftest.in" "conftest.in" >"conftest.tmp"
7024 mv "conftest.tmp" "conftest.in"
7025 cp "conftest.in" "conftest.nl"
7026 printf "%s\n" 'EGREP' >> "conftest.nl"
7027 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7028 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7029 as_fn_arith $ac_count + 1 && ac_count=$as_val
7030 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7031 # Best one so far, save it but keep looking for a better one
7032 ac_cv_path_EGREP="$ac_path_EGREP"
7033 ac_path_EGREP_max=$ac_count
7035 # 10*(2^10) chars as input seems more than enough
7036 test $ac_count -gt 10 && break
7037 done
7038 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7039 esac
7041 $ac_path_EGREP_found && break 3
7042 done
7043 done
7044 done
7045 IFS=$as_save_IFS
7046 if test -z "$ac_cv_path_EGREP"; then
7047 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7049 else
7050 ac_cv_path_EGREP=$EGREP
7055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7056 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7057 EGREP="$ac_cv_path_EGREP"
7060 # Extract the first word of "ldconfig", so it can be a program name with args.
7061 set dummy ldconfig; ac_word=$2
7062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7063 printf %s "checking for $ac_word... " >&6; }
7064 if test ${ac_cv_path_LDCONFIG+y}
7065 then :
7066 printf %s "(cached) " >&6
7067 else $as_nop
7068 case $LDCONFIG in
7069 [\\/]* | ?:[\\/]*)
7070 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 for as_dir in /sbin /usr/sbin $PATH
7076 IFS=$as_save_IFS
7077 case $as_dir in #(((
7078 '') as_dir=./ ;;
7079 */) ;;
7080 *) as_dir=$as_dir/ ;;
7081 esac
7082 for ac_exec_ext in '' $ac_executable_extensions; do
7083 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7084 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7086 break 2
7088 done
7089 done
7090 IFS=$as_save_IFS
7092 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7094 esac
7096 LDCONFIG=$ac_cv_path_LDCONFIG
7097 if test -n "$LDCONFIG"; then
7098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7099 printf "%s\n" "$LDCONFIG" >&6; }
7100 else
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102 printf "%s\n" "no" >&6; }
7106 for ac_prog in msgfmt
7108 # Extract the first word of "$ac_prog", so it can be a program name with args.
7109 set dummy $ac_prog; ac_word=$2
7110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7111 printf %s "checking for $ac_word... " >&6; }
7112 if test ${ac_cv_prog_MSGFMT+y}
7113 then :
7114 printf %s "(cached) " >&6
7115 else $as_nop
7116 if test -n "$MSGFMT"; then
7117 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7118 else
7119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7120 for as_dir in $PATH
7122 IFS=$as_save_IFS
7123 case $as_dir in #(((
7124 '') as_dir=./ ;;
7125 */) ;;
7126 *) as_dir=$as_dir/ ;;
7127 esac
7128 for ac_exec_ext in '' $ac_executable_extensions; do
7129 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7130 ac_cv_prog_MSGFMT="$ac_prog"
7131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7132 break 2
7134 done
7135 done
7136 IFS=$as_save_IFS
7140 MSGFMT=$ac_cv_prog_MSGFMT
7141 if test -n "$MSGFMT"; then
7142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7143 printf "%s\n" "$MSGFMT" >&6; }
7144 else
7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7146 printf "%s\n" "no" >&6; }
7150 test -n "$MSGFMT" && break
7151 done
7152 test -n "$MSGFMT" || MSGFMT="false"
7154 if test ${ac_tool_prefix+y}
7155 then :
7156 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7157 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159 printf %s "checking for $ac_word... " >&6; }
7160 if test ${ac_cv_prog_PKG_CONFIG+y}
7161 then :
7162 printf %s "(cached) " >&6
7163 else $as_nop
7164 if test -n "$PKG_CONFIG"; then
7165 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7166 else
7167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168 for as_dir in $PATH
7170 IFS=$as_save_IFS
7171 case $as_dir in #(((
7172 '') as_dir=./ ;;
7173 */) ;;
7174 *) as_dir=$as_dir/ ;;
7175 esac
7176 for ac_exec_ext in '' $ac_executable_extensions; do
7177 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7178 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7180 break 2
7182 done
7183 done
7184 IFS=$as_save_IFS
7188 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7189 if test -n "$PKG_CONFIG"; then
7190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7191 printf "%s\n" "$PKG_CONFIG" >&6; }
7192 else
7193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194 printf "%s\n" "no" >&6; }
7199 if ${ac_cv_prog_PKG_CONFIG:+false} :
7200 then :
7201 if test "x$cross_compiling" = xyes
7202 then :
7204 else $as_nop
7205 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7206 # Extract the first word of "pkg-config", so it can be a program name with args.
7207 set dummy pkg-config; ac_word=$2
7208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209 printf %s "checking for $ac_word... " >&6; }
7210 if test ${ac_cv_prog_PKG_CONFIG+y}
7211 then :
7212 printf %s "(cached) " >&6
7213 else $as_nop
7214 if test -n "$PKG_CONFIG"; then
7215 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7216 else
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7218 for as_dir in $PATH
7220 IFS=$as_save_IFS
7221 case $as_dir in #(((
7222 '') as_dir=./ ;;
7223 */) ;;
7224 *) as_dir=$as_dir/ ;;
7225 esac
7226 for ac_exec_ext in '' $ac_executable_extensions; do
7227 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7228 ac_cv_prog_PKG_CONFIG="pkg-config"
7229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7230 break 2
7232 done
7233 done
7234 IFS=$as_save_IFS
7238 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7239 if test -n "$PKG_CONFIG"; then
7240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7241 printf "%s\n" "$PKG_CONFIG" >&6; }
7242 else
7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7244 printf "%s\n" "no" >&6; }
7249 else $as_nop
7250 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7253 if test "x$enable_maintainer_mode" != "xyes"
7254 then
7255 FONTFORGE=""
7256 RSVG=""
7257 CONVERT=""
7258 ICOTOOL=""
7259 else
7260 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7261 for ac_prog in fontforge
7263 # Extract the first word of "$ac_prog", so it can be a program name with args.
7264 set dummy $ac_prog; ac_word=$2
7265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7266 printf %s "checking for $ac_word... " >&6; }
7267 if test ${ac_cv_prog_FONTFORGE+y}
7268 then :
7269 printf %s "(cached) " >&6
7270 else $as_nop
7271 if test -n "$FONTFORGE"; then
7272 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7273 else
7274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7275 for as_dir in $PATH
7277 IFS=$as_save_IFS
7278 case $as_dir in #(((
7279 '') as_dir=./ ;;
7280 */) ;;
7281 *) as_dir=$as_dir/ ;;
7282 esac
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7285 ac_cv_prog_FONTFORGE="$ac_prog"
7286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7287 break 2
7289 done
7290 done
7291 IFS=$as_save_IFS
7295 FONTFORGE=$ac_cv_prog_FONTFORGE
7296 if test -n "$FONTFORGE"; then
7297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7298 printf "%s\n" "$FONTFORGE" >&6; }
7299 else
7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 printf "%s\n" "no" >&6; }
7305 test -n "$FONTFORGE" && break
7306 done
7307 test -n "$FONTFORGE" || FONTFORGE="false"
7309 for ac_prog in rsvg-convert rsvg
7311 # Extract the first word of "$ac_prog", so it can be a program name with args.
7312 set dummy $ac_prog; ac_word=$2
7313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7314 printf %s "checking for $ac_word... " >&6; }
7315 if test ${ac_cv_prog_RSVG+y}
7316 then :
7317 printf %s "(cached) " >&6
7318 else $as_nop
7319 if test -n "$RSVG"; then
7320 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7321 else
7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 for as_dir in $PATH
7325 IFS=$as_save_IFS
7326 case $as_dir in #(((
7327 '') as_dir=./ ;;
7328 */) ;;
7329 *) as_dir=$as_dir/ ;;
7330 esac
7331 for ac_exec_ext in '' $ac_executable_extensions; do
7332 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7333 ac_cv_prog_RSVG="$ac_prog"
7334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7335 break 2
7337 done
7338 done
7339 IFS=$as_save_IFS
7343 RSVG=$ac_cv_prog_RSVG
7344 if test -n "$RSVG"; then
7345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7346 printf "%s\n" "$RSVG" >&6; }
7347 else
7348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7349 printf "%s\n" "no" >&6; }
7353 test -n "$RSVG" && break
7354 done
7355 test -n "$RSVG" || RSVG="false"
7357 for ac_prog in convert
7359 # Extract the first word of "$ac_prog", so it can be a program name with args.
7360 set dummy $ac_prog; ac_word=$2
7361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7362 printf %s "checking for $ac_word... " >&6; }
7363 if test ${ac_cv_prog_CONVERT+y}
7364 then :
7365 printf %s "(cached) " >&6
7366 else $as_nop
7367 if test -n "$CONVERT"; then
7368 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7373 IFS=$as_save_IFS
7374 case $as_dir in #(((
7375 '') as_dir=./ ;;
7376 */) ;;
7377 *) as_dir=$as_dir/ ;;
7378 esac
7379 for ac_exec_ext in '' $ac_executable_extensions; do
7380 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7381 ac_cv_prog_CONVERT="$ac_prog"
7382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7383 break 2
7385 done
7386 done
7387 IFS=$as_save_IFS
7391 CONVERT=$ac_cv_prog_CONVERT
7392 if test -n "$CONVERT"; then
7393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7394 printf "%s\n" "$CONVERT" >&6; }
7395 else
7396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 printf "%s\n" "no" >&6; }
7401 test -n "$CONVERT" && break
7402 done
7403 test -n "$CONVERT" || CONVERT="false"
7405 for ac_prog in icotool
7407 # Extract the first word of "$ac_prog", so it can be a program name with args.
7408 set dummy $ac_prog; ac_word=$2
7409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410 printf %s "checking for $ac_word... " >&6; }
7411 if test ${ac_cv_prog_ICOTOOL+y}
7412 then :
7413 printf %s "(cached) " >&6
7414 else $as_nop
7415 if test -n "$ICOTOOL"; then
7416 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7417 else
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7419 for as_dir in $PATH
7421 IFS=$as_save_IFS
7422 case $as_dir in #(((
7423 '') as_dir=./ ;;
7424 */) ;;
7425 *) as_dir=$as_dir/ ;;
7426 esac
7427 for ac_exec_ext in '' $ac_executable_extensions; do
7428 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7429 ac_cv_prog_ICOTOOL="$ac_prog"
7430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7431 break 2
7433 done
7434 done
7435 IFS=$as_save_IFS
7439 ICOTOOL=$ac_cv_prog_ICOTOOL
7440 if test -n "$ICOTOOL"; then
7441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7442 printf "%s\n" "$ICOTOOL" >&6; }
7443 else
7444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 printf "%s\n" "no" >&6; }
7449 test -n "$ICOTOOL" && break
7450 done
7451 test -n "$ICOTOOL" || ICOTOOL="false"
7453 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7454 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7456 if test "$CONVERT" = false
7457 then
7458 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7459 else
7460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7461 printf %s "checking for recent enough imagemagick... " >&6; }
7462 convert_version=`convert --version | head -n1`
7463 if test "x$convert_version" != "x"
7464 then
7465 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7466 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7467 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7468 then
7469 CONVERT=false
7472 if test "$CONVERT" = false
7473 then
7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7475 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7476 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7477 else
7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7479 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7483 if test "$ICOTOOL" = false
7484 then
7485 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7486 else
7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7488 printf %s "checking for recent enough icotool... " >&6; }
7489 icotool_version=`icotool --version | head -n1`
7490 if test "x$icotool_version" != "x"
7491 then
7492 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7493 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7494 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7495 then
7496 ICOTOOL=false
7497 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7500 if test "$ICOTOOL" = false
7501 then
7502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7503 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7504 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7505 else
7506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7507 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7511 with_gettext=yes
7512 with_gettextpo=yes
7514 enable_werror=yes
7517 test "x$with_gettext" != xno || MSGFMT=false
7518 if test "$MSGFMT" != "false"
7519 then
7520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7521 printf %s "checking whether msgfmt supports contexts... " >&6; }
7522 if test ${wine_cv_msgfmt_contexts+y}
7523 then :
7524 printf %s "(cached) " >&6
7525 else $as_nop
7526 cat >conftest.po <<EOF
7527 # comment
7528 msgctxt "ctxt"
7529 msgid "id"
7530 msgstr "str"
7532 if $MSGFMT -o /dev/null conftest.po 2>&5
7533 then
7534 wine_cv_msgfmt_contexts=yes
7535 else
7536 wine_cv_msgfmt_contexts=no
7539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7540 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7541 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7543 if test "$MSGFMT" = false
7544 then :
7545 case "x$with_gettext" in
7546 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7547 xno) ;;
7548 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7549 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7550 esac
7551 enable_po=${enable_po:-no}
7555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7556 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7557 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7558 then :
7559 printf %s "(cached) " >&6
7560 else $as_nop
7561 ac_check_lib_save_LIBS=$LIBS
7562 LIBS="-li386 $LIBS"
7563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7564 /* end confdefs.h. */
7566 /* Override any GCC internal prototype to avoid an error.
7567 Use char because int might match the return type of a GCC
7568 builtin and then its argument prototype would still apply. */
7569 char i386_set_ldt ();
7571 main (void)
7573 return i386_set_ldt ();
7575 return 0;
7577 _ACEOF
7578 if ac_fn_c_try_link "$LINENO"
7579 then :
7580 ac_cv_lib_i386_i386_set_ldt=yes
7581 else $as_nop
7582 ac_cv_lib_i386_i386_set_ldt=no
7584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7585 conftest$ac_exeext conftest.$ac_ext
7586 LIBS=$ac_check_lib_save_LIBS
7588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7589 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7590 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7591 then :
7592 I386_LIBS="-li386"
7597 OPENGL_LIBS=""
7601 # Check whether --enable-largefile was given.
7602 if test ${enable_largefile+y}
7603 then :
7604 enableval=$enable_largefile;
7607 if test "$enable_largefile" != no; then
7609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7610 printf %s "checking for special C compiler options needed for large files... " >&6; }
7611 if test ${ac_cv_sys_largefile_CC+y}
7612 then :
7613 printf %s "(cached) " >&6
7614 else $as_nop
7615 ac_cv_sys_largefile_CC=no
7616 if test "$GCC" != yes; then
7617 ac_save_CC=$CC
7618 while :; do
7619 # IRIX 6.2 and later do not support large files by default,
7620 # so use the C compiler's -n32 option if that helps.
7621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7622 /* end confdefs.h. */
7623 #include <sys/types.h>
7624 /* Check that off_t can represent 2**63 - 1 correctly.
7625 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7626 since some C++ compilers masquerading as C compilers
7627 incorrectly reject 9223372036854775807. */
7628 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7629 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7630 && LARGE_OFF_T % 2147483647 == 1)
7631 ? 1 : -1];
7633 main (void)
7637 return 0;
7639 _ACEOF
7640 if ac_fn_c_try_compile "$LINENO"
7641 then :
7642 break
7644 rm -f core conftest.err conftest.$ac_objext conftest.beam
7645 CC="$CC -n32"
7646 if ac_fn_c_try_compile "$LINENO"
7647 then :
7648 ac_cv_sys_largefile_CC=' -n32'; break
7650 rm -f core conftest.err conftest.$ac_objext conftest.beam
7651 break
7652 done
7653 CC=$ac_save_CC
7654 rm -f conftest.$ac_ext
7657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7658 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7659 if test "$ac_cv_sys_largefile_CC" != no; then
7660 CC=$CC$ac_cv_sys_largefile_CC
7663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7664 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7665 if test ${ac_cv_sys_file_offset_bits+y}
7666 then :
7667 printf %s "(cached) " >&6
7668 else $as_nop
7669 while :; do
7670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7671 /* end confdefs.h. */
7672 #include <sys/types.h>
7673 /* Check that off_t can represent 2**63 - 1 correctly.
7674 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7675 since some C++ compilers masquerading as C compilers
7676 incorrectly reject 9223372036854775807. */
7677 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7678 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7679 && LARGE_OFF_T % 2147483647 == 1)
7680 ? 1 : -1];
7682 main (void)
7686 return 0;
7688 _ACEOF
7689 if ac_fn_c_try_compile "$LINENO"
7690 then :
7691 ac_cv_sys_file_offset_bits=no; break
7693 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7695 /* end confdefs.h. */
7696 #define _FILE_OFFSET_BITS 64
7697 #include <sys/types.h>
7698 /* Check that off_t can represent 2**63 - 1 correctly.
7699 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7700 since some C++ compilers masquerading as C compilers
7701 incorrectly reject 9223372036854775807. */
7702 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7703 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7704 && LARGE_OFF_T % 2147483647 == 1)
7705 ? 1 : -1];
7707 main (void)
7711 return 0;
7713 _ACEOF
7714 if ac_fn_c_try_compile "$LINENO"
7715 then :
7716 ac_cv_sys_file_offset_bits=64; break
7718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7719 ac_cv_sys_file_offset_bits=unknown
7720 break
7721 done
7723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7724 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7725 case $ac_cv_sys_file_offset_bits in #(
7726 no | unknown) ;;
7728 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7730 esac
7731 rm -rf conftest*
7732 if test $ac_cv_sys_file_offset_bits = unknown; then
7733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7734 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7735 if test ${ac_cv_sys_large_files+y}
7736 then :
7737 printf %s "(cached) " >&6
7738 else $as_nop
7739 while :; do
7740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7741 /* end confdefs.h. */
7742 #include <sys/types.h>
7743 /* Check that off_t can represent 2**63 - 1 correctly.
7744 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7745 since some C++ compilers masquerading as C compilers
7746 incorrectly reject 9223372036854775807. */
7747 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7748 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7749 && LARGE_OFF_T % 2147483647 == 1)
7750 ? 1 : -1];
7752 main (void)
7756 return 0;
7758 _ACEOF
7759 if ac_fn_c_try_compile "$LINENO"
7760 then :
7761 ac_cv_sys_large_files=no; break
7763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7765 /* end confdefs.h. */
7766 #define _LARGE_FILES 1
7767 #include <sys/types.h>
7768 /* Check that off_t can represent 2**63 - 1 correctly.
7769 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7770 since some C++ compilers masquerading as C compilers
7771 incorrectly reject 9223372036854775807. */
7772 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7773 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7774 && LARGE_OFF_T % 2147483647 == 1)
7775 ? 1 : -1];
7777 main (void)
7781 return 0;
7783 _ACEOF
7784 if ac_fn_c_try_compile "$LINENO"
7785 then :
7786 ac_cv_sys_large_files=1; break
7788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7789 ac_cv_sys_large_files=unknown
7790 break
7791 done
7793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7794 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7795 case $ac_cv_sys_large_files in #(
7796 no | unknown) ;;
7798 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7800 esac
7801 rm -rf conftest*
7806 ac_header= ac_cache=
7807 for ac_item in $ac_header_c_list
7809 if test $ac_cache; then
7810 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7811 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7812 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7814 ac_header= ac_cache=
7815 elif test $ac_header; then
7816 ac_cache=$ac_item
7817 else
7818 ac_header=$ac_item
7820 done
7829 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7830 then :
7832 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7835 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7836 if test "x$ac_cv_header_CL_cl_h" = xyes
7837 then :
7838 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7841 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7842 if test "x$ac_cv_header_EGL_egl_h" = xyes
7843 then :
7844 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7847 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7848 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7849 then :
7850 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7853 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7854 if test "x$ac_cv_header_arpa_inet_h" = xyes
7855 then :
7856 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7859 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7860 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7861 then :
7862 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7865 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7866 if test "x$ac_cv_header_asm_types_h" = xyes
7867 then :
7868 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7871 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7872 if test "x$ac_cv_header_asm_user_h" = xyes
7873 then :
7874 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7877 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7878 if test "x$ac_cv_header_elf_h" = xyes
7879 then :
7880 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7883 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7884 if test "x$ac_cv_header_float_h" = xyes
7885 then :
7886 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7889 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7890 if test "x$ac_cv_header_gettext_po_h" = xyes
7891 then :
7892 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7895 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7896 if test "x$ac_cv_header_libproc_h" = xyes
7897 then :
7898 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7901 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7902 if test "x$ac_cv_header_link_h" = xyes
7903 then :
7904 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7907 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7909 then :
7910 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7913 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7914 if test "x$ac_cv_header_linux_filter_h" = xyes
7915 then :
7916 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7919 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7920 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7921 then :
7922 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7925 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7926 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7927 then :
7928 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7931 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7932 if test "x$ac_cv_header_linux_input_h" = xyes
7933 then :
7934 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7937 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7939 then :
7940 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7943 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7944 if test "x$ac_cv_header_linux_major_h" = xyes
7945 then :
7946 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7949 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_linux_param_h" = xyes
7951 then :
7952 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7955 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7956 if test "x$ac_cv_header_linux_serial_h" = xyes
7957 then :
7958 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7961 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7962 if test "x$ac_cv_header_linux_types_h" = xyes
7963 then :
7964 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7967 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7969 then :
7970 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7973 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7974 if test "x$ac_cv_header_lwp_h" = xyes
7975 then :
7976 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7979 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7980 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7981 then :
7982 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7985 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_mach_mach_h" = xyes
7987 then :
7988 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7991 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7992 if test "x$ac_cv_header_machine_cpu_h" = xyes
7993 then :
7994 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7997 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7999 then :
8000 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8003 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_mntent_h" = xyes
8005 then :
8006 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8009 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8010 if test "x$ac_cv_header_netdb_h" = xyes
8011 then :
8012 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8015 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_netinet_in_h" = xyes
8017 then :
8018 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8021 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8022 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8023 then :
8024 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8027 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8028 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8029 then :
8030 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8033 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8034 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8035 then :
8036 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8039 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8041 then :
8042 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8045 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8046 if test "x$ac_cv_header_port_h" = xyes
8047 then :
8048 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8051 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8052 if test "x$ac_cv_header_pthread_h" = xyes
8053 then :
8054 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8057 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8058 if test "x$ac_cv_header_pwd_h" = xyes
8059 then :
8060 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8063 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8064 if test "x$ac_cv_header_sched_h" = xyes
8065 then :
8066 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8069 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8070 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8071 then :
8072 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8075 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8076 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8077 then :
8078 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8081 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8082 if test "x$ac_cv_header_scsi_sg_h" = xyes
8083 then :
8084 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8087 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_stdint_h" = xyes
8089 then :
8090 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8093 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8094 if test "x$ac_cv_header_sys_attr_h" = xyes
8095 then :
8096 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8099 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_sys_auxv_h" = xyes
8101 then :
8102 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8105 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8106 if test "x$ac_cv_header_sys_cdio_h" = xyes
8107 then :
8108 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8111 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_sys_epoll_h" = xyes
8113 then :
8114 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8117 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8118 if test "x$ac_cv_header_sys_event_h" = xyes
8119 then :
8120 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8123 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8124 if test "x$ac_cv_header_sys_extattr_h" = xyes
8125 then :
8126 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8129 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8130 if test "x$ac_cv_header_sys_filio_h" = xyes
8131 then :
8132 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8135 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8136 if test "x$ac_cv_header_sys_ipc_h" = xyes
8137 then :
8138 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8141 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_sys_link_h" = xyes
8143 then :
8144 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_sys_modem_h" = xyes
8149 then :
8150 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_sys_mtio_h" = xyes
8155 then :
8156 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_sys_param_h" = xyes
8161 then :
8162 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_sys_prctl_h" = xyes
8167 then :
8168 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8173 then :
8174 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_sys_queue_h" = xyes
8179 then :
8180 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_sys_random_h" = xyes
8185 then :
8186 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_sys_resource_h" = xyes
8191 then :
8192 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8197 then :
8198 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_sys_shm_h" = xyes
8203 then :
8204 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_sys_signal_h" = xyes
8209 then :
8210 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8215 then :
8216 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_sys_sockio_h" = xyes
8221 then :
8222 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8227 then :
8228 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_sys_strtio_h" = xyes
8233 then :
8234 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_sys_syscall_h" = xyes
8239 then :
8240 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8245 then :
8246 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_sys_times_h" = xyes
8251 then :
8252 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_sys_uio_h" = xyes
8257 then :
8258 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_sys_user_h" = xyes
8263 then :
8264 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_sys_utsname_h" = xyes
8269 then :
8270 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_sys_vnode_h" = xyes
8275 then :
8276 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_sys_xattr_h" = xyes
8281 then :
8282 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_syscall_h" = xyes
8287 then :
8288 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_utime_h" = xyes
8293 then :
8294 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8299 then :
8300 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8305 then :
8306 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8312 then :
8314 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8318 if test $ac_cv_header_sys_mkdev_h = no; then
8319 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8321 then :
8323 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8329 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8330 if test ${ac_cv_header_stat_broken+y}
8331 then :
8332 printf %s "(cached) " >&6
8333 else $as_nop
8334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8335 /* end confdefs.h. */
8336 #include <sys/types.h>
8337 #include <sys/stat.h>
8339 #if defined S_ISBLK && defined S_IFDIR
8340 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8341 #endif
8343 #if defined S_ISBLK && defined S_IFCHR
8344 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8345 #endif
8347 #if defined S_ISLNK && defined S_IFREG
8348 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8349 #endif
8351 #if defined S_ISSOCK && defined S_IFREG
8352 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8353 #endif
8355 _ACEOF
8356 if ac_fn_c_try_compile "$LINENO"
8357 then :
8358 ac_cv_header_stat_broken=no
8359 else $as_nop
8360 ac_cv_header_stat_broken=yes
8362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8365 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8366 if test $ac_cv_header_stat_broken = yes; then
8368 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8374 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8375 #ifdef HAVE_SYS_PARAM_H
8376 # include <sys/param.h>
8377 #endif
8379 if test "x$ac_cv_header_sys_conf_h" = xyes
8380 then :
8381 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8384 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8385 #ifdef HAVE_SYS_PARAM_H
8386 # include <sys/param.h>
8387 #endif
8389 if test "x$ac_cv_header_sys_mount_h" = xyes
8390 then :
8391 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8394 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8395 #ifdef HAVE_SYS_PARAM_H
8396 # include <sys/param.h>
8397 #endif
8399 if test "x$ac_cv_header_sys_statfs_h" = xyes
8400 then :
8401 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8404 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8405 #ifdef HAVE_SYS_PARAM_H
8406 # include <sys/param.h>
8407 #endif
8409 if test "x$ac_cv_header_sys_user_h" = xyes
8410 then :
8411 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8414 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8415 #ifdef HAVE_SYS_PARAM_H
8416 # include <sys/param.h>
8417 #endif
8419 if test "x$ac_cv_header_sys_vfs_h" = xyes
8420 then :
8421 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8426 saved_sysctl_h_CFLAGS=$CFLAGS
8427 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8428 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8429 #ifdef HAVE_SYS_PARAM_H
8430 # include <sys/param.h>
8431 #endif
8433 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8434 then :
8435 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8439 CFLAGS=$saved_sysctl_h_CFLAGS
8441 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8442 #include <sys/socket.h>
8443 #ifdef HAVE_SYS_SOCKETVAR_H
8444 # include <sys/socketvar.h>
8445 #endif
8446 #ifdef HAVE_NET_ROUTE_H
8447 # include <net/route.h>
8448 #endif
8449 #ifdef HAVE_NETINET_IN_H
8450 # include <netinet/in.h>
8451 #endif
8452 #ifdef HAVE_NETINET_IN_SYSTM_H
8453 # include <netinet/in_systm.h>
8454 #endif
8455 #ifdef HAVE_NET_IF_H
8456 # include <net/if.h>
8457 #endif
8458 #ifdef HAVE_NETINET_IP_H
8459 # include <netinet/ip.h>
8460 #endif
8462 if test "x$ac_cv_header_netinet_ip_h" = xyes
8463 then :
8464 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8467 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8468 #include <sys/socket.h>
8469 #ifdef HAVE_SYS_SOCKETVAR_H
8470 # include <sys/socketvar.h>
8471 #endif
8472 #ifdef HAVE_NET_ROUTE_H
8473 # include <net/route.h>
8474 #endif
8475 #ifdef HAVE_NETINET_IN_H
8476 # include <netinet/in.h>
8477 #endif
8478 #ifdef HAVE_NETINET_IN_SYSTM_H
8479 # include <netinet/in_systm.h>
8480 #endif
8481 #ifdef HAVE_NET_IF_H
8482 # include <net/if.h>
8483 #endif
8484 #ifdef HAVE_NETINET_IP_H
8485 # include <netinet/ip.h>
8486 #endif
8488 if test "x$ac_cv_header_net_if_h" = xyes
8489 then :
8490 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8493 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8494 #include <sys/socket.h>
8495 #ifdef HAVE_SYS_SOCKETVAR_H
8496 # include <sys/socketvar.h>
8497 #endif
8498 #ifdef HAVE_NET_ROUTE_H
8499 # include <net/route.h>
8500 #endif
8501 #ifdef HAVE_NETINET_IN_H
8502 # include <netinet/in.h>
8503 #endif
8504 #ifdef HAVE_NETINET_IN_SYSTM_H
8505 # include <netinet/in_systm.h>
8506 #endif
8507 #ifdef HAVE_NET_IF_H
8508 # include <net/if.h>
8509 #endif
8510 #ifdef HAVE_NETINET_IP_H
8511 # include <netinet/ip.h>
8512 #endif
8514 if test "x$ac_cv_header_net_if_arp_h" = xyes
8515 then :
8516 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8519 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8520 #include <sys/socket.h>
8521 #ifdef HAVE_SYS_SOCKETVAR_H
8522 # include <sys/socketvar.h>
8523 #endif
8524 #ifdef HAVE_NET_ROUTE_H
8525 # include <net/route.h>
8526 #endif
8527 #ifdef HAVE_NETINET_IN_H
8528 # include <netinet/in.h>
8529 #endif
8530 #ifdef HAVE_NETINET_IN_SYSTM_H
8531 # include <netinet/in_systm.h>
8532 #endif
8533 #ifdef HAVE_NET_IF_H
8534 # include <net/if.h>
8535 #endif
8536 #ifdef HAVE_NETINET_IP_H
8537 # include <netinet/ip.h>
8538 #endif
8540 if test "x$ac_cv_header_net_if_dl_h" = xyes
8541 then :
8542 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8545 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8546 #include <sys/socket.h>
8547 #ifdef HAVE_SYS_SOCKETVAR_H
8548 # include <sys/socketvar.h>
8549 #endif
8550 #ifdef HAVE_NET_ROUTE_H
8551 # include <net/route.h>
8552 #endif
8553 #ifdef HAVE_NETINET_IN_H
8554 # include <netinet/in.h>
8555 #endif
8556 #ifdef HAVE_NETINET_IN_SYSTM_H
8557 # include <netinet/in_systm.h>
8558 #endif
8559 #ifdef HAVE_NET_IF_H
8560 # include <net/if.h>
8561 #endif
8562 #ifdef HAVE_NETINET_IP_H
8563 # include <netinet/ip.h>
8564 #endif
8566 if test "x$ac_cv_header_net_if_types_h" = xyes
8567 then :
8568 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8571 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8572 #include <sys/socket.h>
8573 #ifdef HAVE_SYS_SOCKETVAR_H
8574 # include <sys/socketvar.h>
8575 #endif
8576 #ifdef HAVE_NET_ROUTE_H
8577 # include <net/route.h>
8578 #endif
8579 #ifdef HAVE_NETINET_IN_H
8580 # include <netinet/in.h>
8581 #endif
8582 #ifdef HAVE_NETINET_IN_SYSTM_H
8583 # include <netinet/in_systm.h>
8584 #endif
8585 #ifdef HAVE_NET_IF_H
8586 # include <net/if.h>
8587 #endif
8588 #ifdef HAVE_NETINET_IP_H
8589 # include <netinet/ip.h>
8590 #endif
8592 if test "x$ac_cv_header_net_route_h" = xyes
8593 then :
8594 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8597 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8598 #include <sys/socket.h>
8599 #ifdef HAVE_SYS_SOCKETVAR_H
8600 # include <sys/socketvar.h>
8601 #endif
8602 #ifdef HAVE_NET_ROUTE_H
8603 # include <net/route.h>
8604 #endif
8605 #ifdef HAVE_NETINET_IN_H
8606 # include <netinet/in.h>
8607 #endif
8608 #ifdef HAVE_NETINET_IN_SYSTM_H
8609 # include <netinet/in_systm.h>
8610 #endif
8611 #ifdef HAVE_NET_IF_H
8612 # include <net/if.h>
8613 #endif
8614 #ifdef HAVE_NETINET_IP_H
8615 # include <netinet/ip.h>
8616 #endif
8618 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8619 then :
8620 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8623 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8624 #include <sys/socket.h>
8625 #ifdef HAVE_SYS_SOCKETVAR_H
8626 # include <sys/socketvar.h>
8627 #endif
8628 #ifdef HAVE_NET_ROUTE_H
8629 # include <net/route.h>
8630 #endif
8631 #ifdef HAVE_NETINET_IN_H
8632 # include <netinet/in.h>
8633 #endif
8634 #ifdef HAVE_NETINET_IN_SYSTM_H
8635 # include <netinet/in_systm.h>
8636 #endif
8637 #ifdef HAVE_NET_IF_H
8638 # include <net/if.h>
8639 #endif
8640 #ifdef HAVE_NETINET_IP_H
8641 # include <netinet/ip.h>
8642 #endif
8644 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8645 then :
8646 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8649 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8650 #include <sys/socket.h>
8651 #ifdef HAVE_SYS_SOCKETVAR_H
8652 # include <sys/socketvar.h>
8653 #endif
8654 #ifdef HAVE_NET_ROUTE_H
8655 # include <net/route.h>
8656 #endif
8657 #ifdef HAVE_NETINET_IN_H
8658 # include <netinet/in.h>
8659 #endif
8660 #ifdef HAVE_NETINET_IN_SYSTM_H
8661 # include <netinet/in_systm.h>
8662 #endif
8663 #ifdef HAVE_NET_IF_H
8664 # include <net/if.h>
8665 #endif
8666 #ifdef HAVE_NETINET_IP_H
8667 # include <netinet/ip.h>
8668 #endif
8670 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8671 then :
8672 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8675 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8676 #include <sys/socket.h>
8677 #ifdef HAVE_SYS_SOCKETVAR_H
8678 # include <sys/socketvar.h>
8679 #endif
8680 #ifdef HAVE_NET_ROUTE_H
8681 # include <net/route.h>
8682 #endif
8683 #ifdef HAVE_NETINET_IN_H
8684 # include <netinet/in.h>
8685 #endif
8686 #ifdef HAVE_NETINET_IN_SYSTM_H
8687 # include <netinet/in_systm.h>
8688 #endif
8689 #ifdef HAVE_NET_IF_H
8690 # include <net/if.h>
8691 #endif
8692 #ifdef HAVE_NETINET_IP_H
8693 # include <netinet/ip.h>
8694 #endif
8696 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8697 then :
8698 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8701 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8702 #include <sys/socket.h>
8703 #ifdef HAVE_SYS_SOCKETVAR_H
8704 # include <sys/socketvar.h>
8705 #endif
8706 #ifdef HAVE_NET_ROUTE_H
8707 # include <net/route.h>
8708 #endif
8709 #ifdef HAVE_NETINET_IN_H
8710 # include <netinet/in.h>
8711 #endif
8712 #ifdef HAVE_NETINET_IN_SYSTM_H
8713 # include <netinet/in_systm.h>
8714 #endif
8715 #ifdef HAVE_NET_IF_H
8716 # include <net/if.h>
8717 #endif
8718 #ifdef HAVE_NETINET_IP_H
8719 # include <netinet/ip.h>
8720 #endif
8722 if test "x$ac_cv_header_netinet_udp_h" = xyes
8723 then :
8724 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8727 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8728 #include <sys/socket.h>
8729 #ifdef HAVE_SYS_SOCKETVAR_H
8730 # include <sys/socketvar.h>
8731 #endif
8732 #ifdef HAVE_NET_ROUTE_H
8733 # include <net/route.h>
8734 #endif
8735 #ifdef HAVE_NETINET_IN_H
8736 # include <netinet/in.h>
8737 #endif
8738 #ifdef HAVE_NETINET_IN_SYSTM_H
8739 # include <netinet/in_systm.h>
8740 #endif
8741 #ifdef HAVE_NET_IF_H
8742 # include <net/if.h>
8743 #endif
8744 #ifdef HAVE_NETINET_IP_H
8745 # include <netinet/ip.h>
8746 #endif
8748 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8749 then :
8750 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8753 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8754 #include <sys/socket.h>
8755 #ifdef HAVE_SYS_SOCKETVAR_H
8756 # include <sys/socketvar.h>
8757 #endif
8758 #ifdef HAVE_NET_ROUTE_H
8759 # include <net/route.h>
8760 #endif
8761 #ifdef HAVE_NETINET_IN_H
8762 # include <netinet/in.h>
8763 #endif
8764 #ifdef HAVE_NETINET_IN_SYSTM_H
8765 # include <netinet/in_systm.h>
8766 #endif
8767 #ifdef HAVE_NET_IF_H
8768 # include <net/if.h>
8769 #endif
8770 #ifdef HAVE_NETINET_IP_H
8771 # include <netinet/ip.h>
8772 #endif
8774 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8775 then :
8776 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8779 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8780 #include <sys/socket.h>
8781 #ifdef HAVE_SYS_SOCKETVAR_H
8782 # include <sys/socketvar.h>
8783 #endif
8784 #ifdef HAVE_NET_ROUTE_H
8785 # include <net/route.h>
8786 #endif
8787 #ifdef HAVE_NETINET_IN_H
8788 # include <netinet/in.h>
8789 #endif
8790 #ifdef HAVE_NETINET_IN_SYSTM_H
8791 # include <netinet/in_systm.h>
8792 #endif
8793 #ifdef HAVE_NET_IF_H
8794 # include <net/if.h>
8795 #endif
8796 #ifdef HAVE_NETINET_IP_H
8797 # include <netinet/ip.h>
8798 #endif
8800 if test "x$ac_cv_header_sys_un_h" = xyes
8801 then :
8802 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8807 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8808 #include <sys/socket.h>
8809 #ifdef HAVE_SYS_SOCKETVAR_H
8810 # include <sys/socketvar.h>
8811 #endif
8812 #ifdef HAVE_NETINET_IN_H
8813 # include <netinet/in.h>
8814 #endif
8815 #ifdef HAVE_NETINET_IN_SYSTM_H
8816 # include <netinet/in_systm.h>
8817 #endif
8818 #ifdef HAVE_NETINET_IP_H
8819 # include <netinet/ip.h>
8820 #endif
8821 #ifdef HAVE_NETINET_IP_VAR_H
8822 # include <netinet/ip_var.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IP_ICMP_H
8825 # include <netinet/ip_icmp.h>
8826 #endif
8827 #ifdef HAVE_NETINET_UDP_H
8828 # include <netinet/udp.h>
8829 #endif
8830 #ifdef HAVE_NETINET_TCP_H
8831 # include <netinet/tcp.h>
8832 #endif
8834 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8835 then :
8836 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8839 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8840 #include <sys/socket.h>
8841 #ifdef HAVE_SYS_SOCKETVAR_H
8842 # include <sys/socketvar.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IN_H
8845 # include <netinet/in.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IN_SYSTM_H
8848 # include <netinet/in_systm.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IP_H
8851 # include <netinet/ip.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IP_VAR_H
8854 # include <netinet/ip_var.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IP_ICMP_H
8857 # include <netinet/ip_icmp.h>
8858 #endif
8859 #ifdef HAVE_NETINET_UDP_H
8860 # include <netinet/udp.h>
8861 #endif
8862 #ifdef HAVE_NETINET_TCP_H
8863 # include <netinet/tcp.h>
8864 #endif
8866 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8867 then :
8868 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8871 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8872 #include <sys/socket.h>
8873 #ifdef HAVE_SYS_SOCKETVAR_H
8874 # include <sys/socketvar.h>
8875 #endif
8876 #ifdef HAVE_NETINET_IN_H
8877 # include <netinet/in.h>
8878 #endif
8879 #ifdef HAVE_NETINET_IN_SYSTM_H
8880 # include <netinet/in_systm.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IP_H
8883 # include <netinet/ip.h>
8884 #endif
8885 #ifdef HAVE_NETINET_IP_VAR_H
8886 # include <netinet/ip_var.h>
8887 #endif
8888 #ifdef HAVE_NETINET_IP_ICMP_H
8889 # include <netinet/ip_icmp.h>
8890 #endif
8891 #ifdef HAVE_NETINET_UDP_H
8892 # include <netinet/udp.h>
8893 #endif
8894 #ifdef HAVE_NETINET_TCP_H
8895 # include <netinet/tcp.h>
8896 #endif
8898 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8899 then :
8900 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8903 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8904 #include <sys/socket.h>
8905 #ifdef HAVE_SYS_SOCKETVAR_H
8906 # include <sys/socketvar.h>
8907 #endif
8908 #ifdef HAVE_NETINET_IN_H
8909 # include <netinet/in.h>
8910 #endif
8911 #ifdef HAVE_NETINET_IN_SYSTM_H
8912 # include <netinet/in_systm.h>
8913 #endif
8914 #ifdef HAVE_NETINET_IP_H
8915 # include <netinet/ip.h>
8916 #endif
8917 #ifdef HAVE_NETINET_IP_VAR_H
8918 # include <netinet/ip_var.h>
8919 #endif
8920 #ifdef HAVE_NETINET_IP_ICMP_H
8921 # include <netinet/ip_icmp.h>
8922 #endif
8923 #ifdef HAVE_NETINET_UDP_H
8924 # include <netinet/udp.h>
8925 #endif
8926 #ifdef HAVE_NETINET_TCP_H
8927 # include <netinet/tcp.h>
8928 #endif
8930 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8931 then :
8932 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8937 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8938 #include <sys/socket.h>
8939 #ifdef HAVE_ASM_TYPES_H
8940 # include <asm/types.h>
8941 #endif
8942 #ifdef HAVE_LINUX_TYPES_H
8943 # include <linux/types.h>
8944 #endif
8946 if test "x$ac_cv_header_linux_ipx_h" = xyes
8947 then :
8948 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8951 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8952 #include <sys/socket.h>
8953 #ifdef HAVE_ASM_TYPES_H
8954 # include <asm/types.h>
8955 #endif
8956 #ifdef HAVE_LINUX_TYPES_H
8957 # include <linux/types.h>
8958 #endif
8960 if test "x$ac_cv_header_linux_irda_h" = xyes
8961 then :
8962 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8965 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8966 #include <sys/socket.h>
8967 #ifdef HAVE_ASM_TYPES_H
8968 # include <asm/types.h>
8969 #endif
8970 #ifdef HAVE_LINUX_TYPES_H
8971 # include <linux/types.h>
8972 #endif
8974 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8975 then :
8976 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8981 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8982 #include <sys/socket.h>
8983 #ifdef HAVE_NETINET_IN_H
8984 # include <netinet/in.h>
8985 #endif
8986 #ifdef HAVE_ARPA_NAMESER_H
8987 # include <arpa/nameser.h>
8988 #endif
8990 if test "x$ac_cv_header_resolv_h" = xyes
8991 then :
8992 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8997 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8999 if test "x$ac_cv_header_ifaddrs_h" = xyes
9000 then :
9001 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9006 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9008 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9009 then :
9010 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9015 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9016 #ifdef HAVE_SYS_UCONTEXT_H
9017 #include <sys/ucontext.h>
9018 #endif
9020 if test "x$ac_cv_header_sys_thr_h" = xyes
9021 then :
9022 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9027 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9028 #include <pthread.h>
9029 #endif
9031 if test "x$ac_cv_header_pthread_np_h" = xyes
9032 then :
9033 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9038 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9039 #include <sys/types.h>
9040 #ifdef HAVE_ASM_TYPES_H
9041 #include <asm/types.h>
9042 #endif
9044 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9045 then :
9046 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9051 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9052 #include <sys/param.h>
9053 #endif
9054 #include <sys/socket.h>
9055 #ifdef HAVE_SYS_QUEUE_H
9056 #include <sys/queue.h>
9057 #endif
9059 if test "x$ac_cv_header_libprocstat_h" = xyes
9060 then :
9061 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9066 if test "x$ac_cv_header_sys_xattr_h" = xyes
9067 then
9068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9069 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9070 if test ${wine_cv_xattr_extra_args+y}
9071 then :
9072 printf %s "(cached) " >&6
9073 else $as_nop
9074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9075 /* end confdefs.h. */
9076 #include <sys/xattr.h>
9078 main (void)
9080 getxattr("", "", "", 0, 0, 0);
9082 return 0;
9084 _ACEOF
9085 if ac_fn_c_try_compile "$LINENO"
9086 then :
9087 wine_cv_xattr_extra_args=yes
9088 else $as_nop
9089 wine_cv_xattr_extra_args=no
9091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9094 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9095 test $wine_cv_xattr_extra_args != yes ||
9096 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9101 DLLFLAGS=""
9103 LDDLLFLAGS=""
9105 LDEXECFLAGS=""
9107 EXTRACFLAGS=""
9109 UNIXDLLFLAGS="-fPIC"
9111 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9113 TOP_INSTALL_LIB=""
9115 TOP_INSTALL_DEV=""
9117 WINELOADER_LDFLAGS=""
9119 WINEPRELOADER_LDFLAGS=""
9121 DLLEXT=".so"
9123 LIBEXT="so"
9124 # Extract the first word of "ldd", so it can be a program name with args.
9125 set dummy ldd; ac_word=$2
9126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9127 printf %s "checking for $ac_word... " >&6; }
9128 if test ${ac_cv_path_LDD+y}
9129 then :
9130 printf %s "(cached) " >&6
9131 else $as_nop
9132 case $LDD in
9133 [\\/]* | ?:[\\/]*)
9134 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9138 as_dummy="/sbin:/usr/sbin:$PATH"
9139 for as_dir in $as_dummy
9141 IFS=$as_save_IFS
9142 case $as_dir in #(((
9143 '') as_dir=./ ;;
9144 */) ;;
9145 *) as_dir=$as_dir/ ;;
9146 esac
9147 for ac_exec_ext in '' $ac_executable_extensions; do
9148 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9149 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9150 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9151 break 2
9153 done
9154 done
9155 IFS=$as_save_IFS
9157 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9159 esac
9161 LDD=$ac_cv_path_LDD
9162 if test -n "$LDD"; then
9163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9164 printf "%s\n" "$LDD" >&6; }
9165 else
9166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9167 printf "%s\n" "no" >&6; }
9171 if test -n "$ac_tool_prefix"; then
9172 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9173 set dummy ${ac_tool_prefix}otool; ac_word=$2
9174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9175 printf %s "checking for $ac_word... " >&6; }
9176 if test ${ac_cv_prog_OTOOL+y}
9177 then :
9178 printf %s "(cached) " >&6
9179 else $as_nop
9180 if test -n "$OTOOL"; then
9181 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9182 else
9183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9184 for as_dir in $PATH
9186 IFS=$as_save_IFS
9187 case $as_dir in #(((
9188 '') as_dir=./ ;;
9189 */) ;;
9190 *) as_dir=$as_dir/ ;;
9191 esac
9192 for ac_exec_ext in '' $ac_executable_extensions; do
9193 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9194 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9196 break 2
9198 done
9199 done
9200 IFS=$as_save_IFS
9204 OTOOL=$ac_cv_prog_OTOOL
9205 if test -n "$OTOOL"; then
9206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9207 printf "%s\n" "$OTOOL" >&6; }
9208 else
9209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9210 printf "%s\n" "no" >&6; }
9215 if test -z "$ac_cv_prog_OTOOL"; then
9216 ac_ct_OTOOL=$OTOOL
9217 # Extract the first word of "otool", so it can be a program name with args.
9218 set dummy otool; ac_word=$2
9219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9220 printf %s "checking for $ac_word... " >&6; }
9221 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9222 then :
9223 printf %s "(cached) " >&6
9224 else $as_nop
9225 if test -n "$ac_ct_OTOOL"; then
9226 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9227 else
9228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9229 for as_dir in $PATH
9231 IFS=$as_save_IFS
9232 case $as_dir in #(((
9233 '') as_dir=./ ;;
9234 */) ;;
9235 *) as_dir=$as_dir/ ;;
9236 esac
9237 for ac_exec_ext in '' $ac_executable_extensions; do
9238 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9239 ac_cv_prog_ac_ct_OTOOL="otool"
9240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9241 break 2
9243 done
9244 done
9245 IFS=$as_save_IFS
9249 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9250 if test -n "$ac_ct_OTOOL"; then
9251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9252 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9253 else
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9255 printf "%s\n" "no" >&6; }
9258 if test "x$ac_ct_OTOOL" = x; then
9259 OTOOL="otool"
9260 else
9261 case $cross_compiling:$ac_tool_warned in
9262 yes:)
9263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9264 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9265 ac_tool_warned=yes ;;
9266 esac
9267 OTOOL=$ac_ct_OTOOL
9269 else
9270 OTOOL="$ac_cv_prog_OTOOL"
9273 if test -n "$ac_tool_prefix"; then
9274 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9275 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9277 printf %s "checking for $ac_word... " >&6; }
9278 if test ${ac_cv_prog_READELF+y}
9279 then :
9280 printf %s "(cached) " >&6
9281 else $as_nop
9282 if test -n "$READELF"; then
9283 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9284 else
9285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9286 for as_dir in $PATH
9288 IFS=$as_save_IFS
9289 case $as_dir in #(((
9290 '') as_dir=./ ;;
9291 */) ;;
9292 *) as_dir=$as_dir/ ;;
9293 esac
9294 for ac_exec_ext in '' $ac_executable_extensions; do
9295 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9296 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9298 break 2
9300 done
9301 done
9302 IFS=$as_save_IFS
9306 READELF=$ac_cv_prog_READELF
9307 if test -n "$READELF"; then
9308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9309 printf "%s\n" "$READELF" >&6; }
9310 else
9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9312 printf "%s\n" "no" >&6; }
9317 if test -z "$ac_cv_prog_READELF"; then
9318 ac_ct_READELF=$READELF
9319 # Extract the first word of "readelf", so it can be a program name with args.
9320 set dummy readelf; ac_word=$2
9321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9322 printf %s "checking for $ac_word... " >&6; }
9323 if test ${ac_cv_prog_ac_ct_READELF+y}
9324 then :
9325 printf %s "(cached) " >&6
9326 else $as_nop
9327 if test -n "$ac_ct_READELF"; then
9328 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9329 else
9330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9331 for as_dir in $PATH
9333 IFS=$as_save_IFS
9334 case $as_dir in #(((
9335 '') as_dir=./ ;;
9336 */) ;;
9337 *) as_dir=$as_dir/ ;;
9338 esac
9339 for ac_exec_ext in '' $ac_executable_extensions; do
9340 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9341 ac_cv_prog_ac_ct_READELF="readelf"
9342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9343 break 2
9345 done
9346 done
9347 IFS=$as_save_IFS
9351 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9352 if test -n "$ac_ct_READELF"; then
9353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9354 printf "%s\n" "$ac_ct_READELF" >&6; }
9355 else
9356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9357 printf "%s\n" "no" >&6; }
9360 if test "x$ac_ct_READELF" = x; then
9361 READELF="true"
9362 else
9363 case $cross_compiling:$ac_tool_warned in
9364 yes:)
9365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9366 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9367 ac_tool_warned=yes ;;
9368 esac
9369 READELF=$ac_ct_READELF
9371 else
9372 READELF="$ac_cv_prog_READELF"
9375 wine_rules="all:"
9376 SUBDIRS=""
9378 DISABLED_SUBDIRS=""
9380 CONFIGURE_TARGETS=""
9383 wine_fn_config_makefile ()
9385 as_fn_append SUBDIRS " \\$as_nl $1"
9386 eval enable=\$$2
9387 case "$enable" in
9388 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9389 *aarch64*|*arm*|*i386*|*x86_64*)
9390 if test -n "$PE_ARCHS"
9391 then
9392 for i in $PE_ARCHS
9394 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9395 done
9396 else
9397 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9398 fi;;
9399 esac
9402 wine_fn_config_symlink ()
9404 ac_links=$@
9405 as_fn_append wine_rules "
9406 $ac_links:
9407 @./config.status \$@"
9408 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9411 case $host_os in
9412 cygwin*|mingw32*)
9413 LIBEXT="dll"
9414 DLLEXT=""
9415 EXTRACFLAGS="-D__WINE_PE_BUILD"
9416 case $host_cpu in
9417 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9418 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9419 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9420 then :
9421 printf %s "(cached) " >&6
9422 else $as_nop
9423 ac_wine_try_cflags_saved=$CFLAGS
9424 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9427 int main(int argc, char **argv) { return 0; }
9428 _ACEOF
9429 if ac_fn_c_try_link "$LINENO"
9430 then :
9431 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9432 else $as_nop
9433 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9436 conftest$ac_exeext conftest.$ac_ext
9437 CFLAGS=$ac_wine_try_cflags_saved
9439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9440 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9441 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9442 then :
9443 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9444 fi ;;
9445 esac
9446 enable_loader=${enable_loader:-no}
9447 enable_server=${enable_server:-no}
9448 with_x=${with_x:-no}
9449 with_pthread=${with_pthread:-no}
9452 darwin*|macosx*)
9453 LIBEXT="dylib"
9454 DLLFLAGS="$DLLFLAGS -fPIC"
9455 LDDLLFLAGS="-fPIC"
9456 enable_winemac_drv=${enable_winemac_drv:-yes}
9457 CARBON_LIBS="-framework Carbon"
9459 COREFOUNDATION_LIBS="-framework CoreFoundation"
9461 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9463 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9465 METAL_LIBS="-framework Metal"
9467 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9469 CORESERVICES_LIBS="-framework CoreServices"
9471 APPKIT_LIBS="-framework AppKit"
9473 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9475 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9478 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9480 wine_can_build_preloader=yes
9481 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
9482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9483 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9484 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9485 then :
9486 printf %s "(cached) " >&6
9487 else $as_nop
9488 ac_wine_try_cflags_saved=$CFLAGS
9489 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9492 int main(int argc, char **argv) { return 0; }
9493 _ACEOF
9494 if ac_fn_c_try_link "$LINENO"
9495 then :
9496 ac_cv_cflags__Wl__no_new_main__e__main=yes
9497 else $as_nop
9498 ac_cv_cflags__Wl__no_new_main__e__main=no
9500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9501 conftest$ac_exeext conftest.$ac_ext
9502 CFLAGS=$ac_wine_try_cflags_saved
9504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9505 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9506 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9507 then :
9508 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9510 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9511 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9512 then :
9513 printf %s "(cached) " >&6
9514 else $as_nop
9515 ac_wine_try_cflags_saved=$CFLAGS
9516 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h. */
9519 int main(int argc, char **argv) { return 0; }
9520 _ACEOF
9521 if ac_fn_c_try_link "$LINENO"
9522 then :
9523 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9524 else $as_nop
9525 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9528 conftest$ac_exeext conftest.$ac_ext
9529 CFLAGS=$ac_wine_try_cflags_saved
9531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9532 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9533 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9534 then :
9535 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9536 else $as_nop
9537 wine_can_build_preloader=no
9539 else $as_nop
9540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9541 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9542 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9543 then :
9544 printf %s "(cached) " >&6
9545 else $as_nop
9546 ac_wine_try_cflags_saved=$CFLAGS
9547 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9550 int main(int argc, char **argv) { return 0; }
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"
9553 then :
9554 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9555 else $as_nop
9556 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9559 conftest$ac_exeext conftest.$ac_ext
9560 CFLAGS=$ac_wine_try_cflags_saved
9562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9563 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9564 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9565 then :
9566 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9567 else $as_nop
9568 wine_can_build_preloader=no
9571 if test "$wine_can_build_preloader" = "yes"
9572 then
9573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9574 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9575 if test ${ac_cv_cflags__Wl__no_pie+y}
9576 then :
9577 printf %s "(cached) " >&6
9578 else $as_nop
9579 ac_wine_try_cflags_saved=$CFLAGS
9580 CFLAGS="$CFLAGS -Wl,-no_pie"
9581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9582 /* end confdefs.h. */
9583 int main(int argc, char **argv) { return 0; }
9584 _ACEOF
9585 if ac_fn_c_try_link "$LINENO"
9586 then :
9587 ac_cv_cflags__Wl__no_pie=yes
9588 else $as_nop
9589 ac_cv_cflags__Wl__no_pie=no
9591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9592 conftest$ac_exeext conftest.$ac_ext
9593 CFLAGS=$ac_wine_try_cflags_saved
9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9596 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9597 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9598 then :
9599 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9601 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9602 else
9603 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9606 if test "x$with_coreaudio" != "xno";
9607 then
9608 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9610 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9612 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9613 then
9614 OPENCL_LIBS="-framework OpenCL"
9616 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9620 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9621 ac_ext=m
9622 ac_cpp='$OBJCPP $CPPFLAGS'
9623 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9624 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9625 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9627 ac_ext=m
9628 ac_cpp='$OBJCPP $CPPFLAGS'
9629 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9630 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9631 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9632 if test -n "$ac_tool_prefix"; then
9633 for ac_prog in gcc objcc objc cc CC clang
9635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9636 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9638 printf %s "checking for $ac_word... " >&6; }
9639 if test ${ac_cv_prog_OBJC+y}
9640 then :
9641 printf %s "(cached) " >&6
9642 else $as_nop
9643 if test -n "$OBJC"; then
9644 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9645 else
9646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9647 for as_dir in $PATH
9649 IFS=$as_save_IFS
9650 case $as_dir in #(((
9651 '') as_dir=./ ;;
9652 */) ;;
9653 *) as_dir=$as_dir/ ;;
9654 esac
9655 for ac_exec_ext in '' $ac_executable_extensions; do
9656 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9657 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9659 break 2
9661 done
9662 done
9663 IFS=$as_save_IFS
9667 OBJC=$ac_cv_prog_OBJC
9668 if test -n "$OBJC"; then
9669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9670 printf "%s\n" "$OBJC" >&6; }
9671 else
9672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9673 printf "%s\n" "no" >&6; }
9677 test -n "$OBJC" && break
9678 done
9680 if test -z "$OBJC"; then
9681 ac_ct_OBJC=$OBJC
9682 for ac_prog in gcc objcc objc cc CC clang
9684 # Extract the first word of "$ac_prog", so it can be a program name with args.
9685 set dummy $ac_prog; ac_word=$2
9686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9687 printf %s "checking for $ac_word... " >&6; }
9688 if test ${ac_cv_prog_ac_ct_OBJC+y}
9689 then :
9690 printf %s "(cached) " >&6
9691 else $as_nop
9692 if test -n "$ac_ct_OBJC"; then
9693 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9694 else
9695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9696 for as_dir in $PATH
9698 IFS=$as_save_IFS
9699 case $as_dir in #(((
9700 '') as_dir=./ ;;
9701 */) ;;
9702 *) as_dir=$as_dir/ ;;
9703 esac
9704 for ac_exec_ext in '' $ac_executable_extensions; do
9705 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9706 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9708 break 2
9710 done
9711 done
9712 IFS=$as_save_IFS
9716 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9717 if test -n "$ac_ct_OBJC"; then
9718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9719 printf "%s\n" "$ac_ct_OBJC" >&6; }
9720 else
9721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9722 printf "%s\n" "no" >&6; }
9726 test -n "$ac_ct_OBJC" && break
9727 done
9729 if test "x$ac_ct_OBJC" = x; then
9730 OBJC="gcc"
9731 else
9732 case $cross_compiling:$ac_tool_warned in
9733 yes:)
9734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9735 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9736 ac_tool_warned=yes ;;
9737 esac
9738 OBJC=$ac_ct_OBJC
9742 # Provide some information about the compiler.
9743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9744 set X $ac_compile
9745 ac_compiler=$2
9746 for ac_option in --version -v -V -qversion; do
9747 { { ac_try="$ac_compiler $ac_option >&5"
9748 case "(($ac_try" in
9749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9750 *) ac_try_echo=$ac_try;;
9751 esac
9752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9753 printf "%s\n" "$ac_try_echo"; } >&5
9754 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9755 ac_status=$?
9756 if test -s conftest.err; then
9757 sed '10a\
9758 ... rest of stderr output deleted ...
9759 10q' conftest.err >conftest.er1
9760 cat conftest.er1 >&5
9762 rm -f conftest.er1 conftest.err
9763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9764 test $ac_status = 0; }
9765 done
9767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9768 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9769 if test ${ac_cv_objc_compiler_gnu+y}
9770 then :
9771 printf %s "(cached) " >&6
9772 else $as_nop
9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9774 /* end confdefs.h. */
9777 main (void)
9779 #ifndef __GNUC__
9780 choke me
9781 #endif
9784 return 0;
9786 _ACEOF
9787 if ac_fn_objc_try_compile "$LINENO"
9788 then :
9789 ac_compiler_gnu=yes
9790 else $as_nop
9791 ac_compiler_gnu=no
9793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9794 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9798 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9799 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9801 if test $ac_compiler_gnu = yes; then
9802 GOBJC=yes
9803 else
9804 GOBJC=
9806 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9807 ac_save_OBJCFLAGS=$OBJCFLAGS
9808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9809 printf %s "checking whether $OBJC accepts -g... " >&6; }
9810 if test ${ac_cv_prog_objc_g+y}
9811 then :
9812 printf %s "(cached) " >&6
9813 else $as_nop
9814 ac_save_objc_werror_flag=$ac_objc_werror_flag
9815 ac_objc_werror_flag=yes
9816 ac_cv_prog_objc_g=no
9817 OBJCFLAGS="-g"
9818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h. */
9822 main (void)
9826 return 0;
9828 _ACEOF
9829 if ac_fn_objc_try_compile "$LINENO"
9830 then :
9831 ac_cv_prog_objc_g=yes
9832 else $as_nop
9833 OBJCFLAGS=""
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9838 main (void)
9842 return 0;
9844 _ACEOF
9845 if ac_fn_objc_try_compile "$LINENO"
9846 then :
9848 else $as_nop
9849 ac_objc_werror_flag=$ac_save_objc_werror_flag
9850 OBJCFLAGS="-g"
9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9855 main (void)
9859 return 0;
9861 _ACEOF
9862 if ac_fn_objc_try_compile "$LINENO"
9863 then :
9864 ac_cv_prog_objc_g=yes
9866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9871 ac_objc_werror_flag=$ac_save_objc_werror_flag
9873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9874 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9875 if test $ac_test_OBJCFLAGS; then
9876 OBJCFLAGS=$ac_save_OBJCFLAGS
9877 elif test $ac_cv_prog_objc_g = yes; then
9878 if test "$GOBJC" = yes; then
9879 OBJCFLAGS="-g -O2"
9880 else
9881 OBJCFLAGS="-g"
9883 else
9884 if test "$GOBJC" = yes; then
9885 OBJCFLAGS="-O2"
9886 else
9887 OBJCFLAGS=
9890 ac_ext=m
9891 ac_cpp='$OBJCPP $CPPFLAGS'
9892 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9893 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9894 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9899 #include <Metal/Metal.h>
9901 main (void)
9903 id<MTLDevice> device; device.registryID;
9905 return 0;
9907 _ACEOF
9908 if ac_fn_objc_try_compile "$LINENO"
9909 then :
9910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9911 printf "%s\n" "yes" >&6; }
9913 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9915 else $as_nop
9916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9917 printf "%s\n" "no" >&6; }
9919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9920 ac_ext=c
9921 ac_cpp='$CPP $CPPFLAGS'
9922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9927 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9928 WINELOADER_DEPENDS="wine_info.plist"
9932 linux-android*)
9934 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9936 DLLFLAGS="$DLLFLAGS -fPIC"
9937 LDDLLFLAGS="-fPIC"
9938 LDEXECFLAGS="-Wl,-pie"
9939 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9941 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9942 if test ${ac_cv_cflags__Wl__z_defs+y}
9943 then :
9944 printf %s "(cached) " >&6
9945 else $as_nop
9946 ac_wine_try_cflags_saved=$CFLAGS
9947 CFLAGS="$CFLAGS -Wl,-z,defs"
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9950 int main(int argc, char **argv) { return 0; }
9951 _ACEOF
9952 if ac_fn_c_try_link "$LINENO"
9953 then :
9954 ac_cv_cflags__Wl__z_defs=yes
9955 else $as_nop
9956 ac_cv_cflags__Wl__z_defs=no
9958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9959 conftest$ac_exeext conftest.$ac_ext
9960 CFLAGS=$ac_wine_try_cflags_saved
9962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9963 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9964 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9965 then :
9966 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9969 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9970 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9971 then :
9972 printf %s "(cached) " >&6
9973 else $as_nop
9974 ac_wine_try_cflags_saved=$CFLAGS
9975 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9978 int main(int argc, char **argv) { return 0; }
9979 _ACEOF
9980 if ac_fn_c_try_link "$LINENO"
9981 then :
9982 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9983 else $as_nop
9984 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9987 conftest$ac_exeext conftest.$ac_ext
9988 CFLAGS=$ac_wine_try_cflags_saved
9990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9991 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9992 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9993 then :
9994 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9996 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9999 printf %s "checking for -lEGL... " >&6; }
10000 if test ${ac_cv_lib_soname_EGL+y}
10001 then :
10002 printf %s "(cached) " >&6
10003 else $as_nop
10004 ac_check_soname_save_LIBS=$LIBS
10005 LIBS="-lEGL $LIBS"
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10009 /* Override any GCC internal prototype to avoid an error.
10010 Use char because int might match the return type of a GCC
10011 builtin and then its argument prototype would still apply. */
10012 char eglGetProcAddress ();
10014 main (void)
10016 return eglGetProcAddress ();
10018 return 0;
10020 _ACEOF
10021 if ac_fn_c_try_link "$LINENO"
10022 then :
10023 case "$LIBEXT" in
10024 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10025 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'` ;;
10026 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10027 if ${ac_cv_lib_soname_EGL:+false} :
10028 then :
10029 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10030 fi ;;
10031 esac
10032 else $as_nop
10033 ac_cv_lib_soname_EGL=
10035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10036 conftest$ac_exeext conftest.$ac_ext
10037 LIBS=$ac_check_soname_save_LIBS
10039 if ${ac_cv_lib_soname_EGL:+false} :
10040 then :
10041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10042 printf "%s\n" "not found" >&6; }
10044 else $as_nop
10045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10046 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10048 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10053 printf %s "checking for -lGLESv2... " >&6; }
10054 if test ${ac_cv_lib_soname_GLESv2+y}
10055 then :
10056 printf %s "(cached) " >&6
10057 else $as_nop
10058 ac_check_soname_save_LIBS=$LIBS
10059 LIBS="-lGLESv2 $LIBS"
10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10063 /* Override any GCC internal prototype to avoid an error.
10064 Use char because int might match the return type of a GCC
10065 builtin and then its argument prototype would still apply. */
10066 char glFlush ();
10068 main (void)
10070 return glFlush ();
10072 return 0;
10074 _ACEOF
10075 if ac_fn_c_try_link "$LINENO"
10076 then :
10077 case "$LIBEXT" in
10078 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10079 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'` ;;
10080 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10081 if ${ac_cv_lib_soname_GLESv2:+false} :
10082 then :
10083 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10084 fi ;;
10085 esac
10086 else $as_nop
10087 ac_cv_lib_soname_GLESv2=
10089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10090 conftest$ac_exeext conftest.$ac_ext
10091 LIBS=$ac_check_soname_save_LIBS
10093 if ${ac_cv_lib_soname_GLESv2:+false} :
10094 then :
10095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10096 printf "%s\n" "not found" >&6; }
10098 else $as_nop
10099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10100 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10102 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10107 if test "x$exec_prefix" = xNONE
10108 then
10109 case $host_cpu in
10110 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10111 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10112 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10113 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10114 esac
10120 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10122 test "$ac_cv_sys_file_offset_bits" = 64 &&
10123 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10125 case $host_cpu in
10126 *i[3456789]86*)
10127 DLLFLAGS="$DLLFLAGS -fno-PIC"
10128 LDDLLFLAGS="-fno-PIC"
10129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10130 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10131 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10132 then :
10133 printf %s "(cached) " >&6
10134 else $as_nop
10135 ac_wine_try_cflags_saved=$CFLAGS
10136 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10139 int main(int argc, char **argv) { return 0; }
10140 _ACEOF
10141 if ac_fn_c_try_link "$LINENO"
10142 then :
10143 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10144 else $as_nop
10145 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10148 conftest$ac_exeext conftest.$ac_ext
10149 CFLAGS=$ac_wine_try_cflags_saved
10151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10152 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10153 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10154 then :
10155 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10159 DLLFLAGS="$DLLFLAGS -fPIC"
10160 LDDLLFLAGS="-fPIC" ;;
10161 esac
10163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10164 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10165 if test ${ac_cv_cflags__Wl__z_defs+y}
10166 then :
10167 printf %s "(cached) " >&6
10168 else $as_nop
10169 ac_wine_try_cflags_saved=$CFLAGS
10170 CFLAGS="$CFLAGS -Wl,-z,defs"
10171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10173 int main(int argc, char **argv) { return 0; }
10174 _ACEOF
10175 if ac_fn_c_try_link "$LINENO"
10176 then :
10177 ac_cv_cflags__Wl__z_defs=yes
10178 else $as_nop
10179 ac_cv_cflags__Wl__z_defs=no
10181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10182 conftest$ac_exeext conftest.$ac_ext
10183 CFLAGS=$ac_wine_try_cflags_saved
10185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10186 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10187 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10188 then :
10189 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10192 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10193 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10194 then :
10195 printf %s "(cached) " >&6
10196 else $as_nop
10197 ac_wine_try_cflags_saved=$CFLAGS
10198 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10201 int main(int argc, char **argv) { return 0; }
10202 _ACEOF
10203 if ac_fn_c_try_link "$LINENO"
10204 then :
10205 ac_cv_cflags__Wl___export_dynamic=yes
10206 else $as_nop
10207 ac_cv_cflags__Wl___export_dynamic=no
10209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10210 conftest$ac_exeext conftest.$ac_ext
10211 CFLAGS=$ac_wine_try_cflags_saved
10213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10214 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10215 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10216 then :
10217 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10219 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10221 case $host_os in
10222 linux*)
10223 as_fn_append WINELOADER_LDFLAGS " -pie"
10224 case $HOST_ARCH in
10225 i386|arm)
10226 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10229 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10230 if test ${ac_cv_cflags__static_pie+y}
10231 then :
10232 printf %s "(cached) " >&6
10233 else $as_nop
10234 ac_wine_try_cflags_saved=$CFLAGS
10235 CFLAGS="$CFLAGS -static-pie"
10236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10237 /* end confdefs.h. */
10238 int main(int argc, char **argv) { return 0; }
10239 _ACEOF
10240 if ac_fn_c_try_link "$LINENO"
10241 then :
10242 ac_cv_cflags__static_pie=yes
10243 else $as_nop
10244 ac_cv_cflags__static_pie=no
10246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10247 conftest$ac_exeext conftest.$ac_ext
10248 CFLAGS=$ac_wine_try_cflags_saved
10250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10251 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10252 if test "x$ac_cv_cflags__static_pie" = xyes
10253 then :
10254 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10255 else $as_nop
10256 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10259 esac
10262 case $HOST_ARCH in
10263 i386|arm)
10264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10265 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10266 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10267 then :
10268 printf %s "(cached) " >&6
10269 else $as_nop
10270 ac_wine_try_cflags_saved=$CFLAGS
10271 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10273 /* end confdefs.h. */
10274 int main(int argc, char **argv) { return 0; }
10275 _ACEOF
10276 if ac_fn_c_try_link "$LINENO"
10277 then :
10278 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10279 else $as_nop
10280 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10283 conftest$ac_exeext conftest.$ac_ext
10284 CFLAGS=$ac_wine_try_cflags_saved
10286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10287 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10288 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10289 then :
10290 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10291 else $as_nop
10292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10293 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10294 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10295 then :
10296 printf %s "(cached) " >&6
10297 else $as_nop
10298 ac_wine_try_cflags_saved=$CFLAGS
10299 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10301 /* end confdefs.h. */
10302 int main(int argc, char **argv) { return 0; }
10303 _ACEOF
10304 if ac_fn_c_try_link "$LINENO"
10305 then :
10306 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10307 else $as_nop
10308 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10311 conftest$ac_exeext conftest.$ac_ext
10312 CFLAGS=$ac_wine_try_cflags_saved
10314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10315 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10316 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10317 then :
10318 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10323 as_fn_append WINELOADER_LDFLAGS " -pie"
10325 esac
10327 esac
10329 esac
10331 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10332 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10333 enable_winemac_drv=${enable_winemac_drv:-no}
10335 PE_ARCHS=""
10337 cross_archs=
10338 if test ${enable_archs+y}
10339 then :
10340 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10341 ac_save_IFS=$IFS
10342 IFS=' ,'
10343 set x $enable_archs
10344 IFS=$ac_save_IFS
10345 shift
10346 for arch
10348 case $arch in
10349 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10350 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10351 esac
10352 done
10353 else $as_nop
10354 if test "x$with_mingw" != xno
10355 then
10356 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10357 case "x$with_mingw" in
10358 x|xyes) ;;
10359 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10360 esac
10364 for wine_arch in $cross_archs
10366 if eval \${${wine_arch}_CC:+false} :
10367 then :
10368 case $wine_arch in
10369 aarch64)
10370 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10372 # Extract the first word of "$ac_prog", so it can be a program name with args.
10373 set dummy $ac_prog; ac_word=$2
10374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10375 printf %s "checking for $ac_word... " >&6; }
10376 if test ${ac_cv_prog_aarch64_CC+y}
10377 then :
10378 printf %s "(cached) " >&6
10379 else $as_nop
10380 if test -n "$aarch64_CC"; then
10381 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10382 else
10383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10384 for as_dir in $PATH
10386 IFS=$as_save_IFS
10387 case $as_dir in #(((
10388 '') as_dir=./ ;;
10389 */) ;;
10390 *) as_dir=$as_dir/ ;;
10391 esac
10392 for ac_exec_ext in '' $ac_executable_extensions; do
10393 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10394 ac_cv_prog_aarch64_CC="$ac_prog"
10395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10396 break 2
10398 done
10399 done
10400 IFS=$as_save_IFS
10404 aarch64_CC=$ac_cv_prog_aarch64_CC
10405 if test -n "$aarch64_CC"; then
10406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10407 printf "%s\n" "$aarch64_CC" >&6; }
10408 else
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10410 printf "%s\n" "no" >&6; }
10414 test -n "$aarch64_CC" && break
10415 done
10416 test -n "$aarch64_CC" || aarch64_CC="false"
10419 arm)
10420 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10422 # Extract the first word of "$ac_prog", so it can be a program name with args.
10423 set dummy $ac_prog; ac_word=$2
10424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10425 printf %s "checking for $ac_word... " >&6; }
10426 if test ${ac_cv_prog_arm_CC+y}
10427 then :
10428 printf %s "(cached) " >&6
10429 else $as_nop
10430 if test -n "$arm_CC"; then
10431 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10432 else
10433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10434 for as_dir in $PATH
10436 IFS=$as_save_IFS
10437 case $as_dir in #(((
10438 '') as_dir=./ ;;
10439 */) ;;
10440 *) as_dir=$as_dir/ ;;
10441 esac
10442 for ac_exec_ext in '' $ac_executable_extensions; do
10443 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10444 ac_cv_prog_arm_CC="$ac_prog"
10445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10446 break 2
10448 done
10449 done
10450 IFS=$as_save_IFS
10454 arm_CC=$ac_cv_prog_arm_CC
10455 if test -n "$arm_CC"; then
10456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10457 printf "%s\n" "$arm_CC" >&6; }
10458 else
10459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10460 printf "%s\n" "no" >&6; }
10464 test -n "$arm_CC" && break
10465 done
10466 test -n "$arm_CC" || arm_CC="false"
10469 i386)
10470 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 "
10471 for ac_prog in $ac_prefix_list clang
10473 # Extract the first word of "$ac_prog", so it can be a program name with args.
10474 set dummy $ac_prog; ac_word=$2
10475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10476 printf %s "checking for $ac_word... " >&6; }
10477 if test ${ac_cv_prog_i386_CC+y}
10478 then :
10479 printf %s "(cached) " >&6
10480 else $as_nop
10481 if test -n "$i386_CC"; then
10482 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10483 else
10484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10485 for as_dir in $PATH
10487 IFS=$as_save_IFS
10488 case $as_dir in #(((
10489 '') as_dir=./ ;;
10490 */) ;;
10491 *) as_dir=$as_dir/ ;;
10492 esac
10493 for ac_exec_ext in '' $ac_executable_extensions; do
10494 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10495 ac_cv_prog_i386_CC="$ac_prog"
10496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10497 break 2
10499 done
10500 done
10501 IFS=$as_save_IFS
10505 i386_CC=$ac_cv_prog_i386_CC
10506 if test -n "$i386_CC"; then
10507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10508 printf "%s\n" "$i386_CC" >&6; }
10509 else
10510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10511 printf "%s\n" "no" >&6; }
10515 test -n "$i386_CC" && break
10516 done
10517 test -n "$i386_CC" || i386_CC="false"
10520 x86_64)
10521 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10522 for ac_prog in $ac_prefix_list clang
10524 # Extract the first word of "$ac_prog", so it can be a program name with args.
10525 set dummy $ac_prog; ac_word=$2
10526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10527 printf %s "checking for $ac_word... " >&6; }
10528 if test ${ac_cv_prog_x86_64_CC+y}
10529 then :
10530 printf %s "(cached) " >&6
10531 else $as_nop
10532 if test -n "$x86_64_CC"; then
10533 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10534 else
10535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10536 for as_dir in $PATH
10538 IFS=$as_save_IFS
10539 case $as_dir in #(((
10540 '') as_dir=./ ;;
10541 */) ;;
10542 *) as_dir=$as_dir/ ;;
10543 esac
10544 for ac_exec_ext in '' $ac_executable_extensions; do
10545 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10546 ac_cv_prog_x86_64_CC="$ac_prog"
10547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10548 break 2
10550 done
10551 done
10552 IFS=$as_save_IFS
10556 x86_64_CC=$ac_cv_prog_x86_64_CC
10557 if test -n "$x86_64_CC"; then
10558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10559 printf "%s\n" "$x86_64_CC" >&6; }
10560 else
10561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10562 printf "%s\n" "no" >&6; }
10566 test -n "$x86_64_CC" && break
10567 done
10568 test -n "$x86_64_CC" || x86_64_CC="false"
10571 esac
10574 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10575 then :
10576 continue
10579 saved_CC=$CC
10580 saved_CFLAGS=$CFLAGS
10581 saved_LDFLAGS=$LDFLAGS
10583 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10584 LDFLAGS=$CROSSLDFLAGS
10585 eval CC=\$${wine_arch}_CC
10586 eval ${wine_arch}_CFLAGS=\$CFLAGS
10587 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10588 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10590 target=""
10591 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10594 printf %s "checking whether $CC works... " >&6; }
10595 if eval test \${$as_wine_cv_crosscc+y}
10596 then :
10597 printf %s "(cached) " >&6
10598 else $as_nop
10599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10600 /* end confdefs.h. */
10603 main (void)
10607 return 0;
10609 _ACEOF
10610 if ac_fn_c_try_compile "$LINENO"
10611 then :
10612 eval "$as_wine_cv_crosscc=yes"
10613 else $as_nop
10614 eval "$as_wine_cv_crosscc=no"
10616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10618 eval ac_res=\$$as_wine_cv_crosscc
10619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10620 printf "%s\n" "$ac_res" >&6; }
10621 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10622 then :
10623 set x $CC
10624 shift
10625 while test $# -ge 1
10627 case "$1" in
10628 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10629 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10630 esac
10631 shift
10632 done
10634 llvm_target=$target
10635 if test -z "$llvm_target"
10636 then
10637 case $wine_arch in
10638 i386) llvm_target=i686-windows ;;
10639 arm) llvm_target=armv7-windows ;;
10640 *) llvm_target=$wine_arch-windows ;;
10641 esac
10643 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10644 case $llvm_target in
10645 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10646 esac
10647 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10649 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10650 if eval test \${$as_ac_var+y}
10651 then :
10652 printf %s "(cached) " >&6
10653 else $as_nop
10654 ac_wine_try_cflags_saved=$CFLAGS
10655 ac_wine_try_cflags_saved_exeext=$ac_exeext
10656 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10657 ac_exeext=".exe"
10658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10659 /* end confdefs.h. */
10660 int __cdecl mainCRTStartup(void) { return 0; }
10661 _ACEOF
10662 if ac_fn_c_try_link "$LINENO"
10663 then :
10664 eval "$as_ac_var=yes"
10665 else $as_nop
10666 eval "$as_ac_var=no"
10668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10669 conftest$ac_exeext conftest.$ac_ext
10670 CFLAGS=$ac_wine_try_cflags_saved
10671 ac_exeext=$ac_wine_try_cflags_saved_exeext
10673 eval ac_res=\$$as_ac_var
10674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10675 printf "%s\n" "$ac_res" >&6; }
10676 if eval test \"x\$"$as_ac_var"\" = x"yes"
10677 then :
10678 target=$llvm_target
10679 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10680 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10681 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10682 fi }
10683 eval "${wine_arch}_TARGET=\$target"
10687 if test -z "$target"
10688 then
10689 CC=$saved_CC
10690 CFLAGS=$saved_CFLAGS
10691 LDFLAGS=$saved_LDFLAGS
10692 continue
10694 as_fn_append PE_ARCHS " $wine_arch"
10696 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10699 printf %s "checking for $CC option to enable C99 features... " >&6; }
10700 if eval test \${$as_wine_cv_crosscc_c99+y}
10701 then :
10702 printf %s "(cached) " >&6
10703 else $as_nop
10704 eval "$as_wine_cv_crosscc_c99=no"
10705 for arg in '' '-std=gnu99'
10707 test -z "$arg" || CC="$CC $arg"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10710 $ac_c_conftest_c99_program
10711 _ACEOF
10712 if ac_fn_c_try_compile "$LINENO"
10713 then :
10714 eval "$as_wine_cv_crosscc_c99=\$arg"
10715 else $as_nop
10716 eval "$as_wine_cv_crosscc_c99=no"
10718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10719 eval CC=\$${wine_arch}_CC
10720 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10721 then :
10723 else $as_nop
10724 break
10726 done
10729 eval res=\$$as_wine_cv_crosscc_c99
10730 case "x$res" in
10731 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10732 printf "%s\n" "none needed" >&6; } ;;
10733 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10734 printf "%s\n" "unsupported" >&6; } ;;
10735 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10736 printf "%s\n" "$res" >&6; }
10737 as_fn_append ${wine_arch}_CC " $res" ;;
10738 esac
10741 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10743 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10744 if eval test \${$as_ac_var+y}
10745 then :
10746 printf %s "(cached) " >&6
10747 else $as_nop
10748 ac_wine_try_cflags_saved=$CFLAGS
10749 ac_wine_try_cflags_saved_exeext=$ac_exeext
10750 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10751 ac_exeext=".exe"
10752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h. */
10754 int __cdecl mainCRTStartup(void) { return 0; }
10755 _ACEOF
10756 if ac_fn_c_try_link "$LINENO"
10757 then :
10758 eval "$as_ac_var=yes"
10759 else $as_nop
10760 eval "$as_ac_var=no"
10762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10763 conftest$ac_exeext conftest.$ac_ext
10764 CFLAGS=$ac_wine_try_cflags_saved
10765 ac_exeext=$ac_wine_try_cflags_saved_exeext
10767 eval ac_res=\$$as_ac_var
10768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10769 printf "%s\n" "$ac_res" >&6; }
10770 if eval test \"x\$"$as_ac_var"\" = x"yes"
10771 then :
10772 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10773 fi }
10774 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10776 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10777 if eval test \${$as_ac_var+y}
10778 then :
10779 printf %s "(cached) " >&6
10780 else $as_nop
10781 ac_wine_try_cflags_saved=$CFLAGS
10782 ac_wine_try_cflags_saved_exeext=$ac_exeext
10783 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10784 ac_exeext=".exe"
10785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10786 /* end confdefs.h. */
10787 int __cdecl mainCRTStartup(void) { return 0; }
10788 _ACEOF
10789 if ac_fn_c_try_link "$LINENO"
10790 then :
10791 eval "$as_ac_var=yes"
10792 else $as_nop
10793 eval "$as_ac_var=no"
10795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10796 conftest$ac_exeext conftest.$ac_ext
10797 CFLAGS=$ac_wine_try_cflags_saved
10798 ac_exeext=$ac_wine_try_cflags_saved_exeext
10800 eval ac_res=\$$as_ac_var
10801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10802 printf "%s\n" "$ac_res" >&6; }
10803 if eval test \"x\$"$as_ac_var"\" = x"yes"
10804 then :
10805 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10806 fi }
10807 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10809 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10810 if eval test \${$as_ac_var+y}
10811 then :
10812 printf %s "(cached) " >&6
10813 else $as_nop
10814 ac_wine_try_cflags_saved=$CFLAGS
10815 ac_wine_try_cflags_saved_exeext=$ac_exeext
10816 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10817 ac_exeext=".exe"
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10820 int __cdecl mainCRTStartup(void) { return 0; }
10821 _ACEOF
10822 if ac_fn_c_try_link "$LINENO"
10823 then :
10824 eval "$as_ac_var=yes"
10825 else $as_nop
10826 eval "$as_ac_var=no"
10828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10829 conftest$ac_exeext conftest.$ac_ext
10830 CFLAGS=$ac_wine_try_cflags_saved
10831 ac_exeext=$ac_wine_try_cflags_saved_exeext
10833 eval ac_res=\$$as_ac_var
10834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10835 printf "%s\n" "$ac_res" >&6; }
10836 if eval test \"x\$"$as_ac_var"\" = x"yes"
10837 then :
10838 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10839 fi }
10840 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10842 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10843 if eval test \${$as_ac_var+y}
10844 then :
10845 printf %s "(cached) " >&6
10846 else $as_nop
10847 ac_wine_try_cflags_saved=$CFLAGS
10848 ac_wine_try_cflags_saved_exeext=$ac_exeext
10849 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10850 ac_exeext=".exe"
10851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10852 /* end confdefs.h. */
10853 int __cdecl mainCRTStartup(void) { return 0; }
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"
10856 then :
10857 eval "$as_ac_var=yes"
10858 else $as_nop
10859 eval "$as_ac_var=no"
10861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10862 conftest$ac_exeext conftest.$ac_ext
10863 CFLAGS=$ac_wine_try_cflags_saved
10864 ac_exeext=$ac_wine_try_cflags_saved_exeext
10866 eval ac_res=\$$as_ac_var
10867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10868 printf "%s\n" "$ac_res" >&6; }
10869 if eval test \"x\$"$as_ac_var"\" = x"yes"
10870 then :
10871 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10872 fi }
10873 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10875 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10876 if eval test \${$as_ac_var+y}
10877 then :
10878 printf %s "(cached) " >&6
10879 else $as_nop
10880 ac_wine_try_cflags_saved=$CFLAGS
10881 ac_wine_try_cflags_saved_exeext=$ac_exeext
10882 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10883 ac_exeext=".exe"
10884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h. */
10886 int __cdecl mainCRTStartup(void) { return 0; }
10887 _ACEOF
10888 if ac_fn_c_try_link "$LINENO"
10889 then :
10890 eval "$as_ac_var=yes"
10891 else $as_nop
10892 eval "$as_ac_var=no"
10894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10895 conftest$ac_exeext conftest.$ac_ext
10896 CFLAGS=$ac_wine_try_cflags_saved
10897 ac_exeext=$ac_wine_try_cflags_saved_exeext
10899 eval ac_res=\$$as_ac_var
10900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10901 printf "%s\n" "$ac_res" >&6; }
10902 if eval test \"x\$"$as_ac_var"\" = x"yes"
10903 then :
10904 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10905 fi }
10906 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10908 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10909 if eval test \${$as_ac_var+y}
10910 then :
10911 printf %s "(cached) " >&6
10912 else $as_nop
10913 ac_wine_try_cflags_saved=$CFLAGS
10914 ac_wine_try_cflags_saved_exeext=$ac_exeext
10915 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10916 ac_exeext=".exe"
10917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10918 /* end confdefs.h. */
10919 int __cdecl mainCRTStartup(void) { return 0; }
10920 _ACEOF
10921 if ac_fn_c_try_link "$LINENO"
10922 then :
10923 eval "$as_ac_var=yes"
10924 else $as_nop
10925 eval "$as_ac_var=no"
10927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10928 conftest$ac_exeext conftest.$ac_ext
10929 CFLAGS=$ac_wine_try_cflags_saved
10930 ac_exeext=$ac_wine_try_cflags_saved_exeext
10932 eval ac_res=\$$as_ac_var
10933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10934 printf "%s\n" "$ac_res" >&6; }
10935 if eval test \"x\$"$as_ac_var"\" = x"yes"
10936 then :
10937 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10938 fi }
10939 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10941 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10942 if eval test \${$as_ac_var+y}
10943 then :
10944 printf %s "(cached) " >&6
10945 else $as_nop
10946 ac_wine_try_cflags_saved=$CFLAGS
10947 ac_wine_try_cflags_saved_exeext=$ac_exeext
10948 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10949 ac_exeext=".exe"
10950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10952 int __cdecl mainCRTStartup(void) { return 0; }
10953 _ACEOF
10954 if ac_fn_c_try_link "$LINENO"
10955 then :
10956 eval "$as_ac_var=yes"
10957 else $as_nop
10958 eval "$as_ac_var=no"
10960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10961 conftest$ac_exeext conftest.$ac_ext
10962 CFLAGS=$ac_wine_try_cflags_saved
10963 ac_exeext=$ac_wine_try_cflags_saved_exeext
10965 eval ac_res=\$$as_ac_var
10966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10967 printf "%s\n" "$ac_res" >&6; }
10968 if eval test \"x\$"$as_ac_var"\" = x"yes"
10969 then :
10970 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10971 fi }
10972 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10974 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10975 if eval test \${$as_ac_var+y}
10976 then :
10977 printf %s "(cached) " >&6
10978 else $as_nop
10979 ac_wine_try_cflags_saved=$CFLAGS
10980 ac_wine_try_cflags_saved_exeext=$ac_exeext
10981 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10982 ac_exeext=".exe"
10983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10984 /* end confdefs.h. */
10985 int __cdecl mainCRTStartup(void) { return 0; }
10986 _ACEOF
10987 if ac_fn_c_try_link "$LINENO"
10988 then :
10989 eval "$as_ac_var=yes"
10990 else $as_nop
10991 eval "$as_ac_var=no"
10993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10994 conftest$ac_exeext conftest.$ac_ext
10995 CFLAGS=$ac_wine_try_cflags_saved
10996 ac_exeext=$ac_wine_try_cflags_saved_exeext
10998 eval ac_res=\$$as_ac_var
10999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11000 printf "%s\n" "$ac_res" >&6; }
11001 if eval test \"x\$"$as_ac_var"\" = x"yes"
11002 then :
11003 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11004 fi }
11005 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11007 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11008 if eval test \${$as_ac_var+y}
11009 then :
11010 printf %s "(cached) " >&6
11011 else $as_nop
11012 ac_wine_try_cflags_saved=$CFLAGS
11013 ac_wine_try_cflags_saved_exeext=$ac_exeext
11014 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11015 ac_exeext=".exe"
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11018 int __cdecl mainCRTStartup(void) { return 0; }
11019 _ACEOF
11020 if ac_fn_c_try_link "$LINENO"
11021 then :
11022 eval "$as_ac_var=yes"
11023 else $as_nop
11024 eval "$as_ac_var=no"
11026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11027 conftest$ac_exeext conftest.$ac_ext
11028 CFLAGS=$ac_wine_try_cflags_saved
11029 ac_exeext=$ac_wine_try_cflags_saved_exeext
11031 eval ac_res=\$$as_ac_var
11032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11033 printf "%s\n" "$ac_res" >&6; }
11034 if eval test \"x\$"$as_ac_var"\" = x"yes"
11035 then :
11036 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11037 fi }
11038 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11040 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11041 if eval test \${$as_ac_var+y}
11042 then :
11043 printf %s "(cached) " >&6
11044 else $as_nop
11045 ac_wine_try_cflags_saved=$CFLAGS
11046 ac_wine_try_cflags_saved_exeext=$ac_exeext
11047 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11048 ac_exeext=".exe"
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11051 int __cdecl mainCRTStartup(void) { return 0; }
11052 _ACEOF
11053 if ac_fn_c_try_link "$LINENO"
11054 then :
11055 eval "$as_ac_var=yes"
11056 else $as_nop
11057 eval "$as_ac_var=no"
11059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11060 conftest$ac_exeext conftest.$ac_ext
11061 CFLAGS=$ac_wine_try_cflags_saved
11062 ac_exeext=$ac_wine_try_cflags_saved_exeext
11064 eval ac_res=\$$as_ac_var
11065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11066 printf "%s\n" "$ac_res" >&6; }
11067 if eval test \"x\$"$as_ac_var"\" = x"yes"
11068 then :
11069 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11070 fi }
11071 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11073 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11074 if eval test \${$as_ac_var+y}
11075 then :
11076 printf %s "(cached) " >&6
11077 else $as_nop
11078 ac_wine_try_cflags_saved=$CFLAGS
11079 ac_wine_try_cflags_saved_exeext=$ac_exeext
11080 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11081 ac_exeext=".exe"
11082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11083 /* end confdefs.h. */
11084 int __cdecl mainCRTStartup(void) { return 0; }
11085 _ACEOF
11086 if ac_fn_c_try_link "$LINENO"
11087 then :
11088 eval "$as_ac_var=yes"
11089 else $as_nop
11090 eval "$as_ac_var=no"
11092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11093 conftest$ac_exeext conftest.$ac_ext
11094 CFLAGS=$ac_wine_try_cflags_saved
11095 ac_exeext=$ac_wine_try_cflags_saved_exeext
11097 eval ac_res=\$$as_ac_var
11098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11099 printf "%s\n" "$ac_res" >&6; }
11100 if eval test \"x\$"$as_ac_var"\" = x"yes"
11101 then :
11102 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11103 fi }
11104 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11106 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11107 if eval test \${$as_ac_var+y}
11108 then :
11109 printf %s "(cached) " >&6
11110 else $as_nop
11111 ac_wine_try_cflags_saved=$CFLAGS
11112 ac_wine_try_cflags_saved_exeext=$ac_exeext
11113 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11114 ac_exeext=".exe"
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11117 int __cdecl mainCRTStartup(void) { return 0; }
11118 _ACEOF
11119 if ac_fn_c_try_link "$LINENO"
11120 then :
11121 eval "$as_ac_var=yes"
11122 else $as_nop
11123 eval "$as_ac_var=no"
11125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11126 conftest$ac_exeext conftest.$ac_ext
11127 CFLAGS=$ac_wine_try_cflags_saved
11128 ac_exeext=$ac_wine_try_cflags_saved_exeext
11130 eval ac_res=\$$as_ac_var
11131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11132 printf "%s\n" "$ac_res" >&6; }
11133 if eval test \"x\$"$as_ac_var"\" = x"yes"
11134 then :
11135 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11136 fi }
11137 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11139 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11140 if eval test \${$as_ac_var+y}
11141 then :
11142 printf %s "(cached) " >&6
11143 else $as_nop
11144 ac_wine_try_cflags_saved=$CFLAGS
11145 ac_wine_try_cflags_saved_exeext=$ac_exeext
11146 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11147 ac_exeext=".exe"
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11150 int __cdecl mainCRTStartup(void) { return 0; }
11151 _ACEOF
11152 if ac_fn_c_try_link "$LINENO"
11153 then :
11154 eval "$as_ac_var=yes"
11155 else $as_nop
11156 eval "$as_ac_var=no"
11158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11159 conftest$ac_exeext conftest.$ac_ext
11160 CFLAGS=$ac_wine_try_cflags_saved
11161 ac_exeext=$ac_wine_try_cflags_saved_exeext
11163 eval ac_res=\$$as_ac_var
11164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11165 printf "%s\n" "$ac_res" >&6; }
11166 if eval test \"x\$"$as_ac_var"\" = x"yes"
11167 then :
11168 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11169 fi }
11170 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11172 printf %s "checking whether $CC supports -Wvla... " >&6; }
11173 if eval test \${$as_ac_var+y}
11174 then :
11175 printf %s "(cached) " >&6
11176 else $as_nop
11177 ac_wine_try_cflags_saved=$CFLAGS
11178 ac_wine_try_cflags_saved_exeext=$ac_exeext
11179 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11180 ac_exeext=".exe"
11181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11182 /* end confdefs.h. */
11183 int __cdecl mainCRTStartup(void) { return 0; }
11184 _ACEOF
11185 if ac_fn_c_try_link "$LINENO"
11186 then :
11187 eval "$as_ac_var=yes"
11188 else $as_nop
11189 eval "$as_ac_var=no"
11191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11192 conftest$ac_exeext conftest.$ac_ext
11193 CFLAGS=$ac_wine_try_cflags_saved
11194 ac_exeext=$ac_wine_try_cflags_saved_exeext
11196 eval ac_res=\$$as_ac_var
11197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11198 printf "%s\n" "$ac_res" >&6; }
11199 if eval test \"x\$"$as_ac_var"\" = x"yes"
11200 then :
11201 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11202 fi }
11203 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11205 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11206 if eval test \${$as_ac_var+y}
11207 then :
11208 printf %s "(cached) " >&6
11209 else $as_nop
11210 ac_wine_try_cflags_saved=$CFLAGS
11211 ac_wine_try_cflags_saved_exeext=$ac_exeext
11212 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11213 ac_exeext=".exe"
11214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h. */
11216 int __cdecl mainCRTStartup(void) { return 0; }
11217 _ACEOF
11218 if ac_fn_c_try_link "$LINENO"
11219 then :
11220 eval "$as_ac_var=yes"
11221 else $as_nop
11222 eval "$as_ac_var=no"
11224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11225 conftest$ac_exeext conftest.$ac_ext
11226 CFLAGS=$ac_wine_try_cflags_saved
11227 ac_exeext=$ac_wine_try_cflags_saved_exeext
11229 eval ac_res=\$$as_ac_var
11230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11231 printf "%s\n" "$ac_res" >&6; }
11232 if eval test \"x\$"$as_ac_var"\" = x"yes"
11233 then :
11234 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11235 fi }
11236 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11238 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11239 if eval test \${$as_ac_var+y}
11240 then :
11241 printf %s "(cached) " >&6
11242 else $as_nop
11243 ac_wine_try_cflags_saved=$CFLAGS
11244 ac_wine_try_cflags_saved_exeext=$ac_exeext
11245 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11246 ac_exeext=".exe"
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11249 int __cdecl mainCRTStartup(void) { return 0; }
11250 _ACEOF
11251 if ac_fn_c_try_link "$LINENO"
11252 then :
11253 eval "$as_ac_var=yes"
11254 else $as_nop
11255 eval "$as_ac_var=no"
11257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11258 conftest$ac_exeext conftest.$ac_ext
11259 CFLAGS=$ac_wine_try_cflags_saved
11260 ac_exeext=$ac_wine_try_cflags_saved_exeext
11262 eval ac_res=\$$as_ac_var
11263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11264 printf "%s\n" "$ac_res" >&6; }
11265 if eval test \"x\$"$as_ac_var"\" = x"yes"
11266 then :
11267 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11268 fi }
11269 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11271 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11272 if eval test \${$as_ac_var+y}
11273 then :
11274 printf %s "(cached) " >&6
11275 else $as_nop
11276 ac_wine_try_cflags_saved=$CFLAGS
11277 ac_wine_try_cflags_saved_exeext=$ac_exeext
11278 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11279 ac_exeext=".exe"
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11282 int __cdecl mainCRTStartup(void) { return 0; }
11283 _ACEOF
11284 if ac_fn_c_try_link "$LINENO"
11285 then :
11286 eval "$as_ac_var=yes"
11287 else $as_nop
11288 eval "$as_ac_var=no"
11290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11291 conftest$ac_exeext conftest.$ac_ext
11292 CFLAGS=$ac_wine_try_cflags_saved
11293 ac_exeext=$ac_wine_try_cflags_saved_exeext
11295 eval ac_res=\$$as_ac_var
11296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11297 printf "%s\n" "$ac_res" >&6; }
11298 if eval test \"x\$"$as_ac_var"\" = x"yes"
11299 then :
11300 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11301 fi }
11302 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11304 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11305 if eval test \${$as_ac_var+y}
11306 then :
11307 printf %s "(cached) " >&6
11308 else $as_nop
11309 ac_wine_try_cflags_saved=$CFLAGS
11310 ac_wine_try_cflags_saved_exeext=$ac_exeext
11311 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11312 ac_exeext=".exe"
11313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11315 int __cdecl mainCRTStartup(void) { return 0; }
11316 _ACEOF
11317 if ac_fn_c_try_link "$LINENO"
11318 then :
11319 eval "$as_ac_var=yes"
11320 else $as_nop
11321 eval "$as_ac_var=no"
11323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11324 conftest$ac_exeext conftest.$ac_ext
11325 CFLAGS=$ac_wine_try_cflags_saved
11326 ac_exeext=$ac_wine_try_cflags_saved_exeext
11328 eval ac_res=\$$as_ac_var
11329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11330 printf "%s\n" "$ac_res" >&6; }
11331 if eval test \"x\$"$as_ac_var"\" = x"yes"
11332 then :
11333 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11334 fi }
11336 case $wine_arch in
11337 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11339 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11340 if eval test \${$as_ac_var+y}
11341 then :
11342 printf %s "(cached) " >&6
11343 else $as_nop
11344 ac_wine_try_cflags_saved=$CFLAGS
11345 ac_wine_try_cflags_saved_exeext=$ac_exeext
11346 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11347 ac_exeext=".exe"
11348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11349 /* end confdefs.h. */
11350 int __cdecl mainCRTStartup(void) { return 0; }
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"
11353 then :
11354 eval "$as_ac_var=yes"
11355 else $as_nop
11356 eval "$as_ac_var=no"
11358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11359 conftest$ac_exeext conftest.$ac_ext
11360 CFLAGS=$ac_wine_try_cflags_saved
11361 ac_exeext=$ac_wine_try_cflags_saved_exeext
11363 eval ac_res=\$$as_ac_var
11364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11365 printf "%s\n" "$ac_res" >&6; }
11366 if eval test \"x\$"$as_ac_var"\" = x"yes"
11367 then :
11368 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11369 fi }
11370 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11372 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11373 if eval test \${$as_ac_var+y}
11374 then :
11375 printf %s "(cached) " >&6
11376 else $as_nop
11377 ac_wine_try_cflags_saved=$CFLAGS
11378 ac_wine_try_cflags_saved_exeext=$ac_exeext
11379 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11380 ac_exeext=".exe"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11383 int __cdecl mainCRTStartup(void) { return 0; }
11384 _ACEOF
11385 if ac_fn_c_try_link "$LINENO"
11386 then :
11387 eval "$as_ac_var=yes"
11388 else $as_nop
11389 eval "$as_ac_var=no"
11391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11392 conftest$ac_exeext conftest.$ac_ext
11393 CFLAGS=$ac_wine_try_cflags_saved
11394 ac_exeext=$ac_wine_try_cflags_saved_exeext
11396 eval ac_res=\$$as_ac_var
11397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11398 printf "%s\n" "$ac_res" >&6; }
11399 if eval test \"x\$"$as_ac_var"\" = x"yes"
11400 then :
11401 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11402 fi } ;;
11403 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11405 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11406 if eval test \${$as_ac_var+y}
11407 then :
11408 printf %s "(cached) " >&6
11409 else $as_nop
11410 ac_wine_try_cflags_saved=$CFLAGS
11411 ac_wine_try_cflags_saved_exeext=$ac_exeext
11412 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11413 ac_exeext=".exe"
11414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11415 /* end confdefs.h. */
11416 int __cdecl mainCRTStartup(void) { return 0; }
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"
11419 then :
11420 eval "$as_ac_var=yes"
11421 else $as_nop
11422 eval "$as_ac_var=no"
11424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11425 conftest$ac_exeext conftest.$ac_ext
11426 CFLAGS=$ac_wine_try_cflags_saved
11427 ac_exeext=$ac_wine_try_cflags_saved_exeext
11429 eval ac_res=\$$as_ac_var
11430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11431 printf "%s\n" "$ac_res" >&6; }
11432 if eval test \"x\$"$as_ac_var"\" = x"yes"
11433 then :
11434 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11435 fi }
11436 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11438 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11439 if eval test \${$as_ac_var+y}
11440 then :
11441 printf %s "(cached) " >&6
11442 else $as_nop
11443 ac_wine_try_cflags_saved=$CFLAGS
11444 ac_wine_try_cflags_saved_exeext=$ac_exeext
11445 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11446 ac_exeext=".exe"
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11449 int __cdecl mainCRTStartup(void) { return 0; }
11450 _ACEOF
11451 if ac_fn_c_try_link "$LINENO"
11452 then :
11453 eval "$as_ac_var=yes"
11454 else $as_nop
11455 eval "$as_ac_var=no"
11457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11458 conftest$ac_exeext conftest.$ac_ext
11459 CFLAGS=$ac_wine_try_cflags_saved
11460 ac_exeext=$ac_wine_try_cflags_saved_exeext
11462 eval ac_res=\$$as_ac_var
11463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11464 printf "%s\n" "$ac_res" >&6; }
11465 if eval test \"x\$"$as_ac_var"\" = x"yes"
11466 then :
11467 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11468 fi }
11469 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11471 printf %s "checking whether $CC supports -mcx16... " >&6; }
11472 if eval test \${$as_ac_var+y}
11473 then :
11474 printf %s "(cached) " >&6
11475 else $as_nop
11476 ac_wine_try_cflags_saved=$CFLAGS
11477 ac_wine_try_cflags_saved_exeext=$ac_exeext
11478 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11479 ac_exeext=".exe"
11480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11481 /* end confdefs.h. */
11482 int __cdecl mainCRTStartup(void) { return 0; }
11483 _ACEOF
11484 if ac_fn_c_try_link "$LINENO"
11485 then :
11486 eval "$as_ac_var=yes"
11487 else $as_nop
11488 eval "$as_ac_var=no"
11490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11491 conftest$ac_exeext conftest.$ac_ext
11492 CFLAGS=$ac_wine_try_cflags_saved
11493 ac_exeext=$ac_wine_try_cflags_saved_exeext
11495 eval ac_res=\$$as_ac_var
11496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11497 printf "%s\n" "$ac_res" >&6; }
11498 if eval test \"x\$"$as_ac_var"\" = x"yes"
11499 then :
11500 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11501 fi }
11502 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11504 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11505 if eval test \${$as_ac_var+y}
11506 then :
11507 printf %s "(cached) " >&6
11508 else $as_nop
11509 ac_wine_try_cflags_saved=$CFLAGS
11510 ac_wine_try_cflags_saved_exeext=$ac_exeext
11511 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11512 ac_exeext=".exe"
11513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11514 /* end confdefs.h. */
11515 int __cdecl mainCRTStartup(void) { return 0; }
11516 _ACEOF
11517 if ac_fn_c_try_link "$LINENO"
11518 then :
11519 eval "$as_ac_var=yes"
11520 else $as_nop
11521 eval "$as_ac_var=no"
11523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11524 conftest$ac_exeext conftest.$ac_ext
11525 CFLAGS=$ac_wine_try_cflags_saved
11526 ac_exeext=$ac_wine_try_cflags_saved_exeext
11528 eval ac_res=\$$as_ac_var
11529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11530 printf "%s\n" "$ac_res" >&6; }
11531 if eval test \"x\$"$as_ac_var"\" = x"yes"
11532 then :
11533 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11534 fi } ;;
11535 esac
11537 wine_crossdebug=$CROSSDEBUG
11538 if test -z "$wine_crossdebug"
11539 then
11540 for ac_flag in $CFLAGS; do
11541 case $ac_flag in
11542 -gdwarf*) wine_crossdebug=dwarf ;;
11543 -gcodeview) wine_crossdebug=pdb ;;
11544 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11545 esac
11546 done
11549 ac_debug_format_seen=""
11550 for ac_flag in $CFLAGS; do
11551 case $ac_flag in
11552 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11553 esac
11554 done
11555 if test "x$ac_debug_format_seen" = x
11556 then
11557 case $wine_crossdebug in
11558 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11560 printf %s "checking whether $CC supports -gdwarf-4... " >&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 -gdwarf-4"
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 " -gdwarf-4"
11590 fi } ;;
11591 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11593 printf %s "checking whether $CC supports -gcodeview... " >&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 -gcodeview"
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}_EXTRACFLAGS " -gcodeview"
11623 fi } ;;
11624 esac
11626 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11628 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11630 printf %s "checking whether $CC supports -Werror... " >&6; }
11631 if eval test \${$as_ac_var+y}
11632 then :
11633 printf %s "(cached) " >&6
11634 else $as_nop
11635 ac_wine_try_cflags_saved=$CFLAGS
11636 ac_wine_try_cflags_saved_exeext=$ac_exeext
11637 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11638 ac_exeext=".exe"
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11641 int __cdecl mainCRTStartup(void) { return 0; }
11642 _ACEOF
11643 if ac_fn_c_try_link "$LINENO"
11644 then :
11645 eval "$as_ac_var=yes"
11646 else $as_nop
11647 eval "$as_ac_var=no"
11649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11650 conftest$ac_exeext conftest.$ac_ext
11651 CFLAGS=$ac_wine_try_cflags_saved
11652 ac_exeext=$ac_wine_try_cflags_saved_exeext
11654 eval ac_res=\$$as_ac_var
11655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11656 printf "%s\n" "$ac_res" >&6; }
11657 if eval test \"x\$"$as_ac_var"\" = x"yes"
11658 then :
11659 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11660 fi }
11661 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11663 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11664 if eval test \${$as_ac_var+y}
11665 then :
11666 printf %s "(cached) " >&6
11667 else $as_nop
11668 ac_wine_try_cflags_saved=$CFLAGS
11669 ac_wine_try_cflags_saved_exeext=$ac_exeext
11670 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11671 ac_exeext=".exe"
11672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11673 /* end confdefs.h. */
11674 int __cdecl mainCRTStartup(void) { return 0; }
11675 _ACEOF
11676 if ac_fn_c_try_link "$LINENO"
11677 then :
11678 eval "$as_ac_var=yes"
11679 else $as_nop
11680 eval "$as_ac_var=no"
11682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11683 conftest$ac_exeext conftest.$ac_ext
11684 CFLAGS=$ac_wine_try_cflags_saved
11685 ac_exeext=$ac_wine_try_cflags_saved_exeext
11687 eval ac_res=\$$as_ac_var
11688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11689 printf "%s\n" "$ac_res" >&6; }
11690 if eval test \"x\$"$as_ac_var"\" = x"yes"
11691 then :
11692 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11693 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11694 fi }
11696 CC=$saved_CC
11697 CFLAGS=$saved_CFLAGS
11698 LDFLAGS=$saved_LDFLAGS
11699 done
11701 if test $HOST_ARCH = aarch64
11702 then
11703 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
11704 DLLEXT=""
11705 else
11706 if test "x$PE_ARCHS" = "x"
11707 then :
11708 case "x$with_mingw" in
11709 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11710 xno) ;;
11711 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11712 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11713 esac
11719 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11720 then
11721 case "$host_cpu" in
11722 i[3456789]86*)
11723 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11725 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11726 esac
11727 for ac_prog in $ac_prefix_list
11729 # Extract the first word of "$ac_prog", so it can be a program name with args.
11730 set dummy $ac_prog; ac_word=$2
11731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11732 printf %s "checking for $ac_word... " >&6; }
11733 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11734 then :
11735 printf %s "(cached) " >&6
11736 else $as_nop
11737 if test -n "$MINGW_PKG_CONFIG"; then
11738 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11739 else
11740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11741 for as_dir in $PATH
11743 IFS=$as_save_IFS
11744 case $as_dir in #(((
11745 '') as_dir=./ ;;
11746 */) ;;
11747 *) as_dir=$as_dir/ ;;
11748 esac
11749 for ac_exec_ext in '' $ac_executable_extensions; do
11750 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11751 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11753 break 2
11755 done
11756 done
11757 IFS=$as_save_IFS
11761 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11762 if test -n "$MINGW_PKG_CONFIG"; then
11763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11764 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11765 else
11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11767 printf "%s\n" "no" >&6; }
11771 test -n "$MINGW_PKG_CONFIG" && break
11772 done
11773 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11775 if ${FAUDIO_PE_CFLAGS:+false} :
11776 then :
11777 if test ${MINGW_PKG_CONFIG+y}
11778 then :
11779 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11782 if ${FAUDIO_PE_LIBS:+false} :
11783 then :
11784 if test ${MINGW_PKG_CONFIG+y}
11785 then :
11786 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11789 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11790 ac_save_CPPFLAGS=$CPPFLAGS
11791 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11793 printf %s "checking for MinGW FAudio.h... " >&6; }
11794 if test ${ac_cv_mingw_header_FAudio_h+y}
11795 then :
11796 printf %s "(cached) " >&6
11797 else $as_nop
11798 ac_wine_check_headers_saved_cc=$CC
11799 ac_wine_check_headers_saved_exeext=$ac_exeext
11800 eval CC=\$${wine_arch}_CC
11801 ac_exeext=".exe"
11802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11803 /* end confdefs.h. */
11805 #include <FAudio.h>
11807 main (void)
11811 return 0;
11813 _ACEOF
11814 if ac_fn_c_try_compile "$LINENO"
11815 then :
11816 ac_cv_mingw_header_FAudio_h=yes
11817 else $as_nop
11818 ac_cv_mingw_header_FAudio_h=no
11820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11821 CC=$ac_wine_check_headers_saved_cc
11822 ac_exeext=$ac_wine_check_headers_saved_exeext
11824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11825 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11826 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11827 then :
11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11829 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11830 if test ${ac_cv_mingw_lib_FAudio+y}
11831 then :
11832 printf %s "(cached) " >&6
11833 else $as_nop
11834 ac_wine_check_headers_saved_cc=$CC
11835 ac_wine_check_headers_saved_exeext=$ac_exeext
11836 ac_wine_check_headers_saved_libs=$LIBS
11837 eval CC=\$${wine_arch}_CC
11838 ac_exeext=".exe"
11839 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11843 /* Override any GCC internal prototype to avoid an error.
11844 Use char because int might match the return type of a GCC
11845 builtin and then its argument prototype would still apply. */
11846 char FAudio_CommitOperationSet ();
11848 main (void)
11850 return FAudio_CommitOperationSet ();
11852 return 0;
11854 _ACEOF
11855 if ac_fn_c_try_link "$LINENO"
11856 then :
11857 ac_cv_mingw_lib_FAudio=yes
11858 else $as_nop
11859 ac_cv_mingw_lib_FAudio=no
11861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11862 conftest$ac_exeext conftest.$ac_ext
11863 CC=$ac_wine_check_headers_saved_cc
11864 ac_exeext=$ac_wine_check_headers_saved_exeext
11865 LIBS=$ac_wine_check_headers_saved_libs
11867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11868 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11869 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11870 then :
11872 else $as_nop
11873 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11875 else $as_nop
11876 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11878 CPPFLAGS=$ac_save_CPPFLAGS
11880 if test "x$FAUDIO_PE_LIBS" = "x"
11881 then
11882 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11885 if ${JPEG_PE_CFLAGS:+false} :
11886 then :
11887 if test ${MINGW_PKG_CONFIG+y}
11888 then :
11889 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11892 if ${JPEG_PE_LIBS:+false} :
11893 then :
11894 if test ${MINGW_PKG_CONFIG+y}
11895 then :
11896 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11900 ac_save_CPPFLAGS=$CPPFLAGS
11901 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11903 printf %s "checking for MinGW jpeglib.h... " >&6; }
11904 if test ${ac_cv_mingw_header_jpeglib_h+y}
11905 then :
11906 printf %s "(cached) " >&6
11907 else $as_nop
11908 ac_wine_check_headers_saved_cc=$CC
11909 ac_wine_check_headers_saved_exeext=$ac_exeext
11910 eval CC=\$${wine_arch}_CC
11911 ac_exeext=".exe"
11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11914 #include <stddef.h>
11915 #include <stdio.h>
11916 #include <jpeglib.h>
11918 main (void)
11922 return 0;
11924 _ACEOF
11925 if ac_fn_c_try_compile "$LINENO"
11926 then :
11927 ac_cv_mingw_header_jpeglib_h=yes
11928 else $as_nop
11929 ac_cv_mingw_header_jpeglib_h=no
11931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11932 CC=$ac_wine_check_headers_saved_cc
11933 ac_exeext=$ac_wine_check_headers_saved_exeext
11935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11936 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11937 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11938 then :
11939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11940 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11941 if test ${ac_cv_mingw_lib_jpeg+y}
11942 then :
11943 printf %s "(cached) " >&6
11944 else $as_nop
11945 ac_wine_check_headers_saved_cc=$CC
11946 ac_wine_check_headers_saved_exeext=$ac_exeext
11947 ac_wine_check_headers_saved_libs=$LIBS
11948 eval CC=\$${wine_arch}_CC
11949 ac_exeext=".exe"
11950 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11954 /* Override any GCC internal prototype to avoid an error.
11955 Use char because int might match the return type of a GCC
11956 builtin and then its argument prototype would still apply. */
11957 char jpeg_start_decompress ();
11959 main (void)
11961 return jpeg_start_decompress ();
11963 return 0;
11965 _ACEOF
11966 if ac_fn_c_try_link "$LINENO"
11967 then :
11968 ac_cv_mingw_lib_jpeg=yes
11969 else $as_nop
11970 ac_cv_mingw_lib_jpeg=no
11972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11973 conftest$ac_exeext conftest.$ac_ext
11974 CC=$ac_wine_check_headers_saved_cc
11975 ac_exeext=$ac_wine_check_headers_saved_exeext
11976 LIBS=$ac_wine_check_headers_saved_libs
11978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11979 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11980 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11981 then :
11983 else $as_nop
11984 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11986 else $as_nop
11987 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11989 CPPFLAGS=$ac_save_CPPFLAGS
11991 if test "x$JPEG_PE_LIBS" = "x"
11992 then
11993 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11996 if ${LCMS2_PE_CFLAGS:+false} :
11997 then :
11998 if test ${MINGW_PKG_CONFIG+y}
11999 then :
12000 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12003 if ${LCMS2_PE_LIBS:+false} :
12004 then :
12005 if test ${MINGW_PKG_CONFIG+y}
12006 then :
12007 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12010 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12011 ac_save_CPPFLAGS=$CPPFLAGS
12012 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12014 printf %s "checking for MinGW lcms2.h... " >&6; }
12015 if test ${ac_cv_mingw_header_lcms2_h+y}
12016 then :
12017 printf %s "(cached) " >&6
12018 else $as_nop
12019 ac_wine_check_headers_saved_cc=$CC
12020 ac_wine_check_headers_saved_exeext=$ac_exeext
12021 eval CC=\$${wine_arch}_CC
12022 ac_exeext=".exe"
12023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12026 #include <lcms2.h>
12028 main (void)
12032 return 0;
12034 _ACEOF
12035 if ac_fn_c_try_compile "$LINENO"
12036 then :
12037 ac_cv_mingw_header_lcms2_h=yes
12038 else $as_nop
12039 ac_cv_mingw_header_lcms2_h=no
12041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12042 CC=$ac_wine_check_headers_saved_cc
12043 ac_exeext=$ac_wine_check_headers_saved_exeext
12045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12046 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12047 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12048 then :
12049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12050 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12051 if test ${ac_cv_mingw_lib_lcms2+y}
12052 then :
12053 printf %s "(cached) " >&6
12054 else $as_nop
12055 ac_wine_check_headers_saved_cc=$CC
12056 ac_wine_check_headers_saved_exeext=$ac_exeext
12057 ac_wine_check_headers_saved_libs=$LIBS
12058 eval CC=\$${wine_arch}_CC
12059 ac_exeext=".exe"
12060 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h. */
12064 /* Override any GCC internal prototype to avoid an error.
12065 Use char because int might match the return type of a GCC
12066 builtin and then its argument prototype would still apply. */
12067 char cmsOpenProfileFromFile ();
12069 main (void)
12071 return cmsOpenProfileFromFile ();
12073 return 0;
12075 _ACEOF
12076 if ac_fn_c_try_link "$LINENO"
12077 then :
12078 ac_cv_mingw_lib_lcms2=yes
12079 else $as_nop
12080 ac_cv_mingw_lib_lcms2=no
12082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12083 conftest$ac_exeext conftest.$ac_ext
12084 CC=$ac_wine_check_headers_saved_cc
12085 ac_exeext=$ac_wine_check_headers_saved_exeext
12086 LIBS=$ac_wine_check_headers_saved_libs
12088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12089 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12090 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12091 then :
12093 else $as_nop
12094 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12096 else $as_nop
12097 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12099 CPPFLAGS=$ac_save_CPPFLAGS
12101 if test "x$LCMS2_PE_LIBS" = "x"
12102 then
12103 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12106 if ${MPG123_PE_CFLAGS:+false} :
12107 then :
12108 if test ${MINGW_PKG_CONFIG+y}
12109 then :
12110 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12113 if ${MPG123_PE_LIBS:+false} :
12114 then :
12115 if test ${MINGW_PKG_CONFIG+y}
12116 then :
12117 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12120 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12121 ac_save_CPPFLAGS=$CPPFLAGS
12122 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12124 printf %s "checking for MinGW mpg123.h... " >&6; }
12125 if test ${ac_cv_mingw_header_mpg123_h+y}
12126 then :
12127 printf %s "(cached) " >&6
12128 else $as_nop
12129 ac_wine_check_headers_saved_cc=$CC
12130 ac_wine_check_headers_saved_exeext=$ac_exeext
12131 eval CC=\$${wine_arch}_CC
12132 ac_exeext=".exe"
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 #include <mpg123.h>
12138 main (void)
12142 return 0;
12144 _ACEOF
12145 if ac_fn_c_try_compile "$LINENO"
12146 then :
12147 ac_cv_mingw_header_mpg123_h=yes
12148 else $as_nop
12149 ac_cv_mingw_header_mpg123_h=no
12151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12152 CC=$ac_wine_check_headers_saved_cc
12153 ac_exeext=$ac_wine_check_headers_saved_exeext
12155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12156 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12157 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12158 then :
12159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12160 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12161 if test ${ac_cv_mingw_lib_mpg123+y}
12162 then :
12163 printf %s "(cached) " >&6
12164 else $as_nop
12165 ac_wine_check_headers_saved_cc=$CC
12166 ac_wine_check_headers_saved_exeext=$ac_exeext
12167 ac_wine_check_headers_saved_libs=$LIBS
12168 eval CC=\$${wine_arch}_CC
12169 ac_exeext=".exe"
12170 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12172 /* end confdefs.h. */
12174 /* Override any GCC internal prototype to avoid an error.
12175 Use char because int might match the return type of a GCC
12176 builtin and then its argument prototype would still apply. */
12177 char mpg123_feed ();
12179 main (void)
12181 return mpg123_feed ();
12183 return 0;
12185 _ACEOF
12186 if ac_fn_c_try_link "$LINENO"
12187 then :
12188 ac_cv_mingw_lib_mpg123=yes
12189 else $as_nop
12190 ac_cv_mingw_lib_mpg123=no
12192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12193 conftest$ac_exeext conftest.$ac_ext
12194 CC=$ac_wine_check_headers_saved_cc
12195 ac_exeext=$ac_wine_check_headers_saved_exeext
12196 LIBS=$ac_wine_check_headers_saved_libs
12198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12199 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12200 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12201 then :
12203 else $as_nop
12204 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12206 else $as_nop
12207 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12209 CPPFLAGS=$ac_save_CPPFLAGS
12211 if test "x$MPG123_PE_LIBS" = "x"
12212 then
12213 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12216 if ${PNG_PE_CFLAGS:+false} :
12217 then :
12218 if test ${MINGW_PKG_CONFIG+y}
12219 then :
12220 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12223 if ${PNG_PE_LIBS:+false} :
12224 then :
12225 if test ${MINGW_PKG_CONFIG+y}
12226 then :
12227 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12231 ac_save_CPPFLAGS=$CPPFLAGS
12232 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12234 printf %s "checking for MinGW png.h... " >&6; }
12235 if test ${ac_cv_mingw_header_png_h+y}
12236 then :
12237 printf %s "(cached) " >&6
12238 else $as_nop
12239 ac_wine_check_headers_saved_cc=$CC
12240 ac_wine_check_headers_saved_exeext=$ac_exeext
12241 eval CC=\$${wine_arch}_CC
12242 ac_exeext=".exe"
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12246 #include <png.h>
12248 main (void)
12252 return 0;
12254 _ACEOF
12255 if ac_fn_c_try_compile "$LINENO"
12256 then :
12257 ac_cv_mingw_header_png_h=yes
12258 else $as_nop
12259 ac_cv_mingw_header_png_h=no
12261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12262 CC=$ac_wine_check_headers_saved_cc
12263 ac_exeext=$ac_wine_check_headers_saved_exeext
12265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12266 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12267 if test "x$ac_cv_mingw_header_png_h" = xyes
12268 then :
12269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12270 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12271 if test ${ac_cv_mingw_lib_png+y}
12272 then :
12273 printf %s "(cached) " >&6
12274 else $as_nop
12275 ac_wine_check_headers_saved_cc=$CC
12276 ac_wine_check_headers_saved_exeext=$ac_exeext
12277 ac_wine_check_headers_saved_libs=$LIBS
12278 eval CC=\$${wine_arch}_CC
12279 ac_exeext=".exe"
12280 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12284 /* Override any GCC internal prototype to avoid an error.
12285 Use char because int might match the return type of a GCC
12286 builtin and then its argument prototype would still apply. */
12287 char png_create_read_struct ();
12289 main (void)
12291 return png_create_read_struct ();
12293 return 0;
12295 _ACEOF
12296 if ac_fn_c_try_link "$LINENO"
12297 then :
12298 ac_cv_mingw_lib_png=yes
12299 else $as_nop
12300 ac_cv_mingw_lib_png=no
12302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12303 conftest$ac_exeext conftest.$ac_ext
12304 CC=$ac_wine_check_headers_saved_cc
12305 ac_exeext=$ac_wine_check_headers_saved_exeext
12306 LIBS=$ac_wine_check_headers_saved_libs
12308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12309 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12310 if test "x$ac_cv_mingw_lib_png" = xyes
12311 then :
12313 else $as_nop
12314 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12316 else $as_nop
12317 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12319 CPPFLAGS=$ac_save_CPPFLAGS
12321 if test "x$PNG_PE_LIBS" = "x"
12322 then
12323 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12326 if ${TIFF_PE_CFLAGS:+false} :
12327 then :
12328 if test ${MINGW_PKG_CONFIG+y}
12329 then :
12330 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12333 if ${TIFF_PE_LIBS:+false} :
12334 then :
12335 if test ${MINGW_PKG_CONFIG+y}
12336 then :
12337 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12341 ac_save_CPPFLAGS=$CPPFLAGS
12342 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12344 printf %s "checking for MinGW tiffio.h... " >&6; }
12345 if test ${ac_cv_mingw_header_tiffio_h+y}
12346 then :
12347 printf %s "(cached) " >&6
12348 else $as_nop
12349 ac_wine_check_headers_saved_cc=$CC
12350 ac_wine_check_headers_saved_exeext=$ac_exeext
12351 eval CC=\$${wine_arch}_CC
12352 ac_exeext=".exe"
12353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12356 #include <tiffio.h>
12358 main (void)
12362 return 0;
12364 _ACEOF
12365 if ac_fn_c_try_compile "$LINENO"
12366 then :
12367 ac_cv_mingw_header_tiffio_h=yes
12368 else $as_nop
12369 ac_cv_mingw_header_tiffio_h=no
12371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12372 CC=$ac_wine_check_headers_saved_cc
12373 ac_exeext=$ac_wine_check_headers_saved_exeext
12375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12376 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12377 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12378 then :
12379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12380 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12381 if test ${ac_cv_mingw_lib_tiff+y}
12382 then :
12383 printf %s "(cached) " >&6
12384 else $as_nop
12385 ac_wine_check_headers_saved_cc=$CC
12386 ac_wine_check_headers_saved_exeext=$ac_exeext
12387 ac_wine_check_headers_saved_libs=$LIBS
12388 eval CC=\$${wine_arch}_CC
12389 ac_exeext=".exe"
12390 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12394 /* Override any GCC internal prototype to avoid an error.
12395 Use char because int might match the return type of a GCC
12396 builtin and then its argument prototype would still apply. */
12397 char TIFFClientOpen ();
12399 main (void)
12401 return TIFFClientOpen ();
12403 return 0;
12405 _ACEOF
12406 if ac_fn_c_try_link "$LINENO"
12407 then :
12408 ac_cv_mingw_lib_tiff=yes
12409 else $as_nop
12410 ac_cv_mingw_lib_tiff=no
12412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12413 conftest$ac_exeext conftest.$ac_ext
12414 CC=$ac_wine_check_headers_saved_cc
12415 ac_exeext=$ac_wine_check_headers_saved_exeext
12416 LIBS=$ac_wine_check_headers_saved_libs
12418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12419 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12420 if test "x$ac_cv_mingw_lib_tiff" = xyes
12421 then :
12423 else $as_nop
12424 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12426 else $as_nop
12427 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12429 CPPFLAGS=$ac_save_CPPFLAGS
12431 if test "x$TIFF_PE_LIBS" = "x"
12432 then
12433 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12436 if ${XML2_PE_CFLAGS:+false} :
12437 then :
12438 if test ${MINGW_PKG_CONFIG+y}
12439 then :
12440 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12443 if ${XML2_PE_LIBS:+false} :
12444 then :
12445 if test ${MINGW_PKG_CONFIG+y}
12446 then :
12447 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12450 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12451 ac_save_CPPFLAGS=$CPPFLAGS
12452 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12454 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12455 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12456 then :
12457 printf %s "(cached) " >&6
12458 else $as_nop
12459 ac_wine_check_headers_saved_cc=$CC
12460 ac_wine_check_headers_saved_exeext=$ac_exeext
12461 eval CC=\$${wine_arch}_CC
12462 ac_exeext=".exe"
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 #include <libxml/parser.h>
12468 main (void)
12472 return 0;
12474 _ACEOF
12475 if ac_fn_c_try_compile "$LINENO"
12476 then :
12477 ac_cv_mingw_header_libxml_parser_h=yes
12478 else $as_nop
12479 ac_cv_mingw_header_libxml_parser_h=no
12481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12482 CC=$ac_wine_check_headers_saved_cc
12483 ac_exeext=$ac_wine_check_headers_saved_exeext
12485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12486 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12487 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12488 then :
12491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12492 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12493 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12494 then :
12495 printf %s "(cached) " >&6
12496 else $as_nop
12497 ac_wine_check_headers_saved_cc=$CC
12498 ac_wine_check_headers_saved_exeext=$ac_exeext
12499 eval CC=\$${wine_arch}_CC
12500 ac_exeext=".exe"
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12504 #include <libxml/xmlsave.h>
12506 main (void)
12510 return 0;
12512 _ACEOF
12513 if ac_fn_c_try_compile "$LINENO"
12514 then :
12515 ac_cv_mingw_header_libxml_xmlsave_h=yes
12516 else $as_nop
12517 ac_cv_mingw_header_libxml_xmlsave_h=no
12519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12520 CC=$ac_wine_check_headers_saved_cc
12521 ac_exeext=$ac_wine_check_headers_saved_exeext
12523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12524 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12525 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12526 then :
12529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12530 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12531 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12532 then :
12533 printf %s "(cached) " >&6
12534 else $as_nop
12535 ac_wine_check_headers_saved_cc=$CC
12536 ac_wine_check_headers_saved_exeext=$ac_exeext
12537 eval CC=\$${wine_arch}_CC
12538 ac_exeext=".exe"
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12542 #include <libxml/SAX2.h>
12544 main (void)
12548 return 0;
12550 _ACEOF
12551 if ac_fn_c_try_compile "$LINENO"
12552 then :
12553 ac_cv_mingw_header_libxml_SAX2_h=yes
12554 else $as_nop
12555 ac_cv_mingw_header_libxml_SAX2_h=no
12557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12558 CC=$ac_wine_check_headers_saved_cc
12559 ac_exeext=$ac_wine_check_headers_saved_exeext
12561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12562 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12563 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12564 then :
12567 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"
12568 then
12569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12570 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12571 if test ${ac_cv_mingw_lib_xml2+y}
12572 then :
12573 printf %s "(cached) " >&6
12574 else $as_nop
12575 ac_wine_check_headers_saved_cc=$CC
12576 ac_wine_check_headers_saved_exeext=$ac_exeext
12577 ac_wine_check_headers_saved_libs=$LIBS
12578 eval CC=\$${wine_arch}_CC
12579 ac_exeext=".exe"
12580 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12584 /* Override any GCC internal prototype to avoid an error.
12585 Use char because int might match the return type of a GCC
12586 builtin and then its argument prototype would still apply. */
12587 char xmlFirstElementChild ();
12589 main (void)
12591 return xmlFirstElementChild ();
12593 return 0;
12595 _ACEOF
12596 if ac_fn_c_try_link "$LINENO"
12597 then :
12598 ac_cv_mingw_lib_xml2=yes
12599 else $as_nop
12600 ac_cv_mingw_lib_xml2=no
12602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12603 conftest$ac_exeext conftest.$ac_ext
12604 CC=$ac_wine_check_headers_saved_cc
12605 ac_exeext=$ac_wine_check_headers_saved_exeext
12606 LIBS=$ac_wine_check_headers_saved_libs
12608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12609 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12610 if test "x$ac_cv_mingw_lib_xml2" = xyes
12611 then :
12613 else $as_nop
12614 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12616 else
12617 XML2_PE_CFLAGS=""
12618 XML2_PE_LIBS=""
12620 CPPFLAGS=$ac_save_CPPFLAGS
12622 if test "x$XML2_PE_LIBS" = "x"
12623 then
12624 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12627 if ${XSLT_PE_CFLAGS:+false} :
12628 then :
12629 if test ${MINGW_PKG_CONFIG+y}
12630 then :
12631 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12634 if ${XSLT_PE_LIBS:+false} :
12635 then :
12636 if test ${MINGW_PKG_CONFIG+y}
12637 then :
12638 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12641 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12642 ac_save_CPPFLAGS=$CPPFLAGS
12643 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12645 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12646 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12647 then :
12648 printf %s "(cached) " >&6
12649 else $as_nop
12650 ac_wine_check_headers_saved_cc=$CC
12651 ac_wine_check_headers_saved_exeext=$ac_exeext
12652 eval CC=\$${wine_arch}_CC
12653 ac_exeext=".exe"
12654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12657 #include <libxslt/pattern.h>
12659 main (void)
12663 return 0;
12665 _ACEOF
12666 if ac_fn_c_try_compile "$LINENO"
12667 then :
12668 ac_cv_mingw_header_libxslt_pattern_h=yes
12669 else $as_nop
12670 ac_cv_mingw_header_libxslt_pattern_h=no
12672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12673 CC=$ac_wine_check_headers_saved_cc
12674 ac_exeext=$ac_wine_check_headers_saved_exeext
12676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12677 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12678 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12679 then :
12682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12683 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12684 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12685 then :
12686 printf %s "(cached) " >&6
12687 else $as_nop
12688 ac_wine_check_headers_saved_cc=$CC
12689 ac_wine_check_headers_saved_exeext=$ac_exeext
12690 eval CC=\$${wine_arch}_CC
12691 ac_exeext=".exe"
12692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12693 /* end confdefs.h. */
12695 #include <libxslt/transform.h>
12697 main (void)
12701 return 0;
12703 _ACEOF
12704 if ac_fn_c_try_compile "$LINENO"
12705 then :
12706 ac_cv_mingw_header_libxslt_transform_h=yes
12707 else $as_nop
12708 ac_cv_mingw_header_libxslt_transform_h=no
12710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12711 CC=$ac_wine_check_headers_saved_cc
12712 ac_exeext=$ac_wine_check_headers_saved_exeext
12714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12715 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12716 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12717 then :
12720 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12721 then
12722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12723 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12724 if test ${ac_cv_mingw_lib_xslt+y}
12725 then :
12726 printf %s "(cached) " >&6
12727 else $as_nop
12728 ac_wine_check_headers_saved_cc=$CC
12729 ac_wine_check_headers_saved_exeext=$ac_exeext
12730 ac_wine_check_headers_saved_libs=$LIBS
12731 eval CC=\$${wine_arch}_CC
12732 ac_exeext=".exe"
12733 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12737 /* Override any GCC internal prototype to avoid an error.
12738 Use char because int might match the return type of a GCC
12739 builtin and then its argument prototype would still apply. */
12740 char xsltCompilePattern ();
12742 main (void)
12744 return xsltCompilePattern ();
12746 return 0;
12748 _ACEOF
12749 if ac_fn_c_try_link "$LINENO"
12750 then :
12751 ac_cv_mingw_lib_xslt=yes
12752 else $as_nop
12753 ac_cv_mingw_lib_xslt=no
12755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12756 conftest$ac_exeext conftest.$ac_ext
12757 CC=$ac_wine_check_headers_saved_cc
12758 ac_exeext=$ac_wine_check_headers_saved_exeext
12759 LIBS=$ac_wine_check_headers_saved_libs
12761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12762 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12763 if test "x$ac_cv_mingw_lib_xslt" = xyes
12764 then :
12766 else $as_nop
12767 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12769 else
12770 XSLT_PE_CFLAGS=""
12771 XSLT_PE_LIBS=""
12773 CPPFLAGS=$ac_save_CPPFLAGS
12775 if test "x$XSLT_PE_LIBS" = "x"
12776 then
12777 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12780 if ${VKD3D_PE_CFLAGS:+false} :
12781 then :
12782 if test ${MINGW_PKG_CONFIG+y}
12783 then :
12784 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12787 if ${VKD3D_PE_LIBS:+false} :
12788 then :
12789 if test ${MINGW_PKG_CONFIG+y}
12790 then :
12791 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12794 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12795 ac_save_CPPFLAGS=$CPPFLAGS
12796 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12798 printf %s "checking for MinGW vkd3d.h... " >&6; }
12799 if test ${ac_cv_mingw_header_vkd3d_h+y}
12800 then :
12801 printf %s "(cached) " >&6
12802 else $as_nop
12803 ac_wine_check_headers_saved_cc=$CC
12804 ac_wine_check_headers_saved_exeext=$ac_exeext
12805 eval CC=\$${wine_arch}_CC
12806 ac_exeext=".exe"
12807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12810 #include <vkd3d.h>
12812 main (void)
12816 return 0;
12818 _ACEOF
12819 if ac_fn_c_try_compile "$LINENO"
12820 then :
12821 ac_cv_mingw_header_vkd3d_h=yes
12822 else $as_nop
12823 ac_cv_mingw_header_vkd3d_h=no
12825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12826 CC=$ac_wine_check_headers_saved_cc
12827 ac_exeext=$ac_wine_check_headers_saved_exeext
12829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12830 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12831 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12832 then :
12835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12836 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12837 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12838 then :
12839 printf %s "(cached) " >&6
12840 else $as_nop
12841 ac_wine_check_headers_saved_cc=$CC
12842 ac_wine_check_headers_saved_exeext=$ac_exeext
12843 eval CC=\$${wine_arch}_CC
12844 ac_exeext=".exe"
12845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12848 #include <vkd3d_shader.h>
12850 main (void)
12854 return 0;
12856 _ACEOF
12857 if ac_fn_c_try_compile "$LINENO"
12858 then :
12859 ac_cv_mingw_header_vkd3d_shader_h=yes
12860 else $as_nop
12861 ac_cv_mingw_header_vkd3d_shader_h=no
12863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12864 CC=$ac_wine_check_headers_saved_cc
12865 ac_exeext=$ac_wine_check_headers_saved_exeext
12867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12868 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12869 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12870 then :
12873 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12874 then
12875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12876 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12877 if test ${ac_cv_mingw_lib_vkd3d+y}
12878 then :
12879 printf %s "(cached) " >&6
12880 else $as_nop
12881 ac_wine_check_headers_saved_cc=$CC
12882 ac_wine_check_headers_saved_exeext=$ac_exeext
12883 ac_wine_check_headers_saved_libs=$LIBS
12884 eval CC=\$${wine_arch}_CC
12885 ac_exeext=".exe"
12886 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12890 /* Override any GCC internal prototype to avoid an error.
12891 Use char because int might match the return type of a GCC
12892 builtin and then its argument prototype would still apply. */
12893 char vkd3d_set_log_callback ();
12895 main (void)
12897 return vkd3d_set_log_callback ();
12899 return 0;
12901 _ACEOF
12902 if ac_fn_c_try_link "$LINENO"
12903 then :
12904 ac_cv_mingw_lib_vkd3d=yes
12905 else $as_nop
12906 ac_cv_mingw_lib_vkd3d=no
12908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12909 conftest$ac_exeext conftest.$ac_ext
12910 CC=$ac_wine_check_headers_saved_cc
12911 ac_exeext=$ac_wine_check_headers_saved_exeext
12912 LIBS=$ac_wine_check_headers_saved_libs
12914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12915 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12916 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12917 then :
12919 else $as_nop
12922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12923 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12924 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12925 then :
12926 printf %s "(cached) " >&6
12927 else $as_nop
12928 ac_wine_check_headers_saved_cc=$CC
12929 ac_wine_check_headers_saved_exeext=$ac_exeext
12930 ac_wine_check_headers_saved_libs=$LIBS
12931 eval CC=\$${wine_arch}_CC
12932 ac_exeext=".exe"
12933 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12937 /* Override any GCC internal prototype to avoid an error.
12938 Use char because int might match the return type of a GCC
12939 builtin and then its argument prototype would still apply. */
12940 char vkd3d_shader_serialize_dxbc ();
12942 main (void)
12944 return vkd3d_shader_serialize_dxbc ();
12946 return 0;
12948 _ACEOF
12949 if ac_fn_c_try_link "$LINENO"
12950 then :
12951 ac_cv_mingw_lib_vkd3d_shader=yes
12952 else $as_nop
12953 ac_cv_mingw_lib_vkd3d_shader=no
12955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12956 conftest$ac_exeext conftest.$ac_ext
12957 CC=$ac_wine_check_headers_saved_cc
12958 ac_exeext=$ac_wine_check_headers_saved_exeext
12959 LIBS=$ac_wine_check_headers_saved_libs
12961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12962 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12963 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12964 then :
12966 else $as_nop
12969 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12970 then
12971 VKD3D_PE_CFLAGS=""
12972 VKD3D_PE_LIBS=""
12974 else
12975 VKD3D_PE_CFLAGS=""
12976 VKD3D_PE_LIBS=""
12978 CPPFLAGS=$ac_save_CPPFLAGS
12980 if test "x$VKD3D_PE_LIBS" = "x"
12981 then
12982 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12985 if ${ZLIB_PE_CFLAGS:+false} :
12986 then :
12987 if test ${MINGW_PKG_CONFIG+y}
12988 then :
12989 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12992 if ${ZLIB_PE_LIBS:+false} :
12993 then :
12994 if test ${MINGW_PKG_CONFIG+y}
12995 then :
12996 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12999 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13000 ac_save_CPPFLAGS=$CPPFLAGS
13001 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13003 printf %s "checking for MinGW zlib.h... " >&6; }
13004 if test ${ac_cv_mingw_header_zlib_h+y}
13005 then :
13006 printf %s "(cached) " >&6
13007 else $as_nop
13008 ac_wine_check_headers_saved_cc=$CC
13009 ac_wine_check_headers_saved_exeext=$ac_exeext
13010 eval CC=\$${wine_arch}_CC
13011 ac_exeext=".exe"
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13015 #include <zlib.h>
13017 main (void)
13021 return 0;
13023 _ACEOF
13024 if ac_fn_c_try_compile "$LINENO"
13025 then :
13026 ac_cv_mingw_header_zlib_h=yes
13027 else $as_nop
13028 ac_cv_mingw_header_zlib_h=no
13030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13031 CC=$ac_wine_check_headers_saved_cc
13032 ac_exeext=$ac_wine_check_headers_saved_exeext
13034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13035 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13036 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13037 then :
13038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13039 printf %s "checking for inflate in MinGW -lz... " >&6; }
13040 if test ${ac_cv_mingw_lib_z+y}
13041 then :
13042 printf %s "(cached) " >&6
13043 else $as_nop
13044 ac_wine_check_headers_saved_cc=$CC
13045 ac_wine_check_headers_saved_exeext=$ac_exeext
13046 ac_wine_check_headers_saved_libs=$LIBS
13047 eval CC=\$${wine_arch}_CC
13048 ac_exeext=".exe"
13049 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13051 /* end confdefs.h. */
13053 /* Override any GCC internal prototype to avoid an error.
13054 Use char because int might match the return type of a GCC
13055 builtin and then its argument prototype would still apply. */
13056 char inflate ();
13058 main (void)
13060 return inflate ();
13062 return 0;
13064 _ACEOF
13065 if ac_fn_c_try_link "$LINENO"
13066 then :
13067 ac_cv_mingw_lib_z=yes
13068 else $as_nop
13069 ac_cv_mingw_lib_z=no
13071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13072 conftest$ac_exeext conftest.$ac_ext
13073 CC=$ac_wine_check_headers_saved_cc
13074 ac_exeext=$ac_wine_check_headers_saved_exeext
13075 LIBS=$ac_wine_check_headers_saved_libs
13077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13078 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13079 if test "x$ac_cv_mingw_lib_z" = xyes
13080 then :
13082 else $as_nop
13083 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13085 else $as_nop
13086 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13088 CPPFLAGS=$ac_save_CPPFLAGS
13090 if test "x$ZLIB_PE_LIBS" = "x"
13091 then
13092 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13096 if ${FAUDIO_PE_LIBS:+false} :
13097 then :
13098 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13099 if ${FAUDIO_PE_CFLAGS:+false} :
13100 then :
13101 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13102 else $as_nop
13103 enable_faudio=no
13105 else $as_nop
13106 enable_faudio=no
13108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13111 if ${GSM_PE_LIBS:+false} :
13112 then :
13113 GSM_PE_LIBS=gsm
13114 if ${GSM_PE_CFLAGS:+false} :
13115 then :
13116 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13117 else $as_nop
13118 enable_gsm=no
13120 else $as_nop
13121 enable_gsm=no
13123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13124 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13126 if ${JPEG_PE_LIBS:+false} :
13127 then :
13128 JPEG_PE_LIBS=jpeg
13129 if ${JPEG_PE_CFLAGS:+false} :
13130 then :
13131 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13132 else $as_nop
13133 enable_jpeg=no
13135 else $as_nop
13136 enable_jpeg=no
13138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13141 if ${JXR_PE_LIBS:+false} :
13142 then :
13143 JXR_PE_LIBS=jxr
13144 if ${JXR_PE_CFLAGS:+false} :
13145 then :
13146 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13147 else $as_nop
13148 enable_jxr=no
13150 else $as_nop
13151 enable_jxr=no
13153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13156 if ${LCMS2_PE_LIBS:+false} :
13157 then :
13158 LCMS2_PE_LIBS=lcms2
13159 if ${LCMS2_PE_CFLAGS:+false} :
13160 then :
13161 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13162 else $as_nop
13163 enable_lcms2=no
13165 else $as_nop
13166 enable_lcms2=no
13168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13171 if ${LDAP_PE_LIBS:+false} :
13172 then :
13173 LDAP_PE_LIBS=ldap
13174 if ${LDAP_PE_CFLAGS:+false} :
13175 then :
13176 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13177 else $as_nop
13178 enable_ldap=no
13180 else $as_nop
13181 enable_ldap=no
13183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13186 if ${MPG123_PE_LIBS:+false} :
13187 then :
13188 MPG123_PE_LIBS=mpg123
13189 if ${MPG123_PE_CFLAGS:+false} :
13190 then :
13191 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13192 else $as_nop
13193 enable_mpg123=no
13195 else $as_nop
13196 enable_mpg123=no
13198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13201 if ${MUSL_PE_LIBS:+false} :
13202 then :
13203 MUSL_PE_LIBS=musl
13204 if ${MUSL_PE_CFLAGS:+false} :
13205 then :
13206 MUSL_PE_CFLAGS=
13207 else $as_nop
13208 enable_musl=no
13210 else $as_nop
13211 enable_musl=no
13213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13216 if ${PNG_PE_LIBS:+false} :
13217 then :
13218 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13219 if ${PNG_PE_CFLAGS:+false} :
13220 then :
13221 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13222 else $as_nop
13223 enable_png=no
13225 else $as_nop
13226 enable_png=no
13228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13231 if ${TIFF_PE_LIBS:+false} :
13232 then :
13233 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13234 if ${TIFF_PE_CFLAGS:+false} :
13235 then :
13236 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13237 else $as_nop
13238 enable_tiff=no
13240 else $as_nop
13241 enable_tiff=no
13243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13246 if ${VKD3D_PE_LIBS:+false} :
13247 then :
13248 VKD3D_PE_LIBS=vkd3d
13249 if ${VKD3D_PE_CFLAGS:+false} :
13250 then :
13251 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13252 else $as_nop
13253 enable_vkd3d=no
13255 else $as_nop
13256 enable_vkd3d=no
13258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13261 if ${XML2_PE_LIBS:+false} :
13262 then :
13263 XML2_PE_LIBS=xml2
13264 if ${XML2_PE_CFLAGS:+false} :
13265 then :
13266 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13267 else $as_nop
13268 enable_xml2=no
13270 else $as_nop
13271 enable_xml2=no
13273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13276 if ${XSLT_PE_LIBS:+false} :
13277 then :
13278 XSLT_PE_LIBS=xslt
13279 if ${XSLT_PE_CFLAGS:+false} :
13280 then :
13281 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13282 else $as_nop
13283 enable_xslt=no
13285 else $as_nop
13286 enable_xslt=no
13288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13291 if ${ZLIB_PE_LIBS:+false} :
13292 then :
13293 ZLIB_PE_LIBS=z
13294 if ${ZLIB_PE_CFLAGS:+false} :
13295 then :
13296 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13297 else $as_nop
13298 enable_zlib=no
13300 else $as_nop
13301 enable_zlib=no
13303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13306 if ${ZYDIS_PE_LIBS:+false} :
13307 then :
13308 ZYDIS_PE_LIBS=zydis
13309 if ${ZYDIS_PE_CFLAGS:+false} :
13310 then :
13311 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13312 else $as_nop
13313 enable_zydis=no
13315 else $as_nop
13316 enable_zydis=no
13318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13323 if test "$ac_cv_header_pthread_h" = "yes"
13324 then
13325 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13326 if test "x$ac_cv_func_pthread_create" = xyes
13327 then :
13329 else $as_nop
13330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13331 printf %s "checking for pthread_create in -lpthread... " >&6; }
13332 if test ${ac_cv_lib_pthread_pthread_create+y}
13333 then :
13334 printf %s "(cached) " >&6
13335 else $as_nop
13336 ac_check_lib_save_LIBS=$LIBS
13337 LIBS="-lpthread $LIBS"
13338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13344 char pthread_create ();
13346 main (void)
13348 return pthread_create ();
13350 return 0;
13352 _ACEOF
13353 if ac_fn_c_try_link "$LINENO"
13354 then :
13355 ac_cv_lib_pthread_pthread_create=yes
13356 else $as_nop
13357 ac_cv_lib_pthread_pthread_create=no
13359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13360 conftest$ac_exeext conftest.$ac_ext
13361 LIBS=$ac_check_lib_save_LIBS
13363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13364 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13365 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13366 then :
13367 PTHREAD_LIBS="-lpthread"
13374 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13375 then :
13376 case "x$with_pthread" in
13377 xno) ;;
13378 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13379 Wine cannot support threads without libpthread.
13380 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13381 esac
13386 ac_ext=c
13387 ac_cpp='$CPP $CPPFLAGS'
13388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13392 printf %s "checking how to run the C preprocessor... " >&6; }
13393 # On Suns, sometimes $CPP names a directory.
13394 if test -n "$CPP" && test -d "$CPP"; then
13395 CPP=
13397 if test -z "$CPP"; then
13398 if test ${ac_cv_prog_CPP+y}
13399 then :
13400 printf %s "(cached) " >&6
13401 else $as_nop
13402 # Double quotes because $CC needs to be expanded
13403 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13405 ac_preproc_ok=false
13406 for ac_c_preproc_warn_flag in '' yes
13408 # Use a header file that comes with gcc, so configuring glibc
13409 # with a fresh cross-compiler works.
13410 # On the NeXT, cc -E runs the code through the compiler's parser,
13411 # not just through cpp. "Syntax error" is here to catch this case.
13412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13414 #include <limits.h>
13415 Syntax error
13416 _ACEOF
13417 if ac_fn_c_try_cpp "$LINENO"
13418 then :
13420 else $as_nop
13421 # Broken: fails on valid input.
13422 continue
13424 rm -f conftest.err conftest.i conftest.$ac_ext
13426 # OK, works on sane cases. Now check whether nonexistent headers
13427 # can be detected and how.
13428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13430 #include <ac_nonexistent.h>
13431 _ACEOF
13432 if ac_fn_c_try_cpp "$LINENO"
13433 then :
13434 # Broken: success on invalid input.
13435 continue
13436 else $as_nop
13437 # Passes both tests.
13438 ac_preproc_ok=:
13439 break
13441 rm -f conftest.err conftest.i conftest.$ac_ext
13443 done
13444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13445 rm -f conftest.i conftest.err conftest.$ac_ext
13446 if $ac_preproc_ok
13447 then :
13448 break
13451 done
13452 ac_cv_prog_CPP=$CPP
13455 CPP=$ac_cv_prog_CPP
13456 else
13457 ac_cv_prog_CPP=$CPP
13459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13460 printf "%s\n" "$CPP" >&6; }
13461 ac_preproc_ok=false
13462 for ac_c_preproc_warn_flag in '' yes
13464 # Use a header file that comes with gcc, so configuring glibc
13465 # with a fresh cross-compiler works.
13466 # On the NeXT, cc -E runs the code through the compiler's parser,
13467 # not just through cpp. "Syntax error" is here to catch this case.
13468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13469 /* end confdefs.h. */
13470 #include <limits.h>
13471 Syntax error
13472 _ACEOF
13473 if ac_fn_c_try_cpp "$LINENO"
13474 then :
13476 else $as_nop
13477 # Broken: fails on valid input.
13478 continue
13480 rm -f conftest.err conftest.i conftest.$ac_ext
13482 # OK, works on sane cases. Now check whether nonexistent headers
13483 # can be detected and how.
13484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13485 /* end confdefs.h. */
13486 #include <ac_nonexistent.h>
13487 _ACEOF
13488 if ac_fn_c_try_cpp "$LINENO"
13489 then :
13490 # Broken: success on invalid input.
13491 continue
13492 else $as_nop
13493 # Passes both tests.
13494 ac_preproc_ok=:
13495 break
13497 rm -f conftest.err conftest.i conftest.$ac_ext
13499 done
13500 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13501 rm -f conftest.i conftest.err conftest.$ac_ext
13502 if $ac_preproc_ok
13503 then :
13505 else $as_nop
13506 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13507 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13508 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13509 See \`config.log' for more details" "$LINENO" 5; }
13512 ac_ext=c
13513 ac_cpp='$CPP $CPPFLAGS'
13514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13520 printf %s "checking for X... " >&6; }
13523 # Check whether --with-x was given.
13524 if test ${with_x+y}
13525 then :
13526 withval=$with_x;
13529 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13530 if test "x$with_x" = xno; then
13531 # The user explicitly disabled X.
13532 have_x=disabled
13533 else
13534 case $x_includes,$x_libraries in #(
13535 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13536 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13537 then :
13538 printf %s "(cached) " >&6
13539 else $as_nop
13540 # One or both of the vars are not set, and there is no cached value.
13541 ac_x_includes=no
13542 ac_x_libraries=no
13543 # Do we need to do anything special at all?
13544 ac_save_LIBS=$LIBS
13545 LIBS="-lX11 $LIBS"
13546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13547 /* end confdefs.h. */
13548 #include <X11/Xlib.h>
13550 main (void)
13552 XrmInitialize ()
13554 return 0;
13556 _ACEOF
13557 if ac_fn_c_try_link "$LINENO"
13558 then :
13559 # We can compile and link X programs with no special options.
13560 ac_x_includes=
13561 ac_x_libraries=
13563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13564 conftest$ac_exeext conftest.$ac_ext
13565 LIBS="$ac_save_LIBS"
13566 # If that didn't work, only try xmkmf and file system searches
13567 # for native compilation.
13568 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13569 then :
13570 rm -f -r conftest.dir
13571 if mkdir conftest.dir; then
13572 cd conftest.dir
13573 cat >Imakefile <<'_ACEOF'
13574 incroot:
13575 @echo incroot='${INCROOT}'
13576 usrlibdir:
13577 @echo usrlibdir='${USRLIBDIR}'
13578 libdir:
13579 @echo libdir='${LIBDIR}'
13580 _ACEOF
13581 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13582 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13583 for ac_var in incroot usrlibdir libdir; do
13584 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13585 done
13586 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13587 for ac_extension in a so sl dylib la dll; do
13588 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13589 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13590 ac_im_usrlibdir=$ac_im_libdir; break
13592 done
13593 # Screen out bogus values from the imake configuration. They are
13594 # bogus both because they are the default anyway, and because
13595 # using them would break gcc on systems where it needs fixed includes.
13596 case $ac_im_incroot in
13597 /usr/include) ac_x_includes= ;;
13598 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13599 esac
13600 case $ac_im_usrlibdir in
13601 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13602 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13603 esac
13605 cd ..
13606 rm -f -r conftest.dir
13609 # Standard set of common directories for X headers.
13610 # Check X11 before X11Rn because it is often a symlink to the current release.
13611 ac_x_header_dirs='
13612 /usr/X11/include
13613 /usr/X11R7/include
13614 /usr/X11R6/include
13615 /usr/X11R5/include
13616 /usr/X11R4/include
13618 /usr/include/X11
13619 /usr/include/X11R7
13620 /usr/include/X11R6
13621 /usr/include/X11R5
13622 /usr/include/X11R4
13624 /usr/local/X11/include
13625 /usr/local/X11R7/include
13626 /usr/local/X11R6/include
13627 /usr/local/X11R5/include
13628 /usr/local/X11R4/include
13630 /usr/local/include/X11
13631 /usr/local/include/X11R7
13632 /usr/local/include/X11R6
13633 /usr/local/include/X11R5
13634 /usr/local/include/X11R4
13636 /opt/X11/include
13638 /usr/X386/include
13639 /usr/x386/include
13640 /usr/XFree86/include/X11
13642 /usr/include
13643 /usr/local/include
13644 /usr/unsupported/include
13645 /usr/athena/include
13646 /usr/local/x11r5/include
13647 /usr/lpp/Xamples/include
13649 /usr/openwin/include
13650 /usr/openwin/share/include'
13652 if test "$ac_x_includes" = no; then
13653 # Guess where to find include files, by looking for Xlib.h.
13654 # First, try using that file with no special directory specified.
13655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13657 #include <X11/Xlib.h>
13658 _ACEOF
13659 if ac_fn_c_try_cpp "$LINENO"
13660 then :
13661 # We can compile using X headers with no special include directory.
13662 ac_x_includes=
13663 else $as_nop
13664 for ac_dir in $ac_x_header_dirs; do
13665 if test -r "$ac_dir/X11/Xlib.h"; then
13666 ac_x_includes=$ac_dir
13667 break
13669 done
13671 rm -f conftest.err conftest.i conftest.$ac_ext
13672 fi # $ac_x_includes = no
13674 if test "$ac_x_libraries" = no; then
13675 # Check for the libraries.
13676 # See if we find them without any special options.
13677 # Don't add to $LIBS permanently.
13678 ac_save_LIBS=$LIBS
13679 LIBS="-lX11 $LIBS"
13680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13682 #include <X11/Xlib.h>
13684 main (void)
13686 XrmInitialize ()
13688 return 0;
13690 _ACEOF
13691 if ac_fn_c_try_link "$LINENO"
13692 then :
13693 LIBS=$ac_save_LIBS
13694 # We can link X programs with no special library path.
13695 ac_x_libraries=
13696 else $as_nop
13697 LIBS=$ac_save_LIBS
13698 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13700 # Don't even attempt the hair of trying to link an X program!
13701 for ac_extension in a so sl dylib la dll; do
13702 if test -r "$ac_dir/libX11.$ac_extension"; then
13703 ac_x_libraries=$ac_dir
13704 break 2
13706 done
13707 done
13709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13710 conftest$ac_exeext conftest.$ac_ext
13711 fi # $ac_x_libraries = no
13714 # Record the results.
13715 case $ac_x_includes,$ac_x_libraries in #(
13716 no,* | *,no | *\'*) :
13717 # Didn't find X, or a directory has "'" in its name.
13718 ac_cv_have_x="have_x=no" ;; #(
13719 *) :
13720 # Record where we found X for the cache.
13721 ac_cv_have_x="have_x=yes\
13722 ac_x_includes='$ac_x_includes'\
13723 ac_x_libraries='$ac_x_libraries'" ;;
13724 esac
13726 ;; #(
13727 *) have_x=yes;;
13728 esac
13729 eval "$ac_cv_have_x"
13730 fi # $with_x != no
13732 if test "$have_x" != yes; then
13733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13734 printf "%s\n" "$have_x" >&6; }
13735 no_x=yes
13736 else
13737 # If each of the values was on the command line, it overrides each guess.
13738 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13739 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13740 # Update the cache value to reflect the command line values.
13741 ac_cv_have_x="have_x=yes\
13742 ac_x_includes='$x_includes'\
13743 ac_x_libraries='$x_libraries'"
13744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13745 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13748 if test "$no_x" = yes; then
13749 # Not all programs may use this symbol, but it does not hurt to define it.
13751 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13753 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13754 else
13755 if test -n "$x_includes"; then
13756 X_CFLAGS="$X_CFLAGS -I$x_includes"
13759 # It would also be nice to do this for all -L options, not just this one.
13760 if test -n "$x_libraries"; then
13761 X_LIBS="$X_LIBS -L$x_libraries"
13762 # For Solaris; some versions of Sun CC require a space after -R and
13763 # others require no space. Words are not sufficient . . . .
13764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13765 printf %s "checking whether -R must be followed by a space... " >&6; }
13766 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13767 ac_xsave_c_werror_flag=$ac_c_werror_flag
13768 ac_c_werror_flag=yes
13769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h. */
13773 main (void)
13777 return 0;
13779 _ACEOF
13780 if ac_fn_c_try_link "$LINENO"
13781 then :
13782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13783 printf "%s\n" "no" >&6; }
13784 X_LIBS="$X_LIBS -R$x_libraries"
13785 else $as_nop
13786 LIBS="$ac_xsave_LIBS -R $x_libraries"
13787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13788 /* end confdefs.h. */
13791 main (void)
13795 return 0;
13797 _ACEOF
13798 if ac_fn_c_try_link "$LINENO"
13799 then :
13800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13801 printf "%s\n" "yes" >&6; }
13802 X_LIBS="$X_LIBS -R $x_libraries"
13803 else $as_nop
13804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13805 printf "%s\n" "neither works" >&6; }
13807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13808 conftest$ac_exeext conftest.$ac_ext
13810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13811 conftest$ac_exeext conftest.$ac_ext
13812 ac_c_werror_flag=$ac_xsave_c_werror_flag
13813 LIBS=$ac_xsave_LIBS
13816 # Check for system-dependent libraries X programs must link with.
13817 # Do this before checking for the system-independent R6 libraries
13818 # (-lICE), since we may need -lsocket or whatever for X linking.
13820 if test "$ISC" = yes; then
13821 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13822 else
13823 # Martyn Johnson says this is needed for Ultrix, if the X
13824 # libraries were built with DECnet support. And Karl Berry says
13825 # the Alpha needs dnet_stub (dnet does not exist).
13826 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13828 /* end confdefs.h. */
13830 /* Override any GCC internal prototype to avoid an error.
13831 Use char because int might match the return type of a GCC
13832 builtin and then its argument prototype would still apply. */
13833 char XOpenDisplay ();
13835 main (void)
13837 return XOpenDisplay ();
13839 return 0;
13841 _ACEOF
13842 if ac_fn_c_try_link "$LINENO"
13843 then :
13845 else $as_nop
13846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13847 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13848 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13849 then :
13850 printf %s "(cached) " >&6
13851 else $as_nop
13852 ac_check_lib_save_LIBS=$LIBS
13853 LIBS="-ldnet $LIBS"
13854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13857 /* Override any GCC internal prototype to avoid an error.
13858 Use char because int might match the return type of a GCC
13859 builtin and then its argument prototype would still apply. */
13860 char dnet_ntoa ();
13862 main (void)
13864 return dnet_ntoa ();
13866 return 0;
13868 _ACEOF
13869 if ac_fn_c_try_link "$LINENO"
13870 then :
13871 ac_cv_lib_dnet_dnet_ntoa=yes
13872 else $as_nop
13873 ac_cv_lib_dnet_dnet_ntoa=no
13875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13876 conftest$ac_exeext conftest.$ac_ext
13877 LIBS=$ac_check_lib_save_LIBS
13879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13880 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13881 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13882 then :
13883 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13886 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13888 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13889 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13890 then :
13891 printf %s "(cached) " >&6
13892 else $as_nop
13893 ac_check_lib_save_LIBS=$LIBS
13894 LIBS="-ldnet_stub $LIBS"
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13898 /* Override any GCC internal prototype to avoid an error.
13899 Use char because int might match the return type of a GCC
13900 builtin and then its argument prototype would still apply. */
13901 char dnet_ntoa ();
13903 main (void)
13905 return dnet_ntoa ();
13907 return 0;
13909 _ACEOF
13910 if ac_fn_c_try_link "$LINENO"
13911 then :
13912 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13913 else $as_nop
13914 ac_cv_lib_dnet_stub_dnet_ntoa=no
13916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13917 conftest$ac_exeext conftest.$ac_ext
13918 LIBS=$ac_check_lib_save_LIBS
13920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13921 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13922 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13923 then :
13924 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13930 conftest$ac_exeext conftest.$ac_ext
13931 LIBS="$ac_xsave_LIBS"
13933 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13934 # to get the SysV transport functions.
13935 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13936 # needs -lnsl.
13937 # The nsl library prevents programs from opening the X display
13938 # on Irix 5.2, according to T.E. Dickey.
13939 # The functions gethostbyname, getservbyname, and inet_addr are
13940 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13941 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13942 if test "x$ac_cv_func_gethostbyname" = xyes
13943 then :
13947 if test $ac_cv_func_gethostbyname = no; then
13948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13949 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13950 if test ${ac_cv_lib_nsl_gethostbyname+y}
13951 then :
13952 printf %s "(cached) " >&6
13953 else $as_nop
13954 ac_check_lib_save_LIBS=$LIBS
13955 LIBS="-lnsl $LIBS"
13956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13959 /* Override any GCC internal prototype to avoid an error.
13960 Use char because int might match the return type of a GCC
13961 builtin and then its argument prototype would still apply. */
13962 char gethostbyname ();
13964 main (void)
13966 return gethostbyname ();
13968 return 0;
13970 _ACEOF
13971 if ac_fn_c_try_link "$LINENO"
13972 then :
13973 ac_cv_lib_nsl_gethostbyname=yes
13974 else $as_nop
13975 ac_cv_lib_nsl_gethostbyname=no
13977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13978 conftest$ac_exeext conftest.$ac_ext
13979 LIBS=$ac_check_lib_save_LIBS
13981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13982 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13983 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13984 then :
13985 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13988 if test $ac_cv_lib_nsl_gethostbyname = no; then
13989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13990 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13991 if test ${ac_cv_lib_bsd_gethostbyname+y}
13992 then :
13993 printf %s "(cached) " >&6
13994 else $as_nop
13995 ac_check_lib_save_LIBS=$LIBS
13996 LIBS="-lbsd $LIBS"
13997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
14000 /* Override any GCC internal prototype to avoid an error.
14001 Use char because int might match the return type of a GCC
14002 builtin and then its argument prototype would still apply. */
14003 char gethostbyname ();
14005 main (void)
14007 return gethostbyname ();
14009 return 0;
14011 _ACEOF
14012 if ac_fn_c_try_link "$LINENO"
14013 then :
14014 ac_cv_lib_bsd_gethostbyname=yes
14015 else $as_nop
14016 ac_cv_lib_bsd_gethostbyname=no
14018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14019 conftest$ac_exeext conftest.$ac_ext
14020 LIBS=$ac_check_lib_save_LIBS
14022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14023 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14024 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14025 then :
14026 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14032 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14033 # socket/setsockopt and other routines are undefined under SCO ODT
14034 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14035 # on later versions), says Simon Leinen: it contains gethostby*
14036 # variants that don't use the name server (or something). -lsocket
14037 # must be given before -lnsl if both are needed. We assume that
14038 # if connect needs -lnsl, so does gethostbyname.
14039 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14040 if test "x$ac_cv_func_connect" = xyes
14041 then :
14045 if test $ac_cv_func_connect = no; then
14046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14047 printf %s "checking for connect in -lsocket... " >&6; }
14048 if test ${ac_cv_lib_socket_connect+y}
14049 then :
14050 printf %s "(cached) " >&6
14051 else $as_nop
14052 ac_check_lib_save_LIBS=$LIBS
14053 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14057 /* Override any GCC internal prototype to avoid an error.
14058 Use char because int might match the return type of a GCC
14059 builtin and then its argument prototype would still apply. */
14060 char connect ();
14062 main (void)
14064 return connect ();
14066 return 0;
14068 _ACEOF
14069 if ac_fn_c_try_link "$LINENO"
14070 then :
14071 ac_cv_lib_socket_connect=yes
14072 else $as_nop
14073 ac_cv_lib_socket_connect=no
14075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14076 conftest$ac_exeext conftest.$ac_ext
14077 LIBS=$ac_check_lib_save_LIBS
14079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14080 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14081 if test "x$ac_cv_lib_socket_connect" = xyes
14082 then :
14083 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14088 # Guillermo Gomez says -lposix is necessary on A/UX.
14089 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14090 if test "x$ac_cv_func_remove" = xyes
14091 then :
14095 if test $ac_cv_func_remove = no; then
14096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14097 printf %s "checking for remove in -lposix... " >&6; }
14098 if test ${ac_cv_lib_posix_remove+y}
14099 then :
14100 printf %s "(cached) " >&6
14101 else $as_nop
14102 ac_check_lib_save_LIBS=$LIBS
14103 LIBS="-lposix $LIBS"
14104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14105 /* end confdefs.h. */
14107 /* Override any GCC internal prototype to avoid an error.
14108 Use char because int might match the return type of a GCC
14109 builtin and then its argument prototype would still apply. */
14110 char remove ();
14112 main (void)
14114 return remove ();
14116 return 0;
14118 _ACEOF
14119 if ac_fn_c_try_link "$LINENO"
14120 then :
14121 ac_cv_lib_posix_remove=yes
14122 else $as_nop
14123 ac_cv_lib_posix_remove=no
14125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14126 conftest$ac_exeext conftest.$ac_ext
14127 LIBS=$ac_check_lib_save_LIBS
14129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14130 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14131 if test "x$ac_cv_lib_posix_remove" = xyes
14132 then :
14133 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14138 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14139 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14140 if test "x$ac_cv_func_shmat" = xyes
14141 then :
14145 if test $ac_cv_func_shmat = no; then
14146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14147 printf %s "checking for shmat in -lipc... " >&6; }
14148 if test ${ac_cv_lib_ipc_shmat+y}
14149 then :
14150 printf %s "(cached) " >&6
14151 else $as_nop
14152 ac_check_lib_save_LIBS=$LIBS
14153 LIBS="-lipc $LIBS"
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14157 /* Override any GCC internal prototype to avoid an error.
14158 Use char because int might match the return type of a GCC
14159 builtin and then its argument prototype would still apply. */
14160 char shmat ();
14162 main (void)
14164 return shmat ();
14166 return 0;
14168 _ACEOF
14169 if ac_fn_c_try_link "$LINENO"
14170 then :
14171 ac_cv_lib_ipc_shmat=yes
14172 else $as_nop
14173 ac_cv_lib_ipc_shmat=no
14175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14176 conftest$ac_exeext conftest.$ac_ext
14177 LIBS=$ac_check_lib_save_LIBS
14179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14180 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14181 if test "x$ac_cv_lib_ipc_shmat" = xyes
14182 then :
14183 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14189 # Check for libraries that X11R6 Xt/Xaw programs need.
14190 ac_save_LDFLAGS=$LDFLAGS
14191 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14192 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14193 # check for ICE first), but we must link in the order -lSM -lICE or
14194 # we get undefined symbols. So assume we have SM if we have ICE.
14195 # These have to be linked with before -lX11, unlike the other
14196 # libraries we check for below, so use a different variable.
14197 # John Interrante, Karl Berry
14198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14199 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14200 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14201 then :
14202 printf %s "(cached) " >&6
14203 else $as_nop
14204 ac_check_lib_save_LIBS=$LIBS
14205 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14207 /* end confdefs.h. */
14209 /* Override any GCC internal prototype to avoid an error.
14210 Use char because int might match the return type of a GCC
14211 builtin and then its argument prototype would still apply. */
14212 char IceConnectionNumber ();
14214 main (void)
14216 return IceConnectionNumber ();
14218 return 0;
14220 _ACEOF
14221 if ac_fn_c_try_link "$LINENO"
14222 then :
14223 ac_cv_lib_ICE_IceConnectionNumber=yes
14224 else $as_nop
14225 ac_cv_lib_ICE_IceConnectionNumber=no
14227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14228 conftest$ac_exeext conftest.$ac_ext
14229 LIBS=$ac_check_lib_save_LIBS
14231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14232 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14233 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14234 then :
14235 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14238 LDFLAGS=$ac_save_LDFLAGS
14243 if test "$have_x" = "yes"
14244 then
14245 ac_save_CPPFLAGS="$CPPFLAGS"
14246 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14249 printf %s "checking for -lX11... " >&6; }
14250 if test ${ac_cv_lib_soname_X11+y}
14251 then :
14252 printf %s "(cached) " >&6
14253 else $as_nop
14254 ac_check_soname_save_LIBS=$LIBS
14255 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14259 /* Override any GCC internal prototype to avoid an error.
14260 Use char because int might match the return type of a GCC
14261 builtin and then its argument prototype would still apply. */
14262 char XCreateWindow ();
14264 main (void)
14266 return XCreateWindow ();
14268 return 0;
14270 _ACEOF
14271 if ac_fn_c_try_link "$LINENO"
14272 then :
14273 case "$LIBEXT" in
14274 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14275 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'` ;;
14276 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14277 if ${ac_cv_lib_soname_X11:+false} :
14278 then :
14279 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14280 fi ;;
14281 esac
14282 else $as_nop
14283 ac_cv_lib_soname_X11=
14285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14286 conftest$ac_exeext conftest.$ac_ext
14287 LIBS=$ac_check_soname_save_LIBS
14289 if ${ac_cv_lib_soname_X11:+false} :
14290 then :
14291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14292 printf "%s\n" "not found" >&6; }
14294 else $as_nop
14295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14296 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14298 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14303 printf %s "checking for -lXext... " >&6; }
14304 if test ${ac_cv_lib_soname_Xext+y}
14305 then :
14306 printf %s "(cached) " >&6
14307 else $as_nop
14308 ac_check_soname_save_LIBS=$LIBS
14309 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14313 /* Override any GCC internal prototype to avoid an error.
14314 Use char because int might match the return type of a GCC
14315 builtin and then its argument prototype would still apply. */
14316 char XextCreateExtension ();
14318 main (void)
14320 return XextCreateExtension ();
14322 return 0;
14324 _ACEOF
14325 if ac_fn_c_try_link "$LINENO"
14326 then :
14327 case "$LIBEXT" in
14328 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14329 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'` ;;
14330 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14331 if ${ac_cv_lib_soname_Xext:+false} :
14332 then :
14333 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14334 fi ;;
14335 esac
14336 else $as_nop
14337 ac_cv_lib_soname_Xext=
14339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14340 conftest$ac_exeext conftest.$ac_ext
14341 LIBS=$ac_check_soname_save_LIBS
14343 if ${ac_cv_lib_soname_Xext:+false} :
14344 then :
14345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14346 printf "%s\n" "not found" >&6; }
14348 else $as_nop
14349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14350 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14352 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14354 X_LIBS="$X_LIBS -lXext"
14356 X_LIBS="$X_LIBS -lX11"
14358 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14359 # include <X11/Xlib.h>
14360 #endif
14361 #ifdef HAVE_X11_XUTIL_H
14362 # include <X11/Xutil.h>
14363 #endif
14365 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14366 then :
14367 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14370 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14371 # include <X11/Xlib.h>
14372 #endif
14373 #ifdef HAVE_X11_XUTIL_H
14374 # include <X11/Xutil.h>
14375 #endif
14377 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14378 then :
14379 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14382 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14383 # include <X11/Xlib.h>
14384 #endif
14385 #ifdef HAVE_X11_XUTIL_H
14386 # include <X11/Xutil.h>
14387 #endif
14389 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14390 then :
14391 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14394 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14395 # include <X11/Xlib.h>
14396 #endif
14397 #ifdef HAVE_X11_XUTIL_H
14398 # include <X11/Xutil.h>
14399 #endif
14401 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14402 then :
14403 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14406 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14407 # include <X11/Xlib.h>
14408 #endif
14409 #ifdef HAVE_X11_XUTIL_H
14410 # include <X11/Xutil.h>
14411 #endif
14413 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14414 then :
14415 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14418 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14419 # include <X11/Xlib.h>
14420 #endif
14421 #ifdef HAVE_X11_XUTIL_H
14422 # include <X11/Xutil.h>
14423 #endif
14425 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14426 then :
14427 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14430 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14431 # include <X11/Xlib.h>
14432 #endif
14433 #ifdef HAVE_X11_XUTIL_H
14434 # include <X11/Xutil.h>
14435 #endif
14437 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14438 then :
14439 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14442 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14443 # include <X11/Xlib.h>
14444 #endif
14445 #ifdef HAVE_X11_XUTIL_H
14446 # include <X11/Xutil.h>
14447 #endif
14449 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14450 then :
14451 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14454 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14455 # include <X11/Xlib.h>
14456 #endif
14457 #ifdef HAVE_X11_XUTIL_H
14458 # include <X11/Xutil.h>
14459 #endif
14461 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14462 then :
14463 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14466 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14467 # include <X11/Xlib.h>
14468 #endif
14469 #ifdef HAVE_X11_XUTIL_H
14470 # include <X11/Xutil.h>
14471 #endif
14473 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14474 then :
14475 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14478 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14479 # include <X11/Xlib.h>
14480 #endif
14481 #ifdef HAVE_X11_XUTIL_H
14482 # include <X11/Xutil.h>
14483 #endif
14485 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14486 then :
14487 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14490 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14491 # include <X11/Xlib.h>
14492 #endif
14493 #ifdef HAVE_X11_XUTIL_H
14494 # include <X11/Xutil.h>
14495 #endif
14497 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14498 then :
14499 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14502 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14503 # include <X11/Xlib.h>
14504 #endif
14505 #ifdef HAVE_X11_XUTIL_H
14506 # include <X11/Xutil.h>
14507 #endif
14509 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14510 then :
14511 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14514 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14515 # include <X11/Xlib.h>
14516 #endif
14517 #ifdef HAVE_X11_XUTIL_H
14518 # include <X11/Xutil.h>
14519 #endif
14521 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14522 then :
14523 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14526 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14527 # include <X11/Xlib.h>
14528 #endif
14529 #ifdef HAVE_X11_XUTIL_H
14530 # include <X11/Xutil.h>
14531 #endif
14533 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14534 then :
14535 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14540 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14541 then
14542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14543 printf %s "checking for -lXcursor... " >&6; }
14544 if test ${ac_cv_lib_soname_Xcursor+y}
14545 then :
14546 printf %s "(cached) " >&6
14547 else $as_nop
14548 ac_check_soname_save_LIBS=$LIBS
14549 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14553 /* Override any GCC internal prototype to avoid an error.
14554 Use char because int might match the return type of a GCC
14555 builtin and then its argument prototype would still apply. */
14556 char XcursorImageLoadCursor ();
14558 main (void)
14560 return XcursorImageLoadCursor ();
14562 return 0;
14564 _ACEOF
14565 if ac_fn_c_try_link "$LINENO"
14566 then :
14567 case "$LIBEXT" in
14568 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14569 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'` ;;
14570 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14571 if ${ac_cv_lib_soname_Xcursor:+false} :
14572 then :
14573 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14574 fi ;;
14575 esac
14576 else $as_nop
14577 ac_cv_lib_soname_Xcursor=
14579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14580 conftest$ac_exeext conftest.$ac_ext
14581 LIBS=$ac_check_soname_save_LIBS
14583 if ${ac_cv_lib_soname_Xcursor:+false} :
14584 then :
14585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14586 printf "%s\n" "not found" >&6; }
14588 else $as_nop
14589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14590 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14592 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14597 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14598 then :
14599 case "x$with_xcursor" in
14600 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14601 xno) ;;
14602 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14603 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14604 esac
14608 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14609 then
14610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14611 printf %s "checking for -lXi... " >&6; }
14612 if test ${ac_cv_lib_soname_Xi+y}
14613 then :
14614 printf %s "(cached) " >&6
14615 else $as_nop
14616 ac_check_soname_save_LIBS=$LIBS
14617 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14619 /* end confdefs.h. */
14621 /* Override any GCC internal prototype to avoid an error.
14622 Use char because int might match the return type of a GCC
14623 builtin and then its argument prototype would still apply. */
14624 char XOpenDevice ();
14626 main (void)
14628 return XOpenDevice ();
14630 return 0;
14632 _ACEOF
14633 if ac_fn_c_try_link "$LINENO"
14634 then :
14635 case "$LIBEXT" in
14636 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14637 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'` ;;
14638 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14639 if ${ac_cv_lib_soname_Xi:+false} :
14640 then :
14641 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14642 fi ;;
14643 esac
14644 else $as_nop
14645 ac_cv_lib_soname_Xi=
14647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14648 conftest$ac_exeext conftest.$ac_ext
14649 LIBS=$ac_check_soname_save_LIBS
14651 if ${ac_cv_lib_soname_Xi:+false} :
14652 then :
14653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14654 printf "%s\n" "not found" >&6; }
14656 else $as_nop
14657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14658 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14660 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14665 if test "x$ac_cv_lib_soname_Xi" = "x"
14666 then :
14667 case "x$with_xinput" in
14668 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14669 xno) ;;
14670 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14671 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14672 esac
14676 if test "x$ac_cv_lib_soname_Xi" != x
14677 then
14678 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14679 then :
14680 case "x$with_xinput2" in
14681 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14682 xno) ;;
14683 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14684 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14685 esac
14690 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14691 then
14692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14693 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14694 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14695 then :
14696 printf %s "(cached) " >&6
14697 else $as_nop
14698 ac_check_lib_save_LIBS=$LIBS
14699 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14703 /* Override any GCC internal prototype to avoid an error.
14704 Use char because int might match the return type of a GCC
14705 builtin and then its argument prototype would still apply. */
14706 char XShmQueryExtension ();
14708 main (void)
14710 return XShmQueryExtension ();
14712 return 0;
14714 _ACEOF
14715 if ac_fn_c_try_link "$LINENO"
14716 then :
14717 ac_cv_lib_Xext_XShmQueryExtension=yes
14718 else $as_nop
14719 ac_cv_lib_Xext_XShmQueryExtension=no
14721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14722 conftest$ac_exeext conftest.$ac_ext
14723 LIBS=$ac_check_lib_save_LIBS
14725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14726 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14727 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14728 then :
14730 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14735 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14736 then :
14737 case "x$with_xshm" in
14738 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14739 xno) ;;
14740 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14741 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14742 esac
14746 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14747 then
14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14749 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14750 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14751 then :
14752 printf %s "(cached) " >&6
14753 else $as_nop
14754 ac_check_lib_save_LIBS=$LIBS
14755 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14759 /* Override any GCC internal prototype to avoid an error.
14760 Use char because int might match the return type of a GCC
14761 builtin and then its argument prototype would still apply. */
14762 char XShapeQueryExtension ();
14764 main (void)
14766 return XShapeQueryExtension ();
14768 return 0;
14770 _ACEOF
14771 if ac_fn_c_try_link "$LINENO"
14772 then :
14773 ac_cv_lib_Xext_XShapeQueryExtension=yes
14774 else $as_nop
14775 ac_cv_lib_Xext_XShapeQueryExtension=no
14777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14778 conftest$ac_exeext conftest.$ac_ext
14779 LIBS=$ac_check_lib_save_LIBS
14781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14782 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14783 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14784 then :
14786 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14791 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14792 then :
14793 case "x$with_xshape" in
14794 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14795 xno) ;;
14796 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14797 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14798 esac
14802 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14803 then
14804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14805 printf %s "checking for -lXxf86vm... " >&6; }
14806 if test ${ac_cv_lib_soname_Xxf86vm+y}
14807 then :
14808 printf %s "(cached) " >&6
14809 else $as_nop
14810 ac_check_soname_save_LIBS=$LIBS
14811 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14815 /* Override any GCC internal prototype to avoid an error.
14816 Use char because int might match the return type of a GCC
14817 builtin and then its argument prototype would still apply. */
14818 char XF86VidModeQueryExtension ();
14820 main (void)
14822 return XF86VidModeQueryExtension ();
14824 return 0;
14826 _ACEOF
14827 if ac_fn_c_try_link "$LINENO"
14828 then :
14829 case "$LIBEXT" in
14830 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14831 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'` ;;
14832 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14833 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14834 then :
14835 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14836 fi ;;
14837 esac
14838 else $as_nop
14839 ac_cv_lib_soname_Xxf86vm=
14841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14842 conftest$ac_exeext conftest.$ac_ext
14843 LIBS=$ac_check_soname_save_LIBS
14845 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14846 then :
14847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14848 printf "%s\n" "not found" >&6; }
14850 else $as_nop
14851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14852 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14854 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14859 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14860 then :
14861 case "x$with_xxf86vm" in
14862 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14863 xno) ;;
14864 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14865 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14866 esac
14870 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14871 then
14872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14873 printf %s "checking for -lXrender... " >&6; }
14874 if test ${ac_cv_lib_soname_Xrender+y}
14875 then :
14876 printf %s "(cached) " >&6
14877 else $as_nop
14878 ac_check_soname_save_LIBS=$LIBS
14879 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14883 /* Override any GCC internal prototype to avoid an error.
14884 Use char because int might match the return type of a GCC
14885 builtin and then its argument prototype would still apply. */
14886 char XRenderQueryExtension ();
14888 main (void)
14890 return XRenderQueryExtension ();
14892 return 0;
14894 _ACEOF
14895 if ac_fn_c_try_link "$LINENO"
14896 then :
14897 case "$LIBEXT" in
14898 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14899 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'` ;;
14900 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14901 if ${ac_cv_lib_soname_Xrender:+false} :
14902 then :
14903 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14904 fi ;;
14905 esac
14906 else $as_nop
14907 ac_cv_lib_soname_Xrender=
14909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14910 conftest$ac_exeext conftest.$ac_ext
14911 LIBS=$ac_check_soname_save_LIBS
14913 if ${ac_cv_lib_soname_Xrender:+false} :
14914 then :
14915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14916 printf "%s\n" "not found" >&6; }
14918 else $as_nop
14919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14920 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14922 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14925 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14926 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14927 then :
14928 printf %s "(cached) " >&6
14929 else $as_nop
14930 ac_check_lib_save_LIBS=$LIBS
14931 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14935 /* Override any GCC internal prototype to avoid an error.
14936 Use char because int might match the return type of a GCC
14937 builtin and then its argument prototype would still apply. */
14938 char XRenderSetPictureTransform ();
14940 main (void)
14942 return XRenderSetPictureTransform ();
14944 return 0;
14946 _ACEOF
14947 if ac_fn_c_try_link "$LINENO"
14948 then :
14949 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14950 else $as_nop
14951 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14954 conftest$ac_exeext conftest.$ac_ext
14955 LIBS=$ac_check_lib_save_LIBS
14957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14958 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14959 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14960 then :
14962 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14967 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14968 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14969 then :
14970 printf %s "(cached) " >&6
14971 else $as_nop
14972 ac_check_lib_save_LIBS=$LIBS
14973 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */
14977 /* Override any GCC internal prototype to avoid an error.
14978 Use char because int might match the return type of a GCC
14979 builtin and then its argument prototype would still apply. */
14980 char XRenderCreateLinearGradient ();
14982 main (void)
14984 return XRenderCreateLinearGradient ();
14986 return 0;
14988 _ACEOF
14989 if ac_fn_c_try_link "$LINENO"
14990 then :
14991 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14992 else $as_nop
14993 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14996 conftest$ac_exeext conftest.$ac_ext
14997 LIBS=$ac_check_lib_save_LIBS
14999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15000 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15001 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15002 then :
15004 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15011 if test "x$ac_cv_lib_soname_Xrender" = "x"
15012 then :
15013 case "x$with_xrender" in
15014 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15015 xno) ;;
15016 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15017 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15018 esac
15022 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15023 then
15024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15026 #include <X11/Xlib.h>
15027 #include <X11/extensions/Xrandr.h>
15029 main (void)
15031 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15033 return 0;
15035 _ACEOF
15036 if ac_fn_c_try_compile "$LINENO"
15037 then :
15038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15039 printf %s "checking for -lXrandr... " >&6; }
15040 if test ${ac_cv_lib_soname_Xrandr+y}
15041 then :
15042 printf %s "(cached) " >&6
15043 else $as_nop
15044 ac_check_soname_save_LIBS=$LIBS
15045 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15049 /* Override any GCC internal prototype to avoid an error.
15050 Use char because int might match the return type of a GCC
15051 builtin and then its argument prototype would still apply. */
15052 char XRRQueryExtension ();
15054 main (void)
15056 return XRRQueryExtension ();
15058 return 0;
15060 _ACEOF
15061 if ac_fn_c_try_link "$LINENO"
15062 then :
15063 case "$LIBEXT" in
15064 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15065 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'` ;;
15066 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15067 if ${ac_cv_lib_soname_Xrandr:+false} :
15068 then :
15069 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15070 fi ;;
15071 esac
15072 else $as_nop
15073 ac_cv_lib_soname_Xrandr=
15075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15076 conftest$ac_exeext conftest.$ac_ext
15077 LIBS=$ac_check_soname_save_LIBS
15079 if ${ac_cv_lib_soname_Xrandr:+false} :
15080 then :
15081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15082 printf "%s\n" "not found" >&6; }
15084 else $as_nop
15085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15086 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15088 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15092 #include <X11/Xlib.h>
15093 #include <X11/extensions/Xrandr.h>
15095 main (void)
15097 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15099 return 0;
15101 _ACEOF
15102 if ac_fn_c_try_compile "$LINENO"
15103 then :
15105 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15107 else $as_nop
15108 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15115 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15116 then :
15117 case "x$with_xrandr" in
15118 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15119 xno) ;;
15120 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15121 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15122 esac
15126 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15127 then
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 #include <X11/Xlib.h>
15131 #include <X11/extensions/Xfixes.h>
15133 main (void)
15135 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15137 return 0;
15139 _ACEOF
15140 if ac_fn_c_try_compile "$LINENO"
15141 then :
15142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15143 printf %s "checking for -lXfixes... " >&6; }
15144 if test ${ac_cv_lib_soname_Xfixes+y}
15145 then :
15146 printf %s "(cached) " >&6
15147 else $as_nop
15148 ac_check_soname_save_LIBS=$LIBS
15149 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15151 /* end confdefs.h. */
15153 /* Override any GCC internal prototype to avoid an error.
15154 Use char because int might match the return type of a GCC
15155 builtin and then its argument prototype would still apply. */
15156 char XFixesQueryVersion ();
15158 main (void)
15160 return XFixesQueryVersion ();
15162 return 0;
15164 _ACEOF
15165 if ac_fn_c_try_link "$LINENO"
15166 then :
15167 case "$LIBEXT" in
15168 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15169 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'` ;;
15170 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15171 if ${ac_cv_lib_soname_Xfixes:+false} :
15172 then :
15173 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15174 fi ;;
15175 esac
15176 else $as_nop
15177 ac_cv_lib_soname_Xfixes=
15179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15180 conftest$ac_exeext conftest.$ac_ext
15181 LIBS=$ac_check_soname_save_LIBS
15183 if ${ac_cv_lib_soname_Xfixes:+false} :
15184 then :
15185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15186 printf "%s\n" "not found" >&6; }
15188 else $as_nop
15189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15190 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15192 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15199 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15200 then :
15201 case "x$with_xfixes" in
15202 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15203 xno) ;;
15204 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15205 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15206 esac
15210 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15211 then
15212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15213 /* end confdefs.h. */
15214 #include <X11/Xlib.h>
15215 #include <X11/extensions/Xinerama.h>
15217 main (void)
15219 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15221 return 0;
15223 _ACEOF
15224 if ac_fn_c_try_compile "$LINENO"
15225 then :
15226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15227 printf %s "checking for -lXinerama... " >&6; }
15228 if test ${ac_cv_lib_soname_Xinerama+y}
15229 then :
15230 printf %s "(cached) " >&6
15231 else $as_nop
15232 ac_check_soname_save_LIBS=$LIBS
15233 LIBS="-lXinerama $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 XineramaQueryScreens ();
15242 main (void)
15244 return XineramaQueryScreens ();
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_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15253 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'` ;;
15254 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15255 if ${ac_cv_lib_soname_Xinerama:+false} :
15256 then :
15257 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15258 fi ;;
15259 esac
15260 else $as_nop
15261 ac_cv_lib_soname_Xinerama=
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_Xinerama:+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_Xinerama" >&5
15274 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15276 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15283 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15284 then :
15285 case "x$with_xinerama" in
15286 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15287 xno) ;;
15288 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15289 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15290 esac
15294 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15295 then
15296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15297 printf %s "checking for -lXcomposite... " >&6; }
15298 if test ${ac_cv_lib_soname_Xcomposite+y}
15299 then :
15300 printf %s "(cached) " >&6
15301 else $as_nop
15302 ac_check_soname_save_LIBS=$LIBS
15303 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15307 /* Override any GCC internal prototype to avoid an error.
15308 Use char because int might match the return type of a GCC
15309 builtin and then its argument prototype would still apply. */
15310 char XCompositeRedirectWindow ();
15312 main (void)
15314 return XCompositeRedirectWindow ();
15316 return 0;
15318 _ACEOF
15319 if ac_fn_c_try_link "$LINENO"
15320 then :
15321 case "$LIBEXT" in
15322 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15323 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'` ;;
15324 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15325 if ${ac_cv_lib_soname_Xcomposite:+false} :
15326 then :
15327 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15328 fi ;;
15329 esac
15330 else $as_nop
15331 ac_cv_lib_soname_Xcomposite=
15333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15334 conftest$ac_exeext conftest.$ac_ext
15335 LIBS=$ac_check_soname_save_LIBS
15337 if ${ac_cv_lib_soname_Xcomposite:+false} :
15338 then :
15339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15340 printf "%s\n" "not found" >&6; }
15342 else $as_nop
15343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15344 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15346 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15351 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15352 then :
15353 case "x$with_xcomposite" in
15354 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15355 xno) ;;
15356 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15357 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15358 esac
15362 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15363 #include <X11/Xlib.h>
15364 #endif
15366 if test "x$ac_cv_member_XICCallback_callback" = xyes
15367 then :
15369 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15373 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15374 #include <X11/Xlib.h>
15375 #endif
15377 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15378 then :
15380 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15387 opengl_msg=""
15388 if test "x$with_opengl" != "xno"
15389 then
15390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15391 printf %s "checking for -lGL... " >&6; }
15392 if test ${ac_cv_lib_soname_GL+y}
15393 then :
15394 printf %s "(cached) " >&6
15395 else $as_nop
15396 ac_check_soname_save_LIBS=$LIBS
15397 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15399 /* end confdefs.h. */
15401 /* Override any GCC internal prototype to avoid an error.
15402 Use char because int might match the return type of a GCC
15403 builtin and then its argument prototype would still apply. */
15404 char glXCreateContext ();
15406 main (void)
15408 return glXCreateContext ();
15410 return 0;
15412 _ACEOF
15413 if ac_fn_c_try_link "$LINENO"
15414 then :
15415 case "$LIBEXT" in
15416 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15417 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'` ;;
15418 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15419 if ${ac_cv_lib_soname_GL:+false} :
15420 then :
15421 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15422 fi ;;
15423 esac
15424 else $as_nop
15425 ac_cv_lib_soname_GL=
15427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15428 conftest$ac_exeext conftest.$ac_ext
15429 LIBS=$ac_check_soname_save_LIBS
15431 if ${ac_cv_lib_soname_GL:+false} :
15432 then :
15433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15434 printf "%s\n" "not found" >&6; }
15435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15436 printf %s "checking for -lGL... " >&6; }
15437 if test ${ac_cv_lib_soname_GL+y}
15438 then :
15439 printf %s "(cached) " >&6
15440 else $as_nop
15441 ac_check_soname_save_LIBS=$LIBS
15442 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"
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 glXCreateContext ();
15451 main (void)
15453 return glXCreateContext ();
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_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15462 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'` ;;
15463 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15464 if ${ac_cv_lib_soname_GL:+false} :
15465 then :
15466 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15467 fi ;;
15468 esac
15469 else $as_nop
15470 ac_cv_lib_soname_GL=
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_GL:+false} :
15477 then :
15478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15479 printf "%s\n" "not found" >&6; }
15480 if test -f /usr/X11R6/lib/libGL.a
15481 then
15482 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15483 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15484 else
15485 opengl_msg="No OpenGL library found on this system."
15487 else $as_nop
15488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15489 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15491 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15493 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"
15495 else $as_nop
15496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15497 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15499 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15501 OPENGL_LIBS="-lGL"
15503 if test "x$with_osmesa" != "xno"
15504 then
15505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15506 printf %s "checking for -lOSMesa... " >&6; }
15507 if test ${ac_cv_lib_soname_OSMesa+y}
15508 then :
15509 printf %s "(cached) " >&6
15510 else $as_nop
15511 ac_check_soname_save_LIBS=$LIBS
15512 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15514 /* end confdefs.h. */
15516 /* Override any GCC internal prototype to avoid an error.
15517 Use char because int might match the return type of a GCC
15518 builtin and then its argument prototype would still apply. */
15519 char OSMesaGetProcAddress ();
15521 main (void)
15523 return OSMesaGetProcAddress ();
15525 return 0;
15527 _ACEOF
15528 if ac_fn_c_try_link "$LINENO"
15529 then :
15530 case "$LIBEXT" in
15531 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15532 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'` ;;
15533 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15534 if ${ac_cv_lib_soname_OSMesa:+false} :
15535 then :
15536 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15537 fi ;;
15538 esac
15539 else $as_nop
15540 ac_cv_lib_soname_OSMesa=
15542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15543 conftest$ac_exeext conftest.$ac_ext
15544 LIBS=$ac_check_soname_save_LIBS
15546 if ${ac_cv_lib_soname_OSMesa:+false} :
15547 then :
15548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15549 printf "%s\n" "not found" >&6; }
15551 else $as_nop
15552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15553 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15555 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15559 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15560 then :
15561 case "x$with_osmesa" in
15562 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15563 xno) ;;
15564 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15565 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15566 esac
15571 if test -n "$opengl_msg"
15572 then :
15573 case "x$with_opengl" in
15574 x) as_fn_append wine_warnings "|$opengl_msg
15575 OpenGL and Direct3D won't be supported." ;;
15576 xno) ;;
15577 *) as_fn_error $? "$opengl_msg
15578 OpenGL and Direct3D won't be supported.
15579 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15580 esac
15584 CPPFLAGS="$ac_save_CPPFLAGS"
15585 else
15586 X_CFLAGS=""
15587 X_LIBS=""
15590 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15591 then
15592 if test "x$X_LIBS" = "x"
15593 then :
15594 case "x$with_x" in
15595 xno) ;;
15596 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15597 without X support, which probably isn't what you want. You will need
15598 to install ${notice_platform}development packages of Xlib at the very least.
15599 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15600 esac
15601 enable_winex11_drv=${enable_winex11_drv:-no}
15603 else
15604 if test "x$X_LIBS" = "x"
15605 then :
15606 case "x$with_x" in
15607 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15608 xno) ;;
15609 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15610 This is an error since --with-x was requested." "$LINENO" 5 ;;
15611 esac
15612 enable_winex11_drv=${enable_winex11_drv:-no}
15616 if test "x$with_wayland" != "xno"
15617 then
15618 rm -f conftest.err
15619 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15620 then :
15621 if test ${PKG_CONFIG+y}
15622 then :
15623 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15627 if ${WAYLAND_CLIENT_LIBS:+false} :
15628 then :
15629 if test ${PKG_CONFIG+y}
15630 then :
15631 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15638 if test -s conftest.err; then
15639 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15640 cat conftest.err >&5
15642 rm -f conftest.err
15643 ac_save_CPPFLAGS=$CPPFLAGS
15644 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15645 for ac_header in wayland-client.h
15646 do :
15647 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15648 if test "x$ac_cv_header_wayland_client_h" = xyes
15649 then :
15650 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15652 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15653 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15654 then :
15655 printf %s "(cached) " >&6
15656 else $as_nop
15657 ac_check_lib_save_LIBS=$LIBS
15658 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15660 /* end confdefs.h. */
15662 /* Override any GCC internal prototype to avoid an error.
15663 Use char because int might match the return type of a GCC
15664 builtin and then its argument prototype would still apply. */
15665 char wl_display_connect ();
15667 main (void)
15669 return wl_display_connect ();
15671 return 0;
15673 _ACEOF
15674 if ac_fn_c_try_link "$LINENO"
15675 then :
15676 ac_cv_lib_wayland_client_wl_display_connect=yes
15677 else $as_nop
15678 ac_cv_lib_wayland_client_wl_display_connect=no
15680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15681 conftest$ac_exeext conftest.$ac_ext
15682 LIBS=$ac_check_lib_save_LIBS
15684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15685 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15686 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15687 then :
15688 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15689 set dummy wayland-scanner; ac_word=$2
15690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15691 printf %s "checking for $ac_word... " >&6; }
15692 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15693 then :
15694 printf %s "(cached) " >&6
15695 else $as_nop
15696 case $WAYLAND_SCANNER in
15697 [\\/]* | ?:[\\/]*)
15698 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15702 for as_dir in $PATH
15704 IFS=$as_save_IFS
15705 case $as_dir in #(((
15706 '') as_dir=./ ;;
15707 */) ;;
15708 *) as_dir=$as_dir/ ;;
15709 esac
15710 for ac_exec_ext in '' $ac_executable_extensions; do
15711 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15712 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15714 break 2
15716 done
15717 done
15718 IFS=$as_save_IFS
15720 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`"
15722 esac
15724 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15725 if test -n "$WAYLAND_SCANNER"; then
15726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15727 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15728 else
15729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15730 printf "%s\n" "no" >&6; }
15734 else $as_nop
15735 WAYLAND_CLIENT_LIBS=""
15740 done
15741 CPPFLAGS=$ac_save_CPPFLAGS
15744 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15745 then :
15746 case "x$with_wayland" in
15747 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15748 xno) ;;
15749 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15750 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15751 esac
15752 enable_winewayland_drv=${enable_winewayland_drv:-no}
15755 if test "$ac_cv_header_CL_cl_h" = "yes"
15756 then
15757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15758 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15759 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15760 then :
15761 printf %s "(cached) " >&6
15762 else $as_nop
15763 ac_check_lib_save_LIBS=$LIBS
15764 LIBS="-lOpenCL $LIBS"
15765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15768 /* Override any GCC internal prototype to avoid an error.
15769 Use char because int might match the return type of a GCC
15770 builtin and then its argument prototype would still apply. */
15771 char clGetPlatformInfo ();
15773 main (void)
15775 return clGetPlatformInfo ();
15777 return 0;
15779 _ACEOF
15780 if ac_fn_c_try_link "$LINENO"
15781 then :
15782 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15783 else $as_nop
15784 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15787 conftest$ac_exeext conftest.$ac_ext
15788 LIBS=$ac_check_lib_save_LIBS
15790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15791 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15792 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15793 then :
15794 OPENCL_LIBS="-lOpenCL"
15799 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15800 then :
15801 case "x$with_opencl" in
15802 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15803 xno) ;;
15804 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15805 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15806 esac
15807 enable_opencl=${enable_opencl:-no}
15810 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15811 then
15812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15813 printf %s "checking for pcap_init in -lpcap... " >&6; }
15814 if test ${ac_cv_lib_pcap_pcap_init+y}
15815 then :
15816 printf %s "(cached) " >&6
15817 else $as_nop
15818 ac_check_lib_save_LIBS=$LIBS
15819 LIBS="-lpcap $LIBS"
15820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15821 /* end confdefs.h. */
15823 /* Override any GCC internal prototype to avoid an error.
15824 Use char because int might match the return type of a GCC
15825 builtin and then its argument prototype would still apply. */
15826 char pcap_init ();
15828 main (void)
15830 return pcap_init ();
15832 return 0;
15834 _ACEOF
15835 if ac_fn_c_try_link "$LINENO"
15836 then :
15837 ac_cv_lib_pcap_pcap_init=yes
15838 else $as_nop
15839 ac_cv_lib_pcap_pcap_init=no
15841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15842 conftest$ac_exeext conftest.$ac_ext
15843 LIBS=$ac_check_lib_save_LIBS
15845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15846 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15847 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15848 then :
15849 PCAP_LIBS="-lpcap"
15854 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15855 then :
15856 case "x$with_pcap" in
15857 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15858 xno) ;;
15859 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15860 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15861 esac
15862 enable_wpcap=${enable_wpcap:-no}
15865 if test "x$with_pcsclite" != "xno"
15866 then
15867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15868 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15869 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15870 then :
15871 printf %s "(cached) " >&6
15872 else $as_nop
15873 ac_check_lib_save_LIBS=$LIBS
15874 LIBS="-lpcsclite $LIBS"
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15878 /* Override any GCC internal prototype to avoid an error.
15879 Use char because int might match the return type of a GCC
15880 builtin and then its argument prototype would still apply. */
15881 char SCardEstablishContext ();
15883 main (void)
15885 return SCardEstablishContext ();
15887 return 0;
15889 _ACEOF
15890 if ac_fn_c_try_link "$LINENO"
15891 then :
15892 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15893 else $as_nop
15894 ac_cv_lib_pcsclite_SCardEstablishContext=no
15896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15897 conftest$ac_exeext conftest.$ac_ext
15898 LIBS=$ac_check_lib_save_LIBS
15900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15901 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15902 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15903 then :
15904 PCSCLITE_LIBS="-lpcsclite"
15909 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15910 then :
15911 case "x$with_pcsclite" in
15912 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15913 xno) ;;
15914 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15915 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15916 esac
15917 enable_winscard=${enable_winscard:-no}
15920 if test "x$with_inotify" != "xno"
15921 then
15922 rm -f conftest.err
15923 if ${INOTIFY_CFLAGS:+false} :
15924 then :
15925 if test ${PKG_CONFIG+y}
15926 then :
15927 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15931 if ${INOTIFY_LIBS:+false} :
15932 then :
15933 if test ${PKG_CONFIG+y}
15934 then :
15935 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15942 if test -s conftest.err; then
15943 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15944 cat conftest.err >&5
15946 rm -f conftest.err
15947 ac_save_CPPFLAGS=$CPPFLAGS
15948 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15949 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15950 if test "x$ac_cv_header_sys_inotify_h" = xyes
15951 then :
15952 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15957 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15958 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15959 then :
15960 printf %s "(cached) " >&6
15961 else $as_nop
15962 ac_check_lib_save_LIBS=$LIBS
15963 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15965 /* end confdefs.h. */
15967 /* Override any GCC internal prototype to avoid an error.
15968 Use char because int might match the return type of a GCC
15969 builtin and then its argument prototype would still apply. */
15970 char inotify_add_watch ();
15972 main (void)
15974 return inotify_add_watch ();
15976 return 0;
15978 _ACEOF
15979 if ac_fn_c_try_link "$LINENO"
15980 then :
15981 ac_cv_lib_inotify_inotify_add_watch=yes
15982 else $as_nop
15983 ac_cv_lib_inotify_inotify_add_watch=no
15985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15986 conftest$ac_exeext conftest.$ac_ext
15987 LIBS=$ac_check_lib_save_LIBS
15989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15990 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15991 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15992 then :
15994 else $as_nop
15995 INOTIFY_LIBS=""
15998 CPPFLAGS=$ac_save_CPPFLAGS
16001 if test "$ac_cv_header_sys_inotify_h" != "yes"
16002 then :
16003 case "x$with_inotify" in
16004 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16005 xno) ;;
16006 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16007 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16008 esac
16012 if test "x$with_dbus" != "xno"
16013 then
16014 rm -f conftest.err
16015 if ${DBUS_CFLAGS:+false} :
16016 then :
16017 if test ${PKG_CONFIG+y}
16018 then :
16019 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16023 if ${DBUS_LIBS:+false} :
16024 then :
16025 if test ${PKG_CONFIG+y}
16026 then :
16027 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16034 if test -s conftest.err; then
16035 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16036 cat conftest.err >&5
16038 rm -f conftest.err
16039 ac_save_CPPFLAGS=$CPPFLAGS
16040 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16041 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16042 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16043 then :
16044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16045 printf %s "checking for -ldbus-1... " >&6; }
16046 if test ${ac_cv_lib_soname_dbus_1+y}
16047 then :
16048 printf %s "(cached) " >&6
16049 else $as_nop
16050 ac_check_soname_save_LIBS=$LIBS
16051 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16053 /* end confdefs.h. */
16055 /* Override any GCC internal prototype to avoid an error.
16056 Use char because int might match the return type of a GCC
16057 builtin and then its argument prototype would still apply. */
16058 char dbus_connection_close ();
16060 main (void)
16062 return dbus_connection_close ();
16064 return 0;
16066 _ACEOF
16067 if ac_fn_c_try_link "$LINENO"
16068 then :
16069 case "$LIBEXT" in
16070 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16071 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'` ;;
16072 *) 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'`
16073 if ${ac_cv_lib_soname_dbus_1:+false} :
16074 then :
16075 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16076 fi ;;
16077 esac
16078 else $as_nop
16079 ac_cv_lib_soname_dbus_1=
16081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16082 conftest$ac_exeext conftest.$ac_ext
16083 LIBS=$ac_check_soname_save_LIBS
16085 if ${ac_cv_lib_soname_dbus_1:+false} :
16086 then :
16087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16088 printf "%s\n" "not found" >&6; }
16089 DBUS_CFLAGS=""
16090 else $as_nop
16091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16092 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16094 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16098 else $as_nop
16099 DBUS_CFLAGS=""
16102 CPPFLAGS=$ac_save_CPPFLAGS
16105 case $host_os in
16106 darwin*|macosx*) ;;
16107 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16108 then :
16109 case "x$with_dbus" in
16110 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16111 xno) ;;
16112 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16113 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16114 esac
16116 fi ;;
16117 esac
16119 if test "x$with_gnutls" != "xno"
16120 then
16121 rm -f conftest.err
16122 if ${GNUTLS_CFLAGS:+false} :
16123 then :
16124 if test ${PKG_CONFIG+y}
16125 then :
16126 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16130 if ${GNUTLS_LIBS:+false} :
16131 then :
16132 if test ${PKG_CONFIG+y}
16133 then :
16134 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16138 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16141 if test -s conftest.err; then
16142 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16143 cat conftest.err >&5
16145 rm -f conftest.err
16146 ac_save_CPPFLAGS=$CPPFLAGS
16147 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16148 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16149 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16150 then :
16151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16153 #include <gnutls/gnutls.h>
16154 #include <gnutls/crypto.h>
16156 main (void)
16158 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16160 return 0;
16162 _ACEOF
16163 if ac_fn_c_try_compile "$LINENO"
16164 then :
16165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16166 printf %s "checking for -lgnutls... " >&6; }
16167 if test ${ac_cv_lib_soname_gnutls+y}
16168 then :
16169 printf %s "(cached) " >&6
16170 else $as_nop
16171 ac_check_soname_save_LIBS=$LIBS
16172 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16174 /* end confdefs.h. */
16176 /* Override any GCC internal prototype to avoid an error.
16177 Use char because int might match the return type of a GCC
16178 builtin and then its argument prototype would still apply. */
16179 char gnutls_global_init ();
16181 main (void)
16183 return gnutls_global_init ();
16185 return 0;
16187 _ACEOF
16188 if ac_fn_c_try_link "$LINENO"
16189 then :
16190 case "$LIBEXT" in
16191 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16192 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'` ;;
16193 *) 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'`
16194 if ${ac_cv_lib_soname_gnutls:+false} :
16195 then :
16196 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'`
16197 fi ;;
16198 esac
16199 else $as_nop
16200 ac_cv_lib_soname_gnutls=
16202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16203 conftest$ac_exeext conftest.$ac_ext
16204 LIBS=$ac_check_soname_save_LIBS
16206 if ${ac_cv_lib_soname_gnutls:+false} :
16207 then :
16208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16209 printf "%s\n" "not found" >&6; }
16210 GNUTLS_CFLAGS=""
16211 else $as_nop
16212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16213 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16215 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16219 ac_wine_check_funcs_save_LIBS="$LIBS"
16220 LIBS="$LIBS $GNUTLS_LIBS"
16222 for ac_func in gnutls_cipher_init
16223 do :
16224 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16225 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16226 then :
16227 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16229 else $as_nop
16230 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16233 done
16234 LIBS="$ac_wine_check_funcs_save_LIBS"
16236 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16237 else $as_nop
16238 GNUTLS_CFLAGS=""
16241 CPPFLAGS=$ac_save_CPPFLAGS
16244 if test "x$ac_cv_lib_soname_gnutls" = "x"
16245 then :
16246 case "x$with_gnutls" in
16247 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16248 xno) ;;
16249 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16250 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16251 esac
16255 if test "x$with_sane" != "xno"
16256 then
16257 rm -f conftest.err
16258 if ${SANE_CFLAGS:+false} :
16259 then :
16260 if test ${PKG_CONFIG+y}
16261 then :
16262 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16265 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16266 if ${SANE_LIBS:+false} :
16267 then :
16268 if test ${PKG_CONFIG+y}
16269 then :
16270 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16273 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16277 if test -s conftest.err; then
16278 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16279 cat conftest.err >&5
16281 rm -f conftest.err
16282 ac_save_CPPFLAGS=$CPPFLAGS
16283 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16284 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16285 if test "x$ac_cv_header_sane_sane_h" = xyes
16286 then :
16287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16288 printf %s "checking for sane_init in -lsane... " >&6; }
16289 if test ${ac_cv_lib_sane_sane_init+y}
16290 then :
16291 printf %s "(cached) " >&6
16292 else $as_nop
16293 ac_check_lib_save_LIBS=$LIBS
16294 LIBS="-lsane $SANE_LIBS $LIBS"
16295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16296 /* end confdefs.h. */
16298 /* Override any GCC internal prototype to avoid an error.
16299 Use char because int might match the return type of a GCC
16300 builtin and then its argument prototype would still apply. */
16301 char sane_init ();
16303 main (void)
16305 return sane_init ();
16307 return 0;
16309 _ACEOF
16310 if ac_fn_c_try_link "$LINENO"
16311 then :
16312 ac_cv_lib_sane_sane_init=yes
16313 else $as_nop
16314 ac_cv_lib_sane_sane_init=no
16316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16317 conftest$ac_exeext conftest.$ac_ext
16318 LIBS=$ac_check_lib_save_LIBS
16320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16321 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16322 if test "x$ac_cv_lib_sane_sane_init" = xyes
16323 then :
16329 CPPFLAGS=$ac_save_CPPFLAGS
16332 if test "$ac_cv_lib_sane_sane_init" != "yes"
16333 then :
16334 case "x$with_sane" in
16335 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16336 xno) ;;
16337 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16338 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16339 esac
16340 enable_sane_ds=${enable_sane_ds:-no}
16343 if test "x$with_usb" != "xno"
16344 then
16345 rm -f conftest.err
16346 if ${USB_CFLAGS:+false} :
16347 then :
16348 if test ${PKG_CONFIG+y}
16349 then :
16350 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16354 if ${USB_LIBS:+false} :
16355 then :
16356 if test ${PKG_CONFIG+y}
16357 then :
16358 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16362 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16365 if test -s conftest.err; then
16366 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16367 cat conftest.err >&5
16369 rm -f conftest.err
16370 ac_save_CPPFLAGS=$CPPFLAGS
16371 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16372 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16373 if test "x$ac_cv_header_libusb_h" = xyes
16374 then :
16375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16376 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16377 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16378 then :
16379 printf %s "(cached) " >&6
16380 else $as_nop
16381 ac_check_lib_save_LIBS=$LIBS
16382 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16386 /* Override any GCC internal prototype to avoid an error.
16387 Use char because int might match the return type of a GCC
16388 builtin and then its argument prototype would still apply. */
16389 char libusb_interrupt_event_handler ();
16391 main (void)
16393 return libusb_interrupt_event_handler ();
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_link "$LINENO"
16399 then :
16400 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16401 else $as_nop
16402 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16405 conftest$ac_exeext conftest.$ac_ext
16406 LIBS=$ac_check_lib_save_LIBS
16408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16409 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16410 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16411 then :
16413 else $as_nop
16414 USB_LIBS=""
16417 else $as_nop
16418 USB_LIBS=""
16421 CPPFLAGS=$ac_save_CPPFLAGS
16424 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16425 then :
16426 case "x$with_usb" in
16427 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16428 xno) ;;
16429 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16430 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16431 esac
16432 enable_wineusb_sys=${enable_wineusb_sys:-no}
16435 if test "x$with_v4l2" != "xno"
16436 then
16437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16438 printf %s "checking for -lv4l2... " >&6; }
16439 if test ${ac_cv_lib_soname_v4l2+y}
16440 then :
16441 printf %s "(cached) " >&6
16442 else $as_nop
16443 ac_check_soname_save_LIBS=$LIBS
16444 LIBS="-lv4l2 $LIBS"
16445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16446 /* end confdefs.h. */
16448 /* Override any GCC internal prototype to avoid an error.
16449 Use char because int might match the return type of a GCC
16450 builtin and then its argument prototype would still apply. */
16451 char v4l2_open ();
16453 main (void)
16455 return v4l2_open ();
16457 return 0;
16459 _ACEOF
16460 if ac_fn_c_try_link "$LINENO"
16461 then :
16462 case "$LIBEXT" in
16463 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16464 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'` ;;
16465 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16466 if ${ac_cv_lib_soname_v4l2:+false} :
16467 then :
16468 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16469 fi ;;
16470 esac
16471 else $as_nop
16472 ac_cv_lib_soname_v4l2=
16474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16475 conftest$ac_exeext conftest.$ac_ext
16476 LIBS=$ac_check_soname_save_LIBS
16478 if ${ac_cv_lib_soname_v4l2:+false} :
16479 then :
16480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16481 printf "%s\n" "not found" >&6; }
16483 else $as_nop
16484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16485 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16487 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16492 if test "x$ac_cv_lib_soname_v4l2" = "x"
16493 then :
16494 case "x$with_v4l2" in
16495 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16496 xno) ;;
16497 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16498 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16499 esac
16503 if test "x$with_gphoto" != "xno"
16504 then
16505 rm -f conftest.err
16506 if ${GPHOTO2_CFLAGS:+false} :
16507 then :
16508 if test ${PKG_CONFIG+y}
16509 then :
16510 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16513 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16514 if ${GPHOTO2_LIBS:+false} :
16515 then :
16516 if test ${PKG_CONFIG+y}
16517 then :
16518 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16521 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16522 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16525 if test -s conftest.err; then
16526 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16527 cat conftest.err >&5
16529 rm -f conftest.err
16530 ac_save_CPPFLAGS=$CPPFLAGS
16531 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16532 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16533 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16534 then :
16535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16536 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16537 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16538 then :
16539 printf %s "(cached) " >&6
16540 else $as_nop
16541 ac_check_lib_save_LIBS=$LIBS
16542 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16544 /* end confdefs.h. */
16546 /* Override any GCC internal prototype to avoid an error.
16547 Use char because int might match the return type of a GCC
16548 builtin and then its argument prototype would still apply. */
16549 char gp_camera_new ();
16551 main (void)
16553 return gp_camera_new ();
16555 return 0;
16557 _ACEOF
16558 if ac_fn_c_try_link "$LINENO"
16559 then :
16560 ac_cv_lib_gphoto2_gp_camera_new=yes
16561 else $as_nop
16562 ac_cv_lib_gphoto2_gp_camera_new=no
16564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16565 conftest$ac_exeext conftest.$ac_ext
16566 LIBS=$ac_check_lib_save_LIBS
16568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16569 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16570 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16571 then :
16577 CPPFLAGS=$ac_save_CPPFLAGS
16579 rm -f conftest.err
16580 if ${GPHOTO2_PORT_CFLAGS:+false} :
16581 then :
16582 if test ${PKG_CONFIG+y}
16583 then :
16584 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16587 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16588 if ${GPHOTO2_PORT_LIBS:+false} :
16589 then :
16590 if test ${PKG_CONFIG+y}
16591 then :
16592 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16595 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16596 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16599 if test -s conftest.err; then
16600 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16601 cat conftest.err >&5
16603 rm -f conftest.err
16604 ac_save_CPPFLAGS=$CPPFLAGS
16605 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16606 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16607 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16608 then :
16609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16610 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16611 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16612 then :
16613 printf %s "(cached) " >&6
16614 else $as_nop
16615 ac_check_lib_save_LIBS=$LIBS
16616 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16620 /* Override any GCC internal prototype to avoid an error.
16621 Use char because int might match the return type of a GCC
16622 builtin and then its argument prototype would still apply. */
16623 char gp_port_info_list_new ();
16625 main (void)
16627 return gp_port_info_list_new ();
16629 return 0;
16631 _ACEOF
16632 if ac_fn_c_try_link "$LINENO"
16633 then :
16634 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16635 else $as_nop
16636 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16639 conftest$ac_exeext conftest.$ac_ext
16640 LIBS=$ac_check_lib_save_LIBS
16642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16643 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16644 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16645 then :
16647 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16649 else $as_nop
16650 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16653 else $as_nop
16654 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16657 CPPFLAGS=$ac_save_CPPFLAGS
16660 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16661 then :
16662 case "x$with_gphoto" in
16663 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16664 xno) ;;
16665 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16666 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16667 esac
16668 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16670 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16671 then :
16672 case "x$with_gphoto" in
16673 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16674 xno) ;;
16675 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16676 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16677 esac
16682 if test "$ac_cv_header_resolv_h" = "yes"
16683 then
16684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16685 printf %s "checking for resolver library... " >&6; }
16686 if test ${ac_cv_have_resolv+y}
16687 then :
16688 printf %s "(cached) " >&6
16689 else $as_nop
16690 ac_save_LIBS="$LIBS"
16691 for lib in '' -lresolv
16693 LIBS="$lib $ac_save_LIBS"
16694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16696 #ifdef HAVE_NETINET_IN_H
16697 #include <netinet/in.h>
16698 #endif
16699 #include <resolv.h>
16701 main (void)
16703 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16705 return 0;
16707 _ACEOF
16708 if ac_fn_c_try_link "$LINENO"
16709 then :
16710 ac_cv_have_resolv=${lib:-"none required"}
16711 else $as_nop
16712 ac_cv_have_resolv="not found"
16714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16715 conftest$ac_exeext conftest.$ac_ext
16716 test "x$ac_cv_have_resolv" = "xnot found" || break
16717 done
16718 LIBS="$ac_save_LIBS"
16720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16721 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16723 case "$ac_cv_have_resolv" in
16724 "not found") ;;
16725 "none required")
16727 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16730 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16732 RESOLV_LIBS=$ac_cv_have_resolv
16734 esac
16736 if test "x$ac_cv_have_resolv" != "xnot found"
16737 then
16738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16739 printf %s "checking for res_getservers... " >&6; }
16740 if test ${ac_cv_have_res_getservers+y}
16741 then :
16742 printf %s "(cached) " >&6
16743 else $as_nop
16744 ac_save_LIBS="$LIBS"
16745 LIBS="$RESOLV_LIBS $LIBS"
16746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16748 #include <resolv.h>
16750 main (void)
16752 res_getservers(NULL, NULL, 0);
16754 return 0;
16756 _ACEOF
16757 if ac_fn_c_try_link "$LINENO"
16758 then :
16759 ac_cv_have_res_getservers=yes
16760 else $as_nop
16761 ac_cv_have_res_getservers=no
16763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16764 conftest$ac_exeext conftest.$ac_ext
16765 LIBS="$ac_save_LIBS"
16767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16768 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16769 if test "$ac_cv_have_res_getservers" = "yes"
16770 then
16772 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16778 if test "x$with_freetype" != "xno"
16779 then
16780 rm -f conftest.err
16781 if ${FREETYPE_CFLAGS:+false} :
16782 then :
16783 if test ${PKG_CONFIG+y}
16784 then :
16785 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16788 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16789 if ${FREETYPE_LIBS:+false} :
16790 then :
16791 if test ${PKG_CONFIG+y}
16792 then :
16793 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16796 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16797 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16800 if test -s conftest.err; then
16801 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16802 cat conftest.err >&5
16804 rm -f conftest.err
16805 ac_save_CPPFLAGS=$CPPFLAGS
16806 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16807 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16808 if test "x$ac_cv_header_ft2build_h" = xyes
16809 then :
16810 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16814 if test "$ac_cv_header_ft2build_h" = "yes"
16815 then
16816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16817 printf %s "checking for -lfreetype... " >&6; }
16818 if test ${ac_cv_lib_soname_freetype+y}
16819 then :
16820 printf %s "(cached) " >&6
16821 else $as_nop
16822 ac_check_soname_save_LIBS=$LIBS
16823 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16825 /* end confdefs.h. */
16827 /* Override any GCC internal prototype to avoid an error.
16828 Use char because int might match the return type of a GCC
16829 builtin and then its argument prototype would still apply. */
16830 char FT_Init_FreeType ();
16832 main (void)
16834 return FT_Init_FreeType ();
16836 return 0;
16838 _ACEOF
16839 if ac_fn_c_try_link "$LINENO"
16840 then :
16841 case "$LIBEXT" in
16842 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16843 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'` ;;
16844 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16845 if ${ac_cv_lib_soname_freetype:+false} :
16846 then :
16847 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16848 fi ;;
16849 esac
16850 else $as_nop
16851 ac_cv_lib_soname_freetype=
16853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16854 conftest$ac_exeext conftest.$ac_ext
16855 LIBS=$ac_check_soname_save_LIBS
16857 if ${ac_cv_lib_soname_freetype:+false} :
16858 then :
16859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16860 printf "%s\n" "not found" >&6; }
16861 FREETYPE_LIBS=""
16862 else $as_nop
16863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16864 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16866 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16869 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16871 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16872 #include FT_MODULE_H
16874 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16875 then :
16877 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16883 else
16884 FREETYPE_CFLAGS=""
16885 FREETYPE_LIBS=""
16887 CPPFLAGS=$ac_save_CPPFLAGS
16890 if test "x$ac_cv_lib_soname_freetype" = x
16891 then :
16892 case "x$with_freetype" in
16893 xno) ;;
16894 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16895 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16896 esac
16897 enable_fonts=${enable_fonts:-no}
16900 ac_wine_check_funcs_save_LIBS="$LIBS"
16901 LIBS="$LIBS $PTHREAD_LIBS"
16902 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16903 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16904 then :
16905 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16909 LIBS="$ac_wine_check_funcs_save_LIBS"
16911 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16912 then
16913 if test "$ac_cv_header_gettext_po_h" = "yes"
16914 then
16915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16916 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16917 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16918 then :
16919 printf %s "(cached) " >&6
16920 else $as_nop
16921 ac_check_lib_save_LIBS=$LIBS
16922 LIBS="-lgettextpo $LIBS"
16923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16924 /* end confdefs.h. */
16926 /* Override any GCC internal prototype to avoid an error.
16927 Use char because int might match the return type of a GCC
16928 builtin and then its argument prototype would still apply. */
16929 char po_message_msgctxt ();
16931 main (void)
16933 return po_message_msgctxt ();
16935 return 0;
16937 _ACEOF
16938 if ac_fn_c_try_link "$LINENO"
16939 then :
16940 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16941 else $as_nop
16942 ac_cv_lib_gettextpo_po_message_msgctxt=no
16944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16945 conftest$ac_exeext conftest.$ac_ext
16946 LIBS=$ac_check_lib_save_LIBS
16948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16949 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16950 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16951 then :
16953 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16955 GETTEXTPO_LIBS="-lgettextpo"
16960 if test "x$GETTEXTPO_LIBS" = "x"
16961 then :
16962 case "x$with_gettextpo" in
16963 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16964 xno) ;;
16965 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16966 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16967 esac
16970 if test "$srcdir" != .
16971 then :
16972 case "x$with_gettextpo" in
16973 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16974 xno) ;;
16975 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16976 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16977 esac
16982 if test "x$with_pulse" != "xno";
16983 then
16984 rm -f conftest.err
16985 if ${PULSE_CFLAGS:+false} :
16986 then :
16987 if test ${PKG_CONFIG+y}
16988 then :
16989 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16993 if ${PULSE_LIBS:+false} :
16994 then :
16995 if test ${PKG_CONFIG+y}
16996 then :
16997 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17004 if test -s conftest.err; then
17005 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17006 cat conftest.err >&5
17008 rm -f conftest.err
17009 ac_save_CPPFLAGS=$CPPFLAGS
17010 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17011 for ac_header in pulse/pulseaudio.h
17012 do :
17013 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17014 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17015 then :
17016 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17018 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17019 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17020 then :
17021 printf %s "(cached) " >&6
17022 else $as_nop
17023 ac_check_lib_save_LIBS=$LIBS
17024 LIBS="-lpulse $PULSE_LIBS $LIBS"
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17028 /* Override any GCC internal prototype to avoid an error.
17029 Use char because int might match the return type of a GCC
17030 builtin and then its argument prototype would still apply. */
17031 char pa_stream_is_corked ();
17033 main (void)
17035 return pa_stream_is_corked ();
17037 return 0;
17039 _ACEOF
17040 if ac_fn_c_try_link "$LINENO"
17041 then :
17042 ac_cv_lib_pulse_pa_stream_is_corked=yes
17043 else $as_nop
17044 ac_cv_lib_pulse_pa_stream_is_corked=no
17046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17047 conftest$ac_exeext conftest.$ac_ext
17048 LIBS=$ac_check_lib_save_LIBS
17050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17051 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17052 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17053 then :
17055 else $as_nop
17056 PULSE_LIBS=""
17059 else $as_nop
17060 PULSE_LIBS=""
17063 done
17064 CPPFLAGS=$ac_save_CPPFLAGS
17067 if test -z "$PULSE_LIBS"
17068 then :
17069 case "x$with_pulse" in
17070 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17071 xno) ;;
17072 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17073 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17074 esac
17075 enable_winepulse_drv=${enable_winepulse_drv:-no}
17078 if test "x$with_gstreamer" != "xno"
17079 then
17080 rm -f conftest.err
17081 if ${GSTREAMER_CFLAGS:+false} :
17082 then :
17083 if test ${PKG_CONFIG+y}
17084 then :
17085 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17089 if ${GSTREAMER_LIBS:+false} :
17090 then :
17091 if test ${PKG_CONFIG+y}
17092 then :
17093 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17098 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
17099 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
17100 if test -s conftest.err; then
17101 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17102 cat conftest.err >&5
17104 rm -f conftest.err
17105 ac_save_CPPFLAGS=$CPPFLAGS
17106 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17107 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17108 if test "x$ac_cv_header_gst_gst_h" = xyes
17109 then :
17110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17111 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17114 #include <gst/gst.h>
17116 main (void)
17118 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17120 return 0;
17122 _ACEOF
17123 if ac_fn_c_try_compile "$LINENO"
17124 then :
17125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17126 printf "%s\n" "yes" >&6; }
17127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17128 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17129 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17130 then :
17131 printf %s "(cached) " >&6
17132 else $as_nop
17133 ac_check_lib_save_LIBS=$LIBS
17134 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17138 /* Override any GCC internal prototype to avoid an error.
17139 Use char because int might match the return type of a GCC
17140 builtin and then its argument prototype would still apply. */
17141 char gst_pad_new ();
17143 main (void)
17145 return gst_pad_new ();
17147 return 0;
17149 _ACEOF
17150 if ac_fn_c_try_link "$LINENO"
17151 then :
17152 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17153 else $as_nop
17154 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17157 conftest$ac_exeext conftest.$ac_ext
17158 LIBS=$ac_check_lib_save_LIBS
17160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17161 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17162 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17163 then :
17167 else $as_nop
17168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17169 printf "%s\n" "no" >&6; }
17170 ac_glib2_broken=yes
17171 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17173 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17176 CPPFLAGS=$ac_save_CPPFLAGS
17179 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17180 then :
17181 case "x$with_gstreamer" in
17182 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17183 xno) ;;
17184 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17185 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17186 esac
17187 enable_winegstreamer=${enable_winegstreamer:-no}
17190 ALSA_LIBS=""
17192 if test "x$with_alsa" != "xno"
17193 then
17194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17195 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17196 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17197 then :
17198 printf %s "(cached) " >&6
17199 else $as_nop
17200 ac_check_lib_save_LIBS=$LIBS
17201 LIBS="-lasound $LIBS"
17202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17205 /* Override any GCC internal prototype to avoid an error.
17206 Use char because int might match the return type of a GCC
17207 builtin and then its argument prototype would still apply. */
17208 char snd_pcm_hw_params_get_access_mask ();
17210 main (void)
17212 return snd_pcm_hw_params_get_access_mask ();
17214 return 0;
17216 _ACEOF
17217 if ac_fn_c_try_link "$LINENO"
17218 then :
17219 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17220 else $as_nop
17221 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17224 conftest$ac_exeext conftest.$ac_ext
17225 LIBS=$ac_check_lib_save_LIBS
17227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17228 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17229 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17230 then :
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17233 #include <alsa/asoundlib.h>
17235 main (void)
17237 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17239 return 0;
17241 _ACEOF
17242 if ac_fn_c_try_compile "$LINENO"
17243 then :
17244 ALSA_LIBS="-lasound"
17246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17250 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17252 if test "x$with_oss" != xno
17253 then
17254 ac_save_CPPFLAGS="$CPPFLAGS"
17255 if test -f /etc/oss.conf
17256 then
17257 . /etc/oss.conf
17259 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17260 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17261 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17262 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17263 then :
17264 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17266 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17267 then :
17269 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17271 OSS4_CFLAGS="$ac_oss_incl"
17273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17274 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17275 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17276 then :
17277 printf %s "(cached) " >&6
17278 else $as_nop
17279 ac_check_lib_save_LIBS=$LIBS
17280 LIBS="-lossaudio $LIBS"
17281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17282 /* end confdefs.h. */
17284 /* Override any GCC internal prototype to avoid an error.
17285 Use char because int might match the return type of a GCC
17286 builtin and then its argument prototype would still apply. */
17287 char _oss_ioctl ();
17289 main (void)
17291 return _oss_ioctl ();
17293 return 0;
17295 _ACEOF
17296 if ac_fn_c_try_link "$LINENO"
17297 then :
17298 ac_cv_lib_ossaudio__oss_ioctl=yes
17299 else $as_nop
17300 ac_cv_lib_ossaudio__oss_ioctl=no
17302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17303 conftest$ac_exeext conftest.$ac_ext
17304 LIBS=$ac_check_lib_save_LIBS
17306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17307 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17308 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17309 then :
17310 OSS4_LIBS="-lossaudio"
17318 CPPFLAGS="$ac_save_CPPFLAGS"
17320 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17321 then :
17322 case "x$with_oss" in
17323 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17324 xno) ;;
17325 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17326 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17327 esac
17328 enable_wineoss_drv=${enable_wineoss_drv:-no}
17331 if test "x$with_udev" != "xno"
17332 then
17333 rm -f conftest.err
17334 if ${UDEV_CFLAGS:+false} :
17335 then :
17336 if test ${PKG_CONFIG+y}
17337 then :
17338 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17342 if ${UDEV_LIBS:+false} :
17343 then :
17344 if test ${PKG_CONFIG+y}
17345 then :
17346 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17350 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17353 if test -s conftest.err; then
17354 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17355 cat conftest.err >&5
17357 rm -f conftest.err
17358 ac_save_CPPFLAGS=$CPPFLAGS
17359 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17360 for ac_header in libudev.h
17361 do :
17362 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17363 if test "x$ac_cv_header_libudev_h" = xyes
17364 then :
17365 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17367 printf %s "checking for udev_new in -ludev... " >&6; }
17368 if test ${ac_cv_lib_udev_udev_new+y}
17369 then :
17370 printf %s "(cached) " >&6
17371 else $as_nop
17372 ac_check_lib_save_LIBS=$LIBS
17373 LIBS="-ludev $UDEV_LIBS $LIBS"
17374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17375 /* end confdefs.h. */
17377 /* Override any GCC internal prototype to avoid an error.
17378 Use char because int might match the return type of a GCC
17379 builtin and then its argument prototype would still apply. */
17380 char udev_new ();
17382 main (void)
17384 return udev_new ();
17386 return 0;
17388 _ACEOF
17389 if ac_fn_c_try_link "$LINENO"
17390 then :
17391 ac_cv_lib_udev_udev_new=yes
17392 else $as_nop
17393 ac_cv_lib_udev_udev_new=no
17395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17396 conftest$ac_exeext conftest.$ac_ext
17397 LIBS=$ac_check_lib_save_LIBS
17399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17400 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17401 if test "x$ac_cv_lib_udev_udev_new" = xyes
17402 then :
17404 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17406 else $as_nop
17407 UDEV_LIBS=""
17410 else $as_nop
17411 UDEV_LIBS=""
17414 done
17415 CPPFLAGS=$ac_save_CPPFLAGS
17418 if test "x$UDEV_LIBS" = "x"
17419 then :
17420 case "x$with_udev" in
17421 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17422 xno) ;;
17423 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17424 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17425 esac
17429 if test "x$with_unwind" != xno
17430 then
17431 rm -f conftest.err
17432 if ${UNWIND_CFLAGS:+false} :
17433 then :
17434 if test ${PKG_CONFIG+y}
17435 then :
17436 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17440 if ${UNWIND_LIBS:+false} :
17441 then :
17442 if test ${PKG_CONFIG+y}
17443 then :
17444 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17448 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17451 if test -s conftest.err; then
17452 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17453 cat conftest.err >&5
17455 rm -f conftest.err
17456 ac_save_CPPFLAGS=$CPPFLAGS
17457 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17459 printf %s "checking for unw_step... " >&6; }
17460 if test ${wine_cv_have_unw_step+y}
17461 then :
17462 printf %s "(cached) " >&6
17463 else $as_nop
17464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17465 /* end confdefs.h. */
17466 #define UNW_LOCAL_ONLY
17467 #include <libunwind.h>
17469 main (void)
17471 unw_cursor_t cursor; unw_step( &cursor );
17473 return 0;
17475 _ACEOF
17476 if ac_fn_c_try_link "$LINENO"
17477 then :
17478 wine_cv_have_unw_step="yes"
17479 else $as_nop
17480 wine_cv_have_unw_step="no"
17482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17483 conftest$ac_exeext conftest.$ac_ext
17485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17486 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17487 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17488 then
17489 save_libs=$LIBS
17490 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17491 LIBS="$UNWIND_LIBS $LIBS"
17492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17493 printf %s "checking for unw_step in libunwind... " >&6; }
17494 if test ${wine_cv_have_libunwind_unw_step+y}
17495 then :
17496 printf %s "(cached) " >&6
17497 else $as_nop
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17500 #define UNW_LOCAL_ONLY
17501 #include <libunwind.h>
17503 main (void)
17505 unw_cursor_t cursor; unw_step( &cursor );
17507 return 0;
17509 _ACEOF
17510 if ac_fn_c_try_link "$LINENO"
17511 then :
17512 wine_cv_have_libunwind_unw_step="yes"
17513 else $as_nop
17514 wine_cv_have_libunwind_unw_step="no"
17516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17517 conftest$ac_exeext conftest.$ac_ext
17519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17520 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17521 LIBS=$save_libs
17523 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17524 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17525 then
17527 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17530 CPPFLAGS=$ac_save_CPPFLAGS
17533 case $host in
17534 aarch64*|*-darwin*)
17535 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17536 then :
17537 case "x$with_unwind" in
17538 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17539 xno) ;;
17540 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17541 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17542 esac
17544 fi ;;
17545 esac
17547 if test "x$with_sdl" != "xno"
17548 then
17549 rm -f conftest.err
17550 if ${SDL2_CFLAGS:+false} :
17551 then :
17552 if test ${PKG_CONFIG+y}
17553 then :
17554 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17558 if ${SDL2_LIBS:+false} :
17559 then :
17560 if test ${PKG_CONFIG+y}
17561 then :
17562 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17566 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17567 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17569 if test -s conftest.err; then
17570 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17571 cat conftest.err >&5
17573 rm -f conftest.err
17574 ac_save_CPPFLAGS=$CPPFLAGS
17575 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17576 for ac_header in SDL.h
17577 do :
17578 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17579 if test "x$ac_cv_header_SDL_h" = xyes
17580 then :
17581 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17583 printf %s "checking for -lSDL2... " >&6; }
17584 if test ${ac_cv_lib_soname_SDL2+y}
17585 then :
17586 printf %s "(cached) " >&6
17587 else $as_nop
17588 ac_check_soname_save_LIBS=$LIBS
17589 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17593 /* Override any GCC internal prototype to avoid an error.
17594 Use char because int might match the return type of a GCC
17595 builtin and then its argument prototype would still apply. */
17596 char SDL_Init ();
17598 main (void)
17600 return SDL_Init ();
17602 return 0;
17604 _ACEOF
17605 if ac_fn_c_try_link "$LINENO"
17606 then :
17607 case "$LIBEXT" in
17608 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17609 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'` ;;
17610 *) 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'`
17611 if ${ac_cv_lib_soname_SDL2:+false} :
17612 then :
17613 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17614 fi ;;
17615 esac
17616 else $as_nop
17617 ac_cv_lib_soname_SDL2=
17619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17620 conftest$ac_exeext conftest.$ac_ext
17621 LIBS=$ac_check_soname_save_LIBS
17623 if ${ac_cv_lib_soname_SDL2:+false} :
17624 then :
17625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17626 printf "%s\n" "not found" >&6; }
17628 else $as_nop
17629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17630 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17632 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17638 done
17639 CPPFLAGS=$ac_save_CPPFLAGS
17642 if test "x$ac_cv_lib_soname_SDL2" = "x"
17643 then :
17644 case "x$with_sdl" in
17645 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17646 xno) ;;
17647 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17648 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17649 esac
17653 if test "x$with_capi" != "xno"
17654 then
17655 rm -f conftest.err
17656 if ${CAPI20_CFLAGS:+false} :
17657 then :
17658 if test ${PKG_CONFIG+y}
17659 then :
17660 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17664 if ${CAPI20_LIBS:+false} :
17665 then :
17666 if test ${PKG_CONFIG+y}
17667 then :
17668 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17675 if test -s conftest.err; then
17676 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17677 cat conftest.err >&5
17679 rm -f conftest.err
17680 ac_save_CPPFLAGS=$CPPFLAGS
17681 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17682 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17684 if test "x$ac_cv_header_capi20_h" = xyes
17685 then :
17686 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17689 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17691 if test "x$ac_cv_header_linux_capi_h" = xyes
17692 then :
17693 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17697 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17698 then
17699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17700 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17701 if test ${ac_cv_lib_capi20_capi20_register+y}
17702 then :
17703 printf %s "(cached) " >&6
17704 else $as_nop
17705 ac_check_lib_save_LIBS=$LIBS
17706 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17710 /* Override any GCC internal prototype to avoid an error.
17711 Use char because int might match the return type of a GCC
17712 builtin and then its argument prototype would still apply. */
17713 char capi20_register ();
17715 main (void)
17717 return capi20_register ();
17719 return 0;
17721 _ACEOF
17722 if ac_fn_c_try_link "$LINENO"
17723 then :
17724 ac_cv_lib_capi20_capi20_register=yes
17725 else $as_nop
17726 ac_cv_lib_capi20_capi20_register=no
17728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17729 conftest$ac_exeext conftest.$ac_ext
17730 LIBS=$ac_check_lib_save_LIBS
17732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17733 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17734 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17735 then :
17737 else $as_nop
17738 CAPI20_LIBS=""
17742 CPPFLAGS=$ac_save_CPPFLAGS
17745 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17746 then :
17747 case "x$with_capi" in
17748 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17749 xno) ;;
17750 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17751 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17752 esac
17753 enable_capi2032=${enable_capi2032:-no}
17756 if test "x$with_cups" != "xno"
17757 then
17758 rm -f conftest.err
17759 if ${CUPS_CFLAGS:+false} :
17760 then :
17761 if test ${PKG_CONFIG+y}
17762 then :
17763 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17766 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17767 if ${CUPS_LIBS:+false} :
17768 then :
17769 if test ${PKG_CONFIG+y}
17770 then :
17771 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17774 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17775 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17778 if test -s conftest.err; then
17779 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17780 cat conftest.err >&5
17782 rm -f conftest.err
17783 ac_save_CPPFLAGS=$CPPFLAGS
17784 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17785 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17786 if test "x$ac_cv_header_cups_cups_h" = xyes
17787 then :
17788 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17791 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17792 if test "x$ac_cv_header_cups_ppd_h" = xyes
17793 then :
17794 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17798 if test "$ac_cv_header_cups_cups_h" = "yes"
17799 then
17800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17801 printf %s "checking for -lcups... " >&6; }
17802 if test ${ac_cv_lib_soname_cups+y}
17803 then :
17804 printf %s "(cached) " >&6
17805 else $as_nop
17806 ac_check_soname_save_LIBS=$LIBS
17807 LIBS="-lcups $CUPS_LIBS $LIBS"
17808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17809 /* end confdefs.h. */
17811 /* Override any GCC internal prototype to avoid an error.
17812 Use char because int might match the return type of a GCC
17813 builtin and then its argument prototype would still apply. */
17814 char cupsGetDefault ();
17816 main (void)
17818 return cupsGetDefault ();
17820 return 0;
17822 _ACEOF
17823 if ac_fn_c_try_link "$LINENO"
17824 then :
17825 case "$LIBEXT" in
17826 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17827 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'` ;;
17828 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17829 if ${ac_cv_lib_soname_cups:+false} :
17830 then :
17831 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17832 fi ;;
17833 esac
17834 else $as_nop
17835 ac_cv_lib_soname_cups=
17837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17838 conftest$ac_exeext conftest.$ac_ext
17839 LIBS=$ac_check_soname_save_LIBS
17841 if ${ac_cv_lib_soname_cups:+false} :
17842 then :
17843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17844 printf "%s\n" "not found" >&6; }
17845 CUPS_LIBS=""
17846 else $as_nop
17847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17848 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17850 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17854 else
17855 CUPS_CFLAGS=""
17856 CUPS_LIBS=""
17858 CPPFLAGS=$ac_save_CPPFLAGS
17861 if test "x$ac_cv_lib_soname_cups" = "x"
17862 then :
17863 case "x$with_cups" in
17864 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17865 xno) ;;
17866 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17867 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17868 esac
17872 if test "x$with_fontconfig" != "xno"
17873 then
17874 rm -f conftest.err
17875 if ${FONTCONFIG_CFLAGS:+false} :
17876 then :
17877 if test ${PKG_CONFIG+y}
17878 then :
17879 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17882 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17883 if ${FONTCONFIG_LIBS:+false} :
17884 then :
17885 if test ${PKG_CONFIG+y}
17886 then :
17887 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17890 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17893 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17894 if test -s conftest.err; then
17895 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17896 cat conftest.err >&5
17898 rm -f conftest.err
17899 ac_save_CPPFLAGS=$CPPFLAGS
17900 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17901 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17902 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17903 then :
17904 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17908 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17909 then
17910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17911 printf %s "checking for -lfontconfig... " >&6; }
17912 if test ${ac_cv_lib_soname_fontconfig+y}
17913 then :
17914 printf %s "(cached) " >&6
17915 else $as_nop
17916 ac_check_soname_save_LIBS=$LIBS
17917 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17921 /* Override any GCC internal prototype to avoid an error.
17922 Use char because int might match the return type of a GCC
17923 builtin and then its argument prototype would still apply. */
17924 char FcInit ();
17926 main (void)
17928 return FcInit ();
17930 return 0;
17932 _ACEOF
17933 if ac_fn_c_try_link "$LINENO"
17934 then :
17935 case "$LIBEXT" in
17936 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17937 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'` ;;
17938 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17939 if ${ac_cv_lib_soname_fontconfig:+false} :
17940 then :
17941 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17942 fi ;;
17943 esac
17944 else $as_nop
17945 ac_cv_lib_soname_fontconfig=
17947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17948 conftest$ac_exeext conftest.$ac_ext
17949 LIBS=$ac_check_soname_save_LIBS
17951 if ${ac_cv_lib_soname_fontconfig:+false} :
17952 then :
17953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17954 printf "%s\n" "not found" >&6; }
17955 FONTCONFIG_CFLAGS=""
17956 else $as_nop
17957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17958 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17960 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17964 else
17965 FONTCONFIG_CFLAGS=""
17967 CPPFLAGS=$ac_save_CPPFLAGS
17970 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17971 then :
17972 case "x$with_fontconfig" in
17973 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17974 xno) ;;
17975 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17976 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17977 esac
17981 if test "x$with_krb5" != "xno"
17982 then
17983 rm -f conftest.err
17984 if ${KRB5_CFLAGS:+false} :
17985 then :
17986 if test ${PKG_CONFIG+y}
17987 then :
17988 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17991 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17992 if ${KRB5_LIBS:+false} :
17993 then :
17994 if test ${PKG_CONFIG+y}
17995 then :
17996 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17999 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18003 if test -s conftest.err; then
18004 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18005 cat conftest.err >&5
18007 rm -f conftest.err
18008 ac_save_CPPFLAGS=$CPPFLAGS
18009 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18010 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18011 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18012 then :
18013 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18017 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18018 then
18019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18020 printf %s "checking for -lkrb5... " >&6; }
18021 if test ${ac_cv_lib_soname_krb5+y}
18022 then :
18023 printf %s "(cached) " >&6
18024 else $as_nop
18025 ac_check_soname_save_LIBS=$LIBS
18026 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18030 /* Override any GCC internal prototype to avoid an error.
18031 Use char because int might match the return type of a GCC
18032 builtin and then its argument prototype would still apply. */
18033 char krb5_is_config_principal ();
18035 main (void)
18037 return krb5_is_config_principal ();
18039 return 0;
18041 _ACEOF
18042 if ac_fn_c_try_link "$LINENO"
18043 then :
18044 case "$LIBEXT" in
18045 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18046 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'` ;;
18047 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18048 if ${ac_cv_lib_soname_krb5:+false} :
18049 then :
18050 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18051 fi ;;
18052 esac
18053 else $as_nop
18054 ac_cv_lib_soname_krb5=
18056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18057 conftest$ac_exeext conftest.$ac_ext
18058 LIBS=$ac_check_soname_save_LIBS
18060 if ${ac_cv_lib_soname_krb5:+false} :
18061 then :
18062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18063 printf "%s\n" "not found" >&6; }
18064 KRB5_CFLAGS=""
18065 else $as_nop
18066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18067 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18069 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18073 else
18074 KRB5_CFLAGS=""
18076 CPPFLAGS=$ac_save_CPPFLAGS
18079 if test "x$ac_cv_lib_soname_krb5" = "x"
18080 then :
18081 case "x$with_krb5" in
18082 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18083 xno) ;;
18084 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18085 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18086 esac
18089 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18091 if test "x$with_gssapi" != "xno"
18092 then
18093 rm -f conftest.err
18094 if ${GSSAPI_CFLAGS:+false} :
18095 then :
18096 if test ${PKG_CONFIG+y}
18097 then :
18098 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18101 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18102 if ${GSSAPI_LIBS:+false} :
18103 then :
18104 if test ${PKG_CONFIG+y}
18105 then :
18106 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18109 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18113 if test -s conftest.err; then
18114 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18115 cat conftest.err >&5
18117 rm -f conftest.err
18118 ac_save_CPPFLAGS=$CPPFLAGS
18119 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18120 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18121 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18122 then :
18123 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18126 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18127 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18128 then :
18129 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18133 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18134 then
18135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18136 printf %s "checking for -lgssapi_krb5... " >&6; }
18137 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18138 then :
18139 printf %s "(cached) " >&6
18140 else $as_nop
18141 ac_check_soname_save_LIBS=$LIBS
18142 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18144 /* end confdefs.h. */
18146 /* Override any GCC internal prototype to avoid an error.
18147 Use char because int might match the return type of a GCC
18148 builtin and then its argument prototype would still apply. */
18149 char gss_init_sec_context ();
18151 main (void)
18153 return gss_init_sec_context ();
18155 return 0;
18157 _ACEOF
18158 if ac_fn_c_try_link "$LINENO"
18159 then :
18160 case "$LIBEXT" in
18161 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18162 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'` ;;
18163 *) 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'`
18164 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18165 then :
18166 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18167 fi ;;
18168 esac
18169 else $as_nop
18170 ac_cv_lib_soname_gssapi_krb5=
18172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18173 conftest$ac_exeext conftest.$ac_ext
18174 LIBS=$ac_check_soname_save_LIBS
18176 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18177 then :
18178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18179 printf "%s\n" "not found" >&6; }
18180 GSSAPI_CFLAGS=""
18181 else $as_nop
18182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18183 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18185 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18189 else
18190 GSSAPI_CFLAGS=""
18192 CPPFLAGS=$ac_save_CPPFLAGS
18195 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18196 then :
18197 case "x$with_gssapi" in
18198 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18199 xno) ;;
18200 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18201 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18202 esac
18206 if test "$ac_cv_header_libprocstat_h" = "yes"
18207 then
18208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18209 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18210 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18211 then :
18212 printf %s "(cached) " >&6
18213 else $as_nop
18214 ac_check_lib_save_LIBS=$LIBS
18215 LIBS="-lprocstat $LIBS"
18216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18217 /* end confdefs.h. */
18219 /* Override any GCC internal prototype to avoid an error.
18220 Use char because int might match the return type of a GCC
18221 builtin and then its argument prototype would still apply. */
18222 char procstat_open_sysctl ();
18224 main (void)
18226 return procstat_open_sysctl ();
18228 return 0;
18230 _ACEOF
18231 if ac_fn_c_try_link "$LINENO"
18232 then :
18233 ac_cv_lib_procstat_procstat_open_sysctl=yes
18234 else $as_nop
18235 ac_cv_lib_procstat_procstat_open_sysctl=no
18237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18238 conftest$ac_exeext conftest.$ac_ext
18239 LIBS=$ac_check_lib_save_LIBS
18241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18242 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18243 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18244 then :
18246 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18248 PROCSTAT_LIBS="-lprocstat"
18254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18255 printf %s "checking for -lodbc... " >&6; }
18256 if test ${ac_cv_lib_soname_odbc+y}
18257 then :
18258 printf %s "(cached) " >&6
18259 else $as_nop
18260 ac_check_soname_save_LIBS=$LIBS
18261 LIBS="-lodbc $LIBS"
18262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18263 /* end confdefs.h. */
18265 /* Override any GCC internal prototype to avoid an error.
18266 Use char because int might match the return type of a GCC
18267 builtin and then its argument prototype would still apply. */
18268 char SQLConnect ();
18270 main (void)
18272 return SQLConnect ();
18274 return 0;
18276 _ACEOF
18277 if ac_fn_c_try_link "$LINENO"
18278 then :
18279 case "$LIBEXT" in
18280 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18281 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'` ;;
18282 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18283 if ${ac_cv_lib_soname_odbc:+false} :
18284 then :
18285 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18286 fi ;;
18287 esac
18288 else $as_nop
18289 ac_cv_lib_soname_odbc=
18291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18292 conftest$ac_exeext conftest.$ac_ext
18293 LIBS=$ac_check_soname_save_LIBS
18295 if ${ac_cv_lib_soname_odbc:+false} :
18296 then :
18297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18298 printf "%s\n" "not found" >&6; }
18299 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18301 else $as_nop
18302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18303 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18305 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18310 if test "x$with_netapi" != "xno"
18311 then
18312 rm -f conftest.err
18313 if ${NETAPI_CFLAGS:+false} :
18314 then :
18315 if test ${PKG_CONFIG+y}
18316 then :
18317 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18321 if ${NETAPI_LIBS:+false} :
18322 then :
18323 if test ${PKG_CONFIG+y}
18324 then :
18325 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18332 if test -s conftest.err; then
18333 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18334 cat conftest.err >&5
18336 rm -f conftest.err
18337 ac_save_CPPFLAGS=$CPPFLAGS
18338 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18340 printf %s "checking for -lnetapi... " >&6; }
18341 if test ${ac_cv_lib_soname_netapi+y}
18342 then :
18343 printf %s "(cached) " >&6
18344 else $as_nop
18345 ac_check_soname_save_LIBS=$LIBS
18346 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18350 /* Override any GCC internal prototype to avoid an error.
18351 Use char because int might match the return type of a GCC
18352 builtin and then its argument prototype would still apply. */
18353 char libnetapi_init ();
18355 main (void)
18357 return libnetapi_init ();
18359 return 0;
18361 _ACEOF
18362 if ac_fn_c_try_link "$LINENO"
18363 then :
18364 case "$LIBEXT" in
18365 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18366 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'` ;;
18367 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18368 if ${ac_cv_lib_soname_netapi:+false} :
18369 then :
18370 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18371 fi ;;
18372 esac
18373 else $as_nop
18374 ac_cv_lib_soname_netapi=
18376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18377 conftest$ac_exeext conftest.$ac_ext
18378 LIBS=$ac_check_soname_save_LIBS
18380 if ${ac_cv_lib_soname_netapi:+false} :
18381 then :
18382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18383 printf "%s\n" "not found" >&6; }
18384 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18386 else $as_nop
18387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18388 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18390 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18394 CPPFLAGS=$ac_save_CPPFLAGS
18397 if test "x$ac_cv_lib_soname_netapi" = "x"
18398 then :
18399 case "x$with_netapi" in
18400 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18401 xno) ;;
18402 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18403 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18404 esac
18405 enable_netapi=${enable_netapi:-no}
18409 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18410 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18411 then
18412 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18415 if test "x$with_vulkan" != "xno"
18416 then
18417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18418 printf %s "checking for -lvulkan... " >&6; }
18419 if test ${ac_cv_lib_soname_vulkan+y}
18420 then :
18421 printf %s "(cached) " >&6
18422 else $as_nop
18423 ac_check_soname_save_LIBS=$LIBS
18424 LIBS="-lvulkan $LIBS"
18425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18426 /* end confdefs.h. */
18428 /* Override any GCC internal prototype to avoid an error.
18429 Use char because int might match the return type of a GCC
18430 builtin and then its argument prototype would still apply. */
18431 char vkGetInstanceProcAddr ();
18433 main (void)
18435 return vkGetInstanceProcAddr ();
18437 return 0;
18439 _ACEOF
18440 if ac_fn_c_try_link "$LINENO"
18441 then :
18442 case "$LIBEXT" in
18443 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18444 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'` ;;
18445 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18446 if ${ac_cv_lib_soname_vulkan:+false} :
18447 then :
18448 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18449 fi ;;
18450 esac
18451 else $as_nop
18452 ac_cv_lib_soname_vulkan=
18454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18455 conftest$ac_exeext conftest.$ac_ext
18456 LIBS=$ac_check_soname_save_LIBS
18458 if ${ac_cv_lib_soname_vulkan:+false} :
18459 then :
18460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18461 printf "%s\n" "not found" >&6; }
18463 else $as_nop
18464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18465 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18467 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18471 if test "x$ac_cv_lib_soname_vulkan" = "x"
18472 then
18473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18474 printf %s "checking for -lMoltenVK... " >&6; }
18475 if test ${ac_cv_lib_soname_MoltenVK+y}
18476 then :
18477 printf %s "(cached) " >&6
18478 else $as_nop
18479 ac_check_soname_save_LIBS=$LIBS
18480 LIBS="-lMoltenVK $LIBS"
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18484 /* Override any GCC internal prototype to avoid an error.
18485 Use char because int might match the return type of a GCC
18486 builtin and then its argument prototype would still apply. */
18487 char vkGetInstanceProcAddr ();
18489 main (void)
18491 return vkGetInstanceProcAddr ();
18493 return 0;
18495 _ACEOF
18496 if ac_fn_c_try_link "$LINENO"
18497 then :
18498 case "$LIBEXT" in
18499 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18500 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'` ;;
18501 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18502 if ${ac_cv_lib_soname_MoltenVK:+false} :
18503 then :
18504 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18505 fi ;;
18506 esac
18507 else $as_nop
18508 ac_cv_lib_soname_MoltenVK=
18510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18511 conftest$ac_exeext conftest.$ac_ext
18512 LIBS=$ac_check_soname_save_LIBS
18514 if ${ac_cv_lib_soname_MoltenVK:+false} :
18515 then :
18516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18517 printf "%s\n" "not found" >&6; }
18519 else $as_nop
18520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18521 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18523 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18529 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18530 then :
18531 case "x$with_vulkan" in
18532 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18533 xno) ;;
18534 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18535 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18536 esac
18541 if test "x${GCC}" = "xyes"
18542 then
18543 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18545 saved_CFLAGS=$CFLAGS
18546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18547 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18548 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18549 then :
18550 printf %s "(cached) " >&6
18551 else $as_nop
18552 ac_wine_try_cflags_saved=$CFLAGS
18553 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18556 int main(int argc, char **argv) { return 0; }
18557 _ACEOF
18558 if ac_fn_c_try_link "$LINENO"
18559 then :
18560 ac_cv_cflags__Werror_unknown_warning_option=yes
18561 else $as_nop
18562 ac_cv_cflags__Werror_unknown_warning_option=no
18564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18565 conftest$ac_exeext conftest.$ac_ext
18566 CFLAGS=$ac_wine_try_cflags_saved
18568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18569 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18570 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18571 then :
18572 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18575 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18576 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18577 then :
18578 printf %s "(cached) " >&6
18579 else $as_nop
18580 ac_wine_try_cflags_saved=$CFLAGS
18581 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18583 /* end confdefs.h. */
18584 int main(int argc, char **argv) { return 0; }
18585 _ACEOF
18586 if ac_fn_c_try_link "$LINENO"
18587 then :
18588 ac_cv_cflags__Werror_unused_command_line_argument=yes
18589 else $as_nop
18590 ac_cv_cflags__Werror_unused_command_line_argument=no
18592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18593 conftest$ac_exeext conftest.$ac_ext
18594 CFLAGS=$ac_wine_try_cflags_saved
18596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18597 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18598 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18599 then :
18600 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18603 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18604 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18605 then :
18606 printf %s "(cached) " >&6
18607 else $as_nop
18608 ac_wine_try_cflags_saved=$CFLAGS
18609 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18611 /* end confdefs.h. */
18612 int main(int argc, char **argv) { return 0; }
18613 _ACEOF
18614 if ac_fn_c_try_link "$LINENO"
18615 then :
18616 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18617 else $as_nop
18618 ac_cv_cflags__Werror_ignored_optimization_argument=no
18620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18621 conftest$ac_exeext conftest.$ac_ext
18622 CFLAGS=$ac_wine_try_cflags_saved
18624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18625 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18626 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18627 then :
18628 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18631 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18632 if test ${ac_cv_cflags__fcf_protection_none+y}
18633 then :
18634 printf %s "(cached) " >&6
18635 else $as_nop
18636 ac_wine_try_cflags_saved=$CFLAGS
18637 CFLAGS="$CFLAGS -fcf-protection=none"
18638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18639 /* end confdefs.h. */
18640 int main(int argc, char **argv) { return 0; }
18641 _ACEOF
18642 if ac_fn_c_try_link "$LINENO"
18643 then :
18644 ac_cv_cflags__fcf_protection_none=yes
18645 else $as_nop
18646 ac_cv_cflags__fcf_protection_none=no
18648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18649 conftest$ac_exeext conftest.$ac_ext
18650 CFLAGS=$ac_wine_try_cflags_saved
18652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18653 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18654 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18655 then :
18656 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18659 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18660 if test ${ac_cv_cflags__fno_stack_protector+y}
18661 then :
18662 printf %s "(cached) " >&6
18663 else $as_nop
18664 ac_wine_try_cflags_saved=$CFLAGS
18665 CFLAGS="$CFLAGS -fno-stack-protector"
18666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18667 /* end confdefs.h. */
18668 int main(int argc, char **argv) { return 0; }
18669 _ACEOF
18670 if ac_fn_c_try_link "$LINENO"
18671 then :
18672 ac_cv_cflags__fno_stack_protector=yes
18673 else $as_nop
18674 ac_cv_cflags__fno_stack_protector=no
18676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18677 conftest$ac_exeext conftest.$ac_ext
18678 CFLAGS=$ac_wine_try_cflags_saved
18680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18681 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18682 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18683 then :
18684 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18687 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18688 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18689 then :
18690 printf %s "(cached) " >&6
18691 else $as_nop
18692 ac_wine_try_cflags_saved=$CFLAGS
18693 CFLAGS="$CFLAGS -fno-strict-aliasing"
18694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18695 /* end confdefs.h. */
18696 int main(int argc, char **argv) { return 0; }
18697 _ACEOF
18698 if ac_fn_c_try_link "$LINENO"
18699 then :
18700 ac_cv_cflags__fno_strict_aliasing=yes
18701 else $as_nop
18702 ac_cv_cflags__fno_strict_aliasing=no
18704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18705 conftest$ac_exeext conftest.$ac_ext
18706 CFLAGS=$ac_wine_try_cflags_saved
18708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18709 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18710 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18711 then :
18712 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18715 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18716 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18717 then :
18718 printf %s "(cached) " >&6
18719 else $as_nop
18720 ac_wine_try_cflags_saved=$CFLAGS
18721 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18723 /* end confdefs.h. */
18724 int main(int argc, char **argv) { return 0; }
18725 _ACEOF
18726 if ac_fn_c_try_link "$LINENO"
18727 then :
18728 ac_cv_cflags__Wdeclaration_after_statement=yes
18729 else $as_nop
18730 ac_cv_cflags__Wdeclaration_after_statement=no
18732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18733 conftest$ac_exeext conftest.$ac_ext
18734 CFLAGS=$ac_wine_try_cflags_saved
18736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18737 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18738 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18739 then :
18740 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18743 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18744 if test ${ac_cv_cflags__Wempty_body+y}
18745 then :
18746 printf %s "(cached) " >&6
18747 else $as_nop
18748 ac_wine_try_cflags_saved=$CFLAGS
18749 CFLAGS="$CFLAGS -Wempty-body"
18750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18751 /* end confdefs.h. */
18752 int main(int argc, char **argv) { return 0; }
18753 _ACEOF
18754 if ac_fn_c_try_link "$LINENO"
18755 then :
18756 ac_cv_cflags__Wempty_body=yes
18757 else $as_nop
18758 ac_cv_cflags__Wempty_body=no
18760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18761 conftest$ac_exeext conftest.$ac_ext
18762 CFLAGS=$ac_wine_try_cflags_saved
18764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18765 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18766 if test "x$ac_cv_cflags__Wempty_body" = xyes
18767 then :
18768 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18771 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18772 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18773 then :
18774 printf %s "(cached) " >&6
18775 else $as_nop
18776 ac_wine_try_cflags_saved=$CFLAGS
18777 CFLAGS="$CFLAGS -Wignored-qualifiers"
18778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18779 /* end confdefs.h. */
18780 int main(int argc, char **argv) { return 0; }
18781 _ACEOF
18782 if ac_fn_c_try_link "$LINENO"
18783 then :
18784 ac_cv_cflags__Wignored_qualifiers=yes
18785 else $as_nop
18786 ac_cv_cflags__Wignored_qualifiers=no
18788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18789 conftest$ac_exeext conftest.$ac_ext
18790 CFLAGS=$ac_wine_try_cflags_saved
18792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18793 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18794 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18795 then :
18796 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18799 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18800 if test ${ac_cv_cflags__Winit_self+y}
18801 then :
18802 printf %s "(cached) " >&6
18803 else $as_nop
18804 ac_wine_try_cflags_saved=$CFLAGS
18805 CFLAGS="$CFLAGS -Winit-self"
18806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18807 /* end confdefs.h. */
18808 int main(int argc, char **argv) { return 0; }
18809 _ACEOF
18810 if ac_fn_c_try_link "$LINENO"
18811 then :
18812 ac_cv_cflags__Winit_self=yes
18813 else $as_nop
18814 ac_cv_cflags__Winit_self=no
18816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18817 conftest$ac_exeext conftest.$ac_ext
18818 CFLAGS=$ac_wine_try_cflags_saved
18820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18821 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18822 if test "x$ac_cv_cflags__Winit_self" = xyes
18823 then :
18824 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18827 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18828 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18829 then :
18830 printf %s "(cached) " >&6
18831 else $as_nop
18832 ac_wine_try_cflags_saved=$CFLAGS
18833 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18835 /* end confdefs.h. */
18836 int main(int argc, char **argv) { return 0; }
18837 _ACEOF
18838 if ac_fn_c_try_link "$LINENO"
18839 then :
18840 ac_cv_cflags__Wpacked_not_aligned=yes
18841 else $as_nop
18842 ac_cv_cflags__Wpacked_not_aligned=no
18844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18845 conftest$ac_exeext conftest.$ac_ext
18846 CFLAGS=$ac_wine_try_cflags_saved
18848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18849 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18850 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18851 then :
18852 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18855 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18856 if test ${ac_cv_cflags__Wpragma_pack+y}
18857 then :
18858 printf %s "(cached) " >&6
18859 else $as_nop
18860 ac_wine_try_cflags_saved=$CFLAGS
18861 CFLAGS="$CFLAGS -Wpragma-pack"
18862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18863 /* end confdefs.h. */
18864 int main(int argc, char **argv) { return 0; }
18865 _ACEOF
18866 if ac_fn_c_try_link "$LINENO"
18867 then :
18868 ac_cv_cflags__Wpragma_pack=yes
18869 else $as_nop
18870 ac_cv_cflags__Wpragma_pack=no
18872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18873 conftest$ac_exeext conftest.$ac_ext
18874 CFLAGS=$ac_wine_try_cflags_saved
18876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18877 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18878 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18879 then :
18880 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18883 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18884 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18885 then :
18886 printf %s "(cached) " >&6
18887 else $as_nop
18888 ac_wine_try_cflags_saved=$CFLAGS
18889 CFLAGS="$CFLAGS -Wshift-overflow=2"
18890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18892 int main(int argc, char **argv) { return 0; }
18893 _ACEOF
18894 if ac_fn_c_try_link "$LINENO"
18895 then :
18896 ac_cv_cflags__Wshift_overflow_2=yes
18897 else $as_nop
18898 ac_cv_cflags__Wshift_overflow_2=no
18900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18901 conftest$ac_exeext conftest.$ac_ext
18902 CFLAGS=$ac_wine_try_cflags_saved
18904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18905 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18906 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18907 then :
18908 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18911 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18912 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18913 then :
18914 printf %s "(cached) " >&6
18915 else $as_nop
18916 ac_wine_try_cflags_saved=$CFLAGS
18917 CFLAGS="$CFLAGS -Wstrict-prototypes"
18918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18919 /* end confdefs.h. */
18920 int main(int argc, char **argv) { return 0; }
18921 _ACEOF
18922 if ac_fn_c_try_link "$LINENO"
18923 then :
18924 ac_cv_cflags__Wstrict_prototypes=yes
18925 else $as_nop
18926 ac_cv_cflags__Wstrict_prototypes=no
18928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18929 conftest$ac_exeext conftest.$ac_ext
18930 CFLAGS=$ac_wine_try_cflags_saved
18932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18933 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18934 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18935 then :
18936 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18939 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18940 if test ${ac_cv_cflags__Wtype_limits+y}
18941 then :
18942 printf %s "(cached) " >&6
18943 else $as_nop
18944 ac_wine_try_cflags_saved=$CFLAGS
18945 CFLAGS="$CFLAGS -Wtype-limits"
18946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18947 /* end confdefs.h. */
18948 int main(int argc, char **argv) { return 0; }
18949 _ACEOF
18950 if ac_fn_c_try_link "$LINENO"
18951 then :
18952 ac_cv_cflags__Wtype_limits=yes
18953 else $as_nop
18954 ac_cv_cflags__Wtype_limits=no
18956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18957 conftest$ac_exeext conftest.$ac_ext
18958 CFLAGS=$ac_wine_try_cflags_saved
18960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18961 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18962 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18963 then :
18964 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18967 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18968 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18969 then :
18970 printf %s "(cached) " >&6
18971 else $as_nop
18972 ac_wine_try_cflags_saved=$CFLAGS
18973 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h. */
18976 int main(int argc, char **argv) { return 0; }
18977 _ACEOF
18978 if ac_fn_c_try_link "$LINENO"
18979 then :
18980 ac_cv_cflags__Wunused_but_set_parameter=yes
18981 else $as_nop
18982 ac_cv_cflags__Wunused_but_set_parameter=no
18984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18985 conftest$ac_exeext conftest.$ac_ext
18986 CFLAGS=$ac_wine_try_cflags_saved
18988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18989 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18990 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18991 then :
18992 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18995 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18996 if test ${ac_cv_cflags__Wvla+y}
18997 then :
18998 printf %s "(cached) " >&6
18999 else $as_nop
19000 ac_wine_try_cflags_saved=$CFLAGS
19001 CFLAGS="$CFLAGS -Wvla"
19002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19003 /* end confdefs.h. */
19004 int main(int argc, char **argv) { return 0; }
19005 _ACEOF
19006 if ac_fn_c_try_link "$LINENO"
19007 then :
19008 ac_cv_cflags__Wvla=yes
19009 else $as_nop
19010 ac_cv_cflags__Wvla=no
19012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19013 conftest$ac_exeext conftest.$ac_ext
19014 CFLAGS=$ac_wine_try_cflags_saved
19016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19017 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19018 if test "x$ac_cv_cflags__Wvla" = xyes
19019 then :
19020 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19023 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19024 if test ${ac_cv_cflags__Wwrite_strings+y}
19025 then :
19026 printf %s "(cached) " >&6
19027 else $as_nop
19028 ac_wine_try_cflags_saved=$CFLAGS
19029 CFLAGS="$CFLAGS -Wwrite-strings"
19030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19031 /* end confdefs.h. */
19032 int main(int argc, char **argv) { return 0; }
19033 _ACEOF
19034 if ac_fn_c_try_link "$LINENO"
19035 then :
19036 ac_cv_cflags__Wwrite_strings=yes
19037 else $as_nop
19038 ac_cv_cflags__Wwrite_strings=no
19040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19041 conftest$ac_exeext conftest.$ac_ext
19042 CFLAGS=$ac_wine_try_cflags_saved
19044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19045 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19046 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19047 then :
19048 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19052 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19053 if test ${ac_cv_cflags__Wpointer_arith+y}
19054 then :
19055 printf %s "(cached) " >&6
19056 else $as_nop
19057 ac_wine_try_cflags_saved=$CFLAGS
19058 CFLAGS="$CFLAGS -Wpointer-arith"
19059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19060 /* end confdefs.h. */
19061 int main(int argc, char **argv) { return 0; }
19062 _ACEOF
19063 if ac_fn_c_try_link "$LINENO"
19064 then :
19065 ac_cv_cflags__Wpointer_arith=yes
19066 else $as_nop
19067 ac_cv_cflags__Wpointer_arith=no
19069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19070 conftest$ac_exeext conftest.$ac_ext
19071 CFLAGS=$ac_wine_try_cflags_saved
19073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19074 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19075 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19076 then :
19077 saved_string_h_CFLAGS=$CFLAGS
19078 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19080 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19081 if test ${ac_cv_c_string_h_warnings+y}
19082 then :
19083 printf %s "(cached) " >&6
19084 else $as_nop
19085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19086 /* end confdefs.h. */
19087 #include <string.h>
19089 main (void)
19093 return 0;
19095 _ACEOF
19096 if ac_fn_c_try_compile "$LINENO"
19097 then :
19098 ac_cv_c_string_h_warnings=no
19099 else $as_nop
19100 ac_cv_c_string_h_warnings=yes
19102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19105 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19106 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19107 CFLAGS=$saved_string_h_CFLAGS
19110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19111 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19112 if test ${ac_cv_cflags__Wlogical_op+y}
19113 then :
19114 printf %s "(cached) " >&6
19115 else $as_nop
19116 ac_wine_try_cflags_saved=$CFLAGS
19117 CFLAGS="$CFLAGS -Wlogical-op"
19118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19120 int main(int argc, char **argv) { return 0; }
19121 _ACEOF
19122 if ac_fn_c_try_link "$LINENO"
19123 then :
19124 ac_cv_cflags__Wlogical_op=yes
19125 else $as_nop
19126 ac_cv_cflags__Wlogical_op=no
19128 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19129 conftest$ac_exeext conftest.$ac_ext
19130 CFLAGS=$ac_wine_try_cflags_saved
19132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19133 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19134 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19135 then :
19136 saved_string_h_CFLAGS=$CFLAGS
19137 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19139 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19140 if test ${ac_cv_c_logicalop_noisy+y}
19141 then :
19142 printf %s "(cached) " >&6
19143 else $as_nop
19144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19145 /* end confdefs.h. */
19146 #include <string.h>
19147 char*f(const char *h,char n) {return strchr(h,n);}
19149 main (void)
19153 return 0;
19155 _ACEOF
19156 if ac_fn_c_try_compile "$LINENO"
19157 then :
19158 ac_cv_c_logicalop_noisy=no
19159 else $as_nop
19160 ac_cv_c_logicalop_noisy=yes
19162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19165 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19166 CFLAGS=$saved_string_h_CFLAGS
19167 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19171 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19172 if test ${wine_cv_64bit_compare_swap+y}
19173 then :
19174 printf %s "(cached) " >&6
19175 else $as_nop
19176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19177 /* end confdefs.h. */
19178 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19179 #error no
19180 #endif
19182 main (void)
19186 return 0;
19188 _ACEOF
19189 if ac_fn_c_try_compile "$LINENO"
19190 then :
19191 wine_cv_64bit_compare_swap="none needed"
19192 else $as_nop
19193 case $host_cpu in
19194 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19195 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19196 *) wine_cv_64bit_compare_swap="unknown" ;;
19197 esac
19198 if test "x$wine_cv_64bit_compare_swap" != xunknown
19199 then
19200 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19202 /* end confdefs.h. */
19203 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19204 #error no
19205 #endif
19207 main (void)
19211 return 0;
19213 _ACEOF
19214 if ac_fn_c_try_compile "$LINENO"
19215 then :
19217 else $as_nop
19218 wine_cv_64bit_compare_swap="unknown"
19220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19221 CFLAGS=$saved_CFLAGS
19224 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19227 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19228 case "$wine_cv_64bit_compare_swap" in
19229 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19230 "none needed") ;;
19231 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19232 esac
19234 ac_debug_format_seen=""
19235 for ac_flag in $CFLAGS; do
19236 case $ac_flag in
19237 -gdwarf*) ac_debug_format_seen=yes ;;
19238 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19239 esac
19240 done
19241 if test "x$ac_debug_format_seen" = xdefault
19242 then
19243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19244 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19245 if test ${ac_cv_cflags__gdwarf_4+y}
19246 then :
19247 printf %s "(cached) " >&6
19248 else $as_nop
19249 ac_wine_try_cflags_saved=$CFLAGS
19250 CFLAGS="$CFLAGS -gdwarf-4"
19251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19252 /* end confdefs.h. */
19253 int main(int argc, char **argv) { return 0; }
19254 _ACEOF
19255 if ac_fn_c_try_link "$LINENO"
19256 then :
19257 ac_cv_cflags__gdwarf_4=yes
19258 else $as_nop
19259 ac_cv_cflags__gdwarf_4=no
19261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19262 conftest$ac_exeext conftest.$ac_ext
19263 CFLAGS=$ac_wine_try_cflags_saved
19265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19266 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19267 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19268 then :
19269 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19273 MSVCRTFLAGS=""
19275 case $host_os in
19276 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19277 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19278 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19279 then :
19280 printf %s "(cached) " >&6
19281 else $as_nop
19282 ac_wine_try_cflags_saved=$CFLAGS
19283 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19285 /* end confdefs.h. */
19286 int main(int argc, char **argv) { return 0; }
19287 _ACEOF
19288 if ac_fn_c_try_link "$LINENO"
19289 then :
19290 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19291 else $as_nop
19292 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19295 conftest$ac_exeext conftest.$ac_ext
19296 CFLAGS=$ac_wine_try_cflags_saved
19298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19299 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19300 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19301 then :
19302 DELAYLOADFLAG="-Wl,-delayload,"
19304 fi ;;
19305 *) MSVCRTFLAGS="-D_WIN32"
19306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19307 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19308 if test ${ac_cv_cflags__fno_builtin+y}
19309 then :
19310 printf %s "(cached) " >&6
19311 else $as_nop
19312 ac_wine_try_cflags_saved=$CFLAGS
19313 CFLAGS="$CFLAGS -fno-builtin"
19314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19315 /* end confdefs.h. */
19316 int main(int argc, char **argv) { return 0; }
19317 _ACEOF
19318 if ac_fn_c_try_link "$LINENO"
19319 then :
19320 ac_cv_cflags__fno_builtin=yes
19321 else $as_nop
19322 ac_cv_cflags__fno_builtin=no
19324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19325 conftest$ac_exeext conftest.$ac_ext
19326 CFLAGS=$ac_wine_try_cflags_saved
19328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19329 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19330 if test "x$ac_cv_cflags__fno_builtin" = xyes
19331 then :
19332 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19335 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19336 if test ${ac_cv_cflags__fshort_wchar+y}
19337 then :
19338 printf %s "(cached) " >&6
19339 else $as_nop
19340 ac_wine_try_cflags_saved=$CFLAGS
19341 CFLAGS="$CFLAGS -fshort-wchar"
19342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19343 /* end confdefs.h. */
19344 int main(int argc, char **argv) { return 0; }
19345 _ACEOF
19346 if ac_fn_c_try_link "$LINENO"
19347 then :
19348 ac_cv_cflags__fshort_wchar=yes
19349 else $as_nop
19350 ac_cv_cflags__fshort_wchar=no
19352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19353 conftest$ac_exeext conftest.$ac_ext
19354 CFLAGS=$ac_wine_try_cflags_saved
19356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19357 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19358 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19359 then :
19360 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19363 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19364 if test ${ac_cv_cflags__fvisibility_hidden+y}
19365 then :
19366 printf %s "(cached) " >&6
19367 else $as_nop
19368 ac_wine_try_cflags_saved=$CFLAGS
19369 CFLAGS="$CFLAGS -fvisibility=hidden"
19370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19372 int main(int argc, char **argv) { return 0; }
19373 _ACEOF
19374 if ac_fn_c_try_link "$LINENO"
19375 then :
19376 ac_cv_cflags__fvisibility_hidden=yes
19377 else $as_nop
19378 ac_cv_cflags__fvisibility_hidden=no
19380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19381 conftest$ac_exeext conftest.$ac_ext
19382 CFLAGS=$ac_wine_try_cflags_saved
19384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19385 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19386 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19387 then :
19388 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19391 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19392 if test ${ac_cv_cflags__Wno_format+y}
19393 then :
19394 printf %s "(cached) " >&6
19395 else $as_nop
19396 ac_wine_try_cflags_saved=$CFLAGS
19397 CFLAGS="$CFLAGS -Wno-format"
19398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19400 int main(int argc, char **argv) { return 0; }
19401 _ACEOF
19402 if ac_fn_c_try_link "$LINENO"
19403 then :
19404 ac_cv_cflags__Wno_format=yes
19405 else $as_nop
19406 ac_cv_cflags__Wno_format=no
19408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19409 conftest$ac_exeext conftest.$ac_ext
19410 CFLAGS=$ac_wine_try_cflags_saved
19412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19413 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19414 if test "x$ac_cv_cflags__Wno_format" = xyes
19415 then :
19416 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19417 fi ;;
19418 esac
19420 case $host_cpu in
19421 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19422 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19423 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19424 then :
19425 printf %s "(cached) " >&6
19426 else $as_nop
19427 ac_wine_try_cflags_saved=$CFLAGS
19428 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19431 int main(int argc, char **argv) { return 0; }
19432 _ACEOF
19433 if ac_fn_c_try_link "$LINENO"
19434 then :
19435 ac_cv_cflags__fno_omit_frame_pointer=yes
19436 else $as_nop
19437 ac_cv_cflags__fno_omit_frame_pointer=no
19439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19440 conftest$ac_exeext conftest.$ac_ext
19441 CFLAGS=$ac_wine_try_cflags_saved
19443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19444 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19445 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19446 then :
19447 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19448 fi ;;
19449 *x86_64*)
19450 case $host_os in
19451 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19452 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19453 if test ${ac_cv_cflags__Wno_format+y}
19454 then :
19455 printf %s "(cached) " >&6
19456 else $as_nop
19457 ac_wine_try_cflags_saved=$CFLAGS
19458 CFLAGS="$CFLAGS -Wno-format"
19459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19460 /* end confdefs.h. */
19461 int main(int argc, char **argv) { return 0; }
19462 _ACEOF
19463 if ac_fn_c_try_link "$LINENO"
19464 then :
19465 ac_cv_cflags__Wno_format=yes
19466 else $as_nop
19467 ac_cv_cflags__Wno_format=no
19469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19470 conftest$ac_exeext conftest.$ac_ext
19471 CFLAGS=$ac_wine_try_cflags_saved
19473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19474 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19475 if test "x$ac_cv_cflags__Wno_format" = xyes
19476 then :
19477 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19478 fi ;;
19479 *) if test -z "$PE_ARCHS"
19480 then
19481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19482 printf %s "checking for working -mabi=ms... " >&6; }
19483 if test ${ac_cv_mabi_ms+y}
19484 then :
19485 printf %s "(cached) " >&6
19486 else $as_nop
19487 CFLAGS="$CFLAGS -mabi=ms"
19488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19489 /* end confdefs.h. */
19490 #include <stdarg.h>
19491 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19493 main (void)
19497 return 0;
19499 _ACEOF
19500 if ac_fn_c_try_compile "$LINENO"
19501 then :
19502 ac_cv_mabi_ms=yes
19503 else $as_nop
19504 ac_cv_mabi_ms=no
19506 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19507 CFLAGS=$saved_CFLAGS
19509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19510 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19511 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
19513 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19514 esac ;;
19515 arm*)
19516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19517 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19518 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19519 then :
19520 printf %s "(cached) " >&6
19521 else $as_nop
19522 ac_wine_try_cflags_saved=$CFLAGS
19523 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19525 /* end confdefs.h. */
19526 int main(int argc, char **argv) { return 0; }
19527 _ACEOF
19528 if ac_fn_c_try_link "$LINENO"
19529 then :
19530 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19531 else $as_nop
19532 ac_cv_cflags__Wincompatible_function_pointer_types=no
19534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19535 conftest$ac_exeext conftest.$ac_ext
19536 CFLAGS=$ac_wine_try_cflags_saved
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19539 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19540 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19541 then :
19542 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19543 fi ;;
19544 esac
19546 CFLAGS=$saved_CFLAGS
19548 if test "x$enable_werror" = "xyes"
19549 then
19550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19551 printf %s "checking whether the compiler supports -Werror... " >&6; }
19552 if test ${ac_cv_cflags__Werror+y}
19553 then :
19554 printf %s "(cached) " >&6
19555 else $as_nop
19556 ac_wine_try_cflags_saved=$CFLAGS
19557 CFLAGS="$CFLAGS -Werror"
19558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19559 /* end confdefs.h. */
19560 int main(int argc, char **argv) { return 0; }
19561 _ACEOF
19562 if ac_fn_c_try_link "$LINENO"
19563 then :
19564 ac_cv_cflags__Werror=yes
19565 else $as_nop
19566 ac_cv_cflags__Werror=no
19568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19569 conftest$ac_exeext conftest.$ac_ext
19570 CFLAGS=$ac_wine_try_cflags_saved
19572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19573 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19574 if test "x$ac_cv_cflags__Werror" = xyes
19575 then :
19576 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19579 if test "x$enable_build_id" = "xyes"
19580 then
19581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19582 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19583 if test ${ac_cv_cflags__Wl___build_id+y}
19584 then :
19585 printf %s "(cached) " >&6
19586 else $as_nop
19587 ac_wine_try_cflags_saved=$CFLAGS
19588 CFLAGS="$CFLAGS -Wl,--build-id"
19589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19590 /* end confdefs.h. */
19591 int main(int argc, char **argv) { return 0; }
19592 _ACEOF
19593 if ac_fn_c_try_link "$LINENO"
19594 then :
19595 ac_cv_cflags__Wl___build_id=yes
19596 else $as_nop
19597 ac_cv_cflags__Wl___build_id=no
19599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19600 conftest$ac_exeext conftest.$ac_ext
19601 CFLAGS=$ac_wine_try_cflags_saved
19603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19604 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19605 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19606 then :
19607 CFLAGS="$CFLAGS -Wl,--build-id"
19608 LDFLAGS="$LDFLAGS -Wl,--build-id"
19614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19615 printf %s "checking for the need to disable Fortify... " >&6; }
19616 if test ${ac_cv_c_fortify_enabled+y}
19617 then :
19618 printf %s "(cached) " >&6
19619 else $as_nop
19620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19621 /* end confdefs.h. */
19622 #include <string.h>
19624 main (void)
19626 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19627 #error Fortify enabled
19628 #endif
19630 return 0;
19632 _ACEOF
19633 if ac_fn_c_try_compile "$LINENO"
19634 then :
19635 ac_cv_c_fortify_enabled=no
19636 else $as_nop
19637 ac_cv_c_fortify_enabled=yes
19639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19642 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19643 if test "$ac_cv_c_fortify_enabled" = yes
19644 then
19645 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19650 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19651 if test ${ac_cv_c_cfi_support+y}
19652 then :
19653 printf %s "(cached) " >&6
19654 else $as_nop
19655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19656 /* end confdefs.h. */
19657 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19659 main (void)
19663 return 0;
19665 _ACEOF
19666 if ac_fn_c_try_compile "$LINENO"
19667 then :
19668 ac_cv_c_cfi_support="yes"
19669 else $as_nop
19670 ac_cv_c_cfi_support="no"
19672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19675 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19676 if test "$ac_cv_c_cfi_support" = "yes"
19677 then
19678 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19679 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19680 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19681 elif test $HOST_ARCH = x86_64
19682 then
19683 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19687 case "$HOST_ARCH,$PE_ARCHS" in
19688 x86_64,*i386*) wine_binary="wine" ;;
19689 x86_64,*) wine_binary="wine64" ;;
19690 *) wine_binary="wine" ;;
19691 esac
19692 WINELOADER_PROGRAMS="$wine_binary"
19695 case $host_os in
19696 linux*)
19697 case $host_cpu in
19698 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19699 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19700 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19702 esac
19704 darwin*|macosx*)
19705 if test "$wine_can_build_preloader" = "yes"
19706 then
19707 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19708 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19711 esac
19714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19715 printf %s "checking for library containing dlopen... " >&6; }
19716 if test ${ac_cv_search_dlopen+y}
19717 then :
19718 printf %s "(cached) " >&6
19719 else $as_nop
19720 ac_func_search_save_LIBS=$LIBS
19721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19722 /* end confdefs.h. */
19724 /* Override any GCC internal prototype to avoid an error.
19725 Use char because int might match the return type of a GCC
19726 builtin and then its argument prototype would still apply. */
19727 char dlopen ();
19729 main (void)
19731 return dlopen ();
19733 return 0;
19735 _ACEOF
19736 for ac_lib in '' dl
19738 if test -z "$ac_lib"; then
19739 ac_res="none required"
19740 else
19741 ac_res=-l$ac_lib
19742 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19744 if ac_fn_c_try_link "$LINENO"
19745 then :
19746 ac_cv_search_dlopen=$ac_res
19748 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19749 conftest$ac_exeext
19750 if test ${ac_cv_search_dlopen+y}
19751 then :
19752 break
19754 done
19755 if test ${ac_cv_search_dlopen+y}
19756 then :
19758 else $as_nop
19759 ac_cv_search_dlopen=no
19761 rm conftest.$ac_ext
19762 LIBS=$ac_func_search_save_LIBS
19764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19765 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19766 ac_res=$ac_cv_search_dlopen
19767 if test "$ac_res" != no
19768 then :
19769 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19775 printf %s "checking for library containing gethostbyname... " >&6; }
19776 if test ${ac_cv_search_gethostbyname+y}
19777 then :
19778 printf %s "(cached) " >&6
19779 else $as_nop
19780 ac_func_search_save_LIBS=$LIBS
19781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h. */
19784 /* Override any GCC internal prototype to avoid an error.
19785 Use char because int might match the return type of a GCC
19786 builtin and then its argument prototype would still apply. */
19787 char gethostbyname ();
19789 main (void)
19791 return gethostbyname ();
19793 return 0;
19795 _ACEOF
19796 for ac_lib in '' nsl
19798 if test -z "$ac_lib"; then
19799 ac_res="none required"
19800 else
19801 ac_res=-l$ac_lib
19802 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19804 if ac_fn_c_try_link "$LINENO"
19805 then :
19806 ac_cv_search_gethostbyname=$ac_res
19808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19809 conftest$ac_exeext
19810 if test ${ac_cv_search_gethostbyname+y}
19811 then :
19812 break
19814 done
19815 if test ${ac_cv_search_gethostbyname+y}
19816 then :
19818 else $as_nop
19819 ac_cv_search_gethostbyname=no
19821 rm conftest.$ac_ext
19822 LIBS=$ac_func_search_save_LIBS
19824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19825 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19826 ac_res=$ac_cv_search_gethostbyname
19827 if test "$ac_res" != no
19828 then :
19829 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19835 printf %s "checking for library containing connect... " >&6; }
19836 if test ${ac_cv_search_connect+y}
19837 then :
19838 printf %s "(cached) " >&6
19839 else $as_nop
19840 ac_func_search_save_LIBS=$LIBS
19841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19842 /* end confdefs.h. */
19844 /* Override any GCC internal prototype to avoid an error.
19845 Use char because int might match the return type of a GCC
19846 builtin and then its argument prototype would still apply. */
19847 char connect ();
19849 main (void)
19851 return connect ();
19853 return 0;
19855 _ACEOF
19856 for ac_lib in '' socket
19858 if test -z "$ac_lib"; then
19859 ac_res="none required"
19860 else
19861 ac_res=-l$ac_lib
19862 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19864 if ac_fn_c_try_link "$LINENO"
19865 then :
19866 ac_cv_search_connect=$ac_res
19868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19869 conftest$ac_exeext
19870 if test ${ac_cv_search_connect+y}
19871 then :
19872 break
19874 done
19875 if test ${ac_cv_search_connect+y}
19876 then :
19878 else $as_nop
19879 ac_cv_search_connect=no
19881 rm conftest.$ac_ext
19882 LIBS=$ac_func_search_save_LIBS
19884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19885 printf "%s\n" "$ac_cv_search_connect" >&6; }
19886 ac_res=$ac_cv_search_connect
19887 if test "$ac_res" != no
19888 then :
19889 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19895 printf %s "checking for library containing inet_aton... " >&6; }
19896 if test ${ac_cv_search_inet_aton+y}
19897 then :
19898 printf %s "(cached) " >&6
19899 else $as_nop
19900 ac_func_search_save_LIBS=$LIBS
19901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19904 /* Override any GCC internal prototype to avoid an error.
19905 Use char because int might match the return type of a GCC
19906 builtin and then its argument prototype would still apply. */
19907 char inet_aton ();
19909 main (void)
19911 return inet_aton ();
19913 return 0;
19915 _ACEOF
19916 for ac_lib in '' resolv
19918 if test -z "$ac_lib"; then
19919 ac_res="none required"
19920 else
19921 ac_res=-l$ac_lib
19922 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19924 if ac_fn_c_try_link "$LINENO"
19925 then :
19926 ac_cv_search_inet_aton=$ac_res
19928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19929 conftest$ac_exeext
19930 if test ${ac_cv_search_inet_aton+y}
19931 then :
19932 break
19934 done
19935 if test ${ac_cv_search_inet_aton+y}
19936 then :
19938 else $as_nop
19939 ac_cv_search_inet_aton=no
19941 rm conftest.$ac_ext
19942 LIBS=$ac_func_search_save_LIBS
19944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19945 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19946 ac_res=$ac_cv_search_inet_aton
19947 if test "$ac_res" != no
19948 then :
19949 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19954 ac_save_CFLAGS="$CFLAGS"
19955 CFLAGS="$CFLAGS $BUILTINFLAG"
19956 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19957 if test "x$ac_cv_func_dladdr1" = xyes
19958 then :
19959 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19962 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19963 if test "x$ac_cv_func_dlinfo" = xyes
19964 then :
19965 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19968 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19969 if test "x$ac_cv_func_epoll_create" = xyes
19970 then :
19971 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19974 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19975 if test "x$ac_cv_func_fstatfs" = xyes
19976 then :
19977 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19980 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19981 if test "x$ac_cv_func_futimens" = xyes
19982 then :
19983 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19986 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19987 if test "x$ac_cv_func_futimes" = xyes
19988 then :
19989 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19992 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19993 if test "x$ac_cv_func_futimesat" = xyes
19994 then :
19995 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19998 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19999 if test "x$ac_cv_func_getaddrinfo" = xyes
20000 then :
20001 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20004 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20005 if test "x$ac_cv_func_getattrlist" = xyes
20006 then :
20007 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20010 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20011 if test "x$ac_cv_func_getauxval" = xyes
20012 then :
20013 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20016 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20017 if test "x$ac_cv_func_getifaddrs" = xyes
20018 then :
20019 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20022 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20023 if test "x$ac_cv_func_getrandom" = xyes
20024 then :
20025 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20028 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20029 if test "x$ac_cv_func_kqueue" = xyes
20030 then :
20031 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20034 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20035 if test "x$ac_cv_func_mach_continuous_time" = xyes
20036 then :
20037 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20040 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20041 if test "x$ac_cv_func_pipe2" = xyes
20042 then :
20043 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20046 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20047 if test "x$ac_cv_func_port_create" = xyes
20048 then :
20049 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20052 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20053 if test "x$ac_cv_func_posix_fadvise" = xyes
20054 then :
20055 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20058 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20059 if test "x$ac_cv_func_posix_fallocate" = xyes
20060 then :
20061 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20064 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20065 if test "x$ac_cv_func_prctl" = xyes
20066 then :
20067 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20070 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20071 if test "x$ac_cv_func_proc_pidinfo" = xyes
20072 then :
20073 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20076 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20077 if test "x$ac_cv_func_sched_yield" = xyes
20078 then :
20079 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20082 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20083 if test "x$ac_cv_func_setproctitle" = xyes
20084 then :
20085 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20088 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20089 if test "x$ac_cv_func_setprogname" = xyes
20090 then :
20091 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20094 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20095 if test "x$ac_cv_func_sigprocmask" = xyes
20096 then :
20097 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20100 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20101 if test "x$ac_cv_func_sysinfo" = xyes
20102 then :
20103 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20106 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20107 if test "x$ac_cv_func_tcdrain" = xyes
20108 then :
20109 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20112 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20113 if test "x$ac_cv_func_thr_kill2" = xyes
20114 then :
20115 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20119 CFLAGS="$ac_save_CFLAGS"
20121 case $host_os in
20122 darwin*|macosx*) ;;
20123 *) ac_save_LIBS=$LIBS
20124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20125 printf %s "checking for library containing clock_gettime... " >&6; }
20126 if test ${ac_cv_search_clock_gettime+y}
20127 then :
20128 printf %s "(cached) " >&6
20129 else $as_nop
20130 ac_func_search_save_LIBS=$LIBS
20131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20132 /* end confdefs.h. */
20134 /* Override any GCC internal prototype to avoid an error.
20135 Use char because int might match the return type of a GCC
20136 builtin and then its argument prototype would still apply. */
20137 char clock_gettime ();
20139 main (void)
20141 return clock_gettime ();
20143 return 0;
20145 _ACEOF
20146 for ac_lib in '' rt
20148 if test -z "$ac_lib"; then
20149 ac_res="none required"
20150 else
20151 ac_res=-l$ac_lib
20152 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20154 if ac_fn_c_try_link "$LINENO"
20155 then :
20156 ac_cv_search_clock_gettime=$ac_res
20158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20159 conftest$ac_exeext
20160 if test ${ac_cv_search_clock_gettime+y}
20161 then :
20162 break
20164 done
20165 if test ${ac_cv_search_clock_gettime+y}
20166 then :
20168 else $as_nop
20169 ac_cv_search_clock_gettime=no
20171 rm conftest.$ac_ext
20172 LIBS=$ac_func_search_save_LIBS
20174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20175 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20176 ac_res=$ac_cv_search_clock_gettime
20177 if test "$ac_res" != no
20178 then :
20179 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20181 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20183 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20187 LIBS=$ac_save_LIBS
20189 esac
20191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20192 printf %s "checking for sched_setaffinity... " >&6; }
20193 if test ${wine_cv_have_sched_setaffinity+y}
20194 then :
20195 printf %s "(cached) " >&6
20196 else $as_nop
20197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h. */
20199 #include <sched.h>
20201 main (void)
20203 sched_setaffinity(0, 0, 0);
20205 return 0;
20207 _ACEOF
20208 if ac_fn_c_try_link "$LINENO"
20209 then :
20210 wine_cv_have_sched_setaffinity=yes
20211 else $as_nop
20212 wine_cv_have_sched_setaffinity=no
20214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20215 conftest$ac_exeext conftest.$ac_ext
20217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20218 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20219 if test "$wine_cv_have_sched_setaffinity" = "yes"
20220 then
20222 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20228 printf %s "checking for inline... " >&6; }
20229 if test ${ac_cv_c_inline+y}
20230 then :
20231 printf %s "(cached) " >&6
20232 else $as_nop
20233 ac_cv_c_inline=no
20234 for ac_kw in inline __inline__ __inline; do
20235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20236 /* end confdefs.h. */
20237 #ifndef __cplusplus
20238 typedef int foo_t;
20239 static $ac_kw foo_t static_foo (void) {return 0; }
20240 $ac_kw foo_t foo (void) {return 0; }
20241 #endif
20243 _ACEOF
20244 if ac_fn_c_try_compile "$LINENO"
20245 then :
20246 ac_cv_c_inline=$ac_kw
20248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20249 test "$ac_cv_c_inline" != no && break
20250 done
20253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20254 printf "%s\n" "$ac_cv_c_inline" >&6; }
20256 case $ac_cv_c_inline in
20257 inline | yes) ;;
20259 case $ac_cv_c_inline in
20260 no) ac_val=;;
20261 *) ac_val=$ac_cv_c_inline;;
20262 esac
20263 cat >>confdefs.h <<_ACEOF
20264 #ifndef __cplusplus
20265 #define inline $ac_val
20266 #endif
20267 _ACEOF
20269 esac
20271 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20273 if test "x$ac_cv_type_request_sense" = xyes
20274 then :
20276 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20282 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20283 #include <sys/socket.h>
20284 #ifdef HAVE_SYS_SOCKETVAR_H
20285 #include <sys/socketvar.h>
20286 #endif
20287 #ifdef HAVE_NET_ROUTE_H
20288 #include <net/route.h>
20289 #endif
20290 #ifdef HAVE_NETINET_IN_H
20291 #include <netinet/in.h>
20292 #endif
20293 #ifdef HAVE_NETINET_IN_SYSTM_H
20294 #include <netinet/in_systm.h>
20295 #endif
20296 #ifdef HAVE_NETINET_IP_H
20297 #include <netinet/ip.h>
20298 #endif
20299 #ifdef HAVE_NETINET_IN_PCB_H
20300 #include <netinet/in_pcb.h>
20301 #endif
20303 if test "x$ac_cv_type_struct_xinpgen" = xyes
20304 then :
20306 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20313 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20314 if test ${wine_cv_linux_gethostbyname_r_6+y}
20315 then :
20316 printf %s "(cached) " >&6
20317 else $as_nop
20318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20319 /* end confdefs.h. */
20320 #include <netdb.h>
20322 main (void)
20325 char *name=0;
20326 struct hostent he;
20327 struct hostent *result;
20328 char *buf=0;
20329 int bufsize=0;
20330 int errnr;
20331 char *addr=0;
20332 int addrlen=0;
20333 int addrtype=0;
20334 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20335 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20338 return 0;
20340 _ACEOF
20341 if ac_fn_c_try_link "$LINENO"
20342 then :
20343 wine_cv_linux_gethostbyname_r_6=yes
20344 else $as_nop
20345 wine_cv_linux_gethostbyname_r_6=no
20348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20349 conftest$ac_exeext conftest.$ac_ext
20352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20353 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20354 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20355 then
20357 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20361 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20362 #include <sys/socket.h>
20363 #ifdef HAVE_SYS_UN_H
20364 # include <sys/un.h>
20365 #endif
20367 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20368 then :
20370 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20374 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20375 #include <sys/socket.h>
20376 #ifdef HAVE_SYS_UN_H
20377 # include <sys/un.h>
20378 #endif
20380 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20381 then :
20383 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20389 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20390 #ifdef HAVE_SCSI_SG_H
20391 #include <scsi/sg.h>
20392 #endif
20394 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20395 then :
20397 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20401 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>
20402 #ifdef HAVE_SCSI_SG_H
20403 #include <scsi/sg.h>
20404 #endif
20406 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20407 then :
20409 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20415 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20417 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20418 then :
20420 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20426 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20427 #ifdef HAVE_SYS_MTIO_H
20428 #include <sys/mtio.h>
20429 #endif
20431 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20432 then :
20434 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20438 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20439 #ifdef HAVE_SYS_MTIO_H
20440 #include <sys/mtio.h>
20441 #endif
20443 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20444 then :
20446 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20450 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20451 #ifdef HAVE_SYS_MTIO_H
20452 #include <sys/mtio.h>
20453 #endif
20455 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20456 then :
20458 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20464 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20465 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20466 then :
20468 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20472 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20473 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20474 then :
20476 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20480 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20481 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20482 then :
20484 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20488 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20489 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20490 then :
20492 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20496 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20497 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20498 then :
20500 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20504 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20505 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20506 then :
20508 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20512 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20513 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20514 then :
20516 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20520 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20521 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20522 then :
20524 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20528 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20529 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20530 then :
20532 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20536 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20537 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20538 then :
20540 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20544 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20545 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20546 then :
20548 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20554 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>
20555 #ifdef HAVE_NETINET_IN_H
20556 #include <netinet/in.h>
20557 #endif
20559 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20560 then :
20562 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20568 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
20569 #include <resolv.h>
20570 #endif
20572 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20573 then :
20575 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20581 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20582 #include <netinet/in.h>
20583 #endif
20585 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20586 then :
20588 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20594 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20595 #ifdef HAVE_SYS_SOCKETVAR_H
20596 #include <sys/socketvar.h>
20597 #endif
20598 #ifdef HAVE_NETINET_IN_H
20599 #include <netinet/in.h>
20600 #endif
20601 #ifdef HAVE_NETINET_IP_VAR_H
20602 #include <netinet/ip_var.h>
20603 #endif
20605 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20606 then :
20608 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20614 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
20615 #include <netinet/ip_var.h>
20616 #endif
20618 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20619 then :
20621 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20627 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20628 #ifdef HAVE_SYS_SOCKETVAR_H
20629 #include <sys/socketvar.h>
20630 #endif
20631 #ifdef HAVE_NETINET_IN_H
20632 #include <netinet/in.h>
20633 #endif
20634 #ifdef HAVE_NETINET6_IP6_VAR_H
20635 #include <netinet6/ip6_var.h>
20636 #endif
20638 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20639 then :
20641 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20647 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20648 #ifdef HAVE_SYS_SOCKETVAR_H
20649 #include <sys/socketvar.h>
20650 #endif
20651 #ifdef HAVE_NETINET_IN_H
20652 #include <netinet/in.h>
20653 #endif
20654 #ifdef HAVE_NETINET_IP_H
20655 #include <netinet/ip.h>
20656 #endif
20657 #ifdef HAVE_NETINET_IP_ICMP_H
20658 #include <netinet/ip_icmp.h>
20659 #endif
20660 #ifdef HAVE_NETINET_ICMP_VAR_H
20661 #include <netinet/icmp_var.h>
20662 #endif
20664 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20665 then :
20667 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20673 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20674 #ifdef HAVE_SYS_SOCKETVAR_H
20675 #include <sys/socketvar.h>
20676 #endif
20677 #ifdef HAVE_NETINET_IN_H
20678 #include <netinet/in.h>
20679 #endif
20680 #ifdef HAVE_NETINET_ICMP6_H
20681 #include <netinet/icmp6.h>
20682 #endif
20684 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20685 then :
20687 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20693 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20694 #ifdef HAVE_SYS_SOCKETVAR_H
20695 #include <sys/socketvar.h>
20696 #endif
20697 #ifdef HAVE_NETINET_IN_H
20698 #include <netinet/in.h>
20699 #endif
20700 #ifdef HAVE_NETINET_TCP_H
20701 #include <netinet/tcp.h>
20702 #endif
20703 #ifdef HAVE_NETINET_TCP_VAR_H
20704 #include <netinet/tcp_var.h>
20705 #endif
20707 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20708 then :
20710 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20716 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
20717 #include <netinet/tcp_var.h>
20718 #endif
20720 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20721 then :
20723 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20729 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20730 #ifdef HAVE_NETINET_IN_H
20731 #include <netinet/in.h>
20732 #endif
20733 #ifdef HAVE_NETINET_IP_VAR_H
20734 #include <netinet/ip_var.h>
20735 #endif
20736 #ifdef HAVE_NETINET_UDP_H
20737 #include <netinet/udp.h>
20738 #endif
20739 #ifdef HAVE_NETINET_UDP_VAR_H
20740 #include <netinet/udp_var.h>
20741 #endif
20743 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20744 then :
20746 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20752 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20753 #ifdef HAVE_NET_IF_H
20754 # include <net/if.h>
20755 #endif
20757 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20758 then :
20760 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20766 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20767 # include <sys/sysinfo.h>
20768 #endif
20770 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20771 then :
20773 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20777 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20778 # include <sys/sysinfo.h>
20779 #endif
20781 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20782 then :
20784 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20790 LIBS="$ac_save_LIBS"
20792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20793 printf %s "checking for __builtin_popcount... " >&6; }
20794 if test ${ac_cv_have___builtin_popcount+y}
20795 then :
20796 printf %s "(cached) " >&6
20797 else $as_nop
20798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20799 /* end confdefs.h. */
20802 main (void)
20804 return __builtin_popcount(1)
20806 return 0;
20808 _ACEOF
20809 if ac_fn_c_try_link "$LINENO"
20810 then :
20811 ac_cv_have___builtin_popcount="yes"
20812 else $as_nop
20813 ac_cv_have___builtin_popcount="no"
20815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20816 conftest$ac_exeext conftest.$ac_ext
20818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20819 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20820 if test "$ac_cv_have___builtin_popcount" = "yes"
20821 then
20823 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20828 printf %s "checking for __clear_cache... " >&6; }
20829 if test ${ac_cv_have___clear_cache+y}
20830 then :
20831 printf %s "(cached) " >&6
20832 else $as_nop
20833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20834 /* end confdefs.h. */
20837 main (void)
20839 __clear_cache((void*)0, (void*)0); return 0;
20841 return 0;
20843 _ACEOF
20844 if ac_fn_c_try_link "$LINENO"
20845 then :
20846 ac_cv_have___clear_cache="yes"
20847 else $as_nop
20848 ac_cv_have___clear_cache="no"
20850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20851 conftest$ac_exeext conftest.$ac_ext
20853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20854 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20855 if test "$ac_cv_have___clear_cache" = "yes"
20856 then
20858 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20863 case $host_cpu in
20864 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20865 printf %s "checking whether we need to define __i386__... " >&6; }
20866 if test ${ac_cv_cpp_def___i386__+y}
20867 then :
20868 printf %s "(cached) " >&6
20869 else $as_nop
20870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20871 /* end confdefs.h. */
20872 #ifndef __i386__
20874 #endif
20875 _ACEOF
20876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20877 $EGREP "yes" >/dev/null 2>&1
20878 then :
20879 ac_cv_cpp_def___i386__=yes
20880 else $as_nop
20881 ac_cv_cpp_def___i386__=no
20883 rm -rf conftest*
20886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20887 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20888 if test "x$ac_cv_cpp_def___i386__" = xyes
20889 then :
20890 CFLAGS="$CFLAGS -D__i386__"
20891 LINTFLAGS="$LINTFLAGS -D__i386__"
20892 fi ;;
20893 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20894 printf %s "checking whether we need to define __x86_64__... " >&6; }
20895 if test ${ac_cv_cpp_def___x86_64__+y}
20896 then :
20897 printf %s "(cached) " >&6
20898 else $as_nop
20899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20900 /* end confdefs.h. */
20901 #ifndef __x86_64__
20903 #endif
20904 _ACEOF
20905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20906 $EGREP "yes" >/dev/null 2>&1
20907 then :
20908 ac_cv_cpp_def___x86_64__=yes
20909 else $as_nop
20910 ac_cv_cpp_def___x86_64__=no
20912 rm -rf conftest*
20915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20916 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20917 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20918 then :
20919 CFLAGS="$CFLAGS -D__x86_64__"
20920 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20921 fi ;;
20922 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20923 printf %s "checking whether we need to define __sparc64__... " >&6; }
20924 if test ${ac_cv_cpp_def___sparc64__+y}
20925 then :
20926 printf %s "(cached) " >&6
20927 else $as_nop
20928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20929 /* end confdefs.h. */
20930 #ifndef __sparc64__
20932 #endif
20933 _ACEOF
20934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20935 $EGREP "yes" >/dev/null 2>&1
20936 then :
20937 ac_cv_cpp_def___sparc64__=yes
20938 else $as_nop
20939 ac_cv_cpp_def___sparc64__=no
20941 rm -rf conftest*
20944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20945 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20946 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20947 then :
20948 CFLAGS="$CFLAGS -D__sparc64__"
20949 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20950 fi ;;
20951 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20952 printf %s "checking whether we need to define __sparc__... " >&6; }
20953 if test ${ac_cv_cpp_def___sparc__+y}
20954 then :
20955 printf %s "(cached) " >&6
20956 else $as_nop
20957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20958 /* end confdefs.h. */
20959 #ifndef __sparc__
20961 #endif
20962 _ACEOF
20963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20964 $EGREP "yes" >/dev/null 2>&1
20965 then :
20966 ac_cv_cpp_def___sparc__=yes
20967 else $as_nop
20968 ac_cv_cpp_def___sparc__=no
20970 rm -rf conftest*
20973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20974 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20975 if test "x$ac_cv_cpp_def___sparc__" = xyes
20976 then :
20977 CFLAGS="$CFLAGS -D__sparc__"
20978 LINTFLAGS="$LINTFLAGS -D__sparc__"
20979 fi ;;
20980 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20981 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20982 if test ${ac_cv_cpp_def___powerpc64__+y}
20983 then :
20984 printf %s "(cached) " >&6
20985 else $as_nop
20986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20988 #ifndef __powerpc64__
20990 #endif
20991 _ACEOF
20992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20993 $EGREP "yes" >/dev/null 2>&1
20994 then :
20995 ac_cv_cpp_def___powerpc64__=yes
20996 else $as_nop
20997 ac_cv_cpp_def___powerpc64__=no
20999 rm -rf conftest*
21002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21003 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21004 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21005 then :
21006 CFLAGS="$CFLAGS -D__powerpc64__"
21007 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21008 fi ;;
21009 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21010 printf %s "checking whether we need to define __powerpc__... " >&6; }
21011 if test ${ac_cv_cpp_def___powerpc__+y}
21012 then :
21013 printf %s "(cached) " >&6
21014 else $as_nop
21015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21016 /* end confdefs.h. */
21017 #ifndef __powerpc__
21019 #endif
21020 _ACEOF
21021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21022 $EGREP "yes" >/dev/null 2>&1
21023 then :
21024 ac_cv_cpp_def___powerpc__=yes
21025 else $as_nop
21026 ac_cv_cpp_def___powerpc__=no
21028 rm -rf conftest*
21031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21032 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21033 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21034 then :
21035 CFLAGS="$CFLAGS -D__powerpc__"
21036 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21037 fi ;;
21038 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21039 printf %s "checking whether we need to define __aarch64__... " >&6; }
21040 if test ${ac_cv_cpp_def___aarch64__+y}
21041 then :
21042 printf %s "(cached) " >&6
21043 else $as_nop
21044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21046 #ifndef __aarch64__
21048 #endif
21049 _ACEOF
21050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21051 $EGREP "yes" >/dev/null 2>&1
21052 then :
21053 ac_cv_cpp_def___aarch64__=yes
21054 else $as_nop
21055 ac_cv_cpp_def___aarch64__=no
21057 rm -rf conftest*
21060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21061 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21062 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21063 then :
21064 CFLAGS="$CFLAGS -D__aarch64__"
21065 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21066 fi ;;
21067 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21068 printf %s "checking whether we need to define __arm__... " >&6; }
21069 if test ${ac_cv_cpp_def___arm__+y}
21070 then :
21071 printf %s "(cached) " >&6
21072 else $as_nop
21073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21074 /* end confdefs.h. */
21075 #ifndef __arm__
21077 #endif
21078 _ACEOF
21079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21080 $EGREP "yes" >/dev/null 2>&1
21081 then :
21082 ac_cv_cpp_def___arm__=yes
21083 else $as_nop
21084 ac_cv_cpp_def___arm__=no
21086 rm -rf conftest*
21089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21090 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21091 if test "x$ac_cv_cpp_def___arm__" = xyes
21092 then :
21093 CFLAGS="$CFLAGS -D__arm__"
21094 LINTFLAGS="$LINTFLAGS -D__arm__"
21095 fi ;;
21096 esac
21098 case $host_vendor in
21099 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21100 printf %s "checking whether we need to define __sun__... " >&6; }
21101 if test ${ac_cv_cpp_def___sun__+y}
21102 then :
21103 printf %s "(cached) " >&6
21104 else $as_nop
21105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21106 /* end confdefs.h. */
21107 #ifndef __sun__
21109 #endif
21110 _ACEOF
21111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21112 $EGREP "yes" >/dev/null 2>&1
21113 then :
21114 ac_cv_cpp_def___sun__=yes
21115 else $as_nop
21116 ac_cv_cpp_def___sun__=no
21118 rm -rf conftest*
21121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21122 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21123 if test "x$ac_cv_cpp_def___sun__" = xyes
21124 then :
21125 CFLAGS="$CFLAGS -D__sun__"
21126 LINTFLAGS="$LINTFLAGS -D__sun__"
21127 fi ;;
21128 esac
21134 ac_config_commands="$ac_config_commands include/stamp-h"
21136 printf %s "creating Makefile rules..." >&6
21138 makedep_flags=""
21139 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21141 wine_srcdir=
21142 test "$srcdir" = . || wine_srcdir="$srcdir/"
21144 ac_config_links="$ac_config_links wine:tools/winewrapper"
21145 wine_fn_config_symlink wine
21146 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21147 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21148 wine_fn_config_symlink wine64
21151 wine_fn_config_makefile dlls/acledit enable_acledit
21152 wine_fn_config_makefile dlls/aclui enable_aclui
21153 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21154 wine_fn_config_makefile dlls/activeds enable_activeds
21155 wine_fn_config_makefile dlls/activeds/tests enable_tests
21156 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21157 wine_fn_config_makefile dlls/adsldp enable_adsldp
21158 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21159 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21160 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21161 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21162 wine_fn_config_makefile dlls/advpack enable_advpack
21163 wine_fn_config_makefile dlls/advpack/tests enable_tests
21164 wine_fn_config_makefile dlls/amsi enable_amsi
21165 wine_fn_config_makefile dlls/amstream enable_amstream
21166 wine_fn_config_makefile dlls/amstream/tests enable_tests
21167 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21168 wine_fn_config_makefile dlls/apphelp enable_apphelp
21169 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21170 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21171 wine_fn_config_makefile dlls/atl enable_atl
21172 wine_fn_config_makefile dlls/atl/tests enable_tests
21173 wine_fn_config_makefile dlls/atl100 enable_atl100
21174 wine_fn_config_makefile dlls/atl100/tests enable_tests
21175 wine_fn_config_makefile dlls/atl110 enable_atl110
21176 wine_fn_config_makefile dlls/atl110/tests enable_tests
21177 wine_fn_config_makefile dlls/atl80 enable_atl80
21178 wine_fn_config_makefile dlls/atl80/tests enable_tests
21179 wine_fn_config_makefile dlls/atl90 enable_atl90
21180 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21181 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21182 wine_fn_config_makefile dlls/atmlib enable_atmlib
21183 wine_fn_config_makefile dlls/authz enable_authz
21184 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21185 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21186 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21187 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21188 wine_fn_config_makefile dlls/avrt enable_avrt
21189 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21190 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21191 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21192 wine_fn_config_makefile dlls/browseui enable_browseui
21193 wine_fn_config_makefile dlls/browseui/tests enable_tests
21194 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21195 wine_fn_config_makefile dlls/cabinet enable_cabinet
21196 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21197 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21198 wine_fn_config_makefile dlls/cards enable_cards
21199 wine_fn_config_makefile dlls/cdosys enable_cdosys
21200 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21201 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21202 wine_fn_config_makefile dlls/clusapi enable_clusapi
21203 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21204 wine_fn_config_makefile dlls/combase enable_combase
21205 wine_fn_config_makefile dlls/combase/tests enable_tests
21206 wine_fn_config_makefile dlls/comcat enable_comcat
21207 wine_fn_config_makefile dlls/comcat/tests enable_tests
21208 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21209 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21210 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21211 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21212 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21213 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21214 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21215 wine_fn_config_makefile dlls/compstui enable_compstui
21216 wine_fn_config_makefile dlls/compstui/tests enable_tests
21217 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21218 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21219 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21220 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21221 wine_fn_config_makefile dlls/connect enable_connect
21222 wine_fn_config_makefile dlls/credui enable_credui
21223 wine_fn_config_makefile dlls/credui/tests enable_tests
21224 wine_fn_config_makefile dlls/crtdll enable_crtdll
21225 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21226 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21227 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21228 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21229 wine_fn_config_makefile dlls/cryptext enable_cryptext
21230 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21231 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21232 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21233 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21234 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21235 wine_fn_config_makefile dlls/cryptui enable_cryptui
21236 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21237 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21238 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21239 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21240 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21241 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21242 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21243 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21244 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21245 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21246 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21247 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21248 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21249 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21250 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21251 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21252 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21253 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21254 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21255 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21256 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21257 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21258 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21259 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21260 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21261 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21262 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21263 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21264 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21265 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21266 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21267 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21268 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21269 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21270 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21271 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21272 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21273 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21274 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21275 wine_fn_config_makefile dlls/d3dim enable_d3dim
21276 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21277 wine_fn_config_makefile dlls/d3drm enable_d3drm
21278 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21279 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21280 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21281 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21282 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21283 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21284 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21285 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21286 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21287 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21288 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21289 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21290 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21291 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21292 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21293 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21294 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21295 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21296 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21297 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21298 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21299 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21300 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21301 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21302 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21303 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21304 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21305 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21306 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21307 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21308 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21309 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21310 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21311 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21312 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21313 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21314 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21315 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21316 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21317 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21318 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21319 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21320 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21321 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21322 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21323 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21324 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21325 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21326 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21327 wine_fn_config_makefile dlls/davclnt enable_davclnt
21328 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21329 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21330 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21331 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21332 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21333 wine_fn_config_makefile dlls/dcomp enable_dcomp
21334 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21335 wine_fn_config_makefile dlls/ddraw enable_ddraw
21336 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21337 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21338 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21339 wine_fn_config_makefile dlls/devenum enable_devenum
21340 wine_fn_config_makefile dlls/devenum/tests enable_tests
21341 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21342 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21343 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21344 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21345 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21346 wine_fn_config_makefile dlls/difxapi enable_difxapi
21347 wine_fn_config_makefile dlls/dinput enable_dinput
21348 wine_fn_config_makefile dlls/dinput/tests enable_tests
21349 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21350 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21351 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21352 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21353 wine_fn_config_makefile dlls/dispex enable_dispex
21354 wine_fn_config_makefile dlls/dispex/tests enable_tests
21355 wine_fn_config_makefile dlls/display.drv16 enable_win16
21356 wine_fn_config_makefile dlls/dmband enable_dmband
21357 wine_fn_config_makefile dlls/dmband/tests enable_tests
21358 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21359 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21360 wine_fn_config_makefile dlls/dmime enable_dmime
21361 wine_fn_config_makefile dlls/dmime/tests enable_tests
21362 wine_fn_config_makefile dlls/dmloader enable_dmloader
21363 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21364 wine_fn_config_makefile dlls/dmscript enable_dmscript
21365 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21366 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21367 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21368 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21369 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21370 wine_fn_config_makefile dlls/dmusic enable_dmusic
21371 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21372 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21373 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21374 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21375 wine_fn_config_makefile dlls/dplay enable_dplay
21376 wine_fn_config_makefile dlls/dplayx enable_dplayx
21377 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21378 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21379 wine_fn_config_makefile dlls/dpnet enable_dpnet
21380 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21381 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21382 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21383 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21384 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21385 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21386 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21387 wine_fn_config_makefile dlls/drmclien enable_drmclien
21388 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21389 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21390 wine_fn_config_makefile dlls/dsound enable_dsound
21391 wine_fn_config_makefile dlls/dsound/tests enable_tests
21392 wine_fn_config_makefile dlls/dsquery enable_dsquery
21393 wine_fn_config_makefile dlls/dssenh enable_dssenh
21394 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21395 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21396 wine_fn_config_makefile dlls/dswave enable_dswave
21397 wine_fn_config_makefile dlls/dswave/tests enable_tests
21398 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21399 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21400 wine_fn_config_makefile dlls/dwrite enable_dwrite
21401 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21402 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21403 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21404 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21405 wine_fn_config_makefile dlls/dxgi enable_dxgi
21406 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21407 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21408 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21409 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21410 wine_fn_config_makefile dlls/esent enable_esent
21411 wine_fn_config_makefile dlls/evr enable_evr
21412 wine_fn_config_makefile dlls/evr/tests enable_tests
21413 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21414 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21415 wine_fn_config_makefile dlls/faultrep enable_faultrep
21416 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21417 wine_fn_config_makefile dlls/feclient enable_feclient
21418 wine_fn_config_makefile dlls/fltlib enable_fltlib
21419 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21420 wine_fn_config_makefile dlls/fntcache enable_fntcache
21421 wine_fn_config_makefile dlls/fontsub enable_fontsub
21422 wine_fn_config_makefile dlls/fusion enable_fusion
21423 wine_fn_config_makefile dlls/fusion/tests enable_tests
21424 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21425 wine_fn_config_makefile dlls/gameux enable_gameux
21426 wine_fn_config_makefile dlls/gameux/tests enable_tests
21427 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21428 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21429 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21430 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21431 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21432 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21433 wine_fn_config_makefile dlls/glu32 enable_glu32
21434 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21435 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21436 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21437 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21438 wine_fn_config_makefile dlls/hal enable_hal
21439 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21440 wine_fn_config_makefile dlls/hid enable_hid
21441 wine_fn_config_makefile dlls/hid/tests enable_tests
21442 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21443 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21444 wine_fn_config_makefile dlls/hlink enable_hlink
21445 wine_fn_config_makefile dlls/hlink/tests enable_tests
21446 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21447 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21448 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21449 wine_fn_config_makefile dlls/http.sys enable_http_sys
21450 wine_fn_config_makefile dlls/httpapi enable_httpapi
21451 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21452 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21453 wine_fn_config_makefile dlls/iccvid enable_iccvid
21454 wine_fn_config_makefile dlls/icmp enable_icmp
21455 wine_fn_config_makefile dlls/ieframe enable_ieframe
21456 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21457 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21458 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21459 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21460 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21461 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21462 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21463 wine_fn_config_makefile dlls/imm32 enable_imm32
21464 wine_fn_config_makefile dlls/imm32/tests enable_tests
21465 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21466 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21467 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21468 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21469 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21470 wine_fn_config_makefile dlls/infosoft enable_infosoft
21471 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21472 wine_fn_config_makefile dlls/initpki enable_initpki
21473 wine_fn_config_makefile dlls/inkobj enable_inkobj
21474 wine_fn_config_makefile dlls/inseng enable_inseng
21475 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21476 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21477 wine_fn_config_makefile dlls/iprop enable_iprop
21478 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21479 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21480 wine_fn_config_makefile dlls/itircl enable_itircl
21481 wine_fn_config_makefile dlls/itss enable_itss
21482 wine_fn_config_makefile dlls/itss/tests enable_tests
21483 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21484 wine_fn_config_makefile dlls/jscript enable_jscript
21485 wine_fn_config_makefile dlls/jscript/tests enable_tests
21486 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21487 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21488 wine_fn_config_makefile dlls/kerberos enable_kerberos
21489 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21490 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21491 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21492 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21493 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21494 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21495 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21496 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21497 wine_fn_config_makefile dlls/ksuser enable_ksuser
21498 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21499 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21500 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21501 wine_fn_config_makefile dlls/loadperf enable_loadperf
21502 wine_fn_config_makefile dlls/localspl enable_localspl
21503 wine_fn_config_makefile dlls/localspl/tests enable_tests
21504 wine_fn_config_makefile dlls/localui enable_localui
21505 wine_fn_config_makefile dlls/localui/tests enable_tests
21506 wine_fn_config_makefile dlls/lz32 enable_lz32
21507 wine_fn_config_makefile dlls/lz32/tests enable_tests
21508 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21509 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21510 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21511 wine_fn_config_makefile dlls/mapistub enable_mapistub
21512 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21513 wine_fn_config_makefile dlls/mcicda enable_mcicda
21514 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21515 wine_fn_config_makefile dlls/mciseq enable_mciseq
21516 wine_fn_config_makefile dlls/mciwave enable_mciwave
21517 wine_fn_config_makefile dlls/mf enable_mf
21518 wine_fn_config_makefile dlls/mf/tests enable_tests
21519 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21520 wine_fn_config_makefile dlls/mferror enable_mferror
21521 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21522 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21523 wine_fn_config_makefile dlls/mfplat enable_mfplat
21524 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21525 wine_fn_config_makefile dlls/mfplay enable_mfplay
21526 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21527 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21528 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21529 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21530 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21531 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21532 wine_fn_config_makefile dlls/midimap enable_midimap
21533 wine_fn_config_makefile dlls/mlang enable_mlang
21534 wine_fn_config_makefile dlls/mlang/tests enable_tests
21535 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21536 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21537 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21538 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21539 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21540 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21541 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21542 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21543 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21544 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21545 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21546 wine_fn_config_makefile dlls/mpr enable_mpr
21547 wine_fn_config_makefile dlls/mpr/tests enable_tests
21548 wine_fn_config_makefile dlls/mprapi enable_mprapi
21549 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21550 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21551 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21552 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21553 wine_fn_config_makefile dlls/msado15 enable_msado15
21554 wine_fn_config_makefile dlls/msado15/tests enable_tests
21555 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21556 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21557 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21558 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21559 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21560 wine_fn_config_makefile dlls/mscms enable_mscms
21561 wine_fn_config_makefile dlls/mscms/tests enable_tests
21562 wine_fn_config_makefile dlls/mscoree enable_mscoree
21563 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21564 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21565 wine_fn_config_makefile dlls/msctf enable_msctf
21566 wine_fn_config_makefile dlls/msctf/tests enable_tests
21567 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21568 wine_fn_config_makefile dlls/msctfp enable_msctfp
21569 wine_fn_config_makefile dlls/msdaps enable_msdaps
21570 wine_fn_config_makefile dlls/msdasql enable_msdasql
21571 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21572 wine_fn_config_makefile dlls/msdelta enable_msdelta
21573 wine_fn_config_makefile dlls/msdmo enable_msdmo
21574 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21575 wine_fn_config_makefile dlls/msdrm enable_msdrm
21576 wine_fn_config_makefile dlls/msftedit enable_msftedit
21577 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21578 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21579 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21580 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21581 wine_fn_config_makefile dlls/mshtml enable_mshtml
21582 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21583 wine_fn_config_makefile dlls/msi enable_msi
21584 wine_fn_config_makefile dlls/msi/tests enable_tests
21585 wine_fn_config_makefile dlls/msident enable_msident
21586 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21587 wine_fn_config_makefile dlls/msimsg enable_msimsg
21588 wine_fn_config_makefile dlls/msimtf enable_msimtf
21589 wine_fn_config_makefile dlls/msisip enable_msisip
21590 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21591 wine_fn_config_makefile dlls/msls31 enable_msls31
21592 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21593 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21594 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21595 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21596 wine_fn_config_makefile dlls/msports enable_msports
21597 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21598 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21599 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21600 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21601 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21602 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21603 wine_fn_config_makefile dlls/mstask enable_mstask
21604 wine_fn_config_makefile dlls/mstask/tests enable_tests
21605 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21606 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21607 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21608 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21609 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21610 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21611 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21612 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21613 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21614 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21615 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21616 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21617 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21618 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21619 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21620 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21621 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21622 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21623 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21624 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21625 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21626 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21627 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21628 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21629 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21630 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21631 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21632 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21633 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21634 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21635 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21636 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21637 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21638 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21639 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21640 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21641 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21642 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21643 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21644 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21645 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21646 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21647 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21648 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21649 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21650 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21651 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21652 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21653 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21654 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21655 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21656 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21657 wine_fn_config_makefile dlls/mswsock enable_mswsock
21658 wine_fn_config_makefile dlls/msxml enable_msxml
21659 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21660 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21661 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21662 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21663 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21664 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21665 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21666 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21667 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21668 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21669 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21670 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21671 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21672 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21673 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21674 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21675 wine_fn_config_makefile dlls/netprofm enable_netprofm
21676 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21677 wine_fn_config_makefile dlls/netutils enable_netutils
21678 wine_fn_config_makefile dlls/newdev enable_newdev
21679 wine_fn_config_makefile dlls/ninput enable_ninput
21680 wine_fn_config_makefile dlls/ninput/tests enable_tests
21681 wine_fn_config_makefile dlls/normaliz enable_normaliz
21682 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21683 wine_fn_config_makefile dlls/npptools enable_npptools
21684 wine_fn_config_makefile dlls/nsi enable_nsi
21685 wine_fn_config_makefile dlls/nsi/tests enable_tests
21686 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21687 wine_fn_config_makefile dlls/ntdll enable_ntdll
21688 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21689 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21690 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21691 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21692 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21693 wine_fn_config_makefile dlls/ntprint enable_ntprint
21694 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21695 wine_fn_config_makefile dlls/objsel enable_objsel
21696 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21697 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21698 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21699 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21700 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21701 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21702 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21703 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21704 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21705 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21706 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21707 wine_fn_config_makefile dlls/ole32 enable_ole32
21708 wine_fn_config_makefile dlls/ole32/tests enable_tests
21709 wine_fn_config_makefile dlls/oleacc enable_oleacc
21710 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21711 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21712 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21713 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21714 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21715 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21716 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21717 wine_fn_config_makefile dlls/oledlg enable_oledlg
21718 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21719 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21720 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21721 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21722 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21723 wine_fn_config_makefile dlls/opcservices enable_opcservices
21724 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21725 wine_fn_config_makefile dlls/opencl enable_opencl
21726 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21727 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21728 wine_fn_config_makefile dlls/packager enable_packager
21729 wine_fn_config_makefile dlls/packager/tests enable_tests
21730 wine_fn_config_makefile dlls/pdh enable_pdh
21731 wine_fn_config_makefile dlls/pdh/tests enable_tests
21732 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21733 wine_fn_config_makefile dlls/pidgen enable_pidgen
21734 wine_fn_config_makefile dlls/powrprof enable_powrprof
21735 wine_fn_config_makefile dlls/printui enable_printui
21736 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21737 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21738 wine_fn_config_makefile dlls/propsys enable_propsys
21739 wine_fn_config_makefile dlls/propsys/tests enable_tests
21740 wine_fn_config_makefile dlls/psapi enable_psapi
21741 wine_fn_config_makefile dlls/psapi/tests enable_tests
21742 wine_fn_config_makefile dlls/pstorec enable_pstorec
21743 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21744 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21745 wine_fn_config_makefile dlls/qasf enable_qasf
21746 wine_fn_config_makefile dlls/qasf/tests enable_tests
21747 wine_fn_config_makefile dlls/qcap enable_qcap
21748 wine_fn_config_makefile dlls/qcap/tests enable_tests
21749 wine_fn_config_makefile dlls/qdvd enable_qdvd
21750 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21751 wine_fn_config_makefile dlls/qedit enable_qedit
21752 wine_fn_config_makefile dlls/qedit/tests enable_tests
21753 wine_fn_config_makefile dlls/qmgr enable_qmgr
21754 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21755 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21756 wine_fn_config_makefile dlls/quartz enable_quartz
21757 wine_fn_config_makefile dlls/quartz/tests enable_tests
21758 wine_fn_config_makefile dlls/query enable_query
21759 wine_fn_config_makefile dlls/qwave enable_qwave
21760 wine_fn_config_makefile dlls/qwave/tests enable_tests
21761 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21762 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21763 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21764 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21765 wine_fn_config_makefile dlls/regapi enable_regapi
21766 wine_fn_config_makefile dlls/resutils enable_resutils
21767 wine_fn_config_makefile dlls/riched20 enable_riched20
21768 wine_fn_config_makefile dlls/riched20/tests enable_tests
21769 wine_fn_config_makefile dlls/riched32 enable_riched32
21770 wine_fn_config_makefile dlls/riched32/tests enable_tests
21771 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21772 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21773 wine_fn_config_makefile dlls/rsabase enable_rsabase
21774 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21775 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21776 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21777 wine_fn_config_makefile dlls/rtutils enable_rtutils
21778 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21779 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21780 wine_fn_config_makefile dlls/samlib enable_samlib
21781 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21782 wine_fn_config_makefile dlls/sapi enable_sapi
21783 wine_fn_config_makefile dlls/sapi/tests enable_tests
21784 wine_fn_config_makefile dlls/sas enable_sas
21785 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21786 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21787 wine_fn_config_makefile dlls/sccbase enable_sccbase
21788 wine_fn_config_makefile dlls/schannel enable_schannel
21789 wine_fn_config_makefile dlls/schannel/tests enable_tests
21790 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21791 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21792 wine_fn_config_makefile dlls/scrobj enable_scrobj
21793 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21794 wine_fn_config_makefile dlls/scrrun enable_scrrun
21795 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21796 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21797 wine_fn_config_makefile dlls/sechost enable_sechost
21798 wine_fn_config_makefile dlls/secur32 enable_secur32
21799 wine_fn_config_makefile dlls/secur32/tests enable_tests
21800 wine_fn_config_makefile dlls/security enable_security
21801 wine_fn_config_makefile dlls/sensapi enable_sensapi
21802 wine_fn_config_makefile dlls/serialui enable_serialui
21803 wine_fn_config_makefile dlls/serialui/tests enable_tests
21804 wine_fn_config_makefile dlls/setupapi enable_setupapi
21805 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21806 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21807 wine_fn_config_makefile dlls/sfc enable_sfc
21808 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21809 wine_fn_config_makefile dlls/shcore enable_shcore
21810 wine_fn_config_makefile dlls/shcore/tests enable_tests
21811 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21812 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21813 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21814 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21815 wine_fn_config_makefile dlls/shell32 enable_shell32
21816 wine_fn_config_makefile dlls/shell32/tests enable_tests
21817 wine_fn_config_makefile dlls/shfolder enable_shfolder
21818 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21819 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21820 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21821 wine_fn_config_makefile dlls/slc enable_slc
21822 wine_fn_config_makefile dlls/slc/tests enable_tests
21823 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21824 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21825 wine_fn_config_makefile dlls/softpub enable_softpub
21826 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21827 wine_fn_config_makefile dlls/spoolss enable_spoolss
21828 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21829 wine_fn_config_makefile dlls/sppc enable_sppc
21830 wine_fn_config_makefile dlls/srclient enable_srclient
21831 wine_fn_config_makefile dlls/srvcli enable_srvcli
21832 wine_fn_config_makefile dlls/sspicli enable_sspicli
21833 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21834 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21835 wine_fn_config_makefile dlls/sti enable_sti
21836 wine_fn_config_makefile dlls/sti/tests enable_tests
21837 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21838 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21839 wine_fn_config_makefile dlls/strmdll enable_strmdll
21840 wine_fn_config_makefile dlls/svrapi enable_svrapi
21841 wine_fn_config_makefile dlls/sxs enable_sxs
21842 wine_fn_config_makefile dlls/sxs/tests enable_tests
21843 wine_fn_config_makefile dlls/system.drv16 enable_win16
21844 wine_fn_config_makefile dlls/t2embed enable_t2embed
21845 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21846 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21847 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21848 wine_fn_config_makefile dlls/taskschd enable_taskschd
21849 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21850 wine_fn_config_makefile dlls/tbs enable_tbs
21851 wine_fn_config_makefile dlls/tdh enable_tdh
21852 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21853 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21854 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21855 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21856 wine_fn_config_makefile dlls/traffic enable_traffic
21857 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21858 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21859 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21860 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21861 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21862 wine_fn_config_makefile dlls/tzres enable_tzres
21863 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21864 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21865 wine_fn_config_makefile dlls/uianimation enable_uianimation
21866 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21867 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21868 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21869 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21870 wine_fn_config_makefile dlls/unicows enable_unicows
21871 wine_fn_config_makefile dlls/updspapi enable_updspapi
21872 wine_fn_config_makefile dlls/url enable_url
21873 wine_fn_config_makefile dlls/urlmon enable_urlmon
21874 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21875 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21876 wine_fn_config_makefile dlls/user.exe16 enable_win16
21877 wine_fn_config_makefile dlls/user32 enable_user32
21878 wine_fn_config_makefile dlls/user32/tests enable_tests
21879 wine_fn_config_makefile dlls/userenv enable_userenv
21880 wine_fn_config_makefile dlls/userenv/tests enable_tests
21881 wine_fn_config_makefile dlls/usp10 enable_usp10
21882 wine_fn_config_makefile dlls/usp10/tests enable_tests
21883 wine_fn_config_makefile dlls/utildll enable_utildll
21884 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21885 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21886 wine_fn_config_makefile dlls/vbscript enable_vbscript
21887 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21888 wine_fn_config_makefile dlls/vcomp enable_vcomp
21889 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21890 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21891 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21892 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21893 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21894 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21895 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21896 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21897 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21898 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21899 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21900 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21901 wine_fn_config_makefile dlls/version enable_version
21902 wine_fn_config_makefile dlls/version/tests enable_tests
21903 wine_fn_config_makefile dlls/vga enable_vga
21904 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21905 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21906 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21907 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21908 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21909 wine_fn_config_makefile dlls/vssapi enable_vssapi
21910 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21911 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21912 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21913 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21914 wine_fn_config_makefile dlls/w32skrnl enable_win16
21915 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21916 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21917 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21918 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21919 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21920 wine_fn_config_makefile dlls/wdscore enable_wdscore
21921 wine_fn_config_makefile dlls/webservices enable_webservices
21922 wine_fn_config_makefile dlls/webservices/tests enable_tests
21923 wine_fn_config_makefile dlls/websocket enable_websocket
21924 wine_fn_config_makefile dlls/wer enable_wer
21925 wine_fn_config_makefile dlls/wer/tests enable_tests
21926 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21927 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21928 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21929 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21930 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21931 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21932 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21933 wine_fn_config_makefile dlls/win32u enable_win32u
21934 wine_fn_config_makefile dlls/win32u/tests enable_tests
21935 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21936 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21937 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21938 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21939 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21940 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21941 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21942 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21943 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21944 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21945 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21946 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21947 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21948 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21949 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21950 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21951 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21952 wine_fn_config_makefile dlls/windows.media enable_windows_media
21953 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21954 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21955 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21956 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21957 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21958 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21959 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21960 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21961 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21962 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21963 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21964 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21965 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21966 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21967 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21968 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21969 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21970 wine_fn_config_makefile dlls/wined3d enable_wined3d
21971 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21972 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21973 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21974 wine_fn_config_makefile dlls/winemapi enable_winemapi
21975 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21976 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21977 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21978 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21979 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21980 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21981 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21982 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21983 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21984 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21985 wine_fn_config_makefile dlls/wing32 enable_wing32
21986 wine_fn_config_makefile dlls/winhttp enable_winhttp
21987 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21988 wine_fn_config_makefile dlls/wininet enable_wininet
21989 wine_fn_config_makefile dlls/wininet/tests enable_tests
21990 wine_fn_config_makefile dlls/winmm enable_winmm
21991 wine_fn_config_makefile dlls/winmm/tests enable_tests
21992 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21993 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21994 wine_fn_config_makefile dlls/winprint enable_winprint
21995 wine_fn_config_makefile dlls/winscard enable_winscard
21996 wine_fn_config_makefile dlls/winscard/tests enable_tests
21997 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21998 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21999 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22000 wine_fn_config_makefile dlls/winsta enable_winsta
22001 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22002 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22003 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22004 wine_fn_config_makefile dlls/wintrust enable_wintrust
22005 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22006 wine_fn_config_makefile dlls/wintypes enable_wintypes
22007 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22008 wine_fn_config_makefile dlls/winusb enable_winusb
22009 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22010 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22011 wine_fn_config_makefile dlls/wlanui enable_wlanui
22012 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22013 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22014 wine_fn_config_makefile dlls/wmasf enable_wmasf
22015 wine_fn_config_makefile dlls/wmi enable_wmi
22016 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22017 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22018 wine_fn_config_makefile dlls/wmp enable_wmp
22019 wine_fn_config_makefile dlls/wmp/tests enable_tests
22020 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22021 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22022 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22023 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22024 wine_fn_config_makefile dlls/wofutil enable_wofutil
22025 wine_fn_config_makefile dlls/wow32 enable_win16
22026 wine_fn_config_makefile dlls/wow64 enable_wow64
22027 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22028 wine_fn_config_makefile dlls/wow64win enable_wow64win
22029 wine_fn_config_makefile dlls/wpc enable_wpc
22030 wine_fn_config_makefile dlls/wpc/tests enable_tests
22031 wine_fn_config_makefile dlls/wpcap enable_wpcap
22032 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22033 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22034 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22035 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22036 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22037 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22038 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22039 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22040 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22041 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22042 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22043 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22044 wine_fn_config_makefile dlls/wuapi enable_wuapi
22045 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22046 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22047 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22048 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22049 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22050 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22051 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22052 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22053 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22054 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22055 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22056 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22057 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22058 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22059 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22060 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22061 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22062 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22063 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22064 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22065 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22066 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22067 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22068 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22069 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22070 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22071 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22072 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22073 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22074 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22075 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22076 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22077 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22078 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22079 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22080 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22081 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22082 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22083 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22084 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22085 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22086 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22087 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22088 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22089 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22090 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22091 wine_fn_config_makefile dlls/xmllite enable_xmllite
22092 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22093 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22094 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22095 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22096 wine_fn_config_makefile fonts enable_fonts
22097 wine_fn_config_makefile include enable_include
22098 wine_fn_config_makefile libs/adsiid enable_adsiid
22099 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22100 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22101 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22102 wine_fn_config_makefile libs/dxguid enable_dxguid
22103 wine_fn_config_makefile libs/faudio enable_faudio
22104 wine_fn_config_makefile libs/gsm enable_gsm
22105 wine_fn_config_makefile libs/jpeg enable_jpeg
22106 wine_fn_config_makefile libs/jxr enable_jxr
22107 wine_fn_config_makefile libs/lcms2 enable_lcms2
22108 wine_fn_config_makefile libs/ldap enable_ldap
22109 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22110 wine_fn_config_makefile libs/mpg123 enable_mpg123
22111 wine_fn_config_makefile libs/musl enable_musl
22112 wine_fn_config_makefile libs/png enable_png
22113 wine_fn_config_makefile libs/strmbase enable_strmbase
22114 wine_fn_config_makefile libs/strmiids enable_strmiids
22115 wine_fn_config_makefile libs/tiff enable_tiff
22116 wine_fn_config_makefile libs/uuid enable_uuid
22117 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22118 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22119 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22120 wine_fn_config_makefile libs/xml2 enable_xml2
22121 wine_fn_config_makefile libs/xslt enable_xslt
22122 wine_fn_config_makefile libs/zlib enable_zlib
22123 wine_fn_config_makefile libs/zydis enable_zydis
22124 wine_fn_config_makefile loader enable_loader
22125 wine_fn_config_makefile nls enable_nls
22126 wine_fn_config_makefile po enable_po
22127 wine_fn_config_makefile programs/arp enable_arp
22128 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22129 wine_fn_config_makefile programs/attrib enable_attrib
22130 wine_fn_config_makefile programs/cabarc enable_cabarc
22131 wine_fn_config_makefile programs/cacls enable_cacls
22132 wine_fn_config_makefile programs/certutil enable_certutil
22133 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22134 wine_fn_config_makefile programs/clock enable_clock
22135 wine_fn_config_makefile programs/cmd enable_cmd
22136 wine_fn_config_makefile programs/cmd/tests enable_tests
22137 wine_fn_config_makefile programs/conhost enable_conhost
22138 wine_fn_config_makefile programs/conhost/tests enable_tests
22139 wine_fn_config_makefile programs/control enable_control
22140 wine_fn_config_makefile programs/cscript enable_cscript
22141 wine_fn_config_makefile programs/dism enable_dism
22142 wine_fn_config_makefile programs/dllhost enable_dllhost
22143 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22144 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22145 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22146 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22147 wine_fn_config_makefile programs/eject enable_eject
22148 wine_fn_config_makefile programs/expand enable_expand
22149 wine_fn_config_makefile programs/explorer enable_explorer
22150 wine_fn_config_makefile programs/explorer/tests enable_tests
22151 wine_fn_config_makefile programs/extrac32 enable_extrac32
22152 wine_fn_config_makefile programs/fc enable_fc
22153 wine_fn_config_makefile programs/find enable_find
22154 wine_fn_config_makefile programs/find/tests enable_tests
22155 wine_fn_config_makefile programs/findstr enable_findstr
22156 wine_fn_config_makefile programs/findstr/tests enable_tests
22157 wine_fn_config_makefile programs/fsutil enable_fsutil
22158 wine_fn_config_makefile programs/fsutil/tests enable_tests
22159 wine_fn_config_makefile programs/hh enable_hh
22160 wine_fn_config_makefile programs/hostname enable_hostname
22161 wine_fn_config_makefile programs/icacls enable_icacls
22162 wine_fn_config_makefile programs/icinfo enable_icinfo
22163 wine_fn_config_makefile programs/iexplore enable_iexplore
22164 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22165 wine_fn_config_makefile programs/lodctr enable_lodctr
22166 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22167 wine_fn_config_makefile programs/mshta enable_mshta
22168 wine_fn_config_makefile programs/msidb enable_msidb
22169 wine_fn_config_makefile programs/msiexec enable_msiexec
22170 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22171 wine_fn_config_makefile programs/net enable_net
22172 wine_fn_config_makefile programs/netsh enable_netsh
22173 wine_fn_config_makefile programs/netstat enable_netstat
22174 wine_fn_config_makefile programs/ngen enable_ngen
22175 wine_fn_config_makefile programs/notepad enable_notepad
22176 wine_fn_config_makefile programs/oleview enable_oleview
22177 wine_fn_config_makefile programs/ping enable_ping
22178 wine_fn_config_makefile programs/plugplay enable_plugplay
22179 wine_fn_config_makefile programs/pnputil enable_pnputil
22180 wine_fn_config_makefile programs/powershell enable_powershell
22181 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22182 wine_fn_config_makefile programs/progman enable_progman
22183 wine_fn_config_makefile programs/reg enable_reg
22184 wine_fn_config_makefile programs/reg/tests enable_tests
22185 wine_fn_config_makefile programs/regasm enable_regasm
22186 wine_fn_config_makefile programs/regedit enable_regedit
22187 wine_fn_config_makefile programs/regedit/tests enable_tests
22188 wine_fn_config_makefile programs/regini enable_regini
22189 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22190 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22191 wine_fn_config_makefile programs/robocopy enable_robocopy
22192 wine_fn_config_makefile programs/rpcss enable_rpcss
22193 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22194 wine_fn_config_makefile programs/rundll32 enable_rundll32
22195 wine_fn_config_makefile programs/sc enable_sc
22196 wine_fn_config_makefile programs/sc/tests enable_tests
22197 wine_fn_config_makefile programs/schtasks enable_schtasks
22198 wine_fn_config_makefile programs/schtasks/tests enable_tests
22199 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22200 wine_fn_config_makefile programs/secedit enable_secedit
22201 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22202 wine_fn_config_makefile programs/services enable_services
22203 wine_fn_config_makefile programs/services/tests enable_tests
22204 wine_fn_config_makefile programs/setx enable_setx
22205 wine_fn_config_makefile programs/shutdown enable_shutdown
22206 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22207 wine_fn_config_makefile programs/start enable_start
22208 wine_fn_config_makefile programs/subst enable_subst
22209 wine_fn_config_makefile programs/svchost enable_svchost
22210 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22211 wine_fn_config_makefile programs/taskkill enable_taskkill
22212 wine_fn_config_makefile programs/tasklist enable_tasklist
22213 wine_fn_config_makefile programs/tasklist/tests enable_tests
22214 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22215 wine_fn_config_makefile programs/termsv enable_termsv
22216 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22217 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22218 wine_fn_config_makefile programs/view enable_view
22219 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22220 wine_fn_config_makefile programs/where enable_where
22221 wine_fn_config_makefile programs/whoami enable_whoami
22222 wine_fn_config_makefile programs/wineboot enable_wineboot
22223 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22224 wine_fn_config_makefile programs/winecfg enable_winecfg
22225 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22226 wine_fn_config_makefile programs/winedbg enable_winedbg
22227 wine_fn_config_makefile programs/winedevice enable_winedevice
22228 wine_fn_config_makefile programs/winefile enable_winefile
22229 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22230 wine_fn_config_makefile programs/winemine enable_winemine
22231 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22232 wine_fn_config_makefile programs/winepath enable_winepath
22233 wine_fn_config_makefile programs/winetest enable_winetest
22234 wine_fn_config_makefile programs/winevdm enable_win16
22235 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22236 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22237 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22238 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22239 wine_fn_config_makefile programs/winver enable_winver
22240 wine_fn_config_makefile programs/wmic enable_wmic
22241 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22242 wine_fn_config_makefile programs/wordpad enable_wordpad
22243 wine_fn_config_makefile programs/write enable_write
22244 wine_fn_config_makefile programs/wscript enable_wscript
22245 wine_fn_config_makefile programs/wscript/tests enable_tests
22246 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22247 wine_fn_config_makefile programs/wusa enable_wusa
22248 wine_fn_config_makefile programs/xcopy enable_xcopy
22249 wine_fn_config_makefile programs/xcopy/tests enable_tests
22250 wine_fn_config_makefile server enable_server
22251 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22252 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22253 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22254 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22255 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22256 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22257 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22258 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22259 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22262 as_fn_append CONFIGURE_TARGETS " TAGS"
22263 as_fn_append CONFIGURE_TARGETS " tags"
22264 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22265 as_fn_append CONFIGURE_TARGETS " config.log"
22266 as_fn_append CONFIGURE_TARGETS " config.status"
22267 as_fn_append CONFIGURE_TARGETS " include/config.h"
22268 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22269 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22271 if test "x$enable_tools" != xno
22272 then
22273 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22274 ac_config_commands="$ac_config_commands tools/makedep"
22278 ac_config_commands="$ac_config_commands Makefile"
22282 SHELL=/bin/sh
22285 as_fn_append wine_rules "
22286 all: wine
22287 @echo \"Wine build complete.\"
22288 .INIT: Makefile
22289 .MAKEFILEDEPS:
22290 all: Makefile
22291 Makefile: config.status \$(MAKEDEP)
22292 @./config.status Makefile
22293 depend: \$(MAKEDEP)
22294 \$(MAKEDEP)$makedep_flags"
22297 as_fn_append wine_rules "
22298 config.status: ${wine_srcdir}configure
22299 @./config.status --recheck
22300 include/config.h: include/stamp-h
22301 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22302 @./config.status include/config.h include/stamp-h"
22304 if test "x$enable_maintainer_mode" = xyes
22305 then
22306 as_fn_append wine_rules "
22307 configure: configure.ac aclocal.m4
22308 autoconf --warnings=all
22309 include/config.h.in: include/stamp-h.in
22310 include/stamp-h.in: configure.ac aclocal.m4
22311 autoheader --warnings=all
22312 @echo timestamp > \$@"
22315 if test "x$enable_tools" != xno
22316 then
22317 as_fn_append wine_rules "
22318 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22319 @./config.status tools/makedep
22320 Makefile: tools/makedep$ac_exeext"
22321 else
22322 as_fn_append wine_rules "
22323 \$(MAKEDEP):
22324 @echo \"You need to run make in $toolsdir first\" && false"
22328 if test -n "$with_wine64"
22329 then
22330 case "$with_wine64" in
22331 /*) reldir="" ;;
22332 *) reldir="../" ;;
22333 esac
22334 rm -f fonts server 2>/dev/null
22335 as_fn_append wine_rules "
22336 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22337 loader/wine64 loader/wine64-preloader:
22338 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22339 $with_wine64/loader/wine:
22340 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22341 $with_wine64/loader/wine-preloader:
22342 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22343 clean::
22344 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22345 else
22346 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22347 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22348 fonts \
22349 loader/wine.inf \
22350 nls \
22351 programs/msidb/msidb \
22352 programs/msiexec/msiexec \
22353 programs/notepad/notepad \
22354 programs/regedit/regedit \
22355 programs/regsvr32/regsvr32 \
22356 programs/wineboot/wineboot \
22357 programs/winecfg/winecfg \
22358 programs/wineconsole/wineconsole \
22359 programs/winedbg/winedbg \
22360 programs/winefile/winefile \
22361 programs/winemine/winemine \
22362 programs/winepath/winepath \
22363 server/wineserver"
22365 case $host_os in
22366 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22367 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22368 esac
22372 as_fn_append wine_rules "
22373 distclean:: clean
22374 rm -rf autom4te.cache
22375 maintainer-clean::
22376 rm -f configure include/config.h.in"
22379 as_fn_append wine_rules "
22380 dlls/ntdll/unix/version.c: dummy
22381 @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)
22382 programs/winetest/build.rc: dummy
22383 @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)
22384 programs/winetest/build.nfo:
22385 @-\$(CC) -v 2>\$@
22386 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
22387 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22388 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22391 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22393 as_fn_append wine_rules "
22394 TAGS etags:
22395 rm -f TAGS
22396 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22397 tags ctags:
22398 rm -f tags
22399 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22400 dummy:
22401 .PHONY: depend dummy install-manpages"
22403 printf "%s\n" " done" >&6
22404 cat >confcache <<\_ACEOF
22405 # This file is a shell script that caches the results of configure
22406 # tests run on this system so they can be shared between configure
22407 # scripts and configure runs, see configure's option --config-cache.
22408 # It is not useful on other systems. If it contains results you don't
22409 # want to keep, you may remove or edit it.
22411 # config.status only pays attention to the cache file if you give it
22412 # the --recheck option to rerun configure.
22414 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22415 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22416 # following values.
22418 _ACEOF
22420 # The following way of writing the cache mishandles newlines in values,
22421 # but we know of no workaround that is simple, portable, and efficient.
22422 # So, we kill variables containing newlines.
22423 # Ultrix sh set writes to stderr and can't be redirected directly,
22424 # and sets the high bit in the cache file unless we assign to the vars.
22426 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22427 eval ac_val=\$$ac_var
22428 case $ac_val in #(
22429 *${as_nl}*)
22430 case $ac_var in #(
22431 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22432 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22433 esac
22434 case $ac_var in #(
22435 _ | IFS | as_nl) ;; #(
22436 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22437 *) { eval $ac_var=; unset $ac_var;} ;;
22438 esac ;;
22439 esac
22440 done
22442 (set) 2>&1 |
22443 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22444 *${as_nl}ac_space=\ *)
22445 # `set' does not quote correctly, so add quotes: double-quote
22446 # substitution turns \\\\ into \\, and sed turns \\ into \.
22447 sed -n \
22448 "s/'/'\\\\''/g;
22449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22450 ;; #(
22452 # `set' quotes correctly as required by POSIX, so do not add quotes.
22453 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22455 esac |
22456 sort
22458 sed '
22459 /^ac_cv_env_/b end
22460 t clear
22461 :clear
22462 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22463 t end
22464 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22465 :end' >>confcache
22466 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22467 if test -w "$cache_file"; then
22468 if test "x$cache_file" != "x/dev/null"; then
22469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22470 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22471 if test ! -f "$cache_file" || test -h "$cache_file"; then
22472 cat confcache >"$cache_file"
22473 else
22474 case $cache_file in #(
22475 */* | ?:*)
22476 mv -f confcache "$cache_file"$$ &&
22477 mv -f "$cache_file"$$ "$cache_file" ;; #(
22479 mv -f confcache "$cache_file" ;;
22480 esac
22483 else
22484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22485 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22488 rm -f confcache
22490 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22491 # Let make expand exec_prefix.
22492 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22494 DEFS=-DHAVE_CONFIG_H
22496 ac_libobjs=
22497 ac_ltlibobjs=
22499 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22500 # 1. Remove the extension, and $U if already installed.
22501 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22502 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22503 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22504 # will be set to the directory where LIBOBJS objects are built.
22505 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22506 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22507 done
22508 LIBOBJS=$ac_libobjs
22510 LTLIBOBJS=$ac_ltlibobjs
22514 : "${CONFIG_STATUS=./config.status}"
22515 ac_write_fail=0
22516 ac_clean_files_save=$ac_clean_files
22517 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22519 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22520 as_write_fail=0
22521 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22522 #! $SHELL
22523 # Generated by $as_me.
22524 # Run this file to recreate the current configuration.
22525 # Compiler output produced by configure, useful for debugging
22526 # configure, is in config.log if it exists.
22528 debug=false
22529 ac_cs_recheck=false
22530 ac_cs_silent=false
22532 SHELL=\${CONFIG_SHELL-$SHELL}
22533 export SHELL
22534 _ASEOF
22535 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22536 ## -------------------- ##
22537 ## M4sh Initialization. ##
22538 ## -------------------- ##
22540 # Be more Bourne compatible
22541 DUALCASE=1; export DUALCASE # for MKS sh
22542 as_nop=:
22543 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22544 then :
22545 emulate sh
22546 NULLCMD=:
22547 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22548 # is contrary to our usage. Disable this feature.
22549 alias -g '${1+"$@"}'='"$@"'
22550 setopt NO_GLOB_SUBST
22551 else $as_nop
22552 case `(set -o) 2>/dev/null` in #(
22553 *posix*) :
22554 set -o posix ;; #(
22555 *) :
22557 esac
22562 # Reset variables that may have inherited troublesome values from
22563 # the environment.
22565 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22566 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22567 # side effect of setting IFS to empty, thus disabling word splitting.)
22568 # Quoting is to prevent editors from complaining about space-tab.
22569 as_nl='
22571 export as_nl
22572 IFS=" "" $as_nl"
22574 PS1='$ '
22575 PS2='> '
22576 PS4='+ '
22578 # Ensure predictable behavior from utilities with locale-dependent output.
22579 LC_ALL=C
22580 export LC_ALL
22581 LANGUAGE=C
22582 export LANGUAGE
22584 # We cannot yet rely on "unset" to work, but we need these variables
22585 # to be unset--not just set to an empty or harmless value--now, to
22586 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22587 # also avoids known problems related to "unset" and subshell syntax
22588 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22589 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22590 do eval test \${$as_var+y} \
22591 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22592 done
22594 # Ensure that fds 0, 1, and 2 are open.
22595 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22596 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22597 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22599 # The user is always right.
22600 if ${PATH_SEPARATOR+false} :; then
22601 PATH_SEPARATOR=:
22602 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22603 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22604 PATH_SEPARATOR=';'
22609 # Find who we are. Look in the path if we contain no directory separator.
22610 as_myself=
22611 case $0 in #((
22612 *[\\/]* ) as_myself=$0 ;;
22613 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22614 for as_dir in $PATH
22616 IFS=$as_save_IFS
22617 case $as_dir in #(((
22618 '') as_dir=./ ;;
22619 */) ;;
22620 *) as_dir=$as_dir/ ;;
22621 esac
22622 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22623 done
22624 IFS=$as_save_IFS
22627 esac
22628 # We did not find ourselves, most probably we were run as `sh COMMAND'
22629 # in which case we are not to be found in the path.
22630 if test "x$as_myself" = x; then
22631 as_myself=$0
22633 if test ! -f "$as_myself"; then
22634 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22635 exit 1
22640 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22641 # ----------------------------------------
22642 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22643 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22644 # script with STATUS, using 1 if that was 0.
22645 as_fn_error ()
22647 as_status=$1; test $as_status -eq 0 && as_status=1
22648 if test "$4"; then
22649 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22652 printf "%s\n" "$as_me: error: $2" >&2
22653 as_fn_exit $as_status
22654 } # as_fn_error
22658 # as_fn_set_status STATUS
22659 # -----------------------
22660 # Set $? to STATUS, without forking.
22661 as_fn_set_status ()
22663 return $1
22664 } # as_fn_set_status
22666 # as_fn_exit STATUS
22667 # -----------------
22668 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22669 as_fn_exit ()
22671 set +e
22672 as_fn_set_status $1
22673 exit $1
22674 } # as_fn_exit
22676 # as_fn_unset VAR
22677 # ---------------
22678 # Portably unset VAR.
22679 as_fn_unset ()
22681 { eval $1=; unset $1;}
22683 as_unset=as_fn_unset
22685 # as_fn_append VAR VALUE
22686 # ----------------------
22687 # Append the text in VALUE to the end of the definition contained in VAR. Take
22688 # advantage of any shell optimizations that allow amortized linear growth over
22689 # repeated appends, instead of the typical quadratic growth present in naive
22690 # implementations.
22691 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22692 then :
22693 eval 'as_fn_append ()
22695 eval $1+=\$2
22697 else $as_nop
22698 as_fn_append ()
22700 eval $1=\$$1\$2
22702 fi # as_fn_append
22704 # as_fn_arith ARG...
22705 # ------------------
22706 # Perform arithmetic evaluation on the ARGs, and store the result in the
22707 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22708 # must be portable across $(()) and expr.
22709 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22710 then :
22711 eval 'as_fn_arith ()
22713 as_val=$(( $* ))
22715 else $as_nop
22716 as_fn_arith ()
22718 as_val=`expr "$@" || test $? -eq 1`
22720 fi # as_fn_arith
22723 if expr a : '\(a\)' >/dev/null 2>&1 &&
22724 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22725 as_expr=expr
22726 else
22727 as_expr=false
22730 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22731 as_basename=basename
22732 else
22733 as_basename=false
22736 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22737 as_dirname=dirname
22738 else
22739 as_dirname=false
22742 as_me=`$as_basename -- "$0" ||
22743 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22744 X"$0" : 'X\(//\)$' \| \
22745 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22746 printf "%s\n" X/"$0" |
22747 sed '/^.*\/\([^/][^/]*\)\/*$/{
22748 s//\1/
22751 /^X\/\(\/\/\)$/{
22752 s//\1/
22755 /^X\/\(\/\).*/{
22756 s//\1/
22759 s/.*/./; q'`
22761 # Avoid depending upon Character Ranges.
22762 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22763 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22764 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22765 as_cr_digits='0123456789'
22766 as_cr_alnum=$as_cr_Letters$as_cr_digits
22769 # Determine whether it's possible to make 'echo' print without a newline.
22770 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22771 # for compatibility with existing Makefiles.
22772 ECHO_C= ECHO_N= ECHO_T=
22773 case `echo -n x` in #(((((
22774 -n*)
22775 case `echo 'xy\c'` in
22776 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22777 xy) ECHO_C='\c';;
22778 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22779 ECHO_T=' ';;
22780 esac;;
22782 ECHO_N='-n';;
22783 esac
22785 # For backward compatibility with old third-party macros, we provide
22786 # the shell variables $as_echo and $as_echo_n. New code should use
22787 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22788 as_echo='printf %s\n'
22789 as_echo_n='printf %s'
22791 rm -f conf$$ conf$$.exe conf$$.file
22792 if test -d conf$$.dir; then
22793 rm -f conf$$.dir/conf$$.file
22794 else
22795 rm -f conf$$.dir
22796 mkdir conf$$.dir 2>/dev/null
22798 if (echo >conf$$.file) 2>/dev/null; then
22799 if ln -s conf$$.file conf$$ 2>/dev/null; then
22800 as_ln_s='ln -s'
22801 # ... but there are two gotchas:
22802 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22803 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22804 # In both cases, we have to default to `cp -pR'.
22805 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22806 as_ln_s='cp -pR'
22807 elif ln conf$$.file conf$$ 2>/dev/null; then
22808 as_ln_s=ln
22809 else
22810 as_ln_s='cp -pR'
22812 else
22813 as_ln_s='cp -pR'
22815 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22816 rmdir conf$$.dir 2>/dev/null
22819 # as_fn_mkdir_p
22820 # -------------
22821 # Create "$as_dir" as a directory, including parents if necessary.
22822 as_fn_mkdir_p ()
22825 case $as_dir in #(
22826 -*) as_dir=./$as_dir;;
22827 esac
22828 test -d "$as_dir" || eval $as_mkdir_p || {
22829 as_dirs=
22830 while :; do
22831 case $as_dir in #(
22832 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22833 *) as_qdir=$as_dir;;
22834 esac
22835 as_dirs="'$as_qdir' $as_dirs"
22836 as_dir=`$as_dirname -- "$as_dir" ||
22837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22838 X"$as_dir" : 'X\(//\)[^/]' \| \
22839 X"$as_dir" : 'X\(//\)$' \| \
22840 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22841 printf "%s\n" X"$as_dir" |
22842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22843 s//\1/
22846 /^X\(\/\/\)[^/].*/{
22847 s//\1/
22850 /^X\(\/\/\)$/{
22851 s//\1/
22854 /^X\(\/\).*/{
22855 s//\1/
22858 s/.*/./; q'`
22859 test -d "$as_dir" && break
22860 done
22861 test -z "$as_dirs" || eval "mkdir $as_dirs"
22862 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22865 } # as_fn_mkdir_p
22866 if mkdir -p . 2>/dev/null; then
22867 as_mkdir_p='mkdir -p "$as_dir"'
22868 else
22869 test -d ./-p && rmdir ./-p
22870 as_mkdir_p=false
22874 # as_fn_executable_p FILE
22875 # -----------------------
22876 # Test if FILE is an executable regular file.
22877 as_fn_executable_p ()
22879 test -f "$1" && test -x "$1"
22880 } # as_fn_executable_p
22881 as_test_x='test -x'
22882 as_executable_p=as_fn_executable_p
22884 # Sed expression to map a string onto a valid CPP name.
22885 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22887 # Sed expression to map a string onto a valid variable name.
22888 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22891 exec 6>&1
22892 ## ----------------------------------- ##
22893 ## Main body of $CONFIG_STATUS script. ##
22894 ## ----------------------------------- ##
22895 _ASEOF
22896 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22899 # Save the log message, to keep $0 and so on meaningful, and to
22900 # report actual input values of CONFIG_FILES etc. instead of their
22901 # values after options handling.
22902 ac_log="
22903 This file was extended by Wine $as_me 8.11, which was
22904 generated by GNU Autoconf 2.71. Invocation command line was
22906 CONFIG_FILES = $CONFIG_FILES
22907 CONFIG_HEADERS = $CONFIG_HEADERS
22908 CONFIG_LINKS = $CONFIG_LINKS
22909 CONFIG_COMMANDS = $CONFIG_COMMANDS
22910 $ $0 $@
22912 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22915 _ACEOF
22918 case $ac_config_headers in *"
22919 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22920 esac
22923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22924 # Files that config.status was made for.
22925 config_headers="$ac_config_headers"
22926 config_links="$ac_config_links"
22927 config_commands="$ac_config_commands"
22929 _ACEOF
22931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22932 ac_cs_usage="\
22933 \`$as_me' instantiates files and other configuration actions
22934 from templates according to the current configuration. Unless the files
22935 and actions are specified as TAGs, all are instantiated by default.
22937 Usage: $0 [OPTION]... [TAG]...
22939 -h, --help print this help, then exit
22940 -V, --version print version number and configuration settings, then exit
22941 --config print configuration, then exit
22942 -q, --quiet, --silent
22943 do not print progress messages
22944 -d, --debug don't remove temporary files
22945 --recheck update $as_me by reconfiguring in the same conditions
22946 --header=FILE[:TEMPLATE]
22947 instantiate the configuration header FILE
22949 Configuration headers:
22950 $config_headers
22952 Configuration links:
22953 $config_links
22955 Configuration commands:
22956 $config_commands
22958 Report bugs to <wine-devel@winehq.org>.
22959 Wine home page: <https://www.winehq.org>."
22961 _ACEOF
22962 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22963 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22965 ac_cs_config='$ac_cs_config_escaped'
22966 ac_cs_version="\\
22967 Wine config.status 8.11
22968 configured by $0, generated by GNU Autoconf 2.71,
22969 with options \\"\$ac_cs_config\\"
22971 Copyright (C) 2021 Free Software Foundation, Inc.
22972 This config.status script is free software; the Free Software Foundation
22973 gives unlimited permission to copy, distribute and modify it."
22975 ac_pwd='$ac_pwd'
22976 srcdir='$srcdir'
22977 test -n "\$AWK" || AWK=awk
22978 _ACEOF
22980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22981 # The default lists apply if the user does not specify any file.
22982 ac_need_defaults=:
22983 while test $# != 0
22985 case $1 in
22986 --*=?*)
22987 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22988 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22989 ac_shift=:
22991 --*=)
22992 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22993 ac_optarg=
22994 ac_shift=:
22997 ac_option=$1
22998 ac_optarg=$2
22999 ac_shift=shift
23001 esac
23003 case $ac_option in
23004 # Handling of the options.
23005 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23006 ac_cs_recheck=: ;;
23007 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23008 printf "%s\n" "$ac_cs_version"; exit ;;
23009 --config | --confi | --conf | --con | --co | --c )
23010 printf "%s\n" "$ac_cs_config"; exit ;;
23011 --debug | --debu | --deb | --de | --d | -d )
23012 debug=: ;;
23013 --header | --heade | --head | --hea )
23014 $ac_shift
23015 case $ac_optarg in
23016 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23017 esac
23018 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23019 ac_need_defaults=false;;
23020 --he | --h)
23021 # Conflict between --help and --header
23022 as_fn_error $? "ambiguous option: \`$1'
23023 Try \`$0 --help' for more information.";;
23024 --help | --hel | -h )
23025 printf "%s\n" "$ac_cs_usage"; exit ;;
23026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23027 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23028 ac_cs_silent=: ;;
23030 # This is an error.
23031 -*) as_fn_error $? "unrecognized option: \`$1'
23032 Try \`$0 --help' for more information." ;;
23034 *) as_fn_append ac_config_targets " $1"
23035 ac_need_defaults=false ;;
23037 esac
23038 shift
23039 done
23041 ac_configure_extra_args=
23043 if $ac_cs_silent; then
23044 exec 6>/dev/null
23045 ac_configure_extra_args="$ac_configure_extra_args --silent"
23048 _ACEOF
23049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23050 if \$ac_cs_recheck; then
23051 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23052 shift
23053 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23054 CONFIG_SHELL='$SHELL'
23055 export CONFIG_SHELL
23056 exec "\$@"
23059 _ACEOF
23060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23061 exec 5>>config.log
23063 echo
23064 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23065 ## Running $as_me. ##
23066 _ASBOX
23067 printf "%s\n" "$ac_log"
23068 } >&5
23070 _ACEOF
23071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23073 # INIT-COMMANDS
23075 wine_fn_output_makedep ()
23077 as_dir=tools; as_fn_mkdir_p
23078 $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
23080 wine_fn_output_makefile ()
23082 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23083 # This Makefile understands the following targets:
23085 # all (default): build wine
23086 # clean: remove all intermediate files
23087 # distclean: also remove all files created by configure
23088 # test: run tests
23089 # testclean: clean test results to force running all tests again
23090 # install-lib: install libraries needed to run applications
23091 # install-dev: install development environment
23092 # install: install everything
23093 # uninstall: uninstall everything
23094 # ctags: create a tags file for vim and others.
23095 # etags: create a TAGS file for Emacs.
23097 SHELL = $SHELL
23098 PATH_SEPARATOR = $PATH_SEPARATOR
23099 PACKAGE_NAME = $PACKAGE_NAME
23100 PACKAGE_TARNAME = $PACKAGE_TARNAME
23101 PACKAGE_VERSION = $PACKAGE_VERSION
23102 PACKAGE_STRING = $PACKAGE_STRING
23103 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23104 PACKAGE_URL = $PACKAGE_URL
23105 exec_prefix = $exec_prefix
23106 prefix = $prefix
23107 program_transform_name = $program_transform_name
23108 bindir = $bindir
23109 sbindir = $sbindir
23110 libexecdir = $libexecdir
23111 datarootdir = $datarootdir
23112 datadir = $datadir
23113 sysconfdir = $sysconfdir
23114 sharedstatedir = $sharedstatedir
23115 localstatedir = $localstatedir
23116 runstatedir = $runstatedir
23117 includedir = $includedir
23118 oldincludedir = $oldincludedir
23119 docdir = $docdir
23120 infodir = $infodir
23121 htmldir = $htmldir
23122 dvidir = $dvidir
23123 pdfdir = $pdfdir
23124 psdir = $psdir
23125 libdir = $libdir
23126 localedir = $localedir
23127 mandir = $mandir
23128 DEFS = $DEFS
23129 ECHO_C = $ECHO_C
23130 ECHO_N = $ECHO_N
23131 ECHO_T = $ECHO_T
23132 LIBS = $LIBS
23133 build_alias = $build_alias
23134 host_alias = $host_alias
23135 target_alias = $target_alias
23136 system_dllpath = $system_dllpath
23137 build = $build
23138 build_cpu = $build_cpu
23139 build_vendor = $build_vendor
23140 build_os = $build_os
23141 host = $host
23142 host_cpu = $host_cpu
23143 host_vendor = $host_vendor
23144 host_os = $host_os
23145 dlldir = $dlldir
23146 fontdir = $fontdir
23147 nlsdir = $nlsdir
23148 srcdir = $srcdir
23149 SET_MAKE = $SET_MAKE
23150 CC = $CC
23151 CFLAGS = $CFLAGS
23152 LDFLAGS = $LDFLAGS
23153 CPPFLAGS = $CPPFLAGS
23154 ac_ct_CC = $ac_ct_CC
23155 EXEEXT = $EXEEXT
23156 OBJEXT = $OBJEXT
23157 CXX = $CXX
23158 CXXFLAGS = $CXXFLAGS
23159 ac_ct_CXX = $ac_ct_CXX
23160 CPPBIN = $CPPBIN
23161 LD = $LD
23162 TARGETFLAGS = $TARGETFLAGS
23163 toolsext = $toolsext
23164 HOST_ARCH = $HOST_ARCH
23165 aarch64_CC = $aarch64_CC
23166 aarch64_CFLAGS = $aarch64_CFLAGS
23167 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23168 aarch64_LDFLAGS = $aarch64_LDFLAGS
23169 aarch64_DEBUG = $aarch64_DEBUG
23170 aarch64_TARGET = $aarch64_TARGET
23171 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23172 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23173 arm_CC = $arm_CC
23174 arm_CFLAGS = $arm_CFLAGS
23175 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23176 arm_LDFLAGS = $arm_LDFLAGS
23177 arm_DEBUG = $arm_DEBUG
23178 arm_TARGET = $arm_TARGET
23179 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23180 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23181 i386_CC = $i386_CC
23182 i386_CFLAGS = $i386_CFLAGS
23183 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23184 i386_LDFLAGS = $i386_LDFLAGS
23185 i386_DEBUG = $i386_DEBUG
23186 i386_TARGET = $i386_TARGET
23187 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23188 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23189 x86_64_CC = $x86_64_CC
23190 x86_64_CFLAGS = $x86_64_CFLAGS
23191 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23192 x86_64_LDFLAGS = $x86_64_LDFLAGS
23193 x86_64_DEBUG = $x86_64_DEBUG
23194 x86_64_TARGET = $x86_64_TARGET
23195 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23196 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23197 toolsdir = $toolsdir
23198 MAKEDEP = $MAKEDEP
23199 RUNTESTFLAGS = $RUNTESTFLAGS
23200 SED_CMD = $SED_CMD
23201 FLEX = $FLEX
23202 BISON = $BISON
23203 AR = $AR
23204 ac_ct_AR = $ac_ct_AR
23205 STRIP = $STRIP
23206 RANLIB = $RANLIB
23207 LN_S = $LN_S
23208 GREP = $GREP
23209 EGREP = $EGREP
23210 LDCONFIG = $LDCONFIG
23211 MSGFMT = $MSGFMT
23212 PKG_CONFIG = $PKG_CONFIG
23213 FONTFORGE = $FONTFORGE
23214 RSVG = $RSVG
23215 CONVERT = $CONVERT
23216 ICOTOOL = $ICOTOOL
23217 I386_LIBS = $I386_LIBS
23218 OPENGL_LIBS = $OPENGL_LIBS
23219 DLLFLAGS = $DLLFLAGS
23220 LDDLLFLAGS = $LDDLLFLAGS
23221 LDEXECFLAGS = $LDEXECFLAGS
23222 EXTRACFLAGS = $EXTRACFLAGS
23223 UNIXDLLFLAGS = $UNIXDLLFLAGS
23224 UNIXLDFLAGS = $UNIXLDFLAGS
23225 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23226 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23227 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23228 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23229 DLLEXT = $DLLEXT
23230 LDD = $LDD
23231 OTOOL = $OTOOL
23232 READELF = $READELF
23233 SUBDIRS = $SUBDIRS
23234 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23235 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23236 CARBON_LIBS = $CARBON_LIBS
23237 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23238 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23239 IOKIT_LIBS = $IOKIT_LIBS
23240 METAL_LIBS = $METAL_LIBS
23241 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23242 CORESERVICES_LIBS = $CORESERVICES_LIBS
23243 APPKIT_LIBS = $APPKIT_LIBS
23244 SECURITY_LIBS = $SECURITY_LIBS
23245 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23246 COREAUDIO_LIBS = $COREAUDIO_LIBS
23247 OPENCL_LIBS = $OPENCL_LIBS
23248 OBJC = $OBJC
23249 OBJCFLAGS = $OBJCFLAGS
23250 ac_ct_OBJC = $ac_ct_OBJC
23251 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23252 PE_ARCHS = $PE_ARCHS
23253 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23254 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23255 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23256 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23257 GSM_PE_LIBS = $GSM_PE_LIBS
23258 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23259 JPEG_PE_LIBS = $JPEG_PE_LIBS
23260 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23261 JXR_PE_LIBS = $JXR_PE_LIBS
23262 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23263 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23264 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23265 LDAP_PE_LIBS = $LDAP_PE_LIBS
23266 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23267 MPG123_PE_LIBS = $MPG123_PE_LIBS
23268 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23269 MUSL_PE_LIBS = $MUSL_PE_LIBS
23270 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23271 PNG_PE_LIBS = $PNG_PE_LIBS
23272 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23273 TIFF_PE_LIBS = $TIFF_PE_LIBS
23274 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23275 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23276 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23277 XML2_PE_LIBS = $XML2_PE_LIBS
23278 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23279 XSLT_PE_LIBS = $XSLT_PE_LIBS
23280 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23281 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23282 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23283 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23284 PTHREAD_LIBS = $PTHREAD_LIBS
23285 XMKMF = $XMKMF
23286 CPP = $CPP
23287 X_CFLAGS = $X_CFLAGS
23288 X_PRE_LIBS = $X_PRE_LIBS
23289 X_LIBS = $X_LIBS
23290 X_EXTRA_LIBS = $X_EXTRA_LIBS
23291 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23292 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23293 WAYLAND_SCANNER = $WAYLAND_SCANNER
23294 PCAP_LIBS = $PCAP_LIBS
23295 PCSCLITE_LIBS = $PCSCLITE_LIBS
23296 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23297 INOTIFY_LIBS = $INOTIFY_LIBS
23298 DBUS_CFLAGS = $DBUS_CFLAGS
23299 DBUS_LIBS = $DBUS_LIBS
23300 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23301 GNUTLS_LIBS = $GNUTLS_LIBS
23302 SANE_CFLAGS = $SANE_CFLAGS
23303 SANE_LIBS = $SANE_LIBS
23304 USB_CFLAGS = $USB_CFLAGS
23305 USB_LIBS = $USB_LIBS
23306 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23307 GPHOTO2_LIBS = $GPHOTO2_LIBS
23308 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23309 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23310 RESOLV_LIBS = $RESOLV_LIBS
23311 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23312 FREETYPE_LIBS = $FREETYPE_LIBS
23313 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23314 PULSE_CFLAGS = $PULSE_CFLAGS
23315 PULSE_LIBS = $PULSE_LIBS
23316 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23317 GSTREAMER_LIBS = $GSTREAMER_LIBS
23318 ALSA_LIBS = $ALSA_LIBS
23319 OSS4_CFLAGS = $OSS4_CFLAGS
23320 OSS4_LIBS = $OSS4_LIBS
23321 UDEV_CFLAGS = $UDEV_CFLAGS
23322 UDEV_LIBS = $UDEV_LIBS
23323 UNWIND_CFLAGS = $UNWIND_CFLAGS
23324 UNWIND_LIBS = $UNWIND_LIBS
23325 SDL2_CFLAGS = $SDL2_CFLAGS
23326 SDL2_LIBS = $SDL2_LIBS
23327 CAPI20_CFLAGS = $CAPI20_CFLAGS
23328 CAPI20_LIBS = $CAPI20_LIBS
23329 CUPS_CFLAGS = $CUPS_CFLAGS
23330 CUPS_LIBS = $CUPS_LIBS
23331 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23332 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23333 KRB5_CFLAGS = $KRB5_CFLAGS
23334 KRB5_LIBS = $KRB5_LIBS
23335 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23336 GSSAPI_LIBS = $GSSAPI_LIBS
23337 PROCSTAT_LIBS = $PROCSTAT_LIBS
23338 NETAPI_CFLAGS = $NETAPI_CFLAGS
23339 NETAPI_LIBS = $NETAPI_LIBS
23340 MSVCRTFLAGS = $MSVCRTFLAGS
23341 DELAYLOADFLAG = $DELAYLOADFLAG
23342 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23343 RT_LIBS = $RT_LIBS
23344 TAGSFLAGS = $TAGSFLAGS
23345 LIBOBJS = $LIBOBJS
23346 LTLIBOBJS = $LTLIBOBJS
23347 $SET_MAKE
23348 $wine_rules
23349 _WINE_EOF
23350 as_fn_error $? "could not create Makefile" "$LINENO" 5
23353 _ACEOF
23355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23357 # Handling of arguments.
23358 for ac_config_target in $ac_config_targets
23360 case $ac_config_target in
23361 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23362 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23363 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23364 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23365 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23366 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23368 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23369 esac
23370 done
23373 # If the user did not use the arguments to specify the items to instantiate,
23374 # then the envvar interface is used. Set only those that are not.
23375 # We use the long form for the default assignment because of an extremely
23376 # bizarre bug on SunOS 4.1.3.
23377 if $ac_need_defaults; then
23378 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23379 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23380 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23383 # Have a temporary directory for convenience. Make it in the build tree
23384 # simply because there is no reason against having it here, and in addition,
23385 # creating and moving files from /tmp can sometimes cause problems.
23386 # Hook for its removal unless debugging.
23387 # Note that there is a small window in which the directory will not be cleaned:
23388 # after its creation but before its name has been assigned to `$tmp'.
23389 $debug ||
23391 tmp= ac_tmp=
23392 trap 'exit_status=$?
23393 : "${ac_tmp:=$tmp}"
23394 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23396 trap 'as_fn_exit 1' 1 2 13 15
23398 # Create a (secure) tmp directory for tmp files.
23401 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23402 test -d "$tmp"
23403 } ||
23405 tmp=./conf$$-$RANDOM
23406 (umask 077 && mkdir "$tmp")
23407 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23408 ac_tmp=$tmp
23410 # Set up the scripts for CONFIG_HEADERS section.
23411 # No need to generate them if there are no CONFIG_HEADERS.
23412 # This happens for instance with `./config.status Makefile'.
23413 if test -n "$CONFIG_HEADERS"; then
23414 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23415 BEGIN {
23416 _ACEOF
23418 # Transform confdefs.h into an awk script `defines.awk', embedded as
23419 # here-document in config.status, that substitutes the proper values into
23420 # config.h.in to produce config.h.
23422 # Create a delimiter string that does not exist in confdefs.h, to ease
23423 # handling of long lines.
23424 ac_delim='%!_!# '
23425 for ac_last_try in false false :; do
23426 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23427 if test -z "$ac_tt"; then
23428 break
23429 elif $ac_last_try; then
23430 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23431 else
23432 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23434 done
23436 # For the awk script, D is an array of macro values keyed by name,
23437 # likewise P contains macro parameters if any. Preserve backslash
23438 # newline sequences.
23440 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23441 sed -n '
23442 s/.\{148\}/&'"$ac_delim"'/g
23443 t rset
23444 :rset
23445 s/^[ ]*#[ ]*define[ ][ ]*/ /
23446 t def
23448 :def
23449 s/\\$//
23450 t bsnl
23451 s/["\\]/\\&/g
23452 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23453 D["\1"]=" \3"/p
23454 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23456 :bsnl
23457 s/["\\]/\\&/g
23458 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23459 D["\1"]=" \3\\\\\\n"\\/p
23460 t cont
23461 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23462 t cont
23464 :cont
23466 s/.\{148\}/&'"$ac_delim"'/g
23467 t clear
23468 :clear
23469 s/\\$//
23470 t bsnlc
23471 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23473 :bsnlc
23474 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23475 b cont
23476 ' <confdefs.h | sed '
23477 s/'"$ac_delim"'/"\\\
23478 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23481 for (key in D) D_is_set[key] = 1
23482 FS = "\a"
23484 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23485 line = \$ 0
23486 split(line, arg, " ")
23487 if (arg[1] == "#") {
23488 defundef = arg[2]
23489 mac1 = arg[3]
23490 } else {
23491 defundef = substr(arg[1], 2)
23492 mac1 = arg[2]
23494 split(mac1, mac2, "(") #)
23495 macro = mac2[1]
23496 prefix = substr(line, 1, index(line, defundef) - 1)
23497 if (D_is_set[macro]) {
23498 # Preserve the white space surrounding the "#".
23499 print prefix "define", macro P[macro] D[macro]
23500 next
23501 } else {
23502 # Replace #undef with comments. This is necessary, for example,
23503 # in the case of _POSIX_SOURCE, which is predefined and required
23504 # on some systems where configure will not decide to define it.
23505 if (defundef == "undef") {
23506 print "/*", prefix defundef, macro, "*/"
23507 next
23511 { print }
23512 _ACAWK
23513 _ACEOF
23514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23515 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23516 fi # test -n "$CONFIG_HEADERS"
23519 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23520 shift
23521 for ac_tag
23523 case $ac_tag in
23524 :[FHLC]) ac_mode=$ac_tag; continue;;
23525 esac
23526 case $ac_mode$ac_tag in
23527 :[FHL]*:*);;
23528 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23529 :[FH]-) ac_tag=-:-;;
23530 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23531 esac
23532 ac_save_IFS=$IFS
23533 IFS=:
23534 set x $ac_tag
23535 IFS=$ac_save_IFS
23536 shift
23537 ac_file=$1
23538 shift
23540 case $ac_mode in
23541 :L) ac_source=$1;;
23542 :[FH])
23543 ac_file_inputs=
23544 for ac_f
23546 case $ac_f in
23547 -) ac_f="$ac_tmp/stdin";;
23548 *) # Look for the file first in the build tree, then in the source tree
23549 # (if the path is not absolute). The absolute path cannot be DOS-style,
23550 # because $ac_f cannot contain `:'.
23551 test -f "$ac_f" ||
23552 case $ac_f in
23553 [\\/$]*) false;;
23554 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23555 esac ||
23556 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23557 esac
23558 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23559 as_fn_append ac_file_inputs " '$ac_f'"
23560 done
23562 # Let's still pretend it is `configure' which instantiates (i.e., don't
23563 # use $as_me), people would be surprised to read:
23564 # /* config.h. Generated by config.status. */
23565 configure_input='Generated from '`
23566 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23567 `' by configure.'
23568 if test x"$ac_file" != x-; then
23569 configure_input="$ac_file. $configure_input"
23570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23571 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23573 # Neutralize special characters interpreted by sed in replacement strings.
23574 case $configure_input in #(
23575 *\&* | *\|* | *\\* )
23576 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23577 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23578 *) ac_sed_conf_input=$configure_input;;
23579 esac
23581 case $ac_tag in
23582 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23583 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23584 esac
23586 esac
23588 ac_dir=`$as_dirname -- "$ac_file" ||
23589 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23590 X"$ac_file" : 'X\(//\)[^/]' \| \
23591 X"$ac_file" : 'X\(//\)$' \| \
23592 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23593 printf "%s\n" X"$ac_file" |
23594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23595 s//\1/
23598 /^X\(\/\/\)[^/].*/{
23599 s//\1/
23602 /^X\(\/\/\)$/{
23603 s//\1/
23606 /^X\(\/\).*/{
23607 s//\1/
23610 s/.*/./; q'`
23611 as_dir="$ac_dir"; as_fn_mkdir_p
23612 ac_builddir=.
23614 case "$ac_dir" in
23615 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23617 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23618 # A ".." for each directory in $ac_dir_suffix.
23619 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23620 case $ac_top_builddir_sub in
23621 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23622 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23623 esac ;;
23624 esac
23625 ac_abs_top_builddir=$ac_pwd
23626 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23627 # for backward compatibility:
23628 ac_top_builddir=$ac_top_build_prefix
23630 case $srcdir in
23631 .) # We are building in place.
23632 ac_srcdir=.
23633 ac_top_srcdir=$ac_top_builddir_sub
23634 ac_abs_top_srcdir=$ac_pwd ;;
23635 [\\/]* | ?:[\\/]* ) # Absolute name.
23636 ac_srcdir=$srcdir$ac_dir_suffix;
23637 ac_top_srcdir=$srcdir
23638 ac_abs_top_srcdir=$srcdir ;;
23639 *) # Relative name.
23640 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23641 ac_top_srcdir=$ac_top_build_prefix$srcdir
23642 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23643 esac
23644 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23647 case $ac_mode in
23651 # CONFIG_HEADER
23653 if test x"$ac_file" != x-; then
23655 printf "%s\n" "/* $configure_input */" >&1 \
23656 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23657 } >"$ac_tmp/config.h" \
23658 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23659 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23661 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23662 else
23663 rm -f "$ac_file"
23664 mv "$ac_tmp/config.h" "$ac_file" \
23665 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23667 else
23668 printf "%s\n" "/* $configure_input */" >&1 \
23669 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23670 || as_fn_error $? "could not create -" "$LINENO" 5
23675 # CONFIG_LINK
23678 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23680 else
23681 # Prefer the file from the source tree if names are identical.
23682 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23683 ac_source=$srcdir/$ac_source
23686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23687 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23689 if test ! -r "$ac_source"; then
23690 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23692 rm -f "$ac_file"
23694 # Try a relative symlink, then a hard link, then a copy.
23695 case $ac_source in
23696 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23697 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23698 esac
23699 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23700 ln "$ac_source" "$ac_file" 2>/dev/null ||
23701 cp -p "$ac_source" "$ac_file" ||
23702 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23705 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23706 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23708 esac
23711 case $ac_file$ac_mode in
23712 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23713 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23714 "Makefile":C) wine_fn_output_makefile Makefile ;;
23716 esac
23717 done # for ac_tag
23720 as_fn_exit 0
23721 _ACEOF
23722 ac_clean_files=$ac_clean_files_save
23724 test $ac_write_fail = 0 ||
23725 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23728 # configure is writing to config.log, and then calls config.status.
23729 # config.status does its own redirection, appending to config.log.
23730 # Unfortunately, on DOS this fails, as config.log is still kept open
23731 # by configure, so config.status won't be able to write to it; its
23732 # output is simply discarded. So we exec the FD to /dev/null,
23733 # effectively closing config.log, so it can be properly (re)opened and
23734 # appended to by config.status. When coming back to configure, we
23735 # need to make the FD available again.
23736 if test "$no_create" != yes; then
23737 ac_cs_success=:
23738 ac_config_status_args=
23739 test "$silent" = yes &&
23740 ac_config_status_args="$ac_config_status_args --quiet"
23741 exec 5>/dev/null
23742 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23743 exec 5>>config.log
23744 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23745 # would make configure fail if this is the last instruction.
23746 $ac_cs_success || as_fn_exit 1
23748 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23750 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23754 if test "$no_create" = "yes"
23755 then
23756 exit 0
23759 ac_save_IFS="$IFS"
23760 if test "x$wine_notices" != x; then
23761 echo >&6
23762 IFS="|"
23763 for msg in $wine_notices; do
23764 IFS="$ac_save_IFS"
23765 if ${msg:+false} :
23766 then :
23768 else $as_nop
23769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23770 printf "%s\n" "$as_me: $msg" >&6;}
23772 done
23774 IFS="|"
23775 for msg in $wine_warnings; do
23776 IFS="$ac_save_IFS"
23777 if ${msg:+false} :
23778 then :
23780 else $as_nop
23781 echo >&2
23782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23783 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23785 done
23786 IFS="$ac_save_IFS"
23788 printf "%s\n" "
23789 $as_me: Finished. Do '${ac_make}' to compile Wine.
23790 " >&6